]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
tst-backtrace4: expand output even on failures
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0b7c7473
MF
12014-02-08 Mike Frysinger <vapier@gentoo.org>
2
3 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4 Only return early when n is <= 0. Delete unused return statement.
5
ac8cc9e3
MF
62014-02-08 Mike Frysinger <vapier@gentoo.org>
7
8 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10 * debug/tst-longjmp_chk3.c: New file.
11
c5bb8e23
MF
122014-02-08 Mike Frysinger <vapier@gentoo.org>
13
14 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15 (test_main): Replace code with set_fortify_handler call.
16 * debug/test-strcpy_chk.c: Likewise.
17 * debug/tst-chk1.c: Likewise.
18 * debug/tst-longjmp_chk.c: Likewise.
19 * test-skeleton.c: Include fcntl.h & paths.h
20 (set_fortify_handler): Define.
21
10444e42
MF
222014-02-08 Mike Frysinger <vapier@gentoo.org>
23
24 * debug/tst-longjmp_chk.c: Add header comment and include
25 ../test-skeleton.c.
26 (do_test): Mark static.
27 (TEST_FUNCTION): Define.
28
1e805e8d
MF
292014-02-08 Mike Frysinger <vapier@gentoo.org>
30
31 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32 (IP_PMTUDISC_INTERFACE): Likewise.
33 (IP_MULTICAST_IF): Likewise.
34 (IP_MULTICAST_TTL): Likewise.
35 (IP_MULTICAST_LOOP): Likewise.
36 (IP_ADD_MEMBERSHIP): Likewise.
37 (IP_DROP_MEMBERSHIP): Likewise.
38 (IP_UNBLOCK_SOURCE): Likewise.
39 (IP_BLOCK_SOURCE): Likewise.
40 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42 (IP_MSFILTER): Likewise.
43 (MCAST_JOIN_GROUP): Likewise.
44 (MCAST_BLOCK_SOURCE): Likewise.
45 (MCAST_UNBLOCK_SOURCE): Likewise.
46 (MCAST_LEAVE_GROUP): Likewise.
47 (MCAST_JOIN_SOURCE_GROUP): Likewise.
48 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49 (MCAST_MSFILTER): Likewise.
50 (IP_MULTICAST_ALL): Likewise.
51 (IP_UNICAST_IF): Likewise.
52
73f79bb7
MF
532014-02-08 Mike Frysinger <vapier@gentoo.org>
54
55 * timezone/Makefile: Delete $(have-ksh) check.
56 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57 * timezone/tzselect.ksh: Add +x mode bits.
58
8da79b60
MF
592014-02-08 Mike Frysinger <vapier@gentoo.org>
60
61 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
62 (ANON_INODE_FS_MAGIC): Likewise.
63 (BDEVFS_MAGIC): Likewise.
64 (BINFMTFS_MAGIC): Likewise.
65 (BTRFS_TEST_MAGIC): Likewise.
66 (CRAMFS_MAGIC_WEND): Likewise.
67 (DEBUGFS_MAGIC): Likewise.
68 (ECRYPTFS_SUPER_MAGIC): Likewise.
69 (EXT3_SUPER_MAGIC): Likewise.
70 (EXT4_SUPER_MAGIC): Likewise.
71 (FUTEXFS_SUPER_MAGIC): Likewise.
72 (HOSTFS_SUPER_MAGIC): Likewise.
73 (HUGETLBFS_MAGIC): Likewise.
74 (MINIX3_SUPER_MAGIC): Likewise.
75 (MTD_INODE_FS_MAGIC): Likewise.
76 (NILFS_SUPER_MAGIC): Likewise.
77 (OPENPROM_SUPER_MAGIC): Likewise.
78 (PIPEFS_MAGIC): Likewise.
79 (PSTOREFS_MAGIC): Likewise.
80 (QNX6_SUPER_MAGIC): Likewise.
81 (RAMFS_MAGIC): Likewise.
82 (REISERFS_SUPER_MAGIC_STRING): Likewise.
83 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
84 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
85 (SECURITYFS_MAGIC): Likewise.
86 (SELINUX_MAGIC): Likewise.
87 (SMACK_MAGIC): Likewise.
88 (SOCKFS_MAGIC): Likewise.
89 (SQUASHFS_MAGIC): Likewise.
90 (STACK_END_MAGIC): Likewise.
91 (TMPFS_MAGIC): Likewise.
92 (USBDEVICE_SUPER_MAGIC): Likewise.
93 (V9FS_MAGIC): Likewise.
94 (XENFS_SUPER_MAGIC): Likewise.
95 (CRAMFS_MAGIC): Fix typo in comment.
96 (EXT2_SUPER_MAGIC): Update comment.
97 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
98
464263cc
JM
992014-02-08 Joseph Myers <joseph@codesourcery.com>
100
c6bfe5c4
JM
101 * sysdeps/arm: Move directory from ports/sysdeps/arm.
102 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
103 * sysdeps/unix/sysv/linux/arm: Move directory from
104 ports/sysdeps/unix/sysv/linux/arm.
105 * README: Update listing for arm-*-linux-gnueabi.
106
464263cc
JM
107 * README: Remove mention of am33.
108
32749f6c
RM
1092014-02-07 Roland McGrath <roland@hack.frob.com>
110
111 * bits/sigset.h (__sigemptyset): Use a statement expression rather
112 than the comma operator, to avoid "rhs of comma has no effect"
113 compiler warnings.
114 (__sigfillset, __sigandset, __sigorset): Likewise.
115 * include/signal.h (__sigemptyset): Likewise.
116 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
117
d5b396c1
AM
1182014-02-07 Allan McRae <allan@archlinux.org>
119
120 * version.h (RELEASE): Set to "development".
121 (VERSION): Set to "2.19.90"
122 * NEWS: Add 2.20 section.
123
3bfff2ed
CD
1242014-02-06 Carlos O'Donell <carlos@redhat.com>
125
126 [BZ #16529]
127 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
128
ee7cc385
SP
1292014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
130
131 * manual/contrib.texi: Update entry for Carlos O'Donell,
132 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
133
f877c4f2
CD
1342014-02-05 Carlos O'Donell <carlos@rehdat.com>
135
27e839f6
CD
136 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
137
f877c4f2
CD
138 * sysdeps/unix/sysv/linux/kernel-features.h
139 [__LINUX_KERNEL_VERSION >= 0x020621]
140 (__ASSUME_PROC_PID_TASK_COMM): Define.
141
68159946
SP
1422014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
143
144 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
145 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
146 Leonard and Allan McRae.
147
2b528732
DM
1482014-02-04 David S. Miller <davem@davemloft.net>
149
150 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
151 32-bit.
152
0ff82463
AZ
1532014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154
c01603f7
AZ
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
156 file
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
158 New file
159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
160 file.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
162 file.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
164 New file.
165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
166 file.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
168 file.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
170 New file.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
172 New file.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
174 New file.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
176 New file.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
178 New file.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
180 New file.
181
1822014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
183
0ff82463
AZ
184 * nptl/shlib-versions: Change powerpc*le start to 2.17.
185 * shlib-versions: Likewise.
186
1695c773
AZ
1872014-02-04 Roland McGrath <roland@hack.frob.com>
188 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189
190 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
191 (abilist-pattern): New variable, set to %-le.abilist.
192
193 * Makerules (abilist-pattern): New variable.
194 (vpath): Use $(abilist-pattern) in place of %.abilist.
195 (check-abi-% pattern rule): Likewise.
196 (check-abi, update-abi): Likewise.
197
6c0ce4b4
EW
1982014-02-04 Eric Wong <normalperson@yhbt.net>
199
200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
201
dc98b8f5
EW
2022014-02-04 Eric Wong <normalperson@yhbt.net>
203
204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
205
481e3524
CD
2062014-02-03 Carlos O'Donell <carlos@redhat.com>
207
208 * manual/startup.texi: Add next, previous, and top entries for
209 the `Program Arguments' and `Environment Variables' nodes.
210
375592d3
AO
2112014-02-03 Alexandre Oliva <aoliva@redhat.com>
212
213 * manual/macros.texi: Add comments before MTASC-safety macros.
214
f54838ba
AO
215 * manual/users.texi: Document MTASC-safety properties.
216
909e12ad
AO
217 * manual/threads.texi (pthread_key_create, pthread_key_delete,
218 pthread_getspecific, pthread_setspecific): Format with
219 @deftypefun, and add @safety note.
220 * manual/signal.texi: Move comments that analyze the above
221 functions to their home place.
222
fd3daba4
AM
2232014-02-03 Allan McRae <allan@archlinux.org>
224
225 * po/sl.po: Update Slovenian translation from translation project.
226
597636d7
AO
2272014-02-02 Alexandre Oliva <aoliva@redhat.com>
228
229 * manual/time.texi (timegm): Add missing blank after @c.
230 Reported by Joseph Myers <joseph@codesourcery.com>.
231
ee196e3c
AO
2322014-02-01 Alexandre Oliva <aoliva@redhat.com>
233
234 * manual/check-safety.sh: New.
235 * manual/Makefile ($(objpfx)stamp-summary): Run it.
236
f8d529d5
AO
237 * manual/terminal.texi: Document MTASC-safety properties.
238
de55fdf4
AO
239 * manual/filesys.texi: Document MTASC-safety properties.
240
c3299c08
AO
241 * manual/errno.texi: Document MTASC-safety properties.
242
06e90b14
AO
243 * manual/intro.texi: Document safety identifiers and
244 conditionals.
245
1acd4371
AO
246 * manual/string.texi (wcstok): Fix prototype.
247 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
248
23e5b8cb
AO
249 * manual/time.texi: Document MTASC-safety properties.
250
11087373
AO
251 * manual/string.texi: Document MTASC-safety properties.
252
5da2c93d
AO
253 * manual/threads.texi: Document MTASC-safety properties.
254
171e9210
AO
255 * manual/stdio.texi: Document MTASC-safety properties.
256
d9e02532
AO
257 * manual/syslog.texi: Document MTASC-safety properties.
258
6af8bab7
AO
259 * manual/sysinfo.texi: Document MTASC-safety properties.
260
663b02d7
AO
261 * manual/startup.texi: Document MTASC-safety properties.
262
973f180b
AO
263 * manual/socket.texi: Document MTASC-safety properties.
264
8f3c25c8
AO
265 * manual/signal.texi: Document MTASC-safety properties.
266
542210fb
AO
2672014-01-31 Alexandre Oliva <aoliva@redhat.com>
268
269 * manual/setjmp.texi: Document MTASC-safety properties.
270
433c45a2
AO
271 * manual/search.texi: Document MTASC-safety properties.
272
c8ce789c
AO
273 * manual/resource.texi: Document MTASC-safety properties.
274
19f5d29c
AO
275 * manual/process.texi: Document MTASC-safety properties.
276
e2dfb7f4
AO
277 * manual/platform.texi: Document MTASC-safety properties.
278
8c1413f5
AO
279 * manual/pipe.texi: Document MTASC-safety properties.
280
03483ada
AO
281 * manual/pattern.texi: Document MTASC-safety properties.
282
29e7e2df
AO
283 * manual/message.texi: Document MTASC-safety properties.
284
9f529d7c
AO
285 [BZ #12751]
286 * manual/memory.texi: Document MTASC-safety properties.
287
27aaa791
AO
288 * manual/math.texi: Document MTASC-safety properties.
289
f2d58726
AO
290 * manual/locale.texi: Document MTASC-safety properties.
291
2cc3615c
AO
292 * manual/llio.texi: Document MTASC-safety properties.
293
d9f0ec97
AO
294 * manual/libdl.texi: New.
295
e7c4409a
AO
296 * manual/lang.texi: Document MTASC-safety properties.
297
27bdc63c
AO
298 * manual/job.texi: Document MTASC-safety properties.
299
a7b90ea9
AO
300 * manual/getopt.texi: Document MTASC-safety properties.
301
c49130e3
AO
302 * manual/ctype.texi: Document MTASC-safety properties.
303
0d23a5c1
MR
3042014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
305
306 [BZ #16046]
307 * csu/libc-tls.c (static_map): Remove variable.
308 (__libc_setup_tls): Use main executable's link map for TLS data.
309 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
310 casing for LM_ID_BASE and GL(dl_nns).
311 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
312 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
313 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
314 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
315 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
316 member.
317 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
318 l_phnum members.
319
0037bb60
AO
3202014-01-30 Alexandre Oliva <aoliva@redhat.com>
321
322 * manual/debug.texi: Document MTASC-safety properties.
323
409e00bd
L
3242014-01-29 H.J. Lu <hongjiu.lu@intel.com>
325
326 [BZ #16510]
327 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
328 of __x86_64__ when disabling x87 inline functions.
329
86e60666
AO
3302014-01-29 Alexandre Oliva <aoliva@redhat.com>
331
332 * manual/charset.texi: Document MTASC-safety properties.
333
76167637
AO
334 * manual/crypt.texi: Document MTASC-safety properties.
335
e567f2a0
AO
336 * manual/conf.texi: Document MTASC-safety properties.
337
b719dafd
AO
338 * manual/arith.texi: Document MTASC-safety properties.
339
4a16c662
AO
340 * manual/argp.texi: Document MTASC-safety properties.
341
0a57b83e
AO
342 * manual/macros.texi: Introduce macros to document multi
343 thread, asynchronous signal and asynchronous cancellation
344 safety properties.
345 * manual/intro.texi: Introduce the properties themselves.
346
feab2397
KK
3472014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
348
349 * sysdeps/sh/sh4/Makefile: New file.
350
1c0d11bc
AS
3512014-01-27 Andreas Schwab <schwab@linux-m68k.org>
352
353 * math/gen-libm-test.pl ($srcdir): New variable.
354 ($auto_input): Use it.
355
af37a8a3
SP
3562014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
357
d7b00f98
SP
358 [BZ #16506]
359 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
360 access beyond array bounds when parsing netgroups file.
361
af37a8a3
SP
362 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
363 the old buffer before realloc.
364
0c00f062
AM
3652014-01-27 Allan McRae <allan@archlinux.org>
366
367 * po/fr.po: Update French translation from translation project.
368
7d69a1b0
KK
3692014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
370
371 * sysdeps/sh/libm-test-ulps: Regenerate.
372
6e697ff7
DM
3732014-01-24 David S. Miller <davem@davemloft.net>
374
375 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
376
9cadb35c
KK
3772014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
378
379 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
380 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
381
5d41dadf
SP
3822013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
383
384 [BZ #16474]
385 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
386 string pointers after reallocation.
387
0bad441c
KK
3882014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
389
390 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
391 __SH4A__ instead of __SH_FPU_ANY__.
392
7007c661
KK
3932014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
394
395 * sysdeps/sh/fpu_control.h: New file.
396 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
397 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
398 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
399 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
400 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
401 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
402 * sysdeps/sh/sys/ucontext.h: Remove.
403 * sysdeps/sh/sys: Remove directory.
404
0f0c35e4
AK
4052014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
406
407 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
408 s390/sys/ucontext.h.
409 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
410 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
411
4959e284
L
4122014-01-20 H.J. Lu <hongjiu.lu@intel.com>
413
414 [BZ #15605]
415 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
416
d98720e0
AZ
4172014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
418
419 [BZ#16431]
420 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
421 Adjust the vDSO correctly for internal calls.
422 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
423
91cbd0bc
AM
4242014-01-20 Allan McRae <allan@archlinux.org>
425
426 * po/ca.po: Update Catalan translation from translation project.
427
7a02cfad
MF
4282014-01-16 Mike Frysinger <vapier@gentoo.org>
429
430 * sysdeps/s390/sotruss-lib.c: New file.
431
736c304a
AZ
4322014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
433
434 [BZ#16430]
6e077ee5 435 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
436 (__GI___gettimeofday): Alias for a different internal symbol to avoid
437 local calls issues by not having a PLT stub required for IFUNC calls.
438 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
439
94d0cea0
JM
4402014-01-16 Joseph Myers <joseph@codesourcery.com>
441
442 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
443 * math/test-fpucw-static.c: Likewise.
444
980cb518
SP
4452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
446
447 [BZ #16453]
448 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
449
2393fc01
AZ
4502014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
451
452 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
453 implementation for powerpc.
454
d359bcc2
OB
4552014-01-15 Ondřej Bílka <neleai@seznam.cz>
456
457 [BZ #14782]
458 * sysdeps/posix/system.c (__libc_system): Do not enable
459 asynchronous cancellation.
460
7beb48cb
AK
4612014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
462
463 [BZ #16427]
464 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
465 handling only for numbers special also in the IEEE case.
466
c20d5bf5
AK
4672014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
468
469 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
470
e83bd4ee
AM
4712014-01-11 Allan McRae <allan@archlinux.org>
472
76d0ea69
AM
473 * po/bg.po: Update Bulgarian translation from translation project.
474
e83bd4ee
AM
475 * po/de.po: Update German translation from translation project.
476
bc2ba20a
RM
4772014-01-10 Roland McGrath <roland@hack.frob.com>
478
479 * sysdeps/generic/gcc-compat.h: New file.
480
649ecea2
SP
4812014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
482
483 * benchtests/asin-inputs: Correct slow inputs.
484 * benchtests/acos-inputs: Likewise.
485
1b19c006
AM
4862014-01-10 Allan McRae <allan@archlinux.org>
487
a46dab08
AM
488 * po:sv.po: Update Swedish translation from translation project.
489
421df74a
AM
490 * po/vi.po: Update Vietnamese translation from translation project.
491
d61c51a7
AM
492 * po/eo.po: Update Esperanto translation from translation project.
493
0339a319
AM
494 * po/cs.po: Update Czech translation from translation project.
495
94ad3e99
AM
496 * po/nl.po: Update Dutch translation from translation project.
497
e349ca71
AM
498 * po/pl.po: Update Polish translation from translation project.
499
ddf930c1
AM
500 * po/ru.po: Update Russian translation from translation project.
501
1b19c006
AM
502 * po/uk.po: Update Ukrainian translation from translation project.
503
9f236c49
BM
5042014-01-08 Brooks Moses <bmoses@google.com>
505
506 * elf/dl-load.c: Fix comment typo.
507
cd6701cf
CD
5082014-01-08 Carlos O'Donell <carlos@redhat.com>
509
510 * po/header.pot: Rename to...
511 * po/pot.header: ... this.
512 * po/Makefile: Use pot.header.
513
66671c84
YK
5142014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
515 Maxim Kuvyrkov <maxim@kugelworks.com>
516
517 [BZ #16394]
cd6701cf
CD
518 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
519 SRC and DEST against LEN.
66671c84 520
38f34581
AZ
5212014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
522
523 [BZ #16414]
524 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
525 implementation.
526 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
527
5282014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
529
530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
531
4c327f2a
JM
5322014-01-08 Joseph Myers <joseph@codesourcery.com>
533
534 [BZ #16408]
535 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
536 for large positive arguments.
537
b821f414
JM
5382014-01-07 Joseph Myers <joseph@codesourcery.com>
539
1f0f2067
JM
540 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
541
a5a326f6
JM
542 * math/auto-libm-test-in: Mark various tests with
543 xfail-rounding:ldbl-128ibm.
544 * math/auto-libm-test-out: Regenerated.
545
b821f414
JM
546 [BZ #16407]
547 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
548 Increase overflow threshold.
549
94c8a4bc
OB
5502014-01-07 Ondřej Bílka <neleai@seznam.cz>
551
552 [BZ #14286]
553 * stdio-common/vfprintf.c: Check for integer overflow.
554
87ded0c3
AK
5552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
556
557 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
558 the first argument and return value of __tls_get_addr_internal.
559
c5eebdd0
AK
5602014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
561
562 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
563 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
564
05d138ef
AK
5652014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
566
567 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
568 * sysdeps/s390/rtld-global-offsets.sym: New file.
569 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
570 GLIBC_2.19 symbol.
571 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
572 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
574 ... this.
575 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
576 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
577 ... this.
578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
579 Regenerate.
580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
581 Regenerate.
582 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
583 halfs of GPRs for high_gprs contexts.
584 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
585 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
586 field.
587 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
588 uc_flags field.
589 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
590 64 bit versions:
591 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
592 for high GPRs (uc_high_gprs) and for future extensions
593 (__reserved).
594 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
595 for future extensions (__reserved).
596 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
597 64 bit versions:
598 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
599 SC_HIGHGPRS offset definition.
600 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
601 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
602
93a45ff1
AK
6032014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
604
605 * Versions.def: Add GLIBC_2.19 for libpthread.
606 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
607 siglongjmp for libpthread with GLIBC_2.19 symver.
608 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
609 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
610 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
611 * sysdeps/s390/__longjmp.c: New file.
612 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
613 * sysdeps/s390/longjmp.c: New file.
614 * sysdeps/s390/setjmp.S: New file.
615 * sysdeps/s390/sigjmp.S: New file.
616 * sysdeps/s390/v1-longjmp.c: New file.
617 * sysdeps/s390/v1-setjmp.h: New file.
618 * sysdeps/s390/v1-sigjmp.c: New file.
619 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
620 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
621 GLIBC_2.19 version.
622 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
623 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
624 versioned symbols for ____longjmp_chk.
625 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
626 Likewise.
627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
628 Regenerate.
629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
630 Regenerate.
631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
632 Regenerate.
633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
634 Regenerate.
635 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
636 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
637 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
638 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
639 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
640 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
641 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
642 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
643 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
644 * sysdeps/s390/rtld-__longjmp.c: New file.
645 * sysdeps/s390/rtld-setjmp.S: New file.
646
eb3fc44b
JM
6472014-01-06 Joseph Myers <joseph@codesourcery.com>
648
649 [BZ #16400]
650 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
651 Return -__logl (x) for small positive arguments without evaluating
652 a polynomial.
653
9341dde4
MF
6542014-01-06 Mike Frysinger <vapier@gentoo.org>
655
656 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
657 Rename to ...
658 (__ptrace_peeksiginfo_args): ... this.
659 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
661 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
662
4cff0293
AM
6632014-01-06 Allan McRae <allan@archlinux.org>
664
665 * inet/netinet/in.h: Fix typo in comment.
666
75595dcf
AJ
6672014-01-05 Andreas Jaeger <aj@suse.de>
668
669 * sysdeps/i386/fpu/libm-test-ulps: Update.
670
79c1e109
AM
6712014-01-05 Allan McRae <allan@archlinux.org>
672
dd804818
AM
673 * po/libc.pot: Regenerated.
674
79c1e109
AM
675 * malloc/memusagestat.c: Fix gettext call formatting.
676
0c813d1f
SK
6772014-01-04 Sami Kerola <kerolasa@iki.fi>
678
679 * nscd/nscd.c: Improve usage() output.
680
20f4a8d9
MF
6812014-01-04 Mike Frysinger <vapier@gentoo.org>
682
683 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
684 * sysdeps/unix/sysv/linux/configure: Regenerated.
685 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
686 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
687
22562bb2
JM
6882014-01-03 Joseph Myers <joseph@codesourcery.com>
689
690 [BZ #16390]
691 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
692 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
693
d7ad2d9b
AZ
6942014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
695
696 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
697 extra tokens at end of #undef directive.
698 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
699 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
700 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
701
7dd009d8
JM
7022014-01-03 Joseph Myers <joseph@codesourcery.com>
703
24db925a
JM
704 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
705
7dd009d8
JM
706 * math/auto-libm-test-in: Mark various tests with
707 xfail-rounding:ldbl-128ibm.
708 * math/auto-libm-test-out: Regenerated.
709
396e3ecf
JM
7102014-01-02 Joseph Myers <joseph@codesourcery.com>
711
819e5d50
JM
712 [BZ #16386]
713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
714 numbers with subnormal high part when calculating exponent.
715
90b6a1e5
JM
716 [BZ #16385]
717 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
718 fabs.
719
396e3ecf
JM
720 [BZ #16384]
721 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
722 M_LN2l.
723 (__ieee754_acoshl): Use __log1pl not __log1p.
724
6c8dbf00
OB
7252013-01-02 Ondřej Bílka <neleai@seznam.cz>
726
727 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
728 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
729 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
730 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
731 Convert to GNU style.
732 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
733 mem2mem_check, mem2chunk_check, top_check, realloc_check,
734 memalign_check, __malloc_set_state): Likewise.
735 * malloc/mallocbug.c (main): Likewise.
736 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
737 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
738 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
739 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
740 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
741 * malloc/malloc.h: Likewise.
742 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
743 memalignhook, reallochook, mabort): Likewise.
744 * malloc/mcheck.h: Likewise.
745 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
746 mmap64, mremap, munmap, dest): Likewise.
747 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
748 * malloc/morecore.c (__default_morecore): Likewise.
749 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
750 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
751 _obstack_allocated_p, obstack_free, _obstack_memory_used,
752 print_and_abort): Likewise.
753 * malloc/obstack.h: Likewise.
754 * malloc/set-freeres.c (__libc_freeres): Likewise.
755 * malloc/tst-mallocstate.c (main): Likewise.
756 * malloc/tst-mtrace.c (main): Likewise.
757 * malloc/tst-realloc.c (do_test): Likewise.
758
d4124212
SP
7592013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
760
9a3c6a6f
SP
761 [BZ #16366]
762 * nscd/netgroupcache.c (do_notfound): New function.
763 (addgetnetgrentX): Use it.
764
d4124212
SP
765 [BZ # 16365]
766 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
767 NSS_STATUS_NOTFOUND.
768
97b9a009
JM
7692014-01-01 Joseph Myers <joseph@codesourcery.com>
770
771 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
773
d4697bc9
AM
7742014-01-01 Allan McRae <allan@archlinux.org>
775
ddb3687f
AM
776 * scripts/update-copyrights: Update configure input file suffix.
777
88726d48
AM
778 * NEWS: Update copyright year.
779 * catgets/gencat.c: Likewise.
780 * csu/version.c: Likewise.
781 * debug/catchsegv.sh: Likewise.
782 * debug/pcprofiledump.c: Likewise.
783 * debug/xtrace.sh: Likewise.
784 * elf/ldconfig.c: Likewise.
785 * elf/ldd.bash.in: Likewise.
786 * elf/pldd.c: Likewise.
787 * elf/sotruss.ksh: Likewise.
788 * elf/sprof.c: Likewise.
789 * iconv/iconv_prog.c: Likewise.
790 * iconv/iconvconfig.c: Likewise.
791 * locale/programs/locale.c: Likewise.
792 * locale/programs/localedef.c: Likewise.
793 * login/programs/pt_chown.c: Likewise.
794 * malloc/memusage.sh: Likewise.
795 * malloc/memusagestat.c: Likewise.
796 * malloc/mtrace.pl: Likewise.
797 * manual/libc.texinfo: Likewise.
798 * nscd/nscd.c: Likewise.
799 * nss/getent.c: Likewise.
800 * nss/makedb.c: Likewise.
801 * posix/getconf.c: Likewise.
802 * scripts/test-installation.pl: Likewise.
803
d4697bc9
AM
804 * All files with FSF copyright notices: Update copyright dates
805 using scripts/update-copyrights.
806 * intl/plural.c: Regenerated.
807 * locale/programs/charmap-kw.h: Likewise.
808 * locale/programs/locfile-kw.h: Likewise.
809
c8590f9d
MF
8102013-12-31 Mike Frysinger <vapier@gentoo.org>
811
812 * sysdeps/unix/sysv/linux/configure: Regenerated.
813 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
814 the linux/fanotify.h header.
815 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
816 HAVE_LINUX_FANOTIFY_H is defined.
817
b19221b9
SP
8182013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
819
dd1d85e5
SP
820 * benchtests/cos-inputs: New inputs.
821 * benchtests/sin-inputs: Likewise.
822
1acbb90f
SP
823 * benchtests/atan-inputs: New inputs. Fix name of multiple
824 precision fallback inputs.
825
4c012ed3
SP
826 * benchtests/atanh-inputs: New inputs.
827 * benchtests/tanh-inputs: Likewise.
828
eff98324
SP
829 * benchtests/acosh-inputs: New inputs.
830 * benchtests/asinh-inputs: Likewise.
831
ce641152
SP
832 * benchtests/cosh-inputs: New inputs.
833 * benchtests/sinh-inputs: Likewise.
834
b19221b9
SP
835 * benchtests/acos-inputs: Add more inputs.
836 * benchtests/asin-inputs: Likewise.
837
030a4976 8382013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 839
030a4976 840 [BZ #16375]
9dcc8f11
VS
841 * manual/arith.texi: Fix spelling.
842 * manual/charset.texi: Likewise.
843 * manual/errno.texi: Likewise.
844 * manual/filesys.texi: Likewise.
845 * manual/lang.texi: Likewise.
846 * manual/llio.texi: Likewise.
847 * manual/locale.texi: Likewise.
848 * manual/message.texi: Likewise.
849 * manual/resource.texi: Likewise.
850 * manual/search.texi: Likewise.
851 * manual/setjmp.texi: Likewise.
852 * manual/stdio.texi: Likewise.
853 * manual/string.texi: Likewise.
854 * manual/sysinfo.texi: Likewise.
855 * manual/time.texi: Likewise.
856
11520a57
CD
8572013-12-27 Carlos O'Donell <carlos@redhat.com>
858
859 * po/sl.po: New file.
860
471103ae
MF
8612013-12-27 Mike Frysinger <vapier@gentoo.org>
862
863 * .gitignore: Add core/.gdbinit/.gdb_history.
864
6c9642ed
AM
8652013-12-27 Allan McRae <allan@archlinux.org>
866
867 [BZ #16369]
868 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
869 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
870
3f637079
BM
8712013-12-24 Brooks Moses <bmoses@google.com>
872
873 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
874 all compilers that claim C++98 compliance, not just GCC.
875 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
876 Likewise.
877
abc26e99
MK
8782013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
879
880 * NEWS: Restore accidentally deleted bug-fix entries.
881
362b47fe
MK
8822013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
883 Ondřej Bílka <neleai@seznam.cz>
884
885 [BZ #15073]
886 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 887 have_lock.
362b47fe 888
b9bcbbcb
OB
8892013-12-23 Ondřej Bílka <neleai@seznam.cz>
890
891 [BZ #12986]
892 * manual/stdio.texi (String Input Conversions): Clarify that character
893 classes are not supported.
894
fb55fcd2
AZ
8952013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
896
897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
898
ef7344f0
JM
8992013-12-22 Joseph Myers <joseph@codesourcery.com>
900
4f40e4b3
JM
901 [BZ #16337]
902 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
903 Calculate results for small negative arguments directly rather
904 than using reflection formula with special underflow handling.
905
ef7344f0
JM
906 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
907 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
908 sysdeps/unix/bsd/bsd4.4/syscalls.list.
909 (fchflags): Likewise.
910 (revoke): Likewise.
911 (setlogin): Likewise.
912 (sigaltstack): Likewise.
913 (wait4): Likewise.
914 (sigblock): Remove.
915 (sigsetmask): Likewise.
916 (wait3): Likewise.
917 (waitpid): Likewise.
918 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
919 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
920 file.
921 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
922 * sysdeps/unix/bsd/Makefile: ... here.
923 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
924 * sysdeps/unix/bsd/Versions: ... here.
925 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
926 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
927 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
928 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
929 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
930 * sysdeps/unix/bsd/sigblock.c: ... here.
931 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
932 * sysdeps/unix/bsd/sigsetmask.c: ... here.
933 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
934 * sysdeps/unix/bsd/sigvec.c: ... here.
935 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
936 * sysdeps/unix/bsd/tcdrain.c: ... here.
937 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
938 * sysdeps/unix/bsd/tcgetattr.c: ... here.
939 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
940 * sysdeps/unix/bsd/tcsetattr.c: ... here.
941 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
942 * sysdeps/unix/bsd/wait.c: ... here.
943 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
944 * sysdeps/unix/bsd/wait3.c: ... here.
945 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
946 * sysdeps/unix/bsd/waitpid.c: ... here.
947
5b0626b9
JM
9482013-12-21 Joseph Myers <joseph@codesourcery.com>
949
950 [BZ #16356]
951 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
952 round-to-nearest for [!USE_AS_EXPM1L].
953 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
954 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
955 more tests of exp and exp10. Expect some exp10 tests to miss
956 exceptions or fail in directed rounding modes.
957 * math/auto-libm-test-out: Regenerated.
958 * math/libm-test.inc (exp10_tonearest_test_data): New array.
959 (exp10_test_tonearest): New function.
960 (exp10_towardzero_test_data): New array.
961 (exp10_test_towardzero): New function.
962 (exp10_downward_test_data): New array.
963 (exp10_test_downward): New function.
964 (exp10_upward_test_data): New array.
965 (exp10_test_upward): New function.
966 (main): Call the new functions.
967 * sysdeps/i386/fpu/libm-test-ulps: Update.
968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
969
7fda5682
JM
9702013-12-20 Joseph Myers <joseph@codesourcery.com>
971
31e3a405
JM
972 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
973 asinh, atan, atan2, atanh, cbrt, cos and cosh.
974 * math/auto-libm-test-out: Regenerated.
975 * math/libm-test.inc (acosh_test_data): Add more tests.
976 (atanh_test_data): Likewise.
977 (ceil_test_data): Likewise.
978 (copysign_test_data): Likewise.
979 * sysdeps/i386/fpu/libm-test-ulps: Update.
980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
981
85bff96a
JM
982 * timezone/checktab.awk: Update from tzcode 2013i.
983 * timezone/private.h: Likewise.
984 * timezone/scheck.c: Likewise.
985 * timezone/tzfile.h: Likewise.
986 * timezone/tzselect.ksh: Likewise.
987 * timezone/zdump.c: Likewise.
988 * timezone/zic.c: Likewise.
989
b7867a3b
JM
990 * math/auto-libm-test-in: Add tests of cpow.
991 * math/auto-libm-test-out: Regenerated.
992 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
993 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
994 mpc_cc_c.
995 (func_calc_desc): Add mpc_cc_c union field.
996 (test_functions): Add cpow.
997 (special_fill_2pi): New function.
998 (special_real_inputs): Add 2pi.
999 (calc_generic_results): Handle mpc_cc_c.
1000 * sysdeps/i386/fpu/libm-test-ulps: Update.
1001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1002
7fda5682
JM
1003 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1004 csqrt, ctan and ctanh.
1005 * math/auto-libm-test-out: Regenerated.
1006 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1007 (TEST_COND_x86): Likewise.
1008 (ccos_test_data): Use AUTO_TESTS_c_c.
1009 (ccosh_test_data): Likewise.
1010 (cexp_test_data): Likewise.
1011 (clog_test_data): Likewise.
1012 (csqrt_test_data): Likewise.
1013 (ctan_test_data): Likewise.
1014 (ctan_tonearest_test_data): Likewise.
1015 (ctan_towardzero_test_data): Likewise.
1016 (ctan_downward_test_data): Likewise.
1017 (ctan_upward_test_data): Likewise.
1018 (ctanh_test_data): Likewise.
1019 (ctanh_tonearest_test_data): Likewise.
1020 (ctanh_towardzero_test_data): Likewise.
1021 (ctanh_downward_test_data): Likewise.
1022 (ctanh_upward_test_data): Likewise.
1023 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1024 mpc_c_c.
1025 (func_calc_desc): Add mpc_c_c union field.
1026 (FUNC_mpc_c_c): New macro.
1027 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1028 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1029 ctanh.
1030 (special_fill_min_subnorm_p120): New function.
1031 (special_real_inputs): Add min_subnorm_p120.
1032 (calc_generic_results): Handle mpc_c_c.
1033 * sysdeps/i386/fpu/libm-test-ulps: Update.
1034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1035
5ff8d60e
SP
10362013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1037
392dd2de
SP
1038 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1039 do_sin_slow): New functions.
1040 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1041 cslow2, csloww1, csloww2): Use the new functions.
1042
84ba214c
SP
1043 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1044 Use M to change sign of result instead of X. Assume X is
1045 positive.
1046 (csloww1): Likewise.
1047 (__sin): Adjust.
1048 (__cos): Adjust.
1049
975195e4
SP
1050 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1051 arguments A and DA.
1052 (__sin): Adjust.
1053 (__cos): Likewise.
1054
5ff8d60e
SP
1055 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1056 (__cos): Likewise.
1057 (sloww1): Don't adjust sign of DX.
1058 (csloww1): Likewise.
1059 (sloww2): Use X directly and don't adjust sign of DX.
1060 (csloww2): Likewise.
1061
eb983568
JM
10622013-12-19 Joseph Myers <joseph@codesourcery.com>
1063
64a17f1a
JM
1064 * math/auto-libm-test-in: Add tests of cabs and carg.
1065 * math/auto-libm-test-out: Regenerated.
1066 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1067 (carg_test_data): Likewise.
1068 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1069 mpc_c_f.
1070 (func_calc_desc): Add mpc_c_f union field.
1071 (test_functions): Add cabs and carg.
1072 (calc_generic_results): Handle mpc_c_f.
1073
eb983568
JM
1074 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1075 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1076 as a macro and a compat symbol.
1077 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1078 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1079 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1080 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1081 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1082 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1083 not use .hidden.
1084 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1085 Likewise.
1086 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1087 Likewise.
1088 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1089 Likewise.
1090 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1091 Likewise.
1092 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1093 Likewise.
1094 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1095 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1096 from GLIBC_2.3.2.
1097
6eeb678a
AZ
10982013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1099
1100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1101
6f6fc482
JM
11022013-12-19 Joseph Myers <joseph@codesourcery.com>
1103
21fea2e2
JM
1104 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1105 trailing whitespace removed.
1106 * scripts/config.guess: Update to version 2013-11-29.
1107 * scripts/config.sub: Update to version 2013-10-01.
1108
6f6fc482
JM
1109 * math/auto-libm-test-in: Add tests of sincos.
1110 * math/auto-libm-test-out: Regenerated.
1111 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1113 mpfr_f_11.
1114 (func_calc_desc): Add mpfr_f_11 union field.
1115 (test_functions): Add sincos.
1116 (calc_generic_results): Handle mpfr_f_11.
1117 * sysdeps/i386/fpu/libm-test-ulps: Update.
1118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1119
83f5c32d
AS
11202013-12-19 Andreas Schwab <schwab@suse.de>
1121
1122 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1123 CALL_MCOUNT.
1124 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1125 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1126 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1127
c688b419
JM
11282013-12-19 Joseph Myers <joseph@codesourcery.com>
1129
335ee092
JM
1130 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1131 * sysdeps/i386/fpu/libm-test-ulps: Update.
1132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1133
f88acd39
JM
1134 [BZ #16293]
1135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1136 round-to-nearest mode when using frndint.
1137 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1138 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1140 Likewise.
1141 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1142 sinh test to fail.
1143 * math/auto-libm-test-out: Regenerated.
1144 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1145 (TEST_COND_x86): Likewise.
1146 (expm1_tonearest_test_data): New array.
1147 (expm1_test_tonearest): New function.
1148 (expm1_towardzero_test_data): New array.
1149 (expm1_test_towardzero): New function.
1150 (expm1_downward_test_data): New array.
1151 (expm1_test_downward): New function.
1152 (expm1_upward_test_data): New array.
1153 (expm1_test_upward): New function.
1154 (main): Run the new test functions.
1155 * sysdeps/i386/fpu/libm-test-ulps: Update.
1156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1157
c688b419
JM
1158 * include/features.h: Update comment documenting feature test
1159 macros. Mention _DEFAULT_SOURCE in comment.
1160 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1161 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1162 _BSD_SOURCE and _SVID_SOURCE.
1163 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1164 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1165 !_SVID_SOURCE]: Likewise.
1166 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1167 (__USE_POSIX_IMPLICITLY): Define.
1168 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1169 (_POSIX_SOURCE): Undefine and redefine.
1170 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1171 (_POSIX_C_SOURCE): Likewise.
1172 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1173 (Feature Test Macros): Update documentation of default features.
1174
9f6e964c
RS
11752013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1176
1177 * benchtests/Makefile: Add bench-strtok.
1178 * benchtests/bench-strtok.c: New file: strtok benchtest.
1179
ee0a148a
AM
11802013-12-19 Allan McRae <allan@archlinux.org>
1181
1182 * manual/install.texi: Suppress menu for plain text output.
1183 * INSTALL: Regenerated.
1184
b9ab448f
BM
11852013-12-18 Brooks Moses <bmoses@google.com>
1186
1187 [BZ #15846]
1188 * misc/getauxval.c: Include errno.h.
1189 (__getauxval): Set errno to ENOENT if the requested type is not
1190 found.
1191 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1192 don't declare with __attribute_const__.
1193 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1194 * manual/startup.texi: Document that getauxval sets errno.
1195
23776487
JM
11962013-12-18 Joseph Myers <joseph@codesourcery.com>
1197
f889953b
JM
1198 * math/auto-libm-test-in: Add tests of jn and yn.
1199 * math/auto-libm-test-out: Regenerated.
1200 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1201 (yn_test_data): Likewise.
1202 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1203 mpfr_if_f.
1204 (func_calc_desc): Add mpfr_if_f union field.
1205 (FUNC_mpfr_if_f): New macro.
1206 (test_functions): Add jn and yn.
1207 (calc_generic_results): Assert type of second input for
1208 mpfr_ff_f. Handle mpfr_if_f.
1209 (output_for_one_input_case): Disable all checking for arguments
1210 fitting floating-point types in case of an integer argument.
1211 * sysdeps/i386/fpu/libm-test-ulps: Update.
1212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1213
23776487
JM
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1215 Don't expect fegetround reference in libm.so.
1216
cb756c6d
MS
12172013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1218
1219 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1220 $(config-cflags-nofma).
1221
2dec468f
JM
12222013-12-18 Joseph Myers <joseph@codesourcery.com>
1223
5953eb3a
JM
1224 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1225 * math/auto-libm-test-out: Regenerated.
1226
2dec468f
JM
1227 [BZ #16338]
1228 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1229 to determine exponent and adjust argument to have exponent of -1.
1230 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1231 log2.
1232 * math/auto-libm-test-out: Regenerated.
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1235
4d84e6ad
OB
12362013-12-18 Ondřej Bílka <neleai@seznam.cz>
1237
1238 * manual/probes.texi: Remove cases when per-thread arenas are
1239 disabled.
1240
1818483b
AS
12412013-12-18 Andreas Schwab <schwab@suse.de>
1242
1243 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1244 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1245 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1246 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1247 * sysdeps/i386/i686/multiarch/Makefile: Update.
1248 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1249
25de95bf
JM
12502013-12-17 Joseph Myers <joseph@codesourcery.com>
1251
1252 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1253 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1254
674762d9
PE
12552013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1256
ed27ed83 1257 [BZ #15968]
0748546f
PE
1258 Support TZ transition times < 00:00:00.
1259 This is needed for version-3 tz-format files; it supports time
1260 stamps past 2037 for America/Godthab (the only entry in the tz
1261 database for which this change is relevant).
1262 * manual/time.texi (TZ Variable): Document transition times
1263 from -167:59:59 through -00:00:01.
1264 * time/tzset.c (tz_rule): Time of day is now signed.
1265 (__tzset_parse_tz): Parse negative time of day.
1266
4480e934
PE
1267 Document TZ transition times >= 25:00:00.
1268 * manual/time.texi (TZ Variable): Document transition times from
1269 25:00:00 through 167:59:59. These are already supported, and this
1270 support will help with version-3 tz-format files.
1271
69947401
PE
1272 * manual/time.texi (TZ Variable): Modernize North America example
1273 to reflect current (i.e., 2007-and-later) daylight saving rules.
1274
674762d9
PE
1275 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1276
7011c262
JM
12772013-12-17 Joseph Myers <joseph@codesourcery.com>
1278
2fc6557e
JM
1279 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1280 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1283 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1284 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1285 * sysdeps/unix/bsd/clock.c: Likewise.
1286 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1287 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1288 * sysdeps/unix/bsd/init-posix.c: Likewise.
1289 * sysdeps/unix/bsd/poll.c: Likewise.
1290 * sysdeps/unix/bsd/ptsname.c: Likewise.
1291 * sysdeps/unix/bsd/seekdir.c: Likewise.
1292 * sysdeps/unix/bsd/setegid.c: Likewise.
1293 * sysdeps/unix/bsd/seteuid.c: Likewise.
1294 * sysdeps/unix/bsd/setgid.c: Likewise.
1295 * sysdeps/unix/bsd/setrgid.c: Likewise.
1296 * sysdeps/unix/bsd/setruid.c: Likewise.
1297 * sysdeps/unix/bsd/setsid.c: Likewise.
1298 * sysdeps/unix/bsd/setuid.c: Likewise.
1299 * sysdeps/unix/bsd/sigaction.c: Likewise.
1300 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1301 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1302 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1303 * sysdeps/unix/bsd/telldir.c: Likewise.
1304 * sysdeps/unix/bsd/times.c: Likewise.
1305 * sysdeps/unix/bsd/usleep.c: Likewise.
1306
029c7b25
JM
1307 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1308 ($(objpfx)libbsd-compat.a): Remove rule.
1309
7011c262
JM
1310 * include/features.h (__FAVOR_BSD): Do not define.
1311 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1312 features conflicting with POSIX.
1313 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1314 (_BSD_SOURCE): Remove description of not being a subset of other
1315 feature test macros.
1316 * manual/job.texi (getpgrp): Do not document BSD version.
1317 (getpgid): Do not document by reference to BSD getpgrp.
1318 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1319 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1320 * signal/signal.h [__FAVOR_BSD]: Likewise.
1321 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1322 instead of making contents conditional on [__FAVOR_BSD].
1323 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1324
affb6f78
AZ
13252013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326
1327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1328
c88769dd
JM
13292013-12-17 Joseph Myers <joseph@codesourcery.com>
1330
6432a540
JM
1331 [BZ #16314]
1332 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1333 values below 2**-450, not 2**-500.
1334 * math/auto-libm-test-in: Don't allow spurious underflow from
1335 hypot.
1336 * math/auto-libm-test-out: Regenerated.
1337
c88769dd
JM
1338 [BZ #16316]
1339 [BZ #16330]
1340 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1341 values of ha and hb and sort them after adjusting subnormal
1342 arguments.
1343 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1344 Likewise.
1345 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1346 values of ea and eb and sort them after adjusting subnormal
1347 arguments.
1348 * math/auto-libm-test-in: Do not expect some hypot tests of
1349 subnormals to fail. Add more hypot tests.
1350 * math/auto-libm-test-out: Regenerated.
1351
29618f6b
KK
13522013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1353
1354 [BZ #13304]
1355 * sysdeps/sh/s_fma.c: New file.
1356 * sysdeps/sh/s_fmaf.c: New file.
1357 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1358 version.
1359 * sysdeps/sh/Implies: Add sh/soft-fp.
1360
eacfdfbf
RM
13612013-12-16 Roland McGrath <roland@hack.frob.com>
1362
1363 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1364 level of indirection to members `objname', `errstring', `malloced'.
1365 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1366 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1367 it as the __longjmp argument (just pass 1 instead).
1368 (_dl_catch_error): Initialize C with argument pointers and address of
1369 volatile local ERRCODE rather than copying values out of C at return.
1370
ff362e5b
JM
13712013-12-16 Joseph Myers <joseph@codesourcery.com>
1372
1373 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1374 * math/auto-libm-test-out: Regenerated.
1375 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1376 (hypot_test_data): Likewise.
1377 (pow_test_data): Likewise.
1378 (pow_tonearest_test_data): Likewise.
1379 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1380 mpfr_ff_f.
1381 (func_calc_desc): Add mpfr_ff_f union field.
1382 (FUNC_mpfr_ff_f): New macro.
1383 (test_functions): Add atan2, hypot and pow.
1384 (special_fill_min): New function.
1385 (special_fill_minus_min): Likewise.
1386 (special_fill_min_subnorm): Likewise.
1387 (special_fill_minus_min_subnorm): Likewise.
1388 (special_real_inputs): Add min, -min, min_subnorm and
1389 -min_subnorm.
1390 (calc_generic_results): Handle mpfr_ff_f.
1391 * sysdeps/i386/fpu/libm-test-ulps: Update.
1392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1393
5764c27f
WN
13942013-12-16 Will Newton <will.newton@linaro.org>
1395
1396 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1397 (Aligned Memory Blocks): Add documentation for aligned_alloc
1398 and suggest it as an alternative to posix_memalign.
1399 (Hooks for Malloc): Document __memalign_hook is also called
1400 for aligned_alloc. (Summary of Malloc): Add summary for
1401 aligned alloc. Document __memalign_hook is also called
1402 for aligned_alloc.
1403
0a096e44
WN
14042013-12-16 Will Newton <will.newton@linaro.org>
1405
1406 * manual/memory.texi (Malloc Examples): Clarify default
1407 alignment documentation. Suggest posix_memalign rather
1408 than memalign or valloc.
1409 (Aligned Memory Blocks): Remove suggestion to use memalign
1410 or valloc. Remove obsolete comment about BSD.
1411 Document memalign errno values and mark the function obsolete.
1412 Document posix_memalign returned error codes. Mark valloc
1413 as obsolete. (Hooks for Malloc): __memalign_hook is also
1414 called for posix_memalign and valloc.
1415 (Summary of Malloc): Add posix_memalign to function summary.
1416 __memalign_hook is also called for posix_memalign and valloc.
1417
8d561986
SP
14182013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1419
1420 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1421 TAYLOR_SIN.
1422 (__sin): Adjust.
1423 (__cos): Likewise.
1424 (sloww): Use mynumber union. Expand ternary operator into
1425 if-else statements.
1426 (cslow): use mynumber union.
1427
73616a74
AM
14282013-12-16 Allan McRae <allan@archlinux.org>
1429
9e8ac24b
AM
1430 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1431 * configure: Regenerated.
1432
6f8e37eb
AM
1433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1434
8894bad3
AM
1435 [BZ #14120]
1436 * configure.ac: Added --enable-maintainer-mode. Check for
1437 autoconf when enabled.
1438 * configure: Regenerated.
1439
73616a74
AM
1440 * nscd/nscd.service: New file.
1441 * nscd/nscd.tmpfiles: New file.
1442
584b18eb
OB
14432013-12-14 Ondřej Bílka <neleai@seznam.cz>
1444
1445 [BZ #12100]
1446 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1447 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1448 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1449 (strstr): Add __strstr_sse2_unaligned ifunc.
1450 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1451 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1452 (strcasestr): Remove __strcasestr_sse42 ifunc.
1453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1456
8a5c7897
KK
14572013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1458
1459 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1460 * sysdeps/sh/bits/fenv.h: ... here.
1461 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1462
fd712ef3
AZ
14632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1464
1465 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1466
42fcb46c
AZ
14672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1468
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1470 hypotf multiarch implementations.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1472 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1474 multiarch hypot for PPC64.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1476 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1478 multiarch hypotf for PPC64.
1479
83efded4
AZ
14802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481
1482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1483 modff multiarch implementations.
1484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1487 multiarch modf for PPC64.
1488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1491 multiarch modff for PPC64.
1492
43e246d2
AZ
14932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1494
1495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1496 and logl multiarch implementations.
1497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1500 multiarch logb for PPC64.
1501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1504 multiarch logb for PPC64.
1505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1508 multiarch logb for PPC64.
1509
8fdad123
AZ
15102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1511
1512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1513 isinff multiarch implementation.
1514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1515 file.
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1518 multiarch isinf for PPC64.
1519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1520 file.
1521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1522 multiarch isinff for PPC64.
1523
1481d706
AZ
15242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525
1526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1527 finitef multiarch implementation.
1528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1529 file.
1530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1532 multiarch finite for PPC64.
1533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1534 file.
1535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1536 multiarch finitef for PPC64.
1537
5ccd5fc8
AZ
15382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1539
1540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1541 lrint multiarch implementation.
1542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1543 file.
1544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1546 multiarch llrint for PPC64.
1547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1548 multiarch lrint for PPC64.
1549
2568f3fa
AZ
15502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1551
1552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1553 copysignf multiarch implementation.
1554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1555 file.
1556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1557 file.
1558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1559 multiarch copysign for PPC64.
1560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1561 multiarch copysignf for PPC64.
1562
1cb341fd
AZ
15632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
1565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1566 multiarch implementation.
1567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1568 file.
1569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1570 file.
1571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1572 file.
1573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1574 file.
1575 multiarch llround for PPC64.
1576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1577 multiarch trunc for PPC64.
1578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1579 multiarch truncf for PPC64.
1580
59a3e194
AZ
15812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1582
1583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1584 multiarch implementation.
1585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1586 file.
1587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1588 file.
1589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1590 file.
1591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1592 file.
1593 multiarch llround for PPC64.
1594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1595 multiarch round for PPC64.
1596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1597 multiarch roundf for PPC64.
1598
357fd3b4
AZ
15992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1600
1601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1602 multiarch implementation.
1603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1604 file.
1605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1606 file.
1607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1608 file.
1609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1610 file.
1611 multiarch llround for PPC64.
1612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1613 multiarch floor for PPC64.
1614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1615 multiarch floorf for PPC64.
1616
96770f12
AZ
16172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1618
1619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1620 multiarch implementation.
1621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1622 file.
1623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1624 file.
1625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1626 file.
1627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1628 file.
1629 multiarch llround for PPC64.
1630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1631 multiarch ceil for PPC64.
1632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1633 multiarch ceilf for PPC64.
1634
c3627f6e
AZ
16352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1636
1637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1638 multiarch implementation.
1639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1640 file.
1641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1642 file.
1643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1644 file.
1645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1646 multiarch llround for PPC64.
1647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1648 multiarch lround for PPC64.
1649
b2284ad7
AZ
16502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651
1652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1653 multiarch implementation.
1654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1657 file.
1658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1661 multiarch isnan for PPC64.
1662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1663 multiarch isnanf for PPC64.
1664
69bbc63d
AZ
16652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1666
1667 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1668 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1669 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1670 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1671 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1673
c24517c9
AZ
16742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1675
1676 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1677 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1678 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1679 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1680
a52374e8
AZ
16812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1682
1683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1684 multiarch implementations.
1685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1686 (__libc_ifunc_impl_list): Likewise.
1687 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1688 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1689 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1690 multiarch stpcpy for PPC64.
1691
7f5ec113
AZ
16922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1693
1694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1695 multiarch implementations.
1696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1697 (__libc_ifunc_impl_list): Likewise.
1698 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1699 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1700 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1701 multiarch strcpy for PPC64.
1702
e28bcd42
AZ
17032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1704
1705 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1706 redefine function name.
1707 (_wordcopy_fwd_dest_aligned): Likewise.
1708 (_wordcopy_bwd_aligned): Likewise.
1709 (_wordcopy_bwd_dest_aligned): Likewise.
1710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1711 multiarch implementations.
1712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1713 (__libc_ifunc_impl_list): Likewise.
1714 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1715 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1716 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1717 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1718 multiarch wcscpy for PPC64.
1719
92cacfce
AZ
17202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1721
1722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1723 multiarch implementations.
1724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1725 (__libc_ifunc_impl_list): Likewise.
1726 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1727 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1728 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1729 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1730 multiarch wcscpy for PPC64.
1731
7b714620
AZ
17322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1733
1734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1735 multiarch implementations.
1736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1737 (__libc_ifunc_impl_list): Likewise.
1738 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1739 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1740 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1741 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1742 multiarch wcsrchr for PPC64.
1743
16fd2ae3
AZ
17442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1745
1746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1747 multiarch implementations.
1748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1749 (__libc_ifunc_impl_list): Likewise.
1750 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1751 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1752 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1753 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1754 multiarch wcschr for PPC64.
1755
9ee2969b
AZ
17562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757
1758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1759 multiarch implementations.
1760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1761 (__libc_ifunc_impl_list): Likewise.
1762 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1763 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1764 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1765 multiarch strchrnul for PPC64.
1766
372dc060
AZ
17672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1768
1769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1770 implementations.
1771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1772 (__libc_ifunc_impl_list): Likewise.
1773 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1774 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1775 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1776 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1777 strchr for PPC64.
1778
24c2c3b9
AZ
17792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1780
1781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1782 implementations.
1783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1784 (__libc_ifunc_impl_list): Likewise.
1785 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1786 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1787 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1788 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1789 strncmp for PPC64.
1790
1c92d9a0
AZ
17912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1792
1793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1794 multiarch implementations.
1795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1796 (__libc_ifunc_impl_list): Likewise.
1797 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1798 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1799 strncasecmp for PPC64.
1800 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1801 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1802 multiarch strncasecmp_l for PPC64.
1803
17de3ee3
AZ
18042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1805
1806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1807 multiarch implementations.
1808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1809 (__libc_ifunc_impl_list): Likewise.
1810 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1811 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1812 multiarch strcasecmp for PPC64.
1813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1814 file.
1815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1816 multiarch strcasecmp_l for PPC64.
1817
62982bf9
AZ
18182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1819
1820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1821 implementations.
1822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1823 (__libc_ifunc_impl_list): Likewise.
1824 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1825 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1826 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1827 strnlen for PPC64.
1828
a65f4904
AZ
18292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1830
1831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1832 implementations.
1833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1834 (__libc_ifunc_impl_list): Likewise.
1835 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1836 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1837 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1838 strlen for PPC64.
1839
1fd005ad
AZ
18402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1841
1842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1843 implementations.
1844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1845 (__libc_ifunc_impl_list): Likewise.
1846 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1847 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1848 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1849 rawmemrchr for PPC64.
1850
cd05ba91
AZ
18512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1852
1853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1854 implementation.
1855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1856 (__libc_ifunc_impl_list): Likewise.
1857 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1858 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1859 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1860 memrchr for PPC64.
1861
870f8676
AZ
18622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1863
1864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1865 implementation.
1866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1867 (__libc_ifunc_impl_list): Likewise.
1868 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1869 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1870 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1871 memchr for PPC64.
1872
f00be62b
AZ
18732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874
1875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1876 implementation.
1877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1878 (__libc_ifunc_impl_list): Likewise.
1879 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1880 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1881 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1882 mempcpy for PPC64.
1883
8a29a3d0
AZ
18842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1885
1886 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1887 avoid cretion of __bzero symbol.
1888 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1889 Likewise.
1890 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1891 Likewise.
1892 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1893 Likewise.
1894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1895 multiarch implementations.
1896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1897 (__libc_ifunc_impl_list): Likewise.
1898 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1899 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1900 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1901 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1902 bzero for PPC32.
1903 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1904 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1905 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1906 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1907 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1908 memset for PPC64.
1909 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1910
07253fcf
AZ
19112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1912
1913 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1915 implementations.
1916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1917 (__libc_ifunc_impl_list): Likewise.
1918 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1919 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1920 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1921 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1922 memcmp for PPC64.
1923
b5beafbc
AZ
19242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925
1926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1927 multiarch for POWER/PPC64.
1928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1929 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1932 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1933 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1934 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1935 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1936 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1937 memcpy for PPC64.
1938
5e6a4d4b
AZ
19392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940
1941 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1942 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1943 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1944 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1945 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1946 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1947 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1948 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1949 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1950 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1951 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1952 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1953 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1954 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1955 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1963
ddfab6dc
KK
19642013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1965
1966 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1967
19b5525e
SP
19682013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1969
1970 * benchtests/Makefile (bench): Add exp2 and log2.
1971 (LDLIBS-bench-exp2): Add -lm.
1972 (LDLIBS-bench-log2): Likewise.
1973 * benchtests/exp2-inputs: New inputs file.
1974 * benchtests/log2-inputs: New inputs file.
1975 * benchtests/log-inputs: Add new inputs.
1976 * benchtests/tan-inputs: Likewise.
1977
196f7f5d
SP
19782013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1979
7a74607f
SP
1980 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1981 definition...
1982 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1983 csloww1, csloww2): ... from here.
1984
196f7f5d
SP
1985 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1986 instead of structures.
1987 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1988 (POLYNOMIAL): Likewise.
1989 (TAYLOR_SLOW): Likewise.
1990 (__sin): Likewise.
1991 (__cos): Likewise.
1992 (slow1): Likewise.
1993 (slow2): Likewise.
1994 (sloww): Likewise.
1995 (sloww1); Likewise.
1996 (sloww2): Likewise.
1997 (bsloww1): Likewise.
1998 (bsloww2): Likewise.
1999 (cslow2): Likewise.
2000 (csloww): Likewise.
2001 (csloww1): Likewise.
2002 (csloww2): Likewise.
2003
0dfa665c
OB
20042013-12-10 Ondřej Bílka <neleai@seznam.cz>
2005
2006 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2007 (__malloc_assert, __libc_realloc, __libc_calloc,
2008 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2009 memcpy and memset.
2010 * malloc/hooks.c (realloc_check): Likewise.
2011
5782a80f
OB
20122013-12-10 Ondřej Bílka <neleai@seznam.cz>
2013
2014 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2015 * malloc/arena.c: Remove PER_THREAD conditional.
2016 [!PER_THREAD]: Remove code.
2017 (ptmalloc_unlock_all2): Likewise.
2018 (ptmalloc_init): Likewise.
2019 (_int_new_arena): Likewise.
2020 (arena_get2): Likewise.
2021 * malloc/hooks.c (__malloc_get_state): Likewise.
2022 (__malloc_set_state): Likewise.
2023 * malloc/malloc.c: Likewise.
2024 (struct malloc_state): Likewise.
2025 (struct malloc_par): Likewise.
2026 (__libc_realloc): Likewise.
2027 (__libc_mallopt): Likewise.
2028
aeb95445
AZ
20292013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2030
2031 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2032
e8349efd
OB
20332013-12-09 Ondřej Bílka <neleai@seznam.cz>
2034
2035 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2036 macro to a function. Check for zero perturb_byte.
2037 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2038
f3eeb3fc
OB
20392013-12-09 Ondřej Bílka <neleai@seznam.cz>
2040
2041 * malloc/malloc.c: (force_reg): Remove.
2042 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2043 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2044 force_reg by atomic_forced_read.
2045 * malloc/arena.c (ptmalloc_init): Likewise.
2046 * malloc/hooks.c (top_check): Likewise.
2047
be2f9009
AZ
20482013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2049
2050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2051
e7b914bd
MT
20522013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2053
2054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2055
9f0be4f8
JM
20562013-12-08 Joseph Myers <joseph@codesourcery.com>
2057
2058 * math/auto-libm-test-in: Add tests of lgamma.
2059 * math/auto-libm-test-out: Regenerated.
2060 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2061 (M_LOG_2_SQRT_PIl): Likewise.
2062 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2063 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2064 mpfr_f_f1.
2065 (func_calc_desc): Add mpfr_f_f1 union field.
2066 (ARGS1): New macro.
2067 (ARGS2): Likewise.
2068 (ARGS3): Likewise.
2069 (ARGS4): Likewise.
2070 (RET1): Likewise.
2071 (RET2): Likewise.
2072 (CALC): Likewise.
2073 (FUNC): Likewise.
2074 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2075 (test_functions): Add lgamma.
2076 (calc_generic_results): Handle mpfr_f_f1.
2077 * sysdeps/i386/fpu/libm-test-ulps: Update.
2078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2079
24eeafdb
AZ
20802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081
2082 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2083 __mpn_add_n for PowerPC64/POWER7.
2084 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2085 __mpn_sub_n for PowerPC64/POWER7.
2086
4a2c0fd4
AZ
20872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2088
2089 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2090 __mpn_addmul_1 for PowerPC64.
2091 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2092 __mpn_submul_1 for PowerPC64.
2093 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2094 for PowerPC64.
2095 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2096 for PowerPC64.
2097
4b5b548c
FS
20982013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2099
2100 [BZ #15089]
2101 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2102
0a3ac0aa
AZ
21032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2104
2105 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2106
ccdc8438
AZ
21072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2108
2109 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2110 add multiarch folders.
2111 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2112 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2113 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2114 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2115 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2116 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2117 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2118 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2119 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2120 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2121 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2128
2e973d99
AZ
21292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2130
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2132 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2134 New file.
2135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2136 New file.
2137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2138 multiarch __ieee754_hypot for PowerPC32.
2139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2140 New file.
2141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2142 New file.
2143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2144 multiarch __ieee754_hypotf for PowerPC32.
2145
2d9470b2
AZ
21462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147
2148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2149 long_double_symbol only if __logbl is defined.
2150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2151 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2153 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2155 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2156 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2157 path for implementation.
2158 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2159 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2161 logb, and logbl multiarch implementations for PowerPC32.
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2163 file.
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2165 file.
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2167 multiarch logb for PowerPC32.
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2169 file.
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2171 file.
2172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2173 multiarch logbf for PowerPC32.
2174 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2176 file.
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2178 multiarch logbl implementation for PowerPC32.
2179
5212ffce
AZ
21802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2181
2182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2183 and modff multiarch implementations.
2184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2185 New file.
2186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2187 New file.
2188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2189 multiarch modf for PowerPC32.
2190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2191 New file.
2192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2193 New file.
2194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2195 multiarch modff for PowerPC32.
2196
79dccf31
AZ
21972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2198
2199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2200 and lrintf multiarch implementations.
2201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2202 New file.
2203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2204 New file.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2206 multiarch lrint for PowerPC32.
2207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2208 file: multiarch lrintf for PowerPC32.
2209
deb66480
AZ
22102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2211
2212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2213 and lroundf multiarch implementations.
2214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2215 New file.
2216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2217 New file.
2218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2219 New file.
2220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2221 multiarch lround for PowerPC32.
2222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2223 file: multiarch lroundf for PowerPC32.
2224
264b036b
AZ
22252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2226
2227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2228 copysign and copysignf multiarch implementations.
2229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2230 New file.
2231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2232 New file.
2233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2234 file: multiarch copysign for PowerPC32.
2235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2236 file: multiarch copysignf for PowerPC32.
2237
d47db6c9
AZ
22382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239
2240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2241 and truncf multiarch implementations.
2242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2243 New file.
2244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2245 file.
2246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2247 multiarch trunc for PowerPC32.
2248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2249 New file.
2250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2251 New file.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2253 multiarch truncf for PowerPC32.
2254
ddb60b5a
AZ
22552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256
2257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2258 and roundf multiarch implementations.
2259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2260 New file.
2261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2262 file.
2263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2264 multiarch round for PowerPC32.
2265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2266 New file.
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2268 New file.
2269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2270 multiarch roundf for PowerPC32.
2271
bedcf49b
AZ
22722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2273
2274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2275 and floorf multiarch implementations.
2276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2277 New file.
2278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2279 file.
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2281 multiarch floor for PowerPC32.
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2283 New file.
2284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2285 New file.
2286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2287 multiarch floorf for PowerPC32.
2288
35ae5b40
AZ
22892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2290
2291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2292 and ceilf multiarch implementations.
2293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2294 New file.
2295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2296 file.
2297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2298 multiarch ceil for PowerPC32.
2299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2300 New file.
2301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2302 file.
2303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2304 multiarch ceilf for PowerPC32.
2305
ae1a4cd9
AZ
23062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2307
2308 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2309 is defined.
2310 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2311 FINITEF is defined.
2312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2313 and finitef multiarch implementations.
2314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2315 New file.
2316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2317 file.
2318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2319 multiarch finite for PowerPC32.
2320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2321 New file.
2322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2323 file: multiarch finitef for PowerPC32.
2324
64fffd65
AZ
23252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2326
2327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2328 and isinff multiarch implementations.
2329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2330 file.
2331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2332 file.
2333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2334 multiarch isinf for PowerPC32.
2335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2336 New file.
2337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2338 multiarch isinff for PowerPC32.
2339
8e4e7ba2
AZ
23402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2341
2342 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2343 alias when __isnan is defined.
2344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2345 and isnanf multiarch implementations.
2346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2347 file.
2348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2349 file.
2350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2351 file.
2352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2353 file.
2354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2355 multiarch isnan for PowerPC32.
2356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2357 New file.
2358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2359 New file.
2360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2361 multiarch isnanf for PowerPC32.
2362
ddba588e
AZ
23632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2364
2365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2366 and sqrtf multiarch implementations.
2367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2368 file.
2369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2370 file.
2371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2372 multiarch sqrt for PowerPC32.
2373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2374 file.
2375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2376 file.
2377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2378 multiarch sqrtf for PowerPC32.
2379
0f96a2f0
AZ
23802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2381
2382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2383 and llroundf multiarch implementations.
2384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2385 New file.
2386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2387 New file.
2388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2389 New file.
2390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2391 file: multiarch llround for PowerPC32.
2392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2393 file: multiarch llroundf for PowerPC32.
2394
c9b5d79e
AZ
23952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2396
2397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2398 multiarch PowerPC32 fpu implementations.
2399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2400 New file.
2401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2402 New file.
2403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2404 multiarch llrint for PowerPC32.
2405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2406 New file.
2407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2408 New file.
2409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2410 file.
2411
9cbb3aab
AZ
24122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2413
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2415
ea5a72f8
AZ
24162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2419 file.
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2421 file.
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2423 file.
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2425 multiarch wordcopy for PPC32.
2426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2427 wordcopy objects.
2428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2429 (__libc_ifunc_impl_list): Likewise.
2430 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2431 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2432 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2433 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2434 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2435 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2436
93be09e7
AZ
24372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2438
2439 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2441 file.
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2443 file.
2444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2445 file.
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2447 multiarch wcscpy for PPC32.
2448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2449 multiarch objects.
2450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2451 (__libc_ifunc_impl_list): Likewise.
2452 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2453 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2454 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2455 sysdeps/powerpc/power6/wcscpy.c.
2456
bb04e529
AZ
24572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2458
2459 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2461 file.
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2463 file.
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2465 file.
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2467 multiarch wcsrchr for PPC32.
2468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2469 multiarch objects.
2470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2471 (__libc_ifunc_impl_list): Likewise.
2472 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2473 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2474 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2475 sysdeps/powerpc/power6/wcsrchr.c.
2476
05b5cd1c
AZ
24772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2478
2479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2480 file.
2481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2482 file.
2483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2485 multiarch wcschr for PPc32.
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2487 multiarch objects.
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2489 (__libc_ifunc_impl_list): Likewise.
2490 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2491 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2492 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2493 sysdeps/powerpc/power6/wcschr.c.
2494
ba964147
AZ
24952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2496
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2498 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2499 file.
2500 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2501 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2502 file: multiarch strchr for PPC32.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2504 multiarch objects.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2506 (__libc_ifunc_impl_list): Likewise.
2507
31c81aaa
AZ
25082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2509
2510 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2511 name.
2512 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2513 file.
2514 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2515 file.
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2517 multiarch strchrnul for PPC32.
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2519 multiarch objects.
2520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2521 (__libc_ifunc_impl_list): Likewise.
2522
0d0607d9
AZ
25232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2524
2525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2526 file.
2527 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2528 multiarch strncasecmp for PPC32.
2529 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2530 file.
2531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2532 multiarch strncasecmp_l for PPC32.
2533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2534 strncasecmp multiarch objects.
2535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2536 (__libc_ifunc_impl_list): Likewise.
2537
4dfd5c86
AZ
25382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2539
2540 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2541 file.
2542 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2543 multiarch strncasecmp for PPC32.
2544 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2545 New file.
2546 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2547 multiarch strcasecmp_l for PPC32.
2548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2549 multiarch objects.
2550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2551 (__libc_ifunc_impl_list): Likewise.
2552
a19e01a3
AZ
25532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2554
2555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2556 file.
2557 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2558 file.
2559 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2560 multiarch strncmp for PPC32.
2561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2562 multiarch objects.
2563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2564 (__libc_ifunc_impl_list): Likewise.
2565
ae9cf7a2
AZ
25662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2567
2568 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2569 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2570 file.
2571 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2572 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2574 multiarch objects.
2575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2576 (__libc_ifunc_impl_list): Likewise.
2577
3148bb7d
AZ
25782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579
2580 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2581 file.
2582 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2583 file.
2584 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2586 multiarch objects.
2587 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2588 (__libc_ifunc_impl_list): Likewise.
2589
7af8b946
AZ
25902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2591
2592 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2593 file.
2594 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2595 file.
2596 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2597 multiarch rawmemchr for PPC32.
2598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2599 multiarch objects.
2600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2601 (__libc_ifunc_impl_list): Likewise.
2602
03a6aa6a
AZ
26032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2604
2605 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2606 file.
2607 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2608 file.
2609 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2610 file: memrchr multiarch for PPC32.
2611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2612 multiarch objects.
2613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2614 (__libc_ifunc_impl_list): Likewise.
2615
1c62e6d9
AZ
26162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2617
2618 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2619 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2620 file.
2621 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2622 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2623 multiarch memchr for PPC32.
2624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2625 multiarch objects.
2626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2627 (__libc_ifunc_impl_list): Likewise.
2628
87da8bdb
AZ
26292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2630
2631 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2632 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2633 file.
2634 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2635 file.
2636 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2637 file: multiarch mempcpy for PPC32.
2638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2639 multiarch objects.
2640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2641 (__libc_ifunc_impl_list): Likewise.
2642
20ed4714
AZ
26432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2644
2645 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2646 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2647 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2648 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2649 multiarch bzero for PPC32.
2650 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2651 file.
2652 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2653 file.
2654 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2655 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2656 file: multiarch memset for PPC32.
2657 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2659 memset multiarch objects.
2660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2661 (__libc_ifunc_impl_list): Likewise.
2662
ab3e3a46
AZ
26632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2664
2665 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2666 file.
2667 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2668 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2669 memcmp for PPC32.
2670 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2672 multiarch objects.
2673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2674 (__libc_ifunc_impl_list): Likewise.
2675
930de6f0
AZ
26762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2677
2678 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2679 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2680 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2681 file.
2682 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2683 file.
2684 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2685 file.
2686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2687 multiarch memcpy for PPC32.
2688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2689 multiarch objects.
2690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2691 (__libc_ifunc_impl_list): Likewise.
2692
4c628e00
AZ
26932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2694
2695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2696 support multiarch for POWER/PPC32.
2697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2698 Likewise.
2699 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2701 Implies file to make multiarch folder appers before the fpu and
2702 default folder for power4 configuration.
2703
f4479220
SP
27042013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2705
2706 * scripts/bench.pl: Append volatile keyword to type.
2707
8517800f
KK
27082013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2709
2710 * sysdeps/sh/sotruss-lib.c: New file.
2711 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2712
180138f1
AZ
27132013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2714
2715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2716
bbf37bdc
JM
27172013-12-05 Joseph Myers <joseph@codesourcery.com>
2718
e47cc4e0
JM
2719 [BZ #6810]
2720 * math/w_tgamma.c: Include <errno.h>.
2721 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2722 * math/w_tgammaf.c: Include <errno.h>.
2723 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2724 * math/w_tgammal.c: Include <errno.h>.
2725 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2726 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2727 underflow. Add more tgamma tests.
2728 * math/auto-libm-test-out: Regenerated.
2729 * sysdeps/i386/fpu/libm-test-ulps: Update.
2730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2731
bbf37bdc
JM
2732 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2733 sin, sinh, tan, tanh, tgamma, y0 and y1.
2734 * math/auto-libm-test-out: Regenerated.
2735 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2736 (TEST_COND_x86): Likewise.
2737 (M_E2l): Remove macro.
2738 (M_E3l): Likewise.
2739 (M_2_SQRT_PIl): Likewise.
2740 (M_SQRT_PIl): Likewise.
2741 (M_1_DIV_El): Likewise.
2742 (log_test_data): Use AUTO_TESTS_f_f.
2743 (log10_test_data): Likewise.
2744 (log1p_test_data): Likewise.
2745 (log2_test_data): Likewise.
2746 (sin_test_data): Likewise.
2747 (sin_tonearest_test_data): Likewise.
2748 (sin_towardzero_test_data): Likewise.
2749 (sin_downward_test_data): Likewise.
2750 (sin_upward_test_data): Likewise.
2751 (sinh_test_data): Likewise.
2752 (sinh_tonearest_test_data): Likewise.
2753 (sinh_towardzero_test_data): Likewise.
2754 (sinh_downward_test_data): Likewise.
2755 (sinh_upward_test_data): Likewise.
2756 (tan_test_data): Likewise.
2757 (tan_tonearest_test_data): Likewise.
2758 (tan_towardzero_test_data): Likewise.
2759 (tan_downward_test_data): Likewise.
2760 (tan_upward_test_data): Likewise.
2761 (tanh_test_data): Likewise.
2762 (tgamma_test_data): Likewise.
2763 (y0_test_data): Likewise.
2764 (y1_test_data): Likewise.
2765 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2766 (special_real_inputs): Add pi/4.
2767 * sysdeps/i386/fpu/libm-test-ulps: Update.
2768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2769
eb5ad6b9
AZ
27702013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2771
2772 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2773 "longjmp_target" static probes.
2774 (__longjmp): Rename to __longjmp_symbol.
2775 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2776 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2777 on which longjmp to generate.
2778 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2779 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2780 probe.
2781 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2782 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2783 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2784 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2785 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2786 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2788 __longjmp_symbol based on which __longjmp to generate.
2789 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2790 probe.
2791 (setjmp): Rename to setjmp_symbol.
2792 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2793 (_setjmp): Rename to _setjmp_symbol.
2794 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2795 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2796 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2797 which setjmp to generate.
2798 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2799 "longjmp_target" static probes.
2800
d136c6dc
SP
28012013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2802
9298ecba
SP
2803 * benchtests/README: Add note about output arguments.
2804 * benchtests/bench-sincos.c: Remove file.
2805 * benchtests/sincos-inputs: New file.
2806 * scripts/bench.pl: Identify output arguments and define
2807 static variables for them.
2808
232983e9
SP
2809 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2810
d136c6dc
SP
2811 [BZ #15941]
2812 * Makefile (INSTALL): Add install-plain.texi as the primary
2813 dependency.
2814 * manual/install-plain.texi: New file.
2815 * manual/install.texi: Include node directive only for
2816 non-plaintext output.
2817
699ff837
JM
28182013-12-04 Joseph Myers <joseph@codesourcery.com>
2819
ab07cea8
JM
2820 * stdlib/longlong.h: Update from GCC.
2821
699ff837
JM
2822 [BZ #6807]
2823 [BZ #15901]
2824 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2825 * math/w_j0f.c (y0f): Likewise.
2826 * math/w_j0l.c (__y0l): Likewise.
2827 * math/w_j1.c (y1): Likewise.
2828 * math/w_j1f.c (y1f): Likewise.
2829 * math/w_j1l.c (__y1l): Likewise
2830 * math/w_jn.c (yn): Likewise.
2831 * math/w_jnf.c (ynf): Likewise.
2832 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2833 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2834 value for Bessel function domain errors outside _SVID_ mode.
2835 Adjust sign of return value for yn (negative integer, 0).
2836 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2837 by zero in return for negative x and set sign appropriately for
2838 negative n.
2839 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2840 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2841 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2842 expectations in error cases.
2843 (y1_test_data): Likewise.
2844 (yn_test_data): Likewise.
2845 * sysdeps/i386/fpu/libm-test-ulps: Update.
2846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2847
5b118558
UW
28482013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2849
2850 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2851 "64" to "64-v1". Add "64-v2".
2852 (abi-64-options): Rename to ...
2853 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2854 (abi-64-condition): Rename to ...
2855 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2856 (abi-64-ld-soname): Rename to ...
2857 (abi-64-v1-ld-soname): ... this.
2858 (abi-64-v2-options): Define.
2859 (abi-64-v2-condition): Likewise.
2860 (abi-64-v2-ld-soname): Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2862 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2866
61cd8fe4
UW
28672013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2868 Alan Modra <amodra@gmail.com>
2869
2870 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2871 New versions for use with the ELFv2 ABI.
2872 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2873 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2874 declaration.
2875 (struct La_ppc64v2_retval): Likewise.
2876 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2877 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2878 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2879 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2880 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2881 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2882 Do not save or restore CR.
2883 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2884 (_dl_profile_resolve): Do no save or restore CR. Support extended
2885 return values for ELFv2 ABI. Fix location of FPR return registers.
2886 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2887 updated values for _CALL_ELF == 2.
2888 (La_regs, La_retval, int_retval): Likewise.
2889
8b8a692c
UW
28902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2891
2892 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2893 (FRAME_MIN_SIZE_PARM): Likewise.
2894 (FRAME_BACKCHAIN): Likewise.
2895 (FRAME_CR_SAVE): Likewise.
2896 (FRAME_LR_SAVE): Likewise.
2897 (FRAME_TOC_SAVE): Likewise.
2898 (FRAME_PARM_SAVE): Likewise.
2899 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2900 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2901 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2902 (call_mcount_parm_offset): New macro.
2903 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2904 (PROF): Use symbolic stack frame offsets.
2905 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2906 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2907 Redefine in terms of FRAME_MIN_SIZE.
2908 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2909 (_dl_profile_resolve): Likewise. Update comment.
2910 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2911 symbols stack frame offsets.
2912 (__sigsetjmp): Likewise.
2913 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2914 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2915 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2916 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2917
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2919 (FRAME_BACKCHAIN): Remove.
2920 (FRAME_CR_SAVE): Likewise.
2921 (FRAME_LR_SAVE): Likewise.
2922 (FRAME_COMPILER_DW): Likewise.
2923 (FRAME_LINKER_DW): Likewise.
2924 (FRAME_TOC_SAVE): Likewise.
2925 (FRAME_PARM_SAVE): Likewise.
2926 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2927 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2928 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2930 (CHECK_SP): Use symbolic stack frame offsets.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2932 zone" instead of caller's parameter save area for temp storage.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2934 Likewise. Also, use symbolic stack frame offsets.
2935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2936 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2937 our own stack frame instead of the caller's.
2938 (__socket): Use symbolic stack frame offsets.
2939
122b66de
UW
29402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2941 Alan Modra <amodra@gmail.com>
2942
2943 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2944 Define.
2945 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2946 PPC64_LOCAL_ENTRY_OFFSET): Define.
2947 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2948 New function.
2949 (elf_machine_fixup_plt): Call it.
2950 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2951 reloc arguments.
2952 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2953 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2954 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2955 r2 before calling target.
2956
696caf1d
UW
29572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2958 Alan Modra <amodra@gmail.com>
2959
2960 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2961 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2962 versions of macros to support ELFv2 ABI.
2963 (LOCALENTRY): New macro.
2964 (ENTRY, EALIGN): Use it.
2965 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2966 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2967 fall through into ENTRY entry point.
2968 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2969 Only define if _CALL_ELF != 2.
2970
2971 (elf_machine_matches_host): Verify ABI version matches.
2972 (RTLD_START): Use LOCALENTRY.
2973 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2974 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2975 (PLT_ENTRY_WORDS): New macro.
2976 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2977 (elf_machine_runtime_setup): Support ELFv2 ABI.
2978 (elf_machine_fixup_plt): Likewise.
2979 (elf_machine_plt_conflict): Likewise.
2980 (resolve_ifunc): Likewise.
2981 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2982 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2983 Likewise.
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2985 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2987 (makecontext): Support ELFv2 ABI.
2988 * elf/elf.h (EF_PPC64_ABI): Define.
2989
d31beafa
UW
29902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2991
2992 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2993 New assembler macro.
2994 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2995 [ASSEMBLER] (ENTRY): ... but instead here ...
2996 [ASSEMBLER] (EALIGN): ... and here.
2997 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2998 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2999 [!ASSEMBLER] (ENTRY_2): Use it.
3000 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3001 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3002 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3003 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3004 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3006 Use PPC64_LOAD_FUNCPTR.
3007
b525166b
UW
30082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3009
3010 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3011
7ec07d9a
AM
30122013-12-04 Alan Modra <amodra@gmail.com>
3013
3014 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3015 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3016 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3017 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3018
3019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3020 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3021 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3022 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3023 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3024 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3025
5162e7dd
UW
30262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3027
3028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3029 (__makecontext): Fix incorrect CFI when backtracing out of
3030 context created via makecontext.
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3032 (__setcontext): Fix incorrect CFI during switch to new context.
3033 (__novec_setcontext): Likewise.
3034
19e3372b
OB
30352013-12-04 Ondřej Bílka <neleai@seznam.cz>
3036
3037 [BZ #4772]
3038 * time/strptime_l.c (__strptime_internal): Allow modifiers
3039 in strptime.
3040 * time/tst-strptime.c (day_tests): Add testcase.
3041
3042
ecaf142d
SP
30432013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3044
3045 * scripts/bench.pl: Skip over blank lines.
3046
fbf964ae
PE
30472013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3048
3049 [BZ #926]
3050 * manual/time.texi (Calendar Time): Clarify what timezone functions
3051 use.
3052
fa60a674
AZ
30532013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3054
3055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3056
d674f0ef
OB
30572013-12-04 Ondřej Bílka <neleai@seznam.cz>
3058
3059 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3060 implementation.
3061 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3062 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3063 * debug/memset_chk.c (__memset_chk): Likewise.
3064 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3065 * debug/strncpy_chk.c: Likewise.
3066
17dea188
JM
30672013-12-03 Joseph Myers <joseph@codesourcery.com>
3068
749008ff
JM
3069 [BZ #15268]
3070 [BZ #15425]
3071 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3072 (__ieee754_exp): For possibly underflowing results, check size of
3073 result and force underflow exception if required.
3074 * math/auto-libm-test-in: Add more tests of exp.
3075 * math/auto-libm-test-out: Regenerated.
3076 * sysdeps/i386/fpu/libm-test-ulps: Update.
3077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3078
17dea188
JM
3079 [BZ #16283]
3080 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3081 * math/w_exp2f.c (__exp2f): Likewise.
3082 * math/w_exp2l.c (__exp2l): Likewise.
3083 * math/auto-libm-test-in: Do not allow missing errno on exp2
3084 underflow.
3085 * math/auto-libm-test-out: Regenerated.
3086
b20de2c3
OB
30872013-12-03 Ondřej Bílka <neleai@seznam.cz>
3088
3089 [BZ #16274]
3090 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3091 handle filename validation.
3092 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3093 (do_open): Delete.
3094
d8e2dbe3
JM
30952013-12-03 Joseph Myers <joseph@codesourcery.com>
3096
34e16df5
JM
3097 [BZ #6786]
3098 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3099 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3100 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3101 <float.h>.
3102 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3103 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3104 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3105 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3106 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3107 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3108 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3109 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3110 Add more erfc tests.
3111 * math/auto-libm-test-out: Regenerated.
3112 * sysdeps/i386/fpu/libm-test-ulps: Update.
3113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3114
d8e2dbe3
JM
3115 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3116 exp2, expm1, j0 and j1.
3117 * math/auto-libm-test-out: Regenerated.
3118 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3119 (erfc_test_data): Likewise.
3120 (exp_test_data): Likewise.
3121 (exp_tonearest_test_data): Likewise.
3122 (exp_towardzero_test_data): Likewise.
3123 (exp_downward_test_data): Likewise.
3124 (exp_upward_test_data): Likewise.
3125 (exp10_test_data): Likewise.
3126 (exp2_test_data): Likewise.
3127 (expm1_test_data): Likewise.
3128 (j0_test_data): Likewise.
3129 (j1_test_data): Likewise.
3130 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3131 (input_flag_type): Add flag_xfail_rounding.
3132 (input_flags): Add xfail-rounding.
3133 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3134 (output_for_one_input_case): Handle flag_xfail_rounding.
3135 * sysdeps/i386/fpu/libm-test-ulps: Update.
3136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3137
18d14251
AJ
31382013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3139
3d2e6075 3140 [BZ #16289]
18d14251
AJ
3141 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3142 division by 0.
3143
520d437b
SP
31442013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3145
3146 [BZ #16195]
3147 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3148 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3149 (STAP_PROBE0): New macro.
3150 (STAP_PROBE1): Likewise.
3151 (STAP_PROBE2): Likewise.
3152 (STAP_PROBE3): Likewise.
3153 (STAP_PROBE4): Likewise.
3154
416e0145
OB
31552013-12-02 Ondřej Bílka <neleai@seznam.cz>
3156
3157 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3158
9d17796a
SE
31592013-12-02 Steve Ellcey <sellcey@mips.com>
3160
3161 * benchtests/Makefile (bench): Add sqrt.
3162 (LDLIBS-bench-sqrt): New.
3163 * benchtests/sqrt-input: New.
3164
f524d6a8
PS
31652013-12-02 Pavel Simerda <psimerda@redhat.com>
3166
639a0ef8
PS
3167 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3168 (GAIH_EAI): Likewise.
3169 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3170 (gaih_inet): Likewise.
3171 (getaddrinfo): Don't use GAIH_EAI.
3172
f524d6a8
PS
3173 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3174 (struct gaih): Remove definition.
3175
df3aedaf
SP
31762013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3177
3178 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3179 Use HERRNOP directly.
3180
1ab19dec
AZ
31812013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3182
b42ad38d 3183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 3184
176b0c79
JM
31852013-11-30 Joseph Myers <joseph@codesourcery.com>
3186
3187 * math/gen-auto-libm-tests.c (test_functions): Add more
3188 single-argument functions.
3189 (special_fill_pi_2): New function.
3190 (special_fill_minus_pi_2): Likewise.
3191 (special_fill_pi_6): Likewise.
3192 (special_fill_minus_pi_6): Likewise.
3193 (special_fill_pi_3): Likewise.
3194 (special_fill_2pi_3): Likewise.
3195 (special_fill_e): Likewise.
3196 (special_fill_1_e): Likewise.
3197 (special_fill_e_minus_1): Likewise.
3198 (special_real_inputs): Add more special inputs.
3199 (output_for_one_input_case): Do not require ERANGE on underflow to
3200 zero if round-to-nearest result does not underflow to zero, unless
3201 exact results required.
3202 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3203 atan, atanh, cbrt, cos and cosh.
3204 * math/auto-libm-test-out: Regenerated.
3205 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3206 (acos_tonearest_test_data): Likewise.
3207 (acos_towardzero_test_data): Likewise.
3208 (acos_downward_test_data): Likewise.
3209 (acos_upward_test_data): Likewise.
3210 (acosh_test_data): Likewise.
3211 (asin_test_data): Likewise.
3212 (asin_tonearest_test_data): Likewise.
3213 (asin_towardzero_test_data): Likewise.
3214 (asin_upward_test_data): Likewise.
3215 (asinh_test_data): Likewise.
3216 (atan_test_data): Likewise.
3217 (atanh_test_data): Likewise.
3218 (cbrt_test_data): Likewise.
3219 (cos_test_data): Likewise.
3220 (cos_tonearest_test_data): Likewise.
3221 (cos_towardzero_test_data): Likewise.
3222 (cos_downward_test_data): Likewise.
3223 (cos_upward_test_data): Likewise.
3224 (cosh_test_data): Likewise.
3225 (cosh_tonearest_test_data): Likewise.
3226 (cosh_towardzero_test_data): Likewise.
3227 (cosh_downward_test_data): Likewise.
3228 (cosh_upward_test_data): Likewise.
3229 * sysdeps/i386/fpu/libm-test-ulps: Update.
3230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3231
ffb536d0
JM
32322013-11-29 Joseph Myers <joseph@codesourcery.com>
3233
2a77a467
JM
3234 [BZ #6787]
3235 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3236 * math/w_exp10f.c (__exp10f): Likewise.
3237 * math/w_exp10l.c (__exp10l): Likewise.
3238 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3239 errno settings in existing tests.
3240
ea3bc4e8
JM
3241 [BZ #14032]
3242 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3243 precision control set to double precision.
3244 * sysdeps/i386/fpu/w_sqrt.c: New file.
3245 * math/auto-libm-test-in: Add more tests.
3246 * math/auto-libm-test-out: Update.
3247
0712c9d8
JM
3248 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3249 (sqrt_test_tonearest): New function.
3250 (sqrt_towardzero_test_data): New variable.
3251 (sqrt_test_towardzero): New function.
3252 (sqrt_downward_test_data): New variable.
3253 (sqrt_test_downward): New function.
3254 (sqrt_upward_test_data): New variable.
3255 (sqrt_test_upward): New function.
3256 (main): Call the new functions.
3257
ffb536d0
JM
3258 * math/gen-auto-libm-tests.c: New file.
3259 * math/auto-libm-test-in: Likewise.
3260 * math/auto-libm-test-out: New generated file.
3261 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3262 variables.
3263 (%beautify): Add generated representations of zero.
3264 (top level): Set $auto_input and call parse_auto_input.
3265 (beautify): Remove trailing "f" from hex float constants.
3266 (parse_args): Handle XFAIL_TEST.
3267 (convert_condition): New function.
3268 (or_value): Likewise.
3269 (or_cond_value): Likewise.
3270 (generate_testfile): Handle AUTO_TESTS_* lines.
3271 (parse_auto_input): New function.
3272 * math/libm-test.inc (XFAIL_TEST): New macro.
3273 (ERRNO_UNCHANGED): Update value.
3274 (ERRNO_EDOM): Likewise.
3275 (ERRNO_ERANGE): Likewise.
3276 (IGNORE_RESULT): Likewise.
3277 (TEST_COND_flt_32): New macro.
3278 (TEST_COND_dbl_64): Likewise.
3279 (TEST_COND_ldbl_96_intel): Likewise.
3280 (TEST_COND_ldbl_96_m68k): Likewise.
3281 (TEST_COND_ldbl_128): Likewise.
3282 (TEST_COND_ldbl_128ibm): Likewise.
3283 (TEST_COND_long32): Likewise.
3284 (TEST_COND_long64): Likewise.
3285 (TEST_COND_before_rounding): Likewise.
3286 (TEST_COND_after_rounding): Likewise.
3287 (enable_test): Handle XFAIL_TEST flag.
3288 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3289 with finite results.
3290 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3291 auto-libm-test-out.
3292
acd98a8e
AK
32932013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3294 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3295
3296 [BZ #16214]
3297 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3298 __tls_get_addr_internal instead of __tls_get_offset in order to
3299 avoid GOT pointer dependency. Make rtld export
3300 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3301 __tls_get_addr since we are a __tls_get_offset platform.
3302 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3303 GOT pointer being set up before.
3304 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3305
3c1c46a6
JM
33062013-11-28 Joseph Myers <joseph@codesourcery.com>
3307
7475aef5
JM
3308 * manual/math.texi (Errors in Math Functions): Document accuracy
3309 goals.
3310
8bca7cd8
JM
3311 [BZ #15004]
3312 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3313 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3314 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3315 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3316 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3317 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3318 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3319 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3320 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3322 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3325 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3326 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3327 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3328
91a1f3fe
JM
3329 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3330 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3331 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3332 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3333 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3334 Likewise.
3335 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3336 Likewise.
3337 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3338 Likewise.
3339 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3340 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3341 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3342 atomic-feupdateenv and flt-rounds.
3343 * sysdeps/powerpc/nofpu/Versions (libc): Add
3344 __atomic_feholdexcept, __atomic_feclearexcept,
3345 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3346 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3347 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3348 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3349 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3350 here.
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3352 Update.
3353
c5df7609
JM
3354 * manual/arith.texi (FP Exceptions): Document that exceptions may
3355 not be raised when matherr is used.
3356 (Math Error Reporting): Document overflow in directed rounding
3357 modes. Document that errno may not be set when finite values are
3358 returned on overflow. Document intent to set errno on underflow
3359 only for underflow to zero.
3360
3c1c46a6
JM
3361 [BZ #16271]
3362 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3363 round-to-nearest then adjust result for other rounding modes.
3364 * include/fenv.h (fegetround): Use libm_hidden_proto.
3365 * math/fegetround.c (fegetround): Use libm_hidden_def.
3366 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3367 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3368 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3369 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3370 Likewise.
3371 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3372 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3373 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3374 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3375
5a4c6d53
SP
33762013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3377
3378 [BZ #16077]
3379 * nss/Versions (libnss_files): Add
3380 _nss_files_gethostbyname3_r.
3381 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3382 New function.
3383 (HOST_DB_LOOKUP): Remove macro.
3384 (_nss_files_gethostbyname_r): Implement function without the
3385 HOST_DB_LOOKUP macro.
3386 (_nss_files_gethostbyname2_r): Likewise.
3387
897b98ba
OB
33882013-11-28 Ondřej Bílka <neleai@seznam.cz>
3389
3390 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3391
6f476861
UB
33922013-11-26 Uros Bizjak <ubizjak@gmail.com>
3393
3394 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3395 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3396 warning.
3397
bd12ab55
AZ
33982013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3399
3400 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3401 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3402 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3403 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3404 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3405 __fe_nomask_env_priv and attribute_hidden.
3406 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3407 (libc_feupdateenv_test_ppc): Likewise.
3408 (libc_feresetround_ppc): Likewise.
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3410 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3411 compat_symbol macro.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3413 (__fe_nomask_env): Likewise.
3414 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3415
52bb6543
OB
34162013-11-26 Ondřej Bílka <neleai@seznam.cz>
3417
3418 * string/Makefile: Remove ifunc tests.
3419 * string/test-string.h: Define TEST_IFUNC.
3420 * string/test-bcopy-ifunc.c: Remove.
3421 * string/test-bzero-ifunc.c: Likewise.
3422 * string/test-memccpy-ifunc.c: Likewise.
3423 * string/test-memchr-ifunc.c: Likewise.
3424 * string/test-memcmp-ifunc.c: Likewise.
3425 * string/test-memcpy-ifunc.c: Likewise.
3426 * string/test-memmem-ifunc.c: Likewise.
3427 * string/test-memmove-ifunc.c: Likewise.
3428 * string/test-mempcpy-ifunc.c: Likewise.
3429 * string/test-memrchr-ifunc.c: Likewise.
3430 * string/test-memset-ifunc.c: Likewise.
3431 * string/test-rawmemchr-ifunc.c: Likewise.
3432 * string/test-stpcpy-ifunc.c: Likewise.
3433 * string/test-stpncpy-ifunc.c: Likewise.
3434 * string/test-strcasecmp-ifunc.c: Likewise.
3435 * string/test-strcasestr-ifunc.c: Likewise.
3436 * string/test-strcat-ifunc.c: Likewise.
3437 * string/test-strchr-ifunc.c: Likewise.
3438 * string/test-strchrnul-ifunc.c: Likewise.
3439 * string/test-strcmp-ifunc.c: Likewise.
3440 * string/test-strcpy-ifunc.c: Likewise.
3441 * string/test-strcspn-ifunc.c: Likewise.
3442 * string/test-strlen-ifunc.c: Likewise.
3443 * string/test-strncasecmp-ifunc.c: Likewise.
3444 * string/test-strncat-ifunc.c: Likewise.
3445 * string/test-strncmp-ifunc.c: Likewise.
3446 * string/test-strncpy-ifunc.c: Likewise.
3447 * string/test-strnlen-ifunc.c: Likewise.
3448 * string/test-strpbrk-ifunc.c: Likewise.
3449 * string/test-strrchr-ifunc.c: Likewise.
3450 * string/test-strspn-ifunc.c: Likewise.
3451 * string/test-strstr-ifunc.c: Likewise.
3452
ab260039 34532013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3454
3455 * benchtests/Makefile: Remove ifunc tests.
3456 * benchtests/bench-string.h: Define TEST_IFUNC.
3457 * benchtests/bench-bcopy-ifunc.c: Remove.
3458 * benchtests/bench-bzero-ifunc.c: Likewise.
3459 * benchtests/bench-memccpy-ifunc.c: Likewise.
3460 * benchtests/bench-memchr-ifunc.c: Likewise.
3461 * benchtests/bench-memcmp-ifunc.c: Likewise.
3462 * benchtests/bench-memcpy-ifunc.c: Likewise.
3463 * benchtests/bench-memmem-ifunc.c: Likewise.
3464 * benchtests/bench-memmove-ifunc.c: Likewise.
3465 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3466 * benchtests/bench-memrchr-ifunc.c: Likewise.
3467 * benchtests/bench-memset-ifunc.c: Likewise.
3468 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3469 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3470 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3471 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3472 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3473 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3474 * benchtests/bench-strcat-ifunc.c: Likewise.
3475 * benchtests/bench-strchr-ifunc.c: Likewise.
3476 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3477 * benchtests/bench-strcmp-ifunc.c: Likewise.
3478 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3479 * benchtests/bench-strcpy-ifunc.c: Likewise.
3480 * benchtests/bench-strcspn-ifunc.c: Likewise.
3481 * benchtests/bench-strlen-ifunc.c: Likewise.
3482 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3483 * benchtests/bench-strncat-ifunc.c: Likewise.
3484 * benchtests/bench-strncmp-ifunc.c: Likewise.
3485 * benchtests/bench-strncpy-ifunc.c: Likewise.
3486 * benchtests/bench-strnlen-ifunc.c: Likewise.
3487 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3488 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3489 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3490 * benchtests/bench-strspn-ifunc.c: Likewise.
3491 * benchtests/bench-strstr-ifunc.c: Likewise.
3492
34932013-11-26 Ondřej Bílka <neleai@seznam.cz>
3494
ab260039
OB
3495 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3496
d1d9eaf4 34972013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3498
d1d9eaf4
OB
3499 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3500 * rt/aio.h: Likewise.
3501 * sysdeps/gnu/bits/utmp.h: Likewise.
3502 * sysdeps/gnu/bits/utmpx.h: Likewise.
3503 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3504 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3505 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3506 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3507 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3508 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3509 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3510 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3511 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3512 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3513 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3514 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3515 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3517 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3518 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3519 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3520 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3521 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3522 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3523 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3524 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3525 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3526 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3527 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3529 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3530 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3531 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3532 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3533 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3534 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3535 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3536 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3537 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3538 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3539 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3540 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3541 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3542 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3543 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3544 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3545
a7624ed9
CD
35462013-11-25 Carlos O'Donell <carlos@redhat.com>
3547
3548 [BZ #16245]
3549 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3550 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3551
63cfe52b
JM
35522013-11-25 Joseph Myers <joseph@codesourcery.com>
3553
3554 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3555 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3556 Likewise.
3557
41e8926a
AZ
35582013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3559
3560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3561 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3562 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3563 (__fesetround): Remove define.
3564 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3565 rounding and exceptions handling.
3566 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3567 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3568 (__fe_nomask_env): Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3570 __fegetround instead of fegetround.
3571 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3572 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3573
6851bd4d
RM
35742013-11-21 Roland McGrath <roland@hack.frob.com>
3575
070906ff
RM
3576 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3577 it's there.
3578
6851bd4d
RM
3579 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3580
84ae135d
MI
35812013-11-21 Meador Inge <meadori@codesourcery.com>
3582
3583 [BZ #11157]
3584 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3585 (encrypt_r): Likewise.
3586 * malloc/obstack.h (obstack_free): Likewise.
3587 * posix/unistd.h (encrypt): Likewise.
3588
daf75146
GM
35892013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3590
3591 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3592 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3593 DL_CALL_DT_FINI() that call the functions directly.
3594 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3595 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3596 * elf/dl-fini.c: Likewise.
3597
10ad46bc
OB
35982013-11-20 Ondřej Bílka <neleai@seznam.cz>
3599
3600 * malloc/hooks.c (memalign_check): Add alignment rounding.
3601 * malloc/malloc.c (_mid_memalign): New function.
3602 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3603 Implement by calling _mid_memalign.
3604 * manual/probes.texi (Memory Allocation Probes): Remove
3605 memory_valloc_retry and memory_pvalloc_retry.
3606
f3fd2628
SP
36072013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3608
4712799f
SP
3609 * locale/programs/locarchive.c (open_archive): Add const
3610 qualifier to ARCHIVEFNAME and copy default fname to
3611 DEFAULT_FNAME.
3612
0417b20f
SP
3613 [BZ #15601]
3614 * libio/tst-widetext.input: Rename Oriya to Odia.
3615 * locale/iso-639.def: Likewise.
3616
f3fd2628
SP
3617 * manual/probes.texi (Mathematical Function Probes): Add
3618 documentation for sin, cos, asin and acos probes.
3619 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3620 (__sin32): Add slowasin probe.
3621 (__cos32): Add slowacos probe.
3622 (__mpsin): Add slowsin probe.
3623 (__mpcos): Add slowcos probe.
3624
73c1ce4f
JM
36252013-11-19 Joseph Myers <joseph@codesourcery.com>
3626
3627 [BZ #15483]
3628 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3629 thread-local __sim_exceptions_thread and global
3630 __sim_exceptions_global.
3631 (__sim_disabled_exceptions): Change to thread-local
3632 __sim_disabled_exceptions_thread and global
3633 __sim_disabled_exceptions_global.
3634 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3635 and global __sim_round_mode_global.
3636 (__simulate_exceptions): Use thread-local floating-point state and
3637 set global state from it as needed.
3638 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3639 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3640 __sim_round_mode_thread.
3641 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3642 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3643 and global __sim_exceptions_global.
3644 (__sim_disabled_exceptions): Change to thread-local
3645 __sim_disabled_exceptions_thread and global
3646 __sim_disabled_exceptions_global.
3647 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3648 and global __sim_round_mode_global.
3649 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3650 (SIM_SET_GLOBAL): Likewise.
3651 * sysdeps/powerpc/soft-fp/sfp-machine.h
3652 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3653 __sim_round_mode_thread.
3654 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3655 __sim_disabled_exceptions_thread.
3656 (__sim_exceptions): Change to __sim_exceptions_thread.
3657 (__sim_disabled_exceptions): Change to
3658 __sim_disabled_exceptions_thread.
3659 (__sim_round_mode): Change to __sim_round_mode_thread.
3660 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3661 thread-local floating-point state and set global state from it as
3662 needed.
3663 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3664 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3665 (__sim_disabled_exceptions): Remove extern declaration.
3666 (feenableexcept): Use thread-local floating-point state and set
3667 global state from it as needed.
3668 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3669 extern declaration.
3670 (__sim_disabled_exceptions): Likewise.
3671 (__sim_round_mode): Likewise.
3672 (__fegetenv): Use thread-local floating-point state.
3673 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3674 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3675 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3676 floating-point state and set global state from it as needed.
3677 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3678 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3679 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3680 Likewise.
3681 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3682 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3683 Likewise.
3684 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3685 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3686 Use __sim_round_mode_thread.
3687 * math/test-fenv-tls.c: New file.
3688 * math/Makefile (tests): Add test-fenv-tls.
3689 ($(objpfx)test-fenv-tls): Depend on
3690 $(common-objpfx)nptl/libpthread.so.
3691
b5449b12
AS
36922013-11-19 Andreas Schwab <schwab@suse.de>
3693
3694 * locale/programs/locale.c (show_info): Decode wordarray elements.
3695 * locale/categories.def (LC_MONETARY): Add element for
3696 _NL_MONETARY_CRNCYSTR.
3697 * locale/C-monetary.c (conversion_rate): New variable.
3698 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3699 element.
3700
e186536b
CM
37012013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3702
3703 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3704 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3705
5c349950
PP
37062013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3707
3708 * elf/Makefile (tst-auxv): New test.
3709 * elf/tst-auxv.c: New
3710 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3711
699df45b
JM
37122013-11-18 Joseph Myers <joseph@codesourcery.com>
3713
3714 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3715 (hidden_proto): Caller changed.
3716 (hidden_tls_proto): New macro.
3717 (libc_hidden_tls_proto): Likewise.
3718 (rtld_hidden_tls_proto): Likewise.
3719 (libm_hidden_tls_proto): Likewise.
3720 (libresolv_hidden_tls_proto): Likewise.
3721 (librt_hidden_tls_proto): Likewise.
3722 (libdl_hidden_tls_proto): Likewise.
3723 (libnss_files_hidden_tls_proto): Likewise.
3724 (libnsl_hidden_tls_proto): Likewise.
3725 (libnss_nisplus_hidden_tls_proto): Likewise.
3726 (libutil_hidden_tls_proto): Likewise.
3727
b7589107
OB
37282013-11-18 Ondřej Bílka <neleai@seznam.cz>
3729
3730 [BZ #10253]
3731 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3732 (decompose_rpath): Defer expansion to fillin_rpath.
3733 (_dl_init_paths): Pass linkmap to fillin_rpath.
3734
250c23bd
RS
37352013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3736
3737 * benchtests/Makefile: Add strsep.
3738 * benchtests/bench-strsep.c: New file: strsep benchtest.
3739 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3740
a7931fcf
AS
37412013-11-18 Andreas Schwab <schwab@suse.de>
3742
3743 * locale/programs/locale.c (show_info) [case byte]: Check for
3744 '\377' instead of '\177'.
3745 * locale/C-monetary.c (not_available): Always use "\377".
3746 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3747 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3748 detect unavailable sign_posn locale elements.
3749 * locale/localeconv.c (__localeconv): For grouping and
3750 mon_grouping handle "\177" and "\377" like no grouping.
3751 (INT_ELEM): New macro. Use it to set all numeric members.
3752 * locale/programs/ld-monetary.c (monetary_read)
3753 <tok_mon_grouping>: Normalize single -1 to the empty string.
3754 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3755 Likewise.
3756
728dab0e
OB
37572013-11-07 Ondřej Bílka <neleai@seznam.cz>
3758
3759 [BZ #16055]
3760 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3761 when we match (nil).
3762 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3763
66294491
JM
37642013-11-16 Joseph Myers <joseph@codesourcery.com>
3765
ce665817
JM
3766 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3767 (NO_TEST_INLINE): Update value.
3768 (ERRNO_UNCHANGED): Likewise.
3769 (ERRNO_EDOM): Likewise.
3770 (ERRNO_ERANGE): Likewise.
3771 (IGNORE_RESULT): Likewise.
3772 (check_float_internal): Check signs of NaN results if
3773 TEST_NAN_SIGN used.
3774 (check_complex): Pass TEST_NAN_SIGN flag through to second
3775 check_float_internal call.
3776 (copysign_test_data): Add tests with quiet NaNs as second
3777 argument. Use TEST_NAN_SIGN.
3778 (fabs_test_data): Add test of negative quiet NaN argument. Use
3779 TEST_NAN_SIGN.
3780 (signbit_test_data): Add tests of quiet NaN argument.
3781 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3782
ee1466a9
JM
3783 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3784 $ignore_result.
3785 (parse_args): Handle function results specified as IGNORE.
3786 * math/libm-test.inc (IGNORE_RESULT): New macro.
3787 (check_float_internal): Do not check numerical result if flag
3788 IGNORE_RESULT set.
3789 (check_complex): Pass through IGNORE_RESULT to second
3790 check_float_internal call.
3791 (check_int): Do not check numerical result if flag IGNORE_RESULT
3792 set.
3793 (check_long): Likewise.
3794 (check_bool): Likewise.
3795 (check_longlong): Likewise.
3796 (lrint_test_data): Add tests of infinite and NaN arguments.
3797 (lrint_tonearest_test_data): Likewise.
3798 (lrint_towardzero_test_data): Likewise.
3799 (lrint_downward_test_data): Likewise.
3800 (lrint_upward_test_data): Likewise.
3801 (llrint_test_data): Likewise.
3802 (llrint_tonearest_test_data): Likewise.
3803 (llrint_towardzero_test_data): Likewise.
3804 (llrint_downward_test_data): Likewise.
3805 (llrint_upward_test_data): Likewise.
3806 (lround_test_data): Likewise.
3807 (llround_test_data): Likewise.
3808
14407b7e
JM
3809 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3810 (ERRNO_UNCHANGED): Update value.
3811 (ERRNO_EDOM): Likewise.
3812 (ERRNO_ERANGE): Likewise.
3813 (NO_TEST_INLINE_FLOAT): New macro.
3814 (NO_TEST_INLINE_DOUBLE): Likewise.
3815 (enable_test): New function.
3816 (RUN_TEST_f_f): Check enable_test before running test.
3817 (RUN_TEST_2_f): Likewise.
3818 (RUN_TEST_fff_f): Likewise.
3819 (RUN_TEST_c_f): Likewise.
3820 (RUN_TEST_f_f1): Likewise.
3821 (RUN_TEST_fF_f1): Likewise.
3822 (RUN_TEST_fI_f1): Likewise.
3823 (RUN_TEST_ffI_f1): Likewise.
3824 (RUN_TEST_c_c): Likewise.
3825 (RUN_TEST_cc_c): Likewise.
3826 (RUN_TEST_f_i): Likewise.
3827 (RUN_TEST_f_i_tg): Likewise.
3828 (RUN_TEST_ff_i_tg): Likewise.
3829 (RUN_TEST_f_b): Likewise.
3830 (RUN_TEST_f_b_tg): Likewise.
3831 (RUN_TEST_f_l): Likewise.
3832 (RUN_TEST_f_L): Likewise.
3833 (RUN_TEST_fFF_11): Likewise.
3834 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3835 conditionals.
3836 (cosh_test_data): Likewise.
3837 (exp_test_data): Likewise.
3838 (expm1_test_data): Likewise.
3839 (hypot_test_data): Likewise.
3840 (pow_test_data): Likewise.
3841 (sinh_test_data): Likewise.
3842 (tanh_test_data): Likewise.
3843 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3844 flags argument.
3845
ca07f197
JM
3846 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3847 tests with quiet NaN input and output.
3848 (acosh_test_data): Likewise.
3849 (asin_test_data): Likewise.
3850 (asinh_test_data): Likewise.
3851 (atan_test_data): Likewise.
3852 (atanh_test_data): Likewise.
3853 (atan2_test_data): Likewise.
3854 (cbrt_test_data): Likewise.
3855 (cos_test_data): Likewise.
3856 (cosh_test_data): Likewise.
3857 (erf_test_data): Likewise.
3858 (erfc_test_data): Likewise.
3859 (exp_test_data): Likewise.
3860 (exp10_test_data): Likewise.
3861 (exp2_test_data): Likewise.
3862 (expm1_test_data): Likewise.
3863 (hypot_test_data): Likewise.
3864 (j0_test_data): Likewise.
3865 (j1_test_data): Likewise.
3866 (jn_test_data): Likewise.
3867 (lgamma_test_data): Likewise.
3868 (log_test_data): Likewise.
3869 (log10_test_data): Likewise.
3870 (log1p_test_data): Likewise.
3871 (log2_test_data): Likewise.
3872 (pow_test_data): Likewise.
3873 (scalb_test_data): Likewise.
3874 (sin_test_data): Likewise.
3875 (sincos_test_data): Likewise.
3876 (sinh_test_data): Likewise.
3877 (tan_test_data): Likewise.
3878 (tanh_test_data): Likewise.
3879 (tgamma_test_data): Likewise.
3880 (y0_test_data): Likewise.
3881 (y1_test_data): Likewise.
3882 (yn_test_data): Likewise.
3883
66294491
JM
3884 [BZ #16167]
3885 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3886 argument being NaN and avoid computations with second argument in
3887 that case.
3888 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3889 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3890 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3891
1820b143
CL
38922013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3893
3894 * locale/iso-639.def: Add Chitwani Tharu (the).
3895
714bd261
AS
38962013-11-14 Andreas Schwab <schwab@suse.de>
3897
3898 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3899 word instead of empty string.
3900
7ab44563
AZ
39012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3902
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3904 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3906 (__fe_nomask_env): Likewise.
3907
e8470ea2
SE
39082013-11-13 Steve Ellcey <sellcey@mips.com>
3909
3910 * benchtests/bench-timing.h: Include time.h.
3911
17c1d9f0
L
39122013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3913
3914 [BZ #15997]
3915 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3916 to 3.4.0 for x32.
3917 * sysdeps/unix/sysv/linux/configure: Regenerated.
3918
9310c284
JM
39192013-11-13 Joseph Myers <joseph@codesourcery.com>
3920
3921 [BZ #16151]
3922 * stdlib/strtod_l.c (round_and_return): Do not consider
3923 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3924 exponent one less than half the least subnormal exponent.
3925 * stdlib/test-strtod-round-data: Add more tests.
3926 * stdlib/tst-strtod-round.c (tests): Regenerated.
3927
7a2ad8cf
AZ
39282013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3929
3930 [BZ #14143]
3931 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3932 (__fe_mask_env): Likewise.
3933 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3934 libm_hidden_proto and add function prototype.
3935 (__fe_mask_env): Add function prototype.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3937 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3939 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3941 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3942
50727aa7
MS
39432013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3944
b2f386c1 3945 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3946 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3947
a615be46
MS
39482013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3949
3950 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3951 of htab_find_slot().
3952
7ddace62
DM
39532013-11-11 David S. Miller <davem@davemloft.net>
3954
3955 [BZ #16150]
3956 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3957 symbol in the non-vis3 case in static builds.
3958 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3959 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3960 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3961 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3962
9182aa67
JK
39632013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3964
3965 [BZ #387]
3966 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3967 it is empty.
3968
450a2e2d
AZ
39692013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3970
b2f386c1
SP
3971 * benchtests/Makefile: Add bench-strtod.
3972 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3973
8ec3f656
AS
39742013-11-11 Andreas Schwab <schwab@suse.de>
3975
3976 [BZ #16153]
3977 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3978 terminating NUL in key length.
3979
76a9b998
AZ
39802013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3981
3982 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3983 Add artificial ODP entry for vDSO symbol for PPC64.
3984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3985 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3986
e4368156
OB
39872013-11-07 Ondřej Bílka <neleai@seznam.cz>
3988
3989 [BZ #15374]
3990 * nss/getent.c (services_keys): Recognize services starting with digit.
3991
8d6bb57c
DM
39922013-11-06 David S. Miller <davem@davemloft.net>
3993
3994 [BZ #15985]
3995 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3996 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3997
e256c421
WN
39982013-11-06 Will Newton <will.newton@linaro.org>
3999
4000 * manual/memory.texi (Malloc Examples): Remove register
4001 keyword from examples.
4002
f6e12daa 40032013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 4004
f6e12daa 4005 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 4006
9d880655
AS
40072013-11-04 Joseph Myers <joseph@codesourcery.com>
4008
fd2f9486 4009 [BZ #6981]
9d880655
AS
4010 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4011 depending on [__GCC_IEC_559 > 0].
4012 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4013 depending on [__GCC_IEC_559_COMPLEX > 0].
4014
ae129d3c
CL
40152013-11-03 Chris Leonard <cjl@sugarlabs.org>
4016
4017 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4018 to iso-639.def.
4019
4a15c2a4 40202013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
4021
4022 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4023
8b35e35d
OB
40242013-11-01 Ondřej Bílka <neleai@seznam.cz>
4025
4026 [BZ #16112]
4027 * malloc/malloc (malloc_info): Do not handle first bin as
4028 special case.
4029
1d70fd6c
CL
40302013-11-01 Chris Leonard <cjl@sugarlabs.org>
4031
4032 * locale/iso-639.def: Add Central Nahuatl (nhn).
4033
8c5c2600
BH
40342013-11-01 Bruno Haible <bruno@clisp.org>
4035
4036 [BZ #7003]
4037 * manual/math.texi (BSD Random): Specify range upper bound as
4038 in POSIX.
4039
da5579c2
CL
40402013-10-31 Chris Leonard <cjl@sugarlabs.org>
4041
4042 * locale/iso-639.def: Add Meadow Mari (mhr).
4043
5d30d853
OB
40442013-10-31 Ondřej Bílka <neleai@seznam.cz>
4045
4046 [BZ #14752], [BZ #15763]
4047 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4048 Validate name.
4049 * rt/tst_shm.c: Add test for escaping directory.
4050
a4966c61
AS
40512013-10-31 Andreas Schwab <schwab@suse.de>
4052
8a43e768 4053 [BZ #15917]
a4966c61
AS
4054 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4055 followed by 'x' as part of digit sequence.
4056 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4057
28d708c4
MAP
40582013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4059
4060 [BZ #16037]
4061 * configure.ac: allow GNU Make 4.0 and greater.
4062 * configure: Regenerated.
4063
a56ee40b
WN
40642013-10-30 Will Newton <will.newton@linaro.org>
4065
4066 [BZ #16038]
4067 * malloc/hooks.c (memalign_check): Limit alignment to the
4068 maximum representable power of two.
4069 * malloc/malloc.c (__libc_memalign): Likewise.
4070 * malloc/tst-memalign.c (do_test): Add test for very
4071 large alignment values.
4072 * malloc/tst-posix_memalign.c (do_test): Likewise.
4073
c6e4925d
OB
40742013-10-30 Ondřej Bílka <neleai@seznam.cz>
4075
4076 [BZ #11087]
4077 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4078 (munmap_chunk): Likewise.
4079 (mremap_chunk): Likewise.
4080
40812013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 4082
8a43e768 4083 [BZ #15799]
bbea82f7
OB
4084 * stdlib/div.c (div): Remove obsolete code.
4085 * stdlib/ldiv.c (ldiv): Likewise.
4086 * stdlib/lldiv.c (lldiv): Likewise.
4087
977f4b31
SP
40882013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4089
4090 [BZ #16071]
4091 * nss/nss_files/files-XXX.c (get_contents_ret): New
4092 enumerator.
4093 (get_contents): New function.
4094 (internal_getent): Use it. Expand size of LINEBUFLEN.
4095
cb8a6dbd
MF
40962013-10-30 Mike Frysinger <vapier@gentoo.org>
4097
4098 * configure.in: Moved to ...
4099 * configure.ac: ... here. Change reference to configure.in
4100 to configure.ac.
4101 * sysdeps/arm/preconfigure.ac: ... here.
4102 configure.in to configure.ac.
4103 * sysdeps/gnu/configure.in: Moved to ...
4104 * sysdeps/gnu/configure.ac: ... here.
4105 * sysdeps/i386/configure.in: Moved to ...
4106 * sysdeps/i386/configure.ac: ... here.
4107 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4108 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4109 * sysdeps/mach/configure.in: Moved to ...
4110 * sysdeps/mach/configure.ac: ... here.
4111 * sysdeps/mach/hurd/configure.in: Moved to ...
4112 * sysdeps/mach/hurd/configure.ac: ... here.
4113 * sysdeps/powerpc/configure.in: Moved to ...
4114 * sysdeps/powerpc/configure.ac: ... here.
4115 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4116 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4117 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4118 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4119 * sysdeps/s390/s390-32/configure.in: Moved to ...
4120 * sysdeps/s390/s390-32/configure.ac: ... here.
4121 * sysdeps/s390/s390-64/configure.in: Moved to ...
4122 * sysdeps/s390/s390-64/configure.ac: ... here.
4123 * sysdeps/sh/configure.in: Moved to ...
4124 * sysdeps/sh/configure.ac: ... here.
4125 * sysdeps/sparc/configure.in: Moved to ...
4126 * sysdeps/sparc/configure.ac: ... here.
4127 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4128 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4129 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4130 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4131 * sysdeps/x86_64/configure.in: Moved to ...
4132 * sysdeps/x86_64/configure.ac: ... here.
4133 * sysdeps/x86_64/preconfigure.in: Moved to ...
4134 * sysdeps/x86_64/preconfigure.ac: ... here.
4135 * aclocal.m4: Change reference to configure.in to configure.ac.
4136 * config.h.in: Likewise.
4137 * manual/install.texi: Likewise.
4138 * manual/maint.texi: Likewise.
4139 * Makefile: Likewise.
4140 * malloc/Makefile: Likewise.
4141 * nscd/Makefile: Likewise.
4142 * Makeconfig: Change reference to configure.in and
4143 preconfigure.in to configure.ac and preconfigure.ac
4144 respectively.
4145 * INSTALL: Regenerated.
4146 * configure: Likewise.
4147 * sysdeps/gnu/configure: Likewise.
4148 * sysdeps/i386/configure: Likewise.
4149 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4150 * sysdeps/mach/configure: Likewise.
4151 * sysdeps/mach/hurd/configure: Likewise.
4152 * sysdeps/powerpc/configure: Likewise.
4153 * sysdeps/powerpc/powerpc32/configure: Likewise.
4154 * sysdeps/powerpc/powerpc64/configure: Likewise.
4155 * sysdeps/s390/s390-32/configure: Likewise.
4156 * sysdeps/s390/s390-64/configure: Likewise.
4157 * sysdeps/sh/configure: Likewise.
4158 * sysdeps/sparc/configure: Likewise.
4159 * sysdeps/unix/sysv/linux/configure: Likewise.
4160 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4161 * sysdeps/x86_64/configure: Likewise.
4162 * sysdeps/x86_64/preconfigure: Likewise.
4163
36a4953a
AS
41642013-10-29 Andreas Schwab <schwab@suse.de>
4165
4166 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4167
c79a1204
SP
41682013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4169
dfa1b402
SP
4170 * benchtests/pow-inputs: Add new inputs.
4171
54f73d9c
SP
4172 * benchtests/exp-inputs: Add new inputs.
4173
c79a1204
SP
4174 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4175 conditional check for return value.
4176 (__cos32): Likewise.
4177
67beb545 41782013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
4179
4180 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4181 to provide a boost for large inputs with word alignment.
4182 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4183 implementation based on optimized PPC64 strcpy.
4184 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4185 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4186 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4187 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4188
151659f6
OB
41892013-10-25 Ondřej Bílka <neleai@seznam.cz>
4190
482a077e 4191 [BZ #2801]
151659f6
OB
4192 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4193
10b0f26b
OB
41942013-10-25 Ondřej Bílka <neleai@seznam.cz>
4195
4196 [BZ #14876]
4197 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4198 * time/tst-strptime.c (day_tests): Add testcase.
4199
ca42d35e
OB
42002013-10-25 Ondřej Bílka <neleai@seznam.cz>
4201
482a077e 4202 [BZ #14029]
ca42d35e
OB
4203 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4204
52e6d801
FB
42052013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4206
4207 [BZ #16074]
4208 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4209 MAP_FAILED on error.
4210
7cbcdb36
SP
42112013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4212
4213 [BZ #16072]
4214 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4215 heap for large requests.
4216
894f3f10
AM
42172013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4218
4219 [BZ #9954]
4220 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4221 result if the result has no associated interface.
4222 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4223 interface for all 127.X.Y.Z addresses.
4224
b85545a6
CL
42252013-10-24 Chris Leonard <cjl@sugarlabs.org>
4226
4227 * locale/iso-639.def: Add Ligurian (lij)
4228
d1f23d46
OB
42292013-10-21 Ondřej Bílka <neleai@seznam.cz>
4230
4231 [BZ #15825]
4232 * sunrpc/rpc_main.c: Document rpcgen -5.
4233
4db5b08f
MS
42342013-10-19 Michael Stahl <mstahl@redhat.com>
4235
4236 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4237
a471e96a
OB
42382013-10-19 Ondřej Bílka <neleai@seznam.cz>
4239
d1f23d46 4240 [BZ #10278]
a471e96a
OB
4241 * posix/glob.c: Match only directories when trailing slash is present.
4242 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4243 (main): Add testcase.
4244
45c30c61
OB
42452013-10-19 Ondřej Bílka <neleai@seznam.cz>
4246
4247 [BZ #15670]
4248 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4249
484c12fb
CD
42502013-10-18 Carlos O'Donell <carlos@redhat.com>
4251
3d7dc513
CD
4252 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4253 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4254 AUTH_DES and cindex for FIPS 140-2.
4255 (DES Encryption): Add cindex FIPS 46-3.
4256
484c12fb
CD
4257 * locale/locarchive.h (struct locarhandle): Add fname.
4258 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4259 if an optional argument was specified to --list-archive,
4260 otherwise NULL.
4261 * locale/programs/locarchive.c (show_archive_content): Take new
4262 argument fname and pass it via ah.fname to open_archive.
4263 * locale/programs/localedef.h: Update decl.
4264 (open_archive): If AH->fname is non-null, open that file
4265 rather than the default file name, and don't ignore ENOENT.
4266 (create_archive): Set AH.fname to NULL.
4267 (delete_locales_from_archive): Likewise.
4268 (add_locales_to_archive): Likewise.
4269 * locale/programs/locfile.c (write_all_categories): Likewise.
4270
3c8325fb
JM
42712013-10-18 Joseph Myers <joseph@codesourcery.com>
4272 Aldy Hernandez <aldyh@redhat.com>
4273
4274 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4275 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4276 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4277 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4278 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4279 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4280 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4281 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4282 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4283 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4284 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4285 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4286 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4287 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4288 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4289 Likewise.
4290 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4291 Likewise.
4292 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4293 Likewise.
4294 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4295 Likewise.
4296 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4297 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4298 Likewise.
4299 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4300 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4301 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4302 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4303 Likewise.
4304 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4305 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4306 * sysdeps/powerpc/preconfigure: Likewise.
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4308 Likewise.
4309 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4310 Replace contents of file by #include of <fenv_libc.h>.
4311 * sysdeps/powerpc/soft-fp/sfp-machine.h
4312 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4313 and <sys/prctl.h>.
4314 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4315 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4316 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4318 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4319 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4322 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4323 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4324 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4325 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4327 Allow copysignl PLT reference to be missing.
4328
5abe0682
RS
43292013-10-18 Richard Sandiford <richard@codesourcery.com>
4330 Joseph Myers <joseph@codesourcery.com
4331
4332 [BZ #15948]
4333 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4334 single character.
4335 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4336
c7738d08
SP
43372013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4338
4339 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4340 * elf/tst-tls1.c: Likewise.
4341 * elf/tst-tls10.h: Likewise.
4342 * elf/tst-tls14.c: Likewise.
4343 * elf/tst-tls2.c: Likewise.
4344 * elf/tst-tls3.c: Likewise.
4345 * elf/tst-tls4.c: Likewise.
4346 * elf/tst-tls5.c: Likewise.
4347 * elf/tst-tls6.c: Likewise.
4348 * elf/tst-tls7.c: Likewise.
4349 * elf/tst-tls8.c: Likewise.
4350 * elf/tst-tls9.c: Likewise.
4351 * elf/tst-tlsmod1.c: Likewise.
4352 * elf/tst-tlsmod13.c: Likewise.
4353 * elf/tst-tlsmod13a.c: Likewise.
4354 * elf/tst-tlsmod14a.c: Likewise.
4355 * elf/tst-tlsmod16a.c: Likewise.
4356 * elf/tst-tlsmod16b.c: Likewise.
4357 * elf/tst-tlsmod2.c: Likewise.
4358 * elf/tst-tlsmod3.c: Likewise.
4359 * elf/tst-tlsmod4.c: Likewise.
4360 * elf/tst-tlsmod5.c: Likewise.
4361 * elf/tst-tlsmod6.c: Likewise.
4362
0bfcf2c7
OB
43632013-10-18 Ondřej Bílka <neleai@seznam.cz>
4364
4365 [BZ #12486]
4366 * malloc/malloc.c: remove checks for statistics.
4367
264aad1e
OB
43682013-10-17 Ondřej Bílka <neleai@seznam.cz>
4369
4370 [BZ #15277]
4371 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4372 * inet/tst-network.c: Add testcase.
4373
b957ced8
AS
43742013-10-17 Andreas Schwab <schwab@suse.de>
4375
4376 [BZ #15218]
4377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4378 to determine canonical name.
4379
c5d5d574
OB
43802013-10-17 Ondřej Bílka <neleai@seznam.cz>
4381
4382 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4383 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4385 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4388 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4389 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4390 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4391 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4392 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4393 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4395 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4396 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4397 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4399 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4400 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4401 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4402 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4405 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4406 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4407 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4408 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4409 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4410 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4411 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4412 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4414 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4415 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4416 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4418 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4421 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4423 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4427 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4428 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4429 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4430 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4431 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4432 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4433 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4434 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4435 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4436 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4437 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4439 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4440
e5c2c2d0
JM
44412013-10-17 Joseph Myers <joseph@codesourcery.com>
4442
4443 [BZ #16041]
4444 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4445 make result into a quiet NaN.
4446
51ca9e29
JM
44472013-10-16 Joseph Myers <joseph@codesourcery.com>
4448
4449 * soft-fp/adddf3.c: Fix horizontal whitespace.
4450 * soft-fp/addsf3.c: Likewise.
4451 * soft-fp/addtf3.c: Likewise.
4452 * soft-fp/divdf3.c: Likewise.
4453 * soft-fp/divsf3.c: Likewise.
4454 * soft-fp/divtf3.c: Likewise.
4455 * soft-fp/double.h: Likewise.
4456 * soft-fp/eqdf2.c: Likewise.
4457 * soft-fp/eqsf2.c: Likewise.
4458 * soft-fp/eqtf2.c: Likewise.
4459 * soft-fp/extenddftf2.c: Likewise.
4460 * soft-fp/extended.h: Likewise.
4461 * soft-fp/extendsfdf2.c: Likewise.
4462 * soft-fp/extendsftf2.c: Likewise.
4463 * soft-fp/extendxftf2.c: Likewise.
4464 * soft-fp/fixdfdi.c: Likewise.
4465 * soft-fp/fixdfsi.c: Likewise.
4466 * soft-fp/fixdfti.c: Likewise.
4467 * soft-fp/fixsfdi.c: Likewise.
4468 * soft-fp/fixsfsi.c: Likewise.
4469 * soft-fp/fixsfti.c: Likewise.
4470 * soft-fp/fixtfdi.c: Likewise.
4471 * soft-fp/fixtfsi.c: Likewise.
4472 * soft-fp/fixtfti.c: Likewise.
4473 * soft-fp/fixunsdfdi.c: Likewise.
4474 * soft-fp/fixunsdfsi.c: Likewise.
4475 * soft-fp/fixunsdfti.c: Likewise.
4476 * soft-fp/fixunssfdi.c: Likewise.
4477 * soft-fp/fixunssfsi.c: Likewise.
4478 * soft-fp/fixunssfti.c: Likewise.
4479 * soft-fp/fixunstfdi.c: Likewise.
4480 * soft-fp/fixunstfsi.c: Likewise.
4481 * soft-fp/fixunstfti.c: Likewise.
4482 * soft-fp/floatdidf.c: Likewise.
4483 * soft-fp/floatdisf.c: Likewise.
4484 * soft-fp/floatditf.c: Likewise.
4485 * soft-fp/floatsidf.c: Likewise.
4486 * soft-fp/floatsisf.c: Likewise.
4487 * soft-fp/floatsitf.c: Likewise.
4488 * soft-fp/floattidf.c: Likewise.
4489 * soft-fp/floattisf.c: Likewise.
4490 * soft-fp/floattitf.c: Likewise.
4491 * soft-fp/floatundidf.c: Likewise.
4492 * soft-fp/floatundisf.c: Likewise.
4493 * soft-fp/floatunditf.c: Likewise.
4494 * soft-fp/floatunsidf.c: Likewise.
4495 * soft-fp/floatunsisf.c: Likewise.
4496 * soft-fp/floatunsitf.c: Likewise.
4497 * soft-fp/floatuntidf.c: Likewise.
4498 * soft-fp/floatuntisf.c: Likewise.
4499 * soft-fp/floatuntitf.c: Likewise.
4500 * soft-fp/fmadf4.c: Likewise.
4501 * soft-fp/fmasf4.c: Likewise.
4502 * soft-fp/fmatf4.c: Likewise.
4503 * soft-fp/gedf2.c: Likewise.
4504 * soft-fp/gesf2.c: Likewise.
4505 * soft-fp/getf2.c: Likewise.
4506 * soft-fp/ledf2.c: Likewise.
4507 * soft-fp/lesf2.c: Likewise.
4508 * soft-fp/letf2.c: Likewise.
4509 * soft-fp/muldf3.c: Likewise.
4510 * soft-fp/mulsf3.c: Likewise.
4511 * soft-fp/multf3.c: Likewise.
4512 * soft-fp/negdf2.c: Likewise.
4513 * soft-fp/negsf2.c: Likewise.
4514 * soft-fp/negtf2.c: Likewise.
4515 * soft-fp/op-1.h: Likewise.
4516 * soft-fp/op-2.h: Likewise.
4517 * soft-fp/op-4.h: Likewise.
4518 * soft-fp/op-8.h: Likewise.
4519 * soft-fp/op-common.h: Likewise.
4520 * soft-fp/quad.h: Likewise.
4521 * soft-fp/single.h: Likewise.
4522 * soft-fp/soft-fp.h: Likewise.
4523 * soft-fp/sqrtdf2.c: Likewise.
4524 * soft-fp/sqrtsf2.c: Likewise.
4525 * soft-fp/sqrttf2.c: Likewise.
4526 * soft-fp/subdf3.c: Likewise.
4527 * soft-fp/subsf3.c: Likewise.
4528 * soft-fp/subtf3.c: Likewise.
4529 * soft-fp/truncdfsf2.c: Likewise.
4530 * soft-fp/trunctfdf2.c: Likewise.
4531 * soft-fp/trunctfsf2.c: Likewise.
4532 * soft-fp/trunctfxf2.c: Likewise.
4533 * soft-fp/unorddf2.c: Likewise.
4534 * soft-fp/unordsf2.c: Likewise.
4535 * soft-fp/unordtf2.c: Likewise.
4536
9ebb0332
JM
45372013-10-15 Joseph Myers <joseph@codesourcery.com>
4538
4539 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4540 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4541
4b1a6d8b
OB
45422013-10-15 Ondřej Bílka <neleai@seznam.cz>
4543
4544 * elf/dl-libc.c: Clear initfini list after freeing.
4545
1e145589
JM
45462013-10-14 Joseph Myers <joseph@codesourcery.com>
4547
4548 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4549 * soft-fp/addsf3.c: Likewise.
4550 * soft-fp/addtf3.c: Likewise.
4551 * soft-fp/divdf3.c: Likewise.
4552 * soft-fp/divsf3.c: Likewise.
4553 * soft-fp/divtf3.c: Likewise.
4554 * soft-fp/double.h: Likewise.
4555 * soft-fp/eqdf2.c: Likewise.
4556 * soft-fp/eqsf2.c: Likewise.
4557 * soft-fp/eqtf2.c: Likewise.
4558 * soft-fp/extenddftf2.c: Likewise.
4559 * soft-fp/extended.h: Likewise.
4560 * soft-fp/extendsfdf2.c: Likewise.
4561 * soft-fp/extendsftf2.c: Likewise.
4562 * soft-fp/extendxftf2.c: Likewise.
4563 * soft-fp/fixdfdi.c: Likewise.
4564 * soft-fp/fixdfsi.c: Likewise.
4565 * soft-fp/fixdfti.c: Likewise.
4566 * soft-fp/fixsfdi.c: Likewise.
4567 * soft-fp/fixsfsi.c: Likewise.
4568 * soft-fp/fixsfti.c: Likewise.
4569 * soft-fp/fixtfdi.c: Likewise.
4570 * soft-fp/fixtfsi.c: Likewise.
4571 * soft-fp/fixtfti.c: Likewise.
4572 * soft-fp/fixunsdfdi.c: Likewise.
4573 * soft-fp/fixunsdfsi.c: Likewise.
4574 * soft-fp/fixunsdfti.c: Likewise.
4575 * soft-fp/fixunssfdi.c: Likewise.
4576 * soft-fp/fixunssfsi.c: Likewise.
4577 * soft-fp/fixunssfti.c: Likewise.
4578 * soft-fp/fixunstfdi.c: Likewise.
4579 * soft-fp/fixunstfsi.c: Likewise.
4580 * soft-fp/fixunstfti.c: Likewise.
4581 * soft-fp/floatdidf.c: Likewise.
4582 * soft-fp/floatdisf.c: Likewise.
4583 * soft-fp/floatditf.c: Likewise.
4584 * soft-fp/floatsidf.c: Likewise.
4585 * soft-fp/floatsisf.c: Likewise.
4586 * soft-fp/floatsitf.c: Likewise.
4587 * soft-fp/floattidf.c: Likewise.
4588 * soft-fp/floattisf.c: Likewise.
4589 * soft-fp/floattitf.c: Likewise.
4590 * soft-fp/floatundidf.c: Likewise.
4591 * soft-fp/floatundisf.c: Likewise.
4592 * soft-fp/floatunsidf.c: Likewise.
4593 * soft-fp/floatunsisf.c: Likewise.
4594 * soft-fp/floatuntidf.c: Likewise.
4595 * soft-fp/floatuntisf.c: Likewise.
4596 * soft-fp/floatuntitf.c: Likewise.
4597 * soft-fp/fmadf4.c: Likewise.
4598 * soft-fp/fmasf4.c: Likewise.
4599 * soft-fp/fmatf4.c: Likewise.
4600 * soft-fp/gedf2.c: Likewise.
4601 * soft-fp/gesf2.c: Likewise.
4602 * soft-fp/getf2.c: Likewise.
4603 * soft-fp/ledf2.c: Likewise.
4604 * soft-fp/lesf2.c: Likewise.
4605 * soft-fp/letf2.c: Likewise.
4606 * soft-fp/muldf3.c: Likewise.
4607 * soft-fp/mulsf3.c: Likewise.
4608 * soft-fp/multf3.c: Likewise.
4609 * soft-fp/negdf2.c: Likewise.
4610 * soft-fp/negsf2.c: Likewise.
4611 * soft-fp/negtf2.c: Likewise.
4612 * soft-fp/op-1.h: Likewise.
4613 * soft-fp/op-2.h: Likewise.
4614 * soft-fp/op-4.h: Likewise.
4615 * soft-fp/op-8.h: Likewise.
4616 * soft-fp/op-common.h: Likewise.
4617 * soft-fp/quad.h: Likewise.
4618 * soft-fp/single.h: Likewise.
4619 * soft-fp/soft-fp.h: Likewise.
4620 * soft-fp/sqrtdf2.c: Likewise.
4621 * soft-fp/sqrtsf2.c: Likewise.
4622 * soft-fp/sqrttf2.c: Likewise.
4623 * soft-fp/subdf3.c: Likewise.
4624 * soft-fp/subsf3.c: Likewise.
4625 * soft-fp/subtf3.c: Likewise.
4626 * soft-fp/truncdfsf2.c: Likewise.
4627 * soft-fp/trunctfdf2.c: Likewise.
4628 * soft-fp/trunctfsf2.c: Likewise.
4629 * soft-fp/trunctfxf2.c: Likewise.
4630 * soft-fp/unorddf2.c: Likewise.
4631 * soft-fp/unordsf2.c: Likewise.
4632 * soft-fp/unordtf2.c: Likewise.
4633
17c48a60
OB
46342013-10-14 Ondřej Bílka <neleai@seznam.cz>
4635
4636 [BZ #15672]
4637 * misc/error.c (error_tail): Fix possible buffer overflow.
4638
cabba934
OB
46392013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4640
4641 [BZ #13028]
4642 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4643 address.
4644
94bf958a
PM
46452013-10-14 P. J. McDermott <pj@pehjota.net>
4646
4647 [BZ #832]
4648 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4649 testing pipefail option.
4650
71b4dea7
JM
46512013-10-12 Joseph Myers <joseph@codesourcery.com>
4652
4653 * soft-fp/double.h: Indent preprocessor directives inside #if.
4654 * soft-fp/extended.h: Likewise.
4655 * soft-fp/op-2.h: Likewise.
4656 * soft-fp/op-4.h: Likewise.
4657 * soft-fp/op-common.h: Likewise.
4658 * soft-fp/quad.h: Likewise.
4659 * soft-fp/single.h: Likewise.
4660 * soft-fp/soft-fp.h: Likewise.
4661
55602758
YC
46622013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4663
4664 * iconv/iconv_prog.c: Fix typos.
4665 * stdio-common/psiginfo-data.h: Likewise.
4666
9cd83302
RT
46672013-10-12 Reuben Thomas <rrt@sc3d.org>
4668
4669 [BZ #15764]
4670 * locale/setlocale.c: Fix typo.
4671
99fd9f47
JM
46722013-10-12 Joseph Myers <joseph@codesourcery.com>
4673
b7ea74f0
JM
4674 [BZ #16036]
4675 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4676 signaling NaN arguments.
4677 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4678 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4679
8a509447
JM
4680 [BZ #14910]
4681 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4682 unordered operands.
4683 * soft-fp/gesf2.c (__gesf2): Likewise.
4684 * soft-fp/getf2.c (__getf2): Likewise.
4685 * soft-fp/ledf2.c (__ledf2): Likewise.
4686 * soft-fp/lesf2.c (__lesf2): Likewise.
4687 * soft-fp/letf2.c (__letf2): Likewise.
4688
98998e9f
JM
4689 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4690 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4691 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4692 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4693 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4694 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4695 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4696 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4697 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4698 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4699 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4700 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4701 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4702 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4703 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4704 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4705 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4706 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4707 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4708 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4709 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4710 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4711 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4712 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4713 * soft-fp/floattidf.c (__floattidf): Likewise.
4714 * soft-fp/floattisf.c (__floattisf): Likewise.
4715 * soft-fp/floattitf.c (__floattitf): Likewise.
4716 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4717 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4718 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4719 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4720 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4721 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4722 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4723 * soft-fp/gesf2.c (__gesf2): Likewise.
4724 * soft-fp/getf2.c (__getf2): Likewise.
4725 * soft-fp/ledf2.c (__ledf2): Likewise.
4726 * soft-fp/lesf2.c (__lesf2): Likewise.
4727 * soft-fp/letf2.c (__letf2): Likewise.
4728
8edc4a11
JM
4729 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4730 Undefine and redefine.
4731 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4732 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4733 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4734 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4735 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4736 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4737 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4738 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4739 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4740 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4741 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4742 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4743 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4744 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4745 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4746
8399acaf
JM
4747 [BZ #16032]
4748 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4749 without decrementing exponent if mantissa >= that for the
4750 denominator, not >.
4751 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4752 denominator, not >. Decrement exponent in < case instead of
4753 incrementing in >= case.
4754 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4755 without decrementing exponent if mantissa >= that for the
4756 denominator, not >.
4757
99fd9f47
JM
4758 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4759 computing saturated result for unsigned overflow.
4760
10e1cf6b
SP
47612013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4762 Jeff Law <law@redhat.com>
4763
4764 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4765 (atan2Mp): Add systemtap probe marker.
4766 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4767 (__ieee754_log): Add systemtap probe marker.
4768 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4769 (atanMp): Add systemtap probe marker.
4770 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4771 (tanMp): Add systemtap probe marker.
4772 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4773 (__slowexp): Add systemtap probe marker.
4774 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4775 (__slowpow): Add systemtap probe marker.
4776 * manual/probes.texi: Document probes.
4777
3d110c7c
EB
47782013-10-11 Eric Biggers <ebiggers3@gmail.com>
4779
4780 [BZ #15362]
4781 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4782 written.
4783 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4784 written.
4785 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4786 written to buffer but not flushed.
4787 * libio/iofwrite_u.c: Likewise.
4788 * libio/iopadn.c: Return bytes returned even if EOF was
4789 encountered.
4790 * libio/iowpadn.c: Likewise.
4791 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4792 if _IO_padn does not write the whole buffer.
4793 [!COMPILE_WPRINTF] (PAD): Likewise.
4794
75b4202a
DM
47952013-10-10 David S. Miller <davem@davemloft.net>
4796
4797 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4798 directory block.
4799
6c6352e6
JM
48002013-10-10 Joseph Myers <joseph@codesourcery.com>
4801
33b853c3
JM
4802 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4803 instead of FSF address.
4804 * soft-fp/fixdfti.c: Likewise.
4805 * soft-fp/fixsfti.c: Likewise.
4806 * soft-fp/fixtfti.c: Likewise.
4807 * soft-fp/fixunsdfti.c: Likewise.
4808 * soft-fp/fixunssfti.c: Likewise.
4809 * soft-fp/fixunstfti.c: Likewise.
4810 * soft-fp/floattidf.c: Likewise.
4811 * soft-fp/floattisf.c: Likewise.
4812 * soft-fp/floattitf.c: Likewise.
4813 * soft-fp/floatuntidf.c: Likewise.
4814 * soft-fp/floatuntisf.c: Likewise.
4815 * soft-fp/floatuntitf.c: Likewise.
4816 * soft-fp/trunctfxf2.c: Likewise.
4817
6c6352e6
JM
4818 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4819 * soft-fp/fixdfti.c: Likewise.
4820 * soft-fp/fixsfti.c: Likewise.
4821 * soft-fp/fixtfti.c: Likewise.
4822 * soft-fp/fixunsdfti.c: Likewise.
4823 * soft-fp/fixunssfti.c: Likewise.
4824 * soft-fp/fixunstfti.c: Likewise.
4825 * soft-fp/floattidf.c: Likewise.
4826 * soft-fp/floattisf.c: Likewise.
4827 * soft-fp/floattitf.c: Likewise.
4828 * soft-fp/floatuntidf.c: Likewise.
4829 * soft-fp/floatuntisf.c: Likewise.
4830 * soft-fp/floatuntitf.c: Likewise.
4831 * soft-fp/trunctfxf2.c: Likewise.
4832
3bf78b71
DM
48332013-10-10 David S. Miller <davem@davemloft.net>
4834
4835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4836
6f10289e
JM
48372013-10-10 Joseph Myers <joseph@codsourcery.com>
4838
bd878fc0
JM
4839 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4840 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4841 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4842 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4843 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4844 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4845 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4846
6f10289e
JM
4847 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4848 for NaNs before doing comparisons on argument.
4849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4850 Likewise.
4851
321e2684
WN
48522013-10-10 Will Newton <will.newton@linaro.org>
4853
4854 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4855 passed to _int_memalign does not overflow.
4856
40fefba1
TR
48572013-10-10 Torvald Riegel <triegel@redhat.com>
4858
4859 * scripts/bench.pl: Add include-sources directive.
4860 * benchtests/README: Update documentation.
4861
2ae21ed2
JM
48622013-10-10 Joseph Myers <joseph@codesourcery.com>
4863
dcc2dd3f
JM
4864 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4865 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4866 instead of FP_INIT_ROUNDMODE.
4867 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4868 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4869
2ae21ed2
JM
4870 [BZ #16034]
4871 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4872 copy class of input value.
4873 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4874 not handle exceptions.
4875 * soft-fp/negsf2.c (__negsf2): Likewise.
4876 * soft-fp/negtf2.c (__negtf2): Likewise.
4877 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4878
cb8f9562
JM
48792013-10-09 Joseph Myers <joseph@codesourcery.com>
4880
4881 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4882 semicolon. From Linux kernel.
4883
5b60c59d
AB
48842013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4885
4886 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4887
b86835ca
YC
48882013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4889
4890 [BZ #156]
4891 * manual/socket.texi: Added statement about buffer
4892 for gethostbyname2_r.
4893
e7044ea7
OB
48942013-10-08 Ondřej Bílka <neleai@seznam.cz>
4895
4896 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4897 Use .p2align directive instead, throughout.
4898 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4899 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4900 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4903 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4904 * sysdeps/x86_64/strchr.S: Likewise.
4905 * sysdeps/x86_64/strrchr.S: Likewise.
4906
09544cbc
SP
49072013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4908
88576635
SP
4909 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4910
e7b2d1dd
SP
4911 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4912
09544cbc
SP
4913 * sysdeps/generic/math_private.h (__mpsin1): Remove
4914 declaration.
4915 (__mpcos1): Likewise.
4916 (__mpsin): New argument __range_reduce.
4917 (__mpcos): Likewise.
4918 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4919 (slow): Use __mpsin and __mpcos.
4920 (slow1): Likewise.
4921 (slow2): Likewise.
4922 (sloww): Likewise.
4923 (sloww1): Likewise.
4924 (sloww2): Likewise.
4925 (bsloww): Likewise.
4926 (bsloww1): Likewise.
4927 (bsloww2): Likewise.
4928 (cslow2): Likewise.
4929 (csloww): Likewise.
4930 (csloww1): Likewise.
4931 (csloww2): Likewise.
4932 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4933 range_reduce. Merge in __mpsin1.
4934 (__mpcos): Likewise.
4935 (__mpsin1): Remove.
4936 (__mpcos1): Likewise.
4937
7602d070
JM
49382013-10-07 Joseph Myers <joseph@codesourcery.com>
4939
4940 * locale/loadlocale.c (_nl_intern_locale_data): Use
4941 LOCFILE_ALIGNED_P.
4942 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4943 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4944 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4945 obstack data is appropriately aligned.
4946 (obstack_int32_grow_fast): Likewise.
4947 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4948 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4949 (add_locale_uint32_array): Likewise.
4950
a357259b
SP
49512013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4952
4953 * benchtests/Makefile: Remove ARGLIST and RET variables.
4954 ($(objpfx)bench-%.c): Pass only function name to the script.
4955 * benchtests/README: Update documentation.
4956 * benchtests/acos-inputs: Add new directives.
4957 * benchtests/acosh-inputs: Likewise.
4958 * benchtests/asin-inputs: Likewise.
4959 * benchtests/asinh-inputs: Likewise.
4960 * benchtests/atan-inputs: Likewise.
4961 * benchtests/atanh-inputs: Likewise.
4962 * benchtests/cos-inputs: Likewise.
4963 * benchtests/cosh-inputs: Likewise.
4964 * benchtests/exp-inputs: Likewise.
4965 * benchtests/log-inputs: Likewise.
4966 * benchtests/pow-inputs: Likewise.
4967 * benchtests/rint-inputs: Likewise.
4968 * benchtests/sin-inputs: Likewise.
4969 * benchtests/sinh-inputs: Likewise.
4970 * benchtests/tan-inputs: Likewise.
4971 * benchtests/tanh-inputs: Likewise.
4972 * scripts/bench.pl: Add support for new directives.
4973
9ec1b13d
AM
49742013-10-07 Alan Modra <amodra@gmail.com>
4975
4976 * README: Fix careless merge.
4977
8b7d57cd
AM
49782013-10-05 Alan Modra <amodra@gmail.com>
4979
4980 * NEWS: Mention powerpc64le support and bugs fixed.
4981 * README: Both big-endian and little-endian powerpc64 supported.
4982
7b7bab13
ST
49832013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4984
4985 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4986 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4987 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4988 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4989
d39baad1
RA
49902013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4991
4992 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4993 match prototype.
4994
cd78f7e7
JM
49952013-10-04 Joseph Myers <joseph@codesourcery.com>
4996
29d73d86
JM
4997 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4998 Move -mhard-float appending from
4999 ports/sysdeps/powerpc/powerpc32/Makefile.
5000 [$(with-fp) = yes] (ASFLAGS): Likewise.
5001 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5002 * sysdeps/powerpc/nofpu: Move directory from
5003 ports/sysdeps/powerpc/nofpu.
5004 * sysdeps/powerpc/soft-fp: Move directory from
5005 ports/sysdeps/powerpc/soft-fp.
5006 * sysdeps/powerpc/powerpc32/405: Move directory from
5007 ports/sysdeps/powerpc/powerpc32/405.
5008 * sysdeps/powerpc/powerpc32/440: Move directory from
5009 ports/sysdeps/powerpc/powerpc32/440.
5010 * sysdeps/powerpc/powerpc32/464: Move directory from
5011 ports/sysdeps/powerpc/powerpc32/464.
5012 * sysdeps/powerpc/powerpc32/476: Move directory from
5013 ports/sysdeps/powerpc/powerpc32/476.
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5015 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5017 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5019 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5021 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5023 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5024 * README: Update for powerpc-*-linux-gnu software floating point
5025 support in libc.
5026
e246b347
JM
5027 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5028 case to powerpc/powerpc32*.
5029 * sysdeps/unix/sysv/linux/configure: Regenerated.
5030
89c2003e
JM
5031 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5032 (_FPU_MASK_OM): Define as 0x04.
5033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5035 0x00c10080.
5036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5037 0x0000003c.
5038 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5039
cd78f7e7
JM
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5041 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5042 getcontext_e500.
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5044 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5045 setcontext_e500.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5047 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5048 and setcontext_e500.
5049
c755294d
CL
50502013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5051
5052 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5053
e16d221c
SP
50542013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5055
5056 * manual/threads.texi (Default Thread Attributes): Fix typo.
5057
215c7d43
WN
50582013-10-04 Will Newton <will.newton@linaro.org>
5059
5060 * malloc/Makefile: Add tst-memalign.
5061 * malloc/tst-memalign.c: New file.
5062
27d0461b
WN
5063 * malloc/tst-posix_memalign.c: Add comments.
5064 (do_test): Add comments and call free on all potentially
5065 allocated pointers. Add space after cast.
5066
1bc92709
WN
5067 * malloc/tst-pvalloc.c: Add comments.
5068 (do_test): Add comments and call free on all potentially
5069 allocated pointers. Remove duplicate check for NULL pointer.
5070 Add space after cast.
5071
66a9be9d
WN
5072 * malloc/tst-valloc.c: Add comments.
5073 (do_test): Add comments and call free on all potentially
5074 allocated pointers. Remove duplicate check for NULL pointer.
5075 Add space after cast.
5076
4cb81307
AM
50772013-10-04 Alan Modra <amodra@gmail.com>
5078
5079 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5080 Use stdint types in rather than __attribute__((mode())).
5081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5082
f8e3e9f3
AM
50832013-10-04 Alan Modra <amodra@gmail.com>
5084
5085 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5086 Correct handling of unaligned relocs for little-endian.
5087 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5088
8f9ebb08
AM
50892013-10-04 Alan Modra <amodra@gmail.com>
5090
5091 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5092 * configure: Regenerate.
5093 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5094 * shlib-versions: Likewise.
5095
0edf96c2
AM
50962013-10-04 Alan Modra <amodra@gmail.com>
5097
5098 * string/tester.c (test_memrchr): Increment reported test cycle.
5099
e0f7a380
AM
51002013-10-04 Alan Modra <amodra@gmail.com>
5101
5102 * string/test-memcpy.c (do_one_test): When reporting errors, print
5103 string address and don't overrun end of string.
5104
466b0393
AM
51052013-10-04 Alan Modra <amodra@gmail.com>
5106
5107 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5108 insrdi. Make better use of reg selection to speed exit slightly.
5109 Schedule entry path a little better. Remove useless "are we done"
5110 checks on entry to main loop. Handle wrapping around zero address.
5111 Correct main loop count. Handle single left-over word from main
5112 loop inline rather than by using loop_small. Remove extra word
5113 case in loop_small caused by wrong loop count. Add little-endian
5114 support.
5115 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5117 cache hint.
5118 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5119 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5120 support. Avoid rlwimi.
5121 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5122
3be87c77
AM
51232013-10-04 Alan Modra <amodra@gmail.com>
5124
5125 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 5126 insrdi. Formatting.
3be87c77
AM
5127 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5128 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5129 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5130 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5131 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5132 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5133
759cfef3
AM
51342013-10-04 Alan Modra <amodra@gmail.com>
5135
5136 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5137 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5138 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5139 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5140 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5141 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5142 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5143 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5144 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5145 use of regs. Use power7 mtocrf. Tidy function tails.
5146
fe6e95d7
AM
51472013-10-04 Alan Modra <amodra@gmail.com>
5148
5149 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5150 Formatting. Consistently use rXXX register defines or rN defines.
5151 Use early exit labels that avoid restoring unused non-volatile regs.
5152 Make cr field use more consistent with rWORDn compares. Rename
5153 regs used as shift registers for unaligned loop, using rN defines
5154 for short lifetime/multiple use regs.
5155 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5156 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5157 addi 1,1,64 to pop stack frame. Simplify return value code.
5158 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5159
664318c3
AM
51602013-10-04 Alan Modra <amodra@gmail.com>
5161
5162 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5163 support. Correct typos, formatting. Optimize tail. Use insrdi
5164 rather than rlwimi.
5165 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5166 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5167 little-endian support. Correct typos.
5168 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5169 rather than rlwimi.
5170 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5171 in loop and entry code to keep "and." results.
5172 (strchr): Add little-endian support. Comment. Move cntlzd
5173 earlier in tail.
5174 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5175
43b84013
AM
51762013-10-04 Alan Modra <amodra@gmail.com>
5177
5178 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5179 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5180 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5181 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5182
8a7413f9
AM
51832013-10-04 Alan Modra <amodra@gmail.com>
5184
5185 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5186 (rTMP): Define as r11.
5187 (strcmp): Add little-endian support. Optimise tail.
5188 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5189 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5190 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5191 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5192 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5195
33ee81de
AM
51962013-10-04 Alan Modra <amodra@gmail.com>
5197
5198 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5199 little-endian support. Remove unnecessary "are we done" tests.
5200 Handle "s" wrapping around zero and extremely large "size".
5201 Correct main loop count. Handle single left-over word from main
5202 loop inline rather than by using small_loop. Correct comments.
5203 Delete "zero" tail, use "end_max" instead.
5204 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5205
db9b4570
AM
52062013-10-04 Alan Modra <amodra@gmail.com>
5207
5208 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5209 support. Don't branch over align.
5210 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5211 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5212 support. Rearrange tmp reg use to suit. Comment.
5213 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5214
f7c399cf
AM
52152013-10-04 Alan Modra <amodra@gmail.com>
5216
5217 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5218
0b2c2ace
AM
52192013-10-04 Alan Modra <amodra@gmail.com>
5220
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5222 conditional form of branch and link when obtaining pc.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5224
02f04a6c
AM
52252013-10-04 Alan Modra <amodra@gmail.com>
5226
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5228 HIWORD/LOWORD.
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5231
9b874b2f
AM
52322013-10-04 Alan Modra <amodra@gmail.com>
5233
5234 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5235 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5236 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5237 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5238 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5239 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5240 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5241 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5242 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5243 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5244
be1e5d31
AB
52452013-10-04 Anton Blanchard <anton@au1.ibm.com>
5246 Alistair Popple <alistair@ozlabs.au.ibm.com>
5247 Alan Modra <amodra@gmail.com>
5248
5249 [BZ #15723]
5250 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5251 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5252 _dl_hwcap access for little-endian.
5253 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5254 destroy vmx regs when saving unaligned.
5255 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5256 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5257 destroy vmx regs when saving unaligned.
5258
fef13a78
AM
52592013-10-04 Alan Modra <amodra@gmail.com>
5260
5261 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5262 Don't use a union to pack hi/low value.
5263
76a66d51
AB
52642013-10-04 Anton Blanchard <anton@au1.ibm.com>
5265
5266 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5267 for little-endian.
5268 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5270 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5271 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5272 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5273
6a31fe7f
AM
52742013-10-04 Alan Modra <amodra@gmail.com>
5275
5276 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5277 constants to usual value for .cst8 section, and remove redundant
5278 high address load.
5279 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5280 constant for 0x1p52. Load little-endian words of double from
5281 correct stack offsets.
5282
7b88401f
AM
52832013-10-04 Alan Modra <amodra@gmail.com>
5284
5285 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5286 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5287 words of double from correct stack offsets.
5288 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5289 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5290 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5291 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5293 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5294 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5295 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5296 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5298 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5299 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5301 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5303 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5304 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5305
9c008155
AM
53062013-10-04 Alan Modra <amodra@gmail.com>
5307
5308 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5309 64-bit int/double union.
5310 (_FPU_SETCW): Likewise.
5311 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5312 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5313
da13146d
AM
53142013-10-04 Alan Modra <amodra@gmail.com>
5315
5316 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5317 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5318
603e8410
AM
53192013-10-04 Alan Modra <amodra@gmail.com>
5320
5321 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5322 use vector int constants.
5323 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5324
4a28b3ca
AB
53252013-10-04 Anton Blanchard <anton@au1.ibm.com>
5326
5327 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5328 array with long long.
5329 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5330 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5331 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5332 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5334 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5335 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5336 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5337 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5338 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5339 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5340 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5341 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5342
2ca85d2b
AB
53432013-10-04 Anton Blanchard <anton@au1.ibm.com>
5344
5345 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5346 (__signbit): Likewise. Correct for little-endian.
5347 (__signbitl): Call __signbit.
5348 (lrint): Correct for little-endian.
5349 (lrintf): Call lrint.
5350
62a728ae
AM
53512013-10-04 Alan Modra <amodra@gmail.com>
5352
5353 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5354 union 32-bit int array member with 64-bit int array.
5355 (t515, tm256): Double rather than long double.
5356 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5357
32c301df
AM
53582013-10-04 Alan Modra <amodra@gmail.com>
5359
5360 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5361 Delete.
5362 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5364 version of math_ldbl.h.
5365
650ef4bd
AM
53662013-10-04 Alan Modra <amodra@gmail.com>
5367
5368 [BZ #15734], [BZ #15735]
5369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5370 all uses of ieee875 long double macros and unions. Simplify test
5371 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5372 ldbl_extract_mantissa value for ix,iy exponents. Properly
5373 normalize after ldbl_extract_mantissa, and don't add hidden bit
5374 already handled. Don't treat low word of ieee854 mantissa like
5375 low word of IBM long double and mask off bit when testing for
5376 zero.
5377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5378 all uses of ieee875 long double macros and unions. Simplify tests
5379 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5380 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5381 two1022, instead use their values. Recognise that tests for large
5382 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5383 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5384 Rewrite all uses of ieee875 long double macros and unions. Simplify
5385 test for 0.0L and nan. Correct negation.
5386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5387 ieee875 long double macros and unions. Correct output for large
5388 magnitude x. Correct absolute value calculation.
5389 (__erfcl): Likewise.
5390 * math/libm-test.inc: Add tests for errors discovered in IBM long
5391 double versions of fmodl, remainderl, erfl and erfcl.
5392
765714ca
AM
53932013-10-04 Alan Modra <amodra@gmail.com>
5394
5395 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5396 all uses of ieee854 long double macros and unions. Simplify tests
5397 for long doubles that are fully specified by the high double.
5398 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5399 Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5401 Remove dead code too.
5402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5403 (__ieee754_ynl): Likewise.
5404 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5405 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5407 Remove dead code too.
5408 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5412 Simplify.
5413 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5414 Simplify.
5415 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5417 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5418 Comment on variable precision.
5419 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5421 Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5426 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5427
4ebd120c
AM
54282013-10-04 Alan Modra <amodra@gmail.com>
5429
5430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5431 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5432 all uses of ieee854 long double macros and unions.
5433 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5434 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5436 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5439 Likewise.
5440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5446 Simplify sign and nan test too.
5447 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5448 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5451 Likewise.
5452 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5454 Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5457 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5461
1b6adf88
AM
54622013-10-04 Alan Modra <amodra@gmail.com>
5463
5464 * stdio-common/printf_size.c (__printf_size): Don't use
5465 union ieee854_long_double in fpnum union.
5466 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5467 signbit macro to retrieve sign from long double.
5468 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5469 retrieve sign from long double.
5470 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5471 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5473 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5474 * math/test-misc.c (main): Don't use union ieee854_long_double.
5475
4cf69995
AM
54762013-10-04 Alan Modra <amodra@gmail.com>
5477
5478 [BZ #15680]
5479 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5480 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5481 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5482 calculation. Remove unnecessary test for denormal exponent.
5483 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5484 Correct handling of denormals. Avoid undefined shift behaviour.
5485 Correct normalisation of low mantissa when low double is denormal.
5486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5487 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5488 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5489 Correct normalisation of low mantissa. Test for overflow of high
5490 mantissa and normalise.
5491 (ldbl_nearbyint): Use more readable constant for two52.
5492 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5493 (__mpn_construct_long_double): Fix test for overflow of high
5494 mantissa and correct normalisation. Avoid undefined shift.
5495
9605ca6c
AM
54962013-10-04 Alan Modra <amodra@gmail.com>
5497
5498 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5499 (union ibm_extended_long_double): Define as an array of ieee754_double.
5500 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5501 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5502 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5503 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5507 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5511
975569d0
JM
55122013-10-03 Joseph Myers <joseph@codesourcery.com>
5513
d3d23756
JM
5514 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5515 page size instead of calling getpagesize.
5516
975569d0
JM
5517 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5518 (LOCFILE_ALIGN_MASK): Likewise.
5519 (LOCFILE_ALIGN_UP): Likewise.
5520 (LOCFILE_ALIGNED_P): Likewise.
5521 * locale/programs/ld-collate.c (collate_output): Use the new
5522 macros instead of __alignof__ (int32_t).
5523 * locale/weight.h (findidx): Likewise.
5524
b1fe1f2b
OB
55252013-10-03 Ondřej Bílka <neleai@seznam.cz>
5526
5527 [BZ #431]
5528 * manual/string.texi: Fix strncat and wcsncat.
5529
5f855e35
BM
55302013-10-03 Brooks Moses <bmoses@google.com>
5531
5532 [BZ #15915]
5533 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5534 * Makerules: ...here, and adjust associated comments.
5535
3cef6009
WN
55362013-10-02 Will Newton <will.newton@linaro.org>
5537
5538 * malloc/Makefile: Add tst-pvalloc.
5539 * malloc/tst-pvalloc.c: New file.
5540
7815420b
WN
55412013-10-02 Will Newton <will.newton@linaro.org>
5542
5543 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5544 improve test coverage.
5545
4868b204
WN
55462013-10-02 Will Newton <will.newton@linaro.org>
5547
5548 * malloc/Makefile: Add tst-posix_memalign.
5549 * malloc/tst-posix_memalign.c: New file.
5550
29c793b3
EB
55512013-10-01 Eric Blake <eblake@redhat.com>
5552
5553 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5554 Use __THROWNL rather than __THROW on static functions.
5555
fd967522
PM
55562013-09-30 Petr Machata <pmachata@redhat.com>
5557
5558 * elf/elf.h (R_AARCH64_ABS16): New macro.
5559 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5560 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5561 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5562 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5563 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5564 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5565 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5566 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5567 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5568 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5569 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5570 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5571 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5572 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5573 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5574 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5575 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5576 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5577 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5578 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5579 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5580 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5581 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5582 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5583 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5584 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5585 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5586 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5587 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5588 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5589 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5590 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5591 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5592 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5593 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5594 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5595 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5596 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5597 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5598 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5599 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5600 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5601 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5602 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5603 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5604 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5605 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5606 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5607 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5608 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5609 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5610 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5611 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5612 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5613 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5614 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5615 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5616 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5617 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5618 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5619 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5620 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5621 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5622 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5623 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5624 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5625 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5626 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5627 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5628 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5629 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5630 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5631 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5632 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5633 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5634 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5635 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5636 (R_AARCH64_TLSDESC_LDR): Likewise.
5637 (R_AARCH64_TLSDESC_ADD): Likewise.
5638 (R_AARCH64_TLSDESC_CALL): Likewise.
5639
b2179107
AS
56402013-09-30 Andreas Schwab <schwab@suse.de>
5641
5642 [BZ #15048]
5643 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5644 the nss database lookup.
5645 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5647
47f28d0a
MF
56482013-09-28 Mike Frysinger <vapier@gentoo.org>
5649
5650 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5651
56522013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5653
5654 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5655 ${Bash-specific parameter/pattern/string} parameter expansion.
5656 * sysdeps/unix/make-syscalls.sh: Likewise.
5657
f4518a17
KK
56582013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5659
5660 * sysdeps/sh/stackguard-macros.h: New file.
5661
dc1a95c7
OB
56622013-09-26 Ondřej Bílka <neleai@seznam.cz>
5663
5664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5665 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5666 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5667 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5668 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5669 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5670
5ebbff8f
AZ
56712013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5672
5673 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5674 Fix thread ID register.
5675
4fd2cf9f
JM
56762013-09-25 Joseph Myers <joseph@codesourcery.com>
5677
5678 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5679 [POSIX || UNIX98]: Require rather than permitting all symbols from
5680 <time.h>.
5681 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5682 element of struct sched_param.
5683 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5684 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5685 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5686 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5687 constant.
5688
12c22bc4
OL
56892013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5690
5691 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5692 argument calculation.
5693
a03d8ea7
JM
56942013-09-24 Joseph Myers <joseph@codesourcery.com>
5695
5696 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5697 Expect macro.
5698 [POSIX] (pthread_attr_t): Do not require type.
5699 [POSIX] (pthread_cond_t): Likewise.
5700 [POSIX] (pthread_condattr_t): Likewise.
5701 [POSIX] (pthread_key_t): Likewise.
5702 [POSIX] (pthread_mutex_t): Likewise.
5703 [POSIX] (pthread_mutexattr_t): Likewise.
5704 [POSIX] (pthread_once_t): Likewise.
5705 [POSIX] (pthread_t): Likewise.
5706 [POSIX-based standards] (pthread_atfork): Expect function.
5707
6055173a
JM
57082013-09-24 Joseph Myers <joseph@codesourcery.com>
5709 Richard Sandiford <richard@codesourcery.com>
5710
5711 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5712 (swap_endianness_p): New extern variable.
5713 (set_big_endian): New inline function.
5714 (maybe_swap_uint32): Likewise.
5715 (maybe_swap_uint32_array): Likewise.
5716 (maybe_swap_uint32_obstack): Likewise.
5717 * locale/programs/locfile.c: Include <stdbool.h>.
5718 (swap_endianness_p): New variable.
5719 (add_locale_uint32): Call maybe_swap_uint32.
5720 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5721 (write_locale_data): Call maybe_swap_uint32_array.
5722 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5723 maybe_swap_uint32.
5724 (obstack_int32_grow_fast): Likewise.
5725 (output_weightwc): Call maybe_swap_uint32_obstack.
5726 (collate_output): Likewise.
5727 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5728 (OPT_LITTLE_ENDIAN): Likewise.
5729 (options): Add --little-endian and --big-endian options.
5730 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5731 * locale/programs/locarchive.c: Include "locfile.h".
5732 (GET): New macro.
5733 (SET): Likewise.
5734 (INC): Likewise.
5735 (create_archive): Use the new macros to access fields of
5736 structures directly mapped from or written to locale archives.
5737 (oldlocrecentcmp): Likewise.
5738 (enlarge_archive): Likewise.
5739 (insert_name): Likewise.
5740 (add_alias): Likewise.
5741 (add_locale): Likewise.
5742 (delete_locales_from_archive): Likewise.
5743 (show_archive_content): Likewise.
5744 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5745 locale data.
5746
39bf0bb4
RM
57472013-09-24 Roland McGrath <roland@hack.frob.com>
5748
5749 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5750 http://www.gnu.org/doc/freemanuals.texi.
5751 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5752
f02eed10
WN
57532013-09-24 Will Newton <will.newton@linaro.org>
5754
5755 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5756 macro.
5757
a3a6c312
JM
57582013-09-23 Joseph Myers <joseph@codesourcery.com>
5759
5760 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5761 unsigned char.
5762
107375ac
MR
57632013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5764
5765 * manual/threads.texi (POSIX Threads): Fix a typo.
5766
141f3a77
SP
57672013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5768
303e567a
SP
5769 [BZ #14547]
5770 * string/tst-strcoll-overflow.c: New test case.
5771 * string/Makefile (xtests): Add tst-strcoll-overflow.
5772 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5773 cache if string sizes may cause integer overflow.
5774
141f3a77
SP
5775 [BZ #14547]
5776 * string/strcoll_l.c (coll_seq): New members rule, idx,
5777 save_idx and back_us.
5778 (get_next_seq_nocache): New function.
5779 (do_compare_nocache): New function.
5780 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5781 when malloc fails.
5782
c61b4d41
CD
57832013-09-23 Carlos O'Donell <carlos@redhat.com>
5784
0b1f8e35
CD
5785 [BZ #15754]
5786 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5787 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5788 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5789
c61b4d41
CD
5790 [BZ #15754]
5791 * elf/Makefile (tests): Add tst-ptrguard1.
5792 (tests-static): Add tst-ptrguard1-static.
5793 (tst-ptrguard1-ARGS): Define.
5794 (tst-ptrguard1-static-ARGS): Define.
5795 * elf/tst-ptrguard1.c: New file.
5796 * elf/tst-ptrguard1-static.c: New file.
5797 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5798 * sysdeps/i386/stackguard-macros.h: Likewise.
5799 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5800 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5801 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5802 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5803 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5804 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5805
58062013-09-23 Hector Marco <hecmargi@upv.es>
5807 Ismael Ripoll <iripoll@disca.upv.es>
5808 Carlos O'Donell <carlos@redhat.com>
5809
5810 [BZ #15754]
5811 * sysdeps/generic/stackguard-macros.h: Define
5812 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5813 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5814 Define __pointer_chk_guard_local.
5815 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5816 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5817
f5f4e7b4
VV
58182013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5819
5820 [BZ #15859]
5821 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5822
5bb43a43
AS
58232013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5824
5825 * include/string.h (__ffs): Declare as hidden.
5826 * string/ffs.c (__ffs): Define as hidden.
5827 * sysdeps/i386/ffs.c (__ffs): Likewise.
5828 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5829 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5830 * sysdeps/s390/ffs.c (__ffs): Likewise.
5831 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5832
3ea5be54
AO
58332013-09-20 Alexandre Oliva <aoliva@redhat.com>
5834
ffb89e53
AO
5835 * NEWS: Mention malloc probes.
5836
322dea08
AO
5837 * malloc/arena.c (new_heap): New memory_heap_new probe.
5838 (grow_heap): New memory_heap_more probe.
5839 (shrink_heap): New memory_heap_less probe.
5840 (heap_trim): New memory_heap_free probe.
5841 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5842 (systrim): New memory_sbrk_less probe.
5843 * manual/probes.texi: Document them.
5844
655673f3
AO
5845 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5846 * manual/probes.texi: Document it.
5847
35fed6f1
AO
5848 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5849 (__libc_realloc): Add memory_realloc_retry probe.
5850 (__libc_memalign): Add memory_memalign_retry probe.
5851 (__libc_valloc): Add memory_valloc_retry probe.
5852 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5853 (__libc_calloc): Add memory_calloc_retry probe.
5854 * manual/probes.texi: Document them.
5855
6999d38c
AO
5856 * malloc/arena.c (get_free_list): Add probe
5857 memory_arena_reuse_free_list.
5858 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5859 and memory_arena_reuse.
5860 (arena_get2) [!PER_THREAD]: Likewise.
5861 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5862 memory_arena_reuse_realloc.
5863 * manual/probes.texi: Document them.
5864
0653427f
AO
5865 * malloc/malloc.c (__libc_free): Add
5866 memory_mallopt_free_dyn_thresholds probe.
5867 (__libc_mallopt): Add multiple memory_mallopt probes.
5868 * manual/probes.texi: Document them.
5869
3ea5be54
AO
5870 * malloc/malloc.c: Include stap-probe.h.
5871 (__libc_mallopt): Add memory_mallopt probe.
5872 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5873 * manual/probes.texi: New.
5874 * manual/Makefile (chapters): Add probes.
5875 * manual/threads.texi: Set next node.
5876
e35696c3 58772013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5878
e35696c3
CL
5879 [BZ #15963, #13985]
5880 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5881 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5882 Add `Chinese' to `nan' entry name.
5883
4aafb73c
SP
58842013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5885
5886 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5887 (POLYNOMIAL): Likewise.
5888 (TAYLOR_SINCOS): Likewise.
5889 (TAYLOR_SLOW): Likewise.
5890 (__sin): Use TAYLOR_SINCOS.
5891 (__cos): Likewise.
5892 (slow): Use TAYLOR_SLOW.
5893 (sloww): Likewise.
5894 (bsloww): Likewise.
5895 (csloww): Likewise.
5896
d84f25c7
LD
58972013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5898
5899 * stdlib/strtod_l.c: Fix buffer overrun.
5900
5eea0404
SP
59012013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5902
7849ff93
SP
5903 * benchtests/Makefile (bench): Add sincos.
5904 * benchtests/bench-sincos.c: New file.
5905
cfa3c886
SP
5906 * math/libm-test.inc (cos_test_data): New test inputs.
5907 (sin_test_data): Likewise.
5908
b348e1e3
SP
5909 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5910 macro.
5911 (__sin): Use it.
5912 (__cos): Likewise.
5913 (slow1): Likewise.
5914 (slow2): Likewise.
5915 (sloww1): Likewise.
5916 (sloww2): Likewise.
5917 (bsloww1): Likewise.
5918 (bsloww2): Likewise.
5919 (cslow2): Likewise.
5920 (csloww1): Likewise.
5921 (csloww2): Likewise.
5922
6cce25f8
SP
5923 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5924 function.
5925 (__sin): Use it.
5926 (__cos): Likewise.
5927
5eea0404
SP
5928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5929 gotos.
5930 (__cos): Likewise.
5931
9c21573c
MR
59322013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5933
5934 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5935 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5936 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5937 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5938 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5939 * elf/cache.c (print_entry): Handle the new cache flags.
5940
24d22e65
JM
59412013-09-18 Joseph Myers <joseph@codesourcery.com>
5942 Aldy Hernandez <aldyh@redhat.com>
5943
5944 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5945 Change condition to [_SOFT_FLOAT].
5946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5958 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5961 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5962 declaration.
5963
d13ef066
JM
59642013-09-18 Joseph Myers <joseph@codesourcery.com>
5965
2e071de0
JM
5966 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5967 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5968 (__longjmp): Use LOAD_GP to load saved GPRs.
5969 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5970 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5971 (__sigsetjmp): Use SAVE_GP to save GPRs.
5972
d13ef066
JM
5973 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5974 Do not append -msoft-float.
5975 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5976
97a0650b
SP
59772013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5978
5979 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5980
11ca09e9
JM
59812013-09-17 Joseph Myers <joseph@codesourcery.com>
5982
5983 [BZ #15966]
5984 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5985 (_FPU_GETCW): Use initial "__" on variable and field names but not
5986 on macro parameter name.
5987 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5988 parentheses around reference to macro parameter.
5989
08ffcf34
RS
59902013-09-13 Richard Sandiford <richard@codesourcery.com>
5991
5992 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5993 prototype.
5994 (ctype_startup): Use uint32_t in cast and sizeof for
5995 ctype->charnames.
5996
ae7080d3
JL
59972013-09-11 Jia Liu <proljc@gmail.com>
5998
5999 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6000 __daddr_t_defined.
6001 [__FreeBSD__]: Likewise.
6002
5905e7b3
OB
60032013-09-11 Ondřej Bílka <neleai@seznam.cz>
6004
6005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6006 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6007 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6008 (strchr): Remove __strchr_sse42 ifunc selection.
6009 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6010 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6011
b987c776
WN
60122013-09-11 Will Newton <will.newton@linaro.org>
6013
6014 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6015 parameter to RES. Remove hardcoded 1000 value.
6016 * benchtests/bench-skeleton.c (main): Pass RES parameter
6017 to TIMING_INIT and multiply result by 1000.
6018
ddf985af
AZ
60192013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6020
6021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6022
ffdd3181
AS
60232013-09-11 Andreas Schwab <schwab@suse.de>
6024
6025 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6026 if not defined.
6027 (O_TMPFILE) [__USE_GNU]: Define.
6028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6029 Define.
6030
b73ed247
WN
60312013-09-11 Will Newton <will.newton@linaro.org>
6032
6033 [BZ #15857]
6034 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6035 does not overflow.
6036
55e17aad
WN
60372013-09-11 Will Newton <will.newton@linaro.org>
6038
6039 [BZ #15856]
6040 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6041 does not overflow.
6042
1159a193
WN
60432013-09-11 Will Newton <will.newton@linaro.org>
6044
6045 [BZ #15855]
6046 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6047 does not overflow.
6048
5905e7b3 60492013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
6050
6051 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6053 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6056
cdfc721b
AM
60572013-09-10 Allan McRae <allan@archlinux.org>
6058
aa04af00
AM
6059 [BZ #15748]
6060 * manual/arith.texi (Parsing of Floats): Clarify
6061 cross-reference.
6062
cdfc721b
AM
6063 [BZ #15849]
6064 * manual/install.texi (Running make install): Mention
6065 --enable-pt-chown.
6066 * INSTALL: Regenerated.
6067
95e7cf29
MR
60682013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6069
6070 * csu/init-first.c (_init): Remove the !SHARED condition around
6071 FPU control word initialization.
6072 * elf/dl-support.c (_dl_fpu_control): New variable.
6073 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6074 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6075 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6076 * math/test-fpucw-static.c: New file.
6077 * math/test-fpucw-ieee.c: New file.
6078 * math/test-fpucw-ieee-static.c: New file.
6079 * math/Makefile (tests): Add `test-fpucw-ieee' and
6080 `$(tests-static)'.
6081 (tests-static): New variable.
6082 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6083 dependency to...
6084 [($(build-shared),yes)]
6085 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6086 ... this.
6087 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6088 New dependency.
6089
83e43bf0
AM
60902013-09-09 Allan McRae <allan@archlinux.org>
6091
a9f5ce09
AM
6092 [BZ #15939]
6093 * manual/string.texi (Collation Functions): Fix typo in
6094 strcoll example.
6095 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6096
34829bc2
AM
6097 [BZ #15893]
6098 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6099
3932737d
AM
6100 [BZ #15892]
6101 * libio/memstream.c (open_memstream): Fix memory leak.
6102 * libio/wmemstream.c (open_wmemstream): Likewise.
6103
83e43bf0
AM
6104 [BZ #15895]
6105 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6106
0c66b8e9
WN
61072013-09-09 Will Newton <will.newton@linaro.org>
6108
6109 * malloc/Makefile: Add tst-realloc to tests.
6110 * malloc/tst-realloc.c: New file.
6111
f6b00fd1
AM
61122013-09-09 Allan McRae <allan@archlinux.org>
6113
6114 [BZ #15844]
6115 * COPYING: Update from GNU website to fix FSF address.
6116 * COPYING.LIB: Likewise.
6117
eec55e16
DM
61182013-09-06 David S. Miller <davem@davemloft.net>
6119
6120 * po/zh_TW.po: Update Chinese (traditional) translation from
6121 translation project.
6122
1ecbb381
RS
61232013-09-06 Richard Sandiford <richard@codesourcery.com>
6124 Joseph Myers <joseph@codesourcery.com>
6125
6126 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6127 "localeinfo.h".
6128 (obstack_chunk_alloc): New macro.
6129 (obstack_chunk_free): Likewise.
6130 (record_offset): New function.
6131 (init_locale_data): Likewise.
6132 (align_locale_data): Likewise.
6133 (add_locale_empty): Likewise.
6134 (add_locale_raw_data): Likewise.
6135 (add_locale_raw_obstack): Likewise.
6136 (add_locale_string): Likewise.
6137 (add_locale_wstring): Likewise.
6138 (add_locale_uint32): Likewise.
6139 (add_locale_uint32_array): Likewise.
6140 (add_locale_char): Likewise.
6141 (start_locale_structure): Likewise.
6142 (end_locale_structure): Likewise.
6143 (start_locale_prelude): Likewise.
6144 (end_locale_prelude): Likewise.
6145 (write_locale_data): Take locale_file structure rather than an
6146 iovec.
6147 * locale/programs/locfile.h: Include "obstack.h".
6148 (struct locale_file): Change to store locale file contents instead
6149 of header.
6150 (init_locale_data): New prototype.
6151 (align_locale_data): Likewise.
6152 (add_locale_empty): Likewise.
6153 (add_locale_raw_data): Likewise.
6154 (add_locale_raw_obstack): Likewise.
6155 (add_locale_string): Likewise.
6156 (add_locale_wstring): Likewise.
6157 (add_locale_uint32): Likewise.
6158 (add_locale_uint32_array): Likewise.
6159 (add_locale_char): Likewise.
6160 (start_locale_structure): Likewise.
6161 (end_locale_structure): Likewise.
6162 (start_locale_prelude): Likewise.
6163 (end_locale_prelude): Likewise.
6164 (write_locale_data): Update prototype.
6165 * locale/programs/3level.h (struct TABLE): Remove result field.
6166 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6167 Use new locale_file interface.
6168 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6169 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6170 * locale/programs/ld-address.c (address_output): Use new
6171 locale_file interface.
6172 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6173 NO_ADD_LOCALE.
6174 (collate_finish): Don't call collseq_table_finalize.
6175 (collate_output): Use new locale_file interface.
6176 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6177 in file.
6178 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6179 (TABLE): Move defines earlier in file.
6180 (ELEMENT): Likewise.
6181 (DEFAULT): Likewise.
6182 (wctrans_table_add): Move macro and inline function earlier in
6183 file.
6184 (struct wctype_table): Move type earlier in file.
6185 (add_locale_wctype_table): New static prototype.
6186 (struct locale_ctype_t): Use logical types instead of struct iovec
6187 pointers for members.
6188 (ctype_output): Use new locale_file interface.
6189 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6190 new locale_file interface.
6191 (allocate_arrays): Update for use of new locale_file interface.
6192 * locale/programs/ld-identification.c (identification_output): Use
6193 new locale_file interface.
6194 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6195 * locale/programs/ld-messages.c (messages_output): Likewise.
6196 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6197 * locale/programs/ld-name.c (name_output): Likewise.
6198 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6199 * locale/programs/ld-paper.c (paper_output): Likewise.
6200 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6201 * locale/programs/ld-time.c (time_output): Likewise.
6202
e029e2e5
AZ
62032013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6204
6205 * benchtests/Makefile: Add memrchr benchmark.
6206 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6207 benchmark as memrchr.
6208 * benchtests/bench-memrchr-ifunc.c: New file.
6209 * benchtests/bench-memrchr.c: New file.
6210
bbf6e8e4
WN
62112013-09-06 Will Newton <will.newton@linaro.org>
6212
6213 * benchtests/Makefile (string-bench): Add memcpy.
6214
6c82a2f8
CD
62152013-09-05 Carlos O'Donell <carlos@redhat.com>
6216 Cong Wang <amwang@redhat.com>
6217
e732c5f0 6218 [BZ #15850]
6c82a2f8
CD
6219 * sysdeps/unix/sysv/linux/bits/in.h
6220 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6221 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6222 before __USE_KERNEL_IPV6_DEFS uses.
6223 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6224 IPPROTO_BEETPH.
6225 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6226 sockaddr_in6, or ipv6_mreq.
6227
5430fc65
AZ
62282013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6229
6230 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6231 memory access for final bytes in some large inputs.
6232 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6233
4660856c
AZ
62342013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6235
6236 * string/test-memrchr.c: New file.
6237 * string/test-memrchr-ifunc.c: New file.
6238 * string/Makefile: Add new memrchr testcase.
6239
bb8ea713
MF
62402013-09-05 Mike Frysinger <vapier@gentoo.org>
6241
6242 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6243 fanotify_init returns EPERM.
6244
b92a20b5
JM
62452013-09-04 Joseph Myers <joseph@codesourcery.com>
6246
6247 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6248 errors.
6249 (top level): Treat second token from macro or constant entries for
6250 allowed headers as allowed.
6251 * include/complex.h: Condition internal declarations on
6252 [!_ISOMAC].
6253 * include/fenv.h: Condition include of <stdbool.h> and internal
6254 declarations on [!_ISOMAC].
7447ccd9
CL
6255
62562013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6257
3e181dda 6258 [BZ #15923]
7447ccd9
CL
6259 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6260
3f2e46a4
JM
62612013-09-04 Joseph Myers <joseph@codesourcery.com>
6262
6263 * configure.in (--enable-versioning): Remove configure option.
6264 (libc_cv_asm_symver_directive): Remove configure test.
6265 (libc_cv_ld_version_script_option): Likewise.
6266 (VERSIONING): Remove variable and AC_SUBST.
6267 (DO_VERSIONING): Remove AC_DEFINE.
6268 * configure: Regenerated.
6269 * config.h.in (DO_VERSIONING): Remove macro.
6270 * Makerules [$(versioning) = yes]: Change conditionals to
6271 [$(build-shared) = yes].
6272 * config.make.in (versioning): Remove variable.
6273 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6274 [$(build-shared) = yes].
6275 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6276 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6277 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6278 [$(build-shared) = yes].
6279 * extra-lib.mk [$(versioning) = yes]: Likewise.
6280 * hurd/Makefile [$(versioning) = yes]: Likewise.
6281 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6282 [SHARED].
6283 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6284 [SHARED].
6285 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6286 [SHARED && !NO_HIDDEN].
6287 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6288 [SHARED].
6289 [SHARED && DO_VERSIONING]: Likewise..
6290 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6291 [$(build-shared) = yes].
6292 * manual/install.texi (--disable-versioning): Remove
6293 documentation.
6294 * INSTALL: Regenerated.
6295 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6296 to [SHARED].
6297 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6298 [$(build-shared) = yes].
6299 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6300 * sysdeps/i386/i686/multiarch/strstr-c.c
6301 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6302 [SHARED && !NO_HIDDEN].
6303 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6304 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6305 * sysdeps/powerpc/powerpc32/dl-machine.c
6306 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6307 * sysdeps/powerpc/powerpc32/sysdep.h
6308 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6309 to [SHARED && PIC && !NO_HIDDEN].
6310 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6311 conditional to [SHARED].
6312
44558701
WN
63132013-09-04 Will Newton <will.newton@linaro.org>
6314
6315 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6316 * benchtests/bench-string.h: Include bench-timing.h instead
6317 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6318 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6319 call to HP_TIMING_DIFF_INIT.
6320 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6321 instead of hp-timing.h macros.
6322 * benchtests/bench-memchr.c: Likewise.
6323 * benchtests/bench-memcmp.c: Likewise.
6324 * benchtests/bench-memcpy.c: Likewise.
6325 * benchtests/bench-memmem.c: Likewise.
6326 * benchtests/bench-memmove.c: Likewise.
6327 * benchtests/bench-memset.c: Likewise.
6328 * benchtests/bench-rawmemchr.c: Likewise.
6329 * benchtests/bench-strcasecmp.c: Likewise.
6330 * benchtests/bench-strcasestr.c: Likewise.
6331 * benchtests/bench-strcat.c: Likewise.
6332 * benchtests/bench-strchr.c: Likewise.
6333 * benchtests/bench-strcmp.c: Likewise.
6334 * benchtests/bench-strcpy.c: Likewise.
6335 * benchtests/bench-strcpy_chk.c: Likewise.
6336 * benchtests/bench-strlen.c: Likewise.
6337 * benchtests/bench-strncasecmp.c: Likewise.
6338 * benchtests/bench-strncat.c: Likewise.
6339 * benchtests/bench-strncmp.c: Likewise.
6340 * benchtests/bench-strncpy.c: Likewise.
6341 * benchtests/bench-strnlen.c: Likewise.
6342 * benchtests/bench-strpbrk.c: Likewise.
6343 * benchtests/bench-strrchr.c: Likewise.
6344 * benchtests/bench-strspn.c: Likewise.
6345 * benchtests/bench-strstr.c: Likewise.
6346
cae16d66
WN
63472013-09-04 Will Newton <will.newton@linaro.org>
6348
6349 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6350
ffa3cd7f
JM
63512013-09-03 Joseph Myers <joseph@codesourcery.com>
6352
6353 [BZ #15427]
6354 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6355 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6356 * math/libm-test.inc (lgamma_test_data): Add more tests.
6357 * sysdeps/i386/fpu/libm-test-ulps: Update.
6358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6359
8f02859f
OB
63602013-09-03 Ondřej Bílka <neleai@seznam.cz>
6361
6362 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6364 Add ifunc.
6365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6366 Add strcmp-sse2-unaligned
6367 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6368
18d43716
MF
63692013-09-02 Mike Frysinger <vapier@gentoo.org>
6370
6371 * Versions.def (libc): Add GLIBC_2.19.
6372
ac444012
MF
63732013-09-02 Mike Frysinger <vapier@gentoo.org>
6374
6375 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6376 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6377
b7835e32
JM
63782013-09-02 Joseph Myers <joseph@codesourcery.com>
6379
6380 [BZ #14155]
6381 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6382 intermediate calculations in recurrence.
6383 (__ieee754_ynf): Likewise.
6384 * math/libm-test.inc (jn_test_data): Do not allow spurious
6385 underflow exception. Add more tests.
6386 (yn_test_data): Add more tests.
6387 * sysdeps/i386/fpu/libm-test-ulps: Update.
6388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6389
8220f4f0
OB
63902013-09-02 Ondřej Bílka <neleai@seznam.cz>
6391
6392 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6393
f24a6d08
OB
63942013-08-30 Ondřej Bílka <neleai@seznam.cz>
6395
6396 * csu/init-first.c: Fix then/than typos.
6397 * locale/programs/ld-collate.c: Likewise.
6398 * locale/programs/linereader.h: Likewise.
6399 * manual/charset.texi: Likewise.
6400 * manual/filesys.texi: Likewise.
6401 * manual/stdio.texi: Likewise.
6402 * manual/string.texi: Likewise.
6403 * stdlib/fmtmsg.c: Likewise.
6404 * sysdeps/i386/stpncpy.S: Likewise.
6405 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6406 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6407 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6408 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6409
382466e0
OB
64102013-08-30 Ondřej Bílka <neleai@seznam.cz>
6411
6412 * elf/dl-open.c: Fix typos.
6413 * iconvdata/gbbig5.c: Likewise.
6414 * iconvdata/iso-2022-jp.c: Likewise.
6415 * iconv/gconv_int.h: Likewise.
6416 * iconv/loop.c: Likewise.
6417 * nis/rpcsvc/nis.h: Likewise.
6418 * resolv/ns_name.c: Likewise.
6419 * stdio-common/vfscanf.c: Likewise.
6420 * streams/stropts.h: Likewise.
6421 * sunrpc/rpc_thread.c: Likewise.
6422 * sysdeps/i386/strpbrk.S: Likewise.
6423 * sysdeps/ieee754/k_standard.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6426 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6427 * sysdeps/mach/hurd/profil.c: Likewise.
6428 * sysdeps/s390/dl-procinfo.h: Likewise.
6429 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6430 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6431 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6432 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6434
0186c6e9
OB
64352013-08-30 Ondřej Bílka <neleai@seznam.cz>
6436
6437 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6439
d4e16af1
OB
64402013-08-29 Ondřej Bílka <neleai@seznam.cz>
6441
6442 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6443 aix specific files.
6444 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6445 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6446 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6447 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6448 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6449 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6450 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6451 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6452
88335980
TS
64532013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6454 Roland McGrath <roland@hack.frob.com>
6455
6456 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6457 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6458
ed479b02
ST
64592013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6460
6461 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6462 __executable_start symbol instead of _start.
6463
f1cc4c86
TS
64642013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6465
d821f07c
TS
6466 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6467 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6468 Move macros to...
6469 * sysdeps/gnu/ldsodefs.h: ... this new file.
6470
c54290cf
TS
6471 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6472 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6473 instead of ELFOSABI_LINUX.
6474
0007fc9b 6475 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6476 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6477 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6478 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6479 Likewise.
6480 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6481 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6483 Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6485 (ibm_extended_long_double): Add ieee_nan member.
6486 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6487 (do_test): New function.
6488
f1cc4c86
TS
6489 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6490 TEST_TRUNC.
6491 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6492 functions, renamed from truncdfsf_test, trunctfsf_test,
6493 trunctfdf_test.
6494 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6495 functions.
6496 (do_test): Run all these.
6497
6f65e668
OB
64982013-08-29 Ondřej Bílka <neleai@seznam.cz>
6499
6500 * argp/argp-help.c: Fix typos.
6501 * argp/argp-parse.c: Likewise.
6502 * debug/backtracesyms.c: Likewise.
6503 * elf/elf.h: Likewise.
6504 * malloc/malloc.c: Likewise.
6505 * nis/nis_print.c: Likewise.
6506 * resolv/res_comp.c: Likewise.
6507 * stdlib/stdlib.h: Likewise.
6508 * sunrpc/clnt_tcp.c: Likewise.
6509 * sunrpc/clnt_udp.c: Likewise.
6510 * sunrpc/clnt_unix.c: Likewise.
6511 * sysdeps/unix/bsd/ptsname.c: Likewise.
6512 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6513 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6515 Likewise.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6517 Likewise.
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6519 Likewise.
6f65e668
OB
6520 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6521
3a309239
SP
65222013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6523
6524 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6526
3b813b29
MF
65272013-08-27 Mike Frysinger <vapier@gentoo.org>
6528
6529 [BZ #15897]
6530 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6531 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6532 ($(objpfx)bug-dl-leaf): New rule.
6533 ($(objpfx)bug-dl-leaf.so): Likewise.
6534 ($(objpfx)bug-dl-leaf.out): Likewise.
6535 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6536 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6537 * dlfcn/bug-dl-leaf.c: New test.
6538 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6539 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6540 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6541 (dlclose): Likewise.
6542 (dlmopen): Likewise.
6543
8cc3269f
RM
65442013-08-27 Roland McGrath <roland@hack.frob.com>
6545
7f9d0034
RM
6546 * include/netdb.h [!_ISOMAC]:
6547 Don't include <tls.h>.
6548 (h_errno, __libc_h_errno): Move declaration and macros out of
6549 [_LIBC_REENTRANT].
6550
fb431262
RM
6551 * include/resolv.h [_RESOLV_H_]:
6552 Don't include <tls.h>.
6553 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6554 * resolv/res_libc.c: Don't include <tls.h>.
6555 (_res): Use __attribute__ ((nocommon)) in place of
6556 __attribute__ ((section (".bss"))).
6557
bd81123a
RM
6558 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6559 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6560
c4e42566
RM
6561 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6562
f890a59b
RM
6563 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6564 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6565
6566 * resolv/res_mkquery.c: Include <sys/time.h>.
6567
5d1f0a09
RM
6568 * inet/ifreq.c: Moved to ...
6569 * sysdeps/unix/ifreq.c: ... here.
6570 * inet/ifreq.c: New file, true stub version.
6571
6fcf28b3
RM
6572 * socket/sa_len.c: New file.
6573 * socket/Makefile (aux): Add it.
6574 * sysdeps/unix/sysv/linux/Makefile
6575 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6576 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6577 and #include <socket/sa_len.c>.
6578 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6579 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6580
e041fb8b
RM
6581 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6582 * bits/socket.h: ... here.
6583
8cc3269f
RM
6584 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6585 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6586 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6587
5d228a43
AS
65882013-08-27 Andreas Schwab <schwab@suse.de>
6589
45b8accc
AS
6590 [BZ #15736]
6591 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6592 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6593 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6594 * string/test-strcasecmp.c (test_main): Run tests in several
6595 locales.
6596 * string/test-strncasecmp.c (test_main): Likewise.
6597
5d228a43
AS
6598 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6599 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6600 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6602 (__strncasecmp_ssse3) [PIC]: Likewise.
6603
59d112a4
RM
66042013-08-26 Roland McGrath <roland@hack.frob.com>
6605
53234cc3
RM
6606 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6607
59d112a4
RM
6608 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6609 instead of explicitly declaring xdecrypt.
6610 * nis/nss_nis/nis-publickey.c: Likewise.
6611
595aba70
SP
66122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6613
6614 [BZ #15890]
6615 * nscd/aicache.c: Include res_hconf.h.
6616 (addhstaiX): Initialize res_hconf.
6617
ffabd393
AS
66182013-08-26 Andreas Schwab <schwab@suse.de>
6619
6620 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6621 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6622
e0a69f5c
SP
66232013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6624
6625 * nscd/aicache.c (addhstaiX): Fix indentation.
6626
8c12f01d
MF
66272013-08-25 Mike Frysinger <vapier@gentoo.org>
6628
6629 * configure.ac: Quote $build_pt_chown test.
6630 * configure: Regenerated.
6631
8fe89494
JM
66322013-08-23 Joseph Myers <joseph@codesourcery.com>
6633
6634 [BZ #15532]
6635 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6636 * math/s_cexpf.c (__cexpf): Likewise.
6637 * math/s_cexpl.c (__cexpl): Likewise.
6638 * math/libm-test.inc (cexp_test_data): Correct expected return
6639 value for NaN + i0. Add another test.
6640
75b181d6
DM
66412013-08-22 David S. Miller <davem@davemloft.net>
6642
6643 * po/ca.po: Update Catalan translation from translation project.
936241e4 6644 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6645
acd06bb1
JM
66462013-08-21 Joseph Myers <joseph@codesourcery.com>
6647
6648 [BZ #15797]
6649 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6650 is infinite, not alongside NaN test.
6651 * math/s_fdimf.c (__fdimf): Likewise.
6652 * math/s_fdiml.c (__fdiml): Likewise.
6653 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6654 errno is unchanged.
6655
c0c3f78a
OB
66562013-08-21 Ondřej Bílka <neleai@seznam.cz>
6657
6658 * argp/argp-help.c: Fix typos.
6659 * crypt/speeds.c: Likewise.
6660 * csu/check_fds.c: Likewise.
6661 * elf/dl-load.c: Likewise.
6662 * elf/dl-open.c: Likewise.
6663 * elf/reldep3.c: Likewise.
6664 * elf/reldep.c: Likewise.
6665 * elf/sprof.c: Likewise.
6666 * iconv/iconv_charmap.c: Likewise.
6667 * iconv/skeleton.c: Likewise.
6668 * iconv/strtab.c: Likewise.
6669 * io/lockf64.c: Likewise.
6670 * libio/libioP.h: Likewise.
6671 * resolv/gai_notify.c: Likewise.
6672 * resolv/ns_name.c: Likewise.
6673 * resolv/ns_samedomain.c: Likewise.
6674 * resolv/res_send.c: Likewise.
6675 * stdlib/random.c: Likewise.
6676 * sunrpc/rpc/xdr.h: Likewise.
6677 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6678 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6679 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6680 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6681 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6682 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6684 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6685 * sysdeps/mach/hurd/check_fds.c: Likewise.
6686 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6687 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6690 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6691 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6692 * sysdeps/pthread/aio_notify.c: Likewise.
6693 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6694 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6695 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6697 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6698
46ed1038
LD
66992013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6700
6701 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6702 version if bit_Slow_SSE4_2 is set.
6703 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6704 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6705
d400dcac
AZ
67062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6707
6708 [BZ #15867]
6709 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6710 trampoline stack frame information.
6711 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6712 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6713 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6714 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6715 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6716 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6717 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6718 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6719 sa_flags value.
6720 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6721 interrupting a syscall and set with option SA_SIGINFO.
6722
42c8fdd8
JM
67232013-08-20 Joseph Myers <joseph@codesourcery.com>
6724
c980f2f4
JM
6725 [BZ #15531]
6726 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6727 argument is infinite.
6728 * math/s_cprojf.c (__cprojf): Likewise.
6729 * math/s_cprojl.c (__cprojl): Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6731 * math/libm-test.inc (cproj_test_data): Add more tests.
6732
0716c4fc
JM
6733 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6734
42c8fdd8
JM
6735 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6736 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6737 size. Use __ffs to determine corresponding shift.
6738
b31469d0
JM
67392013-08-20 Joseph Myers <joseph@codesourcery.com>
6740 Roland McGrath <roland@hack.frob.com>
6741
6742 * Makefile (INSTALL): Remove trailing blank lines from output of
6743 makeinfo.
6744
4e39af6e
AK
67452013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6746
6747 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6748 Align 32 bit compat elf_greg to 8 bytes.
6749
f315524e
AA
67502013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6751
6752 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6753
1326ba1a
SP
67542013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6755
6756 * string/strcoll_l.c (coll_seq): New structure.
6757 (get_next_seq_cached): New function.
6758 (get_next_seq): New function.
6759 (do_compare): New function.
6760 (STRCOLL): Use GNU style definition. Simplify implementation
6761 by using get_next_seq, get_next_seq_cached and do_compare.
6762
91ce4085
FW
67632013-08-16 Florian Weimer <fweimer@redhat.com>
6764
6765 [BZ #14699]
6766 CVE-2013-4237
6767 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6768 member.
6769 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6770 member.
6771 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6772 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6773 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6774 conditional.
6775 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6776 GETDENTS_64BIT_ALIGNED.
6777 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6778 * manual/filesys.texi (Reading/Closing Directory): Document
6779 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6780 strongly.
6781 * manual/conf.texi (Limits for Files): Add portability note to
6782 NAME_MAX, PATH_MAX.
6783 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6784
ca0a6bc4
AS
67852013-08-13 Andreas Schwab <schwab@suse.de>
6786
6787 [BZ #15749]
6788 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6789 of fabs.
6790 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6791 LDBL_MAX_EXP >= 16384]: Add tests for it.
6792
6c1fd795
DM
67932013-08-12 David S. Miller <davem@davemloft.net>
6794
6795 * version.h (RELEASE): Set to "development".
6796 (VERSION): Set to "2.18.90".
6797 * NEWS: Add 2.19 section.
6798
31ad488d
DM
67992013-08-03 David S. Miller <davem@davemloft.net>
6800
6801 * po/ko.po: Update Korean translation from translation project.
6802
db24e684
DM
68032013-08-01 David S. Miller <davem@davemloft.net>
6804
6805 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6806 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6807 Bilka.
6808
f723285b
DM
68092013-07-30 David S. Miller <davem@davemloft.net>
6810
6811 * po/fr.po: Update French translation from translation project.
6812
3cbc52db
DM
68132013-07-28 David S. Miller <davem@davemloft.net>
6814
30bbc0cc
DM
6815 * po/cs.po: Update Czech translation from translation project.
6816
3cbc52db
DM
6817 * po/sv.po: Update Swedish translation from translation project.
6818
d492e6d0
DM
68192013-07-27 David S. Miller <davem@davemloft.net>
6820
f1a7f492
DM
6821 * po/eo.po: Update Esperanto translation from translation project.
6822
90e62a4a
DM
6823 * po/vi.po: Update Vietnamese translation from translation project.
6824
d492e6d0
DM
6825 * po/de.po: Update German translation from translation project.
6826
d4baa62d
DM
68272013-07-26 David S. Miller <davem@davemloft.net>
6828
641aa7b4
DM
6829 * po/bg.po: Update Bulgarian translation from translation project.
6830
d4baa62d
DM
6831 * po/nl.po: Update Dutch translation from translation project.
6832 * po/pl.po: Update Polish translation from translation project.
6833 * po/ru.po: Update Russian translation from translation project.
6834
61a9dcb9
DM
68352013-07-24 David S. Miller <davem@davemloft.net>
6836
6837 * po/libc.pot: Update.
6838
7b1f8b58
AZ
68392013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6840
6841 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6842 variable page size.
6843 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6844 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6845 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6846
a8fc7a03
AK
68472013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6848
6849 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6850
e4608715
CD
68512013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6852 Andreas Schwab <schwab@suse.de>
6853 Roland McGrath <roland@hack.frob.com>
6854 Joseph Myers <joseph@codesourcery.com>
6855 Carlos O'Donell <carlos@redhat.com>
6856
6857 [BZ #15755]
6858 * config.h.in: Define HAVE_PT_CHOWN.
6859 * config.make.in (build-pt-chown): New variable.
6860 * configure.in (--enable-pt_chown): New configure option.
6861 * configure: Regenerate.
6862 * login/Makefile: Include Makeconfig. Build pt_chown only if
6863 build-pt-chown is enabled.
6864 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6865 pt_chown to fix pty ownership.
6866 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6867 CLOSE_ALL_FDS.
6868 * manual/install.texi (Configuring and compiling): Mention
6869 --enable-pt_chown. Add @findex for grantpt.
6870 * INSTALL: Regenerate.
6871
da2d62df
DM
68722013-07-20 David S. Miller <davem@davemloft.net>
6873
6874 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6875 difference between 32-bit and 64-bit.
6876
d7e06450
CD
68772013-07-15 Carlos O'Donell <carlos@redhat.com>
6878
6879 [BZ #15711]
6880 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6881 Avoid system header dependency with -ffreestanding.
6882 ($(objpfx)bits/syscall%d): Likewise.
6883
f959cfd7
DM
68842013-07-13 David S. Miller <davem@davemloft.net>
6885
6886 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6887 underflows from atanl/atan2l due to bug 15319.
6888 (casinh_test_data): Likewise.
6889
c61f8513
DM
68902013-07-07 David S. Miller <davem@davemloft.net>
6891
6892 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6893
72c90ed0
JA
68942013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6895
6896 * sysdeps/i386/fpu/libm-test-ulps: Update.
6897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6898
52dfbe13
SP
68992013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6900
6901 * configure.in (--enable-lock-elision): Fix message text.
6902 * INSTALL: Regenerate.
6903 * configure: Regenerate.
6904
3f169543
AZ
69052013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6908
521c6785
AJ
69092013-07-03 Andreas Jaeger <aj@suse.de>
6910
6911 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6912 define.
6913 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6914 (ptrace_peeksiginfo_args): Add.
6915 (__ptrace_peeksiginfo_flags): Add.
6916 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6919
d2cc15cb
AM
69202013-07-03 Allan McRae <allan@archlinux.org>
6921
6922 * sysdeps/i386/fpu/libm-test-ulps: Update.
6923
3aaeeca7
DM
69242013-07-02 David S. Miller <davem@davemloft.net>
6925
6926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6927
5314ed1a
MT
69282013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6929
6930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6931
67338156
JM
69322013-07-02 Joseph Myers <joseph@codesourcery.com>
6933
6934 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6936
1717da59
AK
69372013-07-02 Andi Kleen <ak@linux.intel.com>
6938
6939 * config.h.in (ENABLE_LOCK_ELISION): Add.
6940 * configure.in (--enable-lock-elision): Add option.
6941 * manual/install.texi: Document --enable lock elision.
6942 * configure: Regenerate
6943 * INSTALL: Regenerate.
6944
1c81621c
L
69452013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6946
6947 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6948 SSE4.2 strcasecmp for libc.a.
6949 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6950
77f01ab5
JM
69512013-07-02 Joseph Myers <joseph@codesourcery.com>
6952
6953 [BZ #13304]
6954 * soft-fp/op-common.h (_FP_FMA): New macro.
6955 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6956 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6957 (_FP_MUL_MEAT_1_imm): ... here.
6958 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6959 (_FP_MUL_MEAT_1_wide): ... here.
6960 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6961 (_FP_MUL_MEAT_1_hard): ... here.
6962 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6963 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6964 (_FP_MUL_MEAT_2_wide): ... here.
6965 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6966 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6967 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6968 (_FP_MUL_MEAT_2_gmp): ... here.
6969 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6970 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6971 (_FP_MUL_MEAT_4_wide): ... here.
6972 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6973 (_FP_MUL_MEAT_4_gmp): ... here.
6974 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6975 (_FP_WFRACBITS_DW_S): Likewise.
6976 (_FP_WFRACXBITS_DW_S): Likewise.
6977 (_FP_HIGHBIT_DW_S): Likewise.
6978 (FP_FMA_S): Likewise.
6979 (_FP_FRAC_HIGH_DW_S): Likewise.
6980 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6981 (_FP_WFRACBITS_DW_D): Likewise.
6982 (_FP_WFRACXBITS_DW_D): Likewise.
6983 (_FP_HIGHBIT_DW_D): Likewise.
6984 (FP_FMA_D): Likewise.
6985 (_FP_FRAC_HIGH_DW_D): Likewise.
6986 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6987 (_FP_WFRACBITS_DW_E): Likewise.
6988 (_FP_WFRACXBITS_DW_E): Likewise.
6989 (_FP_HIGHBIT_DW_E): Likewise.
6990 (FP_FMA_E): Likewise.
6991 (_FP_FRAC_HIGH_DW_E): Likewise.
6992 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6993 (_FP_WFRACBITS_DW_Q): Likewise.
6994 (_FP_WFRACXBITS_DW_Q): Likewise.
6995 (_FP_HIGHBIT_DW_Q): Likewise.
6996 (FP_FMA_Q): Likewise.
6997 (_FP_FRAC_HIGH_DW_Q): Likewise.
6998 * soft-fp/fmasf4.c: New file.
6999 * soft-fp/fmadf4.c: Likewise.
7000 * soft-fp/fmatf4.c: Likewise.
7001
6308fd9a
LD
70022013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7003
7004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7005 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7006 Silvermont.
7007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7008 macro.
7009 (index_Slow_SSE4_2): Likewise.
7010 (index_Prefer_PMINUB_for_stringop): Likewise.
7011 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7012 bit_Slow_SSE4_2 is set.
7013 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7014 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7015
89cd9569
RA
70162013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7017
7018 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7019 rtld_global._dl_hwcap2.
7020 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7021 POWER8.
7022 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7023 POWER8 feature descriptions defined in _dl_hwcap2.
7024 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7025 string handling for POWER8 feature bits.
7026 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7027 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7028 _dl_powerpc_cap_flags.
7029 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7030 * sysdeps/powerpc/rtld-global-offsets.sym
7031 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7032 _dl_hwcap2 in the rtld_global_ro structure.
7033
1ae8bfe0
RA
70342013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7035
7036 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7037 hardware capabilities in support of AT_HWCAP2.
7038 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7039 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7040 GLRO(dl_hwcap2).
7041 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7042 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7043 explicitly the unknown a_type display mechanism is used.
7044 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7045 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7046 struct member.
7047 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7048 to macro prototype for AT_HWCAP2 support.
7049 * sysdeps/i386/dl-procinfo.h: Likewise.
7050 * sysdeps/s390/dl-procinfo.h: Likewise.
7051 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7052 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7053 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7054 return -1 for unknown a_type display fallback.
7055 * sysdeps/sparc/dl-procinfo.h: Likewise.
7056 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7057 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7058
8fbec010
JM
70592013-06-28 Joseph Myers <joseph@codesourcery.com>
7060
7061 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7062 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7063
0432680e
PY
70642013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7065
7066 [BZ #12492]
7067 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7068 mprotect making __stack_prot writable.
7069
ce61a2ad
NF
70702013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7071 Joseph Myers <joseph@codesourcery.com>
7072
7073 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7074 as being properly aligned.
7075
f91f1c0f
MR
70762013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7077
3d0f5d0c
MR
7078 * dlfcn/modstatic5.c: New file.
7079 * dlfcn/tststatic5.c: New file.
7080 * dlfcn/Makefile (tests): Add tststatic5.
7081 (tests-static): Likewise.
7082 (modules-names): Add modstatic5.
7083 (tststatic5-ENV): New variable.
7084 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7085
f91f1c0f
MR
7086 [BZ #15022]
7087 * elf/dl-support.c (_dl_main_map): New variable.
7088 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7089 (_dl_nns, _dl_load_adds): Set to 1.
7090 (_dl_initial_searchlist): Refer to _dl_main_map.
7091 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7092 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7093 call to _dl_get_origin.
7094 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7095 around call_map.
7096 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7097 * dlfcn/modstatic3.c: New file.
7098 * dlfcn/tststatic3.c: New file.
7099 * dlfcn/tststatic4.c: New file.
7100 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7101 (tests-static): Likewise.
7102 (modules-names): Add modstatic3.
7103 (tststatic3-ENV, tststatic4-ENV): New variables.
7104 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7105 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7106
cbe7d24b
JM
71072013-06-26 Joseph Myers <joseph@codesourcery.com>
7108
7109 * configure.in (CC): Require GCC version 4.4 or later.
7110 * configure: Regenerated.
7111 * manual/install.texi (Tools for Compilation): Update GCC version
7112 requirement.
7113 * INSTALL: Regenerated.
7114
11b8a0e1
LD
71152013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7116
7117 [BZ #15674]
bb5bb87c
L
7118 * string/test-memcmp.c (check2): New.
7119 (main): Call check2.
7120
11b8a0e1
LD
7121 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7122
b0037103
MR
71232013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7124
7125 [BZ #15022]
7126 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7127 over to...
7128 (dl_open_worker) [!SHARED]: ... here.
7129
c18c701d
RA
71302013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7131
7132 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7133
1d17fa5f
RH
71342013-06-25 Richard Henderson <rth@redhat.com>
7135
7136 * locale/programs/locarchive.c: Include <libc-internal.h>
7137
8fcb833a
JM
71382013-06-25 Joseph Myers <joseph@codesourcery.com>
7139
7140 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7141 trailing whitespace removed.
7142
17db6e8d
MF
71432013-06-24 Mike Frysinger <vapier@gentoo.org>
7144
7145 [BZ #10283]
17db6e8d
MF
7146 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7147 * locale/programs/locarchive.c: Include libc-mmap.h.
7148 (prepare_address_space): Take two new outputs (the mmap base and len).
7149 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7150 values.
7151 (create_archive): Declare new mmap base and len values for
7152 prepare_address_space, and store the result in ah.
7153 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7154 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7155 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7156 Declare new mmap base and len values for
7157 prepare_address_space, and store the result in new_ah.
7158 (open_archive): Declare new mmap base and len values for
7159 prepare_address_space, and store the result in ah.
7160 (close_archive): If ah->mmap_base is not NULL, use that and
7161 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7162 * sysdeps/generic/libc-mmap.h: New file.
7163
d605071e
MF
71642013-06-24 Mike Frysinger <vapier@gentoo.org>
7165
7166 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7167 (ALIGN_UP): Likewise.
7168 (PTR_ALIGN_DOWN): Likewise.
7169 (PTR_ALIGN_UP): Likewise.
7170
2f063a6e
RA
71712013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7172
7173 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7174 entry mapped to PPC_PLATFORM_POWER8.
7175 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7176 POWER8.
7177 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7178 (_dl_string_platform): Add case for exporting platform position for
7179 POWER8.
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7181 search path to sysdeps/powerpc/powerpc32/power8 directory.
7182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7183 search path to sysdeps/powerpc/powerpc64/power8 directory.
7184 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7185 power7 directories.
7186 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7187 power7 directories.
7188
a31ee4b3
SP
71892013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7190
a74ca98f
SP
7191 * INSTALL: Regenerate.
7192
a31ee4b3
SP
7193 * nscd/connections.c (nscd_init): Fix comment.
7194
695c378f
JM
71952013-06-22 Joseph Myers <joseph@codesourcery.com>
7196
d8412221
JM
7197 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7198
695c378f
JM
7199 [BZ #15667]
7200 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7201 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7202
d1d54715
MR
72032013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7204
7205 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7206 DL_DST_REQ_STATIC.
7207 (DL_DST_REQ_STATIC): Remove macro.
7208
8fdda7af
JM
72092013-06-21 Joseph Myers <joseph@codesourcery.com>
7210
7211 [BZ #7006]
7212 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7213 with a shift of 0 bits.
7214
f3bc5e5a
MR
72152013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7216
7217 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7218 $(tststatic-ENV).
7219
be09e8c9
KK
72202013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7221
7222 [BZ #15655]
7223 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7224
85c2e611
AZ
72252013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7226
7227 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7228 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7229 accepts -fno-tree-loop-distribute-patterns.
7230 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7231 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7232 recursive call.
7233 * string/memset.c (memset): Likewise.
7234 * string/test-memmove.c (simple_memmove): Disable loop transformation
7235 to library calls.
7236 * string/test-memset.c (simple_memset): Likewise.
7237 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7238 * benchtests/bench-memset.c (simple_memset): Likewise.
7239 * configure: Regenerated.
7240
c91e0825
JM
72412013-06-20 Joseph Myers <joseph@codesourcery.com>
7242
b8c792af
JM
7243 * math/test-misc.c (main): Ignore fesetround failure when failures
7244 of subsequent rounding tests would be ignored.
7245
c91e0825
JM
7246 [BZ #15654]
7247 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7248 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7249 * math/fegetenv.c (__fegetenv): Return 0.
7250 * math/fegetexcept.c (fegetexcept): Return 0.
7251 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7252 FE_TONEAREST.
7253 * math/feholdexcpt.c (feholdexcept): Return 0.
7254 * math/fesetenv.c (__fesetenv): Return 0.
7255 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7256 argument FE_TONEAREST.
7257 * math/feupdateenv.c (__feupdateenv): Return 0.
7258 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7259
bfcacbde
RM
72602013-06-18 Roland McGrath <roland@hack.frob.com>
7261
7262 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7263 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7264 ($(objpfx)rtld-%.os rules): Use them.
7265
e55a9b25
AZ
72662013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7267
7268 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7269 fields.
7270
346d65b3
RM
72712013-06-17 Roland McGrath <roland@hack.frob.com>
7272
12086fb4
RM
7273 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7274 length of target pattern, then descending length of dependency pattern.
7275 * configure.in (AWK): Require gawk 3.1.2 or newer.
7276 * manual/install.texi (Tools for Compilation): Say that we do.
7277 * configure: Regenerated.
7278
346d65b3
RM
7279 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7280 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7281 * scripts/sysd-rules.awk: ... this new script.
7282 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7283 than a glob-style pattern.
7284
1a846317
JM
72852013-06-17 Joseph Myers <joseph@codesourcery.com>
7286
7287 * math/test-misc.c (main): Do not treat incorrectly rounded
7288 conversions as failure unless ROUNDING_TESTS passes.
7289
8fc75e6f
JM
72902013-06-15 Joseph Myers <joseph@codesourcery.com>
7291
3711a167
JM
7292 [BZ #15631]
7293 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7294 restore exception state around main square root computation, then
7295 check for inexactness explicitly.
7296
8fc75e6f
JM
7297 * math/libm-test.inc (fma_test_data): Add another test.
7298
61dd6208
SP
72992013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7300
adf23d2c
SP
7301 * manual/threads.texi (Non-POSIX Extensions): New document
7302 node. Document pthread_getattr_default_np and
7303 pthread_setattr_default_np.
7304
61dd6208
SP
7305 * Versions.def (libpthread): Add GLIBC_2.18.
7306 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7308 Likewise.
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7310 Likewise.
7311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7312 Likewise.
7313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7314 Likewise.
7315 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7316 Likewise.
7317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7318 Likewise.
7319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7320 Likewise.
7321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7322 Likewise.
7323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7324 Likewise.
7325
d086fc7b
LD
73262013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7327
7328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7329 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7330
747ef469
SP
73312013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7332 H.J. Lu <hjl.tools@gmail.com>
7333
7334 [BZ #15627]
7335 * sysdeps/x86_64/rtld-memset.c: Remove file.
7336 * sysdeps/x86_64/rtld-memset.S: New file.
7337
1b2feed2
JM
73382013-06-14 Joseph Myers <joseph@codesourcery.com>
7339
7340 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7341 (test_in_one_mode): Take arguments for whether the rounding mode
7342 is supported for each floating-point type.
7343 (do_test): Pass new arguments to test_in_one_mode using
7344 ROUNDING_TESTS.
7345
a58ad3f8
RM
73462013-06-13 Roland McGrath <roland@hack.frob.com>
7347
7348 * posix/tst-waitid.c (do_test): Distinguish different instances of
7349 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7350 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7351 before entering the kernel for waitpid.
7352
c204ab28
SP
73532013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7354
7355 * NEWS: Fix note on clock function precision. Text by Roland
7356 McGrath.
7357
f4a29fba
RM
73582013-06-13 Roland McGrath <roland@hack.frob.com>
7359
7360 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7361 it into place only when and if the sanity check passes.
7362
1f24b9ad
JM
73632013-06-13 Joseph Myers <joseph@codesourcery.com>
7364
7365 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7366 output for whether conversion result is exact. Take argument
7367 indicating whether type is IBM long double.
7368 (round_for_all): Change need_exact field to ibm_ld.
7369 * stdlib/tst-strtod-round.c (struct exactness): New type.
7370 (struct test): Change bool ld_ok field to struct exactness exact.
7371 (TEST): Update all definitions for change to field.
7372 (tests): Regenerate array contents.
7373 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7374 field value. Check for IBM long double here.
7375 (do_test): Update calls to test_in_one_mode.
7376
58206c68
SP
73772013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7378
7379 [BZ #12515]
7380 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7381 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7382
2d6f4c5b 73832013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7384
7385 [BZ #15605]
7386 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7387 generated by the compiler on loop optimizations.
7388 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7389 general definitions.
7390
94f2c076
JM
73912013-06-12 Joseph Myers <joseph@codesourcery.com>
7392
7393 * math/bug-nextafter.c: Include <math-tests.h>.
7394 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7395 the relevant type.
7396 * math/bug-nexttoward.c: Include <math-tests.h>.
7397 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7398 the relevant type.
7399 * math/test-misc.c: Include <math-tests.h>.
7400 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7401 the relevant type.
7402
e0e50a0a
AJ
74032013-06-12 Andreas Jaeger <aj@suse.de>
7404
7405 * po/ia.po: Update Interlingua translation from translation
7406 project.
7407
25061094
SP
74082013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7409
7410 * include/fenv.h: Include stdbool.h.
7411 (struct rm_ctx): New structure.
7412 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7413 Define macro.
7414 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7415 (SET_RESTORE_ROUNDF): Likewise.
7416 (SET_RESTORE_ROUNDL): Likewise.
7417 (SET_RESTORE_ROUND_NOEX): Likewise.
7418 (SET_RESTORE_ROUND_NOEXF): Likewise.
7419 (SET_RESTORE_ROUND_NOEXL): Likewise.
7420 (SET_RESTORE_ROUND_53BIT): Likewise.
7421 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7422 (libc_feresetround_noexf_ctx): Likewise.
7423 (libc_feresetround_noexl_ctx): Likewise.
7424 (libc_feholdsetround_53bit_ctx): Likewise.
7425 (libc_feresetround_53bit_ctx): Likewise.
7426 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7427 (libc_feholdexcept_setround_sse_ctx): New function.
7428 (libc_fesetenv_sse_ctx): Likewise.
7429 (libc_feupdateenv_sse_ctx): Likewise.
7430 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7431 (libc_feholdexcept_setround_387_ctx): Likewise.
7432 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7433 (libc_feholdsetround_387_prec_ctx): Likewise.
7434 (libc_feholdsetround_387_ctx): Likewise.
7435 (libc_feholdsetround_387_53bit_ctx): Likewise.
7436 (libc_feholdsetround_sse_ctx): Likewise.
7437 (libc_feresetround_sse_ctx): Likewise.
7438 (libc_feresetround_387_ctx): Likewise.
7439 (libc_feupdateenv_387_ctx): Likewise.
7440 (libc_feholdexcept_setroundf_ctx): Define macro.
7441 (libc_fesetenvf_ctx): Likewise.
7442 (libc_feupdateenvf_ctx): Likewise.
7443 (libc_feholdsetroundf_ctx): Likewise.
7444 (libc_feresetroundf_ctx): Likewise.
7445 (libc_feholdexcept_setround_ctx): Likewise.
7446 (libc_fesetenv_ctx): Likewise.
7447 (libc_feupdateenv_ctx): Likewise.
7448 (libc_feholdsetround_ctx): Likewise.
7449 (libc_feresetround_ctx): Likewise.
7450 (libc_feholdexcept_setroundl_ctx): Likewise.
7451 (libc_feupdateenvl_ctx): Likewise.
7452 (libc_feholdsetroundl_ctx): Likewise.
7453 (libc_feresetroundl_ctx): Likewise.
7454 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7455 (libc_feresetround_53bit_ctx): Likewise.
7456
59b30555
SP
74572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7458
7459 * locale/iso-639.def: Convert to UTF-8.
7460
f1d73d30
JM
74612013-06-11 Joseph Myers <joseph@codesourcery.com>
7462
7463 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7464 (EXCEPTION_TESTS_double): Likewise.
7465 (EXCEPTION_TESTS_long_double): Likewise.
7466 (EXCEPTION_TESTS): Likewise.
7467 * math/libm-test.inc (test_exceptions): Only test exceptions if
7468 EXCEPTION_TESTS (FLOAT).
7469
94aca5e7
SP
74702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7471
7472 * benchtests/Makefile (string-bench): Add strcpy_chk and
7473 stpcpy_chk.
7474 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7475 * benchtests/bench-stpcpy_chk.c: New file.
7476 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7477 * benchtests/bench-strcpy_chk.c: New file.
7478 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7479 code.
7480 (do_test): Likewise.
7481
fac0c5f2
RA
74822013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7483
7484 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7485 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7486 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7487 with tabs where appropriate.
7488 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7489 dl-procinfo.h.
7490 [PPC_PLATFORM_PPC440]: Likewise.
7491 [PPC_PLATFORM_PPC464]: Likewise.
7492 [PPC_PLATFORM_PPC476]: Likewise.
7493 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7494 ppc464, and ppc476 platform strings merging from ports/
7495 dl-procinfo.h.
7496
f22bc486
AS
74972013-06-11 Andreas Schwab <schwab@suse.de>
7498
7499 [BZ #14991]
7500 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7501 (from_ucs4_idx): Regenerate.
7502 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7503 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7504 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7505 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7506 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7507 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7508 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7509 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7510 from FROM_LOOP and TO_LOOP specific macros.
7511 (BODY): Handle combining characters.
7512 * iconvdata/BIG5HKSCS.irreversible: Update.
7513 * iconvdata/BIG5HKSCS.precomposed: New file.
7514 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7515 characters.
7516 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7517
c1f75dc3
SP
75182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7519
4eacded2
SP
7520 * include/sys/time.h: Fix indentation and add copyright header.
7521
fec799f8
SP
7522 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7523 (do_test): Likewise.
7524 * string/test-memchr.c (do_one_test): Likewise.
7525 (do_test): Likewise.
7526 * string/test-memcmp.c (do_one_test): Likewise.
7527 (do_test): Likewise.
7528 * string/test-memcpy.c (do_one_test): Likewise.
7529 (do_test): Likewise.
7530 * string/test-memmem.c (do_one_test): Likewise.
7531 (do_test): Likewise.
7532 (do_random_tests): Likewise.
7533 * string/test-memmove.c (do_one_test): Likewise.
7534 (do_test): Likewise.
7535 * string/test-memset.c (do_one_test): Likewise.
7536 (do_test): Likewise.
7537 * string/test-rawmemchr.c (do_one_test): Likewise.
7538 (do_test): Likewise.
7539 * string/test-strcasecmp.c (do_one_test): Likewise.
7540 (do_test): Likewise.
7541 * string/test-strcasestr.c (do_one_test): Likewise.
7542 (do_test): Likewise.
7543 * string/test-strcat.c (do_one_test): Likewise.
7544 (do_test): Likewise.
7545 * string/test-strchr.c (do_one_test): Likewise.
7546 (do_test): Likewise.
7547 * string/test-strcmp.c (do_one_test): Likewise.
7548 (do_test): Likewise.
7549 * string/test-strcpy.c (do_one_test): Likewise.
7550 (do_test): Likewise.
7551 * string/test-string.h: Likewise.
7552 (test_init): Likewise.
7553 * string/test-strlen.c (do_one_test): Likewise.
7554 (do_test): Likewise.
7555 * string/test-strncasecmp.c (do_one_test): Likewise.
7556 (do_test): Likewise.
7557 * string/test-strncat.c (do_one_test): Likewise.
7558 (do_test): Likewise.
7559 * string/test-strncmp.c (do_one_test): Likewise.
7560 (do_test_limit): Likewise.
7561 (do_test): Likewise.
7562 * string/test-strncpy.c (do_one_test): Likewise.
7563 (do_test): Likewise.
7564 * string/test-strnlen.c (do_one_test): Likewise.
7565 (do_test): Likewise.
7566 * string/test-strpbrk.c (do_one_test): Likewise.
7567 (do_test): Likewise.
7568 * string/test-strrchr.c (do_one_test): Likewise.
7569 (do_test): Likewise.
7570 * string/test-strspn.c (do_one_test): Likewise.
7571 (do_test): Likewise.
7572 * string/test-strstr.c (do_one_test): Likewise.
7573 (do_test): Likewise.
7574
97020474
SP
7575 * benchtests/Makefile (string-bench): Add string benchmarks.
7576 * benchtests/bench-bcopy-ifunc.c: New file.
7577 * benchtests/bench-bcopy.c: New file.
7578 * benchtests/bench-bzero-ifunc.c: New file.
7579 * benchtests/bench-bzero.c: New file.
7580 * benchtests/bench-memccpy-ifunc.c: New file.
7581 * benchtests/bench-memccpy.c: New file.
7582 * benchtests/bench-memchr-ifunc.c: New file.
7583 * benchtests/bench-memchr.c: New file.
7584 * benchtests/bench-memcmp-ifunc.c: New file.
7585 * benchtests/bench-memcmp.c: New file.
7586 * benchtests/bench-memmem-ifunc.c: New file.
7587 * benchtests/bench-memmem.c: New file.
7588 * benchtests/bench-memmove-ifunc.c: New file.
7589 * benchtests/bench-memmove.c: New file.
7590 * benchtests/bench-mempcpy-ifunc.c: New file.
7591 * benchtests/bench-mempcpy.c: New file.
7592 * benchtests/bench-memset-ifunc.c: New file.
7593 * benchtests/bench-memset.c: New file.
7594 * benchtests/bench-rawmemchr-ifunc.c: New file.
7595 * benchtests/bench-rawmemchr.c: New file.
7596 * benchtests/bench-stpcpy-ifunc.c: New file.
7597 * benchtests/bench-stpcpy.c: New file.
7598 * benchtests/bench-stpncpy-ifunc.c: New file.
7599 * benchtests/bench-stpncpy.c: New file.
7600 * benchtests/bench-strcasecmp-ifunc.c: New file.
7601 * benchtests/bench-strcasecmp.c: New file.
7602 * benchtests/bench-strcasestr-ifunc.c: New file.
7603 * benchtests/bench-strcasestr.c: New file.
7604 * benchtests/bench-strcat-ifunc.c: New file.
7605 * benchtests/bench-strcat.c: New file.
7606 * benchtests/bench-strchr-ifunc.c: New file.
7607 * benchtests/bench-strchr.c: New file.
7608 * benchtests/bench-strchrnul-ifunc.c: New file.
7609 * benchtests/bench-strchrnul.c: New file.
7610 * benchtests/bench-strcmp-ifunc.c: New file.
7611 * benchtests/bench-strcmp.c: New file.
7612 * benchtests/bench-strcpy-ifunc.c: New file.
7613 * benchtests/bench-strcpy.c: New file.
7614 * benchtests/bench-strcspn-ifunc.c: New file.
7615 * benchtests/bench-strcspn.c: New file.
7616 * benchtests/bench-strlen-ifunc.c: New file.
7617 * benchtests/bench-strlen.c: New file.
7618 * benchtests/bench-strncasecmp-ifunc.c: New file.
7619 * benchtests/bench-strncasecmp.c: New file.
7620 * benchtests/bench-strncat-ifunc.c: New file.
7621 * benchtests/bench-strncat.c: New file.
7622 * benchtests/bench-strncmp-ifunc.c: New file.
7623 * benchtests/bench-strncmp.c: New file.
7624 * benchtests/bench-strncpy-ifunc.c: New file.
7625 * benchtests/bench-strncpy.c: New file.
7626 * benchtests/bench-strnlen-ifunc.c: New file.
7627 * benchtests/bench-strnlen.c: New file.
7628 * benchtests/bench-strpbrk-ifunc.c: New file.
7629 * benchtests/bench-strpbrk.c: New file.
7630 * benchtests/bench-strrchr-ifunc.c: New file.
7631 * benchtests/bench-strrchr.c: New file.
7632 * benchtests/bench-strspn-ifunc.c: New file.
7633 * benchtests/bench-strspn.c: New file.
7634 * benchtests/bench-strstr-ifunc.c: New file.
7635 * benchtests/bench-strstr.c: New file.
7636
c1f75dc3
SP
7637 * benchtests/Makefile: Disable parallel execution of targets.
7638 (string-bench): Add memcpy.
7639 (benchset): New variable to store a list of benchmark sets.
7640 (bench-func): Renamed from bench.
7641 (bench-set): New target.
7642 (bench): Depend on bench-func and bench-set.
7643 * benchtests/README: Add section on benchmark sets.
7644 * benchtests/bench-memcpy-ifunc.c: New file.
7645 * benchtests/bench-memcpy.c: New file.
7646 * benchtests/bench-string.h: New file.
7647
50fd745b
AS
76482013-06-11 Andreas Schwab <schwab@suse.de>
7649
7650 [BZ #15577]
7651 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7652 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7653 values in the triple.
7654 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7655 terminator in the group key.
7656
3ee7e9fe
AJ
76572013-06-11 Andreas Jaeger <aj@suse.de>
7658
7659 * po/zh_TW.po: Update Chinese (traditional) translation from
7660 translation project.
7661
89fb6835
SP
76622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7663
7664 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7665 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7666 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7668 (clock_getcpuclockid): Likewise.
7669 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7670 Add weak_alias and libc_hidden_def.
7671 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7672 * rt/clock_gettime.c (clock_gettime): Rename to
7673 __clock_gettime. Add weak_alias and libc_hidden_def.
7674 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7675 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7676 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7677 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7678 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7679 Likewise.
7680 * rt/clock_settime.c (clock_settime): Rename to
7681 __clock_settime. Add weak_alias and libc_hidden_def.
7682 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7683
0efa6f8b
JM
76842013-06-10 Joseph Myers <joseph@codesourcery.com>
7685
b8c61b4b
JM
7686 * mach/err_boot.sub: Remove trailing whitespace.
7687 * mach/err_ipc.sub: Likewise.
7688 * mach/err_mach.sub: Likewise.
7689
0efa6f8b
JM
7690 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7691 (ROUNDING_TESTS_double): Likewise.
7692 (ROUNDING_TESTS_long_double): Likewise.
7693 (ROUNDING_TESTS): Likewise.
7694 * math/libm-test.inc: Include <math-tests.h>.
7695 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7696 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7697 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7698 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7699
50b818bf
SP
77002013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7701
7702 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7703 of assigning.
7704
60d2f8f3
JM
77052013-06-08 Joseph Myers <joseph@codesourcery.com>
7706
4902d2c3
JM
7707 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7708 otherwise empty TRANS lines.
7709 * sysdeps/gnu/errlist.c: Regenerated.
7710
60d2f8f3
JM
7711 * catgets/gencat.c (error_print): Use (void) in function
7712 definition.
7713 * crypt/crypt_util.c (__init_des): Likewise.
7714 * crypt/speeds.c (Stop): Likewise.
7715 (main): Likewise.
7716 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7717 * inet/ruserpass.c (token): Likewise.
7718 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7719 * intl/localealias.c (extend_alias_table): Likewise.
7720 * intl/plural-exp.c (init_germanic_plural): Likewise.
7721 * libio/fcloseall.c (__fcloseall): Likewise.
7722 * libio/genops.c (_IO_flush_all): Likewise.
7723 (_IO_flush_all_linebuffered): Likewise.
7724 (_IO_cleanup): Likewise.
7725 (_IO_iter_begin): Likewise.
7726 (_IO_iter_end): Likewise.
7727 (_IO_list_lock): Likewise.
7728 (_IO_list_unlock): Likewise.
7729 (_IO_list_resetlock): Likewise.
7730 * libio/getchar.c (getchar): Likewise.
7731 * libio/getchar_u.c (getchar_unlocked): Likewise.
7732 * libio/getwchar.c (getwchar): Likewise.
7733 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7734 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7735 * login/getpt.c (__getpt): Likewise.
7736 * login/tst-utmp.c (main): Likewise.
7737 * malloc/hooks.c (__malloc_check_init): Likewise.
7738 * malloc/malloc.c (__malloc_stats): Likewise.
7739 * malloc/mtrace.c (tr_break): Likewise.
7740 (mtrace): Likewise.
7741 (muntrace): Likewise.
7742 * misc/fstab.c (endfsent): Likewise.
7743 * misc/getclktck.c (__getclktck): Likewise.
7744 * misc/getdtsz.c (__getdtablesize): Likewise.
7745 * misc/gethostid.c (gethostid): Likewise.
7746 * misc/getpagesize.c (__getpagesize): Likewise.
7747 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7748 (__get_nprocs): Likewise.
7749 (__get_phys_pages): Likewise.
7750 (__get_avphys_pages): Likewise.
7751 * misc/getttyent.c (getttyent): Likewise.
7752 (setttyent): Likewise.
7753 (endttyent): Likewise.
7754 * misc/getusershell.c (getusershell): Likewise.
7755 (endusershell): Likewise.
7756 (setusershell): Likewise.
7757 (initshells): Likewise.
7758 * misc/hsearch.c (__hdestroy): Likewise.
7759 * misc/sync.c (sync): Likewise.
7760 * misc/syslog.c (closelog_internal): Likewise.
7761 (closelog): Likewise.
7762 * misc/ttyslot.c (ttyslot): Likewise.
7763 * misc/vhangup.c (vhangup): Likewise.
7764 * posix/fork.c (__fork): Likewise.
7765 * posix/getegid.c (__getegid): Likewise.
7766 * posix/geteuid.c (__geteuid): Likewise.
7767 * posix/getgid.c (__getgid): Likewise.
7768 * posix/getpid.c (__getpid): Likewise.
7769 * posix/getppid.c (__getppid): Likewise.
7770 * posix/getuid.c (__getuid): Likewise.
7771 * posix/pause.c (pause): Likewise.
7772 * posix/setpgrp.c (setpgrp): Likewise.
7773 * posix/setsid.c (__setsid): Likewise.
7774 * posix/test-vfork.c (noop): Likewise.
7775 * resolv/gethnamaddr.c (_endhtent): Likewise.
7776 (_gethtent): Likewise.
7777 (ht_endhostent): Likewise.
7778 (gethostent): Likewise.
7779 (dns_service): Likewise.
7780 * stdlib/drand48.c (drand48): Likewise.
7781 * stdlib/lrand48.c (lrand48): Likewise.
7782 * stdlib/mrand48.c (mrand48): Likewise.
7783 * stdlib/rand.c (rand): Likewise.
7784 * stdlib/random.c (__random): Likewise.
7785 * stdlib/setenv.c (clearenv): Likewise.
7786 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7787 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7788 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7789 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7790 (__get_nprocs): Likewise.
7791 (__get_phys_pages): Likewise.
7792 (__get_avphys_pages): Likewise.
7793 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7794 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7795 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7796 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7797 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7798 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7799 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7800 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7801 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7802 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7803 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7804 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7805 * sysdeps/posix/clock.c (clock): Likewise.
7806 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7807 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7808 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7809 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7810 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7812 (__get_nprocs_conf): Likewise.
7813 (__get_phys_pages): Likewise.
7814 (__get_avphys_pages): Likewise.
7815 * time/clock.c (clock): Likewise.
7816 * time/tzset.c (__tzname_max): Likewise.
7817
2e09a79a
JM
78182013-06-07 Joseph Myers <joseph@codesourcery.com>
7819
7820 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7821 (__bswap_32): Do not use "register".
7822 * crypt/crypt.c (_ufc_doit_r): Likewise.
7823 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7824 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7825 * gmon/gmon.c (__monstartup): Likewise.
7826 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7827 * hurd/hurdmalloc.c (more_memory): Likewise.
7828 (malloc): Likewise.
7829 (free): Likewise.
7830 (realloc): Likewise.
7831 (malloc_fork_prepare): Likewise.
7832 (malloc_fork_parent): Likewise.
7833 (malloc_fork_child): Likewise.
7834 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7835 (_svcauth_des): Likewise.
7836 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7837 * inet/inet_net.c (inet_network): Likewise.
7838 * inet/inet_netof.c (inet_netof): Likewise.
7839 * inet/rcmd.c (__validuser2_sa): Likewise.
7840 * io/fts.c (fts_open): Likewise.
7841 (fts_load): Likewise.
7842 (fts_close): Likewise.
7843 (fts_read): Likewise.
7844 (fts_children): Likewise.
7845 (fts_build): Likewise.
7846 (fts_stat): Likewise.
7847 (fts_sort): Likewise.
7848 (fts_alloc): Likewise.
7849 (fts_lfree): Likewise.
7850 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7851 (_IO_file_xsgetn): Likewise.
7852 (_IO_file_xsgetn_mmap): Likewise.
7853 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7854 (_IO_cookie_write): Likewise.
7855 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7856 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7857 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7858 * malloc/obstack.c (_obstack_begin): Likewise.
7859 (_obstack_begin_1): Likewise.
7860 (_obstack_newchunk): Likewise.
7861 (_obstack_allocated_p): Likewise.
7862 (obstack_free): Likewise.
7863 (_obstack_memory_used): Likewise.
7864 * misc/getttyent.c (getttynam): Likewise.
7865 (getttyent): Likewise.
7866 (skip): Likewise.
7867 (value): Likewise.
7868 * misc/getusershell.c (initshells): Likewise.
7869 * misc/syslog.c (__vsyslog_chk): Likewise.
7870 * misc/ttyslot.c (ttyslot): Likewise.
7871 * nis/nis_hash.c (__nis_hash): Likewise.
7872 * posix/fnmatch_loop.c (FCT): Likewise.
7873 * posix/getconf.c (print_all): Likewise.
7874 (main): Likewise.
7875 * posix/getopt.c (exchange): Likewise.
7876 * posix/glob.c (globfree): Likewise.
7877 (prefix_array): Likewise.
7878 (__glob_pattern_type): Likewise.
7879 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7880 (NS_GET32): Likewise.
7881 (NS_PUT16): Likewise.
7882 (NS_PUT32): Likewise.
7883 * resolv/gethnamaddr.c (getanswer): Likewise.
7884 (gethostbyname2): Likewise.
7885 (gethostbyaddr): Likewise.
7886 (_gethtent): Likewise.
7887 (_gethtbyname2): Likewise.
7888 (_gethtbyaddr): Likewise.
7889 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7890 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7891 * resolv/res_init.c (__res_vinit): Likewise.
7892 (net_mask): Likewise.
7893 * resolv/res_mkquery.c (outchar): Likewise.
7894 (PRINT): Likewise.
7895 * stdio-common/printf_fp.c (outchar): Likewise.
7896 (PRINT): Likewise.
7897 * stdio-common/printf_fphex.c (outchar): Likewise.
7898 (PRINT): Likewise.
7899 * stdio-common/printf_size.c (outchar): Likewise.
7900 (PRINT): Likewise.
7901 * stdio-common/test_rdwr.c (main): Likewise.
7902 * stdio-common/tfformat.c (matches): Likewise.
7903 * stdio-common/vfprintf.c (outchar): Likewise.
7904 (printf_unknown): Likewise.
7905 (buffered_vfprintf): Likewise.
7906 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7907 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7908 (ReadFile): Likewise.
7909 * stdlib/qsort.c (SWAP): Likewise.
7910 (_quicksort): Likewise.
7911 * stdlib/setenv.c (__add_to_environ): Likewise.
7912 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7913 * stdlib/strtol_l.c (__strtol_l): Likewise.
7914 * stdlib/tst-strtod.c (main): Likewise.
7915 * stdlib/tst-strtol.c (main): Likewise.
7916 * stdlib/tst-strtoll.c (main): Likewise.
7917 * string/bits/string2.h (__strcmp_cc): Likewise.
7918 (__strcmp_cg): Likewise.
7919 (__strcspn_c1): Likewise.
7920 (__strcspn_c2): Likewise.
7921 (__strcspn_c3): Likewise.
7922 (__strspn_c1): Likewise.
7923 (__strspn_c2): Likewise.
7924 (__strspn_c3): Likewise.
7925 (__strsep_1c): Likewise.
7926 (__strsep_2c): Likewise.
7927 (__strsep_3c): Likewise.
7928 * string/memccpy.c (__memccpy): Likewise.
7929 * string/stpcpy.c (__stpcpy): Likewise.
7930 * string/strcmp.c (strcmp): Likewise.
7931 * string/strrchr.c (strrchr): Likewise.
7932 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7933 Likewise.
7934 * sysdeps/mach/hurd/getcwd.c
7935 (_hurd_canonicalize_directory_name_internal): Likewise.
7936 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7937 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7938 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7939 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7940 Likewise, in both definitions.
7941 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7942 definitions.
7943 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7944 64] (__bswap_64): Likewise.
7945 * time/test_time.c (main): Likewise.
7946 * time/tzfile.c (__tzfile_read): Likewise.
7947 (__tzfile_compute): Likewise.
7948 * time/tzset.c (__tzset_parse_tz): Likewise.
7949 (tzset_internal): Likewise.
7950 (compute_change): Likewise.
7951 * wcsmbs/wcscat.c (__wcscat): Likewise.
7952 * wcsmbs/wcschr.c (wcschr): Likewise.
7953 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7954 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7955 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7956 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7957 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7958 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7959 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7960 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7961 * wcsmbs/wmemset.c (wmemset): Likewise.
7962
9e54314b
JM
79632013-06-06 Joseph Myers <joseph@codesourcery.com>
7964
7965 * scripts/config.guess: Update to version 2013-05-16.
7966 * scripts/config.sub: Update to version 2013-04-24.
7967 * scripts/install-sh: Update to version 2011-11-20.07.
7968 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7969 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7970
350635a5
OB
79712013-06-06 Ondřej Bílka <neleai@seznam.cz>
7972
7973 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7974 * elf/sln.c: Likewise.
7975 * hurd/hurd/ioctl.h: Likewise.
7976 * hurd/hurdmalloc.c: Likewise.
7977 * hurd/xattr.c: Likewise.
7978 * include/shlib-compat.h: Likewise.
7979 * inet/ruserpass.c: Likewise.
7980 * libio/iofgets_u.c: Likewise.
7981 * libio/iofgetws_u.c: Likewise.
7982 * locale/programs/ld-identification.c: Likewise.
7983 * locale/programs/ld-time.c: Likewise.
7984 * mach/msg-destroy.c: Likewise.
7985 * nss/nss_files/files-netgrp.c: Likewise.
7986 * resolv/res_data.c: Likewise.
7987 * soft-fp/op-1.h: Likewise.
7988 * soft-fp/op-2.h: Likewise.
7989 * soft-fp/op-4.h: Likewise.
7990 * soft-fp/op-common.h: Likewise.
7991 * stdio-common/printf_fphex.c: Likewise.
7992 * stdlib/strtod_l.c: Likewise.
7993 * sunrpc/rpc/clnt.h: Likewise.
7994 * sysdeps/generic/framestate.c: Likewise.
7995 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7996 * sysdeps/i386/bsd-setjmp.S: Likewise.
7997 * sysdeps/i386/__longjmp.S: Likewise.
7998 * sysdeps/i386/setjmp.S: Likewise.
7999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8000 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8001 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8002 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8005 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8007 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8008 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8009 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8010 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8011 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8012 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8013 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8014 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8015 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8016 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8017 * sysdeps/ieee754/support.c: Likewise.
8018 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8019 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8020 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8021 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8022 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8023 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8024 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8025 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8026 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8027 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8028 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8029 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8030 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8031 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8032 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8033 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8034 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8036
44a988af
OB
80372013-06-05 Ondřej Bílka <neleai@seznam.cz>
8038
25506f09 8039 * posix/transbug.c: Remove executable mode.
44a988af 8040
9c84384c
JM
80412013-06-05 Joseph Myers <joseph@codesourcery.com>
8042
8043 * crypt/speeds.c: Remove trailing whitespace.
8044 * dlfcn/default.c: Likewise.
8045 * elf/ifuncdep2.c: Likewise.
8046 * elf/ifuncmain1.c: Likewise.
8047 * elf/ifuncmain1vis.c: Likewise.
8048 * elf/testobj.h: Likewise.
8049 * elf/tst-stackguard1.c: Likewise.
8050 * gmon/sys/gmon.h: Likewise.
8051 * hurd/hurdmsg.c: Likewise.
8052 * hurd/new-fd.c: Likewise.
8053 * hurd/ports-get.c: Likewise.
8054 * iconvdata/ibm1008_420.c: Likewise.
8055 * inet/tst-getni1.c: Likewise.
8056 * inet/tst-getni2.c: Likewise.
8057 * libio/ioungetc.c: Likewise.
8058 * libio/wfiledoalloc.c: Likewise.
8059 * manual/libm-err-tab.pl: Likewise.
8060 * math/w_dremf.c: Likewise.
8061 * misc/ftruncate.c: Likewise.
8062 * posix/bug-glob2.c: Likewise.
8063 * posix/tst-pcre.c: Likewise.
8064 * posix/wait4.c: Likewise.
8065 * resolv/README: Likewise.
8066 * resolv/res_debug.h: Likewise.
8067 * resolv/tst-inet_ntop.c: Likewise.
8068 * setjmp/bug269-setjmp.c: Likewise.
8069 * soft-fp/extended.h: Likewise.
8070 * soft-fp/op-1.h: Likewise.
8071 * soft-fp/op-2.h: Likewise.
8072 * soft-fp/op-4.h: Likewise.
8073 * soft-fp/op-8.h: Likewise.
8074 * soft-fp/testit.c: Likewise.
8075 * stdio-common/bug16.c: Likewise.
8076 * stdlib/random.c: Likewise.
8077 * sunrpc/rpcsvc/rquota.x: Likewise.
8078 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8079 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8081 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8082 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8083 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8084 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8085 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8087 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8088 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8089 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8090 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8091 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8092 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8093 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8094 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8095 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8098 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8099 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8100 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8101 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8102 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8103 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8104 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8107 * sysdeps/ieee754/s_lib_version.c: Likewise.
8108 * sysdeps/mach/hurd/check_fds.c: Likewise.
8109 * sysdeps/mach/hurd/getsockname.c: Likewise.
8110 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8111 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8112 * sysdeps/powerpc/bits/link.h: Likewise.
8113 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8114 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8115 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8116 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8117 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8118 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8119 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8120 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8121 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8122 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8123 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8124 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8125 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8126 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8127 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8128 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8129 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8130 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8131 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8132 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8133 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8134 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8135 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8136 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8137 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8138 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8139 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8140 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8141 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8142 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8143 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8144 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8145 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8146 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8147 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8148 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8149 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8150 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8151 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8152 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8153 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8154 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8155 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8156 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8157 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8158 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8159 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8160 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8161 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8162 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8165 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8166 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8167 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8168 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8169 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8170 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8171 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8172 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8173 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8174 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8175 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8176 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8177 * sysdeps/powerpc/sysdep.h: Likewise.
8178 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8179 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8180 * sysdeps/sh/dl-trampoline.S: Likewise.
8181 * sysdeps/sh/memset.S: Likewise.
8182 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8183 * sysdeps/sh/strlen.S: Likewise.
8184 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8185 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8186 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8187 * sysdeps/sparc/sparc32/rem.S: Likewise.
8188 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8189 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8190 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8191 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8192 * sysdeps/sparc/sparc32/urem.S: Likewise.
8193 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8194 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8195 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8196 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8198 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8199 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8200 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8201 * sysdeps/unix/bsd/times.c: Likewise.
8202 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8203 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8207 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8208 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8209 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8210 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8211 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8212 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8213 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8214 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8215 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8216 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8217 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8218 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8219 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8220 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8221 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8222 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8223 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8224 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8225 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8226 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8227 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8228 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8230 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8231 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8232 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8233 * sysdeps/x86_64/strcspn.S: Likewise.
8234
869378a5
RA
82352013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8236
8237 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8238 generated file. Regenerate properly from gen-translit.pl.
8239 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8240 locale/C-translit.h.
8241
840e2943
AS
82422013-06-05 Andreas Schwab <schwab@suse.de>
8243
8244 [BZ #15100]
8245 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8246 week as 6 instead of -1.
8247 * time/tst-strptime.c (day_tests): Add test case.
8248
4c60cb0c
SP
82492013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8250
8251 * sysdeps/generic/math_private.h
8252 (libc_feholdexcept_setround_53bit): Replace with
8253 libc_feholdsetround_53bit.
8254 (libc_feupdateenv_53bit): Replace with
8255 libc_feresetround_53bit.
8256 (SET_RESTORE_ROUND_53BIT): Adjust.
8257
d180203e
SP
82582013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8259
96df079a
SP
8260 * string/test-strchrnul.c: Add copyright header.
8261
d180203e
SP
8262 * posix/tst-getaddrinfo4.c: Increase test timeout.
8263
8b0ccb2d
CD
82642013-06-03 Carlos O'Donell <carlos@redhat.com>
8265
8266 [BZ #15536]
8267 * math/libm-test.inc (MAX_EXP): Remove
8268 (MIN_EXP): Define.
8269 (ulp): Use MIN_EXP - MANT_DIG.
8270 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8271
3b3c4d40
CD
82722013-05-31 Carlos O'Donell <carlos@redhat.com>
8273
8274 * po/be.po: Revert last change.
8275 * po/zh_CN.po: Likewise.
8276 * po/header.pot: Likewise.
8277
fab7ce3f
JM
82782013-05-31 Joseph Myers <joseph@codesourcery.com>
8279
8280 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8281 link-libc-deps to empty as target-specific variable.
8282 * Makerules (link-libc-args): New variable.
8283 (libc-for-link): Likewise.
8284 (link-libc-deps): Likewise.
8285 (lib%.so): Depend on $(link-libc-deps). Link with
8286 $(link-libc-args).
8287 (build-module): Link with $(link-libc-args).
8288 (build-module-asneeded): Likewise.
8289 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8290 list of objects.
8291 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8292 target-specific variable.
8293 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8294 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8295 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8296 libc.
8297 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8298 libc and ld.so.
8299 ($(objpfx)libpcprofile.so): Likewise.
8300 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8301 libc_nonshared.a.
8302 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8303 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8304 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8305 $(link-libc-deps).
8306 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8307 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8308 * login/Makefile ($(objpfx)libutil.so): Likewise.
8309 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8310 * math/Makefile ($(objpfx)libm.so): Likewise.
8311 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8312 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8313 variable instead of depending directly on libc.
8314 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8315 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8316 $(link-libc-deps).
8317 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8318 libc.
8319 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8320 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8321 ($(objpfx)libanl.so): Likewise.
8322 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8323 ld.so.
8324 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8325 $(link-libc-deps).
8326 * sysdeps/i386/fpu/Makefile: Remove file.
8327 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8328 ($(objpfx)libm.so): Remove dependency on ld.so.
8329
eca5920c
PF
83302013-05-30 Patsy Franklin <pfrankli@redhat.com>
8331
8332 [BZ # 15553]
8333 * nis/yp_xdr.c (XDRMAXNAME): Define.
8334 (XDRMAXRECORD): Define.
8335 (xdr_domainname): Use XDRMAXNAME.
8336 (xdr_mapname): Likewise.
8337 (xdr_peername): Likewise.
8338 (xdr_keydat): Use XDRMAXRECORD.
8339 (xdr_valdat): Likewise.
8340
83412013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8342
8343 [BZ #14256]
8344 * manual/errno.texi (ESTALE): Update to account for more than
8345 just NFS file systems.
8346 * sysdeps/gnu/errlist.c: Regenerated.
8347
b9375348
SP
83482013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8349
8350 [BZ #15465]
8351 * elf/Makefile (tests): Add tst-null-argv.
8352 (modules-names): Add tst-null-argv-lib.
8353 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8354 (tst-null-argv-ENV): Set environment for tst-null-argv.
8355 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8356 (RTLD_PROGNAME): New macro.
8357 * elf/tst-null-argv.c: New test case.
8358 * elf/tst-null-argv-lib.c: Library for test case.
8359 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8360 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8361 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8362 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8363 * elf/dl-init.c (call_init): Likewise.
8364 (_dl_init): Likewise.
8365 * elf/dl-load.c (print_search_path): Likewise.
8366 (_dl_map_object): Likewise.
8367 * elf/dl-lookup.c (do_lookup_x): Likewise.
8368 (add_dependency): Likewise.
8369 (_dl_lookup_symbol_x): Likewise.
8370 (_dl_debug_bindings): Likewise.
8371 * elf/dl-open.c (_dl_show_scope): Likewise.
8372 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8373 * elf/dl-version.c (match_symbol): Likewise.
8374 (_dl_check_map_versions): Likewise.
8375 * elf/rtld.c (dl_main): Likewise.
8376 (print_unresolved): Use RTLD_PROGNAME.
8377 (print_missing_version): Likewise.
8378 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8379 (elf_machine_rela): Likewise.
8380 * sysdeps/powerpc/powerpc32/dl-machine.c
8381 (__process_machine_rela): Likewise.
8382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8383 Likewise.
8384 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8385 Likewise.
8386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8387 Likewise.
8388 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8389 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8390 Likewise.
8391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8392 Likewise.
8393 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8394
8a9f20c8
CD
83952013-05-28 Carlos O'Donell <carlos@redhat.com>
8396
8397 * po/be.po: Add descriptive title.
8398 * po/zh_CN.po: Likewise.
8399 * po/header.pot: Likewise.
8400
0e60d68e
MF
84012013-05-28 Mike Frysinger <vapier@gentoo.org>
8402
8403 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8404 error message.
8405 (enlarge_archive): Likewise.
8406
56b672e9
BN
84072013-05-28 Ben North <ben@redfrontdoor.org>
8408
8409 * manual/arith.texi (frexp): It is the magnitude of the return
8410 value which lies in [0.5, 1), not the return value itself.
8411
5e056687
AZ
84122013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8413
8414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8415
2b66ef5d
TS
84162013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8417
528c2405
TS
8418 * stdio-common/bug26.c (main): Correct fscanf template.
8419
07b4c13d
TS
8420 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8421 declare _dl_skip_args.
8422
ec9dd97c
TS
8423 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8424 Don't declare.
8425
2b66ef5d
TS
8426 * manual/platform.texi: Add missing @end deftypefun.
8427
4f8dfe27
JM
84282013-05-24 Joseph Myers <joseph@codesourcery.com>
8429
0323d086
JM
8430 [BZ #15529]
8431 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8432 bit of mantissa of 2^16382.
8433 * math/libm-test.inc (hypot_test_data): Add more tests.
8434
dd4259b9
JM
8435 * math/libm-test.inc: Add drem and pow10 to list of tested
8436 functions.
8437 (pow10_test): New function.
8438 (drem_test): Likewise.
8439 (drem_test_tonearest): Likewise.
8440 (drem_test_towardzero): Likewise.
8441 (drem_test_downward): Likewise.
8442 (drem_test_upward): Likewise.
8443 (main): Call the new functions.
8444
4f8dfe27
JM
8445 * math/libm-test.inc (finite_test_data): Remove.
8446 (finite_test): Run tests from isfinite_test_data.
8447 (gamma_test_data): Remove.
8448 (gamma_test): Run tests from lgamma_test_data.
8449 * sysdeps/i386/fpu/libm-test-ulps: Update.
8450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8451
d116b7c4
AZ
84522013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8453
8454 * manual/platform.texi: Add PowerPC PPR function set documentation.
8455 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8456 implementation.
8457
e96e3767
CD
84582013-05-24 Carlos O'Donell <carlos@redhat.com>
8459
8460 * math/libm-test.inc (MAX_EXP): Define.
8461 (ULPDIFF): Define.
8462 (ulp): New function.
8463 (check_float_internal): Use ULPDIFF.
8464 (cpow_test): Disable failing test.
8465 (check_ulp): Test ulp() implemetnation.
8466 (main): Call check_ulp before starting tests.
8467
b679a606
JM
84682013-05-24 Joseph Myers <joseph@codesourcery.com>
8469
e8bdba36
JM
8470 * math/gen-libm-test.pl (generate_testfile): Do not handle
8471 START_DATA and END_DATA.
8472 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8473 END_DATA.
8474 (acos_tonearest_test_data): Likewise.
8475 (acos_towardzero_test_data): Likewise.
8476 (acos_downward_test_data): Likewise.
8477 (acos_upward_test_data): Likewise.
8478 (acosh_test_data): Likewise.
8479 (asin_test_data): Likewise.
8480 (asin_tonearest_test_data): Likewise.
8481 (asin_towardzero_test_data): Likewise.
8482 (asin_downward_test_data): Likewise.
8483 (asin_upward_test_data): Likewise.
8484 (asinh_test_data): Likewise.
8485 (atan_test_data): Likewise.
8486 (atanh_test_data): Likewise.
8487 (atan2_test_data): Likewise.
8488 (cabs_test_data): Likewise.
8489 (cacos_test_data): Likewise.
8490 (cacosh_test_data): Likewise.
8491 (carg_test_data): Likewise.
8492 (casin_test_data): Likewise.
8493 (casinh_test_data): Likewise.
8494 (catan_test_data): Likewise.
8495 (catanh_test_data): Likewise.
8496 (cbrt_test_data): Likewise.
8497 (ccos_test_data): Likewise.
8498 (ccosh_test_data): Likewise.
8499 (ceil_test_data): Likewise.
8500 (cexp_test_data): Likewise.
8501 (cimag_test_data): Likewise.
8502 (clog_test_data): Likewise.
8503 (clog10_test_data): Likewise.
8504 (conj_test_data): Likewise.
8505 (copysign_test_data): Likewise.
8506 (cos_test_data): Likewise.
8507 (cos_tonearest_test_data): Likewise.
8508 (cos_towardzero_test_data): Likewise.
8509 (cos_downward_test_data): Likewise.
8510 (cos_upward_test_data): Likewise.
8511 (cosh_test_data): Likewise.
8512 (cosh_tonearest_test_data): Likewise.
8513 (cosh_towardzero_test_data): Likewise.
8514 (cosh_downward_test_data): Likewise.
8515 (cosh_upward_test_data): Likewise.
8516 (cpow_test_data): Likewise.
8517 (cproj_test_data): Likewise.
8518 (creal_test_data): Likewise.
8519 (csin_test_data): Likewise.
8520 (csinh_test_data): Likewise.
8521 (csqrt_test_data): Likewise.
8522 (ctan_test_data): Likewise.
8523 (ctan_tonearest_test_data): Likewise.
8524 (ctan_towardzero_test_data): Likewise.
8525 (ctan_downward_test_data): Likewise.
8526 (ctan_upward_test_data): Likewise.
8527 (ctanh_test_data): Likewise.
8528 (ctanh_tonearest_test_data): Likewise.
8529 (ctanh_towardzero_test_data): Likewise.
8530 (ctanh_downward_test_data): Likewise.
8531 (ctanh_upward_test_data): Likewise.
8532 (erf_test_data): Likewise.
8533 (erfc_test_data): Likewise.
8534 (exp_test_data): Likewise.
8535 (exp_tonearest_test_data): Likewise.
8536 (exp_towardzero_test_data): Likewise.
8537 (exp_downward_test_data): Likewise.
8538 (exp_upward_test_data): Likewise.
8539 (exp10_test_data): Likewise.
8540 (exp2_test_data): Likewise.
8541 (expm1_test_data): Likewise.
8542 (fabs_test_data): Likewise.
8543 (fdim_test_data): Likewise.
8544 (finite_test_data): Likewise.
8545 (floor_test_data): Likewise.
8546 (fma_test_data): Likewise.
8547 (fma_towardzero_test_data): Likewise.
8548 (fma_downward_test_data): Likewise.
8549 (fma_upward_test_data): Likewise.
8550 (fmax_test_data): Likewise.
8551 (fmin_test_data): Likewise.
8552 (fmod_test_data): Likewise.
8553 (fpclassify_test_data): Likewise.
8554 (frexp_test_data): Likewise.
8555 (gamma_test_data): Likewise.
8556 (hypot_test_data): Likewise.
8557 (ilogb_test_data): Likewise.
8558 (isfinite_test_data): Likewise.
8559 (isgreater_test_data): Likewise.
8560 (isgreaterequal_test_data): Likewise.
8561 (isinf_test_data): Likewise.
8562 (isless_test_data): Likewise.
8563 (islessequal_test_data): Likewise.
8564 (islessgreater_test_data): Likewise.
8565 (isnan_test_data): Likewise.
8566 (isnormal_test_data): Likewise.
8567 (issignaling_test_data): Likewise.
8568 (isunordered_test_data): Likewise.
8569 (j0_test_data): Likewise.
8570 (j1_test_data): Likewise.
8571 (jn_test_data): Likewise.
8572 (ldexp_test_data): Likewise.
8573 (lgamma_test_data): Likewise.
8574 (lrint_test_data): Likewise.
8575 (lrint_tonearest_test_data): Likewise.
8576 (lrint_towardzero_test_data): Likewise.
8577 (lrint_downward_test_data): Likewise.
8578 (lrint_upward_test_data): Likewise.
8579 (llrint_test_data): Likewise.
8580 (llrint_tonearest_test_data): Likewise.
8581 (llrint_towardzero_test_data): Likewise.
8582 (llrint_downward_test_data): Likewise.
8583 (llrint_upward_test_data): Likewise.
8584 (log_test_data): Likewise.
8585 (log10_test_data): Likewise.
8586 (log1p_test_data): Likewise.
8587 (log2_test_data): Likewise.
8588 (logb_test_data): Likewise.
8589 (logb_downward_test_data): Likewise.
8590 (lround_test_data): Likewise.
8591 (llround_test_data): Likewise.
8592 (modf_test_data): Likewise.
8593 (nearbyint_test_data): Likewise.
8594 (nextafter_test_data): Likewise.
8595 (nexttoward_test_data): Likewise.
8596 (pow_test_data): Likewise.
8597 (pow_tonearest_test_data): Likewise.
8598 (pow_towardzero_test_data): Likewise.
8599 (pow_downward_test_data): Likewise.
8600 (pow_upward_test_data): Likewise.
8601 (remainder_test_data): Likewise.
8602 (remainder_tonearest_test_data): Likewise.
8603 (remainder_towardzero_test_data): Likewise.
8604 (remainder_downward_test_data): Likewise.
8605 (remainder_upward_test_data): Likewise.
8606 (remquo_test_data): Likewise.
8607 (rint_test_data): Likewise.
8608 (rint_tonearest_test_data): Likewise.
8609 (rint_towardzero_test_data): Likewise.
8610 (rint_downward_test_data): Likewise.
8611 (rint_upward_test_data): Likewise.
8612 (round_test_data): Likewise.
8613 (scalb_test_data): Likewise.
8614 (scalbn_test_data): Likewise.
8615 (scalbln_test_data): Likewise.
8616 (signbit_test_data): Likewise.
8617 (sin_test_data): Likewise.
8618 (sin_tonearest_test_data): Likewise.
8619 (sin_towardzero_test_data): Likewise.
8620 (sin_downward_test_data): Likewise.
8621 (sin_upward_test_data): Likewise.
8622 (sincos_test_data): Likewise.
8623 (sinh_test_data): Likewise.
8624 (sinh_tonearest_test_data): Likewise.
8625 (sinh_towardzero_test_data): Likewise.
8626 (sinh_downward_test_data): Likewise.
8627 (sinh_upward_test_data): Likewise.
8628 (sqrt_test_data): Likewise.
8629 (tan_test_data): Likewise.
8630 (tan_tonearest_test_data): Likewise.
8631 (tan_towardzero_test_data): Likewise.
8632 (tan_downward_test_data): Likewise.
8633 (tan_upward_test_data): Likewise.
8634 (tanh_test_data): Likewise.
8635 (tgamma_test_data): Likewise.
8636 (trunc_test_data): Likewise.
8637 (y0_test_data): Likewise.
8638 (y1_test_data): Likewise.
8639 (yn_test_data): Likewise.
8640 (significand_test_data): Likewise.
8641
b679a606
JM
8642 * math/gen-libm-test.pl (@functions): Remove variable.
8643 (generate_testfile): Don't handle START and END lines.
8644 * math/libm-test.inc (START): New macro.
8645 (END): Likewise.
8646 (END_COMPLEX): Likewise.
8647 (acos_test): Use END macro without arguments.
8648 (acos_test_tonearest): Likewise.
8649 (acos_test_towardzero): Likewise.
8650 (acos_test_downward): Likewise.
8651 (acos_test_upward): Likewise.
8652 (acosh_test): Likewise.
8653 (asin_test): Likewise.
8654 (asin_test_tonearest): Likewise.
8655 (asin_test_towardzero): Likewise.
8656 (asin_test_downward): Likewise.
8657 (asin_test_upward): Likewise.
8658 (asinh_test): Likewise.
8659 (atan_test): Likewise.
8660 (atanh_test): Likewise.
8661 (atan2_test): Likewise.
8662 (cabs_test): Likewise.
8663 (cacos_test): Use END_COMPLEX macro without arguments.
8664 (cacosh_test): Likewise.
8665 (carg_test): Use END macro without arguments.
8666 (casin_test): Use END_COMPLEX macro without arguments.
8667 (casinh_test): Likewise.
8668 (catan_test): Likewise.
8669 (catanh_test): Likewise.
8670 (cbrt_test): Use END macro without arguments.
8671 (ccos_test): Use END_COMPLEX macro without arguments.
8672 (ccosh_test): Likewise.
8673 (ceil_test): Use END macro without arguments.
8674 (cexp_test): Use END_COMPLEX macro without arguments.
8675 (cimag_test): Use END macro without arguments.
8676 (clog_test): Use END_COMPLEX macro without arguments.
8677 (clog10_test): Likewise.
8678 (conj_test): Likewise.
8679 (copysign_test): Use END macro without arguments.
8680 (cos_test): Likewise.
8681 (cos_test_tonearest): Likewise.
8682 (cos_test_towardzero): Likewise.
8683 (cos_test_downward): Likewise.
8684 (cos_test_upward): Likewise.
8685 (cosh_test): Likewise.
8686 (cosh_test_tonearest): Likewise.
8687 (cosh_test_towardzero): Likewise.
8688 (cosh_test_downward): Likewise.
8689 (cosh_test_upward): Likewise.
8690 (cpow_test): Use END_COMPLEX macro without arguments.
8691 (cproj_test): Likewise.
8692 (creal_test): Use END macro without arguments.
8693 (csin_test): Use END_COMPLEX macro without arguments.
8694 (csinh_test): Likewise.
8695 (csqrt_test): Likewise.
8696 (ctan_test): Likewise.
8697 (ctan_test_tonearest): Likewise.
8698 (ctan_test_towardzero): Likewise.
8699 (ctan_test_downward): Likewise.
8700 (ctan_test_upward): Likewise.
8701 (ctanh_test): Likewise.
8702 (ctanh_test_tonearest): Likewise.
8703 (ctanh_test_towardzero): Likewise.
8704 (ctanh_test_downward): Likewise.
8705 (ctanh_test_upward): Likewise.
8706 (erf_test): Use END macro without arguments.
8707 (erfc_test): Likewise.
8708 (exp_test): Likewise.
8709 (exp_test_tonearest): Likewise.
8710 (exp_test_towardzero): Likewise.
8711 (exp_test_downward): Likewise.
8712 (exp_test_upward): Likewise.
8713 (exp10_test): Likewise.
8714 (exp2_test): Likewise.
8715 (expm1_test): Likewise.
8716 (fabs_test): Likewise.
8717 (fdim_test): Likewise.
8718 (finite_test): Likewise.
8719 (floor_test): Likewise.
8720 (fma_test): Likewise.
8721 (fma_test_towardzero): Likewise.
8722 (fma_test_downward): Likewise.
8723 (fma_test_upward): Likewise.
8724 (fmax_test): Likewise.
8725 (fmin_test): Likewise.
8726 (fmod_test): Likewise.
8727 (fpclassify_test): Likewise.
8728 (frexp_test): Likewise.
8729 (gamma_test): Likewise.
8730 (hypot_test): Likewise.
8731 (ilogb_test): Likewise.
8732 (isfinite_test): Likewise.
8733 (isgreater_test): Likewise.
8734 (isgreaterequal_test): Likewise.
8735 (isinf_test): Likewise.
8736 (isless_test): Likewise.
8737 (islessequal_test): Likewise.
8738 (islessgreater_test): Likewise.
8739 (isnan_test): Likewise.
8740 (isnormal_test): Likewise.
8741 (issignaling_test): Likewise.
8742 (isunordered_test): Likewise.
8743 (j0_test): Likewise.
8744 (j1_test): Likewise.
8745 (jn_test): Likewise.
8746 (ldexp_test): Likewise.
8747 (lgamma_test): Likewise.
8748 (lrint_test): Likewise.
8749 (lrint_test_tonearest): Likewise.
8750 (lrint_test_towardzero): Likewise.
8751 (lrint_test_downward): Likewise.
8752 (lrint_test_upward): Likewise.
8753 (llrint_test): Likewise.
8754 (llrint_test_tonearest): Likewise.
8755 (llrint_test_towardzero): Likewise.
8756 (llrint_test_downward): Likewise.
8757 (llrint_test_upward): Likewise.
8758 (log_test): Likewise.
8759 (log10_test): Likewise.
8760 (log1p_test): Likewise.
8761 (log2_test): Likewise.
8762 (logb_test): Likewise.
8763 (logb_test_downward): Likewise.
8764 (lround_test): Likewise.
8765 (llround_test): Likewise.
8766 (modf_test): Likewise.
8767 (nearbyint_test): Likewise.
8768 (nextafter_test): Likewise.
8769 (nexttoward_test): Likewise.
8770 (pow_test): Likewise.
8771 (pow_test_tonearest): Likewise.
8772 (pow_test_towardzero): Likewise.
8773 (pow_test_downward): Likewise.
8774 (pow_test_upward): Likewise.
8775 (remainder_test): Likewise.
8776 (remainder_test_tonearest): Likewise.
8777 (remainder_test_towardzero): Likewise.
8778 (remainder_test_downward): Likewise.
8779 (remainder_test_upward): Likewise.
8780 (remquo_test): Likewise.
8781 (rint_test): Likewise.
8782 (rint_test_tonearest): Likewise.
8783 (rint_test_towardzero): Likewise.
8784 (rint_test_downward): Likewise.
8785 (rint_test_upward): Likewise.
8786 (round_test): Likewise.
8787 (scalb_test): Likewise.
8788 (scalbn_test): Likewise.
8789 (scalbln_test): Likewise.
8790 (signbit_test): Likewise.
8791 (sin_test): Likewise.
8792 (sin_test_tonearest): Likewise.
8793 (sin_test_towardzero): Likewise.
8794 (sin_test_downward): Likewise.
8795 (sin_test_upward): Likewise.
8796 (sincos_test): Likewise.
8797 (sinh_test): Likewise.
8798 (sinh_test_tonearest): Likewise.
8799 (sinh_test_towardzero): Likewise.
8800 (sinh_test_downward): Likewise.
8801 (sinh_test_upward): Likewise.
8802 (sqrt_test): Likewise.
8803 (tan_test): Likewise.
8804 (tan_test_tonearest): Likewise.
8805 (tan_test_towardzero): Likewise.
8806 (tan_test_downward): Likewise.
8807 (tan_test_upward): Likewise.
8808 (tanh_test): Likewise.
8809 (tgamma_test): Likewise.
8810 (trunc_test): Likewise.
8811 (y0_test): Likewise.
8812 (y1_test): Likewise.
8813 (yn_test): Likewise.
8814 (significand_test): Likewise.
8815
bae143d2
OB
88162013-05-24 Ondřej Bílka <neleai@seznam.cz>
8817
8818 [BZ #15381]
8819 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8820
9323d39b
EM
88212013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8822
d4ea44a0 8823 [BZ #14894]
9323d39b
EM
8824 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8825 __ppc_mdoio and __ppc_mdoom.
8826 * manual/platform.texi: Document new functions __ppc_yield,
8827 __ppc_mdoio and __ppc_mdoom.
8828
13e23af7
CD
88292013-05-22 Carlos O'Donell <carlos@redhat.com>
8830
8831 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8832 (main): Mention "tls" pseudo-hwcap is legacy.
8833 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8834
351fe550
JM
88352013-05-22 Joseph Myers <joseph@codesourcery.com>
8836
8837 * math/gen-libm-test.pl (parse_args): Output only string of
8838 arguments as text for test name, not full call or descriptions of
8839 tests for extra outputs.
8840 (generate_testfile): Do not pass function name to parse_args.
8841 Generate this_func variable from START.
8842 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8843 field to arg_str.
8844 (struct test_ff_f_data): Likewise.
8845 (test_ff_f_data_nexttoward): Likewise.
8846 (struct test_fi_f_data): Likewise.
8847 (struct test_fl_f_data): Likewise.
8848 (struct test_if_f_data): Likewise.
8849 (struct test_fff_f_data): Likewise.
8850 (struct test_c_f_data): Likewise.
8851 (struct test_f_f1_data): Likewise. Remove field extra_name.
8852 (struct test_fF_f1_data): Likewise.
8853 (struct test_ffI_f1_data): Likewise.
8854 (struct test_c_c_data): Rename test_name field to arg_str.
8855 (struct test_cc_c_data): Likewise.
8856 (struct test_f_i_data): Likewise.
8857 (struct test_ff_i_data): Likewise.
8858 (struct test_f_l_data): Likewise.
8859 (struct test_f_L_data): Likewise.
8860 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8861 and extra2_name.
8862 (COMMON_TEST_SETUP): New macro.
8863 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8864 (COMMON_TEST_CLEANUP): Likewise.
8865 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8866 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8867 macros.
8868 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8869 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8870 macros.
8871 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8872 (RUN_TEST_fff_f): Take argument string. Call new setup and
8873 cleanup macros.
8874 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8875 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8876 macros.
8877 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8878 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8879 macros.
8880 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8881 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8882 cleanup macros.
8883 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8884 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8885 cleanup macros.
8886 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8887 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8888 cleanup macros.
8889 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8890 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8891 macros.
8892 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8893 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8894 macros.
8895 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8896 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8897 macros.
8898 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8899 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8900 cleanup macros.
8901 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8902 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8903 cleanup macros.
8904 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8905 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8906 macros.
8907 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8908 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8909 cleanup macros.
8910 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8911 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8912 macros.
8913 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8914 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8915 macros.
8916 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8917 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8918 cleanup macros.
8919 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8920
85118d4d
EBM
89212013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8922
8923 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8924 to _sifields.sigfault.
8925 (si_addr_lsb): Define new macro.
8926 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8928 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8929
7a44c18f
CD
89302013-05-03 Carlos O'Donell <carlos at redhat.com>
8931
8932 [BZ #15441]
8933 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8934 returns -1.
8935 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8936 null return -1.
8937 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8938 loading the domain.
8939
b50a7181
JM
89402013-05-22 Joseph Myers <joseph@codesourcery.com>
8941
8942 * math/gen-libm-test.pl (parse_args): Do not include expected
8943 result in test name.
8944 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8946 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8947 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8948 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8950
051063c8
SP
89512013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8952
3ce9e010
SP
8953 * benchtests/Makefile: Sort function entries.
8954
051063c8
SP
8955 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8956 tanh, asinh, acosh, atanh.
8957 * benchtests/acos-inputs: New file.
8958 * benchtests/acosh-inputs: New file.
8959 * benchtests/asin-inputs: New file.
8960 * benchtests/asinh-inputs: New file.
8961 * benchtests/atanh-inputs: New file.
8962 * benchtests/cosh-inputs: New file.
8963 * benchtests/log-inputs: New file.
8964 * benchtests/sinh-inputs: New file.
8965 * benchtests/tanh-inputs: New file.
8966
47c22455
DL
89672013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8968
8969 [BZ #15339]
8970 * posix/tst-getaddrinfo4.c: New test.
8971 * posix/Makefile (tests): Add it.
8972
3d04f5db
SP
89732013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8974
8975 [BZ #15339]
8976 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8977 when no services were used.
8978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8979 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8980
d5dd6189
AS
89812013-05-21 Andreas Schwab <schwab@suse.de>
8982
8983 [BZ #15014]
8984 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8985 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8986 successful.
8987 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8988 redundant variable declarations and reallocation of buffer when
8989 parsing as IPv6 address. Always set NSS status when called from
8990 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8991 buffer too small. Correct computation of needed size.
8992 * nss/Makefile (tests): Add test-digits-dots.
8993 * nss/test-digits-dots.c: New test.
8994
fef94eab
SP
89952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8996
8997 * benchtests/Makefile: Remove instructions for adding
8998 benchmark tests.
8999 * benchtests/README: New file to explain how to execute and
9000 enhance the benchmark tests.
9001
e39adf43
AS
90022013-05-21 Andreas Schwab <schwab@suse.de>
9003
9004 [BZ #15493]
9005 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9006 * setjmp/tst-sigsetjmp.c: New test.
9007
b2b671b6
OB
90082013-05-20 Ondřej Bílka <neleai@seznam.cz>
9009
9010 * sysdeps/x86_64/memset.S (memset): New implementation.
9011 (__bzero): Likewise.
9012 (__memset_tail): New function.
9013
2d48b41c
OB
90142013-05-20 Ondřej Bílka <neleai@seznam.cz>
9015
9016 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9017 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9018 __memcpy_sse2_unaligned ifunc selection.
9019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9020 Add memcpy-sse2-unaligned.S.
9021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9022 Add: __memcpy_sse2_unaligned.
9023
f16cc3eb
JM
90242013-05-19 Joseph Myers <joseph@codesourcery.com>
9025
3e694268
JM
9026 [BZ #15490]
9027 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9028 math_force_eval before restoring floating-point envrionment.
9029 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9031 Likewise.
9032 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9033 <math_private.h>.
9034 (__nearbyintl): Use math_force_eval before restoring
9035 floating-point environment.
9036 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9037
db62a907
JM
9038 * math/gen-libm-test.pl (special_functions): Remove.
9039 (parse_args): Don't handle TEST_extra. Handle functions with no
9040 return value.
9041 * math/libm-test.inc (struct test_sincos_data): Replace with
9042 struct test_fFF_11_data.
9043 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9044 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9045 (sincos_test_data): Change element type to struct
9046 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9047 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9048 RUN_TEST_LOOP_sincos.
9049 * math/README.libm-test: Don't mention special handling of
9050 individual functions.
9051 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9053 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9054 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9055 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9057
f16cc3eb
JM
9058 * math/gen-libm-test.pl (get_variable): Remove function.
9059 (parse_args): Don't show pointer parameters to call in test
9060 names. Use "extra output N" in test names for extra outputs
9061 rather than naming variables.
9062
3779b5b6
JM
90632013-05-18 Joseph Myers <joseph@codesourcery.com>
9064
2ee094ff
JM
9065 [BZ #15488]
9066 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9067 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9068 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9069 double tests.
9070 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9071 disable.
9072 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9073 check_long_double.
9074
3779b5b6
JM
9075 * math/gen-libm-test.pl (@tests): Remove variable.
9076 ($count): Likewise.
9077 (new_test): Remove function.
9078 (show_exceptions): New function.
9079 (special_functions): Use show_exceptions instead of new_test.
9080 (parse_args): Likewise.
9081 (generate_testfile): Pass only function name in generated call to
9082 print_max_error or print_complex_max_error.
9083 (get_ulps): Do not handle complex tests specially.
9084 (output_test): Rename to ...
9085 (get_all_ulps_for_test): ... this. Return a string rather than
9086 printing to a file. Require ulps to be present.
9087 (output_ulps): Generate arrays rather than #defines.
9088 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9089 (struct ulp_data): New type.
9090 (BUILD_COMPLEX_ULP): Remove macro.
9091 (compare_ulp_data): New function.
9092 (find_ulps): Likewise.
9093 (find_test_ulps): Likewise.
9094 (find_function_ulps): Likewise.
9095 (find_complex_function_ulps): Likewise.
9096 (print_max_error): Determine allowed ulps using
9097 find_function_ulps.
9098 (print_complex_max_error): Determine allowed ulps using
9099 find_complex_function_ulps.
9100 (check_float_internal): Determine max ulps using find_test_ulps.
9101 (check_float): Do not take max_ulp parameter. Update call to
9102 check_float_internal.
9103 (check_complex): Likewise.
9104 (check_int): Do not take max_ulp parameter.
9105 (check_long): Likewise.
9106 (check_bool): Likewise.
9107 (check_longlong): Likewise.
9108 (struct test_f_f_data): Remove max_ulp field.
9109 (struct test_ff_f_data): Likewise.
9110 (struct test_ff_f_data_nexttoward): Likewise.
9111 (struct test_fi_f_data): Likewise.
9112 (struct test_fl_f_data): Likewise.
9113 (struct test_if_f_data): Likewise.
9114 (struct test_fff_f_data): Likewise.
9115 (struct test_c_f_data): Likewise.
9116 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9117 (struct test_fF_f1_data): Likewise.
9118 (struct test_ffI_f1_data): Likewise.
9119 (struct test_c_c_data): Remove max_ulp field.
9120 (struct test_cc_c_data): Likewise.
9121 (struct test_f_i_data): Likewise.
9122 (struct test_ff_i_data): Likewise.
9123 (struct test_f_l_data): Likewise.
9124 (struct test_f_L_data): Likewise.
9125 (struct test_sincos_data): Likewise.
9126 (RUN_TEST_f_f): Do not handle ulps.
9127 (RUN_TEST_LOOP_f_f): Likewise.
9128 (RUN_TEST_2_f): Likewise.
9129 (RUN_TEST_LOOP_2_f): Likewise.
9130 (RUN_TEST_fff_f): Likewise.
9131 (RUN_TEST_LOOP_fff_f): Likewise.
9132 (RUN_TEST_c_f): Likewise.
9133 (RUN_TEST_LOOP_c_f): Likewise.
9134 (RUN_TEST_f_f1): Likewise.
9135 (RUN_TEST_LOOP_f_f1): Likewise.
9136 (RUN_TEST_fF_f1): Likewise.
9137 (RUN_TEST_LOOP_fF_f1): Likewise.
9138 (RUN_TEST_fI_f1): Likewise.
9139 (RUN_TEST_LOOP_fI_f1): Likewise.
9140 (RUN_TEST_ffI_f1): Likewise.
9141 (RUN_TEST_LOOP_ffI_f1): Likewise.
9142 (RUN_TEST_c_c): Likewise.
9143 (RUN_TEST_LOOP_c_c): Likewise.
9144 (RUN_TEST_cc_c): Likewise.
9145 (RUN_TEST_LOOP_cc_c): Likewise.
9146 (RUN_TEST_f_i): Likewise.
9147 (RUN_TEST_LOOP_f_i): Likewise.
9148 (RUN_TEST_f_i_tg): Likewise.
9149 (RUN_TEST_LOOP_f_i_tg): Likewise.
9150 (RUN_TEST_ff_i_tg): Likewise.
9151 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9152 (RUN_TEST_f_b): Likewise.
9153 (RUN_TEST_LOOP_f_b): Likewise.
9154 (RUN_TEST_f_b_tg): Likewise.
9155 (RUN_TEST_LOOP_f_b_tg): Likewise.
9156 (RUN_TEST_f_l): Likewise.
9157 (RUN_TEST_LOOP_f_l): Likewise.
9158 (RUN_TEST_f_L): Likewise.
9159 (RUN_TEST_LOOP_f_L): Likewise.
9160 (RUN_TEST_sincos): Likewise.
9161 (RUN_TEST_LOOP_sincos): Likewise.
9162
8269107f
JM
91632013-05-17 Joseph Myers <joseph@codesourcery.com>
9164
bb38759d
JM
9165 [BZ #15480]
9166 [BZ #15485]
9167 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9168 main case of finite arguments, set rounding mode to FE_TONEAREST
9169 and discard exceptions.
9170 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9171 exceptions.
9172 (remainder_tonearest_test_data): New variable.
9173 (remainder_test_tonearest): New function.
9174 (remainder_towardzero_test_data): New variable.
9175 (remainder_test_towardzero): New function.
9176 (remainder_downward_test_data): New variable.
9177 (remainder_test_downward): New function.
9178 (remainder_upward_test_data): New variable.
9179 (remainder_test_upward): New function.
9180 (main): Call the new test functions.
9181
a00bdcf0
JM
9182 * math/libm-test.inc (struct test_f_f1_data): Remove field
9183 extra_init.
9184 (struct test_fF_f1_data): Likewise.
9185 (struct test_ffI_f1_data): Likewise.
9186 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9187 based on value of EXTRA_EXPECTED.
9188 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9189 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9190 EXTRA_VAR based on value of EXTRA_EXPECTED.
9191 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9192 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9193 EXTRA_VAR based on value of EXTRA_EXPECTED.
9194 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9195 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9196 EXTRA_VAR based on value of EXTRA_EXPECTED.
9197 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9198 * math/gen-libm-test.pl (parse_args): Don't output initializers
9199 for extra output values.
9200
de407f79
JM
9201 * math/libm-test.inc (check_int): Expect result to be exactly
9202 equal to expected value and do not handle ulps.
9203 (check_long): Likewise.
9204 (check_longlong): Likewise.
9205
8269107f
JM
9206 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9207 exceptions.
9208 (cimag_test_data): Likewise.
9209 (conj_test_data): Likewise.
9210 (copysign_test_data): Likewise.
9211 (cproj_test_data): Likewise.
9212 (creal_test_data): Likewise.
9213 (fabs_test_data): Likewise.
9214 (fdim_test_data): Likewise.
9215 (finite_test_data): Likewise.
9216 (floor_test_data): Likewise.
9217 (fmax_test_data): Likewise.
9218 (fmin_test_data): Likewise.
9219 (fmod_test_data): Likewise.
9220 (fpclassify_test_data): Likewise.
9221 (frexp_test_data): Likewise.
9222 (ilogb_test_data): Likewise.
9223 (isfinite_test_data): Likewise.
9224 (isgreater_test_data): Likewise.
9225 (isgreaterequal_test_data): Likewise.
9226 (isinf_test_data): Likewise.
9227 (isless_test_data): Likewise.
9228 (islessequal_test_data): Likewise.
9229 (islessgreater_test_data): Likewise.
9230 (isnan_test_data): Likewise.
9231 (isnormal_test_data): Likewise.
9232 (issignaling_test_data): Likewise.
9233 (isunordered_test_data): Likewise.
9234 (ldexp_test_data): Likewise.
9235 (lrint_test_data): Likewise.
9236 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9237 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9238 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9239 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9240 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9241 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9242 test input.
9243 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9244 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9245 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9246 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9247 that test input.
9248 (lrint_downward_test_data): Test for "inexact" exceptions.
9249 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9250 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9251 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9252 test input.
9253 (lrint_upward_test_data): Test for "inexact" exceptions.
9254 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9255 test input.
9256 (llrint_test_data): Test for "inexact" exceptions.
9257 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9258 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9259 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9260 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9261 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9262 (llrint_downward_test_data): Test for "inexact" exceptions.
9263 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9264 (llrint_upward_test_data): Test for "inexact" exceptions.
9265 (logb_test_data): Likewise.
9266 (logb_downward_test_data): Likewise.
9267 (nextafter_test_data): Likewise.
9268 (nexttoward_test_data): Likewise.
9269 (remainder_test_data): Likewise.
9270 (remquo_test_data): Likewise.
9271 (scalbn_test_data): Likewise.
9272 (scalbln_test_data): Likewise.
9273 (signbit_test_data): Likewise.
9274 (sqrt_test_data): Likewise.
9275 (significand_test_data): Likewise.
9276
48a18de1
SP
92772013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9278
9279 [BZ #15424]
9280 * benchtests/bench-modf.c (struct args): Mark arg0 as
9281 volatile.
9282 * scripts/bench.pl: Mark members of struct args as volatile.
9283
13d3b41a
AZ
92842013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9285
68191c1d 9286 [BZ # 15497]
13d3b41a
AZ
9287 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9288 negative infinity on POWER6 or lower.
9289 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9290
2848b105
MR
92912013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9292
9293 [BZ #15442]
9294 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9295 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9296 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9297 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9298 (_FP_SETQNAN): New macro.
9299 (_FP_SETQNAN_SEMIRAW): Likewise.
9300 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9301 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9302 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9303 (FP_EXTEND): Use _FP_FRAC_SNANP.
9304 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9305 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9306 into account.
9307 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9308 New macro.
9309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9310 Likewise.
9311
323e5cb7
JM
93122013-05-16 Joseph Myers <joseph@codesourcery.com>
9313
c58b274f
JM
9314 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9315 with DIVIDE_BY_ZERO_EXCEPTION.
9316 (gamma_test_data): Likewise.
9317 (lgamma_test_data): Likewise.
9318 (log_test_data): Likewise.
9319 (log10_test_data): Likewise.
9320 (log2_test_data): Likewise.
9321 (tgamma_test_data): Likewise.
9322
0ab34904
JM
9323 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9324 (acos_test_tonearest): Likewise.
9325 (acos_test_towardzero): Likewise.
9326 (acos_test_downward): Likewise.
9327 (acos_test_upward): Likewise.
9328 (acosh_test): Likewise.
9329 (asin_test): Likewise.
9330 (asin_test_tonearest): Likewise.
9331 (asin_test_towardzero): Likewise.
9332 (asin_test_downward): Likewise.
9333 (asin_test_upward): Likewise.
9334 (asinh_test): Likewise.
9335 (atan_test): Likewise.
9336 (atanh_test): Likewise.
9337 (atan2_test): Likewise.
9338 (cabs_test): Likewise.
9339 (cacos_test): Likewise.
9340 (cacosh_test): Likewise.
9341 (casin_test): Likewise.
9342 (casinh_test): Likewise.
9343 (catan_test): Likewise.
9344 (catanh_test): Likewise.
9345 (cbrt_test): Likewise.
9346 (ccos_test): Likewise.
9347 (ccosh_test): Likewise.
9348 (cexp_test): Likewise.
9349 (clog_test): Likewise.
9350 (clog10_test): Likewise.
9351 (cos_test): Likewise.
9352 (cos_test_tonearest): Likewise.
9353 (cos_test_towardzero): Likewise.
9354 (cos_test_downward): Likewise.
9355 (cos_test_upward): Likewise.
9356 (cosh_test): Likewise.
9357 (cosh_test_tonearest): Likewise.
9358 (cosh_test_towardzero): Likewise.
9359 (cosh_test_downward): Likewise.
9360 (cosh_test_upward): Likewise.
9361 (cpow_test): Likewise.
9362 (csin_test): Likewise.
9363 (csinh_test): Likewise.
9364 (csqrt_test): Likewise.
9365 (ctan_test): Likewise.
9366 (ctan_test_tonearest): Likewise.
9367 (ctan_test_towardzero): Likewise.
9368 (ctan_test_downward): Likewise.
9369 (ctan_test_upward): Likewise.
9370 (ctanh_test): Likewise.
9371 (ctanh_test_tonearest): Likewise.
9372 (ctanh_test_towardzero): Likewise.
9373 (ctanh_test_downward): Likewise.
9374 (ctanh_test_upward): Likewise.
9375 (erf_test): Likewise.
9376 (erfc_test): Likewise.
9377 (exp_test): Likewise.
9378 (exp_test_tonearest): Likewise.
9379 (exp_test_towardzero): Likewise.
9380 (exp_test_downward): Likewise.
9381 (exp_test_upward): Likewise.
9382 (exp10_test): Likewise.
9383 (exp2_test): Likewise.
9384 (expm1_test): Likewise.
9385 (fmod_test): Likewise.
9386 (gamma_test): Likewise.
9387 (hypot_test): Likewise.
9388 (j0_test): Likewise.
9389 (j1_test): Likewise.
9390 (jn_test): Likewise.
9391 (lgamma_test): Likewise.
9392 (log_test): Likewise.
9393 (log10_test): Likewise.
9394 (log1p_test): Likewise.
9395 (log2_test): Likewise.
9396 (logb_test_downward): Likewise.
9397 (pow_test): Likewise.
9398 (pow_test_tonearest): Likewise.
9399 (pow_test_towardzero): Likewise.
9400 (pow_test_downward): Likewise.
9401 (pow_test_upward): Likewise.
9402 (remainder_test): Likewise.
9403 (remquo_test): Likewise.
9404 (sin_test): Likewise.
9405 (sin_test_tonearest): Likewise.
9406 (sin_test_towardzero): Likewise.
9407 (sin_test_downward): Likewise.
9408 (sin_test_upward): Likewise.
9409 (sincos_test): Likewise.
9410 (sinh_test): Likewise.
9411 (sinh_test_tonearest): Likewise.
9412 (sinh_test_towardzero): Likewise.
9413 (sinh_test_downward): Likewise.
9414 (sinh_test_upward): Likewise.
9415 (sqrt_test): Likewise.
9416 (tan_test): Likewise.
9417 (tan_test_tonearest): Likewise.
9418 (tan_test_towardzero): Likewise.
9419 (tan_test_downward): Likewise.
9420 (tan_test_upward): Likewise.
9421 (tanh_test): Likewise.
9422 (tgamma_test): Likewise.
9423 (y0_test): Likewise.
9424 (y1_test): Likewise.
9425 (yn_test): Likewise.
9426
323e5cb7
JM
9427 * math/gen-libm-test.pl (adjust_arg): Remove function.
9428 (special_function): Remove argument $in_func. Only handle
9429 generating output for tables of tests, not inside functions.
9430 (parse_args): Likewise.
9431 (generate_testfile): Remove variable $in_func. Update call to
9432 parse_args.
9433 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9434 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9435 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9436 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9437 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9438 (MAX_VALUE_INIT): Rename macro to max_value.
9439 (MIN_VALUE_INIT): Rename macro to min_value.
9440 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9441 (plus_zero): Remove variable.
9442 (minus_zero): Likewise.
9443 (plus_infty): Likewise.
9444 (minus_infty): Likewise.
9445 (qnan_value): Likewise.
9446 (max_value): Likewise.
9447 (min_value): Likewise.
9448 (min_subnorm_value): Likewise.
9449
e054f494
RA
94502013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9451
9452 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9453 uint64_t or uint32_t usage.
9454 * crypt/sha256-block.c: Likewise.
9455 * crypt/sha256-crypt.c: Likewise.
9456 * crypt/sha256.c: Likewise.
9457 * crypt/sha512-block.c: Likewise.
9458 * crypt/sha512-crypt.c: Likewise.
9459 * crypt/sha512.c: Likewise.
9460 * debug/backtrace-tst.c: Likewise.
9461 * debug/pcprofiledump.c: Likewise.
9462 * elf/cache.c: Likewise.
9463 * elf/dl-cache.c: Likewise.
9464 * elf/dl-misc.c: Likewise.
9465 * elf/dl-profile.c: Likewise.
9466 * elf/dl-support.c: Likewise.
9467 * elf/ldconfig.c: Likewise.
9468 * elf/sprof.c: Likewise.
9469 * iconv/dummy-repertoire.c: Likewise.
9470 * iconv/iconv_charmap.c: Likewise.
9471 * iconv/skeleton.c: Likewise.
9472 * iconvdata/8bit-generic.c: Likewise.
9473 * iconvdata/cp737.h: Likewise.
9474 * iconvdata/cp775.h: Likewise.
9475 * iconvdata/ibm1008.h: Likewise.
9476 * iconvdata/ibm1025.h: Likewise.
9477 * iconvdata/ibm1046.h: Likewise.
9478 * iconvdata/ibm1097.h: Likewise.
9479 * iconvdata/ibm1112.h: Likewise.
9480 * iconvdata/ibm1122.h: Likewise.
9481 * iconvdata/ibm1123.h: Likewise.
9482 * iconvdata/ibm1124.h: Likewise.
9483 * iconvdata/ibm1129.h: Likewise.
9484 * iconvdata/ibm1130.h: Likewise.
9485 * iconvdata/ibm1132.h: Likewise.
9486 * iconvdata/ibm1133.h: Likewise.
9487 * iconvdata/ibm1137.h: Likewise.
9488 * iconvdata/ibm1140.h: Likewise.
9489 * iconvdata/ibm1141.h: Likewise.
9490 * iconvdata/ibm1142.h: Likewise.
9491 * iconvdata/ibm1143.h: Likewise.
9492 * iconvdata/ibm1144.h: Likewise.
9493 * iconvdata/ibm1145.h: Likewise.
9494 * iconvdata/ibm1146.h: Likewise.
9495 * iconvdata/ibm1147.h: Likewise.
9496 * iconvdata/ibm1148.h: Likewise.
9497 * iconvdata/ibm1149.h: Likewise.
9498 * iconvdata/ibm1153.h: Likewise.
9499 * iconvdata/ibm1154.h: Likewise.
9500 * iconvdata/ibm1155.h: Likewise.
9501 * iconvdata/ibm1156.h: Likewise.
9502 * iconvdata/ibm1157.h: Likewise.
9503 * iconvdata/ibm1158.h: Likewise.
9504 * iconvdata/ibm1160.h: Likewise.
9505 * iconvdata/ibm1161.h: Likewise.
9506 * iconvdata/ibm1162.h: Likewise.
9507 * iconvdata/ibm1163.h: Likewise.
9508 * iconvdata/ibm1164.h: Likewise.
9509 * iconvdata/ibm1166.h: Likewise.
9510 * iconvdata/ibm1167.h: Likewise.
9511 * iconvdata/ibm12712.h: Likewise.
9512 * iconvdata/ibm1390.h: Likewise.
9513 * iconvdata/ibm1399.h: Likewise.
9514 * iconvdata/ibm16804.h: Likewise.
9515 * iconvdata/ibm4517.h: Likewise.
9516 * iconvdata/ibm4899.h: Likewise.
9517 * iconvdata/ibm4909.h: Likewise.
9518 * iconvdata/ibm4971.h: Likewise.
9519 * iconvdata/ibm5347.h: Likewise.
9520 * iconvdata/ibm803.h: Likewise.
9521 * iconvdata/ibm856.h: Likewise.
9522 * iconvdata/ibm901.h: Likewise.
9523 * iconvdata/ibm902.h: Likewise.
9524 * iconvdata/ibm9030.h: Likewise.
9525 * iconvdata/ibm9066.h: Likewise.
9526 * iconvdata/ibm921.h: Likewise.
9527 * iconvdata/ibm922.h: Likewise.
9528 * iconvdata/ibm9448.h: Likewise.
9529 * iconvdata/isiri-3342.h: Likewise.
9530 * iconvdata/jis0201.h: Likewise.
9531 * include/link.h: Likewise.
9532 * include/netdb.h: Likewise.
9533 * inet/check_native.c: Likewise.
9534 * inet/check_pf.c: Likewise.
9535 * inet/getipv4sourcefilter.c: Likewise.
9536 * inet/getnameinfo.c: Likewise.
9537 * inet/getsourcefilter.c: Likewise.
9538 * inet/htonl.c: Likewise.
9539 * inet/setipv4sourcefilter.c: Likewise.
9540 * inet/setsourcefilter.c: Likewise.
9541 * inet/test-inet6_opt.c: Likewise.
9542 * inet/tst-network.c: Likewise.
9543 * locale/C-collate.c: Likewise.
9544 * locale/C-ctype.c: Likewise.
9545 * locale/C-time.c: Likewise.
9546 * locale/C-translit.h: Likewise.
9547 * locale/loadarchive.c: Likewise.
9548 * locale/programs/3level.h: Likewise.
9549 * locale/programs/charmap.c: Likewise.
9550 * locale/programs/charmap.h: Likewise.
9551 * locale/programs/ld-address.c: Likewise.
9552 * locale/programs/ld-collate.c: Likewise.
9553 * locale/programs/ld-ctype.c: Likewise.
9554 * locale/programs/ld-identification.c: Likewise.
9555 * locale/programs/ld-measurement.c: Likewise.
9556 * locale/programs/ld-messages.c: Likewise.
9557 * locale/programs/ld-monetary.c: Likewise.
9558 * locale/programs/ld-name.c: Likewise.
9559 * locale/programs/ld-numeric.c: Likewise.
9560 * locale/programs/ld-paper.c: Likewise.
9561 * locale/programs/ld-telephone.c: Likewise.
9562 * locale/programs/ld-time.c: Likewise.
9563 * locale/programs/linereader.c: Likewise.
9564 * locale/programs/locale.c: Likewise.
9565 * locale/programs/locarchive.c: Likewise.
9566 * locale/programs/locfile.h: Likewise.
9567 * locale/programs/repertoire.c: Likewise.
9568 * locale/programs/simple-hash.c: Likewise.
9569 * locale/programs/simple-hash.h: Likewise.
9570 * malloc/memusage.c: Likewise.
9571 * malloc/memusagestat.c: Likewise.
9572 * nis/nis_defaults.c: Likewise.
9573 * nis/nis_hash.c: Likewise.
9574 * nis/nis_print.c: Likewise.
9575 * nis/nis_xdr.c: Likewise.
9576 * nscd/connections.c: Likewise.
9577 * nscd/hstcache.c: Likewise.
9578 * nscd/nscd_gethst_r.c: Likewise.
9579 * nscd/nscd_getserv_r.c: Likewise.
9580 * nscd/nscd_helper.c: Likewise.
9581 * nscd/servicescache.c: Likewise.
9582 * nss/makedb.c: Likewise.
9583 * nss/nss_db/db-XXX.c: Likewise.
9584 * nss/nss_db/db-initgroups.c: Likewise.
9585 * nss/nss_db/db-netgrp.c: Likewise.
9586 * nss/nss_files/files-network.c: Likewise.
9587 * nss/nss_files/files-parse.c: Likewise.
9588 * posix/bug-regex5.c: Likewise.
9589 * posix/fnmatch_loop.c: Likewise.
9590 * posix/regcomp.c: Likewise.
9591 * posix/regexec.c: Likewise.
9592 * posix/tst-rfc3484-2.c: Likewise.
9593 * posix/tst-rfc3484-3.c: Likewise.
9594 * posix/tst-rfc3484.c: Likewise.
9595 * resolv/nss_dns/dns-canon.c: Likewise.
9596 * resolv/nss_dns/dns-network.c: Likewise.
9597 * resolv/res_init.c: Likewise.
9598 * resolv/res_mkquery.c: Likewise.
9599 * resolv/tst-aton.c: Likewise.
9600 * stdlib/cxa_atexit.c: Likewise.
9601 * stdlib/cxa_finalize.c: Likewise.
9602 * stdlib/gen-fpioconst.c: Likewise.
9603 * stdlib/strtol_l.c: Likewise.
9604 * string/tst-endian.c: Likewise.
9605 * sunrpc/auth_des.c: Likewise.
9606 * sunrpc/clnt_udp.c: Likewise.
9607 * sunrpc/rtime.c: Likewise.
9608 * sunrpc/svcauth_des.c: Likewise.
9609 * sunrpc/xdr.c: Likewise.
9610 * sunrpc/xdr_intXX_t.c: Likewise.
9611 * sunrpc/xdr_rec.c: Likewise.
9612 * sysdeps/generic/ldconfig.h: Likewise.
9613 * sysdeps/generic/ldsodefs.h: Likewise.
9614 * sysdeps/generic/memusage.h: Likewise.
9615 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9618 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9625 * sysdeps/posix/getaddrinfo.c: Likewise.
9626 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9627 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9628 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9629 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9630 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9631 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9632 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9633 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9634 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9635 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9636 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9637 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9638 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9639 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9640 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9641 * sysdeps/x86_64/dl-tls.h: Likewise.
9642 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9643 * time/alt_digit.c: Likewise.
9644 * time/era.c: Likewise.
9645 * wcsmbs/tst-c16c32-1.c: Likewise.
9646
8c75f674
JM
96472013-05-16 Joseph Myers <joseph@codesourcery.com>
9648
9649 * math/libm-test.inc (struct test_sincos_data): New type.
9650 (RUN_TEST_LOOP_sincos): New macro.
9651 (sincos_test_data): New variable.
9652 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9653
e6e49e59
RH
96542013-05-16 Richard Henderson <rth@redhat.com>
9655
9656 * math/atest-exp2.c (LIMB64): New macro.
9657 (CONSTSZ): New macro.
9658 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9659 (hexdig): Move ...
9660 (print_mpn_fp): ... to function scope.
9661 (read_mpn_hex): Remove.
9662 (get_log2): Remove.
9663 (exp2_mpn): Use mp_log2.
9664 (main): Use mp_exp1.
9665
15c7c18d
JM
96662013-05-16 Joseph Myers <joseph@codesourcery.com>
9667
105a07df
JM
9668 * math/libm-test.inc: Remove comment about not testing "inexact"
9669 exceptions.
9670 (INEXACT_EXCEPTION): New macro.
9671 (NO_INEXACT_EXCEPTION): Likewise.
9672 (INVALID_EXCEPTION_OK): Update value.
9673 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9674 (OVERFLOW_EXCEPTION_OK): Likewise.
9675 (UNDERFLOW_EXCEPTION_OK): Likewise.
9676 (IGNORE_ZERO_INF_SIGN): Likewise.
9677 (ERRNO_UNCHANGED): Likewise.
9678 (ERRNO_EDOM): Likewise.
9679 (ERRNO_ERANGE): Likewise.
9680 (test_exceptions): Handle testing "inexact" exceptions.
9681 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9682 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9683 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9684 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9685 INEXACT_EXCEPTION.
9686 (rint_towardzero_test_data): Likewise.
9687 (rint_downward_test_data): Likewise.
9688 (rint_upward_test_data): Likewise.
9689
e9eee333
JM
9690 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9691 with OVERFLOW_EXCEPTION.
9692 (exp10_test_data): Likewise.
9693 (exp2_test_data): Likewise.
9694 (expm1_test_data): Likewise.
9695 (lgamma_test_data): Likewise.
9696 (pow_test_data): Likewise.
9697 (tgamma_test_data): Likewise.
9698 (yn_test_data): Remove duplicate test of overflow.
9699
1c38ff73
JM
9700 * math/libm-test.inc (struct test_cc_c_data): New type.
9701 (RUN_TEST_LOOP_cc_c): New macro.
9702 (cpow_test_data): New variable.
9703 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9704
15c7c18d
JM
9705 * math/libm-test.inc (struct test_f_L_data): New type.
9706 (RUN_TEST_LOOP_f_L): New macro.
9707 (llrint_test_data): New variable.
9708 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9709 (llrint_tonearest_test_data): New variable.
9710 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9711 (llrint_towardzero_test_data): New variable.
9712 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9713 (llrint_downward_test_data): New variable.
9714 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9715 (llrint_upward_test_data): New variable.
9716 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9717 (llround_test_data): New variable.
9718 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9719
f137ff13
PC
97202013-05-13 Peter Collingbourne <pcc@google.com>
9721
9722 * math/atest-exp2.c (get_log2): Remove const attribute.
9723
3608cb24
JM
97242013-05-15 Joseph Myers <joseph@codesourcery.com>
9725
9726 * math/libm-test.inc (struct test_f_l_data): New type.
9727 (RUN_TEST_LOOP_f_l): New macro.
9728 (lrint_test_data): New variable.
9729 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9730 (lrint_tonearest_test_data): New variable.
9731 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9732 (lrint_towardzero_test_data): New variable.
9733 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9734 (lrint_downward_test_data): New variable.
9735 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9736 (lrint_upward_test_data): New variable.
9737 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9738 (lround_test_data): New variable.
9739 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9740
39b1f617
PC
97412013-05-15 Peter Collingbourne <pcc@google.com>
9742
1deff3dc
PC
9743 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9744 (EXTRACT_WORDS64) Use where appropriate.
9745 (INSERT_WORDS64) Likewise.
9746
791f3ba0
PC
9747 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9748 constraints with x constraints.
9749 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9750
39b1f617
PC
9751 * malloc/obstack.c (_obstack_compat): Add initializer.
9752
12fba011
EM
97532013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9754
9755 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9756 si_trapno and add si_addr_lsb to _sifields.sigfault.
9757 (si_trapno): Remove macro.
9758 (si_addr_lsb): Define new macro.
9759 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9760
d369f531
JM
97612013-05-15 Joseph Myers <joseph@codesourcery.com>
9762
b861c6c4
JM
9763 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9764 instead of TEST_f_l.
9765 (llrint_test_tonearest): Likewise.
9766 (llrint_test_towardzero): Likewise.
9767 (llrint_test_downward): Likewise.
9768 (llrint_test_upward): Likewise.
9769 (llround_test): Likewise.
9770
7abeee12
JM
9771 * math/libm-test.inc (struct test_f_i_data): Add comment.
9772 (RUN_TEST_LOOP_f_b): New macro.
9773 (RUN_TEST_LOOP_f_b_tg): Likewise.
9774 (finite_test_data): New variable.
9775 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9776 (isfinite_test_data): New variable.
9777 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9778 (isinf_test_data): New variable.
9779 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9780 (isnan_test_data): New variable.
9781 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9782 (isnormal_test_data): New variable.
9783 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9784 (issignaling_test_data): New variable.
9785 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9786 (signbit_test_data): New variable.
9787 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9788
cbe8c4d3
JM
9789 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9790 with INVALID_EXCEPTION.
9791 (acosh_test_data): Likewise.
9792 (asin_test_data): Likewise.
9793 (atanh_test_data): Likewise.
9794 (fmod_test_data): Likewise.
9795 (log_test_data): Likewise.
9796 (log10_test_data): Likewise.
9797 (log2_test_data): Likewise.
9798 (pow_test_data): Likewise.
9799 (sqrt_test_data): Likewise.
9800 (y0_test_data): Likewise.
9801 (y1_test_data): Likewise.
9802 (yn_test_data): Likewise.
9803
5575c0e5
JM
9804 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9805 function contents.
9806
d369f531
JM
9807 * math/libm-test.inc (struct test_ff_i_data): New type.
9808 (RUN_TEST_LOOP_ff_i_tg): New macro.
9809 (isgreater_test_data): New variable.
9810 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9811 (isgreaterequal_test_data): New variable.
9812 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9813 (isless_test_data): New variable.
9814 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9815 (islessequal_test_data): New variable.
9816 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9817 (islessgreater_test_data): New variable.
9818 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9819 (isunordered_test_data): New variable.
9820 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9821
781fd748
DM
98222013-05-14 David S. Miller <davem@davemloft.net>
9823
9824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9825
87aa21df
JM
98262013-05-14 Joseph Myers <joseph@codesourcery.com>
9827
5e908270
JM
9828 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9829
f71172e5
JM
9830 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9831 extra_test to int.
9832 (struct test_f_i_data): Change type of max_ulp to int.
9833
8cfa635a
JM
9834 * math/libm-test.inc (test_ffI_f1_data): New type.
9835 (RUN_TEST_LOOP_ffI_f1): New macro.
9836 (remquo_test_data): New variable.
9837 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9838
2bcb36b2
JM
9839 * setjmp/tst-setjmp-fp.c: New file.
9840 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9841 (link-libm): New variable.
9842 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9843
acbd839a
JM
9844 * math/libm-test.inc (struct test_f_i_data): New type.
9845 (RUN_TEST_LOOP_f_i): New macro.
9846 (RUN_TEST_LOOP_f_i_tg): Likewise.
9847 (fpclassify_test_data): New variable.
9848 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9849 (ilogb_test_data): New variable.
9850 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9851
e414d745
JM
9852 * math/libm-test.inc (scalbln_test): Correct function name in END
9853 call.
9854
d9c2a0fd
JM
9855 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9856 (RUN_TEST_LOOP_fI_f1): New macro.
9857 (frexp_test_data): New variable.
9858 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9859
9dc9095d
JM
9860 * math/libm-test.inc (struct test_fF_f1_data): New type.
9861 (RUN_TEST_LOOP_fF_f1): New macro.
9862 (modf_test_data): New variable.
9863 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9864
87aa21df
JM
9865 * math/libm-test.inc (struct test_f_f1_data): New type.
9866 (RUN_TEST_LOOP_f_f1): New macro.
9867 (gamma_test_data): New variable.
9868 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9869 (lgamma_test_data): New variable.
9870 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9871
141af660
CD
98722013-05-13 Carlos O'Donell <carlos@redhat.com>
9873
9874 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9875 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9876 (main): Comment "tls" pseudo-hwcap.
9877
6d33265c
JM
98782013-05-13 Joseph Myers <joseph@codesourcery.com>
9879
68fc074c
JM
9880 * math/libm-test.inc (struct test_fl_f_data): New type.
9881 (RUN_TEST_LOOP_fl_f): New variable.
9882 (scalbln_test_data): New variable.
9883 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9884
243216e1
JM
9885 * math/libm-test.inc (struct test_fi_f_data): New type.
9886 (RUN_TEST_LOOP_fi_f): New macro.
9887 (ldexp_test_data): New variable.
9888 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9889 (scalbn_test_data): New variable.
9890 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9891
6a1992e2
JM
9892 * math/libm-test.inc (struct test_c_f_data): New type.
9893 (RUN_TEST_LOOP_c_f): New macro.
9894 (cabs_test_data): New variable.
9895 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9896 (carg_test_data): New variable.
9897 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9898 (cimag_test_data): New variable.
9899 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9900 (creal_test_data): New variable.
9901 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9902
0e400df5
JM
9903 * math/libm-test.inc (struct test_if_f_data): New type.
9904 (RUN_TEST_LOOP_if_f): New macro.
9905 (jn_test_data): New variable.
9906 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9907 (yn_test_data): New variable.
9908 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9909
6d33265c
JM
9910 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9911
f98ece5f
AZ
99122013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9913
9914 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9915 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9916
0f7d347b
SP
99172013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9918
43fe811b
SP
9919 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9920 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9921 (bench-deps): Add bench-timing.h.
9922 * benchtests-bench-skeleton.c: Include bench-timing.h.
9923 (main): Use TIMING_* macros instead of clock_gettime.
9924 * benchtests/bench-timing.h: New file.
9925
0f7d347b
SP
9926 [BZ #14582]
9927 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9928 Renamed from _LIB_VERSION.
9929 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9930
601a3a5f
JM
99312013-05-12 Joseph Myers <joseph@codesourcery.com>
9932
4f184d30
JM
9933 * math/libm-test.inc (struct test_fff_f_data): New type.
9934 (RUN_TEST_LOOP_fff_f): New macro.
9935 (fma_test_data): New variable.
9936 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9937 (fma_towardzero_test_data): New variable.
9938 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9939 (fma_downward_test_data): New variable.
9940 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9941 (fma_upward_test_data): New variable.
9942 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9943
08198877
JM
9944 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9945 (struct test_c_c_data): New type.
9946 (RUN_TEST_LOOP_c_c): New macro.
9947 (cacos_test_data): New variable.
9948 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9949 (cacosh_test_data): New variable.
9950 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9951 (casin_test_data): New variable.
9952 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9953 (casinh_test_data): New variable.
9954 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9955 (catan_test_data): New variable.
9956 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9957 (catanh_test_data): New variable.
9958 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9959 (ccos_test_data): New variable.
9960 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9961 (ccosh_test_data): New variable.
9962 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9963 (cexp_test_data): New variable.
9964 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9965 (clog_test_data): New variable.
9966 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9967 (clog10_test_data): New variable.
9968 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9969 (conj_test_data): New variable.
9970 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9971 (cproj_test_data): New variable.
9972 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9973 (csin_test_data): New variable.
9974 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9975 (csinh_test_data): New variable.
9976 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9977 (csqrt_test_data): New variable.
9978 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9979 (ctan_test_data): New variable.
9980 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9981 (ctan_tonearest_test_data): New variable.
9982 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9983 (ctan_towardzero_test_data): New variable.
9984 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9985 (ctan_downward_test_data): New variable.
9986 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9987 (ctan_upward_test_data): New variable.
9988 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9989 (ctanh_test_data): New variable.
9990 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9991 (ctanh_tonearest_test_data): New variable.
9992 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9993 (ctanh_towardzero_test_data): New variable.
9994 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9995 (ctanh_downward_test_data): New variable.
9996 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9997 (ctanh_upward_test_data): New variable.
9998 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9999 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10000 of BUILD_COMPLEX.
10001
601a3a5f
JM
10002 * math/libm-test.inc (struct test_ff_f_data): New type.
10003 (struct test_ff_f_data_nexttoward): Likewise.
10004 (RUN_TEST_LOOP_2_f): New macro.
10005 (RUN_TEST_LOOP_ff_f): Likewise.
10006 (atan2_test_data): New variable.
10007 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10008 (copysign_test_data): New variable.
10009 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10010 (fdim_test_data): New variable.
10011 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10012 (fmax_test_data): New variable.
10013 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10014 (fmin_test_data): New variable.
10015 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10016 (fmod_test_data): New variable.
10017 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10018 (hypot_test_data): New variable.
10019 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10020 (nextafter_test_data): New variable.
10021 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10022 (nexttoward_test_data): New variable.
10023 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10024 (pow_test_data): New variable.
10025 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10026 (pow_tonearest_test_data): New variable.
10027 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10028 (pow_towardzero_test_data): New variable.
10029 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10030 (pow_downward_test_data): New variable.
10031 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10032 (pow_upward_test_data): New variable.
10033 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10034 (remainder_test_data): New variable.
10035 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10036 (scalb_test_data): New variable.
10037 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10038 * sysdeps/i386/fpu/libm-test-ulps: Update.
10039
74c57478
JM
100402013-05-11 Joseph Myers <joseph@codesourcery.com>
10041
8329e4da
JM
10042 * math/libm-test.inc (fma_test): Use max_value instead of local
10043 variable fltmax.
10044 (nextafter_test): Likewise.
10045
74c57478
JM
10046 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10047 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10048 (acos_downward_test_data): New variable.
10049 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10050 (acos_upward_test_data): New variable.
10051 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10052 (acosh_test_data): New variable.
10053 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10054 (asin_test_data): New variable.
10055 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10056 (asin_tonearest_test_data): New variable.
10057 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10058 (asin_towardzero_test_data): New variable.
10059 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10060 (asin_downward_test_data): New variable.
10061 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10062 (asin_upward_test_data): New variable.
10063 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10064 (asinh_test_data): New variable.
10065 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10066 (atan_test_data): New variable.
10067 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10068 (atanh_test_data): New variable.
10069 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10070 (cbrt_test_data): New variable.
10071 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10072 (ceil_test_data): New variable.
10073 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10074 (cos_test_data): New variable.
10075 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10076 (cos_tonearest_test_data): New variable.
10077 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10078 (cos_towardzero_test_data): New variable.
10079 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10080 (cos_downward_test_data): New variable.
10081 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10082 (cos_upward_test_data): New variable.
10083 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10084 (cosh_test_data): New variable.
10085 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10086 (cosh_tonearest_test_data): New variable.
10087 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10088 (cosh_towardzero_test_data): New variable.
10089 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10090 (cosh_downward_test_data): New variable.
10091 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10092 (cosh_upward_test_data): New variable.
10093 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10094 (erf_test_data): New variable.
10095 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10096 (erfc_test_data): New variable.
10097 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10098 (exp_test_data): New variable.
10099 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10100 (exp_tonearest_test_data): New variable.
10101 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10102 (exp_towardzero_test_data): New variable.
10103 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10104 (exp_downward_test_data): New variable.
10105 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10106 (exp_upward_test_data): New variable.
10107 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10108 (exp10_test_data): New variable.
10109 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10110 (exp2_test_data): New variable.
10111 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10112 (expm1_test_data): New variable.
10113 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10114 (fabs_test_data): New variable.
10115 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10116 (floor_test_data): New variable.
10117 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10118 (j0_test_data): New variable.
10119 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10120 (j1_test_data): New variable.
10121 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10122 (log_test_data): New variable.
10123 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10124 (log10_test_data): New variable.
10125 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10126 (log1p_test_data): New variable.
10127 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10128 (log2_test_data): New variable.
10129 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10130 (logb_test_data): New variable.
10131 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10132 (logb_downward_test_data): New variable.
10133 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10134 (nearbyint_test_data): New variable.
10135 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10136 (rint_test_data): New variable.
10137 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10138 (rint_tonearest_test_data): New variable.
10139 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10140 (rint_towardzero_test_data): New variable.
10141 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10142 (rint_downward_test_data): New variable.
10143 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10144 (rint_upward_test_data): New variable.
10145 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10146 (round_test_data): New variable.
10147 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10148 (sin_test_data): New variable.
10149 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10150 (sin_tonearest_test_data): New variable.
10151 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10152 (sin_towardzero_test_data): New variable.
10153 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10154 (sin_downward_test_data): New variable.
10155 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10156 (sin_upward_test_data): New variable.
10157 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10158 (sinh_test_data): New variable.
10159 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10160 (sinh_tonearest_test_data): New variable.
10161 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10162 (sinh_towardzero_test_data): New variable.
10163 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10164 (sinh_downward_test_data): New variable.
10165 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10166 (sinh_upward_test_data): New variable.
10167 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10168 (sqrt_test_data): New variable.
10169 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10170 (tan_test_data): New variable.
10171 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10172 (tan_tonearest_test_data): New variable.
10173 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10174 (tan_towardzero_test_data): New variable.
10175 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10176 (tan_downward_test_data): New variable.
10177 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10178 (tan_upward_test_data): New variable.
10179 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10180 (tanh_test_data): New variable.
10181 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10182 (tgamma_test_data): New variable.
10183 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10184 (trunc_test_data): New variable.
10185 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10186 (y0_test_data): New variable.
10187 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10188 (y1_test_data): New variable.
10189 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10190 (significand_test_data): New variable.
10191 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10192
7187d844
CG
101932013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10194
10195 [BZ #12387]
10196 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10197
f63fae73
PT
101982013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10199
10200 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10201
8a67a4b3
AJ
102022013-05-10 Andreas Jaeger <aj@suse.de>
10203
10204 [BZ #15448]
10205 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10206 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10207
51df539d
JM
102082013-05-10 Joseph Myers <joseph@codesourcery.com>
10209
10210 * math/gen-libm-test.pl (adjust_arg): New function.
10211 (special_functions): Handle generating output in both functions
10212 and arrays.
10213 (parse_args): Likewise.
10214 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10215 $in_func argument to parse_args.
10216 * math/libm-test.inc (struct test_f_f_data): New type.
10217 (IF_ROUND_INIT_): New macro.
10218 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10219 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10220 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10221 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10222 (ROUND_RESTORE_): Likewise.
10223 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10224 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10225 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10226 (ROUND_RESTORE_FE_UPWARD): Likewise.
10227 (RUN_TEST_LOOP_f_f): New macro.
10228 (acos_test_data): New variable.
10229 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10230 (acos_tonearest_test_data): New variable.
10231 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10232
5c637fe5
SP
102332013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10234
10235 * benchtests/bench-skeleton.c (startup): Fix coding style.
10236
ab2b9461
JM
102372013-05-10 Joseph Myers <joseph@codesourcery.com>
10238
10239 [BZ #6809]
10240 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10241 negative infinity argument.
10242 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10243 negative infinity argument.
10244 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10245 negative infinity argument.
10246 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10247 domain errors.
10248
4c0fe6fe
FW
102492013-05-10 Florian Weimer <fweimer@redhat.com>
10250
10251 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10252 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10253 * iconv/iconv_prog.c (main): Likewise.
10254 * locale/programs/charmap-dir.c (charmap_readdir)
10255 (fopen_uncompressed): Likewise.
10256 * locale/programs/locfile.c (siblings_uncached)
10257 (write_locale_data): Use lstat64 instead of lstat.
10258 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10259 stat.
10260
a3375d29
AJ
102612013-05-10 Andreas Jaeger <aj@suse.de>
10262
10263 [BZ #15395]
10264 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10265 localization.
10266 Include <locale.h>.
10267
36129722
CD
102682013-05-09 Carlos O'Donell <carlos@redhat.com>
10269
10270 * elf/dl-close.c (_dl_close_worker): Add comments.
10271
faa7f811
JM
102722013-05-09 Joseph Myers <joseph@codesourcery.com>
10273
ed41ffef
JM
10274 [BZ #15359]
10275 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10276 high part of pi/2.
10277 (__ieee754_rem_pio2l): Update comments.
10278
d0213cd0
JM
10279 [BZ #15429]
10280 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10281 high part of pi/2.
10282 (__ieee754_rem_pio2l): Update comments.
10283
0d3e777a
JM
10284 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10285 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10286
24f56066
JM
10287 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10288 M_PI_4l.
10289
faa7f811
JM
10290 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10291 (M_PI_34_LOG10El): Likewise.
10292 (M_PI2_LOG10El): Likewise.
10293 (M_PI4_LOG10El): Likewise.
10294 (M_PI_LOG10El): Likewise.
10295
e9a5e0fd
AZ
102962013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10297
10298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10299
d8cd06db
JM
103002013-05-08 Joseph Myers <joseph@codesourcery.com>
10301
a0d9f9d7
JM
10302 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10303 (MINUS_ZERO_INIT): Likewise.
10304 (PLUS_INFTY_INIT): Likewise.
10305 (MINUS_INFTY_INIT): Likewise.
10306 (QNAN_VALUE_INIT): Likewise.
10307 (MAX_VALUE_INIT): Likewise.
10308 (MIN_VALUE_INIT): Likewise.
10309 (MIN_SUBNORM_VALUE_INIT): Likewise.
10310 (plus_zero): Initialize with PLUS_ZERO_INIT.
10311 (minus_zero): Initialize with MINUS_ZERO_INIT.
10312 (plus_infty): Initialize with PLUS_INFTY_INIT.
10313 (minus_infty): Initialize with MINUS_INFTY_INIT.
10314 (qnan_value): Initialize with QNAN_VALUE_INIT.
10315 (max_value): Initialize with MAX_VALUE_INIT.
10316 (min_value): Initialize with MIN_VALUE_INIT.
10317 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10318
ae08db3b
JM
10319 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10320 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10321 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10322 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10323
f44bf14a
JM
10324 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10325 (RUN_TEST_2_f): Likewise.
10326 (RUN_TEST_ff_f): Likewise.
10327 (RUN_TEST_fi_f): Likewise.
10328 (RUN_TEST_fl_f): Likewise.
10329 (RUN_TEST_fff_f): Likewise.
10330 (RUN_TEST_c_f): Likewise.
10331 (RUN_TEST_f_f1): Likewise.
10332 (RUN_TEST_fF_f1): Likewise.
10333 (RUN_TEST_fI_f1): Likewise.
10334 (RUN_TEST_ffI_f1): Likewise.
10335 (RUN_TEST_c_c): Likewise.
10336 (RUN_TEST_cc_c): Likewise.
10337 (RUN_TEST_f_i): Likewise.
10338 (RUN_TEST_f_i_tg): Likewise.
10339 (RUN_TEST_ff_i_tg): Likewise.
10340 (RUN_TEST_f_b): Likewise.
10341 (RUN_TEST_f_b_tg): Likewise.
10342 (RUN_TEST_f_l): Likewise.
10343 (RUN_TEST_f_L): Likewise.
10344 (RUN_TEST_sincos): Likewise.
10345 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10346 whether to show exceptions. Do not include ");\n" in return
10347 value.
10348 (special_functions): Output call to RUN_TEST_sincos instead of
10349 check_float calls. Update calls to new_test.
10350 (parse_args): Output call to single RUN_TEST_* macro instead of
10351 check_* calls and other assignments. Update calls to new_test.
10352
d8cd06db
JM
10353 [BZ #2546]
10354 [BZ #2560]
10355 [BZ #5159]
10356 [BZ #15426]
10357 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10358 input to result for tgamma overflow.
10359 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10360 (gamma_coeff): New variable.
10361 (NCOEFF): New macro.
10362 (gamma_positive): New function.
10363 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10364 underflow here. Use gamma_positive instead of exp (lgamma) for
10365 other arguments.
10366 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10367 (gamma_coeff): New variable.
10368 (NCOEFF): New macro.
10369 (gammaf_positive): New function.
10370 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10371 underflow here. Use gamma_positive instead of exp (lgamma) for
10372 other arguments.
10373 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10374 (gamma_coeff): New variable.
10375 (NCOEFF): New macro.
10376 (gammal_positive): New function.
10377 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10378 underflow here. Use gamma_positive instead of exp (lgamma) for
10379 other arguments.
10380 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10381 (gamma_coeff): New variable.
10382 (NCOEFF): New macro.
10383 (gammal_positive): New function.
10384 (__ieee754_gammal_r): Handle positive infinity, overflow and
10385 underflow here. Handle NaN the same as positive infinity. Remove
10386 check x < 0xffffffff for negative integers. Use gamma_positive
10387 instead of exp (lgamma) for other arguments.
10388 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10389 (gamma_coeff): New variable.
10390 (NCOEFF): New macro.
10391 (gammal_positive): New function.
10392 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10393 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10397 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10398 * sysdeps/generic/math_private.h (__gamma_productf): New
10399 prototype.
10400 (__gamma_product): Likewise.
10401 (__gamma_productl): Likewise.
10402 * math/Makefile (libm-calls): Add gamma_product.
10403 * math/libm-test.inc (tgamma_test): Add more tests.
10404 * sysdeps/i386/fpu/libm-test-ulps: Update.
10405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10406
bb7cf681
OB
104072013-05-08 Ondřej Bílka <neleai@seznam.cz>
10408
10409 * benchtests/bench-skeleton.c (main): Preheat CPU.
10410
ba853947
AJ
104112013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10412
10413 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10414
8347c74c
RM
104152013-05-07 Roland McGrath <roland@hack.frob.com>
10416
10417 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10418 and _dl_skip_args_internal.
10419
e8dd4791
CD
104202013-05-07 Carlos O'Donell <carlos@redhat.com>
10421
10422 * manual/message.texi (Message Translation): Talk about users.
10423 Message to key mapping impacts design.
10424
c7405830
RM
104252013-05-06 Roland McGrath <roland@hack.frob.com>
10426
a9173057
RM
10427 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10428
976e2f03
RM
10429 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10430
9723ffc5
RM
10431 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10432 * sysdeps/wordsize-64/glob64.c: ... here.
10433
962e6658
RM
10434 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10435 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10436 New macros.
10437
ee586a6d
RM
10438 * debug/getlogin_r_chk.c: Moved to ...
10439 * login/getlogin_r_chk.c: ... here.
10440 * debug/Makefile (routines): Move getlogin_r_chk to ...
10441 * login/Makefile (routines): ... here.
10442 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10443 * login/Versions (libc: GLIBC_2.4): ... here.
10444
355f9165
RM
10445 * io/poll.c (__poll): Renamed from poll.
10446 Add libc_hidden_def.
10447 (poll): Define as weak alias.
10448
bd9ffde6
RM
10449 * debug/ptsname_r_chk.c: Moved to ...
10450 * login/ptsname_r_chk.c: ... here.
10451 * debug/Makefile (routines): Move ptsname_r_chk to ...
10452 * login/Makefile (routines): ... here.
10453 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10454 * login/Versions (libc: GLIBC_2.4): ... here.
10455
8fb16a04
RM
10456 * posix/getlogin.c: Moved to ...
10457 * login/getlogin.c: ... here.
10458 * posix/getlogin_r.c: Moved to ...
10459 * login/getlogin_r.c: ... here.
10460 * posix/getlogin_r.c: Moved to ...
10461 * login/getlogin_r.c: ... here.
10462 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10463 * login/Makefile (routines): ... here.
10464 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10465 * login/Versions (libc: GLIBC_2.0): ... here.
10466
b99b892f
RM
10467 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10468 (setrlimit): Define as weak alias.
10469
c7405830
RM
10470 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10471 Call __ names for open, ftruncate, and close.
10472 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10473 (truncate): Define as weak alias.
10474
5bf96de5
JM
104752013-05-06 Joseph Myers <joseph@codesourcery.com>
10476
9ea3513c
JM
10477 * math/gen-libm-test.pl (parse_args): Initialize x before each
10478 test of frexp, modf and remquo.
10479
5bf96de5
JM
10480 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10481 test signgam value.
10482
16e616a7
AZ
104832013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10484
10485 [BZ #15418]
10486 [BZ #15419]
10487 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10488 internal tests.
10489 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10490
d5e82754
RM
104912013-05-06 Roland McGrath <roland@hack.frob.com>
10492
10493 * elf/dl-writev.h: New file.
10494 * elf/dl-misc.c: Include it.
10495 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10496 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10497
a7548d41
JM
104982013-05-04 Joseph Myers <joseph@codesourcery.com>
10499
b7dab1e4
JM
10500 * math/libm-test.inc (noXFails): Remove variable.
10501 (noXPasses): Likewise.
10502 (BUILD_COMPLEX_INT): Remove macro.
10503 (print_screen): Remove xfail argument.
10504 (print_screen_max_error): Likewise.
10505 (update_stats): Likewise.
10506 (print_max_error): Likewise. Update calls to other affected
10507 functions.
10508 (print_complex_max_error): Likewise.
10509 (test_single_exception): Update calls to print_screen.
10510 (test_single_errno): Likewise.
10511 (check_float_internal): Remove xfail argument. Update calls to
10512 other affected functions.
10513 (check_float): Likewise.
10514 (check_complex): Likewise.
10515 (check_int): Likewise.
10516 (check_long): Likewise.
10517 (check_bool): Likewise.
10518 (check_longlong): Likewise.
10519 (main): Don't print noXFails and noXPasses.
10520 * math/gen-libm-test.pl (top level): Don't mention expected
10521 failure handling in comment.
10522 (new_test): Don't handle expected failures.
10523 (parse_args): Don't mention expected failure handling in comment.
10524 (generate_testfile): Don't handle expected failures.
10525 (parse_ulps): Likewise.
10526 (print_ulps_file): Likewise.
10527 (get_failure): Remove function.
10528 (output_test): Don't handle expected failures.
10529 * make/README.libm-test: Don't mention expected failure handling.
10530
a7548d41
JM
10531 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10532 (minus_zero): Likewise.
10533 (plus_infty): Likewise.
10534 (minus_infty): Likewise.
10535 (qnan_value): Likewise.
10536 (max_value): Likewise.
10537 (min_value): Likewise.
10538 (min_subnorm_value): Likewise.
10539 (initialize): Do not initialize those variables dynamically.
10540
60bfd54c
RM
105412013-05-03 Roland McGrath <roland@hack.frob.com>
10542
cc0e6ed8
RM
10543 * io/open.c (__open_2): Moved to ...
10544 * io/open_2.c: ... this new file.
10545 * io/open64.c (__open64_2): Moved to ...
10546 * io/open64_2.c: ... this new file.
10547 * io/openat.c (__openat_2): Moved to ...
10548 * io/openat_2.c: ... this new file.
10549 * io/openat64.c (__openat64_2): Moved to ...
10550 * io/openat64_2.c: ... this new file.
10551 * io/Makefile (routines): Add them.
10552 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10553 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10554 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10555 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10556 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10557 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10558 (__openat64): Add hidden_ver.
10559 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10560 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10561
60bfd54c
RM
10562 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10563 Separately conditionalize setting of GLRO(dl_sysinfo) so
10564 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10565 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10566
83e7640f
AZ
105672013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10568
10569 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10570 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10571 definition.
10572 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10573 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10574 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10575 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10576 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10577
d5dc2af3
JM
105782013-05-03 Joseph Myers <joseph@codesourcery.com>
10579
c31a5b1e
JM
10580 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10581 test signgam value.
10582
d5dc2af3
JM
10583 * math/libm-test.inc (hypot_test): Do not use
10584 IGNORE_ZERO_INF_SIGN.
10585
164fd39d
AJ
105862013-05-03 Andreas Jaeger <aj@suse.de>
10587
10588 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10589 Linux 3.9.
10590 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10591 (PF_MAX): Adjust for VSOCK change.
10592
8237f48c
AZ
105932013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10594
10595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10596
9df02941
CD
105972013-05-02 Carlos O'Donell <carlos@redhat.com>
10598
10599 [BZ #15264]
10600 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10601 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10602 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10603
d422395e
DM
106042013-05-02 David S. Miller <davem@davemloft.net>
10605
10606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10607
a07c5731
OB
106082013-05-01 Ondřej Bílka <neleai@seznam.cz>
10609
10610 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10611
1324e37f
RM
106122013-05-01 Roland McGrath <roland@hack.frob.com>
10613
10614 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10615
0695940b
RS
106162013-05-01 Richard Smith <richard@metafoo.co.uk>
10617
bb5f27ad 10618 [BZ #14952]
0695940b
RS
10619 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10620 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10621 Use __attribute__ ((__gnu_inline__)).
10622 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10623 Don't use __attribute__ ((__gnu_inline__)).
10624
10de07f5
JM
106252013-05-01 Joseph Myers <joseph@codesourcery.com>
10626
10627 [BZ #15423]
10628 * math/s_catan.c (__catan): Handle small real or imaginary part of
10629 input specially to avoid spurious underflow.
10630 * math/s_catanf.c (__catanf): Likewise.
10631 * math/s_catanh.c (__catanh): Likewise.
10632 * math/s_catanhf.c (__catanhf): Likewise.
10633 * math/s_catanhl.c (__catanhl): Likewise.
10634 * math/s_catanl.c (__catanl): Likewise.
10635 * math/libm-test.inc (catan_test): Add more tests.
10636 (catanh_test): Likewise.
10637 * sysdeps/i386/fpu/libm-test-ulps: Update.
10638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10639
cb4d5414
AZ
106402013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10641
10642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10643
caf84319
JM
106442013-04-30 Joseph Myers <joseph@codesourcery.com>
10645
10646 [BZ #15416]
10647 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10648 accurately for denominator in atan2.
10649 * math/s_catanf.c (__catanf): Likewise.
10650 * math/s_catanh.c (__catanh): Likewise.
10651 * math/s_catanhf.c (__catanhf): Likewise.
10652 * math/s_catanhl.c (__catanhl): Likewise.
10653 * math/s_catanl.c (__catanl): Likewise.
10654 * math/libm-test.inc (catan_test): Add more tests.
10655 (catanh_test): Likewise.
10656 * sysdeps/i386/fpu/libm-test-ulps: Update.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10658
d569c6ee
SP
106592013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10660
6dbe713d
SP
10661 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10662
f0ee064b
SP
10663 * benchtests/Makefile (bench): Remove slow benchmarks.
10664 * benchtests/atan-inputs: Add slow benchmark inputs.
10665 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10666 (BENCH_FUNC): Accept variant offset.
10667 (VARIANT): Define.
10668 * benchtests/bench-skeleton.c (main): Run benchmark for each
10669 variant.
10670 * benchtests/cos-inputs: Add slow benchmark inputs.
10671 * benchtests/exp-inputs: Likewise.
10672 * benchtests/pow-inputs: Likewise.
10673 * benchtests/sin-inputs: Likewise.
10674 * benchtests/slowatan-inputs: Remove.
10675 * benchtests/slowatan.c: Remove.
10676 * benchtests/slowcos-inputs: Remove.
10677 * benchtests/slowcos.c: Remove.
10678 * benchtests/slowexp-inputs: Remove.
10679 * benchtests/slowexp.c: Remove.
10680 * benchtests/slowpow-inputs: Remove.
10681 * benchtests/slowpow.c: Remove.
10682 * benchtests/slowsin-inputs: Remove.
10683 * benchtests/slowsin.c: Remove.
10684 * benchtests/slowtan-inputs: Remove.
10685 * benchtests/slowtan.c: Remove.
10686 * benchtests/tan-inputs: Add slow benchmark inputs.
10687 * scripts/bench.pl: Parse comments and directives.
10688
d569c6ee
SP
10689 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10690 in CPPFLAGS.
10691 ($(objpfx)bench-%.c): Remove *-ITER.
10692 * benchtests/bench-modf.c: Remove definition of ITER.
10693 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10694 (main): Loop for DURATION seconds instead of fixed number of
10695 iterations.
10696 * scripts/bench.pl: Don't expect iterations in parameters.
10697
a6a242fe
RM
106982013-04-29 Roland McGrath <roland@hack.frob.com>
10699
10700 * io/fchdir.c (__fchdir): Renamed from fchdir.
10701 (fchdir): Define as weak alias.
10702
f2da7793
JM
107032013-04-29 Joseph Myers <joseph@codesourcery.com>
10704
10705 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10706 (ERRNO_EDOM): Likewise.
10707 (ERRNO_ERANGE): Likewise.
10708 (noErrnoTests): New variable.
10709 (init_max_error): Set errno to 0.
10710 (test_single_errno): New function.
10711 (test_errno): Likewise.
10712 (check_float_internal): Call test_errno. Set errno to 0.
10713 (check_complex): Refer to errno tests in comment.
10714 (check_int): Call test_errno. Set errno to 0.
10715 (check_long): Likewise.
10716 (check_bool): Likewise.
10717 (check_longlong): Likewise.
10718 (cos_test): Use ERRNO_* flags for errno tests instead of
10719 check_int.
10720 (expm1_test): Likewise.
10721 (fmod_test): Likewise.
10722 (ilogb_test): Likewise.
10723 (lgamma_test): Likewise.
10724 (pow_test): Likewise.
10725 (remainder_test): Likewise.
10726 (sin_test): Likewise.
10727 (tan_test): Likewise.
10728 (yn_test): Likewise.
10729 (initialize): Set errno to 0.
10730 (main): Print number of errno tests.
10731 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10732
b1a36ceb
AJ
107332013-04-29 Andreas Jaeger <aj@suse.de>
10734
c3ed8088
AJ
10735 [BZ #15084]
10736 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10737 and RES_USEVC.
10738
f1a24198
AJ
10739 [BZ #15085]
10740 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10741 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10742 unimplemented.
10743
9ce3b2cb
AJ
10744 [BZ #15380]
10745 * stdlib/random.c (__initstate): Return NULL if
10746 __initstate fails.
10747
f1a24198 10748 [BZ #15086]
b1a36ceb
AJ
10749 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10750 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10751 RES_SNGLKUPREOP.
10752
7e7b6f36
AZ
107532013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10754
10755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10756
4d14f449
JM
107572013-04-29 Joseph Myers <joseph@codesourcery.com>
10758
10759 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10760 of individual tests.
10761 (casin_test): Likewise.
10762 (casinh_test): Likewise.
10763
5b4217d7
JM
107642013-04-27 Joseph Myers <joseph@codesourcery.com>
10765
10766 [BZ #15409]
10767 * math/s_catan.c (__catan): Handle arguments with large real or
10768 imaginary part separately without squaring.
10769 * math/s_catanf.c (__catanf): Likewise.
10770 * math/s_catanh.c (__catanh): Likewise.
10771 * math/s_catanhf.c (__catanhf): Likewise.
10772 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10773 and redefine.
10774 (__catanhl): Handle arguments with large real or imaginary part
10775 separately without squaring.
10776 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10777 and redefine.
10778 (__catanl): Handle arguments with large real or imaginary part
10779 separately without squaring.
10780 * math/libm-test.inc (catan_test): Add more tests.
10781 (catanh_test): Likewise.
10782 * sysdeps/i386/fpu/libm-test-ulps: Update.
10783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10784
4220c3ef
AJ
107852013-04-27 Andreas Jaeger <aj@suse.de>
10786
10787 [BZ #15007]
10788 * stdlib/stdlib.h: Update guards for qecvt.
10789 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10790 <stdlib.h>.
10791
4721b2d1
AM
107922013-04-27 Allan McRae <allan@archlinux.org>
10793
10794 * sysdeps/i386/fpu/libm-test-ulps: Update.
10795
f0302940
JM
107962013-04-26 Joseph Myers <joseph@codesourcery.com>
10797
9457fd95
JM
10798 [BZ #15406]
10799 * math/s_catan.c: Include <float.h>.
10800 (__catan): Ensure underflow exception occurs for underflowed
10801 result.
10802 * math/s_catanf.c: Include <float.h>.
10803 (__catanf): Ensure underflow exception occurs for underflowed
10804 result.
10805 * math/s_catanh.c: Include <float.h>.
10806 (__catanh): Ensure underflow exception occurs for underflowed
10807 result.
10808 * math/s_catanhf.c: Include <float.h>.
10809 (__catanhf): Ensure underflow exception occurs for underflowed
10810 result.
10811 * math/s_catanhl.c: Include <float.h>.
10812 (__catanhl): Ensure underflow exception occurs for underflowed
10813 result.
10814 * math/s_catanl.c: Include <float.h>.
10815 (__catanl): Ensure underflow exception occurs for underflowed
10816 result.
10817 * math/libm-test.inc (catan_test): Add more tests.
10818 (catanh_test): Likewise.
10819
f0302940
JM
10820 [BZ #15405]
10821 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10822 underflowed result.
10823 * math/s_ccoshf.c (__ccoshf): Likewise.
10824 * math/s_ccoshl.c (__ccoshl): Likewise.
10825 * math/s_csin.c (__csin): Likewise.
10826 * math/s_csinf.c (__csinf): Likewise.
10827 * math/s_csinh.c (__csinh): Likewise.
10828 * math/s_csinhf.c (__csinhf): Likewise.
10829 * math/s_csinhl.c (__csinhl): Likewise.
10830 * math/s_csinl.c (__csinl): Likewise.
10831 * math/libm-test.inc (ccos_test): Add more tests.
10832 (ccosh_test): Likewise.
10833 (csin_test): Likewise.
10834 (csinh_test): Likewise.
10835
aa630f59
AZ
108362013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10837
10838 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10839 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10840 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10841 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10842 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10843 powerpc/power5+/fpu folders.
10844 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10845
10846
1b835983
MT
108472013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10848
10849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10850
73709b26
JM
108512013-04-25 Joseph Myers <joseph@codesourcery.com>
10852
10853 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10854 additions to variable.
10855 [$(config-machine) = x86_64] (modules-names): Likewise.
10856 ($(objpfx)tst-audit3): Remove dependency.
10857 ($(objpfx)tst-audit3.out): Likewise.
10858 ($(objpfx)tst-audit4): Likewise.
10859 ($(objpfx)tst-audit4.out): Likewise.
10860 ($(objpfx)tst-audit5): Likewise.
10861 ($(objpfx)tst-audit5.out): Likewise.
10862 ($(objpfx)tst-audit6): Likewise.
10863 ($(objpfx)tst-audit6.out): Likewise.
10864 ($(objpfx)tst-audit7): Likewise.
10865 ($(objpfx)tst-audit7.out): Likewise.
10866 (tst-audit3-ENV): Remove variable.
10867 (tst-audit4-ENV): Likewise.
10868 (tst-audit5-ENV): Likewise.
10869 (tst-audit6-ENV): Likewise.
10870 (tst-audit7-ENV): Likewise.
10871 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10872 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10873 addition to variable.
10874 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10875 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10876 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10877 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10878 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10879 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10880 tst-audit3, tst-audit4 and tst-audit5.
10881 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10882 tst-audit6 and tst-audit7.
10883 [$(subdir) = elf] (modules-names): Add audit modules for those
10884 tests.
10885 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10886 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10887 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10888 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10889 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10890 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10891 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10892 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10893 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10894 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10895 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10896 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10897 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10898 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10899 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10900 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10901 Likewise.
10902 [$(subdir) = elf && $(config-cflags-avx) = yes]
10903 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10904 [$(subdir) = elf && $(config-cflags-avx) = yes]
10905 (CFLAGS-tst-auditmod4a.c): Likewise.
10906 [$(subdir) = elf && $(config-cflags-avx) = yes]
10907 (CFLAGS-tst-auditmod4b.c): Likewise.
10908 [$(subdir) = elf && $(config-cflags-avx) = yes]
10909 (CFLAGS-tst-auditmod6b.c): Likewise.
10910 [$(subdir) = elf && $(config-cflags-avx) = yes]
10911 (CFLAGS-tst-auditmod6c.c): Likewise.
10912 [$(subdir) = elf && $(config-cflags-avx) = yes]
10913 (CFLAGS-tst-auditmod7b.c): Likewise.
10914 * elf/tst-audit3.c: Move to ...
10915 * sysdeps/x86_64/tst-audit3.c: ... here.
10916 * elf/tst-audit4.c: Move to ...
10917 * sysdeps/x86_64/tst-audit4.c: ... here.
10918 * elf/tst-audit5.c: Move to ...
10919 * sysdeps/x86_64/tst-audit5.c: ... here.
10920 * elf/tst-audit6.c: Move to ...
10921 * sysdeps/x86_64/tst-audit6.c: ... here.
10922 * elf/tst-audit7.c: Move to ...
10923 * sysdeps/x86_64/tst-audit7.c: ... here.
10924 * elf/tst-auditmod3a.c: Move to ...
10925 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10926 * elf/tst-auditmod3b.c: Move to ...
10927 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10928 * elf/tst-auditmod4a.c: Move to ...
10929 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10930 * elf/tst-auditmod4b.c: Move to ...
10931 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10932 * elf/tst-auditmod5a.c: Move to ...
10933 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10934 * elf/tst-auditmod5b.c: Move to ...
10935 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10936 * elf/tst-auditmod6a.c: Move to ...
10937 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10938 * elf/tst-auditmod6b.c: Move to ...
10939 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10940 * elf/tst-auditmod6c.c: Move to ...
10941 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10942 * elf/tst-auditmod7a.c: Move to ...
10943 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10944 * elf/tst-auditmod7b.c: Move to ...
10945 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10946
1ef74943
PP
109472013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10948
10949 [BZ #15366]
10950 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10951 define unconditionally.
10952 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10953 define unconditionally.
10954 (INT8_C, INT16_C, etc.): Likewise.
10955
93fd48c5
MR
109562013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10957
ae9552cf
MR
10958 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10959 __ehdr_start with hidden visibility.
10960
93fd48c5
MR
10961 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10962
418601aa
CD
109632013-04-24 Carlos O'Donell <carlos@redhat.com>
10964
10965 * math/libm-test.inc (cos_test): Use accurate hex constants.
10966 (sincost_test): Likewise.
10967
2f38fbfe
JM
109682013-04-24 Joseph Myers <joseph@codesourcery.com>
10969
5e221800
JM
10970 * math/libm-test.inc (catan_test): Add more tests.
10971 (catanh_test): Likewise.
10972
77f143fd
JM
10973 * math/s_catanf.c (__catanf): Use suffixed floating-point
10974 constants.
10975 * math/s_catanhf.c (__catanhf): Likewise.
10976 * math/s_catanhl.c (__catanhl): Likewise.
10977 * math/s_catanl.c (__catanl): Likewise.
10978
2f38fbfe
JM
10979 [BZ #15394]
10980 * math/s_catan.c (__catan): Calculate imaginary part of result
10981 with log1p not log unless computing log of number close to 0.
10982 * math/s_catanf.c (__catanf): Likewise.
10983 * math/s_catanl.c (__catanl): Likewise.
10984 * math/s_catanh.c (__catanh): Calculate real part of result with
10985 log1p not log unless computing log of number close to 0.
10986 * math/s_catanhf.c (__catanhf): Likewise.
10987 * math/s_catanhl.c (__catanhl): Likewise.
10988 * math/libm-test.inc (catan_test): Add more tests.
10989 (catanh_test): Likewise.
10990 * sysdeps/i386/fpu/libm-test-ulps: Update.
10991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10992
45d69176
SP
109932013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10994
10995 * benchtests/Makefile: Mention files in which fast and slow
10996 paths of math functions are implemented.
10997
87f51853
RM
109982013-04-23 Roland McGrath <roland@hack.frob.com>
10999
11000 * sysdeps/posix/timespec_get.c: New file.
11001
3c026539
AZ
110022013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11003
11004 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11005 POWER.
11006 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11007 for POWER.
11008 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11009 powerpc/power5/fpu folders.
11010 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11011 * benchtests/Makefile: Add modf testcase.
11012 * benchtests/bench-modf.c: New file: Benchmark test for mo
11013
ff491d14
SP
110142013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11015
11016 [BZ #14888]
11017 * time/Makefile (tests): Add tst-strptime-whitespace.
11018 * time/strptime_l.c (get_number): Use ISSPACE.
11019 (__strptime_internal): Likewise.
11020 * time/tst-strptime-whitespace.c: New test case.
11021
7ed3f4e8
AS
110222013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11023
11024 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11025 member.
11026 (_nss_files_init): Set it here.
11027
5c95f7b6
HC
110282013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11029
11030 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11031 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11032 unsigned.
11033
d34c9158
JBG
110342013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11035
11036 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11037
2169712d
SP
110382013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11039
11040 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11041 size just once.
11042
29c5de99
DM
110432013-04-21 David S. Miller <davem@davemloft.net>
11044
11045 * po/ru.po: Update Russion translation from translation project.
11046
ccdad15d
AC
110472013-04-17 Adam Conrad <adconrad@0c3.net>
11048
11049 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11050 and setfsgid.
11051
0f122b8d
CD
110522013-04-17 Carlos O'Donell <carlos@redhat.com>
11053
5c5b07da 11054 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 11055 * configure: Regenerate.
5c5b07da 11056 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
11057 Add example to error message.
11058 * sysdeps/i386/configure: Regenerate.
11059
037714dd
SP
110602013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11061
11062 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11063 slowtan.
11064 * benchtests/cos-inputs: New file.
11065 * benchtests/slowcos-inputs: New file.
11066 * benchtests/slowcos.c: New file.
11067 * benchtests/slowtan-inputs: New file.
11068 * benchtests/slowtan.c: New file.
11069 * benchtests/tan-inputs: New file.
11070
e913141d
RM
110712013-04-16 Roland McGrath <roland@hack.frob.com>
11072
11073 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11074 considered kosher.
11075
a2964074
SP
110762013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11077
4856bcd2
SP
11078 * benchtests/Makefile: Include cppflags-iterator.mk to add
11079 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11080
a2964074
SP
11081 * Makefile.in (bench-clean): New target.
11082 * benchtests/Makefile (bench-clean): Likewise.
11083
9fbf9aca
DH
110842013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11085
11086 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11087
207d1e2a
TS
110882013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11089
11090 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11091
306dfba9
AS
110922013-04-15 Andreas Schwab <schwab@suse.de>
11093
11094 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11095 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11096 * nscd/pwdcache.c (cache_addpw): Likewise.
11097 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11098 more than recsize.
11099
206a6699
SP
111002013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11101
11102 * benchtests/Makefile (bench): Write all output to
11103 bench-out.tmp together.
11104
0582f6b3
AS
111052013-04-15 Andreas Schwab <schwab@suse.de>
11106
11107 * nscd/nscd.c (main): Don't fork again after closing files.
11108
acb4325f
SP
111092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11110
5cb26d0a
SP
11111 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11112
acb4325f
SP
11113 * benchtests/Rules (bench-deps): Collect dependencies into a
11114 single variable. Add Makefile to dependencies.
11115 ($(objpfx)bench-%.c): Depend on bench-deps.
11116
47792506
RM
111172013-04-12 Roland McGrath <roland@hack.frob.com>
11118 Xavier Roche <roche+kml2@exalead.com>
11119
11120 [BZ #15361]
11121 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11122 just that it's a file descriptor.
11123 * manual/llio.texi (Synchronizing AIO Operations): Update description
11124 for EBADF error from aio_fsync.
11125
8fc1bee5
SP
111262013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11127
11128 * Rules (bench): Move target definition...
11129 * benchtests/Makefile: ... here.
11130
aba5e333
CD
111312013-04-11 Carlos O'Donell <carlos@redhat.com>
11132
11133 * math/libm-test.inc (cos_test): Fix PI/2 test.
11134 (sincos_test): Likewise.
11135 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11136 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11137
273cdee8
AS
111382013-04-11 Andreas Schwab <schwab@suse.de>
11139
6ecec3b6
AS
11140 [BZ #13988]
11141 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11142 accept exponent character only when digits were seen.
11143 * stdio-common/Makefile (tests): Add bug26.
11144 * stdio-common/bug26.c: New file.
11145
273cdee8
AS
11146 [BZ #14293]
11147 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11148 non-freeable.
11149
8da491f5
SP
111502013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11151
01dc6df9
SP
11152 * Makeconfig (rtld-prefix): Define built linker prefix.
11153 * Rules (run-bench): Use it.
11154 * math/Makefile (run-regen-ulps): Likewise.
11155
8da491f5
SP
11156 * Rules (bench): Remove eval.
11157
abe7f530
SP
111582013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11159 Roland McGrath <roland@hack.frob.com>
11160 Ondrej Bilka <neleai@seznam.cz>
11161
11162 [BZ #15346]
11163 * time/getdate.c: Include ctype.h and alloca.h.
11164 (__getdate_r): Trim leading and trailing spaces of input.
11165 * time/tst-getdate.c (tests): Add tests with leading and
11166 trailing spaces.
11167
61c23e62
RM
111682013-04-08 Roland McGrath <roland@hack.frob.com>
11169
11170 [BZ #14280]
11171 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11172 when computing value.
11173
7208a313
CD
111742013-04-06 Carlos O'Donell <carlos@redhat.com>
11175
085b2d41
CD
11176 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11177 Use testrun.sh to run libm tests.
11178
7208a313
CD
11179 [BZ #15309]
11180 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11181
872c0acd
MM
111822013-04-06 Marko Myllynen <myllynen@redhat.com>
11183
11184 [BZ #15264]
11185 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11186
26510bdd
CD
111872013-04-06 Carlos O'Donell <carlos@redhat.com>
11188
11189 * Makefile.in (regen-ulps): New target.
11190 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11191 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11192 [ifneq (no,$(PERL)] (regen-ulps): New target.
11193 [ifeq (no,$(PERL)] (regen-ulps): New target.
11194 * math/libm-test.inc (ulps_file_name): Define.
11195 (output_dir): New variable.
11196 (options): Add "output-dir" option.
11197 (parse_opt): Handle 'o' case.
11198 (main): If output_dir is non-NULL use it as a prefix
11199 otherwise use "".
11200 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11201
a01f19c8
CD
112022013-04-06 Carlos O'Donell <carlos@redhat.com>
11203
11204 [BZ #10060, #10062]
11205 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11206 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11207 fail configure if __sync_val_compare_and_swap is not inlined.
11208 * sysdeps/i386/configure: Regenerate.
11209 * configure.in: Build for i686 when configured for i386.
11210 * configure: Regenerate.
11211 * README: Remove i386 reference.
11212
b7a329a5
CD
112132013-04-06 Carlos O'Donell <carlos@redhat.com>
11214
11215 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11216 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11217
bf0f50df
TS
112182013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11219
ee091edf
TS
11220 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11221 (lmsnanval): New variables.
11222 (F): Add conversion tests.
11223 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11224 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11225
a8b792d6
TS
11226 * stdio-common/tstdiomisc.c (F): Properly collect individual
11227 tests' results.
11228
a1cbf437
TS
11229 [BZ #14686, #15336]
11230 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11231 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11232 Instead, use input NaN values or generate a qNaN by arithmetic
11233 operation. Also fix bugs to comply with the standard.
11234 * math/libm-test.inc (remainder_test): Add more tests.
11235
8b43a0c9
TS
11236 [BZ #15335, #15342]
11237 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11238 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11239 input NaN values or generate a qNaN by arithmetic operation.
11240
d91da4ce
TS
11241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11242 unreachable code.
11243
bf0f50df
TS
11244 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11245 definitions.
11246
05e166c8
JM
112472013-04-03 Joseph Myers <joseph@codesourcery.com>
11248
11249 [BZ #14478]
11250 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11251 underflowed result.
11252 * math/s_cexpf.c (__cexpf): Likewise.
11253 * math/s_cexpl.c (__cexpl): Likewise.
11254 * math/libm-test.inc (cexp_test): Add more tests.
11255
1cef1b19
AS
112562013-04-03 Andreas Schwab <schwab@suse.de>
11257
11258 [BZ #15330]
11259 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11260 order arrays from heap if bigger than alloca cutoff.
11261
74d87055
TS
112622013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11263
11264 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11265 (SNAN_TESTS_double): Refer to GCC PR56831.
11266 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11267 GCC PR56828.
11268
d755bba4
SP
112692013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11270
90d5d5bb
SP
11271 * Rules (bench): Move bench.out after the run is complete.
11272
73e0cd5d
SP
11273 * Rules (bench): Echo currently running benchmark.
11274
64aabd4b
SP
11275 * benchtests/Makefile (bench): Add atan and slowatan.
11276 * benchtests/atan-inputs: New file.
11277 * benchtests/slowatan-inputs: New file.
11278 * benchtests/slowatan.c: New file.
11279
c871eccd
SP
11280 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11281 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11282 its value.
11283
d755bba4
SP
11284 [BZ #15305]
11285 * sysdeps/unix/sysv/linux/kernel-features.h
11286 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11287 __ASSUME_XFS_RESTRICTED_CHOWN.
11288 * sysdeps/unix/sysv/linux/pathconf.c
11289 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11290 Save and restore errno.
11291
52ce4860
JM
112922013-04-02 Joseph Myers <joseph@codesourcery.com>
11293
11294 [BZ #15327]
11295 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11296 arguments using __kernel_casinh.
11297 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11298 arguments using __kernel_casinhf.
11299 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11300 arguments using __kernel_casinhl.
11301 * math/libm-test.inc (cacosh_test): Add more tests.
11302 * sysdeps/i386/fpu/libm-test-ulps: Update.
11303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11304
81f311c2
SP
113052013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11306
e7906a47
SP
11307 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11309
92e3664b
SP
11310 * bench/Makefile (bench): Add sin and slowsin.
11311 * benchtests/sin-inputs: New file.
11312 * benchtests/slowsin-inputs: New file.
11313 * benchtests/slowsin.c: New file.
11314
81f311c2
SP
11315 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11316 (bench): Add slowexp and slowpow.
11317 (exp-ITER): Increase iterations.
11318 (pow-ITER): Likewise.
11319 * benchtests/exp-inputs: Change input.
11320 * benchtests/pow-inputs: Likewise.
11321 * benchtests/slowexp-inputs: New file.
11322 * benchtests/slowexp.c: New file.
11323 * benchtests/slowpow-inputs: New file.
11324 * benchtests/slowpow.c: New file.
11325
ab0f1aa9
AZ
113262013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11327
11328 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11329 instructions.
11330 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11331 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11332 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11333 * benchtests/Makefile: Add rint benchtest.
11334 * benchtests/rint-inputs: Input for rint benchtest.
11335
57267616
TS
113362013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11337
11338 * Versions.def (libm): Add GLIBC_2.18.
11339 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11340 hidden libm prototypes.
11341 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11342 * math/Makefile (libm-calls): Add s_issignaling.
11343 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11344 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11345 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11346 declaration.
11347 * math/math.h [__USE_GNU] (issignaling): New macro.
11348 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11349 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11351 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11354 * manual/arith.texi (issignaling): New section.
11355 * manual/libm-err-tab.pl (@all_functions): Update comment.
11356 * math/gen-libm-test.pl (parse_args): Apply special handling for
11357 issignaling.
11358 * math/libm-test.inc (print_float, issignaling_test): New
11359 functions.
11360 (check_float_internal): Add issignaling checks.
11361 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11362 default definition.
11363 * sysdeps/powerpc/math-tests.h: New file.
11364 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11365 tests.
11366 * math/test-snan.c (TEST_FUNC): Likewise.
11367
6142896d
DM
113682013-03-30 David S. Miller <davem@davemloft.net>
11369
11370 * po/de.po: Update from translation team.
11371
ccc8cadf
JM
113722013-03-30 Joseph Myers <joseph@codesourcery.com>
11373
11374 [BZ #10357]
11375 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11376 imaginary part less than 1.0 and real part less than 0.5
11377 specially.
11378 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11379 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11380 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11381 (cacos_test): Add more tests.
11382 (casin_test): Likewise.
11383 (casinh_test): Likewise.
11384 * sysdeps/i386/fpu/libm-test-ulps: Update.
11385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11386
0f6a8d4b
SP
113872013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11388
0d1029de
SP
11389 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11390 ONE with its value.
11391
c2d94018
SP
11392 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11393 (__pow_mp): Replace ONE and MONE with their values.
11394 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11395 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11396 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11397 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11398 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11399 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11400
27ec37f1
SP
11401 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11402
a64d7e0e
SP
11403 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11404 (__pow_mp): Replace ZERO and MZERO with their values.
11405 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11407 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11408 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11409 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11410 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11411 (__sqr): Likewise.
11412
d26dd3eb
SP
11413 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11414
0f6a8d4b
SP
11415 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11416
e57b0c61
RM
114172013-03-28 Roland McGrath <roland@hack.frob.com>
11418
11419 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11420 Declare with __attribute__ ((weak)).
11421 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11422 Call __call_tls_dtors only if it's not NULL.
11423
356b3480
RM
114242013-03-28 Roland McGrath <roland@hack.frob.com>
11425
288f7d79
RM
11426 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11427 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11428 magic __ehdr_start linker symbol if it's defined.
11429 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11430 them up here if it was already done.
11431
dc0a0263
RM
11432 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11433 (_dl_aux_init): Use const in cast when setting it.
11434 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11435 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11436 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11437
3d3436ae
RM
11438 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11439 Declare them here.
11440 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11441 * csu/libc-tls.c: Nor here.
11442 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11443
356b3480
RM
11444 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11445 (__libc_message): Never call vsyslog.
11446
b0f1246a
AM
114472013-03-28 Alan Modra <amodra@gmail.com>
11448
11449 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11450 Define as empty.
11451 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11452 Likewise.
11453
fbbe2b9a
AZ
114542013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11455
11456 [BZ #15214]
11457 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11458 underflow.
11459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11460
1728ab37
SP
114612013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11462
7a86be6e
SP
11463 [BZ #15304]
11464 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11465 Don't add gid passed as argument.
11466
1728ab37
SP
11467 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11468
3a7182a1
JM
114692013-03-27 Joseph Myers <joseph@codesourcery.com>
11470
11471 [BZ #15307]
11472 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11473 imaginary part between 1.0 and 1.5 and real part less than 0.5
11474 specially.
11475 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11476 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11477 * math/libm-test.inc (cacos_test): Add more tests.
11478 (casin_test): Likewise.
11479 (casinh_test): Likewise.
11480 * sysdeps/i386/fpu/libm-test-ulps: Update.
11481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11482
6f2e90e7
SP
114832013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11484
5739f705
SP
11485 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11486 constants.
11487 (norm): Likewise.
11488 (denorm): Likewise.
11489 (__dbl_mp): Likewise.
11490 (add_magnitudes): Likewise.
11491 (sub_magnitudes): Likewise.
11492 (__add): Likewise.
11493 (__sub): Likewise.
11494 (__mul): Likewise.
11495 (__sqr): Likewise.
11496 (__inv): Likewise.
11497 (__dvd): Likewise.
11498
e375e83d
SP
11499 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11500 commented code.
11501 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11502 (__dubcos): Likewise.
11503 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11504 (__ieee754_acos): Likewise.
11505 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11506 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11507 (__exp1): Likewise.
11508 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11510 (log1): Likewise.
11511 (my_log2): Likewise.
11512 (checkint): Likewise.
11513 * sysdeps/ieee754/dbl-64/e_remainder.c
11514 (__ieee754_remainder): Likewise.
11515 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11517 (bsloww): Likewise.
11518 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11519
6f2e90e7
SP
11520 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11521 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11522 MANTISSA_STORE_T to store computations on mantissa. Use
11523 macros for rounding and division.
11524 (denorm): Likewise.
11525 (__dbl_mp): Likewise.
11526 (add_magnitudes): Likewise.
11527 (sub_magnitudes): Likewise.
11528 (__mul): Likewise.
11529 (__sqr): Likewise.
11530 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11531 powers of two in terms of TWOPOW macro.
11532 (mp_no): Make type of mantissa as MANTISSA_T.
11533 [!RADIXI]: Define RADIXI.
11534 [!TWO52]: Define TWO52.
11535 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11536
fce14d4e
AZ
115372013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11538
11539 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11540 llroundl symbol when building for PPC32.
11541
9ad027fb
MW
115422013-03-24 Mark H Weaver <mhw@netris.org>
11543
11544 * manual/arith.texi (Normalization Functions): Fix prototypes for
11545 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11546
e42a38dd
AZ
115472013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11548
11549 [BZ #13889]
11550 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11551 high value to check if expl overflow.
11552 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11553 to check for underflow and overflow.
11554 * math/libm-test.inc: Add exp test.
11555
2e0fb521
DL
115562013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11557
11558 [BZ #11120]
11559 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11560 with NOT_IN_libc.
11561
b5784d95
AZ
115622013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11563
11564 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11565 symbol.
11566
5aa4a1a1
TS
115672013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11568
bdef0be7
TS
11569 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11570 wrap blocks consisting of several statements.
11571
5aa4a1a1
TS
11572 * sysdeps/generic/math-tests.h: New file.
11573 * sysdeps/i386/fpu/math-tests.h: Likewise.
11574 * math/test-snan.c: Include it.
11575 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11576
98c48fe5
JM
115772013-03-21 Joseph Myers <joseph@codesourcery.com>
11578
11579 [BZ #15285]
11580 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11581 (__ieee754_j0l): Do not improve calculations using cos of twice
11582 input for inputs above LDBL_MAX / 2.0L.
11583 (__ieee754_y0l): Likewise.
11584 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11585 (__ieee754_j1l): Do not improve calculations using cos of twice
11586 input for inputs above LDBL_MAX / 2.0L.
11587 (__ieee754_y1l): Likewise.
11588 * math/libm-test.inc (j0_test): Add another test.
11589 (j1_test): Likewise.
11590 (y0_test): Likewise.
11591 (y1_test): Likewise.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593
3775a8bc
SP
115942013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11595
11596 * Rules ($(objpfx)bench-%.c): Include code from a C source
11597 file.
11598
0a1b2ae6
JM
115992013-03-21 Joseph Myers <joseph@codesourcery.com>
11600
11601 [BZ #15287]
11602 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11603 imaginary part 1.0 and real part less than 0.5 specially.
11604 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11605 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11606 * math/libm-test.inc (cacos_test): Add more tests.
11607 (casin_test): Likewise.
11608 (casinh_test): Likewise.
11609 * sysdeps/i386/fpu/libm-test-ulps: Update.
11610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11611
b33d4ce4
SP
116122013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11613
11614 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11615 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11616
bef0b507
JM
116172013-03-20 Joseph Myers <joseph@codesourcery.com>
11618
11619 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11620 * config.make.in (config-cflags-sse4): Remove variable.
11621 (config-cflags-avx): Likewise.
11622 (config-cflags-sse2avx): Likewise.
11623 (config-cflags-novzeroupper): Likewise.
11624 (config-asflags-i686): Likewise.
11625 (have-mfma4): Likewise.
11626 (have-as-vis3): Likewise.
11627 (MIG): Likewise.
11628 * configure.in (MIG): Do not AC_SUBST.
11629 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11630 (libc_cv_cc_sse4): Do not AC_SUBST.
11631 (libc_cv_cc_avx): Likewise.
11632 (libc_cv_cc_sse2avx): Likewise.
11633 (libc_cv_cc_novzeroupper): Likewise.
11634 (libc_cv_cc_fma4): Likewise.
11635 (libc_cv_as_i686): Likewise.
11636 (libc_cv_sparc_as_vis3): Likewise.
11637 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11638 LIBC_CONFIG_VAR.
11639 (config-asflags-i686): Likewise.
11640 (config-cflags-avx): Likewise.
11641 (config-cflags-sse2avx): Likewise.
11642 (have-mfma4): Likewise.
11643 (config-cflags-novzeroupper): Likewise.
11644 * sysdeps/mach/configure.in (MIG): Likewise.
11645 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11646 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11647 LIBC_CONFIG_VAR.
11648 (config-cflags-avx): Likewise.
11649 (config-cflags-sse2avx): Likewise.
11650 (have-mfma4): Likewise.
11651 (config-cflags-novzeroupper): Likewise.
11652 * configure: Regenerated.
11653 * sysdeps/i386/configure: Likewise.
11654 * sysdeps/mach/configure: Likewise.
11655 * sysdeps/sparc/configure: Likewise.
11656 * sysdeps/x86_64/configure: Likewise.
11657
912cc4b3
RM
116582013-03-20 Roland McGrath <roland@hack.frob.com>
11659
11660 [BZ #14812]
11661 * locale/programs/localedef.c (options): Put N_ translation marker
11662 on argument names, not just descriptions.
11663
04eed2b0
MS
116642013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11665
11666 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11667
a065ceff
OB
116682013-03-20 Ondřej Bílka <neleai@seznam.cz>
11669
9bb2a810 11670 [BZ #14176]
a065ceff
OB
11671 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11672
a600e5ce
RM
116732013-03-19 Roland McGrath <roland@hack.frob.com>
11674
11675 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11676 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11677 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11678 [!BEFORE_ABORT] (before_abort): New function.
11679 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11680 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11681 (writev_for_fatal): New function.
11682 (WRITEV_FOR_FATAL): New macro; call that.
11683 (backtrace_and_maps): New function.
11684 (BEFORE_ABORT): New macro; call that.
11685 (struct str_list): Type removed.
11686 (__libc_message, __libc_fatal): Functions removed.
11687 Include <sysdeps/posix/libc_fatal.c> instead.
11688
6b18bea6
JM
116892013-03-19 Joseph Myers <joseph@codesourcery.com>
11690
11691 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11692 constants.
11693 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11694 double constants.
11695
aaa8cb4b
AS
116962013-03-19 Andreas Schwab <schwab@suse.de>
11697
44673770
AS
11698 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11699 * sysdeps/gnu/configure: Regenerate.
11700
aaa8cb4b
AS
11701 * configure.in: Substitute libc_cv_rtlddir.
11702 * configure: Regenerate.
11703 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11704 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11705 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11706 * elf/Makefile (install-others, CFLAGS-interp.c)
11707 (ldso_install, common-ldd-rewrite): Likewise.
11708 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11709 $(inst_slibdir)/$(rtld-installed-name).
11710 * scripts/rellns-sh: Add -p option.
11711 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11712 for source.
11713
d3cfc668
SP
117142013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11715
11716 * manual/nptl.texi: Renamed to ...
11717 * manual/threads.texi: ... this.
11718 * manual/Makefile (chapters): Update.
11719
0e2b9cdd
RM
117202013-03-18 Roland McGrath <roland@hack.frob.com>
11721
11722 [BZ #14812]
11723 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11724 on argument names, not just descriptions.
0e2b9cdd
RM
11725 * malloc/memusagestat.c (options): Likewise.
11726 * nss/getent.c (options): Likewise.
63270c24
RM
11727
117282013-03-18 Benno Schulenberg <bensberg@justemail.net>
11729
11730 [BZ #14812]
11731 * iconv/iconv_prog.c (options): Put N_ translation marker
11732 on argument names, not just descriptions.
11733 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11734
b2e1393c
OB
117352013-03-18 Ondrej Bilka <neleai@seznam.cz>
11736
11737 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11738 implementation which is faster on all x86_64 architectures.
11739 Tested on AMD, Intel Nehalem, SNB, IVB.
11740 * sysdeps/x86_64/strnlen.S: Likewise.
11741
11742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11743 Remove all multiarch strlen and strnlen versions.
11744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11745 Remove strlen and strnlen related parts.
11746
11747 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11748 Inline strlen part.
11749 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11750
11751 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11752 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11753 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11754 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11755 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11756 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11757
ec4ff04d
CD
117582013-03-17 Carlos O'Donell <carlos@redhat.com>
11759
11760 * manual/memory.texi (Malloc Tunable Parameters):
11761 Sort parameters alphabetically. Add comments for missing entries.
11762
cd18e90a
DM
117632013-03-17 David S. Miller <davem@davemloft.net>
11764
11765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11766
2a185d32
JM
117672013-03-16 Joseph Myers <joseph@codesourcery.com>
11768
d2f9799e
JM
11769 [BZ #15283]
11770 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11771 for arguments at most half maximum finite value.
11772 * math/libm-test.inc (j0_test): Add more tests.
11773 (j1_test): Likewise.
11774 (y0_test): Likewise.
11775 (y1_test): Likewise.
11776 * sysdeps/i386/fpu/libm-test-ulps: Update.
11777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11778
2a185d32
JM
11779 [BZ #14155]
11780 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11781 1 / x and functions P and Q for arguments above 0x1p256L.
11782 (__ieee754_y0l): Likewise.
11783 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11784 (__ieee754_y1l): Likewise.
11785 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11786 (j1_test): Likewise.
11787 (y0_test): Likewise.
11788 (y1_test): Likewise.
11789
6cbec759
TS
117902013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11791
11792 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11793 variable.
11794
bc16e260
RM
117952013-03-15 Roland McGrath <roland@hack.frob.com>
11796
aefc9b8c
RM
11797 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11798 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11799 zero since it's initialized to EXEC_PAGESIZE.
11800
bc16e260
RM
11801 * sysdeps/unix/sysv/linux/ldsodefs.h
11802 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11803 * sysdeps/generic/ldsodefs.h: ... here.
11804
a57da955
TS
118052013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11806
af00a34d
TS
11807 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11808
495ded2c
TS
11809 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11810 math/test-snan.c.
11811 * math/test-snan.c: Renamed from
11812 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11813 * math/Makefile (tests): Add test-snan.
11814 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11815 test-powerpc-snan.
11816
777b0332
TS
11817 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11818 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11819 functions.
11820 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11821 __builtin_nan family of functions.
11822 * math/libm-test.inc (initialize): Initialize qnan_value with
11823 __builtin_nan family of functions.
11824 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11825 Remove variables.
11826 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11827 Remove functions.
11828 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11829 storage class. Initialize qNaN_var and sNaN_var with
11830 __builtin_nan and __builtin_nans families of functions,
11831 respectively.
11832
64d063b8
TS
11833 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11834 (sqrt_test): Remove duplicate test with qNaN input.
11835 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11836 (round_test, signbit_test, significand_test): Note missing +/-Inf
11837 as well as qNaN tests.
11838
67e971f1
TS
11839 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11840 qNaN_var. Fix a few strings, too.
11841 * math/libm-test.inc (nan_value): Rename to qnan_value.
11842 * math/gen-libm-test.pl (%beautify): Adjust to that.
11843 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11844 * math/test-misc.c (main): Likewise.
11845 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11846 to __qnan_bytes, and __qnan_union, respectively.
11847 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11848 Likewise.
11849 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11850 and lqnanval, respectively.
11851 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11852 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11853 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11854 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11855
64487e12
TS
11856 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11857 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11858 doubles.
11859
e015e27b
TS
11860 * math/test-misc.c (main): Fix copy'n'pastos.
11861 * misc/tst-efgcvt.c (special): Likewise.
11862
a57da955
TS
11863 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11864 Remove declarations.
11865
1e380345
SP
118662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11867
11868 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11869 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11870 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11871 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11872
ef26eece
AZ
118732013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11874
11875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11876 macro to return vdso values correctly in IFUNC implementations.
11877 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11878 Optimization by using IFUNC.
11879
8cfdb7e0
SP
118802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11881 Richard Henderson <rth@redhat.com>
11882 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11883
11884 * Makefile.in (bench): New target.
11885 * NEWS: Mention the benchmark framework.
11886 * Rules (bench): Likewise.
11887 (binaries-bench): Generate binaries for functions to
11888 benchmark.
11889 * benchtests/Makefile: New makefile for benchmark tests.
11890 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11891 programs.
11892 * benchtests/exp-inputs: New input file for EXP function.
11893 * benchtests/pow-inputs: New input file for POW function.
11894 * scripts/bench.pl: New script to generate source files for
11895 benchmark programs.
11896
bcda9880
SP
118972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11898
d22ca8cd
SP
11899 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11900 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11901 computations on mantissa. Use macros for rounding and
11902 division.
11903 (denorm): Likewise.
11904 (__dbl_mp): Likewise.
11905 (add_magnitudes): Likewise.
11906 (sub_magnitudes): Likewise.
11907 (__mul): Likewise.
11908 (__sqr): Likewise.
11909 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11910 powers of two in terms of TWOPOW macro.
11911 (mp_no): Make type of mantissa as MANTISSA_T.
11912 [!RADIXI]: Define RADIXI.
11913 [!TWO52]: Define TWO52.
11914 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11915
bcda9880
SP
11916 * manual/nptl.texi (cindex): Modify threads to pthreads.
11917
06d5adfb
JM
119182013-03-15 Joseph Myers <joseph@codesourcery.com>
11919
11920 * sysdeps/x86_64/preconfigure: Regenerated.
11921
41c7328e
JM
119222013-03-14 Joseph Myers <joseph@codesourcery.com>
11923
11924 [BZ #14155]
11925 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11926 0x1p28 and above.
11927 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11928 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11929 0x1p28 and above.
11930 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11931 * math/libm-test.inc (j0_test): Do not allow one spurious
11932 underflow exception.
11933 (y1_test): Likewise.
11934
e25cfa60
SP
119352013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11936
0409959c
SP
11937 * manual/Makefile (chapters): Add nptl.
11938 * manual/debug.texi (Debugging Support): Add link to Threads
11939 chapter.
11940 * manual/nptl.texi: New file.
11941
e25cfa60
SP
11942 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11943
58a1335e
PB
119442013-03-14 Petr Baudis <pasky@ucw.cz>
11945
11946 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11947 for non-NULL pointer before the memory validity test. Pointed
11948 out by Holger Brunck <holger.brunck@keymile.com>.
11949
9dc7c64f
AS
119502013-03-13 Andreas Schwab <schwab@suse.de>
11951
11952 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11953 instead of .os.
11954
54206aa6
JM
119552013-03-13 Joseph Myers <joseph@codesourcery.com>
11956
11957 * timezone/zic.c: Update from tzcode 2013b.
11958
e98cdb38
CD
119592013-03-12 Carlos O'Donell <carlos@redhat.com>
11960
11961 * manual/install.texi (Configuring and compiling):
11962 Mention i686 and i586.
11963 * INSTALL: Regenerate.
11964
9967e003
RM
119652013-03-12 Roland McGrath <roland@hack.frob.com>
11966
11967 * sysdeps/init_array/elf-init.c: New file.
11968 * csu/elf-init.c
11969 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11970 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11971
11972 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11973 __gmon_start__ as global, but as static with a .preinit_array pointer.
11974 * sysdeps/init_array/gmon-start.c: New file. Use that.
11975 * sysdeps/init_array/crti.S: New file, empty except for comments.
11976 * sysdeps/init_array/crtn.S: Likewise.
11977
e6b5a293 119782013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11979
11980 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11981 definining bcopy.
80f844c9
OB
11982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11983 Remove Prefer_SSE_for_memop.
11984 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11985 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11986 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11988 memset-x86-64.
80f844c9 11989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11990 Remove bzero, memset ifunc support.
80f844c9
OB
11991 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11992 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11993 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11994 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11995
fb6b0fcb
AS
119962013-03-11 Andreas Schwab <schwab@suse.de>
11997
11998 [BZ #15234]
11999 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12000 by SHLIB_COMPAT.
12001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12002 (GLIBC_2.16): Remove pthread_atfork.
12003
3e6bd4b1
PP
120042013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12005
12006 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12007 (ptestcases.h): Likewise.
12008
222d7f00
RM
120092013-03-08 Roland McGrath <roland@hack.frob.com>
12010
12011 * Makeconfig ($(common-objpfx)config.status): Depend on
12012 sysdeps/*/preconfigure{,.in} too.
12013
1ba4f030
JM
120142013-03-08 Joseph Myers <joseph@codesourcery.com>
12015
a222d91a
JM
12016 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12017 (__free_hook): Use void * instead of __malloc_ptr_t.
12018 (__malloc_hook): Likewise.
12019 (__realloc_hook): Likewise.
12020 (__memalign_hook): Likewise.
12021 (__after_morecore_hook): Likewise.
12022 * malloc/arena.c (save_malloc_hook): Likewise.
12023 (save_free_hook): Likewise.
12024 * malloc/hooks.c (malloc_hook_ini): Likewise.
12025 (realloc_hook_ini): Likewise.
12026 (memalign_hook_ini): Likewise.
12027 * malloc/malloc.c (malloc_hook_ini): Likewise.
12028 (realloc_hook_ini): Likewise.
12029 (memalign_hook_ini): Likewise.
12030 (__free_hook): Likewise.
12031 (__malloc_hook): Likewise.
12032 (__realloc_hook): Likewise.
12033 (__memalign_hook): Likewise.
12034 (__libc_malloc): Likewise.
12035 (__libc_free): Likewise.
12036 (__libc_realloc): Likewise.
12037 (__libc_memalign): Likewise.
12038 (__libc_valloc): Likewise.
12039 (__libc_pvalloc): Likewise.
12040 (__libc_calloc): Likewise.
12041 (__posix_memalign): Likewise.
12042 * malloc/morecore.c (__sbrk): Likewise.
12043 (__default_morecore): Likewise.
12044
5cc45e10
JM
12045 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12046
dd54b864
JM
12047 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12048 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12049 __malloc_ptrdiff_t.
12050
1ba4f030
JM
12051 * malloc/malloc.h (__malloc_size_t): Remove macro.
12052 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12053 __malloc_size_t.
12054 (old_memalign_hook): Likewise.
12055 (old_realloc_hook): Likewise.
12056 (struct hdr): Likewise.
12057 (flood): Likewise.
12058 (mallochook): Likewise.
12059 (memalignhook): Likewise.
12060 (reallochook): Likewise.
12061 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12062 (tr_old_realloc_hook): Likewise.
12063 (tr_old_memalign_hook): Likewise.
12064 (tr_mallochook): Likewise.
12065 (tr_reallochook): Likewise.
12066 (tr_memalignhook): Likewise.
12067
edf66e57
AZ
120682013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12069
12070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12071 default_ldbl_pack and using as default implementation.
12072 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12073 implementation.
12074 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12075 redundant definition.
12076 (ldbl_insert_mantissa): Likewise.
12077 (ldbl_canonicalize): Likewise.
12078 (ldbl_nearbyint): Likewise.
12079 (ldbl_pack): Rename to ldbl_pack_ppc.
12080 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12081 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12082 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12083
6d9145d8
SP
120842013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12085
12086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12087 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12088 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12089 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12091 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12092 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12093 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12094
4dd4e157
AJ
120952013-03-07 Andreas Jaeger <aj@suse.de>
12096
12097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12098 bits/mman-linux.h.
12099
adbb8027
SP
121002013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12101
ce544b5b
SP
12102 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12103 Include mpa.h and declare __MPEXP.
12104 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12105 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12106 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12107 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12108 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12109 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12110 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12111
4cc149fd
SP
12112 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12113 (__slowpow): Use long double EXPL and LOGL functions to
12114 compute POW.
12115 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12116 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12117 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12118 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12119 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12120 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12121
e6ebd4a7
SP
12122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12123 intermediate variable to calculate exponent.
12124 (__sqr): Likewise.
12125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12126 Likewise.
12127 (__sqr): Likewise.
12128
82a9811d
SP
12129 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12130 [!NO__SQR]: Define __sqr.
12131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12132 and NO__SQR. Remove all code except __mul and __sqr. Include
12133 sysdeps/ieee754/dbl-64/mpa.c.
12134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12135
adbb8027
SP
12136 [BZ #12723]
12137 * posix/Makefile (tests): Add tst-pathconf.
12138 * posix/tst-pathconf.c: New test case.
12139 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12140 _PC_PIPE_BUF.
12141 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12142
39120df9
PF
121432013-03-06 Patsy Franklin <pfrankli@redhat.com>
12144
12145 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12146
67525cb8
AJ
121472013-03-06 Andreas Jaeger <aj@suse.de>
12148
664a9ce4
AJ
12149 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12150 definition via __MAP_ANONYMOUS.
12151
8e39047d
AJ
12152 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12153 it's not part of Linux headers.
12154
67525cb8
AJ
12155 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12156 (MAP_HUGE_MASK): Define.
12157
12158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12159 Define.
12160 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12161 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12162 Define.
12163 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12164 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12165 Define.
12166 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12168 Define.
12169 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12170
12171 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12172 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12173 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12174 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12175 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12176 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12177
12178 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12179 Handle f2fs.
12180
12181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12182 Handle f2fs and efivarfs.
12183
12184 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12185 f2fs.
12186
12187 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12188 (EFIVARFS_MAGIC): Add.
12189 (F2FS_LINK_MAX): Add.
12190
e1b42695
PP
121912013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12192
12193 * stdio-common/vfprintf.c: Replace __builtin_expect with
12194 __glibc_unlikely.
12195
2d67d91a
JM
121962013-03-06 Joseph Myers <joseph@codesourcery.com>
12197
12198 [BZ #13550]
12199 * sysdeps/generic/bp-sym.h: Remove file.
12200 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12201 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12202 <bp-sym.h> and <bp-asm.h>.
12203 (__longjmp): Don't use BP_SYM.
12204 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12205 and <bp-asm.h>.
12206 (memcpy): Don't use BP_SYM.
12207 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12208 <bp-sym.h> and <bp-asm.h>.
12209 (memcpy): Don't use BP_SYM.
12210 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12211 <bp-asm.h>.
12212 (memcpy): Don't use BP_SYM.
12213 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12214 <bp-asm.h>.
12215 (memset): Don't use BP_SYM.
12216 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12217 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12218 (__bzero): Don't use BP_SYM.
12219 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12220 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12221 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12222 <bp-sym.h> and <bp-asm.h>.
12223 (memcmp): Don't use BP_SYM. Remove comment about bounded
12224 pointers.
12225 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12226 <bp-sym.h> and <bp-asm.h>.
12227 (memcpy): Don't use BP_SYM.
12228 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12229 <bp-sym.h> and <bp-asm.h>.
12230 (memset): Don't use BP_SYM.
12231 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12232 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12233 (__bzero): Don't use BP_SYM.
12234 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12235 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12236 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12237 <bp-sym.h> and <bp-asm.h>.
12238 (strncmp): Don't use BP_SYM. Remove comment about bounded
12239 pointers.
12240 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12241 <bp-sym.h> and <bp-asm.h>.
12242 (memcpy): Don't use BP_SYM.
12243 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12244 <bp-sym.h> and <bp-asm.h>.
12245 (memset): Don't use BP_SYM.
12246 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12247 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12248 (__bzero): Don't use BP_SYM.
12249 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12250 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12252 <bp-sym.h> and <bp-asm.h>.
12253 (__memchr): Don't use BP_SYM.
12254 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12255 <bp-sym.h> and <bp-asm.h>.
12256 (memcmp): Don't use BP_SYM. Remove comment about bounded
12257 pointers.
12258 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12259 <bp-sym.h> and <bp-asm.h>.
12260 (memcpy): Don't use BP_SYM.
12261 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12262 <bp-sym.h> and <bp-asm.h>.
12263 (__mempcpy): Don't use BP_SYM.
12264 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12265 <bp-sym.h> and <bp-asm.h>.
12266 (__memrchr): Don't use BP_SYM.
12267 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12268 <bp-sym.h> and <bp-asm.h>.
12269 (memset): Don't use BP_SYM.
12270 (__bzero): Likewise.
12271 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12272 <bp-sym.h> and <bp-asm.h>.
12273 (__rawmemchr): Don't use BP_SYM.
12274 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12275 <bp-sym.h> and <bp-asm.h>.
12276 (__STRCMP): Don't use BP_SYM.
12277 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12278 <bp-sym.h> and <bp-asm.h>.
12279 (strchr): Don't use BP_SYM.
12280 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12281 <bp-sym.h> and <bp-asm.h>.
12282 (__strchrnul): Don't use BP_SYM.
12283 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12284 <bp-sym.h> and <bp-asm.h>.
12285 (strlen): Don't use BP_SYM.
12286 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12287 <bp-sym.h> and <bp-asm.h>.
12288 (strncmp): Don't use BP_SYM. Remove comment about bounded
12289 pointers.
12290 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12291 <bp-sym.h> and <bp-asm.h>.
12292 (__strnlen): Don't use BP_SYM.
12293 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12294 <bp-sym.h> and <bp-asm.h>.
12295 (__GI__setjmp): Don't use BP_SYM.
12296 (_setjmp): Likewise.
12297 (__sigsetjmp): Likewise.
12298 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12299 (L(start_addresses)): Don't use BP_SYM.
12300 (_start): Likewise.
12301 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12302 <bp-asm.h>.
12303 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12304 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12305 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12306 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12307 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12308 <bp-asm.h>.
12309 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12310 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12311 about bounded pointers.
12312 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12313 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12314 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12315 <bp-asm.h>.
12316 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12317 about bounded pointers. Remove GKM FIXME comments.
12318 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12319 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12320 <bp-asm.h>.
12321 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12322 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12323 Remove GKM FIXME comments.
12324 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12325 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12326 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12327 <bp-asm.h>.
12328 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12329 about bounded pointers. Remove GKM FIXME comment.
12330 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12331 and <bp-asm.h>.
12332 (strncmp): Don't use BP_SYM. Remove comment about bounded
12333 pointers.
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12335 <bp-sym.h> and <bp-asm.h>.
12336 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12338 <bp-sym.h> and <bp-asm.h>.
12339 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12340 comment.
12341
cdcf361f
PP
123422013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12343
12344 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12345 call free(NULL).
12346
3c4a2b15
DM
123472013-03-05 David S. Miller <davem@davemloft.net>
12348
12349 * po/es.po: Update from translation team.
12350
cdcf361f 123512013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12352
12353 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12354 <bits/mman-linux.h>.
12355 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12356 is fine.
12357 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12358 <bits/mman-linux.h> to end of file.
12359 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12360 is fine.
12361 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12362 <bits/mman-linux.h> to end of file.
12363 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12364 is fine.
12365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12366 <bits/mman-linux.h> to end of file.
12367
12368 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12369 (MCL_CURRENT, MCL_FUTURE): Define here.
12370
5f67c04f
AK
123712013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12372
8a4473cc 12373 [BZ #15232]
5f67c04f
AK
12374 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12375 attribute_hidden.
12376 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12377
c3e94a95
AK
123782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12379
12380 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12381 fourth parameter needed for rt_sigprocmask syscall.
12382 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12383 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12384 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12386 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12387 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12388
cfb6382a
JM
123892013-03-04 Joseph Myers <joseph@codesourcery.com>
12390
12391 [BZ #13550]
12392 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12393 comment about bounded pointers.
12394 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12395 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12396
539d8e01
AJ
123972013-03-04 Andreas Jaeger <aj@suse.de>
12398
12399 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12400 common definitions.
12401
12402 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12403 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12404 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12405 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12407 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12408
2e167a70 124092013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12410
12411 [BZ #15055]
12412 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12413 __ieee754_sqrl instead of __sqrl.
12414
68508633
JM
124152013-03-01 Joseph Myers <joseph@codesourcery.com>
12416
12417 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12418 * sysdeps/powerpc/fpu_control.h: ... here.
12419 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12420 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12421 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12422 * sysdeps/powerpc/bits/mathinline.h: ... here.
12423
7775448e
RM
124242013-03-01 Roland McGrath <roland@hack.frob.com>
12425
12426 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12427 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12428 to just [NEED_DL_SYSINFO_DSO].
12429 * elf/dl-support.c: Likewise.
12430 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12431 * elf/rtld.c (dl_main): Likewise.
12432 * elf/setup-vdso.h (setup_vdso): Likewise.
12433 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12434 * sysdeps/unix/sysv/linux/dl-sysdep.c
12435 (_dl_discover_osversion): Likewise.
12436
4e9b5995
CD
124372013-03-01 Carlos O'Donell <carlos@redhat.com>
12438
12439 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12440 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12441
e23872c8
SP
124422013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12443
e5c74c63
SP
12444 * NEWS: Mention libm performance improvements and non-x86 PI
12445 futex support.
12446
e23872c8
SP
12447 * csu/libc-start.c (__pthread_initialize_minimal): Change
12448 function arguments.
12449 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12450
b5510883
JM
124512013-02-28 Joseph Myers <joseph@codesourcery.com>
12452
12453 [BZ #13550]
12454 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12455 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12456 <bp-sym.h> and <bp-asm.h>.
12457 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12458 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12459 and <bp-asm.h>.
12460 (memcpy): Don't use BP_SYM.
12461 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12462 <bp-asm.h>.
12463 (__mpn_add_n): Don't use BP_SYM.
12464 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12465 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12466 and <bp-asm.h>.
12467 (__mpn_addmul_1): Don't use BP_SYM.
12468 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12469 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12470 <bp-sym.h>.
12471 (_setjmp): Don't use BP_SYM.
12472 (__novmx_setjmp): Likewise.
12473 (__GI__setjmp): Likewise.
12474 (__vmx_setjmp): Likewise.
12475 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12476 <bp-sym.h>.
12477 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12478 (__bzero): Don't use BP_SYM.
12479 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12480 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12481 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12482 <bp-sym.h> and <bp-asm.h>.
12483 (memcpy): Don't use BP_SYM.
12484 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12485 <bp-sym.h> and <bp-asm.h>.
12486 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12487 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12488 <bp-sym.h> and <bp-asm.h>.
12489 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12490 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12491 <bp-asm.h>.
12492 (__mpn_lshift): Don't use BP_SYM.
12493 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12494 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12495 <bp-asm.h>.
12496 (memset): Don't use BP_SYM.
12497 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12498 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12499 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12500 <bp-asm.h>.
12501 (__mpn_mul_1): Don't use BP_SYM.
12502 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12503 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12504 <bp-sym.h> and <bp-asm.h>.
12505 (memcmp): Don't use BP_SYM.
12506 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12507 <bp-sym.h> and <bp-asm.h>.
12508 (memcpy): Don't use BP_SYM.
12509 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12510 <bp-sym.h> and <bp-asm.h>.
12511 (memset): Don't use BP_SYM.
12512 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12513 <bp-sym.h> and <bp-asm.h>.
12514 (strncmp): Don't use BP_SYM.
12515 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12516 <bp-sym.h> and <bp-asm.h>.
12517 (memcpy): Don't use BP_SYM.
12518 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12519 <bp-sym.h> and <bp-asm.h>.
12520 (memset): Don't use BP_SYM.
12521 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12522 <bp-sym.h> and <bp-asm.h>.
12523 (__memchr): Don't use BP_SYM.
12524 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12525 <bp-sym.h> and <bp-asm.h>.
12526 (memcmp): Don't use BP_SYM.
12527 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12528 <bp-sym.h> and <bp-asm.h>.
12529 (memcpy): Don't use BP_SYM.
12530 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12531 <bp-sym.h> and <bp-asm.h>.
12532 (__mempcpy): Don't use BP_SYM.
12533 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12534 <bp-sym.h> and <bp-asm.h>.
12535 (__memrchr): Don't use BP_SYM.
12536 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12537 <bp-sym.h> and <bp-asm.h>.
12538 (memset): Don't use BP_SYM.
12539 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12540 <bp-sym.h> and <bp-asm.h>.
12541 (__rawmemchr): Don't use BP_SYM.
12542 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12543 <bp-sym.h> and <bp-asm.h>.
12544 (__STRCMP): Don't use BP_SYM.
12545 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12546 <bp-sym.h> and <bp-asm.h>.
12547 (strchr): Don't use BP_SYM.
12548 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12549 <bp-sym.h> and <bp-asm.h>.
12550 (__strchrnul): Don't use BP_SYM.
12551 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12552 <bp-sym.h> and <bp-asm.h>.
12553 (strlen): Don't use BP_SYM.
12554 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12555 <bp-sym.h> and <bp-asm.h>.
12556 (strncmp): Don't use BP_SYM.
12557 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12558 <bp-sym.h> and <bp-asm.h>.
12559 (__strnlen): Don't use BP_SYM.
12560 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12561 <bp-asm.h>.
12562 (__mpn_rshift): Don't use BP_SYM.
12563 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12564 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12565 <bp-sym.h> and <bp-asm.h>.
12566 (__sigsetjmp): Don't use BP_SYM.
12567 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12568 (L(start_addresses)): Don't use BP_SYM.
12569 (_start): Likewise.
12570 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12571 <bp-asm.h>.
12572 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12573 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12574 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12575 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12576 <bp-asm.h>.
12577 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12578 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12579 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12580 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12581 <bp-asm.h>.
12582 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12583 comments.
12584 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12585 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12586 <bp-asm.h>.
12587 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12588 FIXME comments.
12589 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12590 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12591 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12592 <bp-asm.h>.
12593 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12594 comment.
12595 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12596 and <bp-asm.h>.
12597 (strncmp): Don't use BP_SYM,
12598 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12599 <bp-asm.h>.
12600 (__mpn_sub_n): Don't use BP_SYM.
12601 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12602 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12603 and <bp-asm.h>.
12604 (__mpn_submul_1): Don't use BP_SYM.
12605 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12607 <bp-sym.h> and <bp-asm.h>.
12608 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12610 <bp-sym.h> and <bp-asm.h>.
12611 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12612 comment.
12613
8d19fe64
SP
126142013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12615
12616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12617 Use ZK to minimize writes to Z.
12618 (sub_magnitudes): Simplify code a bit.
12619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12620 Use ZK to minimize writes to Z.
12621 (sub_magnitudes): Simplify code a bit.
12622
85bd816a
RM
126232013-02-27 Roland McGrath <roland@hack.frob.com>
12624
12625 * csu/gmon-start.c: Add special exception to license text.
12626
b5977bf2
RH
126272013-02-27 Richard Henderson <rth@redhat.com>
12628
12629 * scripts/config.guess: Update from config.git.
12630 * scripts/config.sub: Likewise.
12631
11d6e2f2
SP
126322013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12633
09c14ed2
SP
12634 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12635
a688864e
SP
12636 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12637
6295157a
SP
12638 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12639
b8de2202
SP
12640 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12641
11d6e2f2
SP
12642 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12643
7e80ddb8
RM
126442013-02-26 Roland McGrath <roland@hack.frob.com>
12645
12646 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12647 [$(build-shared = yes].
7e80ddb8 12648
7da6d9ed
SP
126492013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12650
45f05884
SP
12651 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12652 (__mul): Reduce iterations for calculating mantissa.
12653
2236d359
SP
12654 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12655 MPTWO.
12656 (__mpranred): Likewise.
12657
7da6d9ed
SP
12658 [BZ #15160]
12659 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12660 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12661
b7688c42
PE
126622013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12663
12664 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12665 Define __attribute__.
12666
53a5c423
SP
126672013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12668
12669 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12670 unused.
12671 * posix/regex_internal.h (__attribute): Remove.
12672 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12673 (re_string_context_at): Likewise.
12674 (bitset_not): Use __attribute__ and mark function as possibly
12675 unused.
12676 (bitset_merge): Likewise.
12677 (bitset_mask): Likewise.
12678 (re_string_char_size_at): Likewise.
12679 (re_string_wchar_at): Likewise.
12680 (re_string_elem_size_at): Likewise.
12681
60f5a8b5
SP
126822013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12683
2a983a2e
SP
12684 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12685 code.
12686 (cc32): Likewise.
12687
e69804d1
SP
12688 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12689 (__acr): Likewise.
12690 (__cpy): Likewise.
12691 (norm): Likewise.
12692 (denorm): Likewise.
12693 (__dbl_mp): Likewise.
12694 (add_magnitudes): Likewise.
12695 (sub_magnitudes): Likewise.
12696 (__mul): Likewise.
12697 (__inv): Likewise.
12698
2f22a1e8
SP
12699 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12700 style.
12701
8930ddc7
SP
12702 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12703 style.
12704
dc60cb11
SP
12705 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12706 code.
12707
60f5a8b5
SP
12708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12709 up changes with default code.
12710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12711 Likewise.
12712
b4d1fd33
AM
127132013-02-24 Allan McRae <allan@archlinux.org>
12714
faf6f8bc
AM
12715 * manual/socket.texi (The Internet Namespace): Order menu items
12716 to match that in the file.
12717
b4d1fd33
AM
12718 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12719 node listing of the info page menu.
12720
2366713d
JM
127212013-02-21 Joseph Myers <joseph@codesourcery.com>
12722
12723 [BZ #13550]
12724 * sysdeps/i386/bp-asm.h: Remove file.
12725 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12726 (PARMS): Do not use macros from bp-asm.h.
12727 (S1): Likewise.
12728 (S2): Likewise.
12729 (SIZE): Likewise.
12730 (__mpn_add_n): Do not use BP_SYM
12731 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12732 "bp-asm.h".
12733 (PARMS): Do not use macros from bp-asm.h.
12734 (S1): Likewise.
12735 (SIZE): Likewise.
12736 (__mpn_addmul_1): Do not use BP_SYM
12737 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12738 "bp-asm.h".
12739 (PARMS): Do not use macros from bp-asm.h.
12740 (SIGMSK): Likewise.
12741 (_setjmp): Likewise. Do not use BP_SYM.
12742 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12743 "bp-asm.h".
12744 (PARMS): Do not use macros from bp-asm.h.
12745 (SIGMSK): Likewise.
12746 (setjmp): Likewise. Do not use BP_SYM.
12747 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12748 "bp-asm.h".
12749 (PARMS): Do not use macros from bp-asm.h.
12750 (__frexp): Do not use BP_SYM.
12751 (frexp): Likewise.
12752 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12753 "bp-asm.h".
12754 (PARMS): Do not use macros from bp-asm.h.
12755 (__frexpf): Do not use BP_SYM.
12756 (frexpf): Likewise.
12757 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12758 "bp-asm.h".
12759 (PARMS): Do not use macros from bp-asm.h.
12760 (__frexpl): Do not use BP_SYM.
12761 (frexpl): Likewise.
12762 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12763 "bp-asm.h".
12764 (PARMS): Do not use macros from bp-asm.h.
12765 (__remquo): Do not use BP_SYM.
12766 (remquo): Likewise.
12767 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12768 "bp-asm.h".
12769 (PARMS): Do not use macros from bp-asm.h.
12770 (__remquof): Do not use BP_SYM.
12771 (remquof): Likewise.
12772 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12773 "bp-asm.h".
12774 (PARMS): Do not use macros from bp-asm.h.
12775 (__remquol): Do not use BP_SYM.
12776 (remquol): Likewise.
12777 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12778 "bp-asm.h".
12779 (PARMS): Do not use macros from bp-asm.h.
12780 (DEST): Likewise.
12781 (SRC): Likewise.
12782 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12783 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12784 "bp-asm.h".
12785 (PARMS): Do not use macros from bp-asm.h.
12786 (strlen): Do not use BP_SYM.
12787 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12788 "bp-asm.h".
12789 (PARMS): Do not use macros from bp-asm.h.
12790 (S1): Likewise.
12791 (S2): Likewise.
12792 (SIZE): Likewise.
12793 (__mpn_add_n): Do not use BP_SYM.
12794 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12795 "bp-asm.h".
12796 (PARMS): Do not use macros from bp-asm.h.
12797 (S1): Likewise.
12798 (SIZE): Likewise.
12799 (__mpn_addmul_1): Do not use BP_SYM.
12800 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12801 weak_alias.
12802 (bzero): Likewise.
12803 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12804 "bp-asm.h".
12805 (PARMS): Do not use macros from bp-asm.h.
12806 (S): Likewise.
12807 (SIZE): Likewise.
12808 (__mpn_lshift): Do not use BP_SYM.
12809 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12810 "bp-asm.h".
12811 (PARMS): Do not use macros from bp-asm.h.
12812 (DEST): Likewise.
12813 (SRC): Likewise.
12814 (LEN): Likewise.
12815 (memcpy): Likewise. Do not use BP_SYM.
12816 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12817 libc_hidden_def and weak_alias.
12818 (mempcpy): Do not use BP_SYM in weak_alias.
12819 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12820 "bp-asm.h".
12821 (PARMS): Do not use macros from bp-asm.h.
12822 (DEST): Likewise.
12823 (LEN): Likewise.
12824 [!BZERO_P] (CHR): Likewise.
12825 (memset): Likewise. Do not use BP_SYM.
12826 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12827 "bp-asm.h".
12828 (PARMS): Do not use macros from bp-asm.h.
12829 (S1): Likewise.
12830 (SIZE): Likewise.
12831 (__mpn_mul_1): Do not use BP_SYM.
12832 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12833 "bp-asm.h".
12834 (PARMS): Do not use macros from bp-asm.h.
12835 (S): Likewise.
12836 (SIZE): Likewise.
12837 (__mpn_rshift): Do not use BP_SYM.
12838 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12839 "bp-asm.h".
12840 (PARMS): Do not use macros from bp-asm.h.
12841 (STR): Likewise.
12842 (CHR): Likewise.
12843 (strchr): Likewise. Do not use BP_SYM.
12844 (index): Do not use BP_SYM in weak_alias.
12845 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12846 "bp-asm.h".
12847 (PARMS): Do not use macros from bp-asm.h.
12848 (DEST): Likewise.
12849 (SRC): Likewise.
12850 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12851 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12852 "bp-asm.h".
12853 (PARMS): Do not use macros from bp-asm.h.
12854 (strlen): Do not use BP_SYM.
12855 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12856 "bp-asm.h".
12857 (PARMS): Do not use macros from bp-asm.h.
12858 (S1): Likewise.
12859 (S2): Likewise.
12860 (SIZE): Likewise.
12861 (__mpn_sub_n): Do not use BP_SYM.
12862 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12863 "bp-asm.h".
12864 (PARMS): Do not use macros from bp-asm.h.
12865 (S1): Likewise.
12866 (SIZE): Likewise.
12867 (__mpn_submul_1): Do not use BP_SYM.
12868 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12869 "bp-asm.h".
12870 (PARMS): Do not use macros from bp-asm.h.
12871 (S1): Likewise.
12872 (S2): Likewise.
12873 (SIZE): Likewise.
12874 (__mpn_add_n): Do not use BP_SYM.
12875 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12876 weak_alias.
12877 (bzero): Likewise.
12878 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12879 "bp-asm.h".
12880 (PARMS): Do not use macros from bp-asm.h.
12881 (BLK2): Likewise.
12882 (LEN): Likewise.
12883 (memcmp): Do not use BP_SYM.
12884 (bcmp): Do not use BP_SYM in weak_alias.
12885 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12886 "bp-asm.h".
12887 (PARMS): Do not use macros from bp-asm.h.
12888 (DEST): Likewise.
12889 (SRC): Likewise.
12890 (LEN): Likewise.
12891 (memcpy): Likewise. Do not use BP_SYM.
12892 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12893 "bp-asm.h".
12894 (PARMS): Do not use macros from bp-asm.h.
12895 (DEST): Likewise.
12896 (SRC): Likewise.
12897 (LEN): Likewise.
12898 (memmove): Likewise. Do not use BP_SYM.
12899 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12900 "bp-asm.h".
12901 (PARMS): Do not use macros from bp-asm.h.
12902 (DEST): Likewise.
12903 (SRC): Likewise.
12904 (LEN): Likewise.
12905 (__mempcpy): Likewise. Do not use BP_SYM.
12906 (mempcpy): Do not use BP_SYM in weak_alias.
12907 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12908 "bp-asm.h".
12909 (PARMS): Do not use macros from bp-asm.h.
12910 (DEST): Likewise.
12911 (LEN): Likewise.
12912 [!BZERO_P] (CHR): Likewise.
12913 (memset): Likewise. Do not use BP_SYM.
12914 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12915 "bp-asm.h".
12916 (PARMS): Do not use macros from bp-asm.h.
12917 (STR2): Likewise.
12918 (strcmp): Do not use BP_SYM.
12919 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12920 "bp-asm.h".
12921 (PARMS): Do not use macros from bp-asm.h.
12922 (STR): Likewise.
12923 (DELIM): Likewise.
12924 [USE_AS_STRTOK_R] (SAVE): Likewise.
12925 (FUNCTION): Likewise. Do not use BP_SYM.
12926 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12927 aliases.
12928 (strtok_r): Likewise.
12929 (__GI___strtok_r): Likewise.
12930 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12931 (PARMS): Do not use macros from bp-asm.h.
12932 (S): Likewise.
12933 (SIZE): Likewise.
12934 (__mpn_lshift): Do not use BP_SYM.
12935 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12936 (PARMS): Do not use macros from bp-asm.h.
12937 (STR): Likewise.
12938 (CHR): Likewise.
12939 (__memchr): Do not use BP_SYM.
12940 (memchr): Do not use BP_SYM in weak_alias.
12941 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12942 (PARMS): Do not use macros from bp-asm.h.
12943 (BLK2): Likewise.
12944 (LEN): Likewise.
12945 (memcmp): Do not use BP_SYM.
12946 (bcmp): Do not use BP_SYM in weak_alias.
12947 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12948 (PARMS): Do not use macros from bp-asm.h.
12949 (S1): Likewise.
12950 (SIZE): Likewise.
12951 (__mpn_mul_1): Do not use BP_SYM.
12952 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12953 "bp-asm.h".
12954 (PARMS): Do not use macros from bp-asm.h.
12955 (STR): Likewise.
12956 (CHR): Likewise.
12957 (__rawmemchr): Do not use BP_SYM.
12958 (rawmemchr): Do not use BP_SYM in weak_alias.
12959 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12960 (PARMS): Do not use macros from bp-asm.h.
12961 (S): Likewise.
12962 (SIZE): Likewise.
12963 (__mpn_rshift): Do not use BP_SYM.
12964 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12965 (PARMS): Do not use macros from bp-asm.h.
12966 (SIGMSK): Likewise.
12967 (__sigsetjmp): Likewise. Do not use BP_SYM.
12968 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12969 (_start): Do not use BP_SYM.
12970 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12971 (PARMS): Do not use macros from bp-asm.h.
12972 (DEST): Likewise.
12973 (SRC): Likewise.
12974 (__stpcpy): Likewise. Do not use BP_SYM.
12975 (stpcpy): Do not use BP_SYM in weak_alias.
12976 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12977 "bp-asm.h".
12978 (PARMS): Do not use macros from bp-asm.h.
12979 (DEST): Likewise.
12980 (SRC): Likewise.
12981 (LEN): Likewise.
12982 (__stpncpy): Likewise. Do not use BP_SYM.
12983 (stpncpy): Do not use BP_SYM in weak_alias.
12984 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12985 (PARMS): Do not use macros from bp-asm.h.
12986 (STR): Likewise.
12987 (CHR): Likewise.
12988 (strchr): Likewise. Do not use BP_SYM.
12989 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12990 "bp-asm.h".
12991 (PARMS): Do not use macros from bp-asm.h.
12992 (STR): Likewise.
12993 (CHR): Likewise.
12994 (__strchrnul): Likewise. Do not use BP_SYM.
12995 (strchrnul): Do not use BP_SYM in weak_alias.
12996 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12997 "bp-asm.h".
12998 (PARMS): Do not use macros from bp-asm.h.
12999 (STOP): Likewise.
13000 (strcspn): Do not use BP_SYM.
13001 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13002 "bp-asm.h".
13003 (PARMS): Do not use macros from bp-asm.h.
13004 (STR): Likewise.
13005 (STOP): Likewise.
13006 (strpbrk): Likewise. Do not use BP_SYM.
13007 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13008 "bp-asm.h".
13009 (PARMS): Do not use macros from bp-asm.h.
13010 (STR): Likewise.
13011 (CHR): Likewise.
13012 (strrchr): Likewise. Do not use BP_SYM.
13013 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13014 (PARMS): Do not use macros from bp-asm.h.
13015 (SKIP): Likewise.
13016 (strspn): Do not use BP_SYM.
13017 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13018 (PARMS): Do not use macros from bp-asm.h.
13019 (STR): Likewise.
13020 (DELIM): Likewise.
13021 (SAVE): Likewise.
13022 (FUNCTION): Likewise. Do not use BP_SYM.
13023 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13024 aliases.
13025 (strtok_r): Likewise.
13026 (__GI___strtok_r): Likewise.
13027 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13028 (PARMS): Do not use macros from bp-asm.h.
13029 (S1): Likewise.
13030 (S2): Likewise.
13031 (SIZE): Likewise.
13032 (__mpn_sub_n): Do not use BP_SYM.
13033 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13034 "bp-asm.h".
13035 (PARMS): Do not use macros from bp-asm.h.
13036 (S1): Likewise.
13037 (SIZE): Likewise.
13038 (__mpn_submul_1): Do not use BP_SYM.
13039 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13040 <bp-sym.h>.
13041 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13042 and <bp-asm.h>.
13043 (PARMS): Do not use macros from bp-asm.h.
13044 (FLAGS): Likewise.
13045 (PTID): Likewise.
13046 (TLS): Likewise.
13047 (CTID): Likewise.
13048 (__clone): Do not use BP_SYM.
13049 (clone): Do not use BP_SYM in weak_alias.
13050 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13051 and <bp-asm.h>.
13052 (PARMS): Do not use macros from bp-asm.h.
13053 (LEN): Likewise.
13054 (__mmap64): Do not use BP_SYM.
13055 (mmap64): Do not use BP_SYM in weak_alias.
13056 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13057 <bp-sym.h> and <bp-asm.h>.
13058 (PARMS): Do not use macros from bp-asm.h.
13059 (__posix_fadvise64_l64): Do not use BP_SYM.
13060 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13061 (PARMS): Do not use macros from bp-asm.h.
13062 (NSOPS): Likewise.
13063 (semtimedop): Do not use BP_SYM.
13064 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13065 and <bp-asm.h>.
13066
582a3cff
AM
130672013-02-21 Allan McRae <allan@archlinux.org>
13068
13069 * manual/message.texi (Charset conversion in gettext):
13070 Move @end statement to beginning of line.
13071
bab8a695
SP
130722013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13073
80945231
SP
13074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13075 static.
13076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13077 Likewise.
13078
bab8a695
SP
13079 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13080 (denorm): Likewise.
13081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13083
e21d7aa7
AK
130842013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13085
13086 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13087 tail-call to the resolved function if pltexit isn't needed.
13088
4c7a4263
SP
130892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13090
13091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13092 or Y being zero as being unlikely.
13093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13094 Likewise.
13095
41f49342
CD
130962013-02-20 Carlos O'Donell <carlos@redhat.com>
13097
13098 * manual/nss.texi (System Databases and Name Service Switch):
13099 Remove frobnicate @pxref.
13100
50022a93
TS
131012013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13102
13103 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13104 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13105
08cbd996
PM
131062013-02-20 Petr Machata <pmachata@redhat.com>
13107
13108 * elf/elf.h (R_ARM_TARGET1): New macro.
13109 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13110 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13111 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13112 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13113 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13114 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13115 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13116 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13117 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13118 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13119 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13120 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13121 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13122 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13123 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13124 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13125 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13126 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13127 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13128 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13129 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13130 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13131 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13132 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13133 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13134 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13135 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13136 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13137 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13138 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13139 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13140 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13141 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13142 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13143 (R_ARM_THM_GOT_BREL12): Likewise.
13144 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13145 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13146 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13147 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13148 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13149 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13150 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13151 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13152 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13153
c7b275d6
TS
131542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13155
13156 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13157 __attribute_used__ to __attribute__ ((unused)).
13158
20cd7fb3
SP
131592013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13160
13161 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13162 powerpc mpa.c.
13163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13164 comment formatting.
13165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13166
92945b52
JM
131672013-02-19 Joseph Myers <joseph@codesourcery.com>
13168
13169 [BZ #13550]
13170 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13171 Remove macro.
13172 (ENTER): Remove both macro definitions.
13173 (LEAVE): Likewise.
13174 (CHECK_BOUNDS_LOW): Likewise.
13175 (CHECK_BOUNDS_HIGH): Likewise.
13176 (CHECK_BOUNDS_BOTH): Likewise.
13177 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13178 (RETURN_BOUNDED_POINTER): Likewise.
13179 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13180 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13181 (POP_ERRNO_LOCATION_RETURN): Likewise.
13182 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13183 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13184 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13185 macros.
13186 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13187 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13188 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13189 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13190 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13191 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13192 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13193 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13194 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13195 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13196 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13197 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13198 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13199 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13200 removed macros.
13201 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13202 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13203 macros.
13204 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13205 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13206 * sysdeps/i386/i586/memset.S (memset): Likewise.
13207 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13208 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13209 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13210 macros.
13211 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13212 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13213 Change uses of L(2) to L(out).
13214 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13215 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13216 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13217 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13218 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13219 removed macros.
13220 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13221 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13222 macros.
13223 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13224 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13225 (RETURN): Do not use macro LEAVE.
13226 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13227 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13228 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13229 * sysdeps/i386/i686/memset.S (memset): Likewise.
13230 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13231 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13232 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13233 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13234 Likewise.
13235 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13236 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13237 L(1_2) and L(1_3) into L(1).
13238 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13239 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13240 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13241 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13242 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13243 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13244 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13245 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13246 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13247 macros.
13248 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13249 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13250 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13251 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13252 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13253 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13254 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13255 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13256 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13257 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13258 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13259 * sysdeps/i386/strspn.S (strspn): Likewise.
13260 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13261 conditional code.
13262 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13263 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13264 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13265 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13266 L(1_3) into L(1_1).
13267 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13268 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13269 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13270 macros.
13271 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13272
2389741a
JJ
132732013-02-19 Jakub Jelinek <jakub@redhat.com>
13274
13275 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13276 macro.
13277
2016b3cd
SP
132782013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13279
e4f22324
SP
13280 * math/atest-exp.c (exp_mpn): Remove ROUND.
13281 * math/atest-exp2.c (exp_mpn): Likewise.
13282 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13283
2016b3cd
SP
13284 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13285 * stdlib/tst-tls-atexit-lib.c: Likewise.
13286 * stdlib/tst-tls-atexit.c: Likewise.
13287
4be9b544
MF
132882013-02-18 Mike Frysinger <vapier@gentoo.org>
13289
13290 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13291 and __attribute_alloc_size__.
13292
2f62b9ee
MF
132932013-02-18 Mike Frysinger <vapier@gentoo.org>
13294
13295 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13296 __attribute_alloc_size__.
13297 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13298 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13299
6ff444c4
MF
133002013-02-18 Mike Frysinger <vapier@gentoo.org>
13301
13302 * include/programs/xmalloc.h: New file.
13303 * catgets/gencat.c: Include it.
13304 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13305 * elf/pldd.c: Likewise.
13306 * iconv/iconv_charmap.c: Likewise.
13307 * iconv/iconvconfig.c: Likewise.
13308 * iconv/strtab.c: Likewise.
13309 * locale/programs/locale.c: Likewise.
13310 * locale/programs/localedef.h: Likewise.
13311 * locale/programs/simple-hash.c: Likewise.
13312 * nscd/nscd.h: Likewise.
13313 * nss/makedb.c: Likewise.
13314 * sysdeps/generic/ldconfig.h: Likewise.
13315
be179c8a
SP
133162013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13317
ba384f6e
SP
13318 * Versions.def: Add GLIBC_2.18.
13319 * include/link.h (struct link_map): New member l_tls_dtor_count.
13320 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13321 (__call_tls_dtors): Likewise.
13322 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13323 __cxa_thread_atexit_impl.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13325 Likewise.
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13327 Likewise.
13328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13329 Likewise.
13330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13331 Likewise.
13332 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13334 Likewise.
13335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13336 Likewise.
13337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13339 Likewise.
13340 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13341 (tests): Add test case tst-tls-atexit.
13342 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13343 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13344 (GLIBC_PRIVATE): Add __call_tls_dtors.
13345 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13346 for libstdc++.
13347 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13348 * stdlib/tst-tls-atexit.c: New test case.
13349 * stdlib/tst-tls-atexit-lib.c: New test case.
13350
ffaa74cf 13351 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13352
be179c8a
SP
13353 * elf/Versions (ld): Add _dl_find_dso_for_object.
13354 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13355 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13356 (dl_open_worker): Use _dl_find_dso_for_object.
13357 * elf/dl-sym.c (do_sym): Likewise.
13358 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13359
f78b5caa
AK
133602013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13361
13362 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13363 Syntactic changes only.
13364 (_dl_runtime_profile): Do a tail-call to the resolved function.
13365
29691210
JM
133662013-02-17 Joseph Myers <joseph@codesourcery.com>
13367
13368 [BZ #13550]
13369 * sysdeps/x86_64/bp-asm.h: Remove file.
13370 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13371 <bp-sym.h> and <bp-asm.h>.
13372 (__clone): Do not use BP_SYM.
13373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13374 <bp-sym.h> and <bp-asm.h>.
13375 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13376 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13377 "bp-asm.h".
13378 (_setjmp): Do not use BP_SYM.
13379 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13380 "bp-asm.h".
13381 (setjmp): Do not use BP_SYM.
13382 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13383 libc_hidden_def.
13384 (mempcpy): Do not use BP_SYM in weak_alias.
13385 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13386 "bp-asm.h".
13387 (strchr): Do not use BP_SYM.
13388 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13389 "bp-asm.h".
13390 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13391 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13392 (_start): Do not use BP_SYM.
13393 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13394 "bp-asm.h".
13395 (strcat): Do not use BP_SYM.
13396 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13397 "bp-asm.h".
13398 (STRCMP): Do not use BP_SYM.
13399 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13400 "bp-asm.h".
13401 (STRCPY): Do not use BP_SYM.
13402 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13403 "bp-asm.h".
13404 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13405 "bp-asm.h".
13406 (FUNCTION): Do not use BP_SYM.
13407 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13408 weak_alias.
13409 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13410
f238fd19
AJ
134112013-02-17 Andreas Jaeger <aj@suse.de>
13412
13413 * time/Versions: Sort entries.
13414 * string/Versions: Likewise.
13415 * resolv/Versions: Likewise.
13416 * posix/Versions: Likewise.
13417 * iconv/Versions: Likewise.
13418 * elf/Versions: Likewise.
13419 * wcsmbs/Versions: Likewise.
13420
bd07f23c 134212013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13422
22af19f9
SP
13423 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13424 loop termination condition.
13425
4709fe76
SP
13426 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13427 variable to calculate EZ.
13428 (__sqr): Likewise.
2d0e0f29
SP
13429
13430 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13431 the lower precision input.
13432
daaa7713
JM
134332013-02-15 Joseph Myers <joseph@codesourcery.com>
13434
13435 [BZ #13550]
13436 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13437 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13438 (run-via-rtld-prefix): Do not handle %-bp tests.
13439 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13440 (all-object-suffixes): Remove .ob.
13441 (bppfx): Remove variable.
13442 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13443 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13444 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13445 [$(build-bounded) = yes] (libtype.ob): Likewise.
13446 * Makerules (elide-routines.ob): Remove variable.
13447 (do-tests-clean): Do not handle *-bp.out.
13448 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13449 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13450 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13451 (tests): Do not include $(tests-bp.out).
13452 (xtests): Do not include $(xtests-bp.out).
13453 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13454 [$(build-bounded) = yes] ($(addprefix
13455 $(objpfx),$(binaries-bounded))): Remove rule.
13456 ($(objpfx)%-bp.out): Remove rule.
13457 * config.make.in (build-bounded): Remove variable.
13458 * crypt/Makefile [$(build-bounded) = yes]
13459 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13460 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13461 append to variable.
13462 [$(build-bounded) = yes] (install-lib): Likewise.
13463 [$(build-bounded) = yes] (generated): Likewise.
13464 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13465 Remove rule.
13466 * intl/Makefile [$(build-bounded) = yes]
13467 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13468 * math/Makefile [$(build-bounded) = yes]
13469 ($(tests:%=$(objpfx)%-bp): Likewise.
13470 * misc/Makefile [$(build-bounded) = yes]
13471 ($(objpfx)tst-tsearch-bp): Likewise.
13472 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13473 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13474 Remove dependency.
13475 * string/Makefile (o-objects.ob): Remove variable.
13476 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13477 (CFLAGS-.ob): Remove variable.
13478 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13479 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13480 both definitions of variable.
13481 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13482 (ASFLAGS-.ob): Remove variable.
13483
e97ed6dd
JM
134842013-02-14 Joseph Myers <joseph@codesourcery.com>
13485
2bdd4ca6
JM
13486 [BZ #13550]
13487 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13488 Remove __BOUNDED_POINTERS__ from condition.
13489 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13490 * string/bits/string2.h [!__NO_STRING_INLINES &&
13491 !__BOUNDED_POINTERS__]: Likewise.
13492 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13493 Likewise.
13494 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13495 Remove conditional code.
13496 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13497 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13498 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13499 condition.
13500
e97ed6dd
JM
13501 [BZ #13550]
13502 * csu/libc-start.c: Do not include <bp-sym.h>.
13503 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13504 * elf/dl-open.c: Do not include <bp-sym.h>.
13505 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13506 * math/fegetenv.c: Do not include <bp-sym.h>.
13507 (fegetenv): Do not use BP_SYM in versioned symbols.
13508 * nptl/sysdeps/pthread/bits/libc-lockP.h
13509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13510 <bp-sym.h>.
13511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13512 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13514 (__pthread_mutex_destroy): Likewise.
13515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13516 (__pthread_mutex_lock): Likewise.
13517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13518 (__pthread_mutex_trylock): Likewise.
13519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13520 (__pthread_mutex_unlock): Likewise.
13521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13522 (__pthread_mutexattr_init): Likewise.
13523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13524 (__pthread_mutexattr_destroy): Likewise.
13525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13526 (__pthread_mutexattr_settype): Likewise.
13527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13528 (__pthread_rwlock_init): Likewise.
13529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13530 (__pthread_rwlock_destroy): Likewise.
13531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13532 (__pthread_rwlock_rdlock): Likewise.
13533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13534 (__pthread_rwlock_tryrdlock): Likewise.
13535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13536 (__pthread_rwlock_wrlock): Likewise.
13537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13538 (__pthread_rwlock_trywrlock): Likewise.
13539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13540 (__pthread_rwlock_unlock): Likewise.
13541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13542 (__pthread_key_create): Likewise.
13543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13544 (__pthread_setspecific): Likewise.
13545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13546 (__pthread_getspecific): Likewise.
13547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13548 Likewise.
13549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13550 (_pthread_cleanup_push_defer): Likewise.
13551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13552 (_pthread_cleanup_pop_restore): Likewise.
13553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13554 (pthread_setcancelstate): Likewise.
13555 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13556 <bp-sym.h>.
13557 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13558 (memchr): Do not use BP_SYM in weak_alias.
13559 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13560 (fegetenv): Do not use BP_SYM in versioned symbols.
13561 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13562 (fesetenv): Do not use BP_SYM in versioned symbols.
13563 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13564 (feupdateenv): Do not use BP_SYM in versioned symbols.
13565 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13566 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13567 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13568 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13569 (open64): Do not use BP_SYM in weak_alias.
13570 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13571 (fegetenv): Do not use BP_SYM in versioned symbols.
13572 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13573 (fesetenv): Do not use BP_SYM in versioned symbols.
13574 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13575 (feupdateenv): Do not use BP_SYM in versioned symbols.
13576 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13577 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13578 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13579 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13580 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13581 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13582 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13583 <bp-sym.h>.
13584 (__libc_start_main): Do not use BP_SYM.
13585
d6752ccd
SP
135862013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13587
cb57ce60
SP
13588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13589 redundant return line.
13590 (norm): Likewise.
13591 (denorm): Likewise.
13592 (dbl_mp): Likewise.
13593 (sub_magnitudes): Likewise.
13594 (__add): Likewise.
13595 (__sub): Likewise.
13596 (__mul): Likewise.
13597 (__inv): Likewise.
13598 (__dvd): Likewise.
13599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13600 (norm): Likewise.
13601 (denorm): Likewise.
13602 (dbl_mp): Likewise.
13603 (sub_magnitudes): Likewise.
13604 (__add): Likewise.
13605 (__sub): Likewise.
13606 (__mul): Likewise.
13607 (__inv): Likewise.
13608 (__dvd): Likewise.
13609
f414520d
SP
13610 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13611 instead of __mul.
13612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13613 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13614 (cc32): Likewise.
13615
d6752ccd
SP
13616 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13617 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13619 of __mul for squares.
13620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13621 function
13622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13623 Likewise.
13624 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13625 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13626
70d9946a
JM
136272013-02-13 Joseph Myers <joseph@codesourcery.com>
13628
13629 [BZ #13550]
13630 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13631 code.
13632 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13633 prototype or function definition. Rename ubp_* variables and
13634 parameters. Remove argv definitions conditional on
13635 [__BOUNDED_POINTERS__].
13636 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13637 * elf/dl-runtime.c (_dl_fixup): Likewise.
13638 * include/set-hooks.h (RUN_HOOK): Likewise.
13639 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13640 definition.
13641 * string/strcpy.c (strcpy): Do not use __unbounded.
13642 * sysdeps/generic/frame.h (struct layout): Likewise.
13643 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13644 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13645 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13646 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13647 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13648 (__backtrace): Likewise.
13649 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13650 use __ptrvalue.
13651 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13652 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13653 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13654 Likewise.
13655 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13656 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13657 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13658 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13659 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13660 Do not use __unbounded.
13661 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13662 Rename __unboundedrlimits parameter to rlimits in prototype.
13663 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13664 Do not use __unbounded.
13665 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13666 not use __ptrvalue.
13667 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13668 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13669 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13670 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13671 __ptrvalue or __unbounded.
13672 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13673 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13674 use __unbounded.
13675 (__new_msgctl): Do not use __ptrvalue.
13676 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13677 __unbounded.
13678 (__libc_msgrcv): Do not use __ptrvalue.
13679 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13680 startup_info): Do not use __unbounded.
13681 (__libc_start_main): Likewise. Rename ubp_* variables and
13682 parameters. Remove argv definitions conditional on
13683 [__BOUNDED_POINTERS__].
13684 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13685 __ptrvalue.
13686 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13687 use __unbounded.
13688 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13689 or __ptrvalue.
13690 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13691 use __unbounded.
13692 (__new_shmctl): Do not use __ptrvalue.
13693 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13694 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13695 Likewise.
13696 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13697 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13698 (__libc_sigaction): Likewise.
13699 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13700 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13701 Likewise.
13702 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13703
cc7834d6
OB
137042013-02-13 Ondřej Bílka <neleai@seznam.cz>
13705
ffb1ec7b 13706 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13707
13708 * string/mempcpy.c: Implement by calling memcpy.
13709
bdf02814
SP
137102013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13711
c2af38aa
SP
13712 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13713
4e92d59e
SP
13714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13715 evaluation.
13716
909279a5
SP
13717 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13718 values in the mantissa.
13719
bdf02814
SP
13720 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13721 minimize writes to Z.
13722 (sub_magnitudes): Simplify code a bit.
13723
cd525923
RM
137242013-02-12 Roland McGrath <roland@hack.frob.com>
13725
13726 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13727 from the message. The linker prefixes all warnings with that already.
13728
7e2f0d2d
AS
137292013-02-12 Andreas Schwab <schwab@suse.de>
13730
a445af0b
AS
13731 [BZ #15078]
13732 * posix/regexec.c (extend_buffers): Add parameter min_len.
13733 (check_matching): Pass minimum needed length.
13734 (clean_state_log_if_needed): Likewise.
13735 (get_subexp): Likewise.
13736 * posix/Makefile (tests): Add bug-regex34.
13737 (bug-regex34-ENV): Define.
13738 * posix/bug-regex34.c: New file.
13739
7e2f0d2d
AS
13740 [BZ #11561]
13741 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13742 elements compare against the byte sequence of it, not its name.
13743 * posix/Makefile (tests): Add bug-regex35.
13744 (bug-regex35-ENV): Define.
13745 * posix/bug-regex35.c: New file.
13746
a175b684
TV
137472013-02-11 Tom de Vries <tom@codesourcery.com>
13748
13749 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13750 comment.
13751 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13752 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13753 (CHECK_EOL): Add undef.
13754
310998fe 137552013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13756
13757 * bits/stdlib-bsearch.h: New file.
13758 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13759 * stdlib/stdlib.h: Likewise.
41eda41d 13760
8ded91fb
RM
137612013-02-11 Roland McGrath <roland@hack.frob.com>
13762
13763 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13764 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13765 declaration.
13766 * manual/search.texi (Array Search Function): Add missing const in
13767 lfind prototype.
13768 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13769 declaration to use rlim_t.
13770 (Basic Scheduling Functions): Remove erroneous const from
13771 sched_getparam prototype. Remove erroneous * from
13772 sched_get_priority_max and sched_get_priority_min prototypes.
13773 (Resource Usage): Fix summary @comment on vtimes to refer to
13774 sys/vtimes.h rather than vtimes.h.
13775 Add missing *s in vtimes prototype.
13776 (Limits on Resources): Fix ulimit prototype to return long int.
13777 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13778 prototypes to use long int rather than double.
13779 (BSD Random): Fix initstate and setstate to use char *, not void *.
13780 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13781 prototype to make second argument 'struct aiocb64 *const[]'.
13782 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13783 (Status of AIO Operations): Remove erroneous const in aio_return and
13784 aio_return64 prototypes.
13785 (Synchronizing I/O): Fix sync prototype to return void.
13786 * manual/startup.texi (Suboptions): Remove an erroneous const in
13787 getsubopt prototype.
13788 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13789 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13790 use size_t rather than int.
13791 (Scanning All Users): Likewise for getpwent_r.
13792 (Setting Groups): Add missing const to setgroups prototype.
13793 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13794 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13795 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13796 'const void *' rather than 'const char *'.
13797 (Host Address Functions): Likewise for inet_ntop.
13798 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13799 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13800 ssize_t for return value.
13801 (Sending Data): Likewise for send, sendto, sendmsg.
13802 (Socket Option Functions): Add a missing const in setsockopt prototype.
13803 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13804 use wchar_t for the argument.
13805 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13806 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13807 take no arguments.
13808 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13809 double/float/long double for second argument.
13810 Fix return types of significand, significandf, significandl.
13811 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13812 argument in fchmod prototype.
13813 (File Owner): Use uid_t and gid_t in fchown prototype.
13814 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13815 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13816 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13817 use 'const struct dirent **' as argument types to CMP function pointer
13818 argument.
13819 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13820 (File Times): Fix summary magic @comment for struct utimbuf and utime
13821 to refer to utime.h, not time.h.
13822 * manual/string.texi (Argz Functions): Add missing const in
13823 argz_extract and argz_next prototypes.
13824 (Finding Tokens in a String): Likewise for basename.
13825 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13826 (Copying and Concatenation): Fix typo in wmemmove prototype.
13827 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13828 (Signal Stack): Remove erroneous const in sigstack prototype.
13829 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13830 prototype.
13831 (Simple Calendar Time): Likewise for stime.
13832 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13833 prototype.
13834 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13835 say sys/sysctl.h instead.
13836 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13837 and vsyslog prototypes.
13838
fe77fe6d
TV
138392013-02-11 Tom de Vries <tom@codesourcery.com>
13840
13841 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13842 Remove.
13843
3a09b620
RM
138442013-02-11 Roland McGrath <roland@hack.frob.com>
13845
13846 * misc/sys/mman.h: Fix typo in mremap comment.
13847
550a0b89
RM
138482013-02-08 Roland McGrath <roland@hack.frob.com>
13849
13850 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13851 the '\0' terminator.
13852
a2da1673
JM
138532013-02-08 Joseph Myers <joseph@codesourcery.com>
13854
13855 [BZ #13550]
13856 * debug/segfault.c: Don't include <bp-checks.h>.
13857 * sysdeps/generic/bp-checks.h: Remove file.
13858 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13859 (__GETDENTS): Don't use CHECK_N.
13860 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13861 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13862 (__getgroups): Don't use CHECK_N.
13863 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13864 (setgroups): Don't use CHECK_N.
13865 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13866 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13867 (__libc_msgrcv): Don't use CHECK_N.
13868 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13869 (__libc_msgsnd): Don't use CHECK_N.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13871 <bp-checks.h>.
13872 (__libc_pread): Don't use CHECK_N.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13874 include <bp-checks.h>.
13875 (__libc_pread64): Don't use CHECK_N.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13877 include <bp-checks.h>.
13878 (__libc_pwrite): Don't use CHECK_N.
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13880 include <bp-checks.h>.
13881 (__libc_pwrite64): Don't use CHECK_N.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13883 <bp-checks.h>.
13884 (__libc_pread): Don't use CHECK_N.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13886 include <bp-checks.h>.
13887 (__libc_pread64): Don't use CHECK_N.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13889 include <bp-checks.h>.
13890 (__libc_pwrite): Don't use CHECK_N.
13891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13892 include <bp-checks.h>.
13893 (__libc_pwrite64): Don't use CHECK_N.
13894 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13895 (do_pread): Don't use CHECK_N.
13896 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13897 (do_pread64): Don't use CHECK_N.
13898 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13899 (do_pwrite): Don't use CHECK_N.
13900 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13901 (do_pwrite64): Don't use CHECK_N.
13902 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13903 (__libc_readv): Don't use CHECK_N.
13904 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13905 (semop): Don't use CHECK_N.
13906 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13907 <bp-checks.h>.
13908 (semtimedop): Don't use CHECK_N.
13909 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13910 (__libc_pread): Don't use CHECK_N.
13911 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13912 <bp-checks.h>.
13913 (__libc_pread64): Don't use CHECK_N.
13914 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13915 <bp-checks.h>.
13916 (__libc_pwrite): Don't use CHECK_N.
13917 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13918 <bp-checks.h>.
13919 (__libc_pwrite64): Don't use CHECK_N.
13920 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13921 <bp-checks.h>.
13922 (__libc_msgrcv): Don't use CHECK_N.
13923 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13924 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13925 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13926 (__libc_writev): Don't use CHECK_N.
13927
b84660a8
RM
139282013-02-08 Roland McGrath <roland@hack.frob.com>
13929
7f3e75f8
RM
13930 * string/strcpy.c: Removed unused variable.
13931
b84660a8
RM
13932 * Makeconfig (+sysdep-includes): Define with := rather than =.
13933 Use an existing include/ subdir of each sysdeps dir before it.
13934
471514d3
CD
139352013-02-08 Carlos O'Donell <carlos@redhat.com>
13936
13937 * nscd/connection.c (register_traced_file): Comment function.
13938 [HAVE_INOTIFY] (union __inev): Define.
13939 [HAVE_INOTIFY] (inotify_check_files): New function.
13940 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13941 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13942 clear_db_cache.
13943 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13944
b2d3c3be
CD
139452013-02-08 Carlos O'Donell <carlos@redhat.com>
13946
13947 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13948 loaded if not already and that a failure is permanent.
13949
b39949d2
CD
139502013-02-08 Carlos O'Donell <carlos@redhat.com>
13951
ddacd1db 13952 [BZ #15006]
b39949d2
CD
13953 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13954 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13955
b2c9eff4
JM
139562013-02-08 Joseph Myers <joseph@codesourcery.com>
13957
f3aae3f3
JM
13958 [BZ #13550]
13959 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13960 (CHECK_1_NULL_OK): Likewise.
13961 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13962 (__fxstat): Do not use CHECK_1.
13963 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13964 <bp-checks.h>.
13965 (___fxstat64): Do not use CHECK_1.
13966 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13967 <bp-checks.h>.
13968 (__fxstatat): Do not use CHECK_1.
13969 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13970 <bp-checks.h>.
13971 (__fxstatat64): Do not use CHECK_1.
13972 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13973 <bp-checks.h>.
13974 (__fxstat): Do not use CHECK_1.
13975 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13976 <bp-checks.h>.
13977 (__fxstatat): Do not use CHECK_1.
13978 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13979 <bp-checks.h>.
13980 (__getresgid): Do not use CHECK_1.
13981 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13982 <bp-checks.h>.
13983 (__getresuid): Do not use CHECK_1.
13984 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13985 <bp-checks.h>.
13986 (__lxstat): Do not use CHECK_1.
13987 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13988 <bp-checks.h>.
13989 (__old_msgctl): Do not use CHECK_1.
13990 (__new_msgctl): Likewise.
13991 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13992 <bp-checks.h>.
13993 (__new_setrlimit): Do not use CHECK_1.
13994 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13995 <bp-checks.h>.
13996 (__old_shmctl): Do not use CHECK_1.
13997 (__new_shmctl): Likewise.
13998 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13999 <bp-checks.h>.
14000 (__xstat): Do not use CHECK_1.
14001 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14002 (__lxstat): Do not use CHECK_1.
14003 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14004 <bp-checks.h>.
14005 (___lxstat64): Do not use CHECK_1.
14006 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14007 (__old_msgctl): Do not use CHECK_1.
14008 (__new_msgctl): Likewise.
14009 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14010 <bp-checks.h>.
14011 (__gettimeofday): Do not use CHECK_1.
14012 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14013 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14014 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14015 <bp-checks.h>.
14016 (__gettimeofday): Do not use CHECK_1.
14017 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14018 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14019 (__new_shmctl): Do not use CHECK_1.
14020 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14021 <bp-checks.h>.
14022 (do_sigtimedwait): Do not use CHECK_1.
14023 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14024 <bp-checks.h>.
14025 (do_sigwaitinfo): Do not use CHECK_1.
14026 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14027 <bp-checks.h>.
14028 (msgctl): Do not use CHECK_1.
14029 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14030 <bp-checks.h>.
14031 (shmctl): Do not use CHECK_1.
14032 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14033 (ustat): Do not use CHECK_1.
14034 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14035 <bp-checks.h>.
14036 (__fxstat): Do not use CHECK_1.
14037 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14038 <bp-checks.h>.
14039 (__fxstatat): Do not use CHECK_1.
14040 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14041 <bp-checks.h>.
14042 (__lxstat): Do not use CHECK_1.
14043 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14044 <bp-checks.h>.
14045 (__xstat): Do not use CHECK_1.
14046 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14047 (__xstat): Do not use CHECK_1.
14048 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14049 (___xstat64): Do not use CHECK_1.
14050
b2c9eff4
JM
14051 [BZ #13550]
14052 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14053 definitions.
14054 (CHECK_BOUNDS_HIGH): Likewise.
14055 * string/strcpy.c: Do not include <bp-checks.h>.
14056 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14057
f1d70dad
RM
140582013-02-07 Roland McGrath <roland@hack.frob.com>
14059
14060 * nscd/nscd-client.h (__nscd_drop_map_ref):
14061 Add __attribute__ ((unused)).
14062 * nis/nss-nisplus.h (niserr2nss): Likewise.
14063
14064 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14065 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14066
14067 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14068 Remove inline keyword.
14069 * include/rounding-mode.h (round_away): Likewise.
14070 * libio/wfileops.c (adjust_wide_data): Likewise.
14071 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14072 (__m128i_strloadu_tolower): Likewise.
14073 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14074 (__m128i_strloadu_tolower): Likewise.
14075 * time/mktime.c (ydhms_diff): Likewise.
14076 * locale/elem-hash.h (elem_hash): Likewise.
14077 * locale/setlocale.c (setdata): Likewise.
14078 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14079 (re_string_wchar_at): Likewise.
14080 (bitset_not, bitset_merge, bitset_mask): Likewise.
14081 [!(__GNUC__ > 3)] (inline): Remove macro.
14082 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14083 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14084 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14085 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14086 * string/memcmp.c (memcmp_bytes): Likewise.
14087 * locale/programs/locarchive.c (compute_hashval): Likewise.
14088 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14089 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14090 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14091 * nss/getent.c (print_rpc, print_protocols): Likewise.
14092 (print_passwd, print_group, print_aliases): Likewise.
14093 * nis/nss-nisplus.h (niserr2nss): Likewise.
14094 * nscd/connections.c (restart_p): Likewise.
14095 Change return type to bool.
14096
eab55bfb
RM
140972013-02-05 Roland McGrath <roland@hack.frob.com>
14098
7bd642f5
RM
14099 * Makeconfig (all-Depend-files): Add existing
14100 $(sorted-subdirs:=/Depend) files.
14101 (all-subdirs): Remove nss.
14102 * sysdeps/unix/inet/Subdirs: Add it here instead.
14103 * hesiod/Depend: New file.
14104
573c29b2
RM
14105 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14106 instead of calling alloca.
14107
b2e25af0
RM
14108 * io/lseek.c (__lseek): Rename to __libc_lseek.
14109 Define __lseek as an alias.
14110
eab55bfb
RM
14111 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14112
9a0d1941
CD
141132013-02-04 Carlos O'Donell <carlos@redhat.com>
14114
14115 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14116 else clause and remove check for non-standard endianness.
14117
b83bbec4
DM
141182013-02-04 David S. Miller <davem@davemloft.net>
14119
14120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14121
6277fdab
JM
141222013-02-04 Joseph Myers <joseph@codesourcery.com>
14123
14124 [BZ #13550]
14125 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14126 (__ubp_memchr): Remove prototype.
14127 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14128 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14129 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14130 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14131 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14132 Remove alias.
14133 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14134 (__ubp_memchr): Likewise.
14135 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14136 (__ubp_memchr): Likewise.
14137 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14138 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14139 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14140 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14141 CHECK_STRING.
14142 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14143 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14144 (__getcwd): Do not use CHECK_STRING.
14145 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14146 <bp-checks.h>.
14147 (__real_chown): Do not use CHECK_STRING.
14148 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14149 <bp-checks.h>.
14150 (fchownat): Do not use CHECK_STRING.
14151 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14152 CHECK_STRING.
14153 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14154 <bp-checks.h>.
14155 (__lchown): Do not use CHECK_STRING.
14156 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14157 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14158 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14159 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14161 include <bp-checks.h>.
14162 (truncate64): Do not use CHECK_STRING.
14163 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14164 <bp-checks.h>.
14165 (__real_chown): Do not use CHECK_STRING.
14166 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14167 <bp-checks.h>.
14168 (__lchown): Do not use CHECK_STRING.
14169 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14170 <bp-checks.h>.
14171 (__chown): Do not use CHECK_STRING.
14172 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14173 <bp-checks.h>.
14174 (truncate64): Do not use CHECK_STRING.
14175 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14176 Likewise.
14177 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14178 (__xmknod): Do not use CHECK_STRING.
14179 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14180 <bp-checks.h>.
14181 (__xmknodat): Do not use CHECK_STRING.
14182 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14183 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14184
903ae060
AS
141852013-02-04 Andreas Schwab <schwab@suse.de>
14186
14187 [BZ #14142]
14188 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14189 * include/netdb.h: Likewise for h_errno.
14190 * elf/tst-stackguard1.c: Include <tls.h>.
14191
542f9466
JK
141922013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14193
14194 * elf/link.h (struct link_map): Extend the l_addr comment.
14195 * include/link.h (struct link_map): Likewise.
14196
e782a927
JM
141972013-02-01 Joseph Myers <joseph@codesourcery.com>
14198
14199 [BZ #13550]
14200 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14201 (BOUNDED_1): Remove macro.
14202 * debug/backtrace.c: Don't include <bp-checks.h>.
14203 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14204 (__backtrace): Likewise.
14205 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14206 <bp-checks.h>.
14207 (__backtrace): Don't use BOUNDED_1.
14208 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14209 <bp-checks.h>.
14210 (__backtrace): Don't use BOUNDED_1.
14211 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14212 (__backtrace): Don't use BOUNDED_1.
14213 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14214 (shmat): Don't use BOUNDED_N.
14215
8cf28c5e
JM
142162013-01-31 Joseph Myers <joseph@codesourcery.com>
14217
3a7ac8a0
JM
14218 [BZ #13550]
14219 * sysdeps/generic/bp-start.h: Remove file.
14220 * csu/libc-start.c: Don't include <bp-start.h>.
14221 (LIBC_START_MAIN): Set up __environ directly instead of using
14222 INIT_ARGV_and_ENVIRON.
14223 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14224 <bp-start.h>.
14225
f3499f95
JM
14226 [BZ #13550]
14227 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14228 definitions.
14229 (CHECK_FCNTL): Likewise.
14230 (CHECK_N_PAGES): Likewise.
14231
32a45bea
JM
14232 [BZ #13550]
14233 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14234 definitions.
14235 (CHECK_SIGSET_NULL_OK): Likewise.
14236 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14237 <bp-checks.h>.
14238 (sigpending): Don't use CHECK_SIGSET.
14239 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14240 <bp-checks.h>.
14241 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14242 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14243 <bp-checks.h>.
14244 (do_sigsuspend): Don't use CHECK_SIGSET.
14245 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14246 use CHECK_SIGSET.
14247 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14248 (do_sigwait): Don't use CHECK_SIGSET.
14249 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14250 use CHECK_SIGSET.
14251 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14252 include <bp-checks.h>.
14253 (sigpending): Don't use CHECK_SIGSET.
14254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14255 include <bp-checks.h>.
14256 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14257 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14258 <bp-checks.h>.
14259 (sigpending): Don't use CHECK_SIGSET.
14260 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14261 <bp-checks.h>.
14262 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14263
2e8a5c8c
JM
14264 [BZ #13550]
14265 * sysdeps/generic/bp-semctl.h: Remove file.
14266 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14267 <bp-checks.h> and <bp-semctl.h>.
14268 (__old_semctl): Don't use CHECK_SEMCTL.
14269 (__new_semctl): Likewise.
14270 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14271 and <bp-semctl.h>.
14272 (__old_semctl): Don't use CHECK_SEMCTL.
14273 (__new_semctl): Likewise.
14274 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14275 <bp-checks.h> and <bp-semctl.h>.
14276 (__old_semctl): Don't use CHECK_SEMCTL.
14277 (__new_semctl): Likewise.
14278 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14279 <bp-checks.h> and <bp-semctl.h>.
14280 (semctl): Don't use CHECK_SEMCTL.
14281
c2d54929
JM
14282 [BZ #13550]
14283 * Makerules (elide-bp-thunks): Remove variable.
14284 (elide-routines.oS): Don't use $(elide-bp-thunks).
14285 (elide-routines.os): Likewise.
14286 (elide-routines.o): Likewise.
14287 (elide-routines.op): Likewise.
14288 (elide-routines.og): Likewise.
14289 (objects): Don't use $(bp-thunks).
14290 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14291 include.
14292 (common-generated): Do not add s-proto-bp.d.
14293 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14294 (int): Likewise.
14295 (typ): Likewise.
14296 Do not generate makefile rules for bounded-pointer thunks.
14297 * sysdeps/generic/bp-thunks.h: Remove file.
14298 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14299 * sysdeps/unix/s-proto-bp.S: Likewise.
14300
8cf28c5e
JM
14301 [BZ #15062]
14302 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14303 parts of result separately when argument is not close to line from
14304 -i to i and one part of argument is small.
14305 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14306 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14307 * math/libm-test.inc (cacos_test): Add more tests.
14308 (casin_test): Likewise.
14309 (casinh_test): Likewise.
14310 * sysdeps/i386/fpu/libm-test-ulps: Update.
14311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14312
c4e33b8d
DM
143132013-01-31 David S. Miller <davem@davemloft.net>
14314
14315 * po/de.po: Update from translation team.
14316
3b60b421
MK
143172013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14318
14319 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14320
bb931195
TS
143212013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14322
b5a5da23
TS
14323 * configure.in (_AC_PROG_CC_C89): New definition.
14324 * configure: Regenerate.
14325
bb931195
TS
14326 * configure.in (AC_PROG_CPP): New definition.
14327 * configure: Regenerate.
14328
8c53a12c
JM
143292013-01-23 Joseph Myers <joseph@codesourcery.com>
14330
14331 * debug/tst-backtrace.h: New file.
14332 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14333 (ret): Remove variable.
14334 (x): Likewise.
14335 (FAIL): Remove macro.
14336 (NO_INLINE): Likewise.
14337 (fn1): Use match function instead of strstr.
14338 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14339 (ret): Remove variable.
14340 (x): Likewise.
14341 (FAIL): Remove macro.
14342 (NO_INLINE): Likewise.
14343 (fn): Use match function instead of strstr.
14344 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14345 (ret): Remove variable.
14346 (x): Likewise.
14347 (FAIL): Remove macro.
14348 (NO_INLINE): Likewise.
14349 (handle_signal): Use match function instead of strstr.
14350 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14351 (ret): Remove variable.
14352 (x): Likewise.
14353 (FAIL): Remove macro.
14354 (NO_INLINE): Likewise.
14355 (handle_signal): Use match function instead of strstr.
14356
4858fa2a
RM
143572013-01-23 Roland McGrath <roland@hack.frob.com>
14358
14359 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14360
bae8e7f5
DM
143612013-01-23 David S. Miller <davem@davemloft.net>
14362
14363 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14364 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14365 argument of CAS if possible.
14366 * sysdeps/sparc/sparc64/bits/atomic.h
14367 (__arch_compare_and_exchange_val_32_acq): Likewise.
14368 (__arch_compare_and_exchange_val_64_acq): Likewise.
14369
9cbbc4ae
PT
143702013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14371
14372 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14373 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14374 Include <limits.h>.
67b3f58c 14375 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14376
5655a0b5
AC
143772013-01-23 Adam Conrad <adconrad@0c3.net>
14378
14379 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14380 (LDFLAGS-tst-array5): Likewise.
14381
052aff95
JM
143822013-01-23 Joseph Myers <joseph@codesourcery.com>
14383
14384 [BZ #15036]
14385 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14386 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14387 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14388 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14389
7c1e01aa
DM
143902013-01-21 David S. Miller <davem@davemloft.net>
14391
14392 * sysdeps/sparc/backtrace.c: New file.
14393 * sysdeps/sparc/sparc32/backtrace.h: New file.
14394 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14395 * sysdeps/sparc/sparc64/backtrace.h: New file.
14396 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14397 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14398 -funwind-tables.
14399
ab087e0a
AS
144002013-01-21 Andreas Schwab <schwab@suse.de>
14401
14402 [BZ #15020]
14403 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14404 closed its stdout.
14405
ed689c2f
AS
144062013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14407
14408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14409 "mpa2.h".
14410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14411
31d470ac
JM
144122013-01-18 Joseph Myers <joseph@codesourcery.com>
14413 Mark Mitchell <mark@codesourcery.com>
14414 Tom de Vries <tom@codesourcery.com>
14415 Paul Pluzhnikov <ppluzhnikov@google.com>
14416
14417 * debug/tst-backtrace2.c: New file.
14418 * debug/tst-backtrace3.c: Likewise.
14419 * debug/tst-backtrace4.c: Likewise.
14420 * debug/tst-backtrace5.c: Likewise.
14421 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14422 (CFLAGS-tst-backtrace3.c): Likewise.
14423 (CFLAGS-tst-backtrace4.c): Likewise.
14424 (CFLAGS-tst-backtrace5.c): Likewise.
14425 (LDFLAGS-tst-backtrace2): Likewise.
14426 (LDFLAGS-tst-backtrace3): Likewise.
14427 (LDFLAGS-tst-backtrace4): Likewise.
14428 (LDFLAGS-tst-backtrace5): Likewise.
14429 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14430 tst-backtrace4 and tst-backtrace5.
14431
90567f30 144322013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14433 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14434
14435 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14436 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14437 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14438 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14440 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14441 "+r" and remove output regs list as redundant. Add explicit inline
14442 asm to specify register of return val to work around compiler codegen
14443 bug. Remove (int) cast on return value. Add return type parameter to
14444 use in macro so that this macro does not truncate return value for
14445 64-bit values.
14446 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14447 pass to INTERNAL_VSYSCALL_NCS.
14448 (INLINE_VSYSCALL): Add 'long int' as return type to
14449 INTERNAL_VSYSCALL_NCS macro invocation.
14450 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14451 INTERNAL_VSYSCALL_NCS macro invocation.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14453
d3b9ea61
SP
144542013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14455
0b57daeb
SP
14456 [BZ #14496]
14457 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14458 Fix application of SIMD FP exception mask.
14459
caa99d06
SP
14460 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14461 mp_no from a power of two.
14462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14463 __mpexp_twomm1. Use __pow_mp.
14464
d3b9ea61
SP
14465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14466 multiplication.
14467
1dbaee3c
DM
144682013-01-17 David S. Miller <davem@davemloft.net>
14469
14470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14471
728d7b43
JM
144722013-01-17 Joseph Myers <joseph@codesourcery.com>
14473
14474 [BZ #15023]
14475 * include/complex.h: Condition contents on [!_COMPLEX_H].
14476 (__kernel_casinhf): New prototype.
14477 (__kernel_casinh): Likewise.
14478 (__kernel_casinhl): Likewise.
14479 * math/Makefile (libm_calls): Add k_casinh.
14480 * math/k_casinh.c: New file.
14481 * math/k_casinhf.c: Likewise.
14482 * math/k_casinhl.c: Likewise.
14483 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14484 finite nonzero arguments.
14485 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14486 finite nonzero arguments.
14487 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14488 finite nonzero arguments.
14489 * math/s_casinh.c: Do not include <float.h>.
14490 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14491 * math/s_casinhf.c: Do not include <float.h>.
14492 (__casinhf): Move code for finite nonzero arguments to
14493 k_casinhf.c.
14494 * math/s_casinhl.c: Do not include <float.h>.
14495 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14496 redefine.
14497 (__casinhl): Move code for finite nonzero arguments to
14498 k_casinhl.c.
14499 * math/libm-test.inc (cacos_test): Add more tests.
14500 * sysdeps/i386/fpu/libm-test-ulps: Update.
14501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14502
2a26ef3a
PT
145032013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14504
14505 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14506 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14507 [!HAVE_MREMAP]: Remove [defined linux] case.
14508 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14509
a897655d
SP
145102013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14511
14512 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14513
881ebe89 145142013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14515
14516 * elf/elf.h (R_386_SIZE32): New relocation.
14517 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14518 R_386_SIZE32.
14519 (elf_machine_rela): Likewise.
14520 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14521 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14522
59981e9b
JM
145232013-01-17 Joseph Myers <joseph@codesourcery.com>
14524
14525 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14526 (FP_FAST_FMA): Do not define.
14527 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14528 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14529 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14530 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14531 !_SOFT_FLOAT]: Likewise.
14532 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14533 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14534 value.
14535 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14536 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14537 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14538 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14539 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14540 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14541 file.
14542
cfa8054f
AS
145432013-01-16 Andreas Schwab <schwab@suse.de>
14544
14545 [BZ #14327]
14546 * include/stdlib.h (__mktemp): Add declaration.
14547 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14548 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14549
dd930cc5
SP
145502013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14551
881ebe89
SP
14552 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14553 definitions.
14554 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14555 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14556 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14557 definitions here.
14558 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14559 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14560 definitions.
14561 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14562 and ONE.
14563 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14564 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14565 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14566 definitions.
14567 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14568 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14569 definitions.
14570 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14571
dd930cc5
SP
14572 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14573
c19a9f89
DM
145742013-01-15 David S. Miller <davem@davemloft.net>
14575
1aa61767
DM
14576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14577 trunc{,f} to libm-sysdep_routes.
14578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14580 file.
14581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14583 file.
14584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14585 file.
14586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14588 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14589 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14590 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14591 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14592 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14593 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14594
c42d5e98
DM
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14596 nearbyint{,f} to libm-sysdep_routes.
14597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14599 New file.
14600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14601 file.
14602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14603 New file.
14604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14605 file.
14606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14608 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14609 file.
14610 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14611 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14612 file.
14613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14614 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14615 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14616
c19a9f89
DM
14617 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14618 libc_feholdexcept and libc_fesetenv.
14619
357679d2
MF
146202013-01-15 Mike Frysinger <vapier@gentoo.org>
14621
14622 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14623
65a82e3d
DM
146242013-01-14 David S. Miller <davem@davemloft.net>
14625
8b954ab9
DM
14626 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14627 (SPARC_ASM_VIS2_IFUNC): Likewise.
14628 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14630 use of 'siam' instruction.
14631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14632 Likewise.
14633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14634 Likewise.
14635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14636 Likewise.
14637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14642 file.
14643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14644 file.
14645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14646 file.
14647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14648 file.
14649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14654 new VIS2 routines.
14655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14658 Likewise.
14659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14664 routines to libm-sysdep_routines.
14665 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14666
65a82e3d
DM
14667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14668 fdim/fdimf to libm-sysdep_routines.
14669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14670 file.
14671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14673 file.
14674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14677 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14678 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14679 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14680 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14681
e34ab705
SP
146822013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14683
2a91b573
SP
14684 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14685 to optimize copies.
14686
1066a534
SP
14687 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14690
e34ab705
SP
14691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14692 local variable MPTWO.
14693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14694 Likewise.
14695
aba5e596
MF
146962013-01-13 Mike Frysinger <vapier@gentoo.org>
14697
14698 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14699 GLOB_NOESCAPE.
14700
e557e9e5
MF
147012013-01-13 Mike Frysinger <vapier@gentoo.org>
14702
14703 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14704
0428cec9
MF
147052013-01-13 Mike Frysinger <vapier@gentoo.org>
14706
14707 * manual/pattern.texi (glob_t): Document gl_flags.
14708 (glob64_t): Likewise.
14709
8794a964
DM
147102013-01-11 David S. Miller <davem@davemloft.net>
14711
66438c3f
RM
14712 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14713 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14714 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14715 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14716 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14717 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14718 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14719 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14720 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14721 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14722 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14723 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14724 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14725
4ae4244d
DM
14726 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14727 sparc V9 rather than using V8 code.
14728 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14729 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14730
8794a964
DM
14731 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14732 Move to...
14733 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14734 Here.
14735
6270516e
RM
147362013-01-11 Roland McGrath <roland@hack.frob.com>
14737
14738 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14739 not in the main loop.
14740 * configure: Regenerated.
14741
6a57d931
JM
147422013-01-11 Joseph Myers <joseph@codesourcery.com>
14743
14744 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14745 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14746 to just #else.
14747 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14748 [!__GLIBC_HAVE_LONG_LONG] case.
14749 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14750 condition to just #else.
14751 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14752 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14753 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14754 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14755 unconditional.
14756 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14757 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14758 #elif condition to just #else.
14759 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14760 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14761 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14762 #elif condition to just #else.
14763
0e8529e9
SE
147642013-01-11 Steve Ellcey <sellcey@mips.com>
14765
14766 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14767 (EF_MIPS_ARCH_64): Fix value.
14768 (EF_MIPS_ARCH_32R2): New.
14769 (EF_MIPS_ARCH_64R2): New.
14770
740b3dbe
L
147712013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14772
14773 * Makeconfig (+link-pie-before-libc): New.
14774 (+link-pie-after-libc): Likewise.
14775 (+link-pie-tests): Likewise.
14776 (+link-pie): Rewritten.
14777 (link-before-libc): Remove $(config-LDFLAGS).
14778 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14779 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14780 (config-LDFLAGS): Renamed to ...
14781 (rtld-LDFLAGS): This.
14782 (rtld-tests-LDFLAGS): New macro.
14783 (link-libc-rpath-link): Likewise.
14784 (link-libc-tests-rpath-link): Likewise.
14785 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14786 (link-libc): Prepand $(link-libc-rpath-link).
14787 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14788 (test-program-prefix): New macro.
14789 (test-via-rtld-prefix): Likewise.
14790 (test-program-cmd): Likewise.
14791 (host-test-program-cmd): Likewise.
14792 * Makefile ($(common-objpfx)testrun.sh): Replace
14793 $(run-program-prefix) with $(test-program-prefix).
14794 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14795 $(rtld-LDFLAGS).
14796 ($(common-objpfx)shlib.lds): Likewise.
14797 (build-module-helper): Likewise.
14798 ($(common-objpfx)format.lds): Likewise.
14799 * Rules (binaries-pie-tests): New.
14800 (binaries-pie-notests): Likewise.
14801 (binaries-pie): Rewritten.
14802 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14803 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14804 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14805 (make-test-out): Replace $(host-built-program-cmd) with
14806 $(host-test-program-cmd).
14807 * config.make.in (build-hardcoded-path-in-tests): New variable.
14808 * configure.in (--enable-hardcoded-path-in-tests): New configure
14809 option.
14810 (hardcoded_path_in_tests): New AC_SUBST.
14811 * configure: Regenerated.
14812 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14813 $(built-program-cmd) with $(test-program-cmd).
14814 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14815 (test_program_cmd): This.
14816 * elf/Makefile ($(objpfx)order.out): Run test with
14817 $(test-program-prefix).
14818 ($(objpfx)order2.out): Likewise.
14819 ($(objpfx)tst-initorder.out): Likewise.
14820 ($(objpfx)tst-initorder2.out): Likewise.
14821 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14822 $(test-program-cmd).
14823 ($(objpfx)tst-array1-static.out): Likewise.
14824 ($(objpfx)tst-array2.out): Likewise.
14825 ($(objpfx)tst-array3.out): Likewise.
14826 ($(objpfx)tst-array4.out): Likewise.
14827 ($(objpfx)tst-array5.out): Likewise.
14828 ($(objpfx)tst-array5-static.out): Likewise.
14829 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14830 $(test-program-cmd).
14831 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14832 $(run-program-prefix) with $(test-program-prefix).
14833 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14834 (test_program_prefix): This.
14835 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14836 $(run-program-prefix) with $(test-program-prefix).
14837 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14838 (test_program_prefix): This.
14839 * iconvdata/tst-tables.sh: Likewise.
14840 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14841 $(run-program-prefix) with $(test-program-prefix).
14842 ($(objpfx)tst-translit.out): Likewise.
14843 ($(objpfx)tst-gettext2.out): Likewise.
14844 ($(objpfx)tst-gettext4.out): Likewise.
14845 ($(objpfx)tst-gettext6.out): Likewise.
14846 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14847 (test_program_prefix): This.
14848 * intl/tst-gettext2.sh: Likewise.
14849 * intl/tst-gettext4.sh Likewise.
14850 * intl/tst-gettext6.sh: Likewise.
14851 * intl/tst-translit.sh: Likewise.
14852 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14853 with $(test-program-cmd).
14854 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14855 $(run-program-prefix) with $(test-program-prefix).
14856 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14857 (test_program_prefix): This.
14858 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14859 $(run-program-prefix) with $(test-program-prefix).
14860 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14861 (test_program_prefix): This.
14862 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14863 * posix/Makefile ($(objpfx)globtest.out): Replace
14864 $(run-via-rtld-prefix) and $(test-wrapper) with
14865 $(test-program-prefix) and $(test-via-rtld-prefix).
14866 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14867 $(test-program-prefix).
14868 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14869 $(host-test-program-cmd).
14870 (tst-spawn-ARGS): Likewise.
14871 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14872 $(test-program-prefix).
14873 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14874 (test_via_rtld_prefix): This.
14875 (test_wrapper): Renamed to ...
14876 (test_program_prefix): This.
14877 (run_program_prefix): Replaced by test_program_prefix.
14878 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14879 (test_program_prefix): This.
14880 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14881 with $(host-test-program-cmd).
14882 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14883 $(run-program-prefix) with $(test-program-prefix).
14884 ($(objpfx)tst-printf.out): Likewise.
14885 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14886 $(test-program-cmd).
14887 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14888 (test_program_prefix): This.
14889 * stdio-common/tst-unbputc.sh: Likewise.
14890 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14891 $(run-program-prefix) with $(test-program-prefix).
14892 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14893 (test_program_prefix): This.
14894 * string/Makefile ($(objpfx)tst-svc.out): Replace
14895 $(built-program-cmd) with $(test-program-cmd).
14896
c6fe55cf
AJ
148972013-01-11 Andreas Jaeger <aj@suse.de>
14898
14899 [BZ #15003]
14900 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14901 value. Sync with Linux 3.7.
14902
9e6919c8
DM
149032013-01-10 David S. Miller <davem@davemloft.net>
14904
14905 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14906 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14907 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14908
1c9f1a02
RM
149092013-01-10 Roland McGrath <roland@hack.frob.com>
14910
14911 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14912 never set.
14913 * configure: Regenerated.
14914
b9de2dde
DM
149152013-01-10 David S. Miller <davem@davemloft.net>
14916
14917 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14918 sparc V9 rather than using V8 code.
14919 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14920 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14921
e7f68ef4
RM
149222013-01-10 Roland McGrath <roland@hack.frob.com>
14923
14924 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14925 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14926 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14927 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14928 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14929 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14930 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14931 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14932 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14933 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14934 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14935 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14936 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14937 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14938 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14939 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14940 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14941 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14942 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14943 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14944 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14945 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14946 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14947 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14948 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14949 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14950 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14951
5a47cc9c
DM
149522013-01-10 David S. Miller <davem@davemloft.net>
14953
14954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14955
4cf8f209
L
149562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14957
14958 * posix/Makefile (tests-static): New variable.
14959 (tests): Add $(tests-static).
14960 (tst-exec-static-ARGS): New variable.
14961 (tst-spawn-static-ARGS): Likewise.
14962 * posix/tst-exec-static.c: New file.
14963 * posix/tst-spawn-static.c: Likewise.
14964 * posix/tst-exec.c: Support run directly.
14965 * posix/tst-spawn.c: Likewise.
14966
fed0faa1
JM
149672013-01-10 Joseph Myers <joseph@codesourcery.com>
14968
828beb13
JM
14969 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14970 long.
14971 * math/bits/mathcalls.h (llrint): Likewise.
14972 (llround): Likewise.
14973 * stdlib/stdlib.h (struct drand48_data): Likewise.
14974 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14975 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14976 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14977 Likewise.
14978 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14979 Likewise.
14980 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14981 (elf_greg_t): Likewise.
14982 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14983 (__jmp_buf): Likewise.
14984 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14985 definitions.
14986 (llrint): Likewise, for all definitions.
14987 (llrintl): Likewise.
14988
fed0faa1
JM
14989 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14990 Remove [__GNUC__] condition.
14991 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14992 condition to just [__USE_ISOC99].
14993 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14994
1a20cb20
L
149952013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14996
14997 [BZ #14200]
14998 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14999 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15000 defined.
15001 (_POSIX_V6_ILP32_OFF32): Likewise.
15002 (_XBS5_ILP32_OFF32): Likewise.
15003 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15004 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15005
751b85f7
SP
150062013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15007
7490eb81
SP
15008 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15009
751b85f7
SP
15010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15011 doubles __mpexp_twomm1. Adjust usage.
15012 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15013 Remove.
15014
988197f0
AS
150152013-01-10 Andreas Schwab <schwab@suse.de>
15016
15017 [BZ #14964]
15018 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15019 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15020
e83d7298
DM
150212013-01-09 David S. Miller <davem@davemloft.net>
15022
034ed64b 15023 [BZ #15003]
e83d7298
DM
15024 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15025 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15026 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15027 TCP_FASTOPEN): Define.
15028 (tcp_repair_opt): New structure.
15029 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15030 enum values.
15031 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15032 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15033 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15034 (tcp_cookie_transactions): New structure.
15035
d5e0b9bd
AB
150362013-01-09 Anton Blanchard <anton@samba.org>
15037
15038 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15039 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15040 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15041 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15042
0c07e3ea
JM
150432013-01-09 Joseph Myers <joseph@codesourcery.com>
15044
15045 * include/features.h (__USE_ANSI): Remove.
15046
232f7002
RM
150472013-01-09 Roland McGrath <roland@hack.frob.com>
15048
ad98e30c
RM
15049 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15050
232f7002
RM
15051 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15052
950c99ca
SP
150532013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15054
b5792741
SP
15055 * sysdeps/s390/fpu/libm-test-ulps: Update.
15056
47cf2278
SP
15057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15058
950c99ca
SP
15059 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15060 (__acr): Likewise.
15061 (__cpy): Likewise.
15062 (norm): Likewise.
15063 (denorm): Likewise.
15064 (__mp_dbl): Likewise.
15065 (__dbl_mp): Likewise.
15066 (add_magnitudes): Likewise.
15067 (sub_magnitudes): Likewise.
15068 (__add): Likewise.
15069 (__sub): Likewise.
15070 (__mul): Likewise.
15071 (__inv): Likewise.
15072 (__dvd): Likewise.
15073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15074 (__acr): Likewise.
15075 (__cpy): Likewise.
15076 (norm): Likewise.
15077 (denorm): Likewise.
15078 (__mp_dbl): Likewise.
15079 (__dbl_mp): Likewise.
15080 (add_magnitudes): Likewise.
15081 (sub_magnitudes): Likewise.
15082 (__add): Likewise.
15083 (__sub): Likewise.
15084 (__mul): Likewise.
15085 (__inv): Likewise.
15086 (__dvd): Likewise.
15087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15088 (__acr): Likewise.
15089 (__cpy): Likewise.
15090 (norm): Likewise.
15091 (denorm): Likewise.
15092 (__mp_dbl): Likewise.
15093 (__dbl_mp): Likewise.
15094 (add_magnitudes): Likewise.
15095 (sub_magnitudes): Likewise.
15096 (__add): Likewise.
15097 (__sub): Likewise.
15098 (__mul): Likewise.
15099 (__inv): Likewise.
15100 (__dvd): Likewise.
15101
eede9df9
JM
151022013-01-08 Joseph Myers <joseph@codesourcery.com>
15103
15104 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15105 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15106 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15107 2 && __USE_EXTERN_INLINES]: Likewise.
15108
c40ea3d9
AJ
151092013-01-08 Andreas Jaeger <aj@suse.de>
15110
15111 [BZ# 14985]
15112 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15113 Remove.
15114 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15115 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15116
2ccdea26
AB
151172013-01-07 Anton Blanchard <anton@samba.org>
15118
15119 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15120 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15121 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15122 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15123 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15124 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15125 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15126 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15129 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15130 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15131 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15132 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15133 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15134 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15135 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15136 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15137 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15138 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15139 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15140 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15142 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15143 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15144 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15145 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15146 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15147 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15148 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15149 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15151 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15152 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15153 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15154 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15155 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15156 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15157 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15158 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15159 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15161 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15162
a9708fed
JM
151632013-01-07 Joseph Myers <joseph@codesourcery.com>
15164
375607b9
JM
15165 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15166 (__MALLOC_PMT): Likewise.
15167 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15168 [__GNUC__], only on [_LIBC].
15169 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15170 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15171 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15172 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15173 forward declaration.
15174 (realloc_hook_ini): Likewise.
15175 (memalign_hook_ini): Likewise.
15176 (__libc_memalign): Do not use __MALLOC_PMT in variable
15177 declaration.
15178 (__libc_valloc): Likewise.
15179 (__libc_pvalloc): Likewise.
15180 (__libc_calloc): Likewise.
15181 (__posix_memalign): Likewise.
15182
a9708fed
JM
15183 [BZ #14996]
15184 * math/s_casinh.c: Include <float.h>.
15185 (__casinh): Do not do computation with squaring and square root
15186 for large arguments.
15187 * math/s_casinhf.c: Include <float.h>.
15188 (__casinhf): Do not do computation with squaring and square root
15189 for large arguments.
15190 * math/s_casinhl.c: Include <float.h>.
15191 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15192 (__casinhl): Do not do computation with squaring and square root
15193 for large arguments.
15194 * math/libm-test.inc (casin_test): Add more tests.
15195 (casinh_test): Likewise.
15196 * sysdeps/i386/fpu/libm-test-ulps: Update.
15197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15198
afec409a
L
151992013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15200
15201 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15202 (__x86_64_raw_data_cache_size): Likewise.
15203 (__x86_64_data_cache_size_half): Likewise.
15204 (__x86_64_raw_data_cache_size_half): Likewise.
15205 (__x86_64_shared_cache_size): Likewise.
15206 (__x86_64_raw_shared_cache_size): Likewise.
15207 (__x86_64_shared_cache_size_half): Likewise.
15208 (__x86_64_raw_shared_cache_size_half): Likewise.
15209 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15210 to ...
15211 (__x86_data_cache_size): This.
15212 (__x86_64_raw_data_cache_size): Renamed to ...
15213 (__x86_raw_data_cache_size): This.
15214 (__x86_64_data_cache_size_half): Renamed to ...
15215 (__x86_data_cache_size_half): This.
15216 (__x86_64_raw_data_cache_size_half): Renamed to ...
15217 (__x86_raw_data_cache_size_half): This.
15218 (__x86_64_shared_cache_size): Renamed to ...
15219 (__x86_shared_cache_size): This.
15220 (__x86_64_raw_shared_cache_size): Renamed to ...
15221 (__x86_raw_shared_cache_size): This.
15222 (__x86_64_shared_cache_size_half): Renamed to ...
15223 (__x86_shared_cache_size_half): This.
15224 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15225 (__x86_raw_shared_cache_size_half): This.
15226 * sysdeps/x86_64/memcpy.S: Updated.
15227 * sysdeps/x86_64/memset.S: Likewise.
15228 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15230 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15231
0b3986d0
DM
152322013-01-04 David S. Miller <davem@davemloft.net>
15233
15234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15235
e47686e9
AS
152362013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15237
d643bac1
AS
15238 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15239 1 to avoid redefinition warning.
15240 (__USE_GNU): Don't define.
15241 (init_signaling_nan): Protoize.
15242
e47686e9
AS
15243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15244
b18decba
SP
152452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15246
fffb407f
SP
15247 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15249 (__cpymn): Likewise.
15250 (norm): Remove commented code.
15251 (denorm): Likewise.
15252 (__mp_dbl): Likewise.
15253 (__inv): Likewise.
15254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15255 (__cpymn): Likewise.
15256 (norm): Remove commented code.
15257 (denorm): Likewise.
15258 (__mp_dbl): Likewise.
15259 (__inv): Likewise.
15260
b18decba
SP
15261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15262 mp_no value for 1.0 and 2.0.
15263 (norm): Use RADIXI instead of radixi.d.
15264 (denorm): Likewise.
15265 (__mul): Use 0.0 instead of zero.d.
15266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15267 mp_no value for 1.0 and 2.0.
15268 (norm): Use RADIXI instead of radixi.d.
15269 (denorm): Likewise.
15270 (__mul): Use 0.0 instead of zero.d.
15271
cdc1c96f
JM
152722013-01-04 Joseph Myers <joseph@codesourcery.com>
15273
15274 [BZ #14994]
15275 * math/s_casinh.c (__casinh): Reduce finite argument to first
15276 quadrant then set signs of results at the end.
15277 * math/s_casinhf.c (__casinhf): Likewise.
15278 * math/s_casinhl.c (__casinhl): Likewise.
15279 * math/libm-test.inc (casin_test): Add more tests.
15280 (casinh_test): Likewise.
15281 * sysdeps/i386/fpu/libm-test-ulps: Update.
15282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15283
302913e1
SP
152842013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15285
6420d207
SP
15286 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15287
a9e48ab4
SP
15288 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15289
b7837264
SP
15290 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15291 declarations.
15292 (denorm): Likewise.
15293 (__mp_dbl): Likewise.
15294 (__inv): Likewise.
15295
f8af25d2
SP
15296 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15297 and adjust the header comment.
15298
302913e1
SP
15299 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15300 variable name from declaration.
15301
5d7dd1ca
L
153022013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15303
15304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15305 Initialize COMMON_CPUID_INDEX_7 element.
15306 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15307 (CPUID_RTM): Likewise.
15308 (HAS_RTM): Likewise.
15309 (COMMON_CPUID_INDEX_7): New enum.
15310
2f5f40f4
AS
153112013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15312
15313 [BZ #14981]
15314 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15315 size is zero, record memory as freed.
15316
4056f4a0
AJ
153172013-01-03 Andreas Jaeger <aj@suse.de>
15318
15319 * po/ia.po: Add new Interlingua translation.
15320
ab15736f 153212012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15322
15323 * locale/programs/localedef.c: Fix description of '--posix' flag.
15324
568035b7
JM
153252013-01-02 Joseph Myers <joseph@codesourcery.com>
15326
e6898b8d
JM
15327 * NEWS: Update dates in second copyright notice.
15328 * README: Update copyright dates in example.
15329 * manual/libc.texinfo: Update copyright dates.
15330 * scripts/test-installation.pl: Update copyright date in --version
15331 output.
15332
0e2f9562
JM
15333 * hurd/ctty-input.c: Fix copyright notice formatting.
15334 * hurd/ctty-output.c: Likewise.
15335 * hurd/dtable.c: Likewise.
15336 * hurd/hurd-raise.c: Likewise.
15337 * hurd/hurdprio.c: Likewise.
15338 * hurd/msgportdemux.c: Likewise.
15339 * misc/sys/file.h: Likewise.
15340 * misc/sys/ioctl.h: Likewise.
15341 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15342 * sysdeps/mach/hurd/chdir.c: Likewise.
15343 * sysdeps/mach/hurd/fchdir.c: Likewise.
15344 * sysdeps/mach/hurd/rename.c: Likewise.
15345 * sysdeps/mach/hurd/rmdir.c: Likewise.
15346 * sysdeps/mach/hurd/seekdir.c: Likewise.
15347 * sysdeps/mach/hurd/setsid.c: Likewise.
15348 * sysdeps/posix/wait3.c: Likewise.
15349
568035b7
JM
15350 * All files with FSF copyright notices: Update copyright dates
15351 using scripts/update-copyrights.
15352 * intl/plural.c: Regenerated.
15353 * locale/programs/charmap-kw.h: Likewise.
15354 * locale/programs/locfile-kw.h: Likewise.
15355
da08f647
SP
153562013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15357
0f5477af
SP
15358 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15359 four values.
15360
44e0d4c2
SP
15361 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15362 calculation loop and add branch prediction.
15363
4d55b4e5
SP
15364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15365 check access beyond bounds of m1np.
15366
da08f647
SP
15367 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15368 MPTWO.
15369 (__inv): Remove local variable MPTWO to use the global
15370 constant.
15371 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15372 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15373 variable MPTWO.
15374 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15375 MP3HALFS static const.
15376
8e051029
DM
153772013-01-01 David S. Miller <davem@davemloft.net>
15378
15379 * po/ca.po: Update from translation team.
15380
f4cf5f2d
JM
153812013-01-01 Joseph Myers <joseph@codesourcery.com>
15382
15383 * scripts/update-copyrights: New file.
15384 * Makeconfig: Reformat copyright notice.
15385 * ctype/ctype.h: Likewise.
15386 * debug/swprintf_chk.c: Likewise.
15387 * elf/dl-cache.c: Likewise.
15388 * elf/dl-debug.c: Likewise.
15389 * elf/dl-object.c: Likewise.
15390 * grp/initgroups.c: Likewise.
15391 * hurd/Makefile: Likewise.
15392 * hurd/hurd/signal.h: Likewise.
15393 * hurd/hurdfault.c: Likewise.
15394 * hurd/hurdioctl.c: Likewise.
15395 * hurd/hurdlookup.c: Likewise.
15396 * hurd/intr-msg.c: Likewise.
15397 * iconv/gconv_open.c: Likewise.
15398 * libio/swprintf.c: Likewise.
15399 * locale/lc-ctype.c: Likewise.
15400 * locale/nl_langinfo.c: Likewise.
15401 * mach/Machrules: Likewise.
15402 * mach/Makefile: Likewise.
15403 * malloc/obstack.h: Likewise.
15404 * manual/Makefile: Likewise.
15405 * manual/tsort.awk: Likewise.
15406 * misc/bits/stab.def: Likewise.
15407 * nis/nis_print_group_entry.c: Likewise.
15408 * nis/nis_table.c: Likewise.
15409 * nis/nss_compat/compat-pwd.c: Likewise.
15410 * nis/nss_compat/compat-spwd.c: Likewise.
15411 * po/Makefile: Likewise.
15412 * posix/fnmatch.c: Likewise.
15413 * posix/regex.h: Likewise.
15414 * resolv/Makefile: Likewise.
15415 * resolv/nss_dns/dns-network.c: Likewise.
15416 * resolv/res_hconf.c: Likewise.
15417 * scripts/gen-sorted.awk: Likewise.
15418 * soft-fp/soft-fp.h: Likewise.
15419 * stdio-common/printf.h: Likewise.
15420 * stdlib/monetary.h: Likewise.
15421 * stdlib/random.c: Likewise.
15422 * stdlib/random_r.c: Likewise.
15423 * sysdeps/generic/Makefile: Likewise.
15424 * sysdeps/gnu/Makefile: Likewise.
15425 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15437 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15438 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15439 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15440 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15441 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15443 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15444 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15445 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15447 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15448 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15453 * sysdeps/mach/hurd/errnos.awk: Likewise.
15454 * sysdeps/mach/hurd/fork.c: Likewise.
15455 * sysdeps/mach/hurd/getcwd.c: Likewise.
15456 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15457 * sysdeps/mach/hurd/mmap.c: Likewise.
15458 * sysdeps/mach/hurd/utimes.c: Likewise.
15459 * sysdeps/mach/hurd/xmknod.c: Likewise.
15460 * sysdeps/posix/profil.c: Likewise.
15461 * sysdeps/posix/readdir_r.c: Likewise.
15462 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15463 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15464 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15465 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15467 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15468 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15469 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15471 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15472 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15473 * sysdeps/pthread/lio_listio.c: Likewise.
15474 * sysdeps/sparc/dl-procinfo.h: Likewise.
15475 * sysdeps/unix/i386/sysdep.S: Likewise.
15476 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15477 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15478 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15479 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15481 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15482 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15483 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15484 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15485 * sysdeps/wordsize-32/divdi3.c: Likewise.
15486 * time/sys/time.h: Likewise.
15487 * wcsmbs/Makefile: Likewise.
15488
0549fbba
DM
154892013-01-01 David S. Miller <davem@davemloft.net>
15490
a141f1a7
DM
15491 * po/fr.po: Update from translation team.
15492
0549fbba
DM
15493 * catgets/gencat.c: Update copyright year.
15494 * csu/version.c: Likewise.
15495 * debug/catchsegv.sh: Likewise.
15496 * debug/pcprofiledump.c: Likewise.
15497 * debug/xtrace.sh: Likewise.
15498 * elf/ldconfig.c: Likewise.
15499 * elf/ldd.bash.in: Likewise.
15500 * elf/pldd.c: Likewise.
15501 * elf/sotruss.ksh: Likewise.
15502 * elf/sprof.c: Likewise.
15503 * iconv/iconv_prog.c: Likewise.
15504 * iconv/iconvconfig.c: Likewise.
15505 * locale/programs/locale.c: Likewise.
15506 * locale/programs/localedef.c: Likewise.
15507 * login/programs/pt_chown.c: Likewise.
15508 * malloc/memusage.sh: Likewise.
15509 * malloc/memusagestat.c: Likewise.
15510 * malloc/mtrace.pl: Likewise.
15511 * nscd/nscd.c: Likewise.
15512 * nss/getent.c: Likewise.
15513 * nss/makedb.c: Likewise.
15514 * posix/getconf.c: Likewise.
15515
18ea052c
SP
155162012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15517
15518 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15519 numbers.
15520
9c89fca6
MF
155212012-12-30 Mike Frysinger <vapier@gentoo.org>
15522
15523 * math/bits/mathcalls.h (modf): Use __nonnull.
15524
085ec079
SP
155252012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15526
15527 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15528 (split): Use macro CN instead of the bare value.
15529 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15530 could be used.
15531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15532 instead of the bare value.
15533 (power1): Likewise.
15534
6d9f97e1
SP
155352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15536
d63f73be
SP
15537 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15538 __ATAN_TWOM.
15539 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15540
6d9f97e1
SP
15541 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15542 their values.
15543 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15544 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15545 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15546 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15547
4c4febf5
AJ
155482012-12-28 Andreas Jaeger <aj@suse.de>
15549
af5843ef
AJ
15550 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15551 values are from Linux 3.7.
15552
4c4febf5
AJ
15553 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15554 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15555
99136f82
SP
155562012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15557
2f216c3c 15558 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15559 TRUE case.
15560
99136f82
SP
15561 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15562 (norm): Likewise.
15563 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15564 variables with preprocessor constants.
15565 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15566 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15567 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15568
7fffbdff
BH
155692012-12-27 Bruno Haible <bruno@clisp.org>
15570
15571 [BZ #14317]
15572 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15573 only if needed.
15574
b76eb5f0
SP
155752012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15576
31a7fe5c
SP
15577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15578 and use variable directly.
15579 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15580
b76eb5f0
SP
15581 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15582 MPONE.
15583 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15584 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15585 variable MPONE.
15586 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15588 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15589 include directive. Remove local variable MPONE.
15590 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15591 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15592 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15593
2c8bfe7d
DM
155942012-12-25 David S. Miller <davem@davemloft.net>
15595
15596 * version.h (RELEASE): Set to "development".
15597 (VERSION): Set to "2.17.90".
15598 * NEWS: Add 2.18 section.
15599
147d03b0
DM
156002012-12-21 David S. Miller <davem@davemloft.net>
15601
15602 * po/hr.po: Update from translation team.
15603
a8ebb2b9
AK
156042012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15605
15606 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15607
95b4f1b6
SE
156082012-12-19 Steve Ellcey <sellcey@mips.com>
15609
b2d94007 15610 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15611
cedb2a90
MS
156122012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15613
15614 * manual/contrib.texi (Contributors): Spelling correction.
15615
bbf527d6
DM
156162012-12-15 David S. Miller <davem@davemloft.net>
15617
15618 * po/ru.po: Update from translation team.
15619
bc38c906
DM
156202012-12-13 David S. Miller <davem@davemloft.net>
15621
85429b1a
DM
15622 * NEWS: Mention IFUNC testsuite enhancements.
15623
d283e353
DM
15624 * po/pl.po: Update from translation team.
15625 * po/bg.po: Likewise.
15626
bc38c906
DM
15627 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15628 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15629
a181b0d7
DM
156302012-12-11 David S. Miller <davem@davemloft.net>
15631
4641d57e
DM
15632 * po/sv.po: Update from translation team.
15633
f7bc6495
DM
15634 * po/vi.po: Update from translation team.
15635
6fc9048f
DM
15636 * po/cs.po: Update from translation team.
15637
a181b0d7
DM
15638 * po/de.po: Update from translation team.
15639 * po/eo.po: Likewise.
15640 * po/nl.po: Likewise.
15641
f70bfe80
SP
156422012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15643
3c8b4190
SP
15644 [BZ #14246]
15645 * manual/argp.texi (Argp Helper Functions): Move node to follow
15646 Argp Parsing State.
15647
f70bfe80
SP
15648 [BZ #14872]
15649 * manual/conf.texi (Limits on File System Capacity): Mention if
15650 terminating null is included in the max size.
15651
188f0adf
AJ
156522012-12-10 Andreas Jaeger <aj@suse.de>
15653
15654 * po/cs.po: Update from translation team.
15655
56e7d3ad
SP
156562012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15657
15658 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15659 void pointer and cast to uintptr_t.
15660 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15661 path.
15662 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15663 * sysdeps/s390/s390-64/memset.S: Likewise.
15664
76f2d2ea 156652012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15666
15667 [BZ #14833]
15668 * menual/message.texi (Message Translation): Fix typos.
15669 (Helper programs for gettext): Likewise.
15670
67cbf9a2
AS
156712012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15672
15673 [BZ #14898]
15674 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15675 Change to -1.
15676
682d0e9a
DM
156772012-12-07 David S. Miller <davem@davemloft.net>
15678
15679 * po/libc.pot: Update.
15680
573cd484
RH
156812012-12-07 Richard Henderson <rth@redhat.com>
15682
7e9da188 15683 [BZ #10114]
573cd484
RH
15684 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15685 normal/normal case to before the switch.
15686 (_FP_DIV): Likewise.
15687
e933a943
MF
156882012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15689 Mike Frysinger <vapier@gentoo.org>
15690
15691 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15692 check for __NR_fadvise64_64.
15693
82123268
CM
156942012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15695
15696 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15697 0, not just to plain "0" as a statement.
15698 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15699 with cw.
15700
d9814526
JM
157012012-12-06 Joseph Myers <joseph@codesourcery.com>
15702
15703 * NEWS: Use sourceware.org in Bugzilla URL.
15704
7728c574
SP
157052012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15706
f16946dd
SP
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15708 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15709
5704bbcb
SP
15710 * stdio-common/tst-put-error.c (do_test): Add newline to the
15711 padded test to ensure flush.
15712
17aa0516
JL
157132012-12-05 Jeff Law <law@redhat.com>
15714
15715 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15716
363313b5
JM
157172012-12-05 Joseph Myers <joseph@codesourcery.com>
15718
effbd42a
JM
15719 * README: Don't refer to ports add-on as distributed separately.
15720 Mention AArch64 in list of systems supported in the ports add-on.
15721
87600365
JM
15722 * LICENSES: Add more non-FSF copyright and license notices.
15723
a0d7066a
JM
15724 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15725 ((unused)).
15726
66ca5a5b
JM
15727 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15728
363313b5
JM
15729 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15730 10000 as width of padded output.
15731
b37984ad
JM
157322012-12-04 Joseph Myers <joseph@codesourcery.com>
15733
9003570a
JM
15734 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15735
b37984ad
JM
15736 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15737 variable LX with __attribute__ ((unused)).
15738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15739 Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15743 with __attribute__ ((unused)).
15744
c8df52ec
DM
157452012-12-04 David S. Miller <davem@abraco.davemloft.net>
15746
15747 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15748
b3b099af
JM
157492012-12-04 Joseph Myers <joseph@codesourcery.com>
15750
c33aa6e3
JM
15751 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15752 (CFLAGS-nldbl-acos.c): New variable.
15753 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15754 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15755 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15756 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15757 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15758 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15759 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15760 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15761 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15762 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15763 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15764 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15765 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15766 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15767 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15768 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15769 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15770 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15771 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15772 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15773 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15774 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15775 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15776 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15777 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15778 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15779 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15780 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15781 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15782 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15783 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15784 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15785 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15786 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15787 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15788 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15789 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15790 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15791 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15792 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15793 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15794 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15795 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15796 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15797 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15798 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15799 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15800 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15801 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15802 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15803 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15804 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15805 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15806 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15807 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15808 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15809 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15810 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15811 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15812 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15813 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15814 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15815 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15816 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15817 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15818 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15819 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15820 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15821 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15822 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15823 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15824 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15825 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15826 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15827 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15828 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15829 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15830 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15831 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15832 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15833 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15834 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15835 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15836 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15837 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15838 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15839 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15840 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15841 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15842 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15843 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15844 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15845 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15846 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15847 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15848 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15849 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15850
20f0018d
JM
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15852 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15853
b3b099af
JM
15854 [BZ #14914]
15855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15856 whole low double instead of just low 47 bits when splitting values
15857 into two parts.
15858
029264d1
AM
158592012-12-03 Allan McRae <allan@archlinux.org>
15860
15861 * manual/stdio.texi (Predefined Printf Handlers): Remove
15862 @hsep and @vsep usage.
15863
c9d6789e
MF
158642012-12-03 Mike Frysinger <vapier@gentoo.org>
15865
15866 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15867 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15868
4b7634a5
JL
158692012-12-03 Jeff Law <law@redhat.com>
15870
15871 * time/sys/time.h (settimeofday): Do not mark TV argument
15872 as __nonnull.
15873
eb6cbd24
MF
158742012-12-01 Mike Frysinger <vapier@gentoo.org>
15875
15876 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15877 when currently writing and seek to current position when not.
15878 * libio/Makefile (tests): Remove bug-fclose1.
15879 * libio/bug-fclose1.c: Delete.
15880
f638872a
JM
158812012-12-01 Joseph Myers <joseph@codesourcery.com>
15882
15883 * manual/arith.texi (feenableexcept): Fix typo.
15884 (fedisableexcept): Likewise.
15885
48085d14
RM
158862012-11-30 Roland McGrath <roland@hack.frob.com>
15887
15888 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15889 second, differently-typed declaration, rather than a cast.
15890
1a538b9f
SP
158912012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15892
15893 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15894 * include/rpc/svc.h: ... here.
15895
d07f2ff1 158962012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15897
15898 [BZ #13013]
15899 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15900 depending n and resplen2 to catch cases where answer
15901 equals answerp2.
15902
c93ec1f0
CD
159032012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15904
15905 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15906 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15907
37db69de
MF
159082012-11-29 Mike Frysinger <vapier@gentoo.org>
15909
15910 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15911
e10c4e4f
RM
159122012-11-29 Roland McGrath <roland@hack.frob.com>
15913
15914 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15915
2af1b328
JL
159162012-11-28 Jeff Law <law@redhat.com>
15917
15918 [BZ #13761]
15919 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15920 dataset_temporary. Track alloca usage into alloca_used.
15921 If dataset is large allocate and release it via malloc/free.
15922
111db5b1
FW
159232012-06-04 Florian Weimer <fweimer@redhat.com>
15924
f06cc227 15925 [BZ #14197]
111db5b1
FW
15926 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15927
dd694abd
DM
159282012-11-28 David S. Miller <davem@davemloft.net>
15929
15930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15931
9984dd01
JM
159322012-11-28 Joseph Myers <joseph@codesourcery.com>
15933
15934 [BZ #14803]
15935 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15936 of pi/2 rounded to nearest to 64 bits.
15937 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15938 nearest to 64 bits.
15939 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15940 bits.
15941
14bc93a9
JL
159422012-11-28 Jeff Law <law@redhat.com>
15943 Martin Osvald <mosvald@redhat.com>
15944
15945 [BZ #14889]
15946 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15947 * sunrpc/svc.c: Include time.h.
15948 (__svc_accept_failed): New function.
15949 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15950 any reason other than EINTR, call __svc_accept_failed.
15951 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15952 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15953
e3c6aa3a
AS
159542012-11-28 Andreas Schwab <schwab@suse.de>
15955
15956 * scripts/abilist.awk: Also handle indirect functions in .opd
15957 section.
15958
1bead169
JM
159592012-11-28 Joseph Myers <joseph@codesourcery.com>
15960
15961 [BZ #13881]
15962 * sysdeps/x86/fpu/powl_helper.c: New file.
15963 * sysdeps/x86/fpu/Makefile: Likewise.
15964 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15965 (p3): New object.
15966 (__ieee754_powl): Use __powl_helper for finite arguments except
15967 integer exponents below 8.
15968 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15969 (p3): New object.
15970 (__ieee754_powl): Use __powl_helper for finite arguments except
15971 integer exponents below 8.
15972 * math/libm-test.inc (pow_test): Add more tests and enable some
15973 previously disabled tests.
15974 * sysdeps/i386/fpu/libm-test-ulps: Update.
15975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15976
0817d63d
SP
159772012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15978 Carlos O'Donell <carlos_odonell@mentor.com>
15979
15980 * nss/makedb.c (is_prime): Assert that input is odd and greater
15981 than 4. Note that fact in a comment too.
15982 (next_prime): Add 4 to input.
15983
de2fd463
SP
159842012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15985
15986 [BZ #11741]
15987 * libio/Makefile (tests): Add test case tst-fwrite-error.
15988 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15989 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15990 * libio/tst-fwrite-error.c: New test case.
15991
c515fb51
L
159922012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15993
15994 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15995 before casting to void *.
15996 * include/libc-internal.h (__pointer_type): New macro.
15997 (__integer_if_pointer_type_sub): Likewise.
15998 (__integer_if_pointer_type): Likewise.
15999 (cast_to_integer): Likewise.
16000 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16001 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16002 before casting to atomic64_t.
16003 (atomic_exchange_acq): Likewise.
16004 (__arch_exchange_and_add_body): Likewise.
16005 (__arch_add_body): Likewise.
16006 (atomic_add_negative): Likewise.
16007 (atomic_add_zero): Likewise.
16008
4cf77aa9
JM
160092012-11-26 Joseph Myers <joseph@codesourcery.com>
16010
16011 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16012 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16013 (add_fdes): Likewise.
16014 (linear_search_fdes): Likewise.
16015 (binary_search_unencoded_fdes): Likewise.
16016
d260b3b4
AS
160172012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16018
16019 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16020
67060746
AC
160212012-11-24 Adam Conrad <adconrad@0c3.net>
16022
16023 * configure.in: Autodetect C++ header directories.
16024 * configure: Regenerated.
16025
800938a1
MF
160262012-11-23 Mike Frysinger <vapier@gentoo.org>
16027
16028 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16029
4e6e34e6
AS
160302012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16031
16032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16033
7c7feb47
JM
160342012-11-22 Joseph Myers <joseph@codesourcery.com>
16035
7184dcdf
JM
16036 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16037 LDBL_MANT_DIG == 106]: Disable some tests.
16038 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16039 Likewise.
16040 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16041 Likewise.
16042
0a42601f
JM
16043 [BZ #14871]
16044 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16045 input for small inputs. Return +/- pi/2 for large inputs.
16046 * math/libm-test.inc (atan_test): Add more tests.
16047
79c9b9fe
JM
16048 * sysdeps/generic/unwind-dw2-fde-glibc.c
16049 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16050 __attribute__ ((unused)).
16051
c60d3bf2
JM
16052 [BZ #14645]
16053 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16054 x * y if x and y are nonzero and z is zero.
16055
ef1e0867
JM
16056 [BZ #14811]
16057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16058 nonzero exponents with absolute value below 0x1p-117 to +/-
16059 0x1p-117.
16060
1468ded3
JM
16061 [BZ #14869]
16062 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16063 up arguments below 2**-450, not just those below 2**-500.
16064 * math/libm-test.inc (hypot_test): Add another test.
16065
8e27e3cc
JM
16066 [BZ #14868]
16067 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16068 Return a+b for ratio over 2**120, not 2**60.
16069 * math/libm-test.inc (hypot_test): Add another test.
16070
c9c0279b
JM
16071 * math/libm-test.inc (clog_test): Use
16072 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16073 (clog10_test): Likewise.
16074
7c7feb47
JM
16075 [BZ #6778]
16076 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16077
fff1530e
AS
160782012-11-22 Andreas Schwab <schwab@suse.de>
16079
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16081
94558d30
PT
160822012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16083
16084 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16085 printf output with newline.
16086
7e1be741
L
160872012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16088
6bfea974
L
16089 [BZ #14865]
16090 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16091 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16092 -z nodlopen, -z initfirst and -z execstack support.
16093 * configure: Regenerated.
16094
7e1be741
L
16095 * elf/elf.h (DF_1_NODIRECT): New macro.
16096 (DF_1_IGNMULDEF): Likewise.
16097 (DF_1_NOKSYMS): Likewise.
16098 (DF_1_NOHDR): Likewise.
16099 (DF_1_EDITED): Likewise.
16100 (DF_1_NORELOC): Likewise.
16101 (DF_1_SYMINTPOSE): Likewise.
16102 (DF_1_GLOBAUDIT): Likewise.
16103 (DF_1_SINGLETON): Likewise.
16104 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16105 DT_1_SUPPORTED_MASK bits.
16106 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16107
105ce2ce
CD
161082012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16109
16110 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16111
123be9de
TS
161122012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16113
d072f3f7
TS
16114 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16115 macro.
16116
123be9de
TS
16117 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16118 (sendmmsg): Move declarations...
16119 * socket/sys/socket.h: ... here.
16120 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16121 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16122 include it from...
16123 * socket/recvmmsg.c: ... this new file.
16124 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16125 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16126 definition of __sendmmsg hidden.
16127 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16128 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16129 Move ENOSYS stub into and include it from...
16130 * socket/sendmmsg.c: ... this new file.
16131 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16132 (sysdep_routines): Move recvmmsg and sendmmsg...
16133 * socket/Makefile (routines): ... here.
16134 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16135 (GLIBC_PRIVATE): Add __sendmmsg.
16136 * include/sys/socket.h (__sendmmsg): Add declarations.
16137 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16138 sendmmsg.
16139
cf9a5d18
JM
161402012-11-20 Joseph Myers <joseph@codesourcery.com>
16141
16142 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16143 variable I1 with __attribute__ ((unused)).
16144 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16145
ecd4caf9
JM
161462012-11-19 Joseph Myers <joseph@codesourcery.com>
16147
be14d48f
JM
16148 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16149 DUMMY variables with __attribute__ ((unused)).
16150
ecd4caf9
JM
16151 * bits/byteswap.h: Include <bits/types.h>.
16152 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16153
986cab95
PT
161542012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16155
16156 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16157 string_t. Do not manually set errno.
16158 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16159 length with __strnlen. Make sure to both set errno and return it on
16160 failure.
16161
6d33cc9d
DM
161622012-11-19 David S. Miller <davem@davemloft.net>
16163
16164 With help from Joseph Myers.
16165 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16166 very large arguments properly.
16167 * math/libm-test.inc (atan_test): New tests.
16168 (atan2_test): New tests.
16169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16171
ee663277
JM
161722012-11-19 Joseph Myers <joseph@codesourcery.com>
16173
877f2d8e
JM
16174 [BZ #14856]
16175 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16176 Define to 3.
16177
116fc08a
JM
16178 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16179 [POSIX] (EADDRNOTAVAIL): Likewise.
16180 [POSIX] (EAFNOSUPPORT): Likewise.
16181 [POSIX] (EALREADY): Likewise.
16182 [POSIX] (ECONNABORTED): Likewise.
16183 [POSIX] (ECONNREFUSED): Likewise.
16184 [POSIX] (ECONNRESET): Likewise.
16185 [POSIX] (EDESTADDRREQ): Likewise.
16186 [POSIX] (EDQUOT): Likewise.
16187 [POSIX] (EHOSTUNREACH): Likewise.
16188 [POSIX] (EIDRM): Likewise.
16189 [POSIX] (EISCONN): Likewise.
16190 [POSIX] (ELOOP): Likewise.
16191 [POSIX] (EMULTIHOP): Likewise.
16192 [POSIX] (ENETDOWN): Likewise.
16193 [POSIX] (ENETUNREACH): Likewise.
16194 [POSIX] (ENOBUFS): Likewise.
16195 [POSIX] (ENODATA): Likewise.
16196 [POSIX] (ENOLINK): Likewise.
16197 [POSIX] (ENOMSG): Likewise.
16198 [POSIX] (ENOPROTOOPT): Likewise.
16199 [POSIX] (ENOSR): Likewise.
16200 [POSIX] (ENOSTR): Likewise.
16201 [POSIX] (ENOTCONN): Likewise.
16202 [POSIX] (ENOTSOCK): Likewise.
16203 [POSIX] (EOPNOTSUPP): Likewise.
16204 [POSIX] (EOVERFLOW): Likewise.
16205 [POSIX] (EPROTO): Likewise.
16206 [POSIX] (EPROTONOSUPPORT): Likewise.
16207 [POSIX] (EPROTOTYPE): Likewise.
16208 [POSIX] (ESTALE): Likewise.
16209 [POSIX] (ETIME): Likewise.
16210 [POSIX] (ETXTBSY): Likewise.
16211 [POSIX] (EWOULDBLOCK): Likewise.
16212 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16213 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16214 [POSIX] (SEEK_CUR): Likewise.
16215 [POSIX] (SEEK_END): Likewise.
16216 [POSIX || UNIX98] (mode_t): Do not require.
16217 [POSIX] (off_t): Likewise.
16218 [POSIX] (pid_t): Likewise.
16219 [POSIX] (sys/stat.h): Do not allow header.
16220 [POSIX] (unistd.h): Likewise.
16221 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16222 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16223 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16224 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16225 require.
16226 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16227 sigevent): Specify elements.
16228 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16229 entry.
16230 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16231 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16232
a483863f
JM
16233 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16234 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16235 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16236 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16237 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16238 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16239 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16240 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16241 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16242 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16243 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16244 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16245 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16246 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16247 Likewise.
16248 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16249 Likewise.
16250 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16251 Likewise.
16252 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16253 Likewise.
16254 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16255 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16256 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16257 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16259 Specify lower bound on value.
16260 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16266 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16267 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16268 value.
16269 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16270 as optional.
16271 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16274 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16275 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16276 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16277 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16278 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16287 entry.
16288 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16289 optional.
16290 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16291 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16292 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16294 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16296 Likewise.
16297 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16298 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16299 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16300 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16301 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16302 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16303 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16304 as optional.
16305 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16306 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16307 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16308 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16309 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16310 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16311 specify as optional.
16312 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16313 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16314 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16315 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16316 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16317 [XPG3] (NL_LANGMAX): Likewise.
16318 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16319 [POSIX || XPG3] (NL_NMAX): Likewise.
16320 [POSIX || XPG3] (NL_SETMAX): Likewise.
16321 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16322 [XPG3] (NZERO): Likewise.
16323 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16324 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16325 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16326 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16327 (REG_ERANGE): Expect.
16328 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16329 optional-constant.
16330 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16331 Use (void) in prototype.
16332 [POSIX] (*_t): Allow.
16333 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16334 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16335 (WRDE_BADVAL): Expect.
16336
5ba924e3
JM
16337 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16338 expect.
16339 [XPG3 || XPG4] (O_RSYNC): Likewise.
16340 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16341 Likewise.
16342 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16343 [XPG3 || XPG4] (sigqueue): Likewise.
16344 [XPG3 || XPG4] (sigtimedwait): Likewise.
16345 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16346 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16347 [XPG3 || XPG4] (vsnprintf): Likewise.
16348 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16349 Likewise.
16350 [XPG3 || XPG4] (blksize_t): Likewise.
16351 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16352 Likewise.
16353 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16354 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16355 [XPG3 || XPG4] (struct itimerspec): Likewise.
16356 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16357 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16358 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16359 [XPG3 || XPG4] (clockid_t): Likewise.
16360 [XPG3 || XPG4] (timer_t): Likewise.
16361 [XPG3 || XPG4] (clock_getres): Likewise.
16362 [XPG3 || XPG4] (clock_gettime): Likewise.
16363 [XPG3 || XPG4] (clock_settime): Likewise.
16364 [XPG3 || XPG4] (nanosleep): Likewise.
16365 [XPG3 || XPG4] (timer_create): Likewise.
16366 [XPG3 || XPG4] (timer_delete): Likewise.
16367 [XPG3 || XPG4] (timer_gettime): Likewise.
16368 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16369 [XPG3 || XPG4] (timer_settime): Likewise.
16370 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16371 [XPG3 || XPG4] (getlogin_r): Likewise.
16372 [XPG3 || XPG4] (pread): Likewise.
16373 [XPG3 || XPG4] (pthread_atfork): Likewise.
16374 [XPG3 || XPG4] (pwrite): Likewise.
16375
ee663277
JM
16376 [BZ #14835]
16377 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16378 <bits/siginfo.h>.
16379
942caa16
PT
163802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16381
e19af380
PT
16382 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16383 finalizing MALLSTREAM.
16384
942caa16
PT
16385 * sysdeps/mach/hurd/syncfs.c: New file.
16386
cfde9b46
SP
163872012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16388
16389 [BZ #14719]
16390 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16391 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16392 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16393 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16394 (_nss_dns_gethostbyname4_r): Likewise.
16395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16396 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16397
f6da27e5
PH
163982012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16399
16400 [BZ #13763]
16401 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16402
6665d4a2
SM
164032012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16404
1f51ee92
SM
16405 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16406 * elf/cache.c (print_entry): Print ",AArch64" for
16407 FLAG_AARCH64_LIB64
16408
6665d4a2
SM
16409 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16410 * elf/cache.c (print_entry): Print ",hard-float" for
16411 FLAG_ARM_LIBHF.
16412
05b227bd
DM
164132012-11-18 David S. Miller <davem@davemloft.net>
16414
16415 With help from Joseph Myers.
16416 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16417 cutoff to 2**-13.
16418 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16419 cutoff to 2**-25.
16420 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16421 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16422 small.
16423 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16424 * math/libm-test.inc (y0_test): New tests.
16425 (y1_test): New tests.
16426 * sysdeps/i386/fpu/libm-test-ulps: Update.
16427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16429
786b0b67
AS
164302012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16431
16432 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16433 64-bit targets.
16434 * configure: Regenerated.
16435
8e18b86d
DM
164362012-11-17 David S. Miller <davem@davemloft.net>
16437
16438 [BZ #14811]
16439 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16440 nonzero exponents with absolute value below 0x1p-128 to +/-
16441 0x1p-128.
16442
531f1ae0
JM
164432012-11-17 Joseph Myers <joseph@codesourcery.com>
16444
12df29e2
JM
16445 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16446
150dc1a0
JM
16447 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16448
531f1ae0
JM
16449 * posix/getconf-speclist.c: New file.
16450 * posix/posix-envs.def: Likewise.
16451 * posix/confstr.c (START_ENV_GROUP): New macro.
16452 (END_ENV_GROUP): Likewise.
16453 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16454 (KNOWN_PRESENT_ENV_STRING): Likewise.
16455 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16456 (UNKNOWN_ENVIRONMENT): Likewise.
16457 (confstr): Include posix-envs.def instead of handling
16458 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16459 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16460 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16461 (END_ENV_GROUP): Likewise.
16462 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16463 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16464 (UNKNOWN_ENVIRONMENT): Likewise.
16465 (__sysconf): Include posix-envs.def instead of handling associated
16466 cases directly here.
16467 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16468 preprocessing getconf-speclist.c rather than running getconf or
16469 generating empty file.
16470
a93f9cbc
PT
164712012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16472
16473 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16474
d64d9f87
AL
164752012-11-16 Andrej Lajovic <natrij@gmail.com>
16476
16477 [BZ #14672]
16478 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16479
447885eb
DM
164802012-11-16 David S. Miller <davem@davemloft.net>
16481
16482 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16483 smaller than LDBL_EPSILON/2.0L, just return xm1.
16484
bcbf9830
L
164852012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16486
16487 * elf/tst-array1.c (init): Set constructor priority to 1000.
16488 (fini): Set destructor priority to 1000.
16489 * elf/tst-array2dep.c: Likewise.
16490
2b766585
SP
164912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16492
16493 [BZ #11741]
16494 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16495 (_IO_new_file_xsputn): Also return EOF if none of the input
16496 data was written when overflow failed.
16497 * libio/iopadn.c (_IO_padn): Likewise.
16498 * libio/iowpadn.c (_IO_wpadn): Likewise.
16499 * stdio-common/tst-put-error.c: Add copyright notice.
16500 (do_test): Add case for printing padded string.
16501 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16502 _IO_padn returned error.
16503 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16504 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16505 return EOF.
16506
b1848fde
SP
165072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16508
16509 * libio/libioP.h: Add comment note that the references to C++
16510 bits are now obsolete.
16511
2fd89785
MS
165122012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16513
16514 * math/libm-test.inc (check_complex): Use asprintf.
16515
e3ea5409
JM
165162012-11-14 Joseph Myers <joseph@codesourcery.com>
16517
16518 * debug/pcprofiledump.c (print_version): Update copyright year.
16519 * malloc/memusagestat.c (print_version): Likewise.
16520
2e64d265
L
165212012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16522
16523 [BZ #14831]
16524 * elf/Makefile (tests): Add tst-audit8.
16525 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16526 ($(objpfx)tst-audit8.out): New target.
16527 (tst-audit8-ENV): New variable.
16528 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16529 audit if l_reloc_result is NULL.
16530 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16531 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16532 * elf/tst-audit8.c: New file.
16533
c485e4d2
MS
165342012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16535
16536 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16537 * misc/Makefile (CFLAGS-select.c): Define.
16538 * posix/Makefile (CFLAGS-pause.c): Define.
16539
3a0d900a
DM
165402012-11-13 David S. Miller <davem@davemloft.net>
16541
16542 * crypt/Makefile: Move test targets after toplevel Rules
16543 inclusion. Grab any necessary sysdep routines when linking.
16544 * crypt/md5.c (md5_process_block): Remove define, we will always
16545 name it __md5_process_block.
16546 (md5_finish_ctx): Update md5_process_block call.
16547 (md5_stream): Likewise.
16548 (md5_process_bytes): Likewise.
16549 (md5_process_block): Rename to __md5_process_block and move to ...
16550 * crypt/md5-block.c: ... here.
16551 * crypt/sha256.c (sha256_process_block): Move to ...
16552 * crypt/sha256-block.c: ... here.
16553 * crypt/sha512.c (sha512_process_block): Move to ...
16554 * crypt/sha512-block.c: ... here.
16555 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16556 path.
16557 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16558 * sysdeps/sparc/sparc64/multiarch/Makefile
16559 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16560 crypt subdir.
16561 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16562 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16563 multiarch changes.
16564 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16565 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16566 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16567 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16568 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16569 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16570 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16571 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16572 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16573 file.
16574 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16575 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16576 file.
16577 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16578
8ca89318
JM
165792012-11-13 Joseph Myers <joseph@codesourcery.com>
16580
e27d476a
JM
16581 * timezone/tzselect.ksh: Update from tzcode git revision
16582 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16583 * timezone/zdump.c: Likewise.
16584 * timezone/zic.c: Likewise.
16585 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16586 in TZVERSION setting, not $(PKGVERSION).
16587 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16588 REPORT_BUGS_TO settings.
16589
8ca89318
JM
16590 [BZ #14838]
16591 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16592 macro.
16593
47594329
MS
165942012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16595
16596 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16597 detection to immediately after _FP_ROUND().
16598 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16599 bits are 0.
16600
640ac3f1
DM
166012012-11-11 David S. Miller <davem@davemloft.net>
16602
16603 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16604 inttypes.h
16605 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16606 __close rather than their public counterparts.
16607
3d2577bb
JM
166082012-11-10 Joseph Myers <joseph@codesourcery.com>
16609
16610 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16611 file.
16612 [UNIX98] (sem_timedwait): Do not expect.
16613 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16614 [XPG4 || UNIX98] (sockatmark): Do not expect.
16615 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16616 (clock_getcpuclockid): Do not expect.
16617 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16618 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16619 Do not expect.
16620 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16621 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16622 [UNIX98] (vwscanf): Likewise.
16623 [UNIX98] (vswscanf): Likewise.
16624
fb1ae1ee
JM
166252012-11-09 Joseph Myers <joseph@codesourcery.com>
16626
9ec6f8bd
JM
16627 * timezone/version.h: Remove file.
16628 * timezone/README: Do not refer to version.h.
16629 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16630 $(objpfx)version.h.
16631 ($(objpfx)zdump.o): Likewise.
c3f81911 16632 ($(objpfx)version.h): New target.
9ec6f8bd 16633
0aa8f8a1
JM
16634 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16635 2012i.
16636 * timezone/README: Don't mention modification to tzselect.ksh.
16637 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16638 work on unmodified tzselect.ksh. Substitute version numbers in
16639 tzselect.ksh.
16640
4e87147f
JM
16641 * Makefile (format-me): Remove.
16642 (INSTALL): Adjust indentation. Use commands directly instead of
16643 using $(format-me).
16644
8b748aed
JM
16645 * aclocal.m4 (ACX_PKGVERSION): New macro.
16646 (ACX_BUGURL): Likewise.
16647 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16648 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16649 (REPORT_BUGS_TO): Likewise.
16650 * configure: Regenerated.
16651 * config.h.in (PKGVERSION): New macro.
16652 (REPORT_BUGS_TO): Likewise.
16653 * config.make.in (PKGVERSION): New variable.
16654 (PKGVERSION_TEXI): Likewise.
16655 (REPORT_BUGS_TO): Likewise.
16656 (REPORT_BUGS_TEXI): Likewise.
16657 * Makefile (format-me): Use -I$(common-objpfx)manual.
16658 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16659 ($(common-objpfx)manual/%): New target.
16660 (manual/%): Remove target.
16661 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16662 (print_version): Use PKGVERSION.
16663 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16664 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16665 and REPORT_BUGS_TO.
16666 ($(objpfx)xtrace): Likewise.
16667 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16668 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16669 (print_version): Use PKGVERSION.
16670 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16671 (do_version): Use PKGVERSION.
16672 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16673 REPORT_BUGS_TO.
16674 (common-ldd-rewrite): Likewise.
16675 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16676 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16677 (print_version): Use PKGVERSION.
16678 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16679 * elf/pldd.c (argp_program_bug_address): Remove variable.
16680 (more_help): New function.
16681 (argp): Use more_help.
16682 (print_version): Use PKGVERSION.
16683 * elf/sln.c (main): Use PKGVERSION.
16684 (usage): Use REPORT_BUGS_TO.
16685 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16686 (top level): Use PKGVERSION.
16687 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16688 (print_version): Use PKGVERSION.
16689 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16690 (print_version): Use PKGVERSION.
16691 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16692 (print_version): Use PKGVERSION.
16693 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16694 (print_version): Use PKGVERSION.
16695 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16696 (print_version): Use PKGVERSION.
16697 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16698 (print_version): Use PKGVERSION.
16699 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16700 and BUGURL.
16701 ($(objpfx)memusage): Likewise.
16702 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16703 (do_version): Use PKGVERSION.
16704 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16705 (print_version): Use PKGVERSION.
16706 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16707 ($PKGVERSION): New variable.
16708 ($REPORT_BUGS_TO): Likewise.
16709 (usage): Use $REPORT_BUGS_TO.
16710 (top level): Use $PKGVERSION.
16711 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16712 ($(objpfx)pkgvers.texi): New rule.
16713 ($(objpfx)stamp-pkgvers): Likewise.
16714 * manual/install.texi: Include pkgvers.texi.
16715 (--with-pkgversion): Document new configure option.
16716 (--with-bugurl): Likewise.
16717 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16718 than necessarily for this particular distribution. Use
16719 REPORT_BUGS_TO for where to report bugs.
16720 * INSTALL: Regenerated.
16721 * manual/libc.texinfo: Include pkgvers.texi.
16722 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16723 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16724 (print_version): Use PKGVERSION.
16725 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16726 (print_version): Use PKGVERSION.
16727 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16728 (print_version): Use PKGVERSION.
16729 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16730 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16731 macro.
16732 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16733 (print_version): Use PKGVERSION.
16734 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16735 (print_version): Use PKGVERSION.
16736 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16737 and PKGVERSION.
16738
92e4b6a9
JM
16739 * timezone/checktab.awk: Update from tzcode 2012i.
16740 * timezone/ialloc.c: Likewise.
16741 * timezone/private.h: Likewise.
16742 * timezone/scheck.c: Likewise.
16743 * timezone/tzfile.h: Likewise.
16744 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16745 (TZVERSION): Hardcode tzcode version number.
16746 * timezone/zdump.c: Update from tzcode 2012i.
16747 * timezone/zic.c: Likewise.
16748 * timezone/version.h: New file.
16749 * timezone/README: Describe version.h. Update upstream location.
16750
9bde902c
JM
16751 [BZ #14824]
16752 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16753 (mktemp): Enable declaration.
16754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16755 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16757 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16758 Likewise.
16759 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16760 Likewise.
16761 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16762 Likewise.
16763 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16764 Likewise.
16765 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16766 Likewise.
16767 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16768 Likewise.
16769
fb1ae1ee
JM
16770 [BZ #14821]
16771 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16772 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16773 for copies of such integer values.
16774 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16775 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16776
2c1adbcb
AJ
167772012-11-09 Andreas Jaeger <aj@suse.de>
16778
16779 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16780 definitions and declarations that are provided by
16781 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16782
d0f8457e
AK
167832012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16784
3a235abb 16785 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16786 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16787 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16788 definition.
16789
57241e26
MS
167902012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16791
16792 * elf/elf.h: Update comment before AArch64 relocations.
16793
60e8270d
DM
167942012-11-07 David S. Miller <davem@davemloft.net>
16795
16796 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16797 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16798 (__start_context): Declare.
16799 (__makecontext_ret): Delete.
16800 (__makecontext): Hook up __start_context instead of
16801 __makecontext_ret.
16802 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16803 (sysdep_routines): Add __start_context when in stdlib.
16804
0fbb0fbc
JM
168052012-11-07 Joseph Myers <joseph@codesourcery.com>
16806
16807 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16808 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16809 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16810 hardcoded "nm".
16811 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16812 (READELF): New variable. Use it instead of hardcoded "readelf".
16813
eb48db7e
L
168142012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16815
16816 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16817 * sysdeps/x86/Makefile: Here.
16818 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16819 * sysdeps/x86/tst-xmmymm.sh: This.
16820
05bcf62a
JM
168212012-11-07 Joseph Myers <joseph@codesourcery.com>
16822
c4b6cf53
JM
16823 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16824 expectations.
16825 [UNIX98] (pthread_barrier_t): Do not expect.
16826 [UNIX98] (pthread_barrierattr_t): Likewise.
16827 [UNIX98] (pthread_spinlock_t): Likewise.
16828 [UNIX98] (pthread_barrier_destroy): Likewise.
16829 [UNIX98] (pthread_barrier_init): Likewise.
16830 [UNIX98] (pthread_barrier_wait): Likewise.
16831 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16832 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16833 [UNIX98] (pthread_barrierattr_init): Likewise.
16834 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16835 [UNIX98] (pthread_getcpuclockid): Likewise.
16836 [UNIX98] (pthread_mutex_timedlock): Likewise.
16837 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16838 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16839 [UNIX98] (pthread_sigmask): Likewise.
16840 [UNIX98] (pthread_spin_destroy): Likewise.
16841 [UNIX98] (pthread_spin_init): Likewise.
16842 [UNIX98] (pthread_spin_lock): Likewise.
16843 [UNIX98] (pthread_spin_trylock): Likewise.
16844 [UNIX98] (pthread_spin_unlock): Likewise.
16845 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16846 Do not expect.
16847 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16848 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16849 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16850 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16851 [XPG3 || XPG4] (pthread_key_t): Likewise.
16852 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16853 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16854 [XPG3 || XPG4] (pthread_once_t): Likewise.
16855 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16856 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16857 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16858 [XPG3 || XPG4] (pthread_t): Likewise.
16859
cbe6e120
JM
16860 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16861 not expect.
16862 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16863
1b126443
JM
16864 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16865 Change function return type to int.
16866
b961a573
JM
16867 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16868 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16869 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16870 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16871 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16872 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16873 [!POSIX] (posix_madvise): Likewise.
16874 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16875 && !UNIX98].
16876 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16877 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16878 (mode_t): Likewise.
16879 (posix_mem_offset): Likewise.
16880 (posix_typed_mem_get_info): Likewise.
16881 (posix_typed_mem_open): Likewise.
16882
9e188909
JM
16883 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16884 Change condition to [XOPEN2K8].
16885
05bcf62a
JM
16886 * conform/conformtest.pl: Preprocess allow-header data with -x c
16887 instead of from stdin.
16888 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16889 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16890 [C99-based standards] (cerfc): Likewise.
16891 [C99-based standards] (cexp2): Likewise.
16892 [C99-based standards] (cexpm1): Likewise.
16893 [C99-based standards] (clog10): Likewise.
16894 [C99-based standards] (clog1p): Likewise.
16895 [C99-based standards] (clog2): Likewise.
16896 [C99-based standards] (clgamma): Likewise.
16897 [C99-based standards] (ctgamma): Likewise.
16898 [C99-based standards] (cerff): Likewise.
16899 [C99-based standards] (cerfcf): Likewise.
16900 [C99-based standards] (cexp2f): Likewise.
16901 [C99-based standards] (cexpm1f): Likewise.
16902 [C99-based standards] (clog10f): Likewise.
16903 [C99-based standards] (clog1pf): Likewise.
16904 [C99-based standards] (clog2f): Likewise.
16905 [C99-based standards] (clgammaf): Likewise.
16906 [C99-based standards] (ctgammaf): Likewise.
16907 [C99-based standards] (cerfl): Likewise.
16908 [C99-based standards] (cerfcl): Likewise.
16909 [C99-based standards] (cexp2l): Likewise.
16910 [C99-based standards] (cexpm1l): Likewise.
16911 [C99-based standards] (clog10l): Likewise.
16912 [C99-based standards] (clog1pl): Likewise.
16913 [C99-based standards] (clog2l): Likewise.
16914 [C99-based standards] (clgammal): Likewise.
16915 [C99-based standards] (ctgammal): Likewise.
16916 * conform/data/inttypes.h-data [C99-based standards]: Include
16917 stdint.h-data. Remove all expectations for stdint.h contents.
16918 [C99-based standards] (PRI*): Do not allow.
16919 [C99-based standards] (SCN*): Likewise.
16920 [C99-based standards] (*_t): Likewise.
16921 [C99-based-standards] (PRId8): Expect macro.
16922 [C99-based-standards] (PRIi8): Likewise.
16923 [C99-based-standards] (PRIo8): Likewise.
16924 [C99-based-standards] (PRIu8): Likewise.
16925 [C99-based-standards] (PRIx8): Likewise.
16926 [C99-based-standards] (PRIX8): Likewise.
16927 [C99-based-standards] (SCNd8): Likewise.
16928 [C99-based-standards] (SCNi8): Likewise.
16929 [C99-based-standards] (SCNo8): Likewise.
16930 [C99-based-standards] (SCNu8): Likewise.
16931 [C99-based-standards] (SCNx8): Likewise.
16932 [C99-based-standards] (PRIdLEAST8): Likewise.
16933 [C99-based-standards] (PRIiLEAST8): Likewise.
16934 [C99-based-standards] (PRIoLEAST8): Likewise.
16935 [C99-based-standards] (PRIuLEAST8): Likewise.
16936 [C99-based-standards] (PRIxLEAST8): Likewise.
16937 [C99-based-standards] (PRIXLEAST8): Likewise.
16938 [C99-based-standards] (SCNdLEAST8): Likewise.
16939 [C99-based-standards] (SCNiLEAST8): Likewise.
16940 [C99-based-standards] (SCNoLEAST8): Likewise.
16941 [C99-based-standards] (SCNuLEAST8): Likewise.
16942 [C99-based-standards] (SCNxLEAST8): Likewise.
16943 [C99-based-standards] (PRIdFAST8): Likewise.
16944 [C99-based-standards] (PRIiFAST8): Likewise.
16945 [C99-based-standards] (PRIoFAST8): Likewise.
16946 [C99-based-standards] (PRIuFAST8): Likewise.
16947 [C99-based-standards] (PRIxFAST8): Likewise.
16948 [C99-based-standards] (PRIXFAST8): Likewise.
16949 [C99-based-standards] (SCNdFAST8): Likewise.
16950 [C99-based-standards] (SCNiFAST8): Likewise.
16951 [C99-based-standards] (SCNoFAST8): Likewise.
16952 [C99-based-standards] (SCNuFAST8): Likewise.
16953 [C99-based-standards] (SCNxFAST8): Likewise.
16954 [C99-based-standards] (PRId16): Likewise.
16955 [C99-based-standards] (PRIi16): Likewise.
16956 [C99-based-standards] (PRIo16): Likewise.
16957 [C99-based-standards] (PRIu16): Likewise.
16958 [C99-based-standards] (PRIx16): Likewise.
16959 [C99-based-standards] (PRIX16): Likewise.
16960 [C99-based-standards] (SCNd16): Likewise.
16961 [C99-based-standards] (SCNi16): Likewise.
16962 [C99-based-standards] (SCNo16): Likewise.
16963 [C99-based-standards] (SCNu16): Likewise.
16964 [C99-based-standards] (SCNx16): Likewise.
16965 [C99-based-standards] (PRIdLEAST16): Likewise.
16966 [C99-based-standards] (PRIiLEAST16): Likewise.
16967 [C99-based-standards] (PRIoLEAST16): Likewise.
16968 [C99-based-standards] (PRIuLEAST16): Likewise.
16969 [C99-based-standards] (PRIxLEAST16): Likewise.
16970 [C99-based-standards] (PRIXLEAST16): Likewise.
16971 [C99-based-standards] (SCNdLEAST16): Likewise.
16972 [C99-based-standards] (SCNiLEAST16): Likewise.
16973 [C99-based-standards] (SCNoLEAST16): Likewise.
16974 [C99-based-standards] (SCNuLEAST16): Likewise.
16975 [C99-based-standards] (SCNxLEAST16): Likewise.
16976 [C99-based-standards] (PRIdFAST16): Likewise.
16977 [C99-based-standards] (PRIiFAST16): Likewise.
16978 [C99-based-standards] (PRIoFAST16): Likewise.
16979 [C99-based-standards] (PRIuFAST16): Likewise.
16980 [C99-based-standards] (PRIxFAST16): Likewise.
16981 [C99-based-standards] (PRIXFAST16): Likewise.
16982 [C99-based-standards] (SCNdFAST16): Likewise.
16983 [C99-based-standards] (SCNiFAST16): Likewise.
16984 [C99-based-standards] (SCNoFAST16): Likewise.
16985 [C99-based-standards] (SCNuFAST16): Likewise.
16986 [C99-based-standards] (SCNxFAST16): Likewise.
16987 [C99-based-standards] (PRId32): Likewise.
16988 [C99-based-standards] (PRIi32): Likewise.
16989 [C99-based-standards] (PRIo32): Likewise.
16990 [C99-based-standards] (PRIu32): Likewise.
16991 [C99-based-standards] (PRIx32): Likewise.
16992 [C99-based-standards] (PRIX32): Likewise.
16993 [C99-based-standards] (SCNd32): Likewise.
16994 [C99-based-standards] (SCNi32): Likewise.
16995 [C99-based-standards] (SCNo32): Likewise.
16996 [C99-based-standards] (SCNu32): Likewise.
16997 [C99-based-standards] (SCNx32): Likewise.
16998 [C99-based-standards] (PRIdLEAST32): Likewise.
16999 [C99-based-standards] (PRIiLEAST32): Likewise.
17000 [C99-based-standards] (PRIoLEAST32): Likewise.
17001 [C99-based-standards] (PRIuLEAST32): Likewise.
17002 [C99-based-standards] (PRIxLEAST32): Likewise.
17003 [C99-based-standards] (PRIXLEAST32): Likewise.
17004 [C99-based-standards] (SCNdLEAST32): Likewise.
17005 [C99-based-standards] (SCNiLEAST32): Likewise.
17006 [C99-based-standards] (SCNoLEAST32): Likewise.
17007 [C99-based-standards] (SCNuLEAST32): Likewise.
17008 [C99-based-standards] (SCNxLEAST32): Likewise.
17009 [C99-based-standards] (PRIdFAST32): Likewise.
17010 [C99-based-standards] (PRIiFAST32): Likewise.
17011 [C99-based-standards] (PRIoFAST32): Likewise.
17012 [C99-based-standards] (PRIuFAST32): Likewise.
17013 [C99-based-standards] (PRIxFAST32): Likewise.
17014 [C99-based-standards] (PRIXFAST32): Likewise.
17015 [C99-based-standards] (SCNdFAST32): Likewise.
17016 [C99-based-standards] (SCNiFAST32): Likewise.
17017 [C99-based-standards] (SCNoFAST32): Likewise.
17018 [C99-based-standards] (SCNuFAST32): Likewise.
17019 [C99-based-standards] (SCNxFAST32): Likewise.
17020 [C99-based-standards] (PRId64): Likewise.
17021 [C99-based-standards] (PRIi64): Likewise.
17022 [C99-based-standards] (PRIo64): Likewise.
17023 [C99-based-standards] (PRIu64): Likewise.
17024 [C99-based-standards] (PRIx64): Likewise.
17025 [C99-based-standards] (PRIX64): Likewise.
17026 [C99-based-standards] (SCNd64): Likewise.
17027 [C99-based-standards] (SCNi64): Likewise.
17028 [C99-based-standards] (SCNo64): Likewise.
17029 [C99-based-standards] (SCNu64): Likewise.
17030 [C99-based-standards] (SCNx64): Likewise.
17031 [C99-based-standards] (PRIdLEAST64): Likewise.
17032 [C99-based-standards] (PRIiLEAST64): Likewise.
17033 [C99-based-standards] (PRIoLEAST64): Likewise.
17034 [C99-based-standards] (PRIuLEAST64): Likewise.
17035 [C99-based-standards] (PRIxLEAST64): Likewise.
17036 [C99-based-standards] (PRIXLEAST64): Likewise.
17037 [C99-based-standards] (SCNdLEAST64): Likewise.
17038 [C99-based-standards] (SCNiLEAST64): Likewise.
17039 [C99-based-standards] (SCNoLEAST64): Likewise.
17040 [C99-based-standards] (SCNuLEAST64): Likewise.
17041 [C99-based-standards] (SCNxLEAST64): Likewise.
17042 [C99-based-standards] (PRIdFAST64): Likewise.
17043 [C99-based-standards] (PRIiFAST64): Likewise.
17044 [C99-based-standards] (PRIoFAST64): Likewise.
17045 [C99-based-standards] (PRIuFAST64): Likewise.
17046 [C99-based-standards] (PRIxFAST64): Likewise.
17047 [C99-based-standards] (PRIXFAST64): Likewise.
17048 [C99-based-standards] (SCNdFAST64): Likewise.
17049 [C99-based-standards] (SCNiFAST64): Likewise.
17050 [C99-based-standards] (SCNoFAST64): Likewise.
17051 [C99-based-standards] (SCNuFAST64): Likewise.
17052 [C99-based-standards] (SCNxFAST64): Likewise.
17053 [C99-based-standards] (PRIdMAX): Likewise.
17054 [C99-based-standards] (PRIiMAX): Likewise.
17055 [C99-based-standards] (PRIoMAX): Likewise.
17056 [C99-based-standards] (PRIuMAX): Likewise.
17057 [C99-based-standards] (PRIxMAX): Likewise.
17058 [C99-based-standards] (PRIXMAX): Likewise.
17059 [C99-based-standards] (SCNdMAX): Likewise.
17060 [C99-based-standards] (SCNiMAX): Likewise.
17061 [C99-based-standards] (SCNoMAX): Likewise.
17062 [C99-based-standards] (SCNuMAX): Likewise.
17063 [C99-based-standards] (SCNxMAX): Likewise.
17064 [C99-based-standards] (PRIdPTR): Likewise.
17065 [C99-based-standards] (PRIiPTR): Likewise.
17066 [C99-based-standards] (PRIoPTR): Likewise.
17067 [C99-based-standards] (PRIuPTR): Likewise.
17068 [C99-based-standards] (PRIxPTR): Likewise.
17069 [C99-based-standards] (PRIXPTR): Likewise.
17070 [C99-based-standards] (SCNdPTR): Likewise.
17071 [C99-based-standards] (SCNiPTR): Likewise.
17072 [C99-based-standards] (SCNoPTR): Likewise.
17073 [C99-based-standards] (SCNuPTR): Likewise.
17074 [C99-based-standards] (SCNxPTR): Likewise.
17075 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17076 allow.
17077 * conform/data/stdint.h-data: Update comments to clarify
17078 requirements.
17079 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17080 type.
17081 [C99-based standards] (INT8_MAX): Likewise.
17082 [C99-based standards] (INT16_MIN): Likewise.
17083 [C99-based standards] (INT16_MAX): Likewise.
17084 [C99-based standards] (INT32_MIN): Likewise.
17085 [C99-based standards] (INT32_MAX): Likewise.
17086 [C99-based standards] (INT64_MIN): Likewise.
17087 [C99-based standards] (INT64_MAX): Likewise.
17088 [C99-based standards] (UINT8_MAX): Likewise.
17089 [C99-based standards] (UINT16_MAX): Likewise.
17090 [C99-based standards] (UINT32_MAX): Likewise.
17091 [C99-based standards] (UINT64_MAX): Likewise.
17092 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17093 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17094 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17095 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17096 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17097 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17098 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17099 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17100 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17101 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17102 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17103 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17104 [C99-based standards] (INT_FAST8_MIN): Likewise.
17105 [C99-based standards] (INT_FAST8_MAX): Likewise.
17106 [C99-based standards] (INT_FAST16_MIN): Likewise.
17107 [C99-based standards] (INT_FAST16_MAX): Likewise.
17108 [C99-based standards] (INT_FAST32_MIN): Likewise.
17109 [C99-based standards] (INT_FAST32_MAX): Likewise.
17110 [C99-based standards] (INT_FAST64_MIN): Likewise.
17111 [C99-based standards] (INT_FAST64_MAX): Likewise.
17112 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17113 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17114 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17115 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17116 [C99-based standards] (INTPTR_MIN): Likewise.
17117 [C99-based standards] (INTPTR_MAX): Likewise.
17118 [C99-based standards] (UINTPTR_MAX): Likewise.
17119 [C99-based standards] (INTMAX_MIN): Likewise.
17120 [C99-based standards] (INTMAX_MAX): Likewise.
17121 [C99-based standards] (UINTMAX_MAX): Likewise.
17122 [C99-based standards] (PTRDIFF_MIN): Likewise.
17123 [C99-based standards] (PTRDIFF_MAX): Likewise.
17124 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17125 [C99-based standards] (SIZE_MAX): Likewise.
17126 [C99-based standards] (WCHAR_MAX): Likewise.
17127 [C99-based standards] (WINT_MAX): Likewise.
17128 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17129 constraint on value.
17130 [C99-based standards] (WCHAR_MIN): Likewise.
17131 [C99-based standards] (WINT_MIN): Likewise.
17132 [C99-based standards] (*_t): Allow.
17133 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17134 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17135 Include math.h-data and complex.h-data. Remove all expectations
17136 of math.h and complex.h contents.
17137 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17138 at end of line.
17139 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17140 (struct tm): Expect tag.
17141 [C99-based-standards] (wcstof): Expect function.
17142 [C99-based-standards] (wcstold): Likewise.
17143 [C99-based-standards] (wcstoll): Likewise.
17144 [C99-based-standards] (wcstoull): Likewise.
17145 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17146 macro-int-constant. Specify type.
17147 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17148 constraint on value.
17149 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17150 Specify type.
17151 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17152 Specify value.
17153 [ISO C standards]: Do not allow headers.
17154 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17155 wcs[abcdefghijklmnopqrstuvwxyz]*.
17156 [ISO C standards] (*_t): Do not allow.
17157 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17158 Expect function.
17159 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17160 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17161 Specify type.
17162 [ISO C standards]: Do not allow headers.
17163 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17164 is[abcdefghijklmnopqrstuvwxyz]*.
17165 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17166 to[abcdefghijklmnopqrstuvwxyz]*.
17167 [ISO C standards] (*_t): Do not allow.
17168 * conform/data/stdalign.h-data: New file.
17169 * conform/data/stdbool.h-data: Likewise.
17170 * conform/data/stdnoreturn.h-data: Likewise.
17171
7514feb8
RM
171722012-11-07 Roland McGrath <roland@hack.frob.com>
17173
17174 [BZ #14815]
17175 * manual/filesys.texi (Directory Entries): Typo fix.
17176 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17177
19b2ecfc
MS
171782012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17179
17180 * elf/elf.h (EM_AARCH64): New macro.
17181 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17182 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17183 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17184 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17185 (R_AARCH64_TLSDESC): Likewise.
17186 (NT_ARM_TLS): Likewise.
17187 (NT_ARM_HW_BREAK): Likewise.
17188 (NT_ARM_HW_WATCH): Likewise.
17189
60e235ee
JM
171902012-11-07 Joseph Myers <joseph@codesourcery.com>
17191
17192 [BZ #14811]
17193 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17194 (__ieee754_powl): Saturate nonzero exponents with absolute value
17195 below 0x1p-79 to +/- 0x1p-79.
17196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17197 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17198 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17199 nonzero exponents with absolute value below 0x1p-32 to +/-
17200 0x1p-32.
17201 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17202 (__ieee754_powl): Saturate nonzero exponents with absolute value
17203 below 0x1p-79 to +/- 0x1p-79.
17204 * math/libm-test.inc (pow_test): Add more tests.
17205
0ab234b7
AK
172062012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17207
17208 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17209 _dl_s390_cap_flags with kernel. Increase string length.
17210 (_dl_s390_platforms): Add z196 and zEC12.
17211
45832f74
JM
172122012-11-07 Joseph Myers <joseph@codesourcery.com>
17213
17214 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17215 Change XOPEN21K to XOPEN2K.
17216
19218757
MK
172172012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17218
17219 * string/memmove.c: Use memcpy when possible.
17220
c5f45721
AJ
172212012-11-06 Andreas Jaeger <aj@suse.de>
17222
17223 * po/eo.po: Update from translation team.
17224
82477c28
JM
172252012-11-06 Joseph Myers <joseph@codesourcery.com>
17226
17227 [BZ #14793]
17228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17229 exponent and small x and y exponents, scale x or y up. Increase
17230 by 2 the exponent used in scaling up.
17231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17233 * math/libm-test.inc (fma_test): Add more tests.
17234 (fma_test_towardzero): Likewise.
17235 (fma_test_downward): Likewise.
17236 (fma_test_upward): Likewise.
17237
99252c8c
JM
172382012-11-05 Joseph Myers <joseph@codesourcery.com>
17239
acfa885f
JM
17240 [BZ #14805]
17241 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17242 fenv_t *.
17243
99252c8c
JM
17244 [BZ #14801]
17245 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17246 namespace for names of struct fields.
17247 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17248 fenv_t fields.
17249 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17250 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17251
d6d98dea
ST
172522012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17253
17254 [BZ #3665]
17255 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17256
e10bb107
TS
172572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17258
17259 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17260 PTR_DEMANGLE.
17261
17262 [BZ #5246]
17263 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17264 PTR_DEMANGLE.
17265
a0c2940d
JM
172662012-11-04 Joseph Myers <joseph@codesourcery.com>
17267
17268 [BZ #14797]
17269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17270 definitely overflow as x * y not x * y + z.
17271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17273 * math/libm-test.inc (fma_test): Add more tests.
17274 (fma_test_towardzero): Likewise.
17275 (fma_test_downward): Likewise.
17276 (fma_test_upward): Likewise.
17277
b830319d
TS
172782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17279
17280 [BZ #157]
17281
17282 * include/stub-tag.h: Remove file.
17283 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17284 '#include' of it.
17285 * manual/maint.texi (Porting): Don't reference it.
17286 * Makerules ($(objpfx)stubs): Likewise.
17287 * dirent/closedir.c: Don't include <stub-tag.h>.
17288 * dirent/dirfd.c: Likewise.
17289 * dirent/fdopendir.c: Likewise.
17290 * dirent/getdents.c: Likewise.
17291 * dirent/getdents64.c: Likewise.
17292 * dirent/opendir.c: Likewise.
17293 * dirent/readdir.c: Likewise.
17294 * dirent/readdir64.c: Likewise.
17295 * dirent/readdir64_r.c: Likewise.
17296 * dirent/readdir_r.c: Likewise.
17297 * dirent/rewinddir.c: Likewise.
17298 * dirent/seekdir.c: Likewise.
17299 * dirent/telldir.c: Likewise.
17300 * gmon/profil.c: Likewise.
17301 * grp/setgroups.c: Likewise.
17302 * inet/if_index.c: Likewise.
17303 * io/access.c: Likewise.
17304 * io/chdir.c: Likewise.
17305 * io/chmod.c: Likewise.
17306 * io/chown.c: Likewise.
17307 * io/close.c: Likewise.
17308 * io/dup.c: Likewise.
17309 * io/dup2.c: Likewise.
17310 * io/dup3.c: Likewise.
17311 * io/euidaccess.c: Likewise.
17312 * io/faccessat.c: Likewise.
17313 * io/fchdir.c: Likewise.
17314 * io/fchmod.c: Likewise.
17315 * io/fchmodat.c: Likewise.
17316 * io/fchown.c: Likewise.
17317 * io/fchownat.c: Likewise.
17318 * io/fcntl.c: Likewise.
17319 * io/flock.c: Likewise.
17320 * io/fstatfs.c: Likewise.
17321 * io/fstatfs64.c: Likewise.
17322 * io/fstatvfs.c: Likewise.
17323 * io/fstatvfs64.c: Likewise.
17324 * io/futimens.c: Likewise.
17325 * io/fxstat.c: Likewise.
17326 * io/fxstat64.c: Likewise.
17327 * io/fxstatat.c: Likewise.
17328 * io/fxstatat64.c: Likewise.
17329 * io/getcwd.c: Likewise.
17330 * io/isatty.c: Likewise.
17331 * io/lchmod.c: Likewise.
17332 * io/lchown.c: Likewise.
17333 * io/link.c: Likewise.
17334 * io/linkat.c: Likewise.
17335 * io/lseek.c: Likewise.
17336 * io/lseek64.c: Likewise.
17337 * io/lxstat64.c: Likewise.
17338 * io/mkdir.c: Likewise.
17339 * io/mkdirat.c: Likewise.
17340 * io/mkfifo.c: Likewise.
17341 * io/mkfifoat.c: Likewise.
17342 * io/open.c: Likewise.
17343 * io/open64.c: Likewise.
17344 * io/openat.c: Likewise.
17345 * io/openat64.c: Likewise.
17346 * io/pipe.c: Likewise.
17347 * io/pipe2.c: Likewise.
17348 * io/poll.c: Likewise.
17349 * io/posix_fadvise.c: Likewise.
17350 * io/posix_fadvise64.c: Likewise.
17351 * io/posix_fallocate.c: Likewise.
17352 * io/posix_fallocate64.c: Likewise.
17353 * io/read.c: Likewise.
17354 * io/readlink.c: Likewise.
17355 * io/readlinkat.c: Likewise.
17356 * io/rmdir.c: Likewise.
17357 * io/sendfile.c: Likewise.
17358 * io/sendfile64.c: Likewise.
17359 * io/statfs.c: Likewise.
17360 * io/statfs64.c: Likewise.
17361 * io/statvfs.c: Likewise.
17362 * io/statvfs64.c: Likewise.
17363 * io/symlink.c: Likewise.
17364 * io/symlinkat.c: Likewise.
17365 * io/ttyname.c: Likewise.
17366 * io/ttyname_r.c: Likewise.
17367 * io/umask.c: Likewise.
17368 * io/unlink.c: Likewise.
17369 * io/unlinkat.c: Likewise.
17370 * io/utime.c: Likewise.
17371 * io/utimensat.c: Likewise.
17372 * io/write.c: Likewise.
17373 * io/xmknod.c: Likewise.
17374 * io/xmknodat.c: Likewise.
17375 * io/xstat.c: Likewise.
17376 * io/xstat64.c: Likewise.
17377 * login/getpt.c: Likewise.
17378 * login/grantpt.c: Likewise.
17379 * login/unlockpt.c: Likewise.
17380 * math/e_acoshl.c: Likewise.
17381 * math/e_acosl.c: Likewise.
17382 * math/e_asinl.c: Likewise.
17383 * math/e_atan2l.c: Likewise.
17384 * math/e_atanhl.c: Likewise.
17385 * math/e_coshl.c: Likewise.
17386 * math/e_expl.c: Likewise.
17387 * math/e_fmodl.c: Likewise.
17388 * math/e_gammal_r.c: Likewise.
17389 * math/e_hypotl.c: Likewise.
17390 * math/e_j0l.c: Likewise.
17391 * math/e_j1l.c: Likewise.
17392 * math/e_jnl.c: Likewise.
17393 * math/e_lgammal_r.c: Likewise.
17394 * math/e_log10l.c: Likewise.
17395 * math/e_log2l.c: Likewise.
17396 * math/e_logl.c: Likewise.
17397 * math/e_powl.c: Likewise.
17398 * math/e_rem_pio2l.c: Likewise.
17399 * math/e_sinhl.c: Likewise.
17400 * math/e_sqrtl.c: Likewise.
17401 * math/fclrexcpt.c: Likewise.
17402 * math/fedisblxcpt.c: Likewise.
17403 * math/feenablxcpt.c: Likewise.
17404 * math/fegetenv.c: Likewise.
17405 * math/fegetexcept.c: Likewise.
17406 * math/fegetround.c: Likewise.
17407 * math/feholdexcpt.c: Likewise.
17408 * math/fesetenv.c: Likewise.
17409 * math/fesetround.c: Likewise.
17410 * math/feupdateenv.c: Likewise.
17411 * math/fgetexcptflg.c: Likewise.
17412 * math/fraiseexcpt.c: Likewise.
17413 * math/fsetexcptflg.c: Likewise.
17414 * math/ftestexcept.c: Likewise.
17415 * math/k_cosl.c: Likewise.
17416 * math/k_rem_pio2l.c: Likewise.
17417 * math/k_sinl.c: Likewise.
17418 * math/k_tanl.c: Likewise.
17419 * math/s_asinhl.c: Likewise.
17420 * math/s_atanl.c: Likewise.
17421 * math/s_cbrtl.c: Likewise.
17422 * math/s_erfl.c: Likewise.
17423 * math/s_expm1l.c: Likewise.
17424 * math/s_log1pl.c: Likewise.
17425 * math/s_tanhl.c: Likewise.
17426 * misc/acct.c: Likewise.
17427 * misc/brk.c: Likewise.
17428 * misc/chflags.c: Likewise.
17429 * misc/chroot.c: Likewise.
17430 * misc/fchflags.c: Likewise.
17431 * misc/fgetxattr.c: Likewise.
17432 * misc/flistxattr.c: Likewise.
17433 * misc/fremovexattr.c: Likewise.
17434 * misc/fsetxattr.c: Likewise.
17435 * misc/fsync.c: Likewise.
17436 * misc/ftruncate.c: Likewise.
17437 * misc/futimes.c: Likewise.
17438 * misc/futimesat.c: Likewise.
17439 * misc/getdomain.c: Likewise.
17440 * misc/getdtsz.c: Likewise.
17441 * misc/gethostid.c: Likewise.
17442 * misc/gethostname.c: Likewise.
17443 * misc/getloadavg.c: Likewise.
17444 * misc/getpagesize.c: Likewise.
17445 * misc/getsysstats.c: Likewise.
17446 * misc/getxattr.c: Likewise.
17447 * misc/gtty.c: Likewise.
17448 * misc/ioctl.c: Likewise.
17449 * misc/lgetxattr.c: Likewise.
17450 * misc/listxattr.c: Likewise.
17451 * misc/llistxattr.c: Likewise.
17452 * misc/lremovexattr.c: Likewise.
17453 * misc/lsetxattr.c: Likewise.
17454 * misc/lutimes.c: Likewise.
17455 * misc/madvise.c: Likewise.
17456 * misc/mincore.c: Likewise.
17457 * misc/mlock.c: Likewise.
17458 * misc/mlockall.c: Likewise.
17459 * misc/mmap.c: Likewise.
17460 * misc/mprotect.c: Likewise.
17461 * misc/msync.c: Likewise.
17462 * misc/munlock.c: Likewise.
17463 * misc/munlockall.c: Likewise.
17464 * misc/munmap.c: Likewise.
17465 * misc/preadv.c: Likewise.
17466 * misc/preadv64.c: Likewise.
17467 * misc/ptrace.c: Likewise.
17468 * misc/pwritev.c: Likewise.
17469 * misc/pwritev64.c: Likewise.
17470 * misc/readv.c: Likewise.
17471 * misc/reboot.c: Likewise.
17472 * misc/remap_file_pages.c: Likewise.
17473 * misc/removexattr.c: Likewise.
17474 * misc/revoke.c: Likewise.
17475 * misc/select.c: Likewise.
17476 * misc/setdomain.c: Likewise.
17477 * misc/setegid.c: Likewise.
17478 * misc/seteuid.c: Likewise.
17479 * misc/sethostid.c: Likewise.
17480 * misc/sethostname.c: Likewise.
17481 * misc/setregid.c: Likewise.
17482 * misc/setreuid.c: Likewise.
17483 * misc/setxattr.c: Likewise.
17484 * misc/sstk.c: Likewise.
17485 * misc/stty.c: Likewise.
17486 * misc/swapoff.c: Likewise.
17487 * misc/swapon.c: Likewise.
17488 * misc/sync.c: Likewise.
17489 * misc/syncfs.c: Likewise.
17490 * misc/syscall.c: Likewise.
17491 * misc/truncate.c: Likewise.
17492 * misc/ualarm.c: Likewise.
17493 * misc/usleep.c: Likewise.
17494 * misc/ustat.c: Likewise.
17495 * misc/utimes.c: Likewise.
17496 * misc/vhangup.c: Likewise.
17497 * misc/writev.c: Likewise.
17498 * posix/_exit.c: Likewise.
17499 * posix/alarm.c: Likewise.
17500 * posix/execve.c: Likewise.
17501 * posix/fexecve.c: Likewise.
17502 * posix/fork.c: Likewise.
17503 * posix/fpathconf.c: Likewise.
17504 * posix/getaddrinfo.c: Likewise.
17505 * posix/getegid.c: Likewise.
17506 * posix/geteuid.c: Likewise.
17507 * posix/getgid.c: Likewise.
17508 * posix/getgroups.c: Likewise.
17509 * posix/getlogin.c: Likewise.
17510 * posix/getlogin_r.c: Likewise.
17511 * posix/getpgid.c: Likewise.
17512 * posix/getpid.c: Likewise.
17513 * posix/getppid.c: Likewise.
17514 * posix/getresgid.c: Likewise.
17515 * posix/getresuid.c: Likewise.
17516 * posix/getsid.c: Likewise.
17517 * posix/getuid.c: Likewise.
17518 * posix/glob64.c: Likewise.
17519 * posix/nanosleep.c: Likewise.
17520 * posix/pathconf.c: Likewise.
17521 * posix/pause.c: Likewise.
17522 * posix/posix_madvise.c: Likewise.
17523 * posix/pread.c: Likewise.
17524 * posix/pread64.c: Likewise.
17525 * posix/pwrite.c: Likewise.
17526 * posix/pwrite64.c: Likewise.
17527 * posix/sched_getaffinity.c: Likewise.
17528 * posix/sched_getp.c: Likewise.
17529 * posix/sched_gets.c: Likewise.
17530 * posix/sched_primax.c: Likewise.
17531 * posix/sched_primin.c: Likewise.
17532 * posix/sched_rr_gi.c: Likewise.
17533 * posix/sched_setaffinity.c: Likewise.
17534 * posix/sched_setp.c: Likewise.
17535 * posix/sched_sets.c: Likewise.
17536 * posix/sched_yield.c: Likewise.
17537 * posix/setgid.c: Likewise.
17538 * posix/setlogin.c: Likewise.
17539 * posix/setpgid.c: Likewise.
17540 * posix/setresgid.c: Likewise.
17541 * posix/setresuid.c: Likewise.
17542 * posix/setsid.c: Likewise.
17543 * posix/setuid.c: Likewise.
17544 * posix/sleep.c: Likewise.
17545 * posix/spawni.c: Likewise.
17546 * posix/sysconf.c: Likewise.
17547 * posix/times.c: Likewise.
17548 * posix/wait.c: Likewise.
17549 * posix/wait3.c: Likewise.
17550 * posix/wait4.c: Likewise.
17551 * posix/waitpid.c: Likewise.
17552 * resolv/gai_sigqueue.c: Likewise.
17553 * resource/getpriority.c: Likewise.
17554 * resource/getrlimit.c: Likewise.
17555 * resource/getrusage.c: Likewise.
17556 * resource/nice.c: Likewise.
17557 * resource/setpriority.c: Likewise.
17558 * resource/setrlimit.c: Likewise.
17559 * resource/ulimit.c: Likewise.
17560 * rt/aio_cancel.c: Likewise.
17561 * rt/aio_fsync.c: Likewise.
17562 * rt/aio_read.c: Likewise.
17563 * rt/aio_sigqueue.c: Likewise.
17564 * rt/aio_suspend.c: Likewise.
17565 * rt/aio_write.c: Likewise.
17566 * rt/clock_getres.c: Likewise.
17567 * rt/clock_gettime.c: Likewise.
17568 * rt/clock_nanosleep.c: Likewise.
17569 * rt/clock_settime.c: Likewise.
17570 * rt/lio_listio.c: Likewise.
17571 * rt/mq_close.c: Likewise.
17572 * rt/mq_getattr.c: Likewise.
17573 * rt/mq_notify.c: Likewise.
17574 * rt/mq_open.c: Likewise.
17575 * rt/mq_receive.c: Likewise.
17576 * rt/mq_send.c: Likewise.
17577 * rt/mq_setattr.c: Likewise.
17578 * rt/mq_timedreceive.c: Likewise.
17579 * rt/mq_timedsend.c: Likewise.
17580 * rt/mq_unlink.c: Likewise.
17581 * rt/shm_open.c: Likewise.
17582 * rt/shm_unlink.c: Likewise.
17583 * rt/timer_create.c: Likewise.
17584 * rt/timer_delete.c: Likewise.
17585 * rt/timer_getoverr.c: Likewise.
17586 * rt/timer_gettime.c: Likewise.
17587 * rt/timer_settime.c: Likewise.
17588 * setjmp/__longjmp.c: Likewise.
17589 * setjmp/setjmp.c: Likewise.
17590 * signal/kill.c: Likewise.
17591 * signal/killpg.c: Likewise.
17592 * signal/raise.c: Likewise.
17593 * signal/sigaction.c: Likewise.
17594 * signal/sigaltstack.c: Likewise.
17595 * signal/sigblock.c: Likewise.
17596 * signal/sigignore.c: Likewise.
17597 * signal/sigintr.c: Likewise.
17598 * signal/signal.c: Likewise.
17599 * signal/sigpause.c: Likewise.
17600 * signal/sigpending.c: Likewise.
17601 * signal/sigqueue.c: Likewise.
17602 * signal/sigreturn.c: Likewise.
17603 * signal/sigset.c: Likewise.
17604 * signal/sigsetmask.c: Likewise.
17605 * signal/sigstack.c: Likewise.
17606 * signal/sigsuspend.c: Likewise.
17607 * signal/sigtimedwait.c: Likewise.
17608 * signal/sigvec.c: Likewise.
17609 * signal/sigwait.c: Likewise.
17610 * signal/sigwaitinfo.c: Likewise.
17611 * signal/sysv_signal.c: Likewise.
17612 * socket/accept.c: Likewise.
17613 * socket/accept4.c: Likewise.
17614 * socket/bind.c: Likewise.
17615 * socket/connect.c: Likewise.
17616 * socket/getpeername.c: Likewise.
17617 * socket/getsockname.c: Likewise.
17618 * socket/getsockopt.c: Likewise.
17619 * socket/isfdtype.c: Likewise.
17620 * socket/listen.c: Likewise.
17621 * socket/recv.c: Likewise.
17622 * socket/recvfrom.c: Likewise.
17623 * socket/recvmsg.c: Likewise.
17624 * socket/send.c: Likewise.
17625 * socket/sendmsg.c: Likewise.
17626 * socket/sendto.c: Likewise.
17627 * socket/setsockopt.c: Likewise.
17628 * socket/shutdown.c: Likewise.
17629 * socket/sockatmark.c: Likewise.
17630 * socket/socket.c: Likewise.
17631 * socket/socketpair.c: Likewise.
17632 * stdio-common/ctermid.c: Likewise.
17633 * stdio-common/cuserid.c: Likewise.
17634 * stdio-common/remove.c: Likewise.
17635 * stdio-common/rename.c: Likewise.
17636 * stdio-common/renameat.c: Likewise.
17637 * stdio-common/tempname.c: Likewise.
17638 * stdlib/getcontext.c: Likewise.
17639 * stdlib/makecontext.c: Likewise.
17640 * stdlib/setcontext.c: Likewise.
17641 * stdlib/swapcontext.c: Likewise.
17642 * stdlib/system.c: Likewise.
17643 * streams/fattach.c: Likewise.
17644 * streams/fdetach.c: Likewise.
17645 * streams/getmsg.c: Likewise.
17646 * streams/getpmsg.c: Likewise.
17647 * streams/putmsg.c: Likewise.
17648 * streams/putpmsg.c: Likewise.
17649 * sysdeps/unix/bsd/getpt.c: Likewise.
17650 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17651 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17652 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17654 Likewise.
17655 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17656 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17657 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17658 * sysvipc/msgctl.c: Likewise.
17659 * sysvipc/msgget.c: Likewise.
17660 * sysvipc/msgrcv.c: Likewise.
17661 * sysvipc/msgsnd.c: Likewise.
17662 * sysvipc/semctl.c: Likewise.
17663 * sysvipc/semget.c: Likewise.
17664 * sysvipc/semop.c: Likewise.
17665 * sysvipc/semtimedop.c: Likewise.
17666 * sysvipc/shmat.c: Likewise.
17667 * sysvipc/shmctl.c: Likewise.
17668 * sysvipc/shmdt.c: Likewise.
17669 * sysvipc/shmget.c: Likewise.
17670 * termios/tcdrain.c: Likewise.
17671 * termios/tcflow.c: Likewise.
17672 * termios/tcflush.c: Likewise.
17673 * termios/tcgetattr.c: Likewise.
17674 * termios/tcgetpgrp.c: Likewise.
17675 * termios/tcsendbrk.c: Likewise.
17676 * termios/tcsetattr.c: Likewise.
17677 * termios/tcsetpgrp.c: Likewise.
17678 * time/adjtime.c: Likewise.
17679 * time/clock.c: Likewise.
17680 * time/getitimer.c: Likewise.
17681 * time/gettimeofday.c: Likewise.
17682 * time/setitimer.c: Likewise.
17683 * time/settimeofday.c: Likewise.
17684 * time/stime.c: Likewise.
17685 * time/time.c: Likewise.
17686
176872012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17688
a20492cf
PT
17689 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17690 /usr/old/bin.
17691
72e182e3
PT
17692 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17693 instead of spaces.
17694 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17695
fbeafede
JM
176962012-11-03 Joseph Myers <joseph@codesourcery.com>
17697
5b5b04d6
JM
17698 [BZ #14796]
17699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17700 FE_TONEAREST before applying Dekker multiplication and Knuth
17701 addition. Clear inexact exceptions and check for exact zero
17702 results afterwards.
17703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17704 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17705 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17706 * math/libm-test.inc (fma_test): Add more tests.
17707 (fma_test_towardzero): Likewise.
17708 (fma_test_downward): Likewise.
17709 (fma_test_upward): Likewise.
17710 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17711 function.
17712 (libc_fesetround): New macro.
17713 (libc_fesetroundf): Likewise.
17714 (libc_fesetroundl): Likewise.
17715 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17716 function.
17717 (libc_fesetround_387): Likewise.
17718 (libc_fesetroundf): New macro.
17719 (libc_fesetround): Likewise.
17720 (libc_fesetroundl): Likewise.
17721 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17722 function.
17723 (libc_fesetroundf): New macro.
17724 (libc_fesetround): Likewise.
17725 (libc_fesetroundl): Likewise.
17726 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17727 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17728 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17729 libm_hidden_ver.
17730 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17731 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17732 libm_hidden_def.
17733 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17734 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17735 libm_hidden_ver.
17736 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17737 libm_hidden_def.
17738
fbeafede
JM
17739 [BZ #3439]
17740 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17741 integer constant usable in #if and use that to give value to enum
17742 constant.
17743 (FE_DIVBYZERO): Likewise.
17744 (FE_UNDERFLOW): Likewise.
17745 (FE_OVERFLOW): Likewise.
17746 (FE_INVALID): Likewise.
17747 (FE_INVALID_SNAN): Likewise.
17748 (FE_INVALID_ISI): Likewise.
17749 (FE_INVALID_IDI): Likewise.
17750 (FE_INVALID_ZDZ): Likewise.
17751 (FE_INVALID_IMZ): Likewise.
17752 (FE_INVALID_COMPARE): Likewise.
17753 (FE_INVALID_SOFTWARE): Likewise.
17754 (FE_INVALID_SQRT): Likewise.
17755 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17756 (FE_TONEAREST): Likewise.
17757 (FE_TOWARDZERO): Likewise.
17758 (FE_UPWARD): Likewise.
17759 (FE_DOWNWARD): Likewise.
17760 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17761 (FE_DIVBYZERO): Likewise.
17762 (FE_OVERFLOW): Likewise.
17763 (FE_UNDERFLOW): Likewise.
17764 (FE_INEXACT): Likewise.
17765 (FE_TONEAREST): Likewise.
17766 (FE_DOWNWARD): Likewise.
17767 (FE_UPWARD): Likewise.
17768 (FE_TOWARDZERO): Likewise.
17769 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17770 (FE_UNDERFLOW): Likewise.
17771 (FE_OVERFLOW): Likewise.
17772 (FE_DIVBYZERO): Likewise.
17773 (FE_INVALID): Likewise.
17774 (FE_TONEAREST): Likewise.
17775 (FE_TOWARDZERO): Likewise.
17776 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17777 (FE_OVERFLOW): Likewise.
17778 (FE_UNDERFLOW): Likewise.
17779 (FE_DIVBYZERO): Likewise.
17780 (FE_INEXACT): Likewise.
17781 (FE_TONEAREST): Likewise.
17782 (FE_TOWARDZERO): Likewise.
17783 (FE_UPWARD): Likewise.
17784 (FE_DOWNWARD): Likewise.
17785 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17786 (FE_DIVBYZERO): Likewise.
17787 (FE_OVERFLOW): Likewise.
17788 (FE_UNDERFLOW): Likewise.
17789 (FE_INEXACT): Likewise.
17790 (FE_TONEAREST): Likewise.
17791 (FE_DOWNWARD): Likewise.
17792 (FE_UPWARD): Likewise.
17793 (FE_TOWARDZERO): Likewise.
17794
105ca950
CM
177952012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17796
17797 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17798
a542b389
AS
177992012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17800
17801 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17802 commands. Quote $PWD.
17803 (blacklist_exports): Don't use remove_newlines. Replace "declare
17804 -x" by "export".
17805 (remove_newlines): Remove.
17806
f62c8abc
L
178072012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17808
17809 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17810 * stdlib/stdlib.h (atof): Moved to ...
17811 * include/bits/stdlib-float.h: Here. New file.
17812 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17813 * stdlib/bits/stdlib-float.h: New file.
17814 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17815 -mno-sse -mno-mmx.
17816 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17817 <xmmintrin.h>.
17818
0155d5b2
JM
178192012-11-02 Joseph Myers <joseph@codesourcery.com>
17820
a68d0680
JM
17821 * conform/conformtest.pl (@headers): Add fenv.h.
17822 * conform/data/fenv.h-data: New file.
17823 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17824 include of <math/fenv.h>.
17825
caf7f573
JM
17826 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17827 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17828 && !UNIX98]. Enables tests for XOPEN2K8.
17829 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17830 POSIX2008]: Likewise.
17831
6c073ad6
JM
17832 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17833 (struct rusage): Do not expect type or its members.
17834
0155d5b2
JM
17835 [BZ #3439]
17836 * math/math.h (FP_NAN): Define macro to integer constant usable in
17837 #if and use that to give value to enum constant.
17838 (FP_INFINITE): Likewise.
17839 (FP_ZERO): Likewise.
17840 (FP_SUBNORMAL): Likewise.
17841 (FP_NORMAL): Likewise.
17842
b5dcacb4
AS
178432012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17844
17845 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17846 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17847 arguments.
17848
f7934be8
RM
178492012-11-02 Roland McGrath <roland@hack.frob.com>
17850
17851 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17852 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17853 autoconf-time if not.
17854 * configure.in: Remove AC_PREREQ.
17855
d7d08bde
TMQMF
178562012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17857
17858 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17859 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17860 of the internal implementation.
17861
dcdae19a
JM
178622012-11-02 Joseph Myers <joseph@codesourcery.com>
17863
17864 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17865 except include of <misc/sys/syslog.h>.
17866
d6cffd3e
AS
178672012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17868
17869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17870 function returns with a NULL context exit with zero.
17871
b3563932
TMQMF
178722012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17873
17874 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17875
b288a93d
L
178762012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17877
17878 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17879 (run_program_cmd): This.
17880 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17881 (tst_langinfo): New variable. Use it.
17882
a2421a68
SAS
178832012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17884
17885 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17886 floating point opcodes.
17887
6f796e1b
TS
178882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17889
7402596b
TS
17890 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17891 variable.
17892
d0d4f868
TS
17893 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17894
6f796e1b
TS
17895 * sysdeps/mach/hurd/powerpc: Remove directory.
17896 * sysdeps/mach/powerpc: Likewise.
17897
4da224a2
AS
178982012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17899
17900 * scripts/check-local-headers.sh: Ignore c++ headers.
17901
341dd673
TS
179022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17903
17904 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17905 __libc_cleanup_region_start argument.
17906
473611b2
JM
179072012-11-01 Joseph Myers <joseph@codesourcery.com>
17908
17909 [BZ #14784]
17910 [BZ #14785]
17911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17912 x * y using scaling, not as x * y + z.
17913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17914 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17915 * math/libm-test.inc (fma_test): Add more tests.
17916 (fma_test_towardzero): Likewise.
17917 (fma_test_downward): Likewise.
17918 (fma_test_upward): Likewise.
17919
4078da3d
TS
179202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17921
17922 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17923
903252aa
JM
179242012-10-31 Joseph Myers <joseph@codesourcery.com>
17925
17926 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17927 New variable.
17928
cbc818d0
TS
179292012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17930
17931 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17932
5a03cb1e
AS
179332012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17934
17935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17936 Fix sort order.
17937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17938 Likewise.
17939
90aff2ff
TMQMF
179402012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17941
17942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17943 Fix the order of the list for glibc 2.17.
17944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17945 Likewise.
17946
1818fcb7
AS
179472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17948
17949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17950
ef82f4da
JM
179512012-10-31 Joseph Myers <joseph@codesourcery.com>
17952
16a0e2ec
JM
17953 [BZ #14610]
17954 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17955 for low part of x being zero before using __atanl (y).
17956 * math/libm-test.inc (atan2_test): Add another test.
17957
0eb69512
JM
17958 * manual/install.texi (Configuring and compiling): Document
17959 general use of test-wrapper and test-wrapper-env.
17960 * INSTALL: Regenerated.
17961
ef82f4da
JM
17962 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17963 (__fma): Do not extract and scale down low bits on after-rounding
17964 systems when result rounded to normal precision would have normal
17965 exponent.
17966 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17967 (__fmal): Do not extract and scale down low bits on after-rounding
17968 systems when result rounded to normal precision would have normal
17969 exponent.
17970 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17971 (__fmal): Do not extract and scale down low bits on after-rounding
17972 systems when result rounded to normal precision would have normal
17973 exponent.
17974 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17975 macro.
17976 (fma_test): Add more tests.
17977 (fma_test_towardzero): Likewise.
17978 (fma_test_downward): Likewise.
17979 (fma_test_upward): Likewise.
17980
954ef0d9
L
179812012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17982
17983 * sysdeps/i386/tininess.h: Renamed to ...
17984 * sysdeps/x86/tininess.h: This.
17985 * sysdeps/x86_64/tininess.h: Removed.
17986
df61ffb2
JM
179872012-10-30 Joseph Myers <joseph@codesourcery.com>
17988
17989 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17990 input. Use $(build-program-cmd).
17991 ($(objpfx)tst-array1-static.out): Likewise.
17992 ($(objpfx)tst-array2.out): Likewise.
17993 ($(objpfx)tst-array3.out): Likewise.
17994 ($(objpfx)tst-array4.out): Likewise.
17995 ($(objpfx)tst-array5.out): Likewise.
17996 ($(objpfx)tst-array5-static.out): Likewise.
17997
01767843
CM
179982012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17999
47cc1490
CM
18000 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18001 if defined.
18002
01767843
CM
18003 * nss/nsswitch.h (nss_interface_function): Provide new
18004 macro for use with NSS functions.
18005 * grp/initgroups.c: Use new macro.
18006 * nss/getXXbyYY.c: Likewise.
18007 * nss/getXXbyYY_r.c: Likewise.
18008 * nss/getXXent.c: Likewise.
18009 * nss/getXXent_r.c: Likewise.
18010 * sysdeps/posix/getaddrinfo.c: Likewise.
18011
8321aa97
AJ
180122012-10-30 Andreas Jaeger <aj@suse.de>
18013
18014 * po/ru.po: Update Russion translation from translation project.
18015
2a27fd6d
JM
180162012-10-30 Joseph Myers <joseph@codesourcery.com>
18017
8627a232
JM
18018 [BZ #14152]
18019 [BZ #14783]
18020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18021 result and shift together with sticky bit instead of replicating
18022 round-to-nearest rounding.
18023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18024 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18025 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18026 missing underflow exceptions.
18027 (fma_test_towardzero): Add more tests.
18028 (fma_test_downward): Likewise.
18029 (fma_test_upward): Likewise.
18030
2a27fd6d
JM
18031 [BZ #14047]
18032 * sysdeps/generic/tininess.h: New file.
18033 * sysdeps/i386/tininess.h: Likewise.
18034 * sysdeps/sh/tininess.h: Likewise.
18035 * sysdeps/x86_64/tininess.h: Likewise.
18036 * stdlib/tst-strtod-underflow.c: Likewise.
18037 * stdlib/tst-tininess.c: Likewise.
18038 * stdlib/strtod_l.c: Include <tininess.h>.
18039 (round_and_return): Do not set errno for exact underflow cases.
18040 Force an underflow exception when setting errno for underflow.
18041 Determine underflow based on rounding to normal precision if
18042 TININESS_AFTER_ROUNDING.
18043 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18044 ERANGE for exact underflow cases.
18045 * stdlib/Makefile (tests): Add tst-tininess and
18046 tst-strtod-underflow.
18047 ($(objpfx)tst-tininess): Use $(link-libm).
18048 ($(objpfx)tst-strtod-underflow): Likewise.
18049
e7170363
AJ
180502012-10-30 Andreas Jaeger <aj@suse.de>
18051
e5088dc6
AJ
18052 [BZ#14767]
18053 * elf/Makefile (tests): Remove conditional for have-initfini-array
18054 since this is now always required and the variable does not exist
18055 anymore.
18056 (tests-static): Likewise.
18057 (modules-names): Likewise.
18058
e7170363 18059 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
18060
18061 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18062 merged with constructor/destructor.
18063 (init_array): Likewise.
18064 * elf/tst-array2dep.c (fini_array): Likewise.
18065 (init_array): Likewise.
18066
60457d8a
MF
180672012-10-29 Mike Frysinger <vapier@gentoo.org>
18068
18069 * manual/message.texi: Delete @cartouche tags.
18070
8bece752
PT
180712012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18072
94ce799f
PT
18073 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18074 EOPNOTSUPP.
18075 * sysdeps/mach/hurd/fsync.c: Likewise.
18076
8bece752
PT
18077 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18078 [_POSIX_REALTIME_SIGNALS]: Change condition to
18079 [_POSIX_REALTIME_SIGNALS > 0].
18080
86ebe6b1
AJ
180812012-10-27 Andreas Jaeger <aj@suse.de>
18082
18083 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18084 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18085 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18086 [__WORDSIZE != 64]: Likewise.
18087
54399c08
L
180882012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18089
18090 * iconvdata/tst-table.sh: Remove ${SHELL}.
18091 * iconvdata/tst-tables.sh: Likewise.
18092
e2211bed
DM
180932012-10-25 David S. Miller <davem@davemloft.net>
18094
18095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18096 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18097 of strtoull.
18098
f303f97c
DM
18099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18100 ifunc-impl-list.c
18101 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18102 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18103 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18104 file.
18105
1e9d84cd
RM
181062012-10-25 Roland McGrath <roland@hack.frob.com>
18107
18108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18109 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18110 __getdirentries.
18111
df381762
JM
181122012-10-25 Joseph Myers <joseph@codesourcery.com>
18113 Jim Blandy <jimb@codesourcery.com>
18114
18115 * scripts/cross-test-ssh.sh: New file.
18116 * manual/install.texi (Configuring and compiling): Document use of
18117 cross-test-ssh.sh.
18118 * INSTALL: Regenerated.
18119
bff64913
PT
181202012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18121
18122 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18123 EOPNOTSUPP.
18124
25fe8932
JM
181252012-10-25 Joseph Myers <joseph@codesourcery.com>
18126
18127 * Makeconfig (run-program-prefix): Fix comment.
18128
cc1290d0
JM
181292012-10-24 Joseph Myers <joseph@codesourcery.com>
18130 Jim Blandy <jimb@codesourcery.com>
18131
18132 * Makeconfig (test-wrapper): New variable,
18133 (test-wrapper-env): Likewise.
18134 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18135 (run-built-tests): Define to yes.
18136 (run-program-prefix): Use $(test-wrapper).
18137 (built-program-cmd): Likewise.
18138 * Rules (make-test-out): Use $(test-wrapper-env) and
18139 $(host-built-program-cmd).
18140 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18141 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18142 tst-pathopt.sh.
18143 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18144 $(test-wrapper-env) to tst-rtld-load-self.sh.
18145 ($(objpfx)order2.out): Use $(test-wrapper).
18146 ($(objpfx)tst-initorder.out): Likewise.
18147 ($(objpfx)tst-initorder2.out): Likewise.
18148 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18149 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18150 (test_wrapper_env): New variable. Use it to run ld.so.
18151 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18152 Use it to run ld.so.
18153 (test_wrapper_env): Likewise.
18154 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18155 $(test-wrapper) to run-iconv-test.sh.
18156 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18157 (ICONV): Use $test_wrapper.
18158 * posix/Makefile ($(objpfx)globtest.out): Pass
18159 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18160 globtest.sh, not $(run-program-prefix).
18161 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18162 (test_wrapper): Likewise.
18163 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18164 set together with run_via_rtld_prefix.
18165 (run_program_prefix): Define in terms of test_wrapper and
18166 run_via_rtld_prefix.
18167
6e6249d0
RM
181682012-10-24 Roland McGrath <roland@hack.frob.com>
18169
18170 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18171 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18172 Targets removed.
18173
18174 [BZ #14743]
18175 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18176 Declare __clock_getres, __clock_gettime, __clock_settime,
18177 __clock_nanosleep, and __clock_getcpuclockid.
18178 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18179 Remove librt_hidden_def (clock_gettime).
18180 * sysdeps/unix/clock_gettime.c: Likewise.
18181 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18182 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18183 * rt/clock_getres.c: Define __clock_getres as an alias.
18184 * sysdeps/posix/clock_getres.c: Likewise.
18185 * rt/clock_settime.c: Define __clock_settime as an alias.
18186 * sysdeps/unix/clock_settime.c: Likewise.
18187 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18188 * sysdeps/unix/clock_nanosleep.c: Likewise.
18189 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18190 * rt/clock-compat.c: New file.
18191 * rt/Makefile (librt-routines): Add clock-compat and move
18192 $(clock-routines) to ...
18193 (routines): ... here, new variable.
18194 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18195 Don't add get_clockfreq here.
18196 * rt/Versions (libc: GLIBC_2.17): New version set.
18197 Add clock_* symbols here.
18198 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18199 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18200 (GLIBC_2.17): Add clock_* symbols.
18201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18205 Likewise.
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18207 Likewise.
18208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18212 * NEWS: Mention the move.
18213
18214 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18215 Use __open, __read, __close rather than their public counterparts.
18216 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18217 (__get_clockfreq_via_cpuinfo): Likewise.
18218 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18219 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18220
18221 * config.h.in (HAVE_IFUNC): New #undef.
18222 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18223 was successful.
18224 * configure: Regenerated.
18225
0cae3f4b
MF
182262012-10-24 Mike Frysinger <vapier@gentoo.org>
18227
18228 * configure.in: Move READELF check to start of file.
18229 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18230 libc_cv_asm_gnu_indirect_function in the process.
18231 * configure: Regenerated.
18232
8175a253
MF
182332012-10-24 Mike Frysinger <vapier@gentoo.org>
18234
18235 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18236 send the output to /dev/null.
18237 (libc_cv_cc_with_libunwind): Likewise.
18238 (libc_cv_as_noexecstack): Likewise.
18239 * configure: Regenerate.
18240
0708a7d1
JM
182412012-10-24 Joseph Myers <joseph@codesourcery.com>
18242
10b40d85
JM
18243 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18244
0708a7d1
JM
18245 * posix/globtest.sh (TMPDIR): Do not set.
18246 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18247 (testout): Likewise.
18248
9fddec1a
AJ
182492012-10-24 Andreas Jaeger <aj@suse.de>
18250
3a8db22f
AJ
18251 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18252 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18253 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18254 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18255 posix_fadvise64, posix_fallocate64.
18256
9fddec1a
AJ
18257 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18258 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18259 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18260 Likewise.
18261 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18262 Likewise.
18263 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18264
18265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18266 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18267 <bits/fcntl-linux.h>.
18268 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18269
18270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18271 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18272 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18273 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18274 [__WORDSIZE != 64]: Likewise.
18275
ebfd1bbd
JM
182762012-10-23 Joseph Myers <joseph@codesourcery.com>
18277
03ac099f
JM
18278 * Makeconfig (run-built-tests): New variable.
18279 * Rules [$(cross-compiling) = yes]: Change condition to
18280 [$(run-built-tests) = no].
18281 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18282 to [$(run-built-tests) = yes].
18283 * elf/Makefile [$(cross-compiling) = no]: Likewise
18284 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18285 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18286 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18287 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18288 * io/Makefile [$(cross-compiling) = no]: Likewise.
18289 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18290 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18291 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18292 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18293 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18294 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18295 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18296 * string/Makefile [$(cross-compiling) = no]: Likewise.
18297
ebfd1bbd
JM
18298 * posix/Makefile ($(objpfx)globtest.out): Pass
18299 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18300 $(rtld-installed-name).
18301 * posix/globtest.sh (elf_objpfx): Remove variable.
18302 (rtld_installed_name): Likewise.
18303 (library_path): Likewise.
18304 (run_program_prefix): New variable. Use for running globtest
18305 binary.
18306
166bca24
JB
183072012-10-23 Jim Blandy <jimb@codesourcery.com>
18308 Joseph Myers <joseph@codesourcery.com>
18309
18310 * Makeconfig (host-built-program-cmd): New variable.
18311 * elf/Makefile (tst-stackguard1-ARGS): Use
18312 $(host-built-program-cmd).
18313 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18314 (tst-spawn-ARGS): Likewise.
18315 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18316
88866099
JM
183172012-10-23 Joseph Myers <joseph@codesourcery.com>
18318 Jim Blandy <jimb@codesourcery.com>
18319
18320 * Makeconfig (run-via-rtld-prefix): New variable.
18321 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18322 (built-program-cmd): Likewise.
18323
b4b4c296
AJ
183242012-10-22 Andreas Jaeger <aj@suse.de>
18325
18326 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18327 __O_RSYNC if it exists, otherwise to O_SYNC.
18328
6fb54a22
JB
183292012-10-22 Jim Blandy <jimb@codesourcery.com>
18330 Joseph Myers <joseph@codesourcery.com>
18331
18332 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18333 /dev/null.
18334 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18335 from /dev/null
18336 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18337 /dev/null.
18338
481b90b9
AJ
183392012-10-22 Andreas Jaeger <aj@suse.de>
18340
2a0e2669
AJ
18341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18342 Define always.
18343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18344
76e38f9a
AJ
18345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18346 bits/fcntl-linux.h.
18347
7cd37b43
AJ
18348 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18349 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18350
481b90b9
AJ
18351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18352 to __O_LARGEFILE.
18353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18354 to __O_LARGEFILE.
18355
aba75984
JB
183562012-10-21 Jim Blandy <jimb@codesourcery.com>
18357 Joseph Myers <joseph@codesourcery.com>
18358
18359 * config.make.in (NM): New variable.
18360
88d4247f
AJ
183612012-10-21 Andreas Jaeger <aj@suse.de>
18362
18363 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18364 definitions and declarations that are provided by
18365 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18366
f2eed205
L
183672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18368
18369 [BZ #14683]
18370 * elf/Makefile (tests-static): Add tst-leaks1-static.
18371 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18372 ($(objpfx)tst-leaks1-static): New rule.
18373 ($(objpfx)tst-leaks1-static-mem): Likewise.
18374 (tst-leaks1-static-ENV): New macro.
18375 * elf/dl-open.c (dl_open_worker): Check the main application
18376 only if SHARED is defined.
18377 * elf/tst-leaks1-static.c: New file.
18378
335e6931
AJ
183792012-10-20 Andreas Jaeger <aj@suse.de>
18380
18381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18382 generic values for Linux.
18383 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18384 and declarations that are provided by <bits/fcntl-linux.h> and
18385 include <bits/fcntl-linux.h>.
18386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18388
ac5c94d3
RM
183892012-10-20 Roland McGrath <roland@hack.frob.com>
18390
18391 * io/fcntl.h: Move include of <bits/types.h> to the top and
18392 include it unconditionally.
18393
de54b33a
L
183942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18395
228cfb01
L
18396 * wcsmbs/Makefile (tests-ifunc): New variable.
18397 (tests): Add $(tests-ifunc).
18398 * wcsmbs/test-wcschr-ifunc.c: New file.
18399 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18400 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18401 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18402 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18403 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18404
69f07e5f
L
18405 * string/Makefile (tests-ifunc): New variable.
18406 (tests): Add $(tests-ifunc).
18407 * string/test-memccpy.c (TEST_NAME): New macro.
18408 * string/test-memchr.c (TEST_NAME): Likewise.
18409 * string/test-memcmp.c (TEST_NAME): Likewise.
18410 * string/test-memcpy.c (TEST_NAME): Likewise.
18411 * string/test-memmem.c (TEST_NAME): Likewise.
18412 * string/test-memmove.c (TEST_NAME): Likewise.
18413 * string/test-memset.c (TEST_NAME): Likewise.
18414 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18415 * string/test-stpcpy.c (TEST_NAME): Likewise.
18416 * string/test-stpncpy.c (TEST_NAME): Likewise.
18417 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18418 * string/test-strcasestr.c (TEST_NAME): Likewise.
18419 * string/test-strcat.c (TEST_NAME): Likewise.
18420 * string/test-strchr.c (TEST_NAME): Likewise.
18421 * string/test-strcmp.c(TEST_NAME): Likewise.
18422 * string/test-strcpy.c (TEST_NAME): Likewise.
18423 * string/test-strcspn.c (TEST_NAME): Likewise.
18424 * string/test-strlen.c (TEST_NAME): Likewise.
18425 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18426 * string/test-strncmp.c (TEST_NAME): Likewise.
18427 * string/test-strncpy.c (TEST_NAME): Likewise.
18428 * string/test-strnlen.c (TEST_NAME): Likewise.
18429 * string/test-strpbrk.c (TEST_NAME): Likewise.
18430 * string/test-strrchr.c (TEST_NAME): Likewise.
18431 * string/test-strspn.c (TEST_NAME): Likewise.
18432 * string/test-strstr.c (TEST_NAME): Likewise.
18433 * string/test-bcopy-ifunc.c: New file.
18434 * string/test-bzero-ifunc.c: Likewise.
18435 * string/test-memccpy-ifunc.c: Likewise.
18436 * string/test-memchr-ifunc.c: Likewise.
18437 * string/test-memcmp-ifunc.c: Likewise.
18438 * string/test-memcpy-ifunc.c: Likewise.
18439 * string/test-memmem-ifunc.c: Likewise.
18440 * string/test-memmove-ifunc.c: Likewise.
18441 * string/test-mempcpy-ifunc.c: Likewise.
18442 * string/test-memset-ifunc.c: Likewise.
18443 * string/test-rawmemchr-ifunc.c: Likewise.
18444 * string/test-stpcpy-ifunc.c: Likewise.
18445 * string/test-stpncpy-ifunc.c: Likewise.
18446 * string/test-strcasecmp-ifunc.c: Likewise.
18447 * string/test-strcasestr-ifunc.c: Likewise.
18448 * string/test-strcat-ifunc.c: Likewise.
18449 * string/test-strchr-ifunc.c: Likewise.
18450 * string/test-strchrnul-ifunc.c: Likewise.
18451 * string/test-strcmp-ifunc.c: Likewise.
18452 * string/test-strcpy-ifunc.c: Likewise.
18453 * string/test-strcspn-ifunc.c: Likewise.
18454 * string/test-strlen-ifunc.c: Likewise.
18455 * string/test-strncasecmp-ifunc.c: Likewise.
18456 * string/test-strncat-ifunc.c: Likewise.
18457 * string/test-strncmp-ifunc.c: Likewise.
18458 * string/test-strncpy-ifunc.c: Likewise.
18459 * string/test-strnlen-ifunc.c: Likewise.
18460 * string/test-strpbrk-ifunc.c: Likewise.
18461 * string/test-strrchr-ifunc.c: Likewise.
18462 * string/test-strspn-ifunc.c: Likewise.
18463 * string/test-strstr-ifunc.c: Likewise.
18464
de54b33a
L
18465 * debug/Makefile (tests-ifunc): New variable.
18466 (tests): Add $(tests-ifunc).
18467 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18468 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18469 * debug/test-stpcpy_chk-ifunc.c: New file.
18470 * debug/test-strcpy_chk-ifunc.c: Likewise.
18471
88481c16
SP
184722012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18473
18474 [BZ #13601]
18475 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18476 header is not read in.
18477
135948bd
JM
184782012-10-19 Joseph Myers <joseph@codesourcery.com>
18479
89f1c388
JM
18480 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18481 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18482 directly. Pass built executable to script as
18483 $(built-program-cmd).
18484 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18485 $testprogram without using LD_LIBRARY_PATH and $ldso.
18486
e40a0d21
JM
18487 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18488 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18489 $(rtld-installed-name).
18490 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18491 (rtld_installed_name): Likewise.
18492 (library_path): Likewise.
18493 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18494 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18495 $(run-program-prefix) to tst-tables.sh.
18496 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18497 it to run tst-table-from and tst-table-to.
18498 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18499 Pass it to tst-table.sh.
18500 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18501 $(run-program-prefix) to tst-gettext.sh.
18502 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18503 tst-translit.sh.
18504 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18505 tst-gettext2.sh.
18506 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18507 to run tst-gettext.
18508 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18509 to run tst-gettext2.
18510 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18511 to run tst-translit.
18512 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18513 $(run-program-prefix) to tst-mtrace.sh.
18514 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18515 to run tst-mtrace.
18516 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18517 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18518 $(rtld-installed-name).
18519 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18520 (rtld_installed_name): Likewise.
18521 (run_program_prefix): New variable. Use it to run wordexp-test.
18522
728e272a
JM
18523 * Makeconfig (ARCH): Remove all definitions.
18524 (machine): Likewise.
18525 [ARCH]: Remove conditional code.
18526 [!objdir]: Give error.
18527 [!objdir] (objpfx): Remove.
18528 [!objdir] (common-objpfx): Likewise.
18529 [!objdir] (common-objdir): Likewise.
18530 * configure.in (config_makefile): Remove. Hardcode Makefile in
18531 AC_CONFIG_FILES call.
18532 * configure: Regenerated.
18533
d528cdcf
JM
18534 [BZ #13888]
18535 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18536 or TMPDIR.
18537 (testout): Likewise.
18538
135948bd
JM
18539 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18540 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18541 $(rtld-installed-name).
18542 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18543 (rtld_installed_name): Likwise.
18544 (runit): Remove function.
18545 (run_getconf): New variable, Use it for running getconf binary.
18546
38c78296
L
185472012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18548
18549 [BZ #14716]
18550 * string/test-memmem.c (check_result): New function.
18551 (do_one_test): Use it.
18552 (check1): New function.
18553 (test_main): Use it.
18554
d077f65f
MT
185552012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18556
18557 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18558
ced52c71
JM
185592012-10-18 Joseph Myers <joseph@codesourcery.com>
18560
18561 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18562 (_G_LSEEK64): Likewise.
18563 (_G_MMAP64): Likewise.
18564 (_G_FSTAT64): Likewise.
18565 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18566 (_G_LSEEK64): Likewise.
18567 (_G_MMAP64): Likewise.
18568 (_G_FSTAT64): Likewise.
18569 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18570 unconditional. Call __mmap64 directly.
18571 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18572 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18573 __lseek64 directly.
18574 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18575 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18576 __mmap64 directly.
18577 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18578 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18579 __lseek64 directly.
18580 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18581 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18582 __lseek64 directly.
18583 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18584 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18585 __lseek64 directly.
18586 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18587 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18588 __fxstat64 directly.
18589 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18590 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18591 unconditional.
18592 (freopen64) [!_G_OPEN64]: Remove conditional code.
18593 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18594 unconditional.
18595 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18596 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18597 unconditional.
18598 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18599 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18600 unconditional.
18601 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18602 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18603 unconditional.
18604 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18605 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18606 unconditional.
18607 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18608 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18609 unconditional.
18610 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18611 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18612 unconditional.
18613 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18614
b741de23
SP
186152012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18616
18617 [BZ #12140]
18618 * manual/memory.texi (Malloc Tunable Parameters): Add note
18619 about free list pointers overwriting some perturb bytes.
18620 Wording suggested by Roland McGrath.
18621
f9b9d9c9
JM
186222012-10-17 Joseph Myers <joseph@codesourcery.com>
18623
18624 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18625 (lgamma_test): Likewise.
18626 (tgamma_test): Likewise.
18627
172a631a
FW
186282012-10-16 Florian Weimer <fweimer@redhat.com>
18629
18630 [BZ #14700]
18631 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18632 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18633
e9f37252
MK
186342012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18635
18636 * NEWS: Mention BZ #14716.
18637 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18638 when removing AVAILABLE1_USES_J macro.
18639
d394eb74
L
186402012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18641
18642 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18643 (__bswap_64): __uint64_t for unsigned 64-bit int.
18644
ca38dc17
AS
186452012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18646
18647 * include/string.h (memmem): Declare libc hidden alias.
18648 * string/memmem.c (memmem): Define libc hidden alias.
18649 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18650 __read, __close instead of open, read, close.
18651
9a387d1f
L
186522012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18653
ac49ecaf
L
18654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18655 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18656 global and hidden.
18657 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18658 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18659 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18660 Likewise.
18661 (__rawmemchr_sse2): Likewise.
18662 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18663 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18664 (__strchr_sse2): Likewise.
18665 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18666 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18667 (__strcasecmp_sse2): Likewise.
18668 (__strncasecmp_sse2): Likewise.
18669 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18670 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18671 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18672 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18673 (__strrchr_sse2): Likewise.
18674 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18675 ifunc-impl-list.c.
18676 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18677 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18678 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18679 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18680 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18681 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18682 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18683 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18684 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18685 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18686 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18687 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18688 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18689 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18690 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18691 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18692 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18693 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18694 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18695 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18696 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18697 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18698 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18699 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18700 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18701 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18702 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18703 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18704 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18705 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18706
b090e8ea
L
18707 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18708 global and hidden.
18709 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18710 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18711 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18712 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18713 Likewise.
18714 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18715 Likewise.
18716 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18717 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18718 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18719 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18720 ifunc-impl-list.c.
18721 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18722 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18723 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18724 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18725 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18726 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18727 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18728 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18729 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18730 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18731 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18732 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18733 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18734 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18735 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18736 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18737 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18738 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18739 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18740 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18741 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18742 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18743 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18744 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18745 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18746 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18747 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18748 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18749 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18750 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18751 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18752 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18753 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18754 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18755 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18756 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18757 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18758 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18759 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18760 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18761 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18762
11dd4af6
L
18763 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18764 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18765 * include/ifunc-impl-list.h: New file.
18766 * misc/ifunc-impl-list.c: Likewise.
18767 * misc/Makefile (routines): Add ifunc-impl-list.
18768 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18769 * string/test-string.h: Include <ifunc-impl-list.h>.
18770 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18771 impl_array): New variables.
18772 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18773 are defined.
18774 (test_init): Call __libc_ifunc_impl_list to initialize
18775 func_list if TEST_IFUNC and TEST_NAME are defined.
18776
9a387d1f
L
18777 * string/Makefile (strop-tests): Add bcopy and bzero.
18778 * string/test-bcopy.c: New file.
18779 * string/test-bzero.c: Likewise.
18780 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18781 defined.
18782 * string/test-memset.c: Support bzero test if TEST_BZERO is
18783 defined.
18784 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18785 __libc_memmove.
18786 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18787 __libc_memset.
18788 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18789 of memset.
18790
472371b9
JM
187912012-10-10 Joseph Myers <joseph@codesourcery.com>
18792
1e4a9536
JM
18793 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18794 * configure: Regenerated.
18795
d173d12e
JM
18796 * Makeconfig (+link-static-before-libc): Don't include
18797 $(link-static-libc).
18798
472371b9
JM
18799 * libio/libio.h (_IO_pos_t): Remove.
18800
89a3ad0b
AO
188012012-10-10 Alexandre Oliva <aoliva@redhat.com>
18802
18803 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18804 McGrath.
18805
e7451425
AO
188062012-10-10 Alexandre Oliva <aoliva@redhat.com>
18807
18808 * crypt/crypt-entry.c: Include fips-private.h.
18809 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18810 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18811 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18812 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18813
4ba74a35
AO
188142012-10-10 Alexandre Oliva <aoliva@redhat.com>
18815
18816 * crypt/crypt-private.h: Include stdbool.h.
18817 (_ufc_setup_salt_r): Return bool.
18818 * crypt/crypt-entry.c: Include errno.h.
18819 (__crypt_r): Return NULL with EINVAL for bad salt.
18820 * crypt/crypt_util.c (bad_for_salt): New.
18821 (_ufc_setup_salt_r): Check that salt is long enough and within
18822 the specified alphabet.
18823 * crypt/badsalttest.c: New file.
18824 * crypt/Makefile (tests): Add it.
18825 ($(objpfx)badsalttest): New.
18826
f96f1242
MK
188272012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18828
18829 * NEWS: Add entry for BZ #14602.
18830
0e8e0c1c
JM
188312012-10-09 Joseph Myers <joseph@codesourcery.com>
18832
18833 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18834 type-generic.
18835 * math/libm-test.inc: Update comment listing what functions and
18836 macros are tested.
18837 (isgreater_test): New function.
18838 (isgreaterequal_test): Likewise.
18839 (isless_test): Likewise.
18840 (islessequal_test): Likewise.
18841 (islessgreater_test): Likewise.
18842 (isunordered_test): Likewise.
18843 (main): Call the new functions.
18844
273edc5e
RM
188452012-10-09 Roland McGrath <roland@hack.frob.com>
18846
b8493de0
RM
18847 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18848 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18849 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18850 * sysdeps/i386/configure: Regenerated.
18851 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18852 * sysdeps/mach/configure: Regenerated.
18853 * sysdeps/mach/hurd/configure: Regenerated.
18854 * sysdeps/powerpc/configure: Regenerated.
18855 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18856 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18857 * sysdeps/s390/s390-32/configure: Regenerated.
18858 * sysdeps/s390/s390-64/configure: Regenerated.
18859 * sysdeps/sh/configure: Regenerated.
18860 * sysdeps/sparc/configure: Regenerated.
18861 * sysdeps/unix/sysv/linux/configure: Regenerated.
18862 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18863 * sysdeps/x86_64/configure: Regenerated.
18864
273edc5e
RM
18865 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18866 defined. Don't check if MAP is NULL.
18867
c8450f70
JM
188682012-10-09 Joseph Myers <joseph@codesourcery.com>
18869
18870 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18871 (_G_stat64): Likewise.
18872 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18873 (_G_stat64): Likewise.
18874 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18875 instead of struct _G_stat64.
18876 * libio/fileops.c (mmap_remap_check): Likewise.
18877 (decide_maybe_mmap): Likewise.
18878 (_IO_new_file_seekoff): Likewise.
18879 (_IO_file_stat): Likewise.
18880 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18881 _G_off64_t.
18882 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18883 instead of struct _G_stat64.
18884 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18885
57e605ba
MK
188862012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18887
18888 [BZ #14602]
18889 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18890 Replace with ...
18891 (CHECK_EOL): New macro.
18892 (two_way_short_needle): Check beginning of haystack for EOL. Use
18893 CHECK_EOL.
18894 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18895 Replace with CHECK_EOL.
18896 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18897 Replace with CHECK_EOL.
18898
ef1bb361
JM
188992012-10-08 Joseph Myers <joseph@codesourcery.com>
18900
18901 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18902 type-generic.
18903 * math/libm-test.inc: Update comment listing what functions and
18904 macros are tested.
18905 (finite_test): New function.
18906 (isinf_test): Likewise.
18907 (isnan_test): Likewise.
18908 (fpclassify_test): Test subnormal input.
18909 (isfinite_test): Likewise.
18910 (isnormal_test): Likewise.
18911 (main): Call the new functions.
18912
55f11534
JN
189132012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18914
18915 [BZ #14660]
18916 * Makerules (%.dynsym): Force C locale when running
18917 $(OBJDUMP) --dynamic-syms.
18918
1ab29350
AS
189192012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18920
18921 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18922 <stdint.h>.
18923
f1ecb7ef
DM
189242012-10-06 David S. Miller <davem@davemloft.net>
18925
18926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18927 upper 32-bits of the length value in %o2 since we use branch-on-register
18928 tests which consider the entire 64-bit register.
18929
5d41d91a
L
189302012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18931
18932 * string/test-strstr.c (check2): Add a test for page boundary.
18933
3baddb72
DM
189342012-10-05 David S. Miller <davem@davemloft.net>
18935
18936 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18937 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18938 file.
18939 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18940 sysdep_routines.
18941 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18942 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18943 and bzero when HWCAP_SPARC_CRYPTO is present.
18944
9cee5585
L
189452012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18946
d7e0dab9
L
18947 [BZ #14602]
18948 * string/test-strstr.c (check2): New function.
18949 (test_main): Call check2.
18950
03759f47
L
18951 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18952 and bug-strchr1.
18953 * string/bug-strcasestr1.c (do_test): Moved to ...
18954 * string/test-strcasestr.c (check1): Here. New function.
18955 (do_one_test): Break out result checking code into ...
18956 (check_result): This. New function.
18957 (do_one_test): Call check_result.
18958 (test_main): Call check1.
18959 * string/bug-strchr1.c (do_test): Moved to ...
18960 * string/test-strchr.c (check1): Here. New function.
18961 (do_one_test): Break out result checking code into ...
18962 (check_result): This. New function.
18963 (do_one_test): Call check_result.
18964 (test_main): Call check1.
18965 * string/bug-strstr1.c (main): Moved to ...
046f153e 18966 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18967 (do_one_test): Break out result checking code into ...
18968 (check_result): This. New function.
18969 (do_one_test): Call check_result.
18970 (test_main): Call check1.
18971 * string/bug-strcasestr1.c: Removed.
18972 * string/bug-strchr1.c: Likewise.
18973 * string/bug-strstr1.c: Likewise.
18974
53cea63e
L
18975 * elf/Makefile (dl-routines): Add hwcaps.
18976 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18977 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18978 (_dl_important_hwcaps): Moved to ...
18979 * elf/dl-hwcaps.c: Here. New file.
18980 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18981
9cee5585 18982 [BZ #14557]
bb859b06
L
18983 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18984 if IS_IN_rtld isn't defined.
18985
9cee5585
L
18986 * elf/dl-support.c (_dl_sysinfo_map): New.
18987 Include "get-dynamic-info.h" and "setup-vdso.h".
18988 (_dl_non_dynamic_init): Call setup_vdso.
18989 * elf/dynamic-link.h: Don't include <assert.h>.
18990 (elf_get_dynamic_info): Moved to ...
18991 * elf/get-dynamic-info.h: Here. New file.
18992 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18993 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18994 * elf/setup-vdso.h: Here. New file.
18995 * elf/rtld.c: Include "setup-vdso.h".
18996 (dl_main): Call setup_vdso.
18997
23c31b76
JM
189982012-10-05 Joseph Myers <joseph@codesourcery.com>
18999
28234b07
JM
19000 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19001 creal in comment listing functions tested. List finite, isinf,
19002 isnan, isless, islessequal, isgreater, isgreaterequal,
19003 islessgreater, isunordered, lgamma_r and pow10 as functions and
19004 macros not tested. Mention which functions not tested are aliases
19005 for other functions. Fix typo. Note that signs of NaNs are not
19006 tested.
19007
23c31b76
JM
19008 * scripts/config.guess: Update from config.git.
19009 * scripts/config.sub: Likewise.
19010
9043e228
RM
190112012-10-04 Roland McGrath <roland@hack.frob.com>
19012
19013 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19014 * misc/madvise.c (madvise): Renamed to __madvise.
19015 Make madvise a weak alias.
19016 * include/sys/mman.h: Declare __madvise.
19017 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19018 * sysdeps/unix/syscalls.list
19019 (madvise): Make __madvise the strong name, and madvise a weak alias.
19020 * sysdeps/unix/sysv/linux/syscalls.list
19021 (madvise, mmap): Remove redundant entries.
19022 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19023 * malloc/malloc.c (mtrim): Likewise.
19024 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19025
f57f8055
RM
190262012-10-03 Roland McGrath <roland@hack.frob.com>
19027
19028 * sysdeps/mach/hurd/dl-cache.c: File removed.
19029 * config.h.in (USE_LDCONFIG): New #undef.
19030 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19031 * configure: Regenerated.
19032 * elf/Makefile (dl-routines): Add dl-cache only under
19033 [$(use-ldconfig) = yes].
19034 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19035 cache on [USE_LDCONFIG].
19036 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19037 [USE_LDCONFIG].
19038 * elf/rtld.c (dl_main): Likewise.
19039
5bb0c10a
PT
190402012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19041
19042 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19043 _SC_LEVEL4_CACHE_LINESIZE.
19044
010188c6
RM
190452012-10-03 Roland McGrath <roland@hack.frob.com>
19046
19047 * sysdeps/unix/bsd/confstr.h: File removed.
19048
b6c5ec07
AO
190492012-10-02 Alexandre Oliva <aoliva@redhat.com>
19050
19051 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19052 sys/sdt-config.h.
19053
408223d4
RM
190542012-10-02 Roland McGrath <roland@hack.frob.com>
19055
19056 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19057 Make 'mapoff' field ElfW(Off) rather than off_t.
19058
bb9510dc
DL
190592012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19060
fc997c6e
DL
19061 * nscd/Makefile: Remove nscd-cflags and all its users.
19062 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19063 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19064
bb9510dc
DL
19065 [BZ #10631]
19066 * malloc.c (malloc_printerr): Clarify error message.
19067
05699367
L
190682012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19069
19070 [BZ #14648]
19071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19072 Set bit_FMA_Usable if FMA is supported.
19073 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19074 macro.
19075 (bit_FMA4_Usable): Updated.
19076 (index_FMA_Usable): New macro.
19077 (CPUID_FMA): Likewise
19078 (HAS_FMA): Defined with bit_FMA_Usable.
19079
51367701
RM
190802012-10-01 Roland McGrath <roland@hack.frob.com>
19081
19082 * bits/types.h (__swblk_t): Type removed.
19083 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19084 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19086 (__SWBLK_T_TYPE): Likewise.
19087 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19088 (__SWBLK_T_TYPE): Likewise.
19089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19090 (__SWBLK_T_TYPE): Likewise.
19091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19092 (__SWBLK_T_TYPE): Likewise.
19093
4d57bf63 190942012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 19095 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
19096
19097 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19098 (xdr_mapname): Use YPMAXMAP as maxsize.
19099 (xdr_peername): Use YPMAXPEER as maxsize.
19100 (xdr_keydat): Use YPAXRECORD as maxsize.
19101 (xdr_valdat): Use YPMAXRECORD as maxsize.
19102
93c65d43
RM
191032012-10-01 Roland McGrath <roland@hack.frob.com>
19104
497a03d6
RM
19105 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19106
93c65d43
RM
19107 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19108 * csu/init-first.c: ... here.
19109 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19110 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19111 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19112 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19113 * sysdeps/i386/init-first.c: File removed.
19114 * sysdeps/sh/init-first.c: File removed.
19115
bec749fd
JM
191162012-10-01 Joseph Myers <joseph@codesourcery.com>
19117
19118 [BZ #14645]
19119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19120 if x * y might underflow to zero and z is zero.
19121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19123 * math/libm-test.inc (min_subnorm_value): New variable.
19124 (fma_test): Add more tests.
19125 (fma_test_towardzero): Likewise.
19126 (fma_test_downward): Likewise
19127 (fma_test_upward): Likewise.
19128 (initialize): Set min_subnorm_value.
19129
8ec5b013
JM
191302012-09-29 Joseph Myers <joseph@codesourcery.com>
19131
19132 [BZ #14638]
19133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19134 0 + 0.
19135 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19136 mode for addition resulting in exact zero.
19137 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19139 exact 0 + 0.
19140 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19142 * math/libm-test.inc (fma_test): Add more tests.
19143 (fma_test_towardzero): New function.
19144 (fma_test_downward): Likewise.
19145 (fma_test_upward): Likewise.
19146 (main): Call the new functions.
19147
b1fa802e
DM
191482012-09-28 David S. Miller <davem@davemloft.net>
19149
19150 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19151
d3b9fd9e
RM
191522012-09-28 Roland McGrath <roland@hack.frob.com>
19153
ea4d37b3
RM
19154 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19155 instead of SIGALRM.
19156
ac51c949
RM
19157 * sysdeps/gnu/_G_config.h: Moved to ...
19158 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19159 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19160 * sysdeps/generic/_G_config.h: ... here.
19161
28c195f7
RM
19162 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19163
848917f9
RM
19164 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19165
6bacf05b
RM
19166 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19167 Conditionalize target on [libnss_test1.so-version].
19168
91363dbb
RM
19169 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19170
cc87f7d8
RM
19171 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19172 (elfobjdir): Move out of conditionals.
19173
b1c608fe
RM
19174 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19175 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19176 (__nss_lookup_function): Conditionalize label remove_from_tree on
19177 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 19178
1d9a6d96
DM
191792012-09-28 David S. Miller <davem@davemloft.net>
19180
19181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19182 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19183 file.
19184 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19185 sysdep_routines.
19186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19188 when HWCAP_SPARC_CRYPTO is present.
19189
72581615
PT
191902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19191
19192 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19193
715a900c
JL
191942012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19195
19196 [BZ #6530]
19197 * stdio-common/vfprintf.c (process_string_arg): Revert
19198 2000-07-22 change.
19199
192002011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19201
19202 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19203 for testcase.
19204 * stdio-common/tst-sprintf.c: Include <locale.h>
19205 (main): Test sprintf's handling of incomplete multibyte
19206 characters.
19207
9bac1d86
L
192082012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19209
19210 * elf/dl-runtime.c (VERSYMIDX): Removed.
19211 * elf/dl-version.c (VERSYMIDX): Likewise.
19212 * elf/do-rel.h (VERSYMIDX): Likewise.
19213 (VALIDX): Likewise.
19214 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19215 * elf/rtld.c (VALIDX): Likewise.
19216 (ADDRIDX): Likewise.
9bac1d86
L
19217 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19218 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19219 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
19220 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19221 (VALIDX): Likewise.
19222 (ADDRIDX): Likewise.
9bac1d86 19223
b31606c0
PT
192242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19225
19226 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19227
11541177
JL
192282012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19229
19230 [BZ #11438]
19231 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19232 to global scope.
19233 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19234 addresses are in the same scope as 192.0.2/24.
19235 * posix/gai.conf: Document new scope table defaults.
19236
adb26fae
SP
192372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19238
19239 [BZ #5298]
19240 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19241 for ftell. Compute offsets from write pointers instead.
19242 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19243
4573c6b0
SP
192442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19245
19246 [BZ #14543]
19247 * libio/Makefile (tests): New test case tst-fseek.
19248 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19249 combination works in wide mode.
19250 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19251 state when the external buffer state changes.
19252
aa9bbfe6
DM
192532012-09-27 David S. Miller <davem@davemloft.net>
19254
19255 [BZ #14376]
19256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19257 pass reloc->r_addend in as the 'high' argument to
19258 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19259
784421e7
DM
19260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19261
c39bc8b8
PT
192622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19263
19264 * rt/tst-aio2.c: Include <pthread.h>.
19265 * rt/tst-aio3.c: Likewise.
19266
1ccc2399
SE
192672012-09-27 Steve Ellcey <sellcey@mips.com>
19268
19269 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19270
31ed4153
L
192712012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19272
25f5f885
L
19273 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19274 contents on [SHARED].
31ed4153 19275
b7bfe116
MP
192762012-09-26 Marek Polacek <polacek@redhat.com>
19277
19278 [BZ #14530]
19279 [BZ #13741]
19280 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19281 for C++ and GCC <4.3 as well as for non GCC compilers.
19282
43c4edba
MT
192832012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19284
19285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19286
6a1bf82f
RM
192872012-09-25 Roland McGrath <roland@hack.frob.com>
19288
19289 * Makefile.in (all, install): Declare with .PHONY.
19290 Reported by Michael Hope <michael.hope@linaro.org>.
19291
8ad11b9a
TMQMF
192922012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19293
19294 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19295 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19296 system header.
19297 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19298 Likewise.
19299 (sydep_routines): Add the new and the internal functions.
19300 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19301 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19303 (GLIBC_2.17): Add the new function.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19305 (GLIBC_2.17): Likewise.
19306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19307 (GLIBC_2.17): Likewise.
19308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19309 (GLIBC_2.17): Likewise.
19310 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19311
7e2fca8d
AM
193122012-09-25 Alan Modra <amodra@gmail.com>
19313
19314 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19315 Add release barrier before setting once_control to say
19316 initialisation is done. Add hints on lwarx. Use macro in
19317 place of isync.
19318 (clear_once_control): Add release barrier.
19319
b87c4b24
JM
193202012-09-25 Joseph Myers <joseph@codesourcery.com>
19321
d032e0d2
JM
19322 [BZ #13629]
19323 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19324 specially.
19325 * math/s_clog10.c (__clog10): Likewise.
19326 * math/s_clog10f.c (__clog10f): Likewise.
19327 * math/s_clog10l.c (__clog10l): Likewise.
19328 * math/s_clogf.c (__clogf): Likewise.
19329 * math/s_clogl.c (__clogl): Likewise.
19330 * math/Makefile (libm-calls): Add x2y2m1.
19331 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19332 (__x2y2m1): Likewise.
19333 (__x2y2m1l): Likewise.
19334 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19335 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19338 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19339 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19340 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19341 * sysdeps/i386/fpu/libm-test-ulps: Update.
19342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19343
b87c4b24
JM
19344 [BZ #14621]
19345 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19346 int as type of variable DEPTH.
19347 (glob): Use size_t instead of int as type of variables NEWCOUNT
19348 and OLD_PATHC.
19349
6d3bf199
LD
193502012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19351
22bf5c17
LD
19352 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19353 Add s_sincosf-sse2.
19354 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19355 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19356 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19357 macros for using routine as __sincosf_ia32.
19358 Use macro for function declaration and weak_alias.
19359 * sysdeps/i386/fpu/libm-test-ulps: Update.
19360
19361 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19363
19364 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19365 subnormal argument.
19366 * math/s_cexpf.c (__cexpf): Likewise.
19367 * math/s_csinf.c (__csinf): Likewise.
19368 * math/s_csinhf.c (__csinhf): Likewise.
19369 * math/s_ctanf.c (__ctanf): Likewise.
19370 * math/s_ctanhf.c (__ctanhf): Likewise.
19371 * math/s_ccosh.c (__ccoshf): Likewise.
19372 * math/s_cexp.c (__cexpl): Likewise.
19373 * math/s_csin.c (__csin): Likewise.
19374 * math/s_csinh.c (__csinh): Likewise.
19375 * math/s_ctan.c (__ctan): Likewise.
19376 * math/s_ctanh.c (ctanh): Likewise.
19377 * math/s_ccoshl.c (__ccoshl): Likewise.
19378 * math/s_cexpl.c (__cexpl): Likewise.
19379 * math/s_csinl.c (__csinl): Likewise.
19380 * math/s_csinhl.c (__csinhl): Likewise.
19381 * math/s_ctanl.c (__ctanl): Likewise.
19382 * math/s_ctanhl.c (__ctanhl): Likewise.
19383
203e5603
JM
193842012-09-25 Joseph Myers <joseph@codesourcery.com>
19385
19386 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19387 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19388 (_IO_off_t): Define to __off_t, not _G_off_t.
19389 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19390 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19391 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19392 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19393 type of __dummy and __dummy2 fields.
19394 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19395 (_G_ssize_t): Likewise.
19396 (_G_off_t): Likewise.
19397 (_G_pid_t): Likewise.
19398 (_G_uid_t): Likewise.
19399 (_G_wchar_t): Likewise.
19400 (_G_wint_t): Likewise.
19401 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19402 (_G_ssize_t): Likewise.
19403 (_G_off_t): Likewise.
19404 (_G_pid_t): Likewise.
19405 (_G_uid_t): Likewise.
19406 (_G_wchar_t): Likewise.
19407 (_G_wint_t): Likewise.
19408 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19409 (_G_ssize_t): Likewise.
19410 (_G_off_t): Likewise.
19411 (_G_pid_t): Likewise.
19412 (_G_uid_t): Likewise.
19413 (_G_wchar_t): Likewise.
19414 (_G_wint_t): Likewise.
19415
9fab36eb
SP
194162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19417
19418 * malloc/arena.c: Include malloc-sysdep.h.
19419 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19420 is sufficient to shrink the heap or an unmap is needed.
19421 * sysdeps/generic/malloc-sysdep.h: New file. Define
19422 new function check_may_shrink_heap.
19423 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19424 new function check_may_shrink_heap.
19425
2b4f00d1
SP
194262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19427
19428 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19429 comments.
19430
9a9028b1
DL
194312012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19432
57c69bef
DL
19433 * catgets/test-gencat.sh: Add "set -e".
19434 * elf/tst-pathopt.sh: Likewise.
19435 * grp/tst_fgetgrent.sh: Likewise.
19436 * iconvdata/run-iconv-test.sh: Likewise.
19437 * intl/tst-gettext.sh: Likewise.
19438 * intl/tst-gettext2.sh: Likewise.
19439 * intl/tst-gettext4.sh: Likewise.
19440 * intl/tst-gettext6.sh: Likewise.
19441 * intl/tst-translit.sh: Likewise.
19442 * io/ftwtest-sh: Likewise.
19443 * libio/test-freopen.sh: Likewise.
19444 * malloc/tst-mtrace.sh: Likewise.
19445 * posix/globtest.sh: Likewise.
19446 * posix/tst-getconf.sh: Likewise.
19447 * posix/wordexp-tst.sh: Likewise.
19448 * stdio-common/tst-printf.sh: Likewise.
19449 * stdio-common/tst-unbputc.sh: Likewise.
19450 * stdlib/tst-fmtmsg.sh: Likewise.
19451 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19452 * catgets/Makefile: Do not specify -e option when running
19453 testsuite shell scripts.
19454 * elf/Makefile: Likewise.
19455 * grp/Makefile: Likewise.
19456 * iconvdata/Makefile: Likewise.
19457 * intl/Makefile: Likewise.
19458 * io/Makefile: Likewise.
19459 * libio/Makefile: Likewise.
19460 * malloc/Makefile: Likewise.
19461 * posix/Makefile: Likewise.
19462 * stdio-common/Makefile: Likewise.
19463 * stdlib/Makefile: Likewise.
19464 * sysdeps/x86_64/Makefile: Likewise.
19465
9a9028b1
DL
19466 * io/ftwtest-sh: Add copyright header.
19467 * posix/globtest.sh: Likewise.
19468 * posix/tst-getconf.sh: Likewise.
19469 * posix/wordexp-tst.sh: Likewise.
19470 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19471
ced6f16e
L
194722012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19473
94b32c39
L
19474 [BZ #13679]
19475 * Makeconfig (+link): Defined as $(+link-static) if
19476 $(build-shared) isn't yes.
19477 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19478 isn't yes.
19479 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19480
189e935b
L
19481 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19482
ced6f16e
L
19483 [BZ #14562]
19484 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19485 new chunk size with MALLOC_ALIGN_MASK.
19486
a9f8e53a
JM
194872012-09-24 Joseph Myers <joseph@codesourcery.com>
19488
19489 [BZ #5044]
19490 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19491 <rounding-mode.h>.
19492 (__printf_fphex): Determine rounding using get_rounding_mode and
19493 round_away.
19494 * stdio-common/tst-printf-round.c (struct hex_test): New
19495 structure.
19496 (hex_tests): New variable.
19497 (test_hex_in_one_mode): New function.
19498 (do_test): Also run tests for hex float output.
19499
43153109
JM
195002012-09-21 Joseph Myers <joseph@codesourcery.com>
19501
19502 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19503 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19504 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19505 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19506 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19507 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19508 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19509 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19510
8a26625d
JM
195112012-09-20 Joseph Myers <joseph@codesourcery.com>
19512
19513 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19514 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19515 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19516 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19517
f3fd569c
DL
195182012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19519
19520 [BZ #14579]
19521 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19522 mode only.
19523 * elf/tst-rtld-load-self.sh: New test.
19524 * elf/Makefile: Run it.
19525
63bbedd4
JM
195262012-09-18 Joseph Myers <joseph@codesourcery.com>
19527
19528 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19529 (tst-writev-ENV): Remove.
19530 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19531
626f8b6a
CM
195322012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19533
19534 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19535
b7aaa4d6
JM
195362012-09-17 Joseph Myers <joseph@codesourcery.com>
19537
19538 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19539 unconditional.
19540 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19541 Likewise.
19542 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19543 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19544 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19545 Likewise.
19546
65513990
L
195472012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19548
19549 [BZ #14587]
19550 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19551 * config.make.in (have-cpp-asm-debuginfo): Removed.
19552 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19553 * configure: Regenerated.
19554
784761be
JM
195552012-09-14 Joseph Myers <joseph@codesourcery.com>
19556
19557 [BZ #5044]
19558 * stdio-common/printf_fp.c: Include <stdbool.h> and
19559 <rounding-mode.h>.
19560 (___printf_fp): Determine rounding using get_rounding_mode and
19561 round_away.
19562 * stdio-common/tst-printf-round.c: New file.
19563 * stdio-common/Makefile (tests): Add tst-printf-round.
19564 (link-libm): New variable.
19565 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19566
9503345f
L
195672012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19568
19569 [BZ #14576]
19570 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19571 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19572 Likewise.
19573 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19574 Likewise.
19575
ad35fc00
JM
195762012-09-13 Joseph Myers <joseph@codesourcery.com>
19577
19578 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19579 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19580 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19581 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19582
6c9b0f68
JM
195832012-09-12 Joseph Myers <joseph@codesourcery.com>
19584
19585 [BZ #14518]
19586 * include/rounding-mode.h: New file.
19587 * sysdeps/generic/get-rounding-mode.h: Likewise.
19588 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19589 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19590 (MAX_VALUE): New macro.
19591 (MIN_VALUE): Likewise.
19592 (overflow_value): New function.
19593 (underflow_value): Likewise.
19594 (round_and_return): Use overflow_value and underflow_value to
19595 determine return values in overflow and underflow cases. Use
19596 round_away to determine rounding depending on rounding mode.
19597 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19598 determine return values in overflow and underflow cases.
19599 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19600 (struct test_results): New structure.
19601 (struct test): Use struct test_results to store expected results
19602 for all rounding modes.
19603 (TEST): Include expected results for all rounding modes.
19604 (test_in_one_mode): New function.
19605 (do_test): Use test_in_one_mode to compute and check results.
19606 Check results for all rounding modes.
19607 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19608 $(link-libm).
19609
19fcedd5
AM
196102012-12-09 Allan McRae <allan@archlinux.org>
19611
1e9d84cd 19612 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19613
8bbfd2f1
JM
196142012-09-11 Joseph Myers <joseph@codesourcery.com>
19615
19616 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19617 (_G_int32_t): Likewise.
19618 (_G_uint16_t): Likewise.
19619 (_G_uint32_t): Likewise.
19620 (_G_HAVE_BOOL): Likewise.
19621 (_G_HAVE_ATEXIT): Likewise.
19622 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19623 (_G_HAVE_IO_FILE_OPEN): Likewise.
19624 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19625 (_G_int32_t): Likewise.
19626 (_G_uint16_t): Likewise.
19627 (_G_uint32_t): Likewise.
19628 (_G_HAVE_BOOL): Likewise.
19629 (_G_HAVE_ATEXIT): Likewise.
19630 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19631 (_G_HAVE_IO_FILE_OPEN): Likewise.
19632 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19633 (_G_int32_t): Likewise.
19634 (_G_uint16_t): Likewise.
19635 (_G_uint32_t): Likewise.
19636 (_G_HAVE_BOOL): Likewise.
19637 (_G_HAVE_ATEXIT): Likewise.
19638 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19639 (_G_HAVE_IO_FILE_OPEN): Likewise.
19640
b1dc5912
L
196412012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19642
19643 * csu/libc-tls.c: Update copyright years.
19644
0e886ef9
JM
196452012-09-10 Joseph Myers <joseph@codesourcery.com>
19646
28361c5e
JM
19647 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19648 [!_G_USING_THUNKS]: Remove conditional code.
19649 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19650 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19651
0e886ef9
JM
19652 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19653 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19654 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19655 (_G_VTABLE_LABEL_PREFIX): Likewise.
19656 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19657 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19658 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19659 (_G_VTABLE_LABEL_PREFIX): Likewise.
19660 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19661 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19662 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19663 (_G_VTABLE_LABEL_PREFIX): Likewise.
19664 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19665
bcba7aa2
L
196662012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19667
19668 * libio/Makefile: Include ../Makeconfig before tests.
19669 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19670 only if $(build-shared) is yes.
19671
06585ee8
L
19672 * iconv/gconv_db.c: Update copyright years.
19673
80ccd52c
LD
196742012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19675
19676 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19677 unwind info if defined PIC. Fix special cases description.
19678 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19679
19680 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19681 DP_HI_MASK entry.
19682 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19683
691bc9c1
L
196842012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19685
3d9b46b3
L
19686 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19687
de2139a9
L
19688 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19689 is NULL.
19690
5ca78dd0
L
19691 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19692 (LDLIBS-tst-chk4): This.
19693 (LDFLAGS-tst-chk5): Renamed to ...
19694 (LDLIBS-tst-chk5): This.
19695 (LDFLAGS-tst-chk6): Renamed to ...
19696 (LDLIBS-tst-chk6): This.
19697 (LDFLAGS-tst-lfschk4): Renamed to ...
19698 (LDLIBS-tst-lfschk4): This.
19699 (LDFLAGS-tst-lfschk5): Renamed to ...
19700 (LDLIBS-tst-lfschk5): This.
19701 (LDFLAGS-tst-lfschk6): Renamed to ...
19702 (LDLIBS-tst-lfschk6): This.
19703
691bc9c1
L
19704 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19705 on $(common-objpfx)soversions.mk.
19706
65cafb1c
JM
197072012-09-07 Joseph Myers <joseph@codesourcery.com>
19708
19709 [BZ #10014]
19710 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19711 example host name.
19712
c78ab094
SP
197132012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19714
19715 * malloc/arena.c (arena_get_retry): New function that gets
19716 another arena for the caller to try its request on.
19717 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19718 current arena cannot fulfill the request.
19719 (__libc_memalign): Likewise.
19720 (__libc_memalign): Likewise.
19721 (__libc_pvalloc): Likewise.
19722 (__libc_calloc): Likewise.
19723
01f49f59
JT
197242012-09-05 John Tobey <john.tobey@gmail.com>
19725
19726 [BZ #13542]
19727 * manual/arith.texi (Operations on Complex): Fix description
19728 of carg branch cut.
19729
4c23fed5
JM
197302012-09-06 Joseph Myers <joseph@codesourcery.com>
19731
1d3c8572
JM
19732 [BZ #10014]
19733 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19734 host name.
19735
4c23fed5
JM
19736 [BZ #10038]
19737 * manual/memory.texi (Memory): Make order of menu items match
19738 order of sections.
19739
04570aaa
L
197402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19741
19742 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19743 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19744 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19745
b80af2f4
L
197462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19747
19748 * csu/libc-tls.c (static_dtv): Renamed to ...
19749 (_dl_static_dtv): This. Make it global.
19750 (_dl_initial_dtv): Removed.
19751 (__libc_setup_tls): Updated.
19752 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19753 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19754 DL_INITIAL_DTV.
19755
2abe9f15
PM
197562012-09-06 Petr Machata <pmachata@redhat.com>
19757
19758 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19759 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19760 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19761 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19762
0948c3af
L
197632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19764
19765 [BZ #14545]
19766 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19767 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19768 freeing dtv[-1].
19769
a5055ad1
L
197702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19771
19772 [BZ #14544]
19773 * Makeconfig (link-static-before-libc): Replace $(+prector)
19774 with $(+prectorT).
19775 (link-static-after-libc): Replace $(+postctor) with
19776 $(+postctorT).
19777 (link-bounded): Replace $(+prector)/$(+postctor) with
19778 $(+prectorT)/$(+postctorT).
19779 (+prectorT): New macro.
19780 (+postctorT): Likewise.
19781
ed8c2ecd
JM
197822012-09-06 Joseph Myers <joseph@codesourcery.com>
19783
19784 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19785 (round_str): Handle values above the maximum for IBM long double
19786 as inexact.
19787 * stdlib/tst-strtod-round.c (tests): Regenerated.
19788
14c996c8
AK
197892012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19790
19791 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19792 assembler flag.
19793 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19794 zarch_nohighgprs around the zarch optimized routines.
19795 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19796 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19797 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19798 for zarch.
19799
430d6ce6
DM
198002012-09-05 David S. Miller <davem@davemloft.net>
19801
19802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19803
ff04dda4
DM
19804 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19805 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19806 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19807 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19808 entries.
19809
24d4e01b
AO
198102012-09-05 Alexandre Oliva <aoliva@redhat.com>
19811
19812 * malloc/arena.c: Fold copyright years.
19813 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19814
61d58174
AO
198152012-09-05 Alexandre Oliva <aoliva@redhat.com>
19816
19817 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19818
20196a5e
AO
198192012-09-05 Alexandre Oliva <aoliva@redhat.com>
19820
19821 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19822
5c447383
AO
198232012-09-05 Alexandre Oliva <aoliva@redhat.com>
19824
19825 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19826 change internal state upon failure.
19827
fad64255
AO
198282012-09-05 Alexandre Oliva <aoliva@redhat.com>
19829
19830 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19831 * malloc/memusage.c (mmap): Likewise.
19832 (mmap64, mremap): Likewise. Adjust name in comment.
19833
1ffb8c90
SP
198342012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19835
19836 * libio/fileops.c: Fix typos in comments.
19837 * libio/oldfileops.c: Likewise.
19838 * libio/wfileops.c: Likewise.
19839
6ef9cc37
SP
198402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19841
19842 [BZ #1349]
19843 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19844 (tst-malloc-usable-ENV): Set environment for test case.
19845 * malloc/hooks.c (malloc_check_get_size): New function to get
19846 requested size.
19847 * malloc/malloc.c (musable): Use malloc_check_get_size.
19848 * malloc/tst-malloc-usable.c: New test case.
19849
4d038ae3
AS
198502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19851
19852 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19853
c4e85184
AM
198542012-09-05 Allan McRae <allan@archlinux.org>
19855
b9dafc56 19856 [BZ #13966]
c4e85184
AM
19857 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19858 determine header location.
19859 * configure: Regenerated.
19860
e1343020
AS
198612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19862
19863 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19864 float format.
19865 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19866 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19867 format.
e1343020
AS
19868 (test): Regenerate.
19869
0a9f1987
DM
198702012-09-04 David S. Miller <davem@davemloft.net>
19871
19872 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19873 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19874 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19875
29237804
FW
198762012-09-04 Florian Weimer <fweimer@redhat.com>
19877
19878 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19879 failures.
19880
edb3cb88
FW
19881 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19882
60160d83
JM
198832012-09-04 Joseph Myers <joseph@codesourcery.com>
19884
19885 [BZ #9914]
19886 * libio/iogetdelim.c: Include <limits.h>.
19887 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19888 + len + 1 would overflow.
19889
bcd6c8dc
AJ
198902012-09-03 Andreas Jaeger <aj@suse.de>
19891
19892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19893 * sysdeps/i386/fpu/libm-test-ulps: Update.
19894
4ffffbd2
LD
198952012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19896
19897 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19898 Add s_sinf-sse2, s_conf-sse2.
19899
19900 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19901 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19902 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19903 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19904
19905 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19906 for using routine as __sinf_ia32.
19907 Use macro for function declaration and weak_alias.
19908 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19909 for using routine as __cosf_ia32.
19910 Use macro for function declaration and weak_alias.
19911
19912 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19913 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19914
19915 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19916 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19918
19919 * math/libm-test.inc (cos_test): Add more test cases.
19920 (sin_test): Likewise.
19921 (sincos_test): Likewise.
19922
511fa286
AK
199232012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19924
19925 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19926 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19927 hidden.
19928 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19929
5f30cfec
L
199302012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19931
19932 [BZ #14538]
19933 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19934 first element of the GOT.
19935 (elf_machine_load_address): Return the difference between
19936 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19937
0786794f
AM
199382012-09-01 Allan McRae <allan@archlinux.org>
19939
5f30cfec
L
19940 [BZ #13412]
19941 * configure.in (AWK): Require gawk version 3.0 or later.
19942 * configure: Regenerated.
0786794f 19943
26889eac
JM
199442012-09-01 Joseph Myers <joseph@codesourcery.com>
19945
19946 * sysdeps/unix/sysv/linux/kernel-features.h
19947 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19948 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19949 [__NR_clock_getres]: Make code unconditional.
19950 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19951 (clock_getcpuclockid): Remove code left unreachable by removal of
19952 conditionals.
19953 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19954 code unconditional.
19955 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19956 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19957 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19958 Make code unconditional.
19959 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19960 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19961 * sysdeps/unix/sysv/linux/clock_settime.c
19962 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19963 conditional code.
19964 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19965 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19966
d22e28b0
L
199672012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19968
19969 [BZ #14476]
19970 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19971 scripts/test-installation.pl.
19972
19973 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19974 and $ld_so_version if it is set.
19975
050af9c4
SP
199762012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19977
19978 [BZ #14516]
19979 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19980 failure if reading from procfs failed.
19981 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19982
ad845c0b
JM
199832012-08-27 Joseph Myers <joseph@codesourcery.com>
19984
19985 * sysdeps/unix/sysv/linux/kernel-features.h
19986 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19987 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19988 Remove conditional code.
19989 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19990 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19991 Remove conditional code.
19992 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19993 * sysdeps/unix/sysv/linux/i386/fxstat.c
19994 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19996 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19997 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19999 * sysdeps/unix/sysv/linux/i386/lxstat.c
20000 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20002 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20003 Remove conditional code.
20004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20005 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20006 Remove conditional code.
20007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20008 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20009 <kernel-features.h>.
20010 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20011 Remove.
20012 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20013 Remove conditional code.
20014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20015 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20016 Remove conditional.
20017
5dbf56af
MF
200182012-08-27 Mike Frysinger <vapier@gentoo.org>
20019
20020 [BZ #5400]
20021 * NEWS: Add fixed bug number.
20022
d6e70f43
JM
200232012-08-27 Joseph Myers <joseph@codesourcery.com>
20024
7efb4737
JM
20025 [BZ #14519]
20026 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20027 underflowing exponent in case of negative sign.
20028 * stdlib/tst-strtod-round-data: Add more tests.
20029 * stdlib/tst-strtod-round.c (tests): Regenerated.
20030
af92131a
JM
20031 [BZ #3479]
20032 * stdlib/strtod_l.c (NDIG): Remove.
20033 (HEXNDIG): Likewise.
20034 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20035 smallest representable value.
20036 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20037 lie within an exact representation of 1/2 ulp of the result.
20038 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20039 unconditionally.
20040 (TENS_P9_IDX): Define unconditionally.
20041 (TENS_P9_SIZE): Likewise.
20042 (TENS_P10_IDX): Likewise.
20043 (TENS_P10_SIZE): Likewise.
20044 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20045 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20046 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20047 entries for 10^2^13 and 10^2^14.
20048 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20049 (TENS_P13_IDX): Define.
20050 (TENS_P13_SIZE): Likewise.
20051 (TENS_P14_IDX): Likewise.
20052 (TENS_P14_SIZE): Likewise.
20053 (_fpioconst_pow10): Change array size to
20054 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20055 unconditional.
20056 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20057 1024]: Add entries for 10^2^13 and 10^2^14.
20058 [LAST_POW10 > _LAST_POW10]: Remove #error.
20059 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20060 (_fpioconst_pow10): Change array size to
20061 FPIOCONST_POW10_ARRAY_SIZE.
20062 * stdlib/gen-fpioconst.c: New file.
20063 * stdlib/gen-tst-strtod-round.c: Likewise.
20064 * stdlib/tst-strtod-round-data: Likewise.
20065 * stdlib/tst-strtod-round.c: Likewise.
20066 * stdlib/Makefile (tests): Add tst-strtod-round.
20067
d6e70f43
JM
20068 [BZ #14459]
20069 * stdlib/strtod_l.c: Include <stdint.h>.
20070 (NDEBUG): Do not define.
20071 (round_and_return): Change EXPONENT parameter to type intmax_t.
20072 Rearrange calculations to avoid internal overflow possibilities.
20073 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20074 Rearrange calculations to avoid internal overflow possibilities.
20075 Assert that number fits inside MPNSIZE limbs.
20076 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20077 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20078 calculations and add assertions to avoid internal overflow
20079 possibilities. Add casts to avoid signed/unsigned operations.
20080 * stdlib/tst-strtod-overflow.c: New file.
20081 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20082
1f529f7d
MP
200832012-08-25 Marek Polacek <polacek@redhat.com>
20084
20085 * time/time.h: Fix some typos in comments.
20086
59a629f1
RM
200872012-08-23 Roland McGrath <roland@hack.frob.com>
20088
20089 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20090 * posix/tst-rfc3484-2.c: Likewise.
20091 * posix/tst-rfc3484-3.c: Likewise.
20092
d3bafbc9
SM
200932012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20094
20095 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20096 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20097
4efcc022
JM
200982012-08-23 Joseph Myers <joseph@codesourcery.com>
20099
20100 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20101 #include of fxstatat64.c.
20102
3cc3ef96
RM
201032012-08-22 Roland McGrath <roland@hack.frob.com>
20104
f04e2132
RM
20105 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20106 * shadow/getspent_r.c: Likewise.
20107 * shadow/getspnam.c: Likewise.
20108 * shadow/getspnam_r.c: Likewise.
20109 * gshadow/getsgent.c: Likewise.
20110 * gshadow/getsgent_r.c: Likewise.
20111 * gshadow/getsgnam.c: Likewise.
20112 * gshadow/getsgnam_r.c: Likewise.
20113 * inet/getnetbyad.c: Likewise.
20114 * inet/getnetbyad_r.c: Likewise.
20115 * inet/getnetbynm.c: Likewise.
20116 * inet/getnetbynm_r.c: Likewise.
20117 * inet/getnetent.c: Likewise.
20118 * inet/getnetent_r.c: Likewise.
20119 * inet/getproto.c: Likewise.
20120 * inet/getproto_r.c: Likewise.
20121 * inet/getprtent.c: Likewise.
20122 * inet/getprtent_r.c: Likewise.
20123 * inet/getprtname.c: Likewise.
20124 * inet/getprtname_r.c: Likewise.
20125 * inet/getrpcbyname.c: Likewise.
20126 * inet/getrpcbyname_r.c: Likewise.
20127 * inet/getrpcbynumber.c: Likewise.
20128 * inet/getrpcbynumber_r.c: Likewise.
20129 * inet/getrpcent.c: Likewise.
20130 * inet/getrpcent_r.c: Likewise.
20131 * inet/getaliasent.c: Likewise.
20132 * inet/getaliasent_r.c: Likewise.
20133 * inet/getaliasname.c: Likewise.
20134 * inet/getaliasname_r.c: Likewise.
20135 * nscd/getgrgid_r.c: Likewise.
20136 * nscd/getgrnam_r.c: Likewise.
20137 * nscd/gethstbyad_r.c: Likewise.
20138 * nscd/gethstbynm3_r.c: Likewise.
20139 * nscd/getpwnam_r.c: Likewise.
20140 * nscd/getpwuid_r.c: Likewise.
20141 * nscd/getsrvbynm_r.c: Likewise.
20142 * nscd/getsrvbypt_r.c: Likewise.
20143 * nscd/gai.c: Likewise.
20144
c53d909c
RM
20145 * configure.in (build_nscd): New substituted variable, set
20146 by --disable-build-nscd and defaults to $use_nscd.
20147 * configure: Regenerated.
20148 * config.make.in (build-nscd): New substituted variable.
20149 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20150 Change conditional to require [$(build-nscd) = yes] as well.
20151 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20152
3cc3ef96
RM
20153 [BZ# 13696]
20154 * configure.in (use_nscd): New substituted variable, set by
20155 --disable-nscd. If enabled, define USE_NSCD.
20156 * configure: Regenerated.
20157 * config.h.in: Add USE_NSCD.
20158 * config.make.in (use-nscd): New substituted variable.
20159 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20160 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20161 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20162 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20163 (CFLAGS-getgrnam_r.c): Likewise.
20164 (CFLAGS-initgroups.c): Likewise.
20165 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20166 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20167 Variables removed.
20168 * inet/getnetgrent_r.c
20169 (nscd_setnetgrent): New function, broken out of ...
20170 (setnetgrent): ... here. Call it.
20171 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20172 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20173 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20174 * nscd/Makefile (routines, aux): Move definitions after include of
20175 Makeconfig. Conditionalize on [$(use-nscd) != no].
20176 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20177 Conditionalize on [USE_NSCD].
20178 (is_nscd, nscd_init_cb): Likewise.
20179 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20180 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20181 * nss/nss_db/db-init.c: Likewise.
20182 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20183 [USE_NSCD].
20184 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20185 (make_request): Use it.
20186 (cache_valid_p): New function.
20187 (__check_pf): Use it.
20188 * NEWS: Add item for --disable-nscd.
20189
07e51550
DL
201902012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20191
20192 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20193 to support sed >= 4.2.1-20-ga9bf076.
20194 * configure: Regenerated.
20195
35a5b08b
RM
201962012-08-22 Roland McGrath <roland@hack.frob.com>
20197
20198 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20199 Conditionalize whole body on [IREL].
20200
8479f23a
JL
202012012-08-22 Jeff Law <law@redhat.com>
20202
20203 [BZ #14505]
20204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20205 if the family is PF_UNSPEC.
20206
48da0b21
MF
202072012-08-22 Mike Frysinger <vapier@gentoo.org>
20208
20209 * Makerules (lib-version): Rename from V.
20210 (install-lib-nosubdir): Change V to lib-version.
20211
15d0da8c
WS
202122012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20213
20214 [BZ #14252]
20215 * powerpc32/power6/wcschr.c: New file.
20216 * powerpc32/power6/wcscpy.c: New file.
20217 * powerpc32/power6/wcsrchr.c: New file.
20218 * powerpc64/power6/wcschr.c: New file.
20219 * powerpc64/power6/wcscpy.c: New file.
20220 * powerpc64/power6/wcsrchr.c: New file.
20221
bcca0895
MK
202222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20223
20224 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20225 (two_way_short_needle): Use it.
5a4aaa33
RM
20226 * string/strstr.c (AVAILABLE1_USES_J): Define.
20227 * string/strcasestr.c: Likewise.
99677e57
MK
20228
20229 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20230 array references.
20231 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20232
400726de
MK
20233 [BZ #11607]
20234 * NEWS: Add an entry.
20235 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20236 define their defaults.
20237 (two_way_short_needle): Detect end-of-string on-the-fly.
20238 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20239 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20240 * string/bug-strcasestr1.c: New test.
20241 * string/Makefile: Run it.
20242
20a71f2c
MK
202432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20244
20245 [BZ #11607]
20246 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20247 the first character.
20248
21ad0558
RM
202492012-08-21 Roland McGrath <roland@hack.frob.com>
20250
20251 * csu/elf-init.c (__libc_csu_irel): Function removed.
20252 * csu/libc-start.c (apply_irel): New function.
20253 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20254
0e1d9911
JM
202552012-08-21 Joseph Myers <joseph@codesourcery.com>
20256
20257 * sysdeps/unix/sysv/linux/kernel-features.h
20258 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20259 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20260 <kernel-features.h>.
20261 [__NR_fadvise64_64]: Make code unconditional.
20262 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20263 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20264 !__NR_fadvise64_64)]: Likewise.
20265 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20266 !__NR_fadvise64_64))]: Likewise.
20267 [__NR_fadvise64]: Make code unconditional.
20268 [!__NR_fadvise64]: Remove conditional code.
20269 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20270 <kernel-features.h>.
20271 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20272 unconditional.
20273 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20274 conditional code.
20275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20276 not include <kernel-features.h>.
20277 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20278 unconditional.
20279 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20280 conditional code.
20281 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20282 include <kernel-features.h>.
20283 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20284 unconditional.
20285 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20286 conditional code.
20287
14a50c9d
WS
202882012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20289
20290 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20291 slight instruction rearrangements per scrollpipe analysis.
20292 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20293
c0f4faf0
RM
202942012-08-20 Roland McGrath <roland@hack.frob.com>
20295
696da859
RM
20296 * manual/syslog.texi (syslog; vsyslog, closelog):
20297 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20298 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20299
c0f4faf0
RM
20300 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20301 DSOCAPS to match condition on defining it.
20302
348363b2
JM
203032012-08-20 Joseph Myers <joseph@codesourcery.com>
20304
a35cbf28
JM
20305 * sysdeps/unix/sysv/linux/kernel-features.h
20306 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20308 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20309 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20311 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20312 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20314 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20315 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20316
445f7ecd
JM
20317 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20318 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20319
348363b2
JM
20320 * sysdeps/unix/sysv/linux/kernel-features.h
20321 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20322 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20323 unconditional.
20324 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20325 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20326 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20327 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20328 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20329 Make code unconditional.
20330 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20331 (__mmap64) [!__NR_mmap2]: Likewise.
20332 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20333 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20334 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20335 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20336 [__NR_mmap2]: Make code unconditional.
20337 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20338 (__mmap64) [!__NR_mmap2]: Likewise.
20339
bc5bc0e5
AK
203402012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20341
20342 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20343
88d506de
AJ
203442012-08-18 Andreas Jaeger <aj@suse.de>
20345
20346 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20347
493387d2
MF
203482012-08-18 Mike Frysinger <vapier@gentoo.org>
20349
20350 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20351 * include/unistd.h (__have_sock_cloexec): Likewise.
20352 (__have_pipe2): Likewise.
20353 (__have_dup3): Likewise.
20354
a277af22
MF
203552012-08-18 Mike Frysinger <vapier@gentoo.org>
20356
20357 [BZ #9685]
20358 * include/unistd.h (__have_pipe2): Change define into an extern int.
20359 (__have_dup3): Likewise.
20360 * socket/have_sock_cloexec.c: Include fcntl.h.
20361 (__have_pipe2): New variable.
20362 (__have_dup3): Likewise.
20363
fdab8fd3
MF
203642012-08-17 Mike Frysinger <vapier@gentoo.org>
20365
20366 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20367
31035e80
MP
203682012-08-17 Marek Polacek <polacek@redhat.com>
20369
20370 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20371 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20372
3bd9e993
RM
203732012-08-17 Roland McGrath <roland@hack.frob.com>
20374
c91c505f
RM
20375 * configure.in: Add AC_SUBST for sysheaders.
20376 * configure: Regenerated.
20377 * config.make.in (sysheaders): New substituted variable.
20378
7c6f9d53
RM
20379 * sysdeps/unix/mkfifo.c: Moved ...
20380 * sysdeps/posix/mkfifo.c: ... here.
20381 * sysdeps/unix/mkfifoat.c: Moved ...
20382 * sysdeps/posix/mkfifoat.c: ... here.
20383
20384 * sysdeps/unix/utime.c: Moved ...
20385 * sysdeps/posix/utime.c: ... here.
20386
20387 * sysdeps/unix/time.c: Moved ...
20388 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20389 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20390 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20391
20392 * sysdeps/unix/nice.c: Moved ...
20393 * sysdeps/posix/nice.c: ... here.
20394
20395 * sysdeps/unix/alarm.c: Moved ...
20396 * sysdeps/posix/alarm.c: ... here.
20397
3bd9e993
RM
20398 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20399
d1f09384
JL
204002012-08-17 Jeff Law <law@redhat.com>
20401
20402 * intl/Makefile (codeset_mo): New variable.
20403 ($(codeset_mo)): New target.
20404 (tst-codeset.out): Depend on that. Remove explicit rule.
20405 (tst-gettext3.out, tst-gettext5.out): Likewise.
20406 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20407 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20408 * intl/tst-codeset.sh: Remove.
20409 * intl/tst-gettext3.sh: Likewise.
20410 * intl/tst-gettext5.sh: Likewise.
20411
2ae1ae5c
RM
204122012-08-17 Roland McGrath <roland@hack.frob.com>
20413
c31fdb83
RM
20414 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20415 * sysdeps/unix/syscalls.list: ... here.
20416
a0844057
RM
20417 * sysdeps/posix/getaddrinfo.c
20418 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20419 (gaiconf_init, gaiconf_reload): Use them.
20420 [!_STATBUF_ST_NSEC]
20421 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20422 Define using time_t rather than struct timespec.
20423
750c1f2a
RM
20424 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20425 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20426 Macros removed.
20427 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20428 [!NO_THREADS].
20429 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20430 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20431 Likewise.
20432
2ae1ae5c
RM
20433 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20434 __libc_cleanup_push argument.
20435
e66a42f5
RM
20436 * bits/param.h: New file.
20437 * misc/sys/param.h: New file.
20438 * include/sys/param.h: New file.
20439 * misc/Makefile (headers): Add bits/param.h.
20440 * sysdeps/generic/sys/param.h: File removed.
20441 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20442 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20443 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20444 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20445
b7c08a66
RM
20446 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20447 last change.
20448
b2e1c562
RM
20449 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20450 [_IO_MTSAFE_IO].
20451 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20452 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20453 New macros.
20454
c75ccd4c
RM
20455 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20456 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20457 rather than -D_IO_MTSAFE_IO conditionally.
20458 * stdio-common/Makefile (CPPFLAGS): Likewise.
20459 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20460 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20461 Use $(libio-mtsafe).
20462 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20463 of -D_IO_MTSAFE_IO.
20464 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20465 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20466 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20467 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20468 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20469 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20470 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20471 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20472 (CFLAGS-fread_u_chk.c): Likewise.
20473 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20474 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20475 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20476 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20477 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20478 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20479 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20480 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20481 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20482
20483 * libio/Makefile: Test [$(libc-reentrant) = yes]
20484 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20485
20486 * Makeconfig
20487 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20488 * sysdeps/pthread/configure: File removed.
20489 * sysdeps/pthread/Makeconfig: New file.
20490 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20491 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20492
d9195db8
GB
204932012-08-16 Gary Benson <gbenson@redhat.com>
20494
20495 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20496 unmapping the first object in a namespace.
20497
86466cd9
RM
204982012-08-16 Roland McGrath <roland@hack.frob.com>
20499
20500 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20501 (__internal_setnetgrent): ... this. Add internal_function to
20502 definition. Add libc_hidden_def.
20503 (setnetgrent): Update caller.
20504 (internal_endnetgrent): Renamed to ...
20505 (__internal_endnetgrent): ... this. Add internal_function to
20506 definition. Add libc_hidden_def.
20507 (endnetgrent): Update caller.
20508 (internal_getnetgrent_r): Renamed to ...
20509 (__internal_getnetgrent_r): ... this. Add internal_function to
20510 definition. Add libc_hidden_def.
20511 (__getnetgrent_r): Update caller.
20512 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20513
c3c8283c
JM
205142012-08-16 Joseph Myers <joseph@codesourcery.com>
20515
20516 * stdlib/longlong.h: Update from GCC.
20517
db1ee0a8
RM
205182012-08-16 Roland McGrath <roland@hack.frob.com>
20519
20520 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20521 on _QL, which is set by umul_ppmm but never used.
20522 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20523 variables, which are set by GMP macros but never used.
20524 * stdio-common/_itowa.c (_itowa): Likewise.
20525 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20526 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20527
30f69637
CD
205282012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20529
20530 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20531 struct La_sh_regs is not constant.
20532 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20533 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20534 and struct La_sparc64_regs are not constant.
20535
93a78ac4
JM
205362012-08-16 Joseph Myers <joseph@codesourcery.com>
20537
20538 * sysdeps/unix/sysv/linux/kernel-features.h
20539 (__ASSUME_POSIX_TIMERS): Remove.
20540 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20541 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20542 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20543 Make code unconditional.
20544 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20545 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20546 Make code unconditional.
20547 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20548 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20549 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20550 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20551 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20552 Make code unconditional.
20553 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20554 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20555 (__libc_missing_posix_timers): Remove.
20556
dd924cd7
RM
205572012-08-15 Roland McGrath <roland@hack.frob.com>
20558
4b4f2771
RM
20559 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20560 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20561
601c888b
RM
20562 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20563
176790a7
RM
20564 * elf/dl-sym.c: Include <stdlib.h>.
20565
329bc018
RM
20566 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20567 constants, which avoids warnings in 32-bit builds.
20568
e04e272d
RM
20569 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20570 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20571
952bf94a
RM
20572 * misc/lseek.c: File moved to ...
20573 * io/lseek.c: ... here.
20574
7c99b50a
RM
20575 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20576
dd924cd7
RM
20577 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20578 shifting LEN more than 31 bits at once.
20579
b3f479a8
LD
205802012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20581
20582 [BZ #14195]
8c4ae0d4
RM
20583 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20584 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20585 * string/test-strncasecmp.c (check1): Renamed to...
20586 (bz12205): ...this.
20587 (bz14195): Add new testcase for two empty input strings and N > 0.
20588 (test_main): Call new testcase, adapt for renamed function.
20589
9c55864e
AJ
205902012-08-15 Andreas Jaeger <aj@suse.de>
20591
20592 [BZ #14090]
20593 * crypt/md5test2.c: New test, based on test supplied by Serge
20594 Belyshev <belyshev@depni.sinp.msu.ru>.
20595 * crypt/Makefile (xtests): Add md5test-giant..
20596 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20597
02dcb6c5
PE
205982012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20599
20600 [BZ #14090]
20601 * crypt/md5.c (md5_process_block): Don't assume the buffer
20602 length is less than 2**32.
20603 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20604 length is less than 2**64.
20605
a3f95dcc
RM
206062012-08-15 Roland McGrath <roland@hack.frob.com>
20607
be75d758
RM
20608 * string/str-two-way.h: Include <sys/param.h>.
20609 (MAX): Macro removed.
20610
7312ca90
RM
20611 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20612 Move #define and #undef of memmove to just before and after
20613 including <string.h>.
20614
9a0a5486
RM
20615 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20616 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20617 and after including <string.h>. Move declarations of
20618 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20619 to before #include "string/memmove.c".
20620
67cc348d
RM
20621 * include/dirent.h: Declare __getdirentries.
20622
a3f95dcc
RM
20623 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20624 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20625
ca98e171
MF
206262012-08-14 Mike Frysinger <vapier@gentoo.org>
20627
20628 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20629 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20630 * sysdeps/i386/configure: Regenerated.
20631 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20632 STABS_CURRENT_FILE, and STABS_FUN.
20633 (END): Remove call to STABS_FUN_END.
20634 (STABS_CURRENT_FILE1): Delete.
20635 (STABS_CURRENT_FILE): Likewise.
20636 (STABS_FUN): Likewise.
20637 (STABS_FUN_END): Likewise.
20638 (STABS_FUN2): Likewise.
20639 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20640 * sysdeps/x86_64/configure: Regenerated.
20641
5908bf46
RM
206422012-08-14 Roland McGrath <roland@hack.frob.com>
20643
20644 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20645 * elf/dl-lookup.c: Likewise.
5908bf46 20646
f2c05b9e
JM
206472012-08-14 Joseph Myers <joseph@codesourcery.com>
20648
20649 * sysdeps/unix/sysv/linux/kernel-features.h
20650 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20651 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20652 unconditionally.
20653 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20654 unconditionally.
20655 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20656 condition on __ASSUME_CLONE_THREAD_FLAGS.
20657
e11f5155
AJ
206582012-08-14 Andreas Jaeger <aj@suse.de>
20659
20660 * sysdeps/i386/fpu/libm-test-ulps: Update.
20661
51a9ba86
MK
206622012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20663
2fdd4f78
AJ
20664 * include/atomic.h (atomic_exchange_and_add): Split into ...
20665 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20666 New atomic macros.
51a9ba86 20667
ba6cba9e
MT
206682012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20669
20670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20671
42443a47
JL
206722012-08-13 Jeff Law <law@redhat.com>
20673
20674 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20675 null byte in the output string.
20676
121dce05
JM
206772012-08-10 Joseph Myers <joseph@codesourcery.com>
20678
20679 * sysdeps/unix/sysv/linux/kernel-features.h
20680 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20681 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20682 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20684 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20685 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20686 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20687
bf51f568
JL
206882012-08-09 Jeff Law <law@redhat.com>
20689
20690 [BZ #13939]
20691 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20692 When avoid_arena is set, don't retry in the that arena. Pick the
20693 next one, whatever it might be.
20694 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20695 (arena_lock): Pass in new parameter to arena_get2.
20696 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20697 arena_get2.
20698 (__libc_malloc): Unify retrying after main arena failure with
20699 __libc_memalign version.
20700 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20701
f85fa270
L
207022012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20703
20704 [BZ #14166]
20705 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20706 to __redirect_strstr.
20707 (__strstr_sse42): Use typeof __redirect_strstr.
20708 (__strstr_ia32): Likewise.
20709 (__libc_strstr): New prototype.
20710 (strstr): Renamed to ...
20711 (__libc_strstr): This.
20712 (strstr): New strong alias of __libc_strstr.
20713 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20714 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20715 __redirect_time.
20716 Include <time.h>.
20717 (__libc_time): New prototype.
20718 (time_ifunc): Replace time with __libc_time.
20719 (time): New strong alias and hidden definition of __libc_time.
20720 (__GI_time): Remove strong alias.
20721 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20722 Include <stddef.h>.
20723 (memmove): Redefined to __redirect_memmove.
20724 (__memmove_sse2): Use typeof __redirect_memmove.
20725 (__memmove_ssse3): Likewise.
20726 (__memmove_ssse3_back): Likewise.
20727 (__libc_memmove): New prototype.
20728 (memmove): Renamed to ...
20729 (__libc_memmove): This.
20730 (memmove): New strong alias of __libc_memmove.
20731
33b4a91e
MS
207322012-08-08 Mark Salter <msalter@redhat.com>
20733
20734 * elf/elf.h
20735 (R_MN10300_TLS_GD): Define.
20736 (R_MN10300_TLS_LD): Likewise.
20737 (R_MN10300_TLS_LDO): Likewise.
20738 (R_MN10300_TLS_GOTIE): Likewise.
20739 (R_MN10300_TLS_IE): Likewise.
20740 (R_MN10300_TLS_LE): Likewise.
20741 (R_MN10300_TLS_DTPMOD): Likewise.
20742 (R_MN10300_TLS_DTPOFF): Likewise.
20743 (R_MN10300_TLS_TPOFF): Likewise.
20744 (R_MN10300_SYM_DIFF): Likewise.
20745 (R_MN10300_ALIGN): Likewise.
20746 (R_MN10300_NUM): Update.
20747
b36137f1
JM
207482012-08-08 Joseph Myers <joseph@codesourcery.com>
20749
20750 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20751 Remove.
20752
cdd915fd
RM
207532012-08-08 Roland McGrath <roland@hack.frob.com>
20754
a2433aac
RM
20755 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20756
cdd915fd
RM
20757 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20758 sysdeps/unix -> sysdeps/posix move.
20759 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20760
bf9b740a
AM
207612012-08-07 Allan McRae <allan@archlinux.org>
20762
20763 [BZ #14303]
20764 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20765 (SUNOS_CPP): Likewise.
20766 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20767 not found.
20768 (open_input): Call CPP using execvp.
20769
93df14ee
JM
207702012-08-07 Joseph Myers <joseph@codesourcery.com>
20771
20772 * sysdeps/unix/sysv/linux/kernel-features.h
20773 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20774 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20775 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20776 (__ASSUME_WAITID_SYSCALL): Likewise.
20777 * sysdeps/unix/sysv/linux/dl-execstack.c
20778 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20779 code unconditional.
20780 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20781 conditional code.
20782 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20783 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20784 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20785 code.
20786 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20787 unconditional.
20788 [__ASSUME_WAITID_SYSCALL]: Likewise.
20789 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20790
d34689de
RM
207912012-08-07 Roland McGrath <roland@hack.frob.com>
20792
a281decc
RM
20793 * sysdeps/unix/closedir.c: Renamed to ...
20794 * sysdeps/posix/closedir.c: ... here.
20795 * sysdeps/unix/dirfd.c: Renamed to ...
20796 * sysdeps/posix/dirfd.c: ... here.
20797 * sysdeps/unix/dirstream.h: Renamed to ...
20798 * sysdeps/posix/dirstream.h: ... here.
20799 * sysdeps/unix/fdopendir.c: Renamed to ...
20800 * sysdeps/posix/fdopendir.c: ... here.
20801 * sysdeps/unix/opendir.c: Renamed to ...
20802 * sysdeps/posix/opendir.c: ... here.
20803 * sysdeps/unix/readdir.c: Renamed to ...
20804 * sysdeps/posix/readdir.c: ... here.
20805 * sysdeps/unix/readdir_r.c: Renamed to ...
20806 * sysdeps/posix/readdir_r.c: ... here.
20807 * sysdeps/unix/rewinddir.c: Renamed to ...
20808 * sysdeps/posix/rewinddir.c: ... here.
20809 * sysdeps/unix/seekdir.c: Renamed to ...
20810 * sysdeps/posix/seekdir.c: ... here.
20811 * sysdeps/unix/telldir.c: Renamed to ...
20812 * sysdeps/posix/telldir.c: ... here.
20813 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20814 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20815 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20816 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20817
22895b47
RM
20818 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20819 * bits/fcntl.h: ... here.
20820
707a53b6
RM
20821 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20822 not 0.
20823 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20824 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20825 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20826 (struct flock): Move l_start, l_len to the beginning.
20827 Use __pid_t for l_pid.
20828 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20829 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20830 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20831 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20832 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20833 [__USE_LARGEFILE64] (struct flock64): New type.
20834 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20835
f0bd3e25
RM
20836 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20837 * bits/dirent.h: ... here.
20838
d34689de
RM
20839 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20840 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20841
6dad2c06
JM
208422012-08-07 Joseph Myers <joseph@codesourcery.com>
20843
20844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20845 Change from 2.6.0 to 2.6.16.
20846 * sysdeps/unix/sysv/linux/configure: Regenerated.
20847 * sysdeps/unix/sysv/linux/kernel-features.h
20848 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20849 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20850 version.
20851 (__ASSUME_UTIMES): Likewise.
20852 (__ASSUME_CLONE_STOPPED): Remove.
20853 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20854 architectures, not kernel version.
20855 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20856 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20857 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20858 (__ASSUME_WAITID_SYSCALL): Likewise.
20859 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20860 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20861 * README: State 2.6.16 as minimum Linux kernel version. Do not
20862 refer to older versions.
20863
03af9520
RM
208642012-08-06 Roland McGrath <roland@hack.frob.com>
20865
8e49df1d
RM
20866 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20867 Define alphasort64 as an alias.
20868 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20869 Define versionsort64 as an alias.
20870 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20871 Define scandir64 as an alias.
20872 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20873 Define scandirat64 as an alias.
20874 * dirent/alphasort64.c (alphasort64):
20875 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20876 * dirent/versionsort64.c: Likewise.
20877 * dirent/scandir64.c: Likewise.
20878 * dirent/scandirat64.c: Likewise.
20879 * sysdeps/wordsize-64/alphasort.c: File removed.
20880 * sysdeps/wordsize-64/alphasort64.c: File removed.
20881 * sysdeps/wordsize-64/scandir.c: File removed.
20882 * sysdeps/wordsize-64/scandir64.c: File removed.
20883 * sysdeps/wordsize-64/scandirat.c: File removed.
20884 * sysdeps/wordsize-64/scandirat64.c: File removed.
20885 * sysdeps/wordsize-64/versionsort.c: File removed.
20886 * sysdeps/wordsize-64/versionsort64.c: File removed.
20887 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20888 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20889 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20890 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20891 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20892 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20893 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20894 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20895
20896 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20898 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20900 [defined __arch64__ || defined __sparcv9]
20901 (__INO_T_MATCHES_INO64_T): New macro.
20902 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20903 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20904 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20905 * sysdeps/unix/sysv/linux/bits/dirent.h
20906 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20907 (_DIRENT_MATCHES_DIRENT64): New macro.
20908
03af9520
RM
20909 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20910 Define lockf64 as an alias.
20911 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20912 Define fseeko64 as an alias.
20913 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20914 Define ftello64 as an alias.
20915 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20916 Define _IO_fgetpos64 and fgetpos64 as aliases.
20917 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20918 Define _IO_fsetpos64 and fsetpos64 as aliases.
20919 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20920 Conditionalize body on this.
20921 * libio/fseeko64.c: Likewise.
20922 * libio/ftello64.c: Likewise.
20923 * libio/iofgetpos64.c: Likewise.
20924 * libio/iofsetpos64.c: Likewise.
20925 * sysdeps/wordsize-64/lockf.c: File removed.
20926 * sysdeps/wordsize-64/lockf64.c: File removed.
20927 * sysdeps/wordsize-64/fseeko.c: File removed.
20928 * sysdeps/wordsize-64/fseeko64.c: File removed.
20929 * sysdeps/wordsize-64/ftello.c: File removed.
20930 * sysdeps/wordsize-64/ftello64.c: File removed.
20931 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20932 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20933 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20934 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20936 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20937 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20938 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20939 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20940 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20941 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20942 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20943 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20944 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20945
20946 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20947 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20948 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20950 [defined __arch64__ || defined __sparcv9]
20951 (__OFF_T_MATCHES_OFF64_T): New macro.
20952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20953 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20955 (__OFF_T_MATCHES_OFF64_T): New macro.
20956
c5757acd
L
209572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20958
20959 * stdlib/secure-getenv.c (__secure_getenv): Replace
20960 GLIBC_2_16 with GLIBC_2_17.
20961
3a31811e
L
209622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20963
20964 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20965 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20966
faa2bccb
DM
209672012-08-03 David S. Miller <davem@davemloft.net>
20968
20969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20970
85fe1997
JM
209712012-08-03 Joseph Myers <joseph@codesourcery.com>
20972
20973 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20974 Remove.
20975 (__ASSUME_CORRECT_SI_PID): Likewise.
20976 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20977 (__ASSUME_TMPFS_NAME): Likewise.
20978 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20979 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20980 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20981 (HAVE_AUX_SECURE): Make definition unconditional.
20982 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20983 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20984
4f75b7a0
RM
209852012-08-03 Roland McGrath <roland@hack.frob.com>
20986
20987 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20988 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20989 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20990 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20991 __eloop_threshold instead of SYMLOOP_MAX.
20992
20993 * sysdeps/generic/eloop-threshold.h: New file.
20994 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20995 of MAXSYMLINKS.
20996 * elf/chroot_canon.c (chroot_canon): Likewise.
20997
7aab07e4
JM
209982012-08-03 Joseph Myers <joseph@codesourcery.com>
20999
21000 [BZ #13717]
21001 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21002 Change to 2.6.0 everywhere.
21003 * sysdeps/unix/sysv/linux/configure: Regenerated.
21004 * sysdeps/unix/sysv/linux/kernel-features.h
21005 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21006 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21007 kernel versions.
21008 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21009 (__ASSUME_FUTEX_REQUEUE): Remove.
21010 (__ASSUME_STATFS64): Define unconditionally.
21011 (__ASSUME_AT_SECURE): Likewise.
21012 (__ASSUME_CORRECT_SI_PID): Likewise.
21013 (__ASSUME_TGKILL): Define without depending on kernel version for
21014 i386.
21015 (__ASSUME_UTIMES): Likewise.
21016 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21017 kernel version.
21018 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21019 (__ASSUME_TMPFS_NAME): Likewise.
21020 * README: Update reference to Linux kernel versions.
21021
b67e9372
MP
210222012-08-02 Marek Polacek <polacek@redhat.com>
21023
1f529f7d 21024 [BZ# 14150]
b67e9372
MP
21025 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21026 libc_cv_asm_type_prefix with %.
21027 * configure: Regenerated.
d2441631
RM
21028 * include/libc-symbols.h: Remove comment about
21029 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
21030 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21031 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21032 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21033 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21034 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21035 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21036 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21037 * elf/tst-unique2mod1.c: Likewise.
21038 * elf/tst-unique1mod2.c: Likewise.
21039 * elf/tst-unique1mod1.c: Likewise.
21040 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21041 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21042 Replace ASM_TYPE_DIRECTIVE with .type.
21043 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21044 * sysdeps/i386/sysdep.h: Likewise.
21045 * sysdeps/x86_64/sysdep.h: Likewise.
21046 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
21047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21048 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 21049 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
21050 * sysdeps/powerpc/powerpc32/sysdep.h:
21051 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
21052 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21053 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21054 * sysdeps/i386/fpu/e_powf.S: Likewise.
21055 * sysdeps/i386/fpu/e_expl.S: Likewise.
21056 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21057 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21058 * sysdeps/i386/fpu/e_pow.S: Likewise.
21059 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21060 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21061 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21062 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21063 * sysdeps/i386/fpu/e_log2.S: Likewise.
21064 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21065 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21066 * sysdeps/i386/fpu/e_powl.S: Likewise.
21067 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21068 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21069 * sysdeps/i386/fpu/e_logl.S: Likewise.
21070 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21071 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21072 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21073 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21074 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21075 * sysdeps/i386/fpu/e_log.S: Likewise.
21076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21077 * sysdeps/i386/fpu/e_logf.S: Likewise.
21078 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21079 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21080 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21081 * sysdeps/i386/fpu/e_log10.S: Likewise.
21082 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21083 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21084 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21085 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21086 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21087 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21088 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21089 * sysdeps/i386/i686/strtok.S: Likewise.
21090 * sysdeps/i386/i386-mcount.S: Likewise.
21091 * sysdeps/i386/strtok.S: Likewise.
21092 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21093 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21094 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21095 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21096 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21097 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21098 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21099 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21100 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21101 * sysdeps/x86_64/_mcount.S: Likewise.
21102 * sysdeps/x86_64/strtok.S: Likewise.
21103 * sysdeps/sh/_mcount.S: Likewise.
21104
2747bf9a
RM
211052012-08-01 Roland McGrath <roland@hack.frob.com>
21106
21107 * libio/iofopen.c: Include <fcntl.h>.
21108 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21109 (_IO_fopen64, fopen64): Define as aliases.
21110 * libio/iofopen64.c: Include <fcntl.h>.
21111 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21112 Conditionalize body on this.
21113 * sysdeps/wordsize-64/iofopen.c: File removed.
21114 * sysdeps/wordsize-64/iofopen64.c: File removed.
21115
3fb791b8
MP
211162012-08-01 Marek Polacek <polacek@redhat.com>
21117
21118 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21119 Use dlfcn directly instead of a variable.
21120 (binfmt-subdir): Do not define.
21121 (dlfcn): Likewise.
21122
a9f1039f
JM
211232012-08-01 Joseph Myers <joseph@codesourcery.com>
21124
23bddc06
JM
21125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21126 Remove all definitions.
21127 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21128 <kernel-features.h>.
21129 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21130 (miss_F_GETOWN_EX): Remove all definitions.
21131 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21132 macro definition.
21133 [!__ASSUME_FCNTL64]: Remove conditional code.
21134 [__ASSUME_FCNTL64]: Make code unconditional.
21135 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21136 <kernel-features.h>.
21137 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21138 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21139 (lockf64) [__NR_fcntl64]: Make code unconditional.
21140 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21141
a9f1039f
JM
21142 * sysdeps/unix/sysv/linux/kernel-features.h
21143 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21144 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21145 Make code unconditional.
21146 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21147 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21149 [__NR_vfork]: Make code unconditional.
21150 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21151 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21153 [__NR_vfork]: Make code unconditional.
21154 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21155 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21156
09c0ee5f
RM
211572012-08-01 Roland McGrath <roland@hack.frob.com>
21158
48aec5b9
RM
21159 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21160 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21161
cd97c966
RM
21162 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21163 Define mkstemp64 as an alias.
3f55550c
RM
21164 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21165 Define mkstemps64 as an alias.
cd97c966
RM
21166 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21167 Define mkostemp64 as an alias.
b8625cfc
RM
21168 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21169 Define mkostemps64 as an alias.
cd97c966
RM
21170 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21171 Conditionalize body on this.
21172 * misc/mkostemp64.c: Likewise.
b8625cfc 21173 * misc/mkostemps64.c: Likewise.
3f55550c 21174 * misc/mkstemps64.c: Likewise.
cd97c966
RM
21175 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21176 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21177 * sysdeps/wordsize-64/mkostemp.c: File removed.
21178 * sysdeps/wordsize-64/mkstemp.c: File removed.
21179 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21180 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21181 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21182 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21183
09c0ee5f
RM
21184 [BZ #14138]
21185 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21186 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21187 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21188 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21189
21190 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21191 compat_symbol macros from <shlib-compat.h> rather than the underlying
21192 default_symbol_version and symbol_version macros, so that DEFAULT
21193 lines in shlib-versions are respected.
21194 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21195
7e66ee51
FW
211962012-08-01 Florian Weimer <fweimer@redhat.com>
21197
21198 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21199 Declare with warn_unused_result.
21200 (setgid, setregid, setegid, setresgid): Likewise.
21201 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21202 Likewise.
21203 * WUR-REPORT: Remove set*id functions.
21204
d2a54255
PT
212052012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21206
21207 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21208
7ecdb005
RM
212092012-07-31 Roland McGrath <roland@hack.frob.com>
21210
b4180a5e 21211 [BZ #10191]
789bd351
RM
21212 * include/sys/socket.h (__libc_accept, __libc_accept4):
21213 Add attribute_hidden.
21214 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21215
40ce302d
RM
21216 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21217 use of PTR_MANGLE.
21218 * inet/getnetgrent_r.c (setup): Likewise.
21219
7ecdb005
RM
21220 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21221
e2eabb2c
DM
212222012-07-31 David S. Miller <davem@davemloft.net>
21223
21224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21225
d0419dbf
JM
212262012-07-31 Joseph Myers <joseph@codesourcery.com>
21227
21228 [BZ #13629]
21229 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21230 value between 1.0 and 2.0 and smaller part has absolute value less
21231 than 1.0.
21232 * math/s_clog10.c (__clog10): Likewise.
21233 * math/s_clog10f.c (__clog10f): Likewise.
21234 * math/s_clog10l.c (__clog10l): Likewise.
21235 * math/s_clogf.c (__clogf): Likewise.
21236 * math/s_clogl.c (__clogl): Likewise.
21237 * math/libm-test.inc (clog_test): Add more tests.
21238 (clog10_test): Likewise.
21239 * sysdeps/i386/fpu/libm-test-ulps: Update.
21240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21241
2bc13872
FW
212422012-07-31 Florian Weimer <fweimer@redhat.com>
21243
21244 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21245 Exit with zero in case no suitable GID is found, and write a
21246 message to standard error.
21247
bea9b193
RM
212482012-07-30 Roland McGrath <roland@hack.frob.com>
21249
21250 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21251 rather than to 1.
21252 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21253 (MAXPATHLEN): Removed.
21254 (NOGROUP, NODEV): New macros.
21255 (setbit, clrbit, isset, isclr): New macros.
21256 (howmany, roundup, powerof2): New macros.
21257 (DEV_BSIZE): New macro.
21258
21259 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21260 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21261
21262 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21263 definition on [!__NO_LONG_DOUBLE_MATH].
21264
21265 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21266 PTR_MANGLE and PTR_DEMANGLE.
21267
21268 * socket/accept4.c (accept4): Rename to __libc_accept4.
21269 Define accept4 as a weak alias.
21270
21271 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21272 on [_DIRENT_HAVE_D_TYPE].
21273 * io/ftw.c (ftw_dir): Likewise.
21274
21275 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21276
21277 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21278
21279 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21280 Use the BSD numbers rather than the arbitrary ones we had.
21281 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21282 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21283 (SIGXCPU, SIGXFSZ): New macros.
21284 (_NSIG): Now 32.
21285
21286 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21287 initializer on [_LIBC_REENTRANT].
21288
21289 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21290 definitions inside [_POSIX_MAPPED_FILES].
21291
21292 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21293
21294 * dirent/opendir.c: Include <fcntl.h>.
21295
21296 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21297 (__libc_getspecific): Likewise.
21298 (__libc_key_create): Likewise.
21299
21300 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21301 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21302 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21303 (tmpfile64): Define as alias.
21304 * sysdeps/wordsize-64/tmpfile.c: File removed.
21305 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21306 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21307 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21308
21309 * stdio-common/vfscanf.c: Include <stdbool.h>.
21310 * nss/makedb.c: Likewise.
21311 * stdio-common/_i18n_number.h: Likewise.
21312 * argp/argp-help.c: Likewise.
21313 * posix/wordexp.c: Likewise.
21314 * sysdeps/posix/spawni.c: Likewise.
21315 * nss/nss_files/files-initgroups.c: Likewise.
21316 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21317 * nss/nss_files/files-initgroups.c: Likewise.
21318 * nss/nss_db/db-netgrp.c: Likewise.
21319 * nss/nss_db/db-initgroups.c: Likewise.
21320 * io/fchmodat.c: Include <sys/stat.h>.
21321
21322 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21323 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21324
21325 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21326 [HAVE_MMAP].
21327
21328 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21329 Add multiple inclusion protection.
21330
e5abc686
DM
213312012-07-27 David S. Miller <davem@davemloft.net>
21332
21333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21334
815e6fa3
GB
213352012-07-27 Gary Benson <gbenson@redhat.com>
21336
21337 [BZ #14298]
21338 * elf/rtld.c: Include <stap-probe.h>.
21339 (dl_main): Added static probes "init_start" and "init_complete".
21340 * elf/dl-load.c: Include <stap-probe.h>.
21341 (lose): Take new parameter "nsid".
21342 Added static probe "map_failed".
21343 (_dl_map_object_from_fd): Pass namespace id to lose.
21344 Added static probe "map_start".
21345 (open_verify): Pass namespace id to lose.
21346 * elf/dl-open.c: Include <stap-probe.h>.
21347 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21348 and "reloc_complete".
21349 * elf/dl-close.c: Include <stap-probe.h>.
21350 (_dl_close_worker): Added static probes "unmap_start" and
21351 "unmap_complete".
21352 * elf/rtld-debugger-interface.txt: New file documenting the above.
21353
9f98c16c
RM
213542012-07-26 Roland McGrath <roland@hack.frob.com>
21355
21356 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21357 rather than a string variable.
21358 * sunrpc/rpc_main.c (h_output): Likewise.
21359 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21360
f3c22df3
PT
213612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21362
21363 * inet/check_native.c: New file.
21364
3129cfc6
JM
213652012-07-26 Joseph Myers <joseph@codesourcery.com>
21366
da865e95
JM
21367 [BZ #13629]
21368 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21369 if larger part has absolute value 1.0.
21370 * math/s_clog10.c (__clog10): Likewise.
21371 * math/s_clog10f.c (__clog10f): Likewise.
21372 * math/s_clog10l.c (__clog10l): Likewise.
21373 * math/s_clogf.c (__clogf): Likewise.
21374 * math/s_clogl.c (__clogl): Likewise.
21375 * math/libm-test.inc (clog_test): Add more tests.
21376 (clog10_test): Likewise.
21377 * sysdeps/i386/fpu/libm-test-ulps: Update.
21378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21379
3129cfc6
JM
21380 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21381 (pltexit): Likewise.
21382 (La_regs): Likewise.
21383 (La_retval): Likewise.
21384 (int_retval): Likewise.
21385 Update #error for removed macros to refer only to definitions in
21386 tst-audit.h.
21387 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21388 macro.
21389 (pltexit): Likewise.
21390 (La_regs): Likewise.
21391 (La_retval): Likewise.
21392 (int_retval): Likewise.
21393 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21394 macro.
21395 (pltexit): Likewise.
21396 (La_regs): Likewise.
21397 (La_retval): Likewise.
21398 (int_retval): Likewise.
21399 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21400 macro.
21401 (pltexit): Likewise.
21402 (La_regs): Likewise.
21403 (La_retval): Likewise.
21404 (int_retval): Likewise.
21405 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21406 macro.
21407 (pltexit): Likewise.
21408 (La_regs): Likewise.
21409 (La_retval): Likewise.
21410 (int_retval): Likewise.
21411 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21412 macro.
21413 (pltexit): Likewise.
21414 (La_regs): Likewise.
21415 (La_retval): Likewise.
21416 (int_retval): Likewise.
21417 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21418 macro.
21419 (pltexit): Likewise.
21420 (La_regs): Likewise.
21421 (La_retval): Likewise.
21422 (int_retval): Likewise.
21423 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21424 macro definitions in tst-audit.h.
21425 * sysdeps/i386/tst-audit.h: New file.
21426 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21427 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21428 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21429 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21430 * sysdeps/sh/tst-audit.h: Likewise.
21431 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21432 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21433 * sysdeps/x86_64/tst-audit.h: Likewise.
21434
bfc07087
AJ
214352012-07-26 Andreas Jaeger <aj@suse.de>
21436
b1b2aaf8
AJ
21437 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21438 ptrace.
21439
21440 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21441 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21442 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21443 PTRACE_O_MASK.
21444 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21445 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21446 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21447
bfc07087
AJ
21448 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21449 value.
21450
21451 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21452 _sigsys.
21453 (si_call_addr, si_syscall, si_arch): Define new macro.
21454 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21455 _sigsys.
21456 (si_call_addr, si_syscall, si_arch): Define new marcro.
21457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21458 _sigsys.
21459 (si_call_addr, si_syscall, si_arch): Define new macro.
21460 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21461 _sigsys.
21462 (si_call_addr, si_syscall, si_arch): Define new macro.
21463
89b4b02f
JM
214642012-07-25 Joseph Myers <joseph@codesourcery.com>
21465
21466 [BZ #13717]
21467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21468 Change to 2.4.21 where previously 2.4.1.
21469 * sysdeps/unix/sysv/linux/configure: Regenerated.
21470 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21471 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21472 Linux kernel version.
21473 (__ASSUME_STD_AUXV): Remove.
21474 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21475 kernel version.
21476 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21477 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21478 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21479 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21480 (__ASSUME_NETLINK_SUPPORT): Likewise.
21481 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21482 (__no_netlink_support): Remove conditional definition.
21483 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21484 Remove.
21485 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21486 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21487 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21488 (if_nameindex_ioctl): Remove.
21489 (if_nameindex_netlink): Do not handle __no_netlink_support.
21490 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21491 code.
21492 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21493 Remove conditional code.
21494 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21495 code.
21496 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21497 unconditional.
21498 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21499 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21500 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21501 Remove.
21502 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21503 [!__ASSUME_STD_AUXV]: Remove conditional code.
21504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21505 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21506 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21508 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21509 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21510 code.
21511 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21513 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21514 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21515 conditional code.
21516 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21518 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21519 code.
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21521 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21522 conditional code.
21523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21524 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21525 code unconditional.
21526 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21527 conditional code.
21528 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21529 unconditional.
21530 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21531 conditional code.
21532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21533 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21534 unconditional.
21535 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21536 conditional code.
21537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21538 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21539 code unconditional.
21540 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21541 conditional code.
21542 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21543 unconditional.
21544 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21545 conditional code.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21547 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21548 code unconditional.
21549 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21550 conditional code.
21551 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21552 unconditional.
21553 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21554 conditional code.
21555
842a39cd
AS
215562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21557
21558 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21559 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21560 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21561 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21562 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21563 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21564 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21565 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21566 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21567 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21568 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21569 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21570 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21571 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21572 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21573 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21574 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21576 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21578 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21579 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21580 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21581
84b3fd84
FW
215822012-07-25 Florian Weimer <fweimer@redhat.com>
21583
21584 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21585 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21586 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21587 Introduce __libc_secure_getenv.
0c7936d5
FW
21588 * stdlib/Versions (2.17): Add secure_getenv
21589 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21590 * stdlib/secure-getenv.c: Rename __secure_getenv to
21591 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21592 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21593 * stdlib/tst-secure-getenv.c: New.
21594 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21595 * manual/startup.texi (Environment Access): Document
21596 secure_getenv.
84b3fd84
FW
21597 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21598 __libc_secure_getenv.
21599 * inet/ruserpass.c (ruserpass): Likewise.
21600 * malloc/mtrace.c (mtrace): Likewise.
21601 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21602 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21603 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21604 * sysdeps/posix/tempname.c: Likewise. Evaluate
21605 HAVE_SECURE_GETENV.
21606 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21607 __secure_getenv to __libc_secure_getenv.
84b3fd84 21608 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21610 Likewise.
21611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21612 Likewise.
21613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21620
56e49b71
JM
216212012-07-25 Joseph Myers <joseph@codesourcery.com>
21622
21623 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21624 (struct La_i86_retval): Likewise.
21625 (struct La_x86_64_regs): Likewise.
21626 (struct La_x86_64_retval): Likewise.
21627 (struct La_x32_regs): Likewise.
21628 (struct La_x32_retval): Likewise.
21629 (struct La_ppc32_regs): Likewise.
21630 (struct La_ppc32_retval): Likewise.
21631 (struct La_ppc64_regs): Likewise.
21632 (struct La_ppc64_retval): Likewise.
21633 (struct La_sh_regs): Likewise.
21634 (struct La_sh_retval): Likewise.
21635 (struct La_s390_32_regs): Likewise.
21636 (struct La_s390_32_retval): Likewise.
21637 (struct La_s390_64_regs): Likewise.
21638 (struct La_s390_64_retval): Likewise.
21639 (struct La_sparc32_regs): Likewise.
21640 (struct La_sparc32_retval): Likewise.
21641 (struct La_sparc64_regs): Likewise.
21642 (struct La_sparc64_retval): Likewise.
21643 (struct audit_ifaces): Remove architecture-specific pltenter and
21644 pltexit members.
21645 * sysdeps/i386/ldsodefs.h: New file.
21646 * sysdeps/powerpc/ldsodefs.h: Likewise.
21647 * sysdeps/s390/ldsodefs.h: Likewise.
21648 * sysdeps/sh/ldsodefs.h: Likewise.
21649 * sysdeps/sparc/ldsodefs.h: Likewise.
21650 * sysdeps/x86_64/ldsodefs.h: Likewise.
21651
354691b7
MP
216522012-07-25 Marek Polacek <polacek@redhat.com>
21653
21654 [BZ #6808]
21655 * math/libm-test.inc (yn_test): Add another test.
21656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21657 to ERANGE when the result is +-Inf.
21658 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21659 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21660 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21661 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21662
bf9e2071
JM
216632012-07-24 Joseph Myers <joseph@codesourcery.com>
21664
21665 * conform/data/time.h-data (NULL): Use macro-constant. Require
21666 equal to 0.
21667 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21668 clock_t.
21669 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21670
57633811
TS
216712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21672
21673 * configure.in <sysdeps resolving>: Correct printing
21674 Implies_before.
21675 * configure: Regenerate.
21676
c23c33b0
TS
216772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21678
21679 * math/w_ilogb.c: Include <limits.h>.
21680 * math/w_ilogbl.c: Likewise.
21681
b5982523
JM
216822012-07-20 Joseph Myers <joseph@codesourcery.com>
21683
21684 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21685 va_copy. Document allowing for unavailable va_copy only as
21686 pre-C99 compatibility.
21687 * manual/string.texi (Copying and Concatenation): Use va_copy
21688 instead of __va_copy in concat example.
21689
ac4ea442
PT
216902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21691
21692 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21693 (__sendto): Use create_address_port. Initialize APORT and deallocate
21694 it if not null.
21695
f98eafbd
PT
21696 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21697 with O_NOLINK passed to __file_name_lookup.
21698
898c7aab
PT
21699 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21700 with O_NOLINK passed to __file_name_lookup.
21701
0ced335a
PT
21702 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21703 negative N or less than NGIDS.
21704
b3404dbd
PT
21705 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21706 type to string_t. Set ERANGE as errno and return it if NAME is not big
21707 enough. Use memcpy instead of strncpy.
21708
0f48659e
JM
217092012-07-20 Joseph Myers <joseph@codesourcery.com>
21710
21711 * elf/Makefile (check-data): Remove.
21712 (localplt.data): New vpath directive.
21713 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21714 instead of $(check-data).
21715 * scripts/data/localplt-generic.data: Move to ...
21716 * sysdeps/generic/localplt.data: ... here.
21717 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21718 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21719 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21721 ... here.
21722 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21724 ... here.
21725 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21727 ... here.
21728 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21730 ... here.
21731 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21733 ... here.
21734 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21736 ... here.
21737
d37cbdaa
AZ
217382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21739
21740 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21741 PPC32 and PPC64 files.
21742 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21743 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21744
46f85fc2
AK
217452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21746
21747 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21748 __makecontext_ret to ...
21749 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21750 ... here and call exit if uc_link is NULL. New file.
21751 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21752 __makecontext_ret.S.
21753 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21754 __makecontext_ret to ...
21755 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21756 ... here and call exit if uc_link is NULL. New file.
21757 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21758 __makecontext_ret.S.
21759
08f43f9b
AK
217602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21761
21762 * elf/elf.h (R_390_IRELATIVE): New definition.
21763 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21764 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21765 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21766 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21767 (elf_machine_lazy_rel): Likewise.
21768 * sysdeps/s390/dl-irel.h: New file.
21769 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21770 * sysdeps/s390/s390-64/memset.S: New asm code.
21771 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21772 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21773 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21774 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21775 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21776 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21777 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21778 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21779 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21780 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21781 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21782 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21783 * sysdeps/s390/s390-32/memset.S: New asm code.
21784 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21785
3b05db33
MP
217862012-07-17 Marek Polacek <polacek@redhat.com>
21787
21788 [BZ #14349]
21789 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21790 * sysdeps/s390/s390-64/configure.in: Likewise.
21791 * sysdeps/sparc/configure.in: Likewise.
21792 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21793 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21794 * sysdeps/i386/configure.in: Likewise.
21795 * sysdeps/x86_64/configure.in: Likewise.
21796 * sysdeps/sh/configure.in: Likewise.
21797 * sysdeps/s390/s390-32/configure: Regenerated.
21798 * sysdeps/s390/s390-64/configure: Likewise.
21799 * sysdeps/x86_64/configure: Likewise.
21800 * sysdeps/sh/configure: Likewise.
21801 * sysdeps/powerpc/powerpc64/configure: Likewise.
21802 * sysdeps/powerpc/powerpc32/configure: Likewise.
21803 * sysdeps/sparc/configure: Likwise.
21804 * sysdeps/i386/configure: Likewise.
21805
a66877c6
MP
21806 * elf/dl-open.c: Comment fixes.
21807
cfc82fd8
JM
218082012-07-17 Joseph Myers <joseph@codesourcery.com>
21809
bd29910a
JM
21810 * Makefile [CXX] (check-data): Remove.
21811 [CXX] (c++-types.data): New vpath directive.
21812 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21813 vpath. Do not allow for C++ type data being missing.
21814 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21815 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21816 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21817 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21818 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21819 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21820 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21822 ... here.
21823 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21825 ... here.
21826 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21828 ... here.
21829 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21831 ... here.
21832 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21834 ... here.
21835 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21837 ... here.
21838 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21840 ... here.
21841 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21843
cfc82fd8
JM
21844 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21845 definitions to architecture-specific files.
21846 (TLS_IE): Likewise.
21847 (TLS_LD): Likewise.
21848 (TLS_GD): Likewise.
21849 * sysdeps/i386/tls-macros.h: New file.
21850 * sysdeps/powerpc/tls-macros.h: Likewise.
21851 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21852 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21853 * sysdeps/sh/tls-macros.h: Likewise.
21854 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21855 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21856 * sysdeps/x86_64/tls-macros.h: Likewise.
21857
f7db3170
TS
218582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21859
07cbfc23
TS
21860 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21861 zero value for regular exit case.
21862
f7db3170
TS
21863 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21864 (__start_context): Preserve zero value for regular exit case.
21865
dc97c227
TS
218662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21867 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21868
21869 * manual/setjmp.texi (setcontext): Clarify normal process
21870 termination when uc_link is the null pointer.
21871 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21872 exit call.
21873
d0cd7d02
AS
218742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21875
21876 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21877 preprocessor. Test for each exception mask separately.
21878
dd318934
AJ
218792012-07-16 Andreas Jaeger <aj@suse.de>
21880
21881 * po/ru.po: Update from translation team.
21882
8048311a
JM
218832012-07-15 Joseph Myers <joseph@codesourcery.com>
21884
21885 * conform/data/string.h-data (NULL): Use macro-constant. Require
21886 equal to 0.
21887 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21888 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21889 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21890 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21891 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21892
b637d46e
AJ
218932012-07-13 Andreas Jaeger <aj@suse.de>
21894
21895 * po/fr.po: Update from translation team.
21896
541428fe
MP
218972012-07-12 Marek Polacek <polacek@redhat.com>
21898
21899 [BZ #14173]
21900 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21901 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21902 loop condition.
21903
ec332e94
JM
219042012-07-12 Joseph Myers <joseph@codesourcery.com>
21905
21906 [BZ #13717]
21907 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21908 Change to 2.4.1 where previously 2.4.0.
21909 * sysdeps/unix/sysv/linux/configure: Regenerated.
21910 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21911 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21912 version.
21913 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21914 (__ASSUME_AT_CLKTCK): Remove.
21915 (__ASSUME_AT_PAGESIZE): Likewise.
21916 (__ASSUME_AT_XID): Likewise.
21917 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21918 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21919 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21920 unconditionally.
21921 (HAVE_AUX_PAGESIZE): Likewise.
21922 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21923 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21924 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21925
7b6e99be
JB
219262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21927
21928 [BZ #14307]
21929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21930 the temporary buffer used to invoke __gethostbyname2_r,
21931 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21932 host_data / struct gaih_addrtuple.
21933 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21934 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21935 header file nss/nsswitch.h.
21936 * nss/nsswitch.h (global scope): Add definition of implementation
21937 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21938 resolv/nss_dns/dns-host.c).
21939
608404eb
AJ
219402012-07-11 Andreas Jaeger <aj@suse.de>
21941
21942 * po/fr.po: Update from translation team.
21943
71220aca
AJ
21944 * po/sv.po: Update from translation team
21945 * po/fr.po: Another update from translation team.
21946
28cfe843
AZ
219472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21948
21949 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21950 for subnormals or multiply small sinh result by itself.
21951 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21953
6b90f981
DM
219542012-07-11 David S. Miller <davem@davemloft.net>
21955
21956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21957
c6825772
AS
219582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21959
21960 [BZ #14347]
21961 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21962 (INTERNAL_MARK): Shift it here.
21963
7b8e0d49
MP
219642012-07-10 Marek Polacek <polacek@redhat.com>
21965
21966 [BZ #14151]
21967 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21968 libc_cv_asm_global_directive with .globl.
21969 * configure: Regenerated.
21970 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21971 with .globl.
21972 * sysdeps/i386/configure: Regenerated.
21973 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21974 with .globl.
21975 * sysdeps/x86_64/configure: Regenerated.
21976 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21977 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21978 * elf/tst-unique2mod2.c: Likewise.
21979 * elf/tst-unique2mod1.c: Likewise.
21980 * elf/tst-unique1mod2.c: Likewise.
21981 * elf/tst-unique1mod1.c: Likewise.
21982 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21983 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21985 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21986 * sysdeps/mach/sysdep.h: Likewise.
21987 * sysdeps/i386/sysdep.h: Likewise.
21988 * sysdeps/i386/i386-mcount.S: Likewise.
21989 * sysdeps/x86_64/_mcount.S: Likewise.
21990 * sysdeps/x86_64/sysdep.h: Likewise.
21991 * sysdeps/sh/_mcount.S: Likewise.
21992 * sysdeps/sh/sysdep.h: Likewise.
21993 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21994 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21995 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21996 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21997 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21998 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21999 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22000 * locale/localeinfo.h: Likewise.
22001 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22002 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22003
6c55cda3
RM
220042012-07-09 Roland McGrath <roland@hack.frob.com>
22005
22006 [BZ #14336]
22007 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22008 system".
22009 * manual/message.texi (The Uniforum approach): Likewise.
22010 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22011 (glibc iconv Implementation): Likewise.
22012
638a572e
JM
220132012-07-09 Joseph Myers <joseph@codesourcery.com>
22014
22015 [BZ #14337]
22016 * math/s_clog.c (__clog): Avoid scaling a value down where that
22017 could result in underflow.
22018 * math/s_clog10.c (__clog10): Likewise.
22019 * math/s_clog10f.c (__clog10f): Likewise.
22020 * math/s_clog10l.c (__clog10l): Likewise.
22021 * math/s_clogf.c (__clogf): Likewise.
22022 * math/s_clogl.c (__clogl): Likewise.
22023 * math/libm-test.inc (clog_test): Add more tests.
22024 (clog10_test): Likewise.
22025 * sysdeps/i386/fpu/libm-test-ulps: Update.
22026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22027
261f4859
AS
220282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22029
0abaf3e4
AS
22030 [BZ #14283]
22031 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22032 by 7 not 8 to examine high bit of fractional part.
22033
261f4859
AS
22034 [BZ #14042]
22035 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22036 for call to __mcount_internal.
22037 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22038 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22039 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22040
f17ac40d
JM
220412012-07-06 Joseph Myers <joseph@codesourcery.com>
22042
9ad63c23
JM
22043 [BZ #14154]
22044 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22045 approximation for values within 0x1p-13f of an odd multiple of
22046 pi/4.
22047 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22048 exception. Add more tests.
22049 * sysdeps/i386/fpu/libm-test-ulps: Update.
22050
f17ac40d
JM
22051 [BZ #6778]
22052 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22053 inputs and return -1 for them. Do not check for +Inf in case not
22054 reachable for +Inf.
22055 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22056 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22057 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22058 and return -1 for them. Do not check for +Inf in case not
22059 reachable for +Inf.
22060 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22061 define.
22062 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22063 and return -1 for them. Do not check for +Inf in case not
22064 reachable for +Inf.
22065 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22066 spurious underflow.
22067 * sysdeps/i386/fpu/libm-test-ulps: Update.
22068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22069
fb21f89b
MF
220702012-07-06 Mike Frysinger <vapier@gentoo.org>
22071
22072 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22073
cdfe2c5e
JM
220742012-07-05 Joseph Myers <joseph@codesourcery.com>
22075
22076 [BZ #14157]
22077 [BZ #14331]
22078 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22079 could result in spurious underflow. Scale down values above
22080 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22081 * math/s_csqrtf.c (__csqrtf): Likewise.
22082 * math/s_csqrtl.c (__csqrtl): Likewise.
22083 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22084 spurious underflow.
22085 * sysdeps/i386/fpu/libm-test-ulps: Update.
22086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22087
70d35b67
AS
220882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22089
704bc459
AS
22090 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22091 xopen-msg.sed.
22092 * catgets/xopen-msg.awk: New file.
22093 * catgets/xopen-msg.sed: Removed.
22094
70d35b67
AS
22095 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22096 po2text.sed.
22097 * intl/po2test.awk: New file.
22098 * intl/po2test.sed: Removed.
22099
ca61cf32
JM
221002012-07-04 Joseph Myers <joseph@codesourcery.com>
22101
22102 [BZ #14328]
22103 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22104 or multiply small sinh result by itself.
22105 * math/s_ctanf.c (__ctanf): Likewise.
22106 * math/s_ctanh.c (__ctanh): Likewise.
22107 * math/s_ctanhf.c (__ctanhf): Likewise.
22108 * math/s_ctanhl.c (__ctanhl): Likewise.
22109 * math/s_ctanl.c (__ctanl): Likewise.
22110 * math/libm-test.inc (ctan_test_tonearest): New function.
22111 (ctan_test_towardzero): Likewise.
22112 (ctan_test_downward): Likewise.
22113 (ctan_test_upward): Likewise.
22114 (ctanh_test_tonearest): Likewise.
22115 (ctanh_test_towardzero): Likewise.
22116 (ctanh_test_downward): Likewise.
22117 (ctanh_test_upward): Likewise.
22118 (main): Call these new functions.
22119 * sysdeps/i386/fpu/libm-test-ulps: Update.
22120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22121
ca48a46a
MF
221222012-07-03 Mike Frysinger <vapier@gentoo.org>
22123
22124 * .gitignore: Delete /ports entry.
22125
9d63d37d
AJ
221262012-07-03 Andreas Jaeger <aj@suse.de>
22127
22128 * po/bg.po: Update from translation team.
22129 * po/cs.po: Likewise.
22130 * po/de.po: Likewise.
22131 * po/hr.po: Likewise.
22132 * po/nl.pl: Likewise.
22133 * po/pl.po: Likewise.
22134 * po/vi.po: Likewise.
22135
370ca3d2
JM
221362012-07-03 Joseph Myers <joseph@codesourcery.com>
22137
95f5a9a8
JM
22138 * Makeconfig [!+link] (+link-before-libc): New variable.
22139 [!+link] (+link-after-libc): Likewise.
22140 [!+link] (+link-tests): Likewise.
22141 [!+link] (+link): Define in terms of $(+link-before-libc) and
22142 $(+link-after-libc).
22143 [!+link-static] (+link-static-before-libc): New variable.
22144 [!+link-static] (+link-static-after-libc): Likewise.
22145 [!+link-static] (+link-static-tests): Likewise.
22146 [!+link-static] (+link-static): Define in terms of
22147 $(+link-static-before-libc) and $(+link-static-after-libc).
22148 [build-shared] (link-libc-before-gnulib): New variable.
22149 [build-shared] (link-libc-tests): Likewise.
22150 [build-shared] (link-libc): Define in terms of
22151 $(link-libc-before-gnulib).
22152 [!build-shared] (link-libc-tests): New variable.
22153 (link-libc-static-tests): New variable.
22154 [!gnulib] (gnulib-arch): New variable.
22155 [!gnulib] (gnulib-tests): Likewise.
22156 [!gnulib] (static-gnulib-arch): Likewise.
22157 [!gnulib] (static-gnulib-tests): Likewise.
22158 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22159 Define with "=" instead of ":=".
22160 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22161 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22162 * Rules (binaries-all-notests): New variable.
22163 (binaries-all-tests): Likewise.
22164 (binaries-static-notests): Likewise.
22165 (binaries-static-tests): Likewise.
22166 (binaries-all): Define using $(binaries-all-notests) and
22167 $(binaries-all-tests).
22168 (binaries-static): Define using $(binaries-static-notests) and
22169 $(binaries-static-tests).
22170 (binaries-shared-tests): New variable.
22171 (binaries-shared-notests): Likewise.
22172 (binaries-shared): Remove variable.
22173 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22174 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22175 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22176 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22177 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22178 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22179 * elf/Makefile (sln-modules): New variable.
22180 (extra-objs): Add $(sln-modules:=.o).
22181 (ldconfig-modules): Add static-stubs.
22182 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22183 * elf/static-stubs.c: New file.
22184
7a845b2c
JM
22185 [BZ #14283]
22186 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22187 by 7 not 8 to examine high bit of fractional part. Use volatile
22188 variables when splitting into final array of floats if
22189 __FLT_EVAL_METHOD__ != 0.
22190 * math/libm-test.inc (cos_test): Add another test.
22191 (sin_test): Likewise.
22192 * sysdeps/i386/fpu/libm-test-ulps: Update.
22193
e2283f38
JM
22194 [BZ #14273]
22195 * math/libm-test.inc (cosh_test): Add more tests.
22196
370ca3d2
JM
22197 * version.h (RELEASE): Set to "development".
22198 (VERSION): Set to "2.16.90".
22199
ee9247c3
CD
222002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22201
22202 * NEWS: Update copyright. Remove last-updated date.
22203 Mention math library bug fixes and timezone data changes.
22204 * README: Mention GNU/Hurd, x32, and HPPA support status.
22205
4648c381
TS
222062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22207
22208 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22209
aac78a43
AJ
222102012-06-27 Andreas Jaeger <aj@suse.de>
22211
22212 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22213
ed3dbfad
AJ
222142012-06-25 Andreas Jaeger <aj@suse.de>
22215
22216 * sysdeps/s390/fpu/libm-test-ulps: Update.
22217
4d0ee855
AS
222182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22219 Thomas Schwinge <thomas@codesourcery.com>
22220
22221 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22222 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22223 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22224 fanotify_mark.
22225
af1bce34
TS
222262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22227
a9fa33ba
TS
22228 * sysdeps/mach/start.c: Remove file.
22229 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22230 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22231 * sysdeps/sh/init-first.c: Likewise.
22232
58f902b8
TS
22233 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22234 registers for frame unwinding purposes, add CFI directives.
22235 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22236 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22237 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22238 Likewise.
22239
1518f58b
TS
22240 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22241 __fortify_fail returning.
22242 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22243
db9b5059
TS
22244 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22245 sysdeps/sh/____longjmp_chk.S.
22246 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22247 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22248 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22249 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22250
967705fe
TS
22251 * sysdeps/sh/abort-instr.h: New file.
22252 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22253 process in case exit returns.
22254
a9def8c4
TS
22255 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22256 initialize the GOT register before use.
22257
2a649725
TS
22258 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22259 calculation of ARGC > 4.
22260
af1bce34
TS
22261 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22262 meaningful names to some local labels.
22263
d230f50a
KK
222642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22265 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22266
22267 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22268 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22269 (__arch_compare_and_exchange_val_16_acq): Likewise.
22270 (__arch_compare_and_exchange_val_32_acq): Likewise.
22271 (atomic_exchange_and_add): Fix gUSA sequence.
22272 (atomic_add): Likewise.
22273 (atomic_add_negative): Likewise.
22274 (atomic_add_zero): Likewise.
22275 (atomic_bit_test_set): Likewise.
22276
0479b305
AS
222772012-06-22 Andreas Schwab <schwab@redhat.com>
22278
22279 [BZ #13579]
22280 * include/link.h (struct link_map): Add l_free_initfini.
22281 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22282 l_initfini.
22283 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22284 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22285 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22286 set.
22287
0e3933b9
CD
222882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22289
22290 * configure.in: Use AC_LANG_SOURCE.
22291 * configure: Regenerate.
22292
4248b1b1
RM
222932012-06-22 Roland McGrath <roland@hack.frob.com>
22294
22295 * configure.in (libc_cv_localstatedir): New substituted variable.
22296 * configure: Regenerated.
22297 * config.make.in (localstatedir): New variable, substituted from
22298 libc_cv_localstatedir.
22299 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22300 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22301 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22302 * sysdeps/gnu/configure: Regenerated.
22303
006dd861
JL
223042012-06-21 Jeff Law <law@redhat.com>
22305
22306 [BZ #14277]
22307 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22308 free. Simplify list management for _LIBC case.
22309
79662d42
JM
223102012-06-21 Joseph Myers <joseph@codesourcery.com>
22311
b7abb4bf
JM
22312 [BZ #14273]
22313 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22314 Clear sign bit of 64-bit integer value before comparing against
22315 overflow value.
22316
79662d42
JM
22317 * sysdeps/mach/configure: Regenerated.
22318
1f150908
L
223192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22320
22321 [BZ #14278]
22322 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22323
28363bbf
JL
223242012-06-21 Jeff Law <law@redhat.com>
22325
22326 [BZ #13882]
22327 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22328 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22329 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22330 * elf/dl-open.c (dl_open_worker): Likewise.
22331
09615db4
CD
223322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22333
22334 * scripts/list-sources.sh: Scan PORTS for translations.
22335 * po/libc.pot: Regenerated.
22336
2174c6dd
AJ
223372012-06-21 Andreas Jaeger <aj@suse.de>
22338
22339 [BZ #12194]
22340 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22341 warning.
22342 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22343 * bits/byteswap-16.h (__bswap_16): Likewise.
22344 * bits/byteswap.h (__bswap_constant_16): Likewise.
22345
3ee947b1
L
223462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22347
22348 [BZ #14117]
a2f34833
L
22349 * sysdeps/i386/fpu_control.h: Removed.
22350 * sysdeps/x86_64/fpu_control.h: Moved to ...
22351 * sysdeps/x86/fpu_control.h: Here.
22352
3ee947b1
L
22353 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22354 (_FPU_SETCW): Likewise.
22355
ed1825f8
L
223562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22357
25f1282a
L
22358 [BZ #14117]
22359 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22360 * sysdeps/x86/fpu/bits/mathinline.h: This.
22361 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22362
ed1825f8
L
22363 [BZ #14050]
22364 [BZ #14117]
22365 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22366 functions if __x86_64__ is defined.
22367
36d54b74
CLT
223682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22369
22370 * string/endian.h: Add !__ASSEMBLER__ condition for including
22371 conversion interfaces.
22372
10285c21
JM
223732012-06-15 Joseph Myers <joseph@codesourcery.com>
22374
22375 [BZ #14241]
22376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22377 of ABS(x) in calculating zero to negative powers other than odd
22378 integers.
22379 * math/libm-test.inc (pow_test): Add more tests.
22380
06c5abbd
AJ
223812012-06-15 Andreas Jaeger <aj@suse.de>
22382
22383 * manual/contrib.texi (Contributors): Update entry of Liubov
22384 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22385 Machado Filho.
22386
a3aeac40
CH
223872012-06-15 Cyril Hrubis <metan@ucw.cz>
22388
22389 * string/string.h: Add __wur to GNU version of strerror_r.
22390
49bdf4c1
L
223912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22392
22393 [BZ #14229]
22394 * string/Makefile (tests): Add tst-strtok_r.
22395 * string/tst-strtok_r.c: New file.
22396 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22397 RAX_LP/RDX_LP on SAVE_PTR.
22398
834f9b8d
RM
223992012-06-14 Roland McGrath <roland@hack.frob.com>
22400
22401 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22402
75fa1921
JM
224032012-06-14 Joseph Myers <joseph@codesourcery.com>
22404
22405 * libm_test.inc (csqrt_test): Allow more spurious underflow
22406 exceptions.
22407 (j0_test): Likewise.
22408 (j1_test): Likewise.
22409 (y0_test): Likewise.
22410 (y1_test): Likewise.
22411
771766df
CD
224122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22413
22414 * po/Makefile (libc.pot): Use UTF-8 charset.
22415
ceb9e56b
PP
224162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22417
22418 [BZ #14210]
22419 Suppress sign-conversion warning from FD_SET.
22420 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22421 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22422 not unsigned long int.
22423 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22424
ddb28975
L
224252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22426
22427 [BZ #14050]
22428 [BZ #14117]
22429 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22430 __extern_always_inline instead of __extern_inline.
22431 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22432 (__signbit): Likewise.
22433 (__signbitl): Support C++ namespace.
22434 (lrintf): New inline function.
22435 (lrint): Likewise.
22436 (llrintf): Likewise.
22437 (llrint): Likewise.
22438 (fmaxf): Likewise.
22439 (fmax): Likewise.
22440 (fminf): Likewise.
22441 (fmin): Likewise.
22442 (rint): Likewise.
22443 (rintf): Likewise.
22444 (ceil): Likewise.
22445 (ceilf): Likewise.
22446 (floor): Likewise.
22447 (floorf): Likewise.
22448 (nearbyint): Likewise.
22449 (nearbyintf): Likewise.
22450
d7b4fb26
TS
224512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22452
22453 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22454 non-default versions.
22455
eb55f5c2
RM
224562012-06-11 Roland McGrath <roland@hack.frob.com>
22457
22458 [BZ #14218]
22459 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22460
366af02c
TS
224612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22462
99ff6e5c
TS
22463 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22464 (FE_UPWARD, FE_DOWNWARD): Don't define.
22465 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22466 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22467
366af02c
TS
22468 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22469 reading it.
22470 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22471 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22472
793ea851
KK
224732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22474
22475 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22476 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22477 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22478 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22479
a728a38f
L
224802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22481
22482 [BZ #14117]
c08010c7
L
22483 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22484 * sysdeps/i386/fpu/Implies: New file.
22485 * sysdeps/x86_64/fpu/Implies: Likewise.
22486 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22487 * sysdeps/x86/fpu/bits/fenv.h: This.
22488
a728a38f
L
22489 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22490 __SSE_MATH__.
22491
6e230d11
SP
224922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22493
22494 [BZ #14134]
22495 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22496 character 0xffff that matches the last element of the
22497 conversion table.
22498
1b671feb
AZ
224992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22500
22501 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22502 fmodl commit.
22503
6043738b
AZ
225042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22505
22506 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22507 values higher than 25.6283.
22508
34ae0b32
AZ
225092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22510
22511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22512 subnormal exponent extraction and add some __builtin_expect.
22513 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22514 Fix for subnormal mantissa calculation.
22515
1214ec8f
MF
225162012-06-04 Mike Frysinger <vapier@gentoo.org>
22517
22518 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22519 cpu2 is -1 and errno is not ENOSYS.
22520
f3d1f93c
L
225212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22522
22523 [BZ #14117]
0e4a3cd7
L
22524 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22525 * sysdeps/x86/bits/string.h: This.
22526 * sysdeps/x86_64/bits/string.h: Removed.
22527
6704c645
L
22528 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22529 if not compiling for x86-64, but compiling for >= i486.
22530
48495318
L
22531 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22532 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22533
14adcbfc
L
22534 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22535 New macro from Linux kernel 3.4.0.
22536 (FP_XSTATE_MAGIC2): Likewise.
22537 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22538 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22539 (struct _fpx_sw_bytes): New struct.
22540 (struct _xsave_hdr): Likewise.
22541 (struct _ymmh_state): Likewise.
22542 (struct _xstate): Likewise.
22543
68e408ab
L
22544 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22545 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22546 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22547 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22548 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22549 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22550
f3d1f93c
L
22551 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22552 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22553 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22554 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22555 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22556 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22557
d9dc34cd
TMQMF
225582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22559
22560 [BZ #13743]
22561 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22562 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22563 (sysdep_headers): Include sys/platform/ppc.h.
22564 * sysdeps/powerpc/test-gettimebase.c: Test for
22565 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22566 * manual/Makefile (appendices): Include platform.texi.
22567 * manual/contrib.texi (Contributors): Update @node pointers.
22568 * manual/maint.texi (Maintenance): Likewise.
22569 (Platform): New node.
22570 * manual/platform.texi: New file. Document the new features.
22571
4af3879c
SP
225722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22573 Jakub Jelinek <jakub@redhat.com>
22574
22575 [BZ #14188]
22576 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22577 where __builtin_expect is unavailable.
22578
2fd6ff13
DM
225792012-06-03 David S. Miller <davem@davemloft.net>
22580
22581 * stdlib/longlong.h: Updated from GCC.
22582
173f7220
AS
225832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22584
22585 [BZ #14042]
22586 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22587 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22588 __mcount_internal.
22589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22590 (GLIBC_2.16): Likewise.
22591
f34a1c6f
L
225922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22593
22594 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22595
88a4576f
JM
225962012-06-01 Joseph Myers <joseph@codesourcery.com>
22597
ea32bcdd
JM
22598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22599 (default-abi): New variable.
22600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22601 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22602 variable.
22603 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22604 Likewise.
22605 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22606 Likewise.
22607 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22608 Likewise.
22609
88a4576f
JM
22610 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22611 definition. Document in comment.
22612
402fe938
DM
226132012-06-01 David S. Miller <davem@davemloft.net>
22614
22615 * stdlib/longlong.h: Updated from GCC.
22616
3553723f
L
226172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22618
22619 [BZ #14117]
3bd872c4
L
22620 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22621 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22622 sys/debugreg.h sys/io.h here.
22623 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22624 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22625 sys/io.h.
22626 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22627 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22628 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22629 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22630 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22631 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22632
3553723f
L
22633 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22634 Define only if __x86_64__ is defined.
22635
4842e4fe
JM
226362012-06-01 Joseph Myers <joseph@codesourcery.com>
22637
c5bfe3d5
JM
22638 [BZ #14048]
22639 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22640 Use int64_t for variable i.
22641 * math/libm-test.inc (fmod_test): Add more tests.
22642
4842e4fe
JM
22643 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22644 z computation is not scheduled after fetestexcept.
22645 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22646 Use math_force_eval instead of asm to ensure calculation scheduled
22647 before exception test.
22648 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22649 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22650
efb73488
AJ
226512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22652
22653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22654 computation is not scheduled after fetestexcept.
22655
29bcce7c
L
226562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22657
22658 [BZ #14117]
22659 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22660 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22661
73a68f94
AZ
226622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22663
22664 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22665 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22666
67b6df78
L
226672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22668
edf2933a 22669 [BZ #14117]
ebc64a18
L
22670 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22671 <bits/wordsize.h>.
22672 (__WCHAR_MIN): Support __WORDSIZE == 64.
22673 (__WCHAR_MAX): Likewise.
22674
edf2933a
L
22675 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22676 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22677
57c6cf40
L
22678 [BZ #14183]
22679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22680 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22681
67b6df78 22682 [BZ #14117]
8eb6281e
L
22683 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22684 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22685
aac639f4
L
22686 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22687 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22688
67b6df78
L
22689 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22690 Defined to 1 if __x86_64__ isn't defined.
22691 (_STAT_VER_LINUX_OLD): New.
22692 (st_atime): Remove duplicate.
22693 (st_mtime): Likewise.
22694 (st_ctime): Likewise.
22695
1c2cfe81
DM
226962012-05-31 David S. Miller <davem@davemloft.net>
22697
22698 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22699 entries.
22700
5be8418c
AS
227012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22702
e7725326
AS
22703 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22704 gen-libm-test.pl.
22705
5be8418c
AS
22706 [BZ #14132]
22707 * elf/dl-reloc.c: Include <_itoa.h>.
22708 (_dl_reloc_bad_type): Remove use of INTUSE.
22709 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22710 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22711 * stdio-common/psiginfo.c (psiginfo): Likewise.
22712 * stdio-common/psignal.c (psignal): Likewise.
22713 * string/strsignal.c (strsignal): Likewise.
22714 * include/signal.h (_sys_siglist): Declare hidden proto.
22715 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22716 INTVARDEF with libc_hidden_data_def.
22717 * stdio-common/itoa-udigits.c: Likewise.
22718 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22719 (_itoa_lower_digits_internal): Remove declaration.
22720 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22721 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22722 (_sys_sigabbrev_internal): Remove aliases.
22723 (_sys_siglist): Define hidden alias.
22724
507352f1
MT
227252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22726
22727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22728 bits/sysctl.h.
22729
42bbb1c3
L
227302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22731
22732 [BZ #14117]
6bd784b6
L
22733 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22734 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22735
8bca20f0
L
22736 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22737 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22738 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22739 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22740 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22741 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22742
f9e890a9
L
22743 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22744 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22745 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22746
471101a1
L
22747 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22748 with __addr.
22749 (insw): Likewise.
22750 (insl): Likewise.
22751 (outsb): Likewise.
22752 (outsw): Likewise.
22753 (outsl): Likewise.
22754
6451c862
L
22755 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22757 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22758
a254b8c9
L
22759 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22760 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22761 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22762 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22763 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22764 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22765
b8dfdd92
L
22766 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22767 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22768
578cd270
L
22769 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22770 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22771
de662f5f
L
22772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22774 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22775
25653439
L
22776 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22777 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22778 to ...
22779 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22780
6bad24a0
L
22781 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22782 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22783 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22784
42bbb1c3
L
22785 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22786 for x86-64.
22787 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22788
2d10d547
JM
227892012-05-31 Joseph Myers <joseph@codesourcery.com>
22790
22791 * math/math.h (M_El): Use two more decimal places.
22792 (M_LOG2El): Likewise.
22793 (M_LOG10El): Likewise.
22794 (M_LN2l): Likewise.
22795 (M_LN10l): Likewise.
22796 (M_PIl): Likewise.
22797 (M_PI_2l): Likewise.
22798 (M_PI_4l): Likewise.
22799 (M_1_PIl): Likewise.
22800 (M_2_PIl): Likewise.
22801 (M_2_SQRTPIl): Likewise.
22802 (M_SQRT2l): Likewise.
22803 (M_SQRT1_2l): Likewise.
22804
f230c29b
DM
228052012-05-31 David S. Miller <davem@davemloft.net>
22806
22807 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22808 values between float registers.
22809 * sysdeps/sparc/sparc64/memset.S: Likewise.
22810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22811
fed806c3
MF
228122012-05-31 Mike Frysinger <vapier@gentoo.org>
22813
22814 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22815 -D_FORTIFY_SOURCE=1.
22816 (CPPFLAGS-tst-longjmp_chk.c): Define.
22817 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22818 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22819 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22820 CFLAGS-tst-wchar-h.c.
22821
30917259
MP
228222012-05-31 Marek Polacek <polacek@redhat.com>
22823
22824 [BZ #14132]
22825 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22826 __endmntent_internal): Remove declaration.
22827 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22828 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22829 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22830
1c58d5dc
DM
228312012-05-30 David S. Miller <davem@davemloft.net>
22832
22833 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22834 (___Q_simulate_exceptions): Use real FP ops rather than writing
22835 into the %fsr.
22836 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22837 Likewise.
22838
7dc00e0d
L
228392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22840
22841 [BZ #14117]
0bd53985
L
22842 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22843 * sysdeps/x86/bits/xtitypes.h: This.
22844
3a257e66
L
22845 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22846 * sysdeps/x86/bits/wordsize.h: This.
22847
62f62904
L
22848 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22849 * sysdeps/x86/bits/huge_vall.h: This.
22850
404fe9d9
L
22851 * sysdeps/i386/bits/select.h: Removed.
22852 * sysdeps/x86_64/bits/select.h: Renamed to ...
22853 * sysdeps/x86/bits/select.h: This.
22854
d48d0446
L
22855 * sysdeps/i386/bits/setjmp.h: Removed.
22856 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22857 * sysdeps/x86/bits/setjmp.h: This.
22858
7dc00e0d
L
22859 * sysdeps/i386/bits/mathdef.h: Removed.
22860 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22861 * sysdeps/x86/bits/mathdef.h: This.
22862
03277f8f
AS
228632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22864
22865 [BZ #14132]
22866 * include/sys/socket.h (__connect_internal)
22867 (__libc_sa_len_internal): Remove declaration.
22868 (__connect, __libc_sa_len): Declare hidden_proto.
22869 (SA_LEN): Remove use of INTUSE.
22870 * socket/connect.c: Add libc_hidden_def.
22871 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22872 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22873 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22874 alias.
22875 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22876 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22877 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22878 of adding _internal alias.
22879
13764867
L
228802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22881
22882 [BZ #14117]
6bd97696
L
22883 * sysdeps/i386/bits/link.h: Removed.
22884 * sysdeps/i386/bits/linkmap.h: Likewise.
22885 * sysdeps/x86_64/bits/link.h: Renamed to ...
22886 * sysdeps/x86/bits/link.h: This.
22887 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22888 * sysdeps/x86/bits/linkmap.h: This.
22889
f726f0bb
L
22890 * sysdeps/i386/bits/endian.h: Removed.
22891 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22892 * sysdeps/x86/bits/endian.h: This.
22893
13764867
L
22894 * sysdeps/i386/bits/byteswap.h: Removed.
22895 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22896 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22897 * sysdeps/x86/bits/byteswap.h: This.
22898 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22899 * sysdeps/x86/bits/byteswap-16.h: This.
22900 * sysdeps/i386/Implies: Add x86.
22901 * sysdeps/x86_64/Implies: Likewise.
22902
ae251b0b
DM
229032012-05-30 David S. Miller <davem@davemloft.net>
22904
22905 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22906 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22908 (FP_TRAPPING_EXCEPTIONS): Define.
22909 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22910 (FP_TRAPPING_EXCEPTIONS): Define.
22911 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22912 subnormals only when inexact has been signalled or underflow
22913 exceptions are enabled.
22914 (_FP_PACK_CANONICAL): Likewise.
22915
d5c90867
L
229162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22917
22918 [BZ #14183]
22919 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22920 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22921
63f1549e
RH
229222012-05-30 Richard Henderson <rth@twiddle.net>
22923
8d8f2279
RH
22924 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22925 with #ifndef NOT_IN_libc.
22926
63f1549e
RH
22927 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22928 marked to avoid plt entry.
22929
0ab0291b
L
229302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22931
22932 [BZ #14112]
22933 * Makeconfig (default-abi): New macro.
22934 (abi-includes): Likewise.
22935 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22936 $(abi-$(default-abi)-lib-soname) for soname if defined.
22937 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22938 abi-variants.
22939 * Makefile (installed-stubs): Likewise.
22940 * include/stubs-biarch.h: Removed.
22941 * scripts/lib-names.awk: Only handle one library at a time.
22942 * scripts/soversions.awk: Remove WORDSIZE support.
22943 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22944 entries.
22945 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22946 Removed.
22947 (syscall-list-default-condition): Likewise.
22948 (syscall-list-default-condition): Likewise.
22949 (syscall-list-includes): Likewise.
22950 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22951 syscall-list-* with abi-*. Handle undefined abi-variants.
22952 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22953 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22954 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22955 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22956 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22957 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22958 Removed.
22959 (syscall-list-32-options): Likewise.
22960 (syscall-list-32-condition): Likewise.
22961 (syscall-list-64-options): Likewise.
22962 (syscall-list-64-condition): Likewise.
22963 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22964 macro.
22965 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22966 Renamed to ...
22967 (abi-*): This.
22968 (abi-64-ld-soname): New macro.
22969 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22970 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22971 Renamed to ...
22972 (abi-*): This.
22973 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22974 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22975
4da0431d
JM
229762012-05-30 Joseph Myers <joseph@codesourcery.com>
22977
3a85279c
JM
22978 * sysdeps/unix/sysv/linux/kernel-features.h
22979 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22980 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22981 include <kernel-features.h>.
22982 [!__NR_ftruncate64]: Remove conditional code.
22983 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22984 [__NR_ftruncate64]: Make code unconditional.
22985 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22986 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22987 include <kernel-features.h>.
22988 [!__NR_ftruncate64]: Remove conditional code.
22989 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22990 [__NR_ftruncate64]: Make code unconditional.
22991 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22993 include <kernel-features.h>.
22994 [!__NR_ftruncate64]: Remove conditional code.
22995 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22996 [__NR_ftruncate64]: Make code unconditional.
22997 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22999 include <kernel-features.h>.
23000 [!__NR_ftruncate64]: Remove conditional code.
23001 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23002 [__NR_ftruncate64]: Make code unconditional.
23003 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23004
4da0431d
JM
23005 * configure.in (libc_cv_fpie): Weaken to a compile test using
23006 LIBC_TRY_CC_OPTION.
23007 * configure: Regenerated.
23008
11ef492c
AK
230092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23010
23011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23015 Refreshed.
23016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23022 Refreshed.
23023
d66ef399
DM
230242012-05-27 David S. Miller <davem@davemloft.net>
23025
23026 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23027 (___Q_zero): New.
23028 (__Q_simulate_exceptions): Return void. Change to simulate
23029 exceptions by writing into the %fsr.
23030 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23031 (__Qp_handle_exceptions): Likewise.
23032 (numbers): Delete.
23033 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23034 __Qp_handle_exceptions.
23035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23036 __Qp_handle_exceptions.
23037 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23038 as unused and give dummy FP_RND_NEAREST initializer.
23039 (FP_INHIBIT_RESULTS): Define.
23040 (___Q_simulate_exceptions): Update declaration.
23041 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23042 formatting.
23043 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23044 as unused and give dummy FP_RND_NEAREST initializer.
23045 (__Qp_handle_exceptions): Update declaration.
23046 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23047 formatting.
23048
04fb54b5
TS
230492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23050
23051 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23052 the temporary FPU control word.
23053 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23054 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23055 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23056 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23057 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23058 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23059 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23060 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23061 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23062 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23063 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23064
3f99608f
KK
230652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23066
23067 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23068 fields.
23069
65a4de4e
CLT
230702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23071
23072 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23073 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23074 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23075 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23076 Likewise.
23077 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23078 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23079 Likewise.
23080
15749d40
UD
230812012-05-27 Ulrich Drepper <drepper@gmail.com>
23082
23083 * po/h.po: Update from translation team.
23084
25dbcb27
AS
230852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23086
3d3f8e55
AS
23087 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23088
25dbcb27
AS
23089 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23090 handling of denormals.
23091 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23092 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23093 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23094 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23098 Likewise.
23099
7ad47a80 231002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
23101
23102 [BZ #14152]
23103 * math/libm-test.inc (fma_test): Don't always expect underflow
23104 exception.
23105
9c6ea9fa
SP
231062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23107
23108 [BZ #12416]
23109 * elf/tst-execstack.c: Include stackinfo.h.
23110 (do_test): Adjust test case to ensure that pthread_getattr_np
23111 behaviour remains the same after marking stack executable.
23112
a8239222
JM
231132012-05-25 Joseph Myers <joseph@codesourcery.com>
23114
23115 * sysdeps/unix/sysv/linux/kernel-features.h
23116 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23117 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23118 kernel-features.h.
23119 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23120 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23121 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23122 kernel-features.h.
23123 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23124 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23125
918b5606
L
231262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23127
23128 * configure.in: Define the default includes to being none.
23129 * configure: Regenerated.
23130
3a097cc7
RM
231312012-05-25 Roland McGrath <roland@hack.frob.com>
23132
8422c9a5
RM
23133 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23134 * sysdeps/x86_64/setjmp.S: Likewise.
23135 * sysdeps/i386/bsd-setjmp.S: Likewise.
23136 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23137 * sysdeps/i386/setjmp.S: Likewise.
23138 * sysdeps/i386/__longjmp.S: Likewise.
23139 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23140 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23141
3a097cc7
RM
23142 * include/stap-probe.h: New file.
23143 * configure.in: Handle --enable-systemtap.
23144 * configure: Regenerated.
23145 * config.h.in (USE_STAP_PROBE): New #undef.
23146 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23147 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23148 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23149
21708942
JM
231502012-05-25 Joseph Myers <joseph@codesourcery.com>
23151
23152 [BZ #13717]
23153 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23154 to 2.4.0 where earlier.
23155 * sysdeps/unix/sysv/linux/configure: Regenerated.
23156 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
23165 [__ASSUME_32BITUIDS]: Make code unconditional.
23166 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23167 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23168 <kernel-features.h>.
23169 [__ASSUME_32BITUIDS]: Make code unconditional.
23170 [!__ASSUME_32BITUIDS]: Remove conditional code.
23171 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23172 <kernel-features.h>.
23173 [__ASSUME_32BITUIDS]: Make code unconditional.
23174 [!__ASSUME_32BITUIDS]: Remove conditional code.
23175 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23176 <kernel-features.h>.
23177 [__ASSUME_32BITUIDS]: Make code unconditional.
23178 [!__ASSUME_32BITUIDS]: Remove conditional code.
23179 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23180 <kernel-features.h>.
23181 [__ASSUME_32BITUIDS]: Make code unconditional.
23182 [!__ASSUME_32BITUIDS]: Remove conditional code.
23183 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23184 <kernel-features.h>.
23185 [__ASSUME_32BITUIDS]: Make code unconditional.
23186 [!__ASSUME_32BITUIDS]: Remove conditional code.
23187 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23188 <kernel-features.h>.
23189 [__ASSUME_32BITUIDS]: Make code unconditional.
23190 [!__ASSUME_32BITUIDS]: Remove conditional code.
23191 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23192 <kernel-features.h>.
23193 [__ASSUME_32BITUIDS]: Make code unconditional.
23194 [!__ASSUME_32BITUIDS]: Remove conditional code.
23195 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23196 <kernel-features.h>.
23197 [__ASSUME_32BITUIDS]: Make code unconditional.
23198 [!__ASSUME_32BITUIDS]: Remove conditional code.
23199 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23200 <kernel-features.h>.
23201 [__ASSUME_32BITUIDS]: Make code unconditional.
23202 [!__ASSUME_32BITUIDS]: Remove conditional code.
23203 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23204 <kernel-features.h>.
23205 [__ASSUME_32BITUIDS]: Make code unconditional.
23206 [!__ASSUME_32BITUIDS]: Remove conditional code.
23207 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23208 <kernel-features.h>.
23209 [__NR_setresgid] (__setresgid): Do not declare.
23210 [__ASSUME_32BITUIDS]: Make code unconditional.
23211 [!__ASSUME_32BITUIDS]: Remove conditional code.
23212 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23213 <kernel-features.h>.
23214 [__NR_setresuid] (__setresuid): Do not declare.
23215 [__ASSUME_32BITUIDS]: Make code unconditional.
23216 [!__ASSUME_32BITUIDS]: Remove conditional code.
23217 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23218 <kernel-features.h>.
23219 [__ASSUME_32BITUIDS]: Make code unconditional.
23220 [!__ASSUME_32BITUIDS]: Remove conditional code.
23221 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23222 <kernel-features.h>.
23223 [__ASSUME_32BITUIDS]: Make code unconditional.
23224 [!__ASSUME_32BITUIDS]: Remove conditional code.
23225 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23226 <kernel-features.h>.
23227 [__ASSUME_32BITUIDS]: Make code unconditional.
23228 [!__ASSUME_32BITUIDS]: Remove conditional code.
23229 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23230 <kernel-features.h>.
23231 [__ASSUME_32BITUIDS]: Make code unconditional.
23232 [!__ASSUME_32BITUIDS]: Remove conditional code.
23233 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23234 <kernel-features.h>.
23235 [__ASSUME_32BITUIDS]: Make code unconditional.
23236 [!__ASSUME_32BITUIDS]: Remove conditional code.
23237 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23238 <kernel-features.h>.
23239 [__ASSUME_32BITUIDS]: Make code unconditional.
23240 [!__ASSUME_32BITUIDS]: Remove conditional code.
23241 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23242 <kernel-features.h>.
23243 [__ASSUME_32BITUIDS]: Make code unconditional.
23244 [!__ASSUME_32BITUIDS]: Remove conditional code.
23245 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23246 <kernel-features.h>.
23247 [__ASSUME_32BITUIDS]: Make code unconditional.
23248 [!__ASSUME_32BITUIDS]: Remove conditional code.
23249 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23250 <kernel-features.h>.
23251 [__ASSUME_32BITUIDS]: Make code unconditional.
23252 [!__ASSUME_32BITUIDS]: Remove conditional code.
23253 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23254 <kernel-features.h>.
23255 [__ASSUME_32BITUIDS]: Make code unconditional.
23256 [!__ASSUME_32BITUIDS]: Remove conditional code.
23257 * sysdeps/unix/sysv/linux/kernel-features.h
23258 (__ASSUME_SETRESUID_SYSCALL): Remove.
23259 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23260 (__ASSUME_32BITUIDS): Likewise.
23261 (__ASSUME_LDT_WORKS): Likewise.
23262 (__ASSUME_O_DIRECTORY): Likewise.
23263 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23264 architecture but not kernel version.
23265 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23266 (__ASSUME_MMAP2_SYSCALL): Likewise.
23267 (__ASSUME_STAT64_SYSCALL): Likewise.
23268 (__ASSUME_IPC64): Likewise.
23269 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23270 <kernel-features.h>.
23271 [__ASSUME_32BITUIDS]: Make code unconditional.
23272 [!__ASSUME_32BITUIDS]: Remove conditional code.
23273 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23274 <kernel-features.h>.
23275 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23276 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23277 132096]: Remove conditional code.
23278 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23279 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23280 <kernel-features.h>.
23281 [__ASSUME_32BITUIDS]: Make code unconditional.
23282 [!__ASSUME_32BITUIDS]: Remove conditional code.
23283 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23284 <kernel-features.h>.
23285 [__ASSUME_32BITUIDS]: Make code unconditional.
23286 [!__ASSUME_32BITUIDS]: Remove conditional code.
23287 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23288 <kernel-features.h>.
23289 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23290 unconditional.
23291 (__setresgid): Do not declare.
23292 [__ASSUME_32BITUIDS]: Make code unconditional.
23293 [!__ASSUME_32BITUIDS]: Remove conditional code.
23294 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23295 <kernel-features.h>.
23296 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23297 unconditional.
23298 (__setresuid): Do not declare.
23299 [__ASSUME_32BITUIDS]: Make code unconditional.
23300 [!__ASSUME_32BITUIDS]: Remove conditional code.
23301 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23302 <kernel-features.h>.
23303 [__ASSUME_32BITUIDS]: Make code unconditional.
23304 [!__ASSUME_32BITUIDS]: Remove conditional code.
23305 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23306 <kernel-features.h>.
23307 [__ASSUME_32BITUIDS]: Make code unconditional.
23308 [!__ASSUME_32BITUIDS]: Remove conditional code.
23309
a386f1cc
RH
233102012-05-25 Richard Henderson <rth@twiddle.net>
23311
23312 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23313 dl_hwcap to ifunc resolver.
23314 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23315 elf_ifunc_invoke.
23316 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23317 dl_hwcap to ifunc resolver.
23318 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23319
b6550497
JM
233202012-05-24 Joseph Myers <joseph@codesourcery.com>
23321
23322 [BZ #14153]
23323 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23324 for |x| <= 2**-26, not 2**-57.
23325 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23326 exception.
23327
b0bc23a1
JL
233282012-05-24 Jeff Law <law@redhat.com>
23329
23330 * stdio-common/Makefile (tests): Add bug25.
23331 * stdio-common/bug25.c: New test.
23332
347c92e9
L
233332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23334
23335 [BZ #13576]
23336 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23337 multiple of MALLOC_ALIGNMENT in size.
23338 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23339
6bcc8b3f
JM
233402012-05-24 Joseph Myers <joseph@codesourcery.com>
23341
23342 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23343 Require >= 256.
23344 (FILENAME_MAX): Use macro-int-constant.
23345 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23346 (_IOFBF): Use macro-int-constant.
23347 (_IOLBF): Likewise.
23348 (_IONBF): Likewise.
23349 (SEEK_CUR): Likewise.
23350 (SEEK_END): Likewise.
23351 (SEEK_SET): Likewise.
23352 (TMP_MAX): Likewise.
23353 (EOF): Use macro-int-constant. Require < 0.
23354 (NULL): Use macro-constant. Require == 0.
23355 (stdin): Require type to be FILE *.
23356 (stdout): Likewise.
23357 (stderr): Likewise.
23358 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23359 macro-int-constant.
23360 (EXIT_SUCCESS): Likewise.
23361 (NULL): Use macro-constant. Require == 0.
23362 (RAND_MAX): Use macro-int-constant.
23363 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23364 [C99-based standards] (strtof): Require function.
23365 [C99-based standards] (strtold): Likewise.
23366 [C99-based standards] (strtoll): Likewise.
23367 [C99-based standards] (strtoull): Likewise.
23368 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23369 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23370 [ISO || ISO99 || ISO11] (math.h): Likewise.
23371 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23372 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23374
d18ea0c5
AS
233752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23376
23377 [BZ #14132]
56d25bb8
AS
23378 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23379 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23380 * intl/dgettext.c (DCGETTEXT): Likewise.
23381 * intl/gettext.c (DCGETTEXT): Likewise.
23382 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23383 * posix/regex_internal.h (gettext): Likewise.
23384 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23385 Remove declaration.
23386 * include/argz.h (__argz_count_internal)
23387 (__argz_stringify_internal): Remove declaration.
23388 (__argz_count, __argz_stringify): Declare hidden proto.
23389 * intl/dcgettext.c: Remove use of INTDEF.
23390 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23391 * string/argz-stringify.c: Likewise.
23392 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23393 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23394 Declare hidden proto.
d18ea0c5
AS
23395 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23396 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23397 Declare hidden proto.
23398 * include/stdio.h (__asprintf_internal): Don't declare.
23399 (__asprintf): Don't define as macro. Declare hidden proto.
23400 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23401 (__fsetlocking): Declare hidden proto.
23402 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23403 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23404 hidden proto.
23405 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23406 (_IO_setlinebuf): Remove use of INTUSE.
23407 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23408 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23409 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23410 Remove declaration.
23411 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23412 (_IO_do_flush): Remove use of INTUSE.
23413 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23414 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23415 (_IO_adjust_column, _IO_least_wmarker)
23416 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23417 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23418 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23419 (_IO_default_doallocate, _IO_wdefault_doallocate)
23420 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23421 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23422 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23423 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23424 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23425 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23426 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23427 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23428 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23429 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23430 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23431 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23432 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23433 proto.
23434 (_IO_flush_all_internal, _IO_adjust_column_internal)
23435 (_IO_default_uflow_internal, _IO_default_finish_internal)
23436 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23437 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23438 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23439 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23440 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23441 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23442 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23443 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23444 (_IO_file_close_internal, _IO_file_close_it_internal)
23445 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23446 (_IO_file_init_internal, _IO_file_attach_internal)
23447 (_IO_file_fopen_internal, _IO_file_read_internal)
23448 (_IO_file_sync_internal, _IO_file_seek_internal)
23449 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23450 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23451 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23452 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23453 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23454 (_IO_list_all_internal, _IO_link_in_internal)
23455 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23456 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23457 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23458 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23459 (_IO_do_write_internal, _IO_padn_internal)
23460 (_IO_getline_info_internal, _IO_getline_internal)
23461 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23462 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23463 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23464 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23465 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23466 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23467 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23468 with libc_hidden_ver, remove use of INTUSE.
23469 * libio/genops.c: Likewise.
23470 * libio/freopen.c: Likewise.
23471 * libio/freopen64.c: Likewise.
23472 * libio/iofclose.c: Likewise.
23473 * libio/iofdopen.c: Likewise.
23474 * libio/iofflush.c: Likewise.
23475 * libio/iofflush_u.c: Likewise.
23476 * libio/iofgets.c: Likewise.
23477 * libio/iofgets_u.c: Likewise.
23478 * libio/iofopen.c: Likewise.
23479 * libio/iofopncook.c: Likewise.
23480 * libio/iofread.c: Likewise.
23481 * libio/iofread_u.c: Likewise.
23482 * libio/ioftell.c: Likewise.
23483 * libio/iofwrite.c: Likewise.
23484 * libio/iogetline.c: Likewise.
23485 * libio/iogets.c: Likewise.
23486 * libio/iogetwline.c: Likewise.
23487 * libio/iopadn.c: Likewise.
23488 * libio/iopopen.c: Likewise.
23489 * libio/ioseekoff.c: Likewise.
23490 * libio/ioseekpos.c: Likewise.
23491 * libio/iosetbuffer.c: Likewise.
23492 * libio/iosetvbuf.c: Likewise.
23493 * libio/ioungetc.c: Likewise.
23494 * libio/ioungetwc.c: Likewise.
23495 * libio/iovdprintf.c: Likewise.
23496 * libio/iovsprintf.c: Likewise.
23497 * libio/iovsscanf.c: Likewise.
23498 * libio/memstream.c: Likewise.
23499 * libio/obprintf.c: Likewise.
23500 * libio/oldfileops.c: Likewise.
23501 * libio/oldiofclose.c: Likewise.
23502 * libio/oldiofdopen.c: Likewise.
23503 * libio/oldiofopen.c: Likewise.
23504 * libio/oldiopopen.c: Likewise.
23505 * libio/oldstdfiles.c: Likewise.
23506 * libio/putc.c: Likewise.
23507 * libio/setbuf.c: Likewise.
23508 * libio/setlinebuf.c: Likewise.
23509 * libio/stdfiles.c: Likewise.
23510 * libio/strops.c: Likewise.
23511 * libio/vasprintf.c: Likewise.
23512 * libio/vscanf.c: Likewise.
23513 * libio/vsnprintf.c: Likewise.
23514 * libio/vswprintf.c: Likewise.
23515 * libio/wfiledoalloc.c: Likewise.
23516 * libio/wfileops.c: Likewise.
23517 * libio/wgenops.c: Likewise.
23518 * libio/wmemstream.c: Likewise.
23519 * libio/wstrops.c: Likewise.
23520 * libio/__fpurge.c: Likewise.
23521 * libio/__fsetlocking.c: Likewise.
23522 * assert/assert.c: Likewise.
23523 * debug/fgets_chk.c: Likewise.
23524 * debug/fgets_u_chk.c: Likewise.
23525 * debug/fread_chk.c: Likewise.
23526 * debug/fread_u_chk.c: Likewise.
23527 * debug/gets_chk.c: Likewise.
23528 * debug/obprintf_chk.c: Likewise.
23529 * debug/vasprintf_chk.c: Likewise.
23530 * debug/vdprintf_chk.c: Likewise.
23531 * debug/vsnprintf_chk.c: Likewise.
23532 * debug/vsprintf_chk.c: Likewise.
23533 * malloc/mtrace.c: Likewise.
23534 * misc/error.c: Likewise.
23535 * misc/syslog.c: Likewise.
23536 * stdio-common/asprintf.c: Likewise.
23537 * stdio-common/fxprintf.c: Likewise.
23538 * stdio-common/getw.c: Likewise.
23539 * stdio-common/isoc99_fscanf.c: Likewise.
23540 * stdio-common/isoc99_scanf.c: Likewise.
23541 * stdio-common/isoc99_vfscanf.c: Likewise.
23542 * stdio-common/isoc99_vscanf.c: Likewise.
23543 * stdio-common/isoc99_vsscanf.c: Likewise.
23544 * stdio-common/printf-prs.c: Likewise.
23545 * stdio-common/printf_fp.c: Likewise.
23546 * stdio-common/printf_fphex.c: Likewise.
23547 * stdio-common/printf_size.c: Likewise.
23548 * stdio-common/putw.c: Likewise.
23549 * stdio-common/scanf.c: Likewise.
23550 * stdio-common/sprintf.c: Likewise.
23551 * stdio-common/tmpfile.c: Likewise.
23552 * stdio-common/vfprintf.c: Likewise.
23553 * stdio-common/vfscanf.c: Likewise.
23554 * stdlib/strfmon_l.c: Likewise.
23555 * sunrpc/openchild.c: Likewise.
23556 * sunrpc/xdr_stdio.c: Likewise.
23557 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23558 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23559
d6c33fda
RM
235602012-05-24 Roland McGrath <roland@hack.frob.com>
23561
c1487492
RM
23562 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23563
23564 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23565 in the third column, to generate for the shared library an IFUNC
23566 that uses _dl_vdso_vsym.
23567 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23568 * Makeconfig (object-suffixes-noshared): New variable.
23569
23570 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23571 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23572 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23573 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23574
d6c33fda
RM
23575 [BZ #14132]
23576 * include/sys/time.h (__gettimeofday): Remove macro.
23577 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23578 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23579 Remove INTDEF.
23580 (__gettimeofday): Add libc_hidden_def.
23581 (gettimeofday): Add libc_hidden_weak.
23582 * sysdeps/mach/gettimeofday.c: Likewise.
23583 * sysdeps/posix/gettimeofday.c: Likewise.
23584 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23585 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23586 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23587 (__gettimeofday_internal): Remove strong_alias.
23588 (__gettimeofday): Add libc_hidden_def.
23589 (gettimeofday): Add libc_hidden_weak.
23590 * sysdeps/unix/syscalls.list (gettimeofday):
23591 Remove __gettimeofday_internal alias.
23592
b5a2bbe6
L
235932012-05-24 Daniel Jacobowitz <drow@false.org>
23594 H.J. Lu <hongjiu.lu@intel.com>
23595
23596 [BZ #12495]
23597 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23598 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23599 (largebin_index_32_big): New.
23600 (largebin_index): Use it for 16-byte alignment.
23601 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23602 correction with front_misalign.
23603
cfba4fda
L
236042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23605
7f907421
L
23606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23608 Likewise.
23609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23610 Likewise.
23611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23612 Likewise.
23613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23614 Likewise.
23615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23616 Likewise.
23617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23618 Likewise.
23619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23620 Likewise.
23621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23622 Likewise.
23623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23624 Likewise.
23625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23626 Likewise.
23627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23628 Likewise.
23629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23630 Likewise.
23631
cfba4fda
L
23632 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23633 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23634
80bad0cc
JM
236352012-05-24 Joseph Myers <joseph@codesourcery.com>
23636
7a25eb06
JM
23637 [BZ #10846]
23638 [BZ #14036]
23639 * math/libm-test.inc (exp_test): Add test from bug 14036.
23640 (pow_test): Add test from bug 10846.
23641
795405f9
JM
23642 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23643 and other flags.
23644 (special_function): Do not include flags in test name.
23645 (parse_args): Likewise.
23646 * sysdeps/i386/fpu/libm-test-ulps: Update.
23647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23648 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23649 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23651
80bad0cc
JM
23652 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23653 exceptions.
23654 * math/libm-test.inc ("Philosophy"): Update comment about
23655 exception testing.
23656 (UNDERFLOW_EXCEPTION): New macro.
23657 (UNDERFLOW_EXCEPTION_OK): Likewise.
23658 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23659 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23660 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23661 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23662 (INVALID_EXCEPTION_OK): Update value.
23663 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23664 (OVERFLOW_EXCEPTION_OK): Likewise.
23665 (IGNORE_ZERO_INF_SIGN): Likewise.
23666 (test_exceptions): Handle underflow exceptions.
23667 (acos_test): Update for underflow exception expectations.
23668 (cexp_test): Likewise.
23669 (clog_test): Likewise.
23670 (clog10_test): Likewise.
23671 (csqrt_test): Likewise.
23672 (ctan_test): Likewise.
23673 (ctanh_test): Likewise.
23674 (exp_test): Likewise.
23675 (exp10_test): Likewise.
23676 (exp2_test): Likewise.
23677 (expm1_test): Likewise.
23678 (fma_test): Likewise.
23679 (j0_test): Likewise.
23680 (jn_test): Likewise.
23681 (nexttoward_test): Likewise.
23682 (pow_test): Likewise.
23683 (scalbn_test): Likewise.
23684 (scalbln_test): Likewise.
23685 (tan_test): Likewise.
23686 (y1_test): Likewise.
23687 * sysdeps/i386/fpu/libm-test-ulps: Update.
23688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23689
9e0e3d0b
DM
236902012-05-23 David S. Miller <davem@davemloft.net>
23691
23692 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23693 (__libc_sigaction): Remove unused local variables.
23694
ccd0a08f
L
236952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23696
23697 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23698
62bdf9a6
PE
236992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23700
f8591f80
PE
23701 mktime: avoid signed integer overflow
23702 * time/mktime.c (__mktime_internal): Do not mishandle the case
23703 where diff == INT_MIN.
23704
94c7d826
PE
23705 mktime: simplify computation of average
23706 * time/mktime.c (ranged_convert): Use new time_t_avg function
23707 instead of rolling our own (probably-slower) code.
23708
ce73d683
PE
23709 mktime: do not assume signed right shift propagates sign bit
23710 * time/mktime.c (isdst_differ): New static function.
23711 (__mktime_internal): No need to normalize tm_isdst now.
23712 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23713 tm_isdst values.
23714
72a22e59
PE
23715 mktime: merge another wrapv change from gnulib
23716 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23717 from some compilers.
23718
68605433
PE
23719 mktime: remove incorrect attempt at unusual arithmetics
23720 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23721 The code didn't really work on such machines anyway.
23722 (TYPE_MINIMUM): Assume two's complement.
23723 (twos_complement_arithmetic): Verify that long_int and time_t
23724 are two's complement (or unsigned, in the latter case).
23725
03cf7fe3
PE
23726 mktime: check signed shifts on long_int and time_t, too
23727 * time/mktime.c (SHR): Check that shifts work as desired
23728 on the types long_int and time_t too, as SHR is used on
23729 such types.
23730
f04dfbc2
PE
23731 mktime: do not assume 'long' is wide enough
23732 * time/mktime.c (verify): Move decl up.
23733 (long_int): New type.
23734 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23735 to remove assumption in the code that 'long' is wide enough to
23736 store year values. This assumption is not true on x32 and on
23737 some non-glibc platforms.
23738
62bdf9a6
PE
23739 mktime: merge wrapv change from gnulib
23740 * time/mktime.c (WRAPV): New macro.
23741 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23742 (guess_time_tm, __mktime_internal): Do not assume that signed
23743 integer overflow wraps around; modern compilers generate code
23744 where this assumption is no longer valid.
23745
5e292e4f
L
237462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23747
23748 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23749 Replace "jmp L(pseudo_end)" with "ret".
23750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23751 Likewise.
23752
8caf8c87
AJ
237532012-05-23 Andreas Jaeger <aj@suse.de>
23754
23755 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23756 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23757
1a09dc56
AJ
237582012-05-23 Andreas Jaeger <aj@suse.de>
23759 Maximilian Attems <max@stro.at>
23760
23761 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23762 New macros.
23763
1c87aba0
L
237642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23765
23766 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23767 code so that pseudo_end is just ret and the stack pointer is
23768 correct also for static library in error case.
23769
40e45bd5
JM
237702012-05-23 Joseph Myers <joseph@codesourcery.com>
23771
c2670533
JM
23772 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23773 move to syscalls.list.
23774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23778
40e45bd5
JM
23779 * manual/install.texi (Running make install): Do not mention Linux
23780 kernel version for which pt_chown is not needed.
23781 (Linux): Do not mention problems with nscd with 2.0 kernels.
23782 * INSTALL: Regenerated.
23783
be08eda5
AJ
237842012-05-23 Andreas Jaeger <aj@suse.de>
23785
23786 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23787 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23788 macro.
23789 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23790 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23791 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23792 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23793 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23794 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23795 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23796 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23797 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23798 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23799 * sysdeps/unix/sysv/linux/bits/in.h
23800 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23801
a6a056bb
RM
238022012-05-22 Roland McGrath <roland@hack.frob.com>
23803
23804 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23805 (PREPARE_VERSION): Just use assert instead, it will be elided
23806 under [NDEBUG] anyway.
23807
c9009328
L
238082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23809
23810 * sysdeps/unix/sysv/linux/Makefile: Include
23811 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23812 (sysdep_routines): Remove sysctl.
c9009328
L
23813 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23814 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23815 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23816 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23817 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23818
73338355
AJ
238192012-05-22 Andreas Jaeger <aj@suse.de>
23820
23821 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23822 that pseudo_end is just ret and the stack pointer is correct also
23823 for static library in error case.
23824
d44638b0
PP
238252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23826
23827 [BZ #14122]
23828 * nss/nsswitch.c (defconfig_entries): New variable.
23829 (__nss_database_lookup): Don't leak defconfig entries.
23830 (nss_parse_service_list): Don't leak on error paths.
23831 (free_database_entries): New function.
23832 (free_defconfig): New function.
23833 (free_mem): Move common code to free_database_entries.
23834
31a39bd8
L
238352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23836
da0331a8
L
23837 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23838 Add arch_prctl.
23839 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23840
31a39bd8
L
23841 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23842 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23844 New macro.
23845 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23846 (INTERNAL_SYSCALL_TYPES): Likewise.
23847 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23848 (LOAD_REGS_TYPES_[1-6]): Likewise.
23849 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23850 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23851
45470df3
AZ
238522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23853
23854 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23855 copysignl for GLIBC_2_0.
23856 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23857 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23859 logbl for GLIBC_2_0.
23860 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23861 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23862
98a61bcb
L
238632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23864
a4f6e481
L
23865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23866 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23867
f63d5db6
L
23868 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23869 Use "neg %eax".
23870
98a61bcb
L
23871 * time/mktime.c: Update copyright years.
23872
95770f14
PE
238732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23874
6226efbd
PE
23875 mktime: merge comment-quoting-style change from gnulib
23876 * time/mktime.c: Quote 'like this' in comments.
23877 The GNU coding standards suggest that we no longer quote `like this',
23878 as "`" and "'" are typically rendered asymmetrically nowadays.
23879 The typical gnulib style is to quote 'like this' when quoting
23880 code, and "like this" when quoting English.
23881
b99e4f78
PE
23882 * time/mktime.c (compile-command): Add "-I.".
23883
643e01e6
PE
23884 mktime: merge mktime-internal.h change from gnulib
23885 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23886
2554247d
PE
23887 mktime: merge time_r change from gnulib
23888 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23889
826dd0ab
PE
23890 mktime: merge DEBUG change from gnulib
23891 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23892 case system <time.h> has a #define.
23893
bd83aabe
PE
23894 mktime: merge <sys/types.h> change from gnulib
23895 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23896 since <time.t> is now guaranteed to define time_t.
23897
95770f14
PE
23898 mktime: merge HAVE_CONFIG_H change from gnulib
23899 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23900
5e1a27a9
L
239012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23902
0e44a77e
L
23903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23904 Use "neg %eax".
23905
5e1a27a9
L
23906 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23907 __rlim_t cast.
23908 (struct rusage): Use anonymous union to pad each field to
23909 __syscall_slong_t.
23910
46259bec
DM
239112012-05-21 David S. Miller <davem@davemloft.net>
23912
23913 * Makefules (o-iterator): Remove .s cases.
23914 (compile-command.s): Delete.
23915 (COMPILE.s): Delete.
23916 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23917
59f0c22e
JM
239182012-05-21 Joseph Myers <joseph@codesourcery.com>
23919
23920 * configure.in (libc_cv_predef_stack_protector): Only consider
23921 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23922 * configure: Regenerated.
23923
20c07380
L
239242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23925
bbb3154b
L
23926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23927 New macro. Use R*LP on int and pointer.
23928 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23929 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23930 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23931 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23932
20c07380
L
23933 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23934 [__WORDSIZE_TIME64_COMPAT32] instead of
23935 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23936 (struct utmp): Likewise.
23937 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23938 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23939 Renamed to ...
23940 (__WORDSIZE_TIME64_COMPAT32): This.
23941 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23942 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23943 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23944 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23945 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23946 (__WORDSIZE_TIME64_COMPAT32): New macro.
23947
d8d1017e
AJ
239482012-05-21 Andreas Jaeger <aj@suse.de>
23949
23950 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23951 only if [SHARED]. Add prototype for __wcschr_ia32.
23952
6c7fb145
RM
239532012-05-21 Roland McGrath <roland@hack.frob.com>
23954
23955 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23956 of %rbp unmolested in the jmp_buf while mangling the low bits.
23957 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23958 unmolested high bits of %rbp while demangling the low bits.
23959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23960
66274218
AJ
239612012-05-21 Andreas Jaeger <aj@suse.de>
23962
07c58f8f
AJ
23963 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23964 * sunrpc/svc_simple.c: Use it for registerrpc.
23965 * sunrpc/xcrypt.c: Use it for passwd2des.
23966
66274218
AJ
23967 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23968
61f65140
L
239692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23970
23971 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23972 Don't define if [__SYSCALL_WORDSIZE != 32].
23973 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23974 New macro.
23975
5fefb436
AJ
239762012-05-21 Bruno Haible <bruno@clisp.org>
23977 Andreas Jaeger <aj@suse.de>
23978
23979 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23980 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23981 inptr and inend for must_buffer_ch.
23982 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23983 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23984 * stdio-common/Makefile (tests): Remove bug15.
23985 (bug15-ENV): Remove macro.
23986 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23987 anymore.
23988
d8e272ab
AJ
239892012-05-19 Andreas Jaeger <aj@suse.de>
23990 Roland McGrath <roland@hack.frob.com>
23991
23992 * manual/contrib.texi: Completely rewritten. It contains now an
23993 alphabetical list of contributors and their contributions.
23994
4a56a162
RH
239952012-05-21 Richard Henderson <rth@twiddle.net>
23996
23997 * misc/getauxval.c (__getauxval): Use unsigned long int.
23998 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23999 (getauxval): Use unsigned long int.
24000
d024d23c
L
240012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24002
24003 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24004
cbc00a03
RM
240052012-05-21 Roland McGrath <roland@hack.frob.com>
24006
24007 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24008 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24009 __alignof__ (long double).
24010
478143fa
AZ
240112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24012
24013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24014
c7683a6d
RH
240152012-05-20 Richard Henderson <rth@twiddle.net>
24016
24017 * misc/getauxval.c: New file.
24018 * misc/sys/auxv.h: New file.
24019 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24020 (routines): Add getauxval.
24021 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24022 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24023 * elf/dl-sysdep.c (_dl_auxv): Remove.
24024 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24025 * elf/dl-support.c (_dl_auxv): New variable.
24026 (_dl_aux_init): Initialize it.
24027 * manual/startup.texi (Auxiliary Vector): New node.
24028 * sysdeps/generic/bits/hwcap.h: New file.
24029 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24030 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24031 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24032 * sysdeps/sparc/sysdep.h: ... here. Include it.
24033 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24034 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
24035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24036 Update.
c7683a6d
RH
24037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24040 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24045
a6f1845d
AZ
240462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24047
24048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24049
cbcbe830
DM
240502012-05-19 David S. Miller <davem@davemloft.net>
24051
24052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24053
e0b16cc2
JM
240542012-05-19 Joseph Myers <joseph@codesourcery.com>
24055
24056 [BZ #14123]
24057 * math/s_ccosh.c: Include <float.h>
24058 (__ccosh): Avoid internal overflow calculating sinh and cosh
24059 values before multiplying by sin and cos values.
24060 * math/s_ccoshf.c: Likewise.
24061 * math/s_ccoshl.c: Likewise.
24062 * math/s_csin.c: Likewise.
24063 * math/s_csinf.c: Likewise.
24064 * math/s_csinl.c: Likewise.
24065 * math/s_csinh.c: Likewise.
24066 * math/s_csinhf.c: Likewise.
24067 * math/s_csinhl.c: Likewise.
24068 * math/libm-test.inc (ccos_test): Add more tests.
24069 (ccosh_test): Likewise.
24070 (csin_test): Likewise.
24071 (csinh_test): Likewise.
24072 * sysdeps/i386/fpu/libm-test-ulps: Update.
24073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24074
6ad13e08
L
240752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24076
f66f0ce8
L
24077 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24078 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24079
6ad13e08
L
24080 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24081
b1d072a7
JM
240822012-05-19 Joseph Myers <joseph@codesourcery.com>
24083
24084 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24085 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24086 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24087 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24088 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24089 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24090 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24091 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24092 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24093 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24094 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24095 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24096 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24097 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24098 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24099 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24100 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24101 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24102 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24103 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24104 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24105 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24106 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24107 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24108 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24109 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24110 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24111 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24112 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24113 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24114 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24115
9eae47cb
AJ
241162012-05-18 Andreas Jaeger <aj@suse.de>
24117
24118 * csu/.gitignore: Delete.
24119
bb07f69f
L
241202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24121
24122 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24123 (timex): Use __syscall_slong_t.
24124
e6bdb741
AJ
241252012-05-18 Andreas Jaeger <aj@suse.de>
24126 Carlos O'Donell <carlos_odonell@mentor.com>
24127
24128 * manual/install.texi (Configuring and compiling): Update
24129 description about files modified in the source directory.
d6c33fda 24130 * INSTALL: Regenerated.
e6bdb741 24131
1b74487e
L
241322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24133
24134 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24135 value. Use "or" to set return value to -1.
24136 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24137 negate return value.
24138
a88b64b9
TMQMF
241392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24140
24141 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24142 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24143 failure if the compiler has Graphite support disabled.
24144 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24145 Likewise.
24146 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24147 CFLAGS-memmove.c): Likewise.
24148 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24149 Likewise.
24150
3707636e
L
241512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24152
610b8622
L
24153 * sysdeps/x86_64/x32/_itoa.h: New file.
24154
7cd195df
L
24155 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24156 getdents system call only if kernel and user dirents have the
24157 same d_ino and d_off.
24158
94b07d20
L
24159 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24160 LLONG_MAX != LONG_MAX.
24161 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24162 (_fitoa_word): Likewise.
24163
18298070
L
24164 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24165 years.
24166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24167 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24168 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24169
553c7ea4
L
24170 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24171 include <bits/wordsize.h>. Check __x86_64__ instead of
24172 __WORDSIZE.
24173 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24174 if __x86_64__ is defined. Use anonymous union on fpstate.
24175
3707636e
L
24176 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24177 anonymous union.
24178
b53ef01a
AS
241792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24180
37fb1dc0
AS
24181 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24182 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24183 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24184 Refer to _rtld_local_ro instead of _rtld_global_ro.
24185 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24186 Likewise.
24187 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24188 Likewise.
24189 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24190 Likewise.
24191 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24192 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24193 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24194
b53ef01a
AS
24195 * sysdeps/powerpc/powerpc32/dl-machine.c
24196 (__elf_machine_runtime_setup) [PROF]: Don't reference
24197 _dl_prof_resolve.
24198
7a185db2
AJ
241992012-05-18 Andreas Jaeger <aj@suse.de>
24200
24201 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24202 function only available for GCCs before 3.4 since GCC 3.4
24203 introduced a builtin.
24204 (lrint): Likewise.
24205 (llrintf): Likewise.
24206 (llrint): Likewise.
24207 (fmaxf): Likewise.
24208 (fmax): Likewise.
24209 (fminf): Likewise.
24210 (fmin): Likewise.
24211 (rint): Likewise.
24212 (rintf): Likewise.
24213 (nearbyint): Likewise.
24214 (nearbyintf): Likewise.
24215 (ceil): Likewise.
24216 (ceilf): Likewise.
24217 (floor): Likewise.
24218 (floorf): Likewise.
24219
3e5aef87
L
242202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24221
428bd707
L
24222 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24223 on both fields and cast pointer to __syscall_ulong_t.
24224
3e5aef87
L
24225 * bits/types.h (__fsword_t): New type.
24226 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24227 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24229 (__FSWORD_T_TYPE): Likewise.
24230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24231 (__FSWORD_T_TYPE): Likewise.
24232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24233 (__FSWORD_T_TYPE): Likewise.
24234 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24235 (__FSWORD_T_TYPE): Likewise.
24236 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24237 __SWORD_TYPE with __fsword_t.
24238 (statfs64): Likewise.
24239
1ba7c3dc
DM
242402012-05-17 David S. Miller <davem@davemloft.net>
24241
24242 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24243
59910343
AJ
242442012-05-17 Andreas Jaeger <aj@suse.de>
24245
24246 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24247 warning.
24248
2e4c1e9e
L
242492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24250
24251 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24252
de7f5ce7
AJ
242532012-05-17 Andreas Jaeger <aj@suse.de>
24254
24255 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24256 when it is used.
24257
286abc3d
CM
242582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24259
24260 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24261
477cc68e
L
242622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24263
24264 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24265 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24266
1a0994f5
CD
242672012-05-17 Andreas Jaeger <aj@suse.de>
24268 Carlos O'Donell <carlos_odonell@mentor.com>
24269
24270 [BZ #14059]
24271 * sysdeps/x86_64/multiarch/init-arch.h
24272 (bit_YMM_Usable): Rename to...
24273 (bit_AVX_Usable): ... this.
24274 (bit_FMA4_Usable): New macro.
24275 (bit_XMM_state): New macro.
24276 (bit_YMM_state): New macro.
24277 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24278 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24279 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24280 (CPUID_OSXSAVE): New macro.
24281 (CPUID_AVX): New macro.
24282 (CPUID_FMA4): New macro.
24283 (index_YMM_Usable): Rename to...
24284 (index_AVX_Usable): ... this.
24285 (HAS_AVX): Use HAS_ARCH_FEATURE.
24286 (HAS_FMA4): Likewise.
24287 (HAS_YMM_USABLE): Remove.
24288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24289 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24290 are present.
24291 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24292 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24293 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24294 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24295 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24296
0af797de
CM
242972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24298
24299 * math/libm-test.c: Support platforms without multiple rounding modes.
24300 * math/bug-nextafter.c: Support platforms without FP exceptions.
24301 * math/bug-nexttoward.c: Likewise.
24302 * math/test-fenv.c: Likewise.
24303 * math/test-misc.c: Likewise.
24304 * stdlib/bug-getcontext.c: Likewise.
24305
e39745ff
AJ
243062012-05-17 Andreas Jaeger <aj@suse.de>
24307
24308 * manual/examples/search.c (critter_cmp): Change signature to
24309 avoid warnings.
24310 * manual/string.texi (Collation Functions): Likewise.
24311
48970aba
L
243122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24313
24314 * bits/types.h: Fold copyright years.
24315 * bits/typesizes.h: Likewise.
24316 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24320 * time/time.h: Likewise.
24321
bedee953
PP
243222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24323
24324 [BZ #208]
24325 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24326 in instead of returning them. Return void.
24327 (__libc_mallinfo): Accumulate over all arenas.
24328 (__malloc_stats): Adjust for change in int_mallinfo interface.
24329
61653dfb
RM
243302012-05-16 Roland McGrath <roland@hack.frob.com>
24331
30b99d79
RM
24332 [BZ #10375]
24333 * configure.in (NM): Add AC_CHECK_TOOL for it.
24334 (libc_extra_cflags): New substituted variable.
24335 Check for -fstack-protector being used implicitly.
24336 * configure: Regenerated.
24337 * config.make.in (config-extra-cflags): New variable,
24338 gets @libc_extra_cflags@.
24339 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24340
61653dfb
RM
24341 [BZ #10375]
24342 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24343 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24344 * configure: Regenerated.
24345 * config.make.in (CPPUNDEFS): New substituted variable.
24346 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24347 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24348 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24349
661768bb
L
243502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24351
24352 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24353 (mq_attr): Use __syscall_slong_t.
24354
d4261567
L
243552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24356
24357 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24358 Check __x86_64__ instead of __WORDSIZE.
24359 (_STAT_VER_LINUX): Likewise.
24360 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24361 __syscall_ulong_t and __syscall_slong_t.
24362 (stat64): Likewise.
24363
cf3ff365
L
243642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24365
24366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24367
76cf3e4d
L
243682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24369
24370 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24371
a637753a
L
243722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24373
24374 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24375 __syscall_ulong_t.
24376
d5e05119
L
24377 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24378 include <bits/wordsize.h>. Check __x86_64__ instead of
24379 __WORDSIZE.
24380 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24381 defined.
24382 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24383
f62ee380
L
24384 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24385 include <bits/wordsize.h>. Check __x86_64__ instead of
24386 __WORDSIZE.
24387 (user_regs_struct): Use "__extension__ unsigned long long"
24388 instead of "unsigned long" if __x86_64__ is defined.
24389 (user): Likewise. Pad after pointer field if __ILP32__ is
24390 defined.
24391
4e124ced
JM
243922012-05-16 Joseph Myers <joseph@codesourcery.com>
24393
6a3951a0
JM
24394 * configure.in (makeinfo): Require version 4.5 or later. Allow
24395 versions 5 to 9.
24396 * configure: Regenerated.
24397 * manual/install.texi (texinfo): Increase version requirement to
24398 4.5 or later.
24399 * INSTALL: Regenerated.
24400
4e124ced
JM
24401 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24402
953ca31a
L
244032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24404
24405 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24406
617aca05
L
24407 * sysdeps/x86_64/x32/ffs.c: New file.
24408
5762f7ae
L
24409 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24410 __syscall_ulong_t.
24411 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24412 defined. Use __syscall_ulong_t.
24413 (shminfo): Use __syscall_ulong_t.
24414 (shm_info): Likewise.
24415
a26b6856
L
24416 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24417 __syscall_ulong_t.
24418
cb2b9ef7
L
24419 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24420 <bits/wordsize.h>.
24421 (msgqnum_t): Use __syscall_ulong_t.
24422 (msglen_t): Likewise.
24423 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24424 __syscall_ulong_t.
24425
34683bb0
L
24426 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24427 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24428
84a68786
L
24429 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24430
48baa5f1
L
24431 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24432 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24433
180be88b
L
24434 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24435 __syscall_slong_t.
24436
5e90c8ad
L
24437 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24438 include <bits/wordsize.h>. Check __x86_64__ instead of
24439 __WORDSIZE.
24440
23dfb58b
L
24441 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24442 "unsigned long long int" if __x86_64__ is defined.
24443 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24444
ce5d54b0
L
24445 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24446 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24447 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24448
13dc9eac
L
24449 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24450 <stdint.h>.
24451 (GET_PC): Cast to uintptr_t first.
24452 (GET_FRAME): Likewise.
24453 (GET_STACK): Likewise.
24454
a7895d15
L
24455 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24456 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24457 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24458 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24459 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24460 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24461 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24462 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24463 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24464 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24465 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24466 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24467 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24468 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24469 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24470 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24471 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24472 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24473 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24475 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24477 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24479 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24480 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24481 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24482 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24483 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24484
656416c9
AS
244852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24486
5bd66283
AS
24487 * Makerules (+depfiles): Also collect depfiles from .oS in
24488 $(extra-objs).
24489 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24490 .oS, $(libnldbl-routines)).
24491
656416c9
AS
24492 * Makerules (native-compile-mkdep-flags): Define.
24493 * sunrpc/Makefile (extra-objs): Add $(addprefix
24494 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24495 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24496 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24497 calling $(make-target-directory).
24498
a46f2169
L
244992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24500
24501 * bits/types.h (__snseconds_t): Removed.
24502 * time/time.h (struct timespec): Replace __snseconds_t with
24503 __syscall_slong_t.
24504 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24505 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24506 Likewise.
24507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24508 (__SNSECONDS_T_TYPE): Likewise.
24509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24510 (__SNSECONDS_T_TYPE): Likewise.
24511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24512 (__SNSECONDS_T_TYPE): Likewise.
24513
6af6528b
L
245142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24515
24516 * sysdeps/mach/hurd/bits/typesizes.h
24517 (__SYSCALL_SLONG_TYPE): New macro.
24518 (__SYSCALL_ULONG_TYPE): Likewise.
24519
de986b56
L
245202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24521
24522 * bits/types.h (__syscall_slong_t): New type.
24523 (__syscall_ulong_t): Likewise.
24524
24525 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24526 (__SYSCALL_ULONG_TYPE): Likewise.
24527 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24528 (__SYSCALL_SLONG_TYPE): Likewise.
24529 (__SYSCALL_ULONG_TYPE): Likewise.
24530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24531 (__SYSCALL_SLONG_TYPE): Likewise.
24532 (__SYSCALL_ULONG_TYPE): Likewise.
24533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24534 (__SYSCALL_SLONG_TYPE): Likewise.
24535 (__SYSCALL_ULONG_TYPE): Likewise.
24536
85736dc7
L
245372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24538
24539 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24540 Add sigaltstack-offsets.sym.
24541 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24542 <sigaltstack-offsets.h>.
24543 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24544 longjmp_msg pointer.
24545 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24546 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24547 signal stack.
24548 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24549
cc03b296
JM
245502012-05-15 Joseph Myers <joseph@codesourcery.com>
24551
a9538892
JM
24552 * elf/stackguard-macros.h: Remove file.
24553 * sysdeps/generic/stackguard-macros.h: New file.
24554 * sysdeps/i386/stackguard-macros.h: Likewise.
24555 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24556 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24557 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24558 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24559 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24560 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24561 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24562 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24563 <elf/stackguard-macros.h>.
24564
cc03b296
JM
24565 [BZ #14109]
24566 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24567 __aligned__ in attribute.
24568 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24569 (gregset_t): Likewise.
24570
93171016
L
245712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24572
24573 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24574 * sysdeps/x86_64/64/Implies-after: Here. New file.
24575 * sysdeps/x86_64/x32/Implies-after: New file.
24576
d86813a0
L
245772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24578
24579 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24580 and access return value for _dl_profile_fixup. Use R10_LP to
24581 load frame size.
24582
2953ec75
L
245832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24584
24585 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24586
3b550e9e
L
245872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24588
24589 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24590 * sysdeps/x86_64/x32/sysdep.h: New file.
24591
eda41706
L
245922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24593
24594 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24595 * sysdeps/x86_64/setjmp.S: Likewise.
24596
9ea01d93
AZ
245972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24598
24599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24600 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24601 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24602 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24603 remove unused global constant.
24604
02a91938
CM
246052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24606
24607 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24608 include of <not-cancel.h>.
24609
6540185f
RM
246102012-05-15 Roland McGrath <roland@hack.frob.com>
24611
24612 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24613
509072a0
AJ
246142012-05-15 Jeff Law <law@redhat.com>
24615 Andreas Jaeger <aj@suse.de>
24616
24617 [BZ #13594]
24618 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24619 out from...
24620 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24621 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24622 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24623 code changing __hst_map_handle.map.
24624
ba75122d
RM
246252012-05-15 Roland McGrath <roland@hack.frob.com>
24626
24627 * configure.in (sysnames): Look for Implies-before and Implies-after
24628 files.
24629 * configure: Regenerated.
24630
890d8bd8
L
246312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24632
24633 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24634 8-byte data alignment with LP_SIZE alignment.
24635
f6ee6623
L
246362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24637
24638 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24639 into R10_LP.
24640
ea2626f6
L
246412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24642
24643 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24644
085f715e
L
246452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24646
24647 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24648 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24649 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24650 Likewise.
24651 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24652
be8498fc
L
246532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24654
24655 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24656 (stackinfo_sub_sp): Likewise.
24657
70bc83b9
L
246582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24659
24660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24661 RAX_LP.
24662
9bc0b730
L
246632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24664
24665 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24666 into R*_LP.
24667
6d2850e7
L
246682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24669
24670 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24671 sizes into R*_LP.
24672
3cb84561
L
246732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24674
24675 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24676
54e2ed81
L
246772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24678
24679 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24680 into R11_LP and load __x86_64_shared_cache_size_half into
24681 R8_LP.
24682
8a17f349
L
246832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24684
24685 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24686 R8_LP.
24687
777b1eea
AZ
246882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24689
24690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24691 logb for POWER7.
24692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24693 logbf for POWER7.
24694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24695 logbl for POWER7.
24696 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24697 powerpc32/power7/fpu/s_logb.c via #include.
24698 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24699 powerpc32/power7/fpu/s_logbf.c via #include.
24700 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24701 powerpc32/power7/fpu/s_logbl.c via #include.
24702
d20d4ac2
JM
247032012-05-15 Joseph Myers <joseph@codesourcery.com>
24704
24705 * README.libm: Remove file.
24706
6cdef1ab
L
247072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24708
24709 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24710 count for x32. Use R*_LP and omit operand-size suffix.
24711
0b254d8f
L
247122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24713
24714 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24715 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24716 * sysdeps/x86_64/x32/shlib-versions: New file.
24717
ceb809dc
RM
247182012-05-14 Roland McGrath <roland@hack.frob.com>
24719
24720 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24721 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24722 Use _dl_fatal_printf instead.
24723
37f1abd4
JM
247242012-05-14 Joseph Myers <joseph@codesourcery.com>
24725
24726 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24727 set if not set by the user. Do not allow for being unset.
24728 * sysdeps/unix/sysv/linux/configure: Regenerated.
24729
11de3a33
L
247302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24731
24732 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24733 the `q' suffix from lea and replace .quad with ASM_ADDR.
24734
e02f153a
L
247352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24736
24737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24738 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24739 instead of $17.
24740 (PTR_DEMANGLE): Likewise.
24741
520ae0fd
L
247422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24743
24744 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24745 (LP_OP): Likewise.
24746 (ASM_ADDR): Likewise.
24747 (RAX_LP): Likewise.
24748 (RBP_LP): Likewise.
24749 (RBX_LP): Likewise.
24750 (RCX_LP): Likewise.
24751 (RDI_LP): Likewise.
24752 (RSI_LP): Likewise.
24753 (RSP_LP): Likewise.
24754 (R8_LP): Likewise.
24755 (R9_LP): Likewise.
24756 (R10_LP): Likewise.
24757 (R10_LP): Likewise.
24758 (R11_LP): Likewise.
24759 (R12_LP): Likewise.
24760 (R13_LP): Likewise.
24761 (R14_LP): Likewise.
24762 (R15_LP): Likewise.
24763
b985be81
L
247642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24765
24766 * sysdeps/x86_64/x32/dl-machine.h: New file.
24767
6a4888ff
AJ
247682012-05-14 Andreas Jaeger <aj@suse.de>
24769
24770 * manual/Makefile (subdir): Remove export of subdir.
24771 (all): Remove target.
24772 (.PHONY): Remove all from list.
24773 (mkinstalldirs): Remove.
24774 (.PHONY): Remove installdirs from list.
24775 ($(inst_infodir)/libc.info): Use make-target-directory.
24776 (installdirs): Remove.
24777 (subdir_%): Remove.
24778 (glibc-targets): Remove.
24779 (lib): Remove.
24780 (stubs): Remove.
24781 ($(objpfx)stubs ../po/manual.pot): Remove.
24782 ($(objpfx)stamp%): Remove.
24783 (make-target-directory): Remove.
24784 (subdir_install): Remove.
24785 (routines): Remove.
24786 (aux): Remove.
24787 (sources): Remove.
24788 (objects): Remove.
24789 (headers): Remove.
24790
24791 [BZ #13750]
24792 * manual/.gitignore: Remove, it's not needed anymore.
24793 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24794 all files in it.
24795 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24796 directory.
24797 (texis): Renamed to $(objpfx)texis.
24798 (texis-path): New, contains path to generated files.
24799 (chapters.%): Use texis-path for complete path, add extra argument
24800 libc-texinfo.sh.
24801 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24802 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24803 (summary,texi, stamp-summary): Use complete path of
24804 files. Generate files in build dir.
24805 (dir-add.texi): Build in build dir.
24806 (libm-err.texi,stamp-libm-err): Likewise.
24807 (version.texi, stamp-version): Likewise.
24808 (.%c.texi): Likewise.
24809 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24810 (mostlyclean): Remove target.
24811 (realclean): Remove target.
24812 (generated): Add new variable with contents from mostlyclean and
24813 realclean, remove entries duplicated in common-mostlyclean, add
24814 stamp-libm-err and stamp-version.
24815 (generated-dirs): Add libc directory.
24816 ($(inst_infodir)/libc.info): Install files from build dir.
24817
24818 * manual/install.texi (Configuring and compiling): Adjust since
24819 the info files are not part of the tar ball anymore.
24820
7ac77294
AJ
248212012-05-14 Andreas Jaeger <aj@suse.de>
24822
24823 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24824 variable.
24825
ffb7875d
JM
248262012-05-14 Joseph Myers <joseph@codesourcery.com>
24827
24828 [BZ #13717]
24829 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24830 to 2.2.0 where earlier.
24831 * sysdeps/unix/sysv/linux/configure: Regenerated.
24832 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24833 Remove conditional code.
24834 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24835 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24836 Remove conditional code.
24837 [!__NR_lchown]: Likewise.
24838 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24839 [__NR_lchown]: Likewise.
24840 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24841 comment referencing __ASSUME_LCHOWN_SYSCALL.
24842 * sysdeps/unix/sysv/linux/i386/sigaction.c
24843 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24844 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24845 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24846 Remove conditional code.
24847 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24848 (__protocol_available): Remove #if 0 code.
24849 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24850 conditional code.
24851 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24852 * sysdeps/unix/sysv/linux/kernel-features.h
24853 (__ASSUME_GETCWD_SYSCALL): Don't define.
24854 (__ASSUME_REALTIME_SIGNALS): Likewise.
24855 (__ASSUME_PREAD_SYSCALL): Likewise.
24856 (__ASSUME_PWRITE_SYSCALL): Likewise.
24857 (__ASSUME_POLL_SYSCALL): Likewise.
24858 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24859 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24860 non-SPARC.
24861 (__ASSUME_SIOCGIFNAME): Don't define.
24862 (__ASSUME_MSG_NOSIGNAL): Likewise.
24863 (__ASSUME_SENDFILE): Define unconditionally.
24864 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24865 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24866 conditional code.
24867 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24868 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24869 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24870 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24871 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24872 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24873 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24875 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24878 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24881 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24884 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24887 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24890 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24893 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24896 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24898 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24899 Remove conditional code.
24900 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24901 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24902 Remove conditional code.
24903 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24904 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24905 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24906 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24907 Remove conditional code.
24908 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24909 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24910 Remove conditional code.
24911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24912 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24913 Remove conditional code.
24914 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24915 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24916 Remove conditional code.
24917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24918 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24919 Remove conditional code.
24920 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24921 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24922 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24924 * sysdeps/unix/sysv/linux/sigaction.c
24925 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24926 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24927 * sysdeps/unix/sysv/linux/sigpending.c
24928 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24929 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24930 * sysdeps/unix/sysv/linux/sigprocmask.c
24931 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24932 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24933 * sysdeps/unix/sysv/linux/sigsuspend.c
24934 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24935 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24936 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24937 (__libc_missing_rt_sigs): Remove.
24938 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24939 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24940 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24941 Remove conditional code.
24942 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24943 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24944 return 1.
24945 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24946 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24947 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24948 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24949
1bfb7291
AJ
249502012-05-14 Andreas Jaeger <aj@suse.de>
24951
caae5a81
AJ
24952 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24953 it's not used in glibc.
24954 (__coshm1): Likewise.
24955 (__acosh1p): Likewise.
24956 (__sgn): Likewise.
24957
1bfb7291
AJ
24958 * manual/string.texi (Copying and Concatenation): Add missing
24959 variable in concat example.
24960 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24961
c044d724
L
249622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24963
144c5467 24964 [BZ #14103]
c044d724
L
24965 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24966 __builtin_clzl with __builtin_clzll.
24967
2523c62b
L
249682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24969
24970 [BZ #14104]
24971 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24972 libc_freeres_ptr.
24973
d7bb4c42
LD
249742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24975
24976 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24977 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24978 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24979 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24980
9dc4e1fb
MF
249812012-05-14 Mike Frysinger <vapier@gentoo.org>
24982
24983 * NEWS: Update ia64 info.
24984
c7df0112
AS
249852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24986
24987 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24988 used as bcopy.
24989
dc70356c
TS
249902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24991
24992 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24993 * sysdeps/unix/syscalls.list (dup3): Likewise.
24994 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24995 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24996
9fb1a21f
L
249972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24998
24999 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25000 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25001
4822a2a5
L
250022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25003
25004 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25005 thread pointer.
25006 (TLS_IE): Use mov/add instead of movq/addq to load thread
25007 pointer.
25008 (TLS_GD_PREFIX): New.
25009 (TLS_GD): Use it.
25010
842b81d6
DM
250112012-05-11 David S. Miller <davem@davemloft.net>
25012
25013 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25014 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25015 (_FPU_SETCW): Likewise.
25016
1cf463cd
L
250172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25018
25019 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25020 is 32-byte aligned.
25021
60cc4a18
AS
250222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25023
25024 [BZ #11837]
25025 * iconvdata/gb18030.c: Update tables.
25026 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25027 characters specially.
25028 (BODY for TO_LOOP): Add encoding of missing ranges.
25029
febb44a4
TS
250302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25031
25032 [BZ #13673]
25033 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25034 * sysdeps/mach/hurd/dup3.c: Likewise.
25035 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25036 * sysdeps/powerpc/memmove.c:: Likewise.
25037
0a10fb9e
L
250382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25039
25040 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25041 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25042
df8a552f
L
250432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25044
25045 * elf/elf.h (R_X86_64_RELATIVE64): New.
25046 (R_X86_64_NUM): Updated.
25047 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25048 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25049 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25050 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25051 tst-quad1pie tst-quad2pie
25052 (modules-names): Add tst-quadmod1 tst-quadmod2.
25053 ($(objpfx)tst-quad1): New dependency.
25054 ($(objpfx)tst-quad2): Likewise.
25055 ($(objpfx)tst-quad1pie): Likewise.
25056 ($(objpfx)tst-quad2pie): Likewise.
25057 * sysdeps/x86_64/tst-quad1.c: New file.
25058 * sysdeps/x86_64/tst-quad1pie.c: New file.
25059 * sysdeps/x86_64/tst-quad2.c: Likewise.
25060 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25061 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25062 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25063 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25064 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25065
f34d6f84
ST
250662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25067
f42d41d1
ST
25068 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25069 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25070 * streams/stropts.h (t_scalar_t): Define type.
25071
3c3571fc
ST
25072 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25073 (_PATH_PRESERVE): Set to "/var/lib".
25074 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25075
61f06bd3
ST
25076 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25077 instead of int.
25078
918d4d71
ST
25079 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25080 if __dir_mkfile succeeded.
25081
f34d6f84
ST
25082 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25083 checking for _hurd_dtablesize. Unlock it right after having
25084 finished _hurd_dtable allocation.
25085
10589b4a
TS
250862012-05-10 Thomas Schwinge <thomas@schwinge.name>
25087
674cdbc7
TS
25088 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25089 * sysdeps/mach/hurd/configure: Regenerated.
25090 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25091 special-casing to...
25092 * sysdeps/gnu/configure.in: ... this new file.
25093 * sysdeps/unix/sysv/linux/configure: Regenerated.
25094 * sysdeps/gnu/configure: New generated file.
25095
8e41b99f
TS
25096 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25097 for Linux: use nsec instead of usec, as well as:
25098 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25099 members of type struct timespec.
25100 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25101 New macros.
25102 (struct stat64): Likewise.
25103 (_STATBUF_ST_NSEC): New macro.
25104 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25105
10589b4a
TS
25106 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25107 __strtoul_internal rather than strtoul.
25108
63643c85
PT
251092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25110
25111 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25112 and reject them.
25113
3faebe6a
ST
251142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25115
25116 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25117 which preserves existing values.
25118 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25119
c6474b07
PT
251202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25121
25122 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25123 TIMEOUT values. Return EINVAL for NFDS values either negative or
25124 greater than FD_SETSIZE.
25125
1043890b
ST
251262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25127
25128 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25129 allocated, call __vm_protect to finish enabling the existing space, and
25130 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25131 allocate the remainder.
25132
37ed8b9b
PT
251332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25134
25135 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25136 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25137
db653660
ST
251382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25139
37ed8b9b
PT
25140 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25141 sysdeps/mach/hurd/readlink.c.
b29d4053 25142
db653660
ST
25143 * posix/tst-sysconf.c (posix_options): Only use
25144 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25145 _POSIX_SYNCHRONIZED_IO when they are defined
25146 * sysdeps/mach/hurd/bits/posix_opt.h:
25147 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25148 (_XOPEN_REALTIME): Undefine macro.
25149 (_XOPEN_REALTIME_THREADS): Undefine macro.
25150 (_XOPEN_SHM): Undefine macro.
25151 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25152 macro to -1.
25153 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25154 macro to -1.
25155 (_POSIX_ASYNC_IO): Undefine macro.
25156 (_POSIX_PRIORITIZED_IO): Undefine macro.
25157 (_POSIX_SPIN_LOCKS): Define macro to -1.
25158
ee16e894
ST
25159 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25160 SA_NODEFER, SA_RESETHAND.
25161 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25162 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25163 F_DUPFD_CLOEXEC.
25164
6103ae3b
TS
251652012-05-10 Thomas Schwinge <thomas@schwinge.name>
25166
25167 * elf/Makefile (pldd-modules): Define unconditionally.
25168
80b4e5f3
TS
251692012-05-10 Thomas Schwinge <thomas@schwinge.name>
25170
25171 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25172
edadcbd6
ST
251732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25174
25175 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25176 Return ENOENT when name is empty.
25177 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25178
80694780
TS
251792012-05-10 Thomas Schwinge <thomas@schwinge.name>
25180
1792c087
TS
25181 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25182
80694780
TS
25183 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25184
6b645f0d
ST
251852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25186
80694780
TS
25187 Fix mlock in all cases except non-readable pages.
25188 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25189 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 25190
6b645f0d
ST
25191 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25192 (__mkdir): When path is `/', just fail with EEXIST.
25193 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25194
e468f8a3
TS
251952012-05-10 Thomas Schwinge <thomas@schwinge.name>
25196
25197 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25198 <sys/uio.h> (for writev).
25199 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25200 and <sys/param.h> (for MIN).
25201
a4186cff
PT
252022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25203
25204 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25205 REQUESTED_TIME. Properly set the remaining time and return EINTR
25206 if interrupted.
25207
510bbf14
TS
252082012-05-10 Thomas Schwinge <thomas@schwinge.name>
25209
25210 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25211 Depend on against $(link-rpcuserlibs).
25212
5d5722e8
ST
252132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25214
a4186cff
PT
25215 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25216 (__libc_stack_end): Do not use attribute_relro.
25217 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25218 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 25219 to libthread-provided value.
a4186cff
PT
25220 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25221 attribute_relro.
5d5722e8 25222
37233df9
TS
252232012-05-10 Thomas Schwinge <thomas@schwinge.name>
25224
be971a2b
TS
25225 [BZ #3748]
25226 * bits/libc-lock.h (__libc_once_get): New macro.
25227 * sysdeps/mach/bits/libc-lock.h: Likewise.
25228 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25229 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25230 instead of using implementation details.
25231
37233df9
TS
25232 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25233 * libio/freopen.c: Likewise.
25234 * libio/freopen64.c: Likewise.
25235 * misc/syslog.c: Likewise.
25236 * nscd/connections.c: Likewise.
25237 * nscd/netgroupcache.c: Likewise.
25238 * sysdeps/posix/getcwd.c: Likewise.
25239
38de94a5
RM
252402012-05-10 Roland McGrath <roland@hack.frob.com>
25241
25242 * math/w_ilogbf.c: Add #include <limits.h>.
25243
67530489
ST
252442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25245
a4186cff 25246 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25247 path instead of returning without unlocking.
25248
67530489
ST
25249 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25250 immediate-write ioctls.
25251 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25252
5aa3a74a
TS
252532012-05-10 Thomas Schwinge <thomas@schwinge.name>
25254
18bad2ae
TS
25255 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25256 __builtin_frame_address instead of making assumptions about the
25257 location of the return address relative to DATA. Force early load of
25258 the return address.
25259 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25260 __builtin_frame_address.
25261
5aa3a74a
TS
25262 dup3 for GNU Hurd.
25263 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25264 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25265 implement dup3 and do some further code clean-ups.
25266 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25267 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25268
ecd0de9a
ST
252692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25270
cd9fa985
ST
25271 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25272
a4186cff
PT
25273 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25274 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25275 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25276 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25277 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25278 d->port.lock.
802ca5a5 25279
a4186cff
PT
25280 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25281 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25282 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25283
bcf55240
TS
252842012-05-10 Thomas Schwinge <thomas@schwinge.name>
25285
6960eb42
TS
25286 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25287 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25288 definitions.
25289
eb43375f
TS
25290 accept4 for GNU Hurd.
25291 * include/sys/socket.h (__libc_accept4): New prototype.
25292 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25293 to implement __libc_accept4.
25294 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25295 __libc_accept4.
25296 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25297
bcf55240
TS
25298 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25299 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25300 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25301 signal-defines.sym.
25302
6178c55b
ST
253032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25304
a4186cff 25305 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25306
6f080c2f
TS
253072012-05-10 Thomas Schwinge <thomas@schwinge.name>
25308
25309 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25310 assertion on O_CLOEXEC flag.
25311 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25312 * hurd/intern-fd.c: Likewise.
25313 * hurd/port2fd.c: Likewise.
25314
bcfe3a54
ST
253152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25316
25317 [BZ #3906]
25318 * bits/in.h (IPV6_PKTINFO): Define new macro.
25319 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25320
89c9aa49
AZ
253212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25322
25323 [BZ #13954]
25324 [BZ #13955]
25325 [BZ #13956]
25326 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25328 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25329 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25331 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25332 * math/libm-test.inc (logb_test) : Additional logb tests.
25333
021db4be
AJ
253342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25335 Andreas Jaeger <aj@suse.de>
25336
25337 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25338 * configure: Regenerated.
25339 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25340 * config.make.in (link-obsolete-rpc): New substituted variable.
25341 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25342 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25343 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25344 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25345 so that libc.a contains the symbols.
25346 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25347 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25348 * sunrpc/auth_none.c: Likewise.
25349 * sunrpc/auth_unix.c: Likewise.
25350 * sunrpc/authdes_prot.c: Likewise.
25351 * sunrpc/authuxprot.c: Likewise.
25352 * sunrpc/clnt_gen.c: Likewise.
25353 * sunrpc/clnt_perr.c: Likewise.
25354 * sunrpc/clnt_raw.c: Likewise.
25355 * sunrpc/clnt_simp.c: Likewise.
25356 * sunrpc/clnt_tcp.c: Likewise.
25357 * sunrpc/clnt_udp.c: Likewise.
25358 * sunrpc/clnt_unix.c: Likewise.
25359 * sunrpc/des_crypt.c: Likewise.
25360 * sunrpc/des_soft.c: Likewise.
25361 * sunrpc/get_myaddr.c: Likewise.
25362 * sunrpc/key_call.c: Likewise.
25363 * sunrpc/key_prot.c: Likewise.
25364 * sunrpc/netname.c: Likewise.
25365 * sunrpc/pm_getmaps.c: Likewise.
25366 * sunrpc/pm_getport.c: Likewise.
25367 * sunrpc/pmap_clnt.c: Likewise.
25368 * sunrpc/pmap_prot.c: Likewise.
25369 * sunrpc/pmap_prot2.c: Likewise.
25370 * sunrpc/pmap_rmt.c: Likewise.
25371 * sunrpc/publickey.c: Likewise.
25372 * sunrpc/rpc_cmsg.c: Likewise.
25373 * sunrpc/rpc_common.c: Likewise.
25374 * sunrpc/rpc_dtable.c: Likewise.
25375 * sunrpc/rpc_prot.c: Likewise.
25376 * sunrpc/rpc_thread.c: Likewise.
25377 * sunrpc/rtime.c: Likewise.
25378 * sunrpc/svc.c: Likewise.
25379 * sunrpc/svc_auth.c: Likewise.
25380 * sunrpc/svc_raw.c: Likewise.
25381 * sunrpc/svc_run.c: Likewise.
25382 * sunrpc/svc_tcp.c: Likewise.
25383 * sunrpc/svc_udp.c: Likewise.
25384 * sunrpc/svc_unix.c: Likewise.
25385 * sunrpc/svcauth_des.c: Likewise.
25386 * sunrpc/xcrypt.c: Likewise.
25387 * sunrpc/xdr.c: Likewise.
25388 * sunrpc/xdr_array.c: Likewise.
25389 * sunrpc/xdr_float.c: Likewise.
25390 * sunrpc/xdr_intXX_t.c: Likewise.
25391 * sunrpc/xdr_mem.c: Likewise.
25392 * sunrpc/xdr_rec.c: Likewise.
25393 * sunrpc/xdr_ref.c: Likewise.
25394 * sunrpc/xdr_sizeof.c: Likewise.
25395 * sunrpc/xdr_stdio.c: Likewise.
25396
b5c086a2
RM
253972012-05-10 Roland McGrath <roland@hack.frob.com>
25398
25399 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25400 change. Update copyright years.
25401
6d74dd09
JM
254022012-05-10 Joseph Myers <joseph@codesourcery.com>
25403
25404 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25405
28e72501
MK
254062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25407 Joseph Myers <joseph@codesourcery.com>
25408 Paul Pluzhnikov <ppluzhnikov@google.com>
25409
25410 [BZ #14012]
25411 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25412 requiring rpcgen.
25413 [cross-compiling] (extra-libs): Likewise.
25414 [cross-compiling] (extra-libs-others): Likewise.
25415 [cross-compiling] (librpcsvc-routines): Likewise.
25416 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25417 [cross-compiling] (omit-deps): Likewise.
25418 (sunrpc-CPPFLAGS): New variable.
25419 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25420 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25421 (cross-rpcgen-objs): New variable.
25422 (extra-objs): Append $(cross-rpcgen-objs).
25423 ($(cross-rpcgen-objs)): New rule.
25424 ($(objpfx)cross-rpcgen): Likewise.
25425 (rpcgen-cmd): Define to use $(built-program-file). Expand
25426 comment.
25427 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25428 ($(objpfx)x%.stmp): Likewise.
25429 * sunrpc/proto.h [IS_IN_build] (_): Define.
25430 [IS_IN_build] (_libc_intl_domainname): Likewise.
25431
c8c59454
L
254322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25433
25434 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25435 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25436 and R_X86_64_TPOFF64.
25437
6f27cd16
JM
254382012-05-10 Joseph Myers <joseph@codesourcery.com>
25439
25440 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25441 sysdeps/unix/sysv/syscalls.list.
25442 (stime): Likewise.
25443 (utime): Likewise.
25444 * sysdeps/unix/sysv/syscalls.list: Remove file.
25445
02467e1c
PE
254462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25447
25448 [BZ #3440]
25449 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25450 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25451 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25452 (__LC_IDENTIFICATION): Make these macros useful in #if
25453 expressions, as required by C99.
25454
da392631
AS
254552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25456
25457 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25458 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25459 after this.
25460
8115f29b
L
254612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25462
25463 * stdlib/longlong.h: Updated from GCC.
25464
bdd74070
AJ
254652012-05-09 Andreas Jaeger <aj@suse.de>
25466
edfe0dbe
AJ
25467 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25468 default is first entry.
25469 (run_mode): Set type.
25470 (main): Remove informal message about syslog.
25471 (options): Fix typo.
25472
bcfe3a54
ST
25473 [BZ #14053]
25474 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25475 to asm.
bcfe3a54
ST
25476 (lrint): Likewise.
25477 (llrintf): Likewise.
25478 (llrint): Likewise.
25479 (rint): Likewise.
25480 (rintf): Likewise.
25481 (nearbyint): Likewise.
25482 (nearbyintf): Likewise.
bdd74070 25483
91d8d69e
AJ
254842012-05-09 Andreas Jaeger <aj@suse.de>
25485 Pedro Alves <palves@redhat.com>
25486
25487 * nscd/nscd.c (run_mode): Use enum.
25488 (main): Cleanup coding style issue.
25489
bb90b80b
AJ
254902012-05-09 Alexandre Oliva <aoliva@redhat.com>
25491 Andreas Jaeger <aj@suse.de>
25492
bcfe3a54
ST
25493 * nscd/nscd.c (go_background): Replaced with...
25494 (run_mode): ... this.
bb90b80b 25495 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25496 (options): Add -F --foreground.
25497 (main): Implement it.
25498 (parse_opt): Parse it.
bb90b80b 25499
1a4b75a1
AJ
255002012-05-09 Andreas Jaeger <aj@suse.de>
25501
25502 [BZ #14083]
25503 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25504 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25505 -Wconversion warning.
25506 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25507 Likewise.
25508
b1cc2472
JM
255092012-05-09 Joseph Myers <joseph@codesourcery.com>
25510
25511 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25512 == 0.
25513 (LC_ALL): Use macro-int-constant.
25514 (LC_COLLATE): Likewise.
25515 (LC_CTYPE): Likewise.
25516 (LC_MESSAGES): Likewise.
25517 (LC_MONETARY): Likewise.
25518 (LC_NUMERIC): Likewise.
25519 (LC_TIME): Likewise.
25520 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25521 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25523 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25524 Specify type.
25525 [C99-based standards] (float_t): Expect type.
25526 [C99-based standards] (double_t): Expect type.
25527 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25528 type.
25529 [C99-based standards] (HUGE_VALL): Likewise.
25530 [C99-based standards] (INFINITY): Likewise.
25531 [C99-based standards] (NAN): Likewise.
25532 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25533 [C99-based standards] (FP_NAN): Likewise.
25534 [C99-based standards] (FP_NORMAL): Likewise.
25535 [C99-based standards] (FP_SUBNORMAL): Likewise.
25536 [C99-based standards] (FP_ZERO): Likewise.
25537 [C99-based standards] (FP_FAST_FMA): Use
25538 optional-macro-int-constant. Specify type. Require == 1.
25539 [C99-based standards] (FP_FAST_FMAF): Likewise.
25540 [C99-based standards] (FP_FAST_FMAL): Likewise.
25541 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25542 [C99-based standards] (FP_ILOGBNAN): Likewise.
25543 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25544 Specify type.
25545 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25546 [C99-based standards] (math_errhandling): Specify type.
25547 [ISO99 || ISO11] (signgam): Do not allow.
25548 [non-C99-based standards] (copysignf): Do not allow.
25549 [non-C99-based standards] (exp2f): Likewise.
25550 [non-C99-based standards] (log2f): Likewise.
25551 [non-C99-based standards] (modff): Allow.
25552 [non-C99-based standards] (erff): Do not allow.
25553 [non-C99-based standards] (erfcf): Likewise.
25554 [non-C99-based standards] (gammaf): Likewise.
25555 [non-C99-based standards] (hypotf): Likewise.
25556 [non-C99-based standards] (j0f): Likewise.
25557 [non-C99-based standards] (j1f): Likewise.
25558 [non-C99-based standards] (jnf): Likewise.
25559 [non-C99-based standards] (lgammaf): Likewise.
25560 [non-C99-based standards] (tgammaf): Likewise.
25561 [non-C99-based standards] (y0f): Likewise.
25562 [non-C99-based standards] (y1f): Likewise.
25563 [non-C99-based standards] (ynf): Likewise.
25564 [non-C99-based standards] (isnanf): Likewise.
25565 [non-C99-based standards] (acoshf): Likewise.
25566 [non-C99-based standards] (asinhf): Likewise.
25567 [non-C99-based standards] (atanhf): Likewise.
25568 [non-C99-based standards] (cbrtf): Likewise.
25569 [non-C99-based standards] (expm1f): Likewise.
25570 [non-C99-based standards] (ilogbf): Likewise.
25571 [non-C99-based standards] (log1pf): Likewise.
25572 [non-C99-based standards] (logbf): Likewise.
25573 [non-C99-based standards] (nextafterf): Likewise.
25574 [non-C99-based standards] (remainderf): Likewise.
25575 [non-C99-based standards] (rintf): Likewise.
25576 [non-C99-based standards] (scalbf): Likewise.
25577 [non-C99-based standards] (copysignl): Likewise.
25578 [non-C99-based standards] (exp2l): Likewise.
25579 [non-C99-based standards] (log2l): Likewise.
25580 [non-C99-based standards] (modfl): Allow.
25581 [non-C99-based standards] (erfl): Do not allow.
25582 [non-C99-based standards] (erfcl): Likewise.
25583 [non-C99-based standards] (gammal): Likewise.
25584 [non-C99-based standards] (hypotl): Likewise.
25585 [non-C99-based standards] (j0l): Likewise.
25586 [non-C99-based standards] (j1l): Likewise.
25587 [non-C99-based standards] (jnl): Likewise.
25588 [non-C99-based standards] (lgammal): Likewise.
25589 [non-C99-based standards] (tgammal): Likewise.
25590 [non-C99-based standards] (y0l): Likewise.
25591 [non-C99-based standards] (y1l): Likewise.
25592 [non-C99-based standards] (ynl): Likewise.
25593 [non-C99-based standards] (isnanl): Likewise.
25594 [non-C99-based standards] (acoshl): Likewise.
25595 [non-C99-based standards] (asinhl): Likewise.
25596 [non-C99-based standards] (atanhl): Likewise.
25597 [non-C99-based standards] (cbrtl): Likewise.
25598 [non-C99-based standards] (expm1l): Likewise.
25599 [non-C99-based standards] (ilogbl): Likewise.
25600 [non-C99-based standards] (log1pl): Likewise.
25601 [non-C99-based standards] (logbl): Likewise.
25602 [non-C99-based standards] (nextafterl): Likewise.
25603 [non-C99-based standards] (remainderl): Likewise.
25604 [non-C99-based standards] (rintl): Likewise.
25605 [non-C99-based standards] (scalbl): Likewise.
25606 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25607 [non-C99-based standards] (FP_*): Do not allow.
25608 [C99-based standards] (FP_*): Change to
25609 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25610 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25611 allow.
25612 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25613 (SIG_ERR): Likewise.
25614 [X/Open-based standards] (SIG_HOLD): Likewise.
25615 (SIG_IGN): Likewise.
25616 (SIGABRT): Use macro-int-constant. Specify type. Require
25617 positive value.
25618 (SIGFPE): Likewise.
25619 (SIGILL): Likewise.
25620 (SIGINT): Likewise.
25621 (SIGSEGV): Likewise.
25622 (SIGTER): Likewise.
25623 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25624 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25625 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25626 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25627 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25629 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25630 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25631 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25632 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25634 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25635 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25636 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25637 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25638 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25639 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25640 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25641 [X/Open-based standards] (SIGTRAP): Likewise.
25642 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25643 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25645 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25646 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25647 allow.
25648
b9f1922d
IW
256492012-05-08 Ian Wienand <ianw@vmware.com>
25650
25651 [BZ #14080]
25652 * time/tzset.c (__tzset_parse_tz): Update default rules for
25653 daylight time changes in the Energy Policy Act of 2005.
25654
1db86e88
AJ
256552012-05-09 Andreas Jaeger <aj@suse.de>
25656
25657 [BZ #13983]
25658 * elf/ldconfig.c (parse_conf): Change string to make clear that
25659 ldconfig only issued a warning if ld.so.conf does not exist.
25660
dee4a4e3
DM
256612012-05-08 David S. Miller <davem@davemloft.net>
25662
ee0db190
DM
25663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25664 movxtod instead of popping the value on the stack.
25665
dee4a4e3
DM
25666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25667
6a43ec98
CD
256682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25669
25670 * config.h.in: Add HAVE_ARM_PCS_VFP.
25671
05c2c961
RMG
256722012-05-08 Roland Mc Grath <roland@hack.frob.com>
25673
bcfe3a54
ST
25674 [BZ #13979]
25675 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25676 checking but the checks are disabled for any reason.
05c2c961 25677
4b30f61a
L
256782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25679
25680 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25681 and ELF64_R_TYPE with ELFW(R_TYPE).
25682
eee2bc67
JM
256832012-05-08 Joseph Myers <joseph@codesourcery.com>
25684
7ea5391a
JM
25685 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25686 (ulimit): Likewise.
25687
eee2bc67
JM
25688 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25689 (settimeofday): Likewise.
25690
abb66a67
MF
256912012-05-08 Mike Frysinger <vapier@gentoo.org>
25692
25693 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25694 a struct th_u2 inside the union, and move tu_block/tu_code into
25695 a new th_u3 union of tu_block/tu_code inside of that. Move
25696 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25697 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25698 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25699 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25700 (th_stuff): Change to th_u1.tu_stuff.
25701 (th_data): Define.
25702 (th_msg): Change to th_u1.th_u2.tu_data.
25703
7f18b530
DM
257042012-05-07 David S. Miller <davem@davemloft.net>
25705
05760585
DM
25706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25707
7f18b530
DM
25708 [BZ #14074]
25709 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25710 (SETUP_PIC_REG): Use it.
25711 (SETUP_PIC_REG_LEAF): Use it.
25712
495fd99f
JM
257132012-05-07 Joseph Myers <joseph@codesourcery.com>
25714
25715 [BZ #13885]
25716 [BZ #13923]
25717 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25718 USE_AS_EXPM1L.
25719 (EXPL_FINITE): Likewise.
25720 (FLDLOG): Likewise.
25721 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25722 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25723 e_expl.S.
25724 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25725 USE_AS_EXPM1L.
25726 (EXPL_FINITE): Likewise.
25727 (FLDLOG): Likewise.
25728 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25729 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25730 e_expl.S.
25731 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25732 test of -max_value argument for long double.
25733 * sysdeps/i386/fpu/libm-test-ulps: Update.
25734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25735
6693d694
DM
257362012-05-06 David S. Miller <davem@davemloft.net>
25737
25738 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25739 quad soft-float symbols whose references which are compiler
25740 generated.
25741 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25742
6c23e11c
JM
257432012-05-06 Joseph Myers <joseph@codesourcery.com>
25744
d8b82cad
JM
25745 [BZ #13884]
25746 [BZ #13914]
25747 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25748 USE_AS_EXP10L.
25749 (EXPL_FINITE): Likewise.
25750 (FLDLOG): Likewise.
25751 (c0): Likewise.
25752 (c1): Likewise.
25753 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25754 Adjust comments for base varying.
25755 (__expl_finite): Change alias to EXPL_FINITE.
25756 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25757 e_expl.S.
25758 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25759 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25760 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25761 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25763 USE_AS_EXP10L.
25764 (EXPL_FINITE): Likewise.
25765 (FLDLOG): Likewise.
25766 (c0): Likewise.
25767 (c1): Likewise.
25768 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25769 Adjust comments for base varying.
25770 (__expl_finite): Change alias to EXPL_FINITE.
25771 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25772 tests for bugs.
25773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25774
6c23e11c
JM
25775 [BZ #14064]
25776 * math/libm-test.inc (check_float_internal): Correct ulp
25777 calculation for subnormal expected results.
25778
29ba805c
AJ
257792012-05-06 Andreas Jaeger <aj@suse.de>
25780
25781 * Makeconfig (+math-flags): New, set to -frounding-math.
25782 (+cflags): Add +math-flags so that all of glibc gets compiled with
25783 it.
25784
25785 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25786
7b17aeda
JM
257872012-05-05 Joseph Myers <joseph@codesourcery.com>
25788
5779f134
JM
25789 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25790 Disable one test.
25791
41498f4d
JM
25792 [BZ #13787]
25793 [BZ #13922]
25794 [BZ #14036]
25795 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25796 (__ieee754_expl): Allow for and saturate large arguments.
25797 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25798 (u_threshold): Likewise.
25799 (__exp): Call __ieee754_exp before checking for overflow and
25800 underflow.
25801 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25802 (u_threshold): Likewise.
25803 (__expf): Call __ieee754_expf before checking for overflow and
25804 underflow.
25805 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25806 (u_threshold): Likewise.
25807 (__expl): Call __ieee754_expl before checking for overflow and
25808 underflow.
25809 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25810 (__ieee754_expl): Allow for and saturate large arguments.
25811 * math/libm-test.inc (exp_test): Add another test. Do not allow
25812 missing overflow exception on overflow.
25813 (expm1_test): Do not allow missing overflow exception on overflow.
25814
6698b8bf
JM
25815 * sysdeps/i386/fpu/e_expl.c: Move to ...
25816 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25817 rather than using inline asm.
25818 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25819 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25820 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25821
7b17aeda
JM
25822 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25823 (nice): Likewise.
25824 (poll): Likewise.
25825 (signal): Likewise.
25826 (time): Likewise.
25827 (times): Likewise.
25828
f7c85819
JM
258292012-05-04 Joseph Myers <joseph@codesourcery.com>
25830
25831 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25832 sysdeps/unix/common/syscalls.list.
25833 (fchmod): Likewise.
25834 (fchown): Likewise.
25835 (ftruncate): Likewise.
25836 (getrusage): Likewise.
25837 (gettimeofday): Likewise.
25838 (setpgid): Likewise.
25839 (setregid): Likewise.
25840 (setreuid): Likewise.
25841 (sigaction): Likewise.
25842 (truncate): Likewise.
25843 (vhangup): Likewise.
25844 * sysdeps/unix/common/syscalls.list: Remove file.
25845 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25846 * sysdeps/unix/sysv/linux/Implies: Likewise.
25847
336270d0
L
258482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25849
25850 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25852 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25853 Moved to ...
25854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25855 Here.
25856 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25857 to ...
25858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25859 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25860 to ...
25861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25862 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25863 to ...
25864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25865 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25866 to ...
25867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25868 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25869 to ...
25870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25871 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25872 to ...
25873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25874 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25875 to ...
25876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25877 Here.
25878 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25879 to ...
25880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25881 Here.
25882 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25883 to ...
25884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25885 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25886 Moved to ...
25887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25888 Here.
25889 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25890 to ...
25891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25892
d128e450
JM
258932012-05-04 Joseph Myers <joseph@codesourcery.com>
25894
fa8ee516
JM
25895 * sysdeps/unix/common/bits/dirent.h: Remove file.
25896 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25897
d128e450
JM
25898 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25899 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25900 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25901 * sysdeps/unix/bsd/isatty.c: Likewise.
25902 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25903 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25904 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25905
ff8faaf0 259062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25907
62881be4 25908 [BZ #13563]
31dc8730
AZ
25909 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25910 long double comparison inaccuracies.
25911 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25913
6fef930c
AS
259142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25915
25916 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25917 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25918
8f203e6c
JM
259192012-05-04 Joseph Myers <joseph@codesourcery.com>
25920
25921 [BZ #14049]
25922 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25923 nonzero digits before rounding a hex value.
25924 * stdlib/tst-strtod.c (tests): Add another test.
25925
5197d9c2
AK
259262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25927
25928 * sysdeps/s390/fpu/libm-test-ulps: Update.
25929
f0c1dedf
AJ
259302012-05-03 Andreas Jaeger <aj@suse.de>
25931
25932 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25933 does not get optimized out.
25934 (malloc_opt_barrier): New.
25935
a65ef2ae 259362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25937 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25938
2b942cb7 25939 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25940 intermediate file deletion.
2b942cb7 25941 (generated): Add .symlist files.
a65ef2ae 25942
54b71e02
JM
259432012-05-03 Joseph Myers <joseph@codesourcery.com>
25944
25945 [BZ #13775]
25946 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25947 Redirect under this condition.
25948 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25949 [__USE_GNU] (__dprintf_chk): Not under this condition.
25950 [__USE_GNU] (__vdprintf_chk): Likewise.
25951 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25952 under this condition.
25953 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25954 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25955 [__USE_XOPEN2K8] (vdprintf): Likewise.
25956 [__USE_GNU] (__dprintf_chk): Not under this condition.
25957 [__USE_GNU] (__vdprintf_chk): Likewise.
25958 [__USE_GNU] (dprintf): Likewise.
25959 [__USE_GNU] (vdprintf): Likewise.
25960
d3dfcc41
RM
259612012-05-03 Roland McGrath <roland@hack.frob.com>
25962
25963 * elf/Makefile (common-generated): Set this instead of generated for
25964 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25965 $(all-built-dso)-derived lists.
25966
7ac30cc5
AJ
259672012-05-03 Andreas Jaeger <aj@suse.de>
25968
0c51e550
AJ
25969 * sysdeps/i386/fpu/libm-test-ulps: Update.
25970
7ac30cc5
AJ
25971 * FAQ: Removed.
25972 * FAQ.in: Likewise.
25973 * scripts/gen-FAQ.pl: Likewise.
25974 * manual/install.texi (Installation): Point to online location of
25975 FAQ.
25976 * Makefile (files-for-dist): Remove FAQ.
25977 (FAQ): Remove.
25978
d4c2917f
AM
259792012-05-02 Allan McRae <allan@archlinux.org>
25980
25981 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25982 (LDFLAGS-reldepmod5.so): Likewise.
25983 (LDFLAGS-reldep6mod1.so): Likewise.
25984 (LDFLAGS-reldep6mod4.so): Likewise.
25985 (LDFLAGS-reldep8mod3.so): Likewise.
25986 (LDFLAGS-unload4mod1.so): Likewise.
25987 (LDFLAGS-unload4mod2.so): Likewise.
25988 (LDFLAGS-tst-initorder): Likewise.
25989 (LDFLAGS-tst-initordera2.so): Likewise.
25990 (LDFLAGS-tst-initordera3.so): Likewise.
25991 (LDFLAGS-tst-initordera4.so): Likewise.
25992 (LDFLAGS-tst-initorderb2.so): Likewise.
25993 (LDFLAGS-noload): Likewise.
25994 (LDFLAGS-next): Likewise.
25995 (LDFLAGS-order2mod1.so): Likewise.
25996 (LDFLAGS-order2mod2.so): Likewise.
25997 (LDFLAGS-tst-initorder2): Likewise.
25998 (LDFLAGS-tst-initorder2a.so): Likewise.
25999 (LDFLAGS-tst-initorder2b.so): Likewise.
26000 (LDFLAGS-tst-initorder2c.so): Likewise.
26001 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26002
d77f993f
DM
260032012-05-02 David S. Miller <davem@davemloft.net>
26004
26005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26006
171a70b4
PP
260072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26008
26009 [BZ #14055]
26010 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26011
0be196ad
AJ
260122012-05-02 Andreas Jaeger <aj@suse.de>
26013
26014 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26015 since we manipulate rounding mode.
26016 (CPPFLAGS-test-idouble.c): Likewise.
26017 (CPPFLAGS-test-ifloat.c): Likewise.
26018 (CFLAGS-test-ldouble.c): Likewise.
26019 (CFLAGS-test-double.c): Likewise.
26020 (CFLAGS-test-float.c): Likewise.
26021 (CFLAGS-test-misc.c): Likewise.
26022 (CFLAGS-test-test-fenv.c): Likewise.
26023
4f9d04aa
AZ
260242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26025
2b942cb7
RM
26026 [BZ #2550]
26027 [BZ #2570]
26028 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26029 comparisons to determine direction to adjust input.
4f9d04aa 26030
82a79e7d
RM
260312012-05-01 Roland McGrath <roland@hack.frob.com>
26032
f5a01ca9
RM
26033 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26034 output to the target.
26035
90fe4186
RM
26036 * scripts/localplt.awk: New file.
26037 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26038 (check-localplt-CFLAGS): Variable removed.
26039 ($(all-built-dso:=.jmprel)): New static pattern rule.
26040 (generated): Add those targets.
26041 (localplt-built-dso): New variable.
26042 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26043
26044 * elf/check-localplt.c: File removed.
26045
82397ed6
RM
26046 * scripts/check-execstack.awk: New file.
26047 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26048 (check-execstack-CFLAGS): Variable removed.
26049 ($(objpfx)check-execstack.h): Target removed.
26050 ($(objpfx)execstack-default): New target.
26051 (generated): Add that instead of check-execstack.h.
26052 ($(all-built-dso:=.phdr)): New static pattern rule.
26053 (generated): Add those targets.
26054 * elf/check-execstack.c: File removed.
26055
82a79e7d
RM
26056 * scripts/check-textrel.awk: New file.
26057 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26058 (check-textrel-CFLAGS): Variable removed.
26059 (all-built-dso): Use := to define.o
26060 ($(all-built-dso:=.dyn)): New static pattern rule.
26061 (generated): Add those targets.
26062 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26063 * config.make.in (READELF): New substituted variable.
26064 * elf/check-textrel.c: File removed.
26065
62fde54f 260662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 26067
615605c9
JM
26068 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26069 allow.
26070 * conform/data/ctype.h-data [C99-based standards] (isblank):
26071 Expect function.
26072 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26073 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26074 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26075 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26076 Specify type. Require positive value.
26077 (EILSEQ): Likewise.
26078 (ERANGE): Likewise.
26079 [ISO || POSIX] (EILSEQ): Do not expect.
26080 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26081 Specify type. Require positive value.
26082 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26083 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26084 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26085 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26086 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26087 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26088 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26089 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26090 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26091 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26092 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26093 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26094 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26095 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26096 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26097 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26098 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26099 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26100 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26101 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26102 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26103 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26104 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26105 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26106 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26107 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26108 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26109 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26110 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26111 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26112 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26113 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26114 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26115 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26116 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26117 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26118 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26119 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26120 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26121 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26122 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26123 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26124 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26125 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26126 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26127 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26128 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26129 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26130 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26131 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26132 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26133 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26134 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26135 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26136 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26137 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26138 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26139 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26140 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26141 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26142 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26143 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26144 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26145 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26146 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26147 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26148 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26149 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26150 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26151 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26152 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26153 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26154 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26155 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26156 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26157 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26158 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26159 Require >= 2.
26160 (FLT_ROUNDS): Expect as macro, not constant.
26161 (FLT_MANT_DIG): Use macro-int-constant.
26162 (DBL_MANT_DIG): Likewise.
26163 (LDBL_MANT_DIG): Likewise.
26164 (FLT_DIG): Likewise.
26165 (DBL_DIG): Likewise.
26166 (LDBL_DIG): Likewise.
26167 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26168 (DBL_MIN_EXP): Likewise.
26169 (LDBL_MIN_EXP): Likewise.
26170 (FLT_MAX_EXP): Use macro-int-constant.
26171 (DBL_MAX_EXP): Likewise.
26172 (LDBL_MAX_EXP): Likewise.
26173 (FLT_MAX_10_EXP): Likewise.
26174 (DBL_MAX_10_EXP): Likewise.
26175 (LDBL_MAX_10_EXP): Likewise.
26176 (FLT_MAX): Use macro-constant.
26177 (DBL_MAX): Likewise.
26178 (LDBL_MAX): Likewise.
26179 (FLT_EPSILON): Use macro-constant. Give upper bound.
26180 (DBL_EPSILON): Likewise.
26181 (LDBL_EPSILON): Likewise.
26182 (FLT_MIN): Likewise.
26183 (DBL_MIN): Likewise.
26184 (LDBL_MIN): Likewise.
26185 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26186 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26187 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26188 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26189 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26190 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26191 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26192 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26193 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26194 [ISO11] (FLT_TRUE_MIN): Likewise.
26195 [ISO11] (LDBL_TRUE_MIN): Likewise.
26196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26197 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26198 (SCHAR_MIN): Use macro-int-constant. Specify type.
26199 (SCHAR_MAX): Likewise.
26200 (UCHAR_MAX): Likewise.
26201 (CHAR_MIN): Likewise.
26202 (CHAR_MAX): Likewise.
26203 (MB_LEN_MAX): Use macro-int-constant.
26204 (SHRT_MIN): Use macro-int-constant. Specify type.
26205 (SHRT_MAX): Likewise.
26206 (USHRT_MAX): Likewise.
26207 (INT_MAX): Likewise.
26208 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26209 bound negative.
26210 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26211 bound with "U".
26212 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26213 bound with "L".
26214 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26215 bound negative. Suffix upper bound with "L".
26216 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26217 bound with "UL".
26218 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26219 Specify type.
26220 [C99-based standards] (LLONG_MAX): Likewise.
26221 [C99-based standards] (ULLONG_MAX): Likewise.
26222 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26223 == 0.
26224 [ISO11] (max_align_t): Require type.
26225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26226
c9140a62
JM
26227 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26228 from $CFLAGS, without defining away __attribute__ calls.
26229 (checknamespace): Use $CFLAGS_namespace.
26230
9af0bf29
JM
26231 * conform/conformtest.pl (@keywords): Only include C99 keywords
26232 for standards based on C99 or C11.
26233
343222a2
JM
26234 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26235 Disable tests.
26236 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26237 UNIX98]: Likewise.
26238
661f8cf0
JM
26239 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26240 usability of symbols in #if.
26241
ee74b9cb
JM
26242 * conform/conformtest.pl: If macro or constant types start
26243 "promoted:", expect the symbol to be of the following type
26244 promoted by the integer promotions.
62fde54f 26245
aafc49b3
JM
26246 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26247 in one place. Also handle "macro-constant".
26248
fefdf574
JM
26249 * conform/conformtest.pl: Only accept expected macro values with
26250 "==". Parse all "macro" lines in one place.
26251 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26252
f2d922fe
JM
26253 * conform/conformtest.pl: Handle braced types on "constant" lines
26254 instead of handling "typed-constant".
26255 * conform/data/signal.h-data: Use "constant" instead of
26256 "typed-constant".
26257
d22956c9
JM
26258 * conform/conformtest.pl: Handle "optional-" at start of lines in
26259 one place rather than duplicating several cases. Handle each
26260 format of "macro" line with initial "optional-".
26261
028e2e38
JM
26262 * conform/conformtest.pl: Only accept expected constant or
26263 optional-constant values with "==". Parse all "constant" lines in
26264 one place. Parse all "optional-constant" lines in one place.
26265 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26266 * conform/data/fmtmsg.h-data: Likewise.
26267 * conform/data/netinet/in.h-data: Likewise.
26268 * conform/data/tar.h-data: Likewise.
26269 * conform/data/limits.h-data: Use "==" form on "constant" and
26270 "optional-constant" lines.
26271
1b8f2850
JM
26272 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26273 Use -std=c99 for XOPEN2K.
26274 (@knownproblems): Remove.
26275 (newtoken): Don't check %isknown.
26276
a05a144b
JM
26277 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26278 Do not expect macro.
26279 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26291 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26292 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26306 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26309 [XPG3] (acosh): Likewise.
26310 [XPG3] (asinh): Likewise.
26311 [XPG3] (atanh): Likewise.
26312 [XPG3] (cbrt): Likewise.
26313 [XPG3] (expm1): Likewise.
26314 [XPG3] (ilogb): Likewise.
26315 [XPG3] (log1p): Likewise.
26316 [XPG3] (logb): Likewise.
26317 [XPG3] (nextafter): Likewise.
26318 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26319 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26320 [XPG3] (remainder): Likewise.
26321 [XPG3] (rint): Likewise.
26322 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26323 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26324 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26325 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26326 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26327 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26328 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26329 [UNIX98 || XOPEN2K] (scalb): Expect.
26330 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26331 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26332 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26333 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26334 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26335 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26336 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26337 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26338 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26339 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26340 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26341 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26342 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26343 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26344 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26345 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26346 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26347 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26348 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26349 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26350 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26351 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26352 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26353 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26354 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26355 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26356 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26357 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26358 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26359 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26360 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26361 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26362 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26363 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26364 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26365 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26366 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26367 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26368 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26369 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26370 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26371 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26372 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26373 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26374 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26375 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26376 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26377 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26378 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26379 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26380 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26381 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26382 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26383 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26384 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26385 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26386 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26387 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26388 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26389 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26390 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26391 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26392 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26393 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26394 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26395 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26396 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26397 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26398 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26399 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26400 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26401 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26402 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26403 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26404 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26405 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26406 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26407 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26408 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26409 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26410 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26411 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26412 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26413 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26414 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26415 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26416 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26417 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26418 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26419 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26420 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26421 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26422 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26423 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26424 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26425 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26426 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26427 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26428 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26429 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26430 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26431 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26432 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26433 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26434 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26435 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26436 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26437 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26438 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26439 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26440 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26441 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26442 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26443 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26444 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26445 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26446 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26447 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26448 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26449 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26450 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26451 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26452 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26453 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26454 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26455 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26456 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26457 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26458 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26459 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26460 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26461 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26462 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26463 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26464 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26465 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26466 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26467
73c5ebe3
JM
26468 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26469 _XOPEN_SOURCE_EXTENDED for XPG4.
26470
39c33b6c
JM
26471 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26472
62fde54f
JM
26473 * Makeconfig (localtime): Remove variable.
26474 (inst_localtime-file): Likewise.
26475
0741d64c
AS
264762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26477
26478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26479 Update.
26480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26481 Update.
26482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26483 Update.
26484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26485 Update.
26486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26487 Update.
26488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26489 Update.
26490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26491 Update.
26492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26493 Update.
26494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26495 Update.
26496
7cb029ee
JM
264972012-05-01 Joseph Myers <joseph@codesourcery.com>
26498
26499 [BZ #2550]
26500 [BZ #2570]
26501 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26502 comparisons to determine direction to adjust input.
26503 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26504 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26505 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26506 Likewise.
26507 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26508 Likewise.
26509 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26510 Likewise.
26511 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26512 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26513 Likewise.
26514 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26515 Likewise.
26516 * math/libm-test.inc (nexttoward_test): Add more tests.
26517
412bd966
AS
265182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26519
26520 [BZ #14040]
26521 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26522 in version GLIBC_2.1, not GLIBC_2.0.
26523 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26524 Likewise.
26525
9568c0c2
JM
265262012-04-30 Joseph Myers <joseph@codesourcery.com>
26527
adfbc8ac
JM
26528 [BZ #13942]
26529 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26530 (1 - x) * (1 + x).
26531 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26532 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26533 * math/libm-test.inc (acos_test): Add more tests.
26534 (asin_test): Likewise.
26535 * sysdeps/i386/fpu/libm-test-ulps: Update.
26536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26537
5ba3cc69
JM
26538 [BZ #14034]
26539 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26540 of square root.
26541 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26542 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26543 * math/libm-test.inc (acos_test_tonearest): New function.
26544 (acos_test_towardzero): Likewise.
26545 (acos_test_downward): Likewise.
26546 (acos_test_upward): Likewise.
26547 (asin_test_tonearest): Likewise.
26548 (asin_test_towardzero): Likewise.
26549 (asin_test_downward): Likewise.
26550 (asin_test_upward): Likewise.
26551 (main): Call the new functions.
26552 * sysdeps/i386/fpu/libm-test-ulps: Update.
26553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26554
9568c0c2
JM
26555 [BZ #13884]
26556 [BZ #13924]
26557 * math/e_exp10.c: Include <float.h>.
26558 (__ieee754_exp10): Handle underflow here rather than multiplying
26559 large negative argument by M_LN10.
26560 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26561 of __ieee754_expf.
26562 * math/e_exp10l.c: Include <float.h>.
26563 (__ieee754_exp10l): Handle underflow here rather than multiplying
26564 large negative argument by M_LN10l.
26565 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26566 spurious overflow exception on underflow.
26567
5ac3ea17
MP
265682012-04-29 Marek Polacek <polacek@redhat.com>
26569
26570 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26571 (__fortify_function): New macro.
26572 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26573 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26574 __extern_always_inline.
26575 * libio/bits/stdio2.h: Likewise.
26576 * libio/bits/stdio.h: Likewise.
26577 * string/string.h: Likewise.
26578 * string/bits/string3.h: Likewise.
26579 * include/stdio.h: Likewise.
26580 * stdlib/bits/stdlib.h: Likewise.
26581 * stdlib/stdlib.h: Likewise.
26582 * rt/bits/mqueue2.h: Likewise.
26583 * rt/mqueue.h: Likewise.
26584 * posix/bits/unistd.h: Likewise.
26585 * posix/unistd.h: Likewise.
26586 * io/bits/poll2.h: Likewise.
26587 * io/bits/fcntl2.h: Likewise.
26588 * io/fcntl.h: Likewise.
26589 * io/sys/poll.h: Likewise.
26590 * misc/bits/syslog.h: Likewise.
26591 * misc/bits/syslog-ldbl.h: Likewise.
26592 * misc/sys/syslog.h: Likewise.
26593 * socket/bits/socket2.h: Likewise.
26594 * socket/sys/socket.h: Likewise.
26595 * debug/tst-chk1.c: Likewise.
26596 * wcsmbs/bits/wchar2.h: Likewise.
26597 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26598 * wcsmbs/wchar.h: Likewise.
26599
ecf0ebfb
AJ
266002012-04-29 Andreas Jaeger <aj@suse.de>
26601
26602 * Makerules (tests): Remove enable-check-abi protection.
26603 (check-abi-warn): Remove.
26604 (check-abi-%): Remove check-abi-warn usage.
26605
26606 * configure.in: Remove check-abi configure option.
26607 * configure: Regenerated.
26608 * config.make.in (enable-check-abi): Remove.
26609
6d5c57fa
AS
266102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26611
24c5d07e 26612 [BZ #14033]
ded5180a
AS
26613 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26614 double functions to double *_finite functions.
26615
7e0d315d
AS
26616 [BZ #13941]
26617 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26618 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26619 LDBL_MIN_EXP.
26620 * stdio-common/Makefile (tests): Add tst-sprintf3.
26621 * stdio-common/tst-sprintf3.c: New file.
26622
6d5c57fa
AS
26623 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26624 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26625
0749ff8b
JM
266262012-04-28 Joseph Myers <joseph@codesourcery.com>
26627
26628 * conform/conformtest.pl: Remove duplicate typed-constant
26629 handling.
26630
8dbd5d7b
DM
266312012-04-28 David S. Miller <davem@davemloft.net>
26632
26633 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26634 (check-abi-%): Remove AWK script prerequisite and explicit
26635 abilist directory.
26636 (check-abi): Rewrite to just diff the symlist with the abilist.
26637 (config-tls, config-abi-config): Delete, no longer used.
26638 (update-abi-%): Remove AWK script and explicit abilist directory.
26639 (update-abi): Rewrite to simply compare and conditionally copy the
26640 symlist and the sysdep abilist file. Remove update-abi-config
26641 checks.
26642 * abilist/ld.abilist: Remove.
26643 * abilist/libBrokenLocale.abilist: Remove.
26644 * abilist/libanl.abilist: Remove.
26645 * abilist/libcrypt.abilist: Remove.
26646 * abilist/libdl.abilist: Remove.
26647 * abilist/librt.abilist: Remove.
26648 * abilist/libthread_db.abilist: Remove.
26649 * abilist/libutil.abilist: Remove.
26650 * scripts/extract-abilist.awk: Remove.
26651 * scripts/merge-abilist.awk: Remove.
26652 * sysdeps/generic/libcidn.abilist: New file.
26653 * sysdeps/generic/libnss_compat.abilist: New file.
26654 * sysdeps/generic/libnss_db.abilist: New file.
26655 * sysdeps/generic/libnss_dns.abilist: New file.
26656 * sysdeps/generic/libnss_files.abilist: New file.
26657 * sysdeps/generic/libnss_hesiod.abilist: New file.
26658 * sysdeps/generic/libnss_nis.abilist: New file.
26659 * sysdeps/generic/libnss_nisplus.abilist: New file.
26660 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26661 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26662 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26663 file.
26664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26665 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26666 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26667 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26668 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26669 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26670 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26671 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26672 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26673 file.
26674 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26675 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26676 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26677 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26678 file.
26679 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26680 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26681 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26682 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26683 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26684 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26685 file.
26686 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26687 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26688 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26689 file.
26690 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26692 New file.
26693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26694 New file.
26695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26696 New file.
26697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26698 New file.
26699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26700 New file.
26701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26702 New file.
26703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26704 New file.
26705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26706 New file.
26707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26708 New file.
26709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26710 New file.
26711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26712 New file.
26713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26714 New file.
26715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26716 New file.
26717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26718 file.
26719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26720 New file.
26721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26722 New file.
26723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26724 file.
26725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26726 New file.
26727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26728 New file.
26729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26730 file.
26731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26732 New file.
26733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26734 New file.
26735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26736 New file.
26737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26738 New file.
26739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26740 New file.
26741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26742 New file.
26743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26745 file.
26746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26747 New file.
26748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26749 file.
26750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26751 file.
26752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26753 file.
26754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26755 file.
26756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26757 file.
26758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26759 New file.
26760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26761 file.
26762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26763 file.
26764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26765 New file.
26766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26767 file.
26768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26770 file.
26771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26772 New file.
26773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26774 file.
26775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26776 file.
26777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26778 file.
26779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26780 file.
26781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26782 file.
26783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26784 New file.
26785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26786 file.
26787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26788 file.
26789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26790 New file.
26791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26792 file.
26793 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26794 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26795 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26796 file.
26797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26798 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26799 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26800 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26801 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26802 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26803 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26804 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26805 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26806 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26809 file.
26810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26811 New file.
26812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26813 file.
26814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26815 file.
26816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26817 file.
26818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26819 file.
26820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26821 file.
26822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26823 New file.
26824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26825 New file.
26826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26827 file.
26828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26829 New file.
26830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26831 file.
26832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26834 file.
26835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26836 New file.
26837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26838 file.
26839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26840 file.
26841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26842 file.
26843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26844 file.
26845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26846 file.
26847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26848 New file.
26849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26850 New file.
26851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26852 file.
26853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26854 New file.
26855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26856 file.
26857
41d73a1b
JM
268582012-04-28 Joseph Myers <joseph@codesourcery.com>
26859
26860 * conform/conformtest.pl: Fix typo in handling typed-constant from
26861 allow-header.
26862
28aeeda4
JM
268632012-04-27 Joseph Myers <joseph@codesourcery.com>
26864
adae8f5e
JM
26865 * README: Cut down references to pre-2.6 Linux kernels and
26866 Linuxthreads. Update lists of configurations in libc and ports
26867 and sort alphabetically. Say "or newer" with Linux kernel version
26868 requirements.
26869
28aeeda4
JM
26870 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26871
a462cb63
RA
268722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26873
26874 [BZ #887]
26875 * math/libm-test.inc (logb_test_downward): New test to expose
26876 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26877 rounding mode.
26878
6ad3493e
JM
268792012-04-27 Joseph Myers <joseph@codesourcery.com>
26880
26881 [BZ #14027]
26882 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26883 to be done.
26884 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26885 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26886
2ce4f015
JM
268872012-04-26 Joseph Myers <joseph@codesourcery.com>
26888
5aeb141a
JM
26889 * sysdeps/unix/i386/brk.S: Remove file.
26890 * sysdeps/unix/i386/dl-brk.S: Likewise.
26891 * sysdeps/unix/i386/pipe.S: Likewise.
26892 * sysdeps/unix/i386/sigreturn.S: Likewise.
26893 * sysdeps/unix/i386/syscall.S: Likewise.
26894 * sysdeps/unix/i386/vfork.S: Likewise.
26895 * sysdeps/unix/i386/wait.S: Likewise.
26896
7143acae
JM
26897 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26898 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26899
2ce4f015
JM
26900 * configure.in (arm*-none*): Do not allow without
26901 --enable-hacker-mode.
26902 (netbsd*): Remove case setting base_os.
26903 (386bsd*): Likewise.
26904 (freebsd*): Likewise.
26905 (bsdi*): Likewise.
26906 (osf*): Likewise.
26907 (sunos*): Likewise.
26908 (ultrix*): Likewise.
26909 (newsos*): Likewise.
26910 (dynix*): Likewise.
26911 (*bsd*): Likewise.
26912 (sysv*): Likewise.
26913 (isc*): Likewise.
26914 (esix*): Likewise.
26915 (sco*): Likewise.
26916 (minix*): Likewise.
26917 (irix4*): Likewise.
26918 (irix6*): Likewise.
26919 (solaris[2-9]*): Likewise.
26920 (none): Likewise.
26921 * configure: Regenerated.
26922
0ac229c8
AZ
269232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26924
26925 [BZ #11521]
26926 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26927 overflow or cancellation in calculating denominator.
26928 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26929 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26930 down expression to avoid unexpected rounding in newer GCCs.
26931 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26932
33f244f4
DM
269332012-04-26 David S. Miller <davem@davemloft.net>
26934
26935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26936 long-double compat symbols.
26937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26950
cfa1f3e8
DM
269512012-04-25 David S. Miller <davem@davemloft.net>
26952
26953 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26954 HWCAP_* values only after the memory barriers have been defined.
26955 (atomic_full_barrier): Define.
26956 (atomic_read_barrier): Define.
26957 (atomic_write_barrier): Define.
26958
6e236b92
SP
269592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26960
26961 * shlib-versions: Add libgcc_s version information.
26962 * sysdeps/generic/libgcc_s.h: Remove.
26963 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26964 libgcc_s.h.
26965 * sysdeps/gnu/unwind-resume.c: Likewise.
26966 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26967
aab39a09
DM
269682012-04-25 David S. Miller <davem@davemloft.net>
26969
26970 * sysdeps/unix/sparc/brk.S: Delete.
26971 * sysdeps/unix/sparc/dl-brk.S: Delete.
26972 * sysdeps/unix/sparc/pipe.S: Delete.
26973 * sysdeps/unix/sparc/sysdep.S: Delete.
26974 * sysdeps/unix/sparc/sysdep.h: Delete.
26975 * sysdeps/unix/sparc/vfork.S: Delete.
26976 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26977 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26978 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26979 ret_ERRVAL, r0, r1, MOVE): Define.
26980 (JUMPTARGET): Remove.
26981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26982 sysdeps/unix/sparc/sysdep.h
26983 (ENTRY, END): Remove.
26984 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26985
a3cc4f48
JM
269862012-04-25 Joseph Myers <joseph@codesourcery.com>
26987
2ed8cda2
JM
26988 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26989 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26990 -DIS_IN_build.
26991
35d76d59
JM
26992 * timezone/README: Update upstream location and email address for
26993 tzcode and tzdata.
26994 * timezone/zdump.c: Update from tzcode 2012b.
26995 * timezone/zic.c: Likewise.
26996
a3cc4f48
JM
26997 * configure.in (libc_cv_as_needed): Remove test.
26998 * configure: Regenerated.
26999 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27000 conditional definition.
27001 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27002 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27003 * config.make.in (have-as-needed): Remove variable.
27004
ceab42c3
SP
270052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27006 Paul Pluzhnikov <ppluzhnikov@google.com>
27007
27008 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27009 strings correctly.
27010
3ce2865f
CLT
270112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27012
27013 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27014 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27015 * sysdeps/sh/strlen.S: Likewise.
27016
f37e0d68
JM
270172012-04-24 Joseph Myers <joseph@codesourcery.com>
27018
ae186e9a
JM
27019 * sysdeps/unix/fork.S: Remove file.
27020 * sysdeps/unix/i386/fork.S: Likewise.
27021 * sysdeps/unix/sparc/fork.S: Likewise.
27022
b96914af
JM
27023 * sysdeps/unix/system.c: Remove file.
27024 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27025
f37e0d68
JM
27026 * sysdeps/unix/getegid.S: Remove file.
27027 * sysdeps/unix/geteuid.S: Likewise.
27028
87ef29ca
RM
270292012-04-24 Roland McGrath <roland@hack.frob.com>
27030
83bcd236
RM
27031 * scripts/check-localplt.awk: New file.
27032 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27033 of diff.
27034 * scripts/data/localplt-generic.data: Add a comment.
27035
87ef29ca
RM
27036 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27037 NODE when __dir_mkfile failed.
27038 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27039 Reported by Ludovic Courtès <ludo@gnu.org>.
27040
e5a6e567
AJ
270412012-04-24 Andreas Jaeger <aj@suse.de>
27042
27043 * Makerules (common-clean): Also remove gen-as-const-headers
27044 files.
27045
c1820385
JM
270462012-04-24 Joseph Myers <joseph@codesourcery.com>
27047
27048 * Makerules (native-compile): Do not change working directory for
27049 build. Use $(OUTPUT_OPTION) in command.
27050 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27051
94e02fc4
AZ
270522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27053
27054 [BZ #13886]
27055 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27056 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27057 * math/libm-test.inc (floor_test): Add more tests.
27058 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27059
3a533ca3
JM
270602012-04-24 Joseph Myers <joseph@codesourcery.com>
27061
940ab4b3
JM
27062 * sysdeps/unix/getdents.c: Remove file.
27063 * sysdeps/unix/sysv/getdents.c: Likewise.
27064 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27065
90e037bd
JM
27066 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27067 sysdeps/unix/mman/syscalls.list.
27068 (mmap): Likewise.
27069 (mprotect): Likewise.
27070 (msync): Likewise.
27071 (munmap): Likewise.
27072 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27073 * sysdeps/unix/mman/syscalls.list: Remove.
27074 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27075
3a533ca3
JM
27076 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27077 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27078 * configure: Regenerated.
27079 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27080 $(libgcc_s_suffix).
27081 * config.make.in (libgcc_s_suffix): Remove variable.
27082
1ad743de
JM
270832012-04-23 Joseph Myers <joseph@codesourcery.com>
27084
4ad451e2
JM
27085 * sysdeps/unix/sysv/gethostname.c: Move to ...
27086 * sysdeps/posix/gethostname.c: ... here.
27087
5e37ce39
JM
27088 * sysdeps/unix/execve.S: Remove file.
27089
1ad743de
JM
27090 * sysdeps/unix/_exit.S: Remove file.
27091
4e681b5b
AJ
270922012-04-23 Andreas Jaeger <aj@suse.de>
27093
27094 [BZ #13739]
27095 * manual/Makefile: Remove make dist support, there's no
27096 need for a stand-alone documentation tar ball.
27097 (TEXI2DVI): Define always, it's not in Makeconfig.
27098 (dist): Removed.
27099 (tar-it): Removed.
27100 (edition): Removed.
27101 (glibc-doc-$(edition).tar): Removed
27102 (%.Z): Removed.
27103 (%.gz): Removed.
27104 (%.uu): Removed.
27105 (ETAGS): Remove, it's in Makeconfig.
27106 (move-if-change): Remove, it's in Makeconfig.
27107
38686a03 271082012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
27109
27110 [BZ #13970]
27111 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27112 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27113 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27114 (strtod_l, strtof_l, strtold_l): Remove __wur.
27115 It is not necessarily an error to ignore strtol's return value.
27116 One can reliably look at the stored endptr to decide whether
27117 the number had valid syntax.
27118
7c0616fa
AJ
271192012-04-21 Andreas Jaeger <aj@suse.de>
27120
803cb6b7 27121 [BZ #13739]
7c0616fa
AJ
27122 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27123
b0fe253f
JM
271242012-04-21 Joseph Myers <joseph@codesourcery.com>
27125
27126 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27127 * sysdeps/unix/sysv/Versions: Remove file.
27128
8280f22d
MT
271292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27130
27131 [BZ #13927]
27132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27133
75ce411f 271342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
27135
27136 [BZ #7064]
27137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27138 version from __vm86.
27139
097d59fa
JM
271402012-04-20 Joseph Myers <joseph@codesourcery.com>
27141
a90f3bcb
JM
27142 * sysdeps/unix/common/lxstat.c: Remove file.
27143 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27144
edc7ea78
JM
27145 * sysdeps/unix/sysv/Makefile: Remove file.
27146
cb78c221
JM
27147 * sysdeps/unix/sysv/direct.h: Remove file.
27148
efa6a45f
JM
27149 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27150 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27151 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27152 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27153 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27154 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27155 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27156
9c9f2d0c
JM
27157 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27158
4541c83b
JM
27159 * sysdeps/unix/xmknod.c: Remove file.
27160 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27161
f5d153a0
JM
27162 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27163
aa746595
JM
27164 * sysdeps/unix/sysv/i386/time.S: Remove file.
27165
cce5905e
JM
27166 * sysdeps/unix/fxstat.c: Remove file.
27167 * sysdeps/unix/xstat.c: Likewise.
27168 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27169
37fa3841
JM
27170 * sysdeps/unix/sysv/sigaction.c: Remove file.
27171
ff1962a3
JM
27172 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27173 (sysdep_headers): Remove variable.
27174 [termio.h not in sysdep_headers] (generated): Likewise.
27175 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27176 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27177 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27178 * sysdeps/unix/sysv/tcflow.c: Likewise.
27179 * sysdeps/unix/sysv/tcflush.c: Likewise.
27180 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27181 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27182 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27183 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27184 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27185
e7740d31
JM
27186 * sysdeps/unix/siglist.c: Remove file.
27187
ee06f18b
JM
27188 * sysdeps/unix/getppid.S: Remove file.
27189
097d59fa
JM
27190 * sysdeps/unix/mkdir.c: Remove file.
27191 * sysdeps/unix/rmdir.c: Likewise.
27192
ff3d51ec
AS
271932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27194
27195 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27196 ERR_MAX value.
27197 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27198 errlist-compat value.
27199
50f81fd7
DM
272002012-04-18 David S. Miller <davem@davemloft.net>
27201
27202 * sysdeps/generic/memcopy.h (reg_char): Delete.
27203 * debug/strcat_chk.c: Use char, not reg_char.
27204 * debug/strcpy_chk.c: Likewise.
27205 * debug/strncat_chk.c: Likewise.
27206 * debug/strncpy_chk.c: Likewise.
27207 * string/memchr.c: Likewise.
27208 * string/memrchr.c: Likewise.
27209 * string/rawmemchr.c: Likewise.
27210 * string/strcat.c: Likewise.
27211 * string/strchr.c: Likewise.
27212 * string/strchrnul.c: Likewise.
27213 * string/strcmp.c: Likewise.
27214 * string/strcpy.c: Likewise.
27215 * string/strncat.c: Likewise.
27216 * string/strncmp.c: Likewise.
27217 * string/strncpy.c: Likewise.
27218
8ff41c46
WS
272192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27220
27221 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27222 __builtin_memcopy is called when src and dest ranges are known to not
27223 overlap.
27224
6b652f46
WS
272252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27226
27227 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27228 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27229 fwd_align_merge macro call.
27230 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27231 bwd_align_merge macro call.
27232 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27233
b282631e
WS
272342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27235
27236 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27237 bwd_align_merge macros.
27238 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27239 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27240 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27241
95aa737c
DM
272422012-04-18 David S. Miller <davem@davemloft.net>
27243
27244 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27245
7a99a614
AJ
272462012-04-18 Andreas Jaeger <aj@suse.de>
27247
27248 [BZ# 6794]
27249 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27250 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27251 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27252
27253 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27254 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27255 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27256
27257 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27258 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27259 Adjust for changed ldbl-128 files.
27260
27261 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27262 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27263 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27264
e5270c23
DM
272652012-04-17 David S. Miller <davem@davemloft.net>
27266
27267 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27268
fb5e92c9
AS
272692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27270
27271 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27272 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27273 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27274 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27275 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27276 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27277
76da7265
AZ
272782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27279
27280 [BZ #6794]
27281 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27282 * math/libm-test.inc: Add ilogb errno and exception tests.
27283 * math/w_ilogb.c: New file: ilogb wrapper.
27284 * math/w_ilogbf.c: New file: ilogbf wrapper.
27285 * math/w_ilogbl.c: New file: ilogbl wrapper.
27286 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27287 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27288 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27289 exception being thrown with 0.0 as argument.
27290 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27291 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27292 exception being thrown with 0.0 as argument.
27293 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27294 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27295 exception being thrown with 0.0 as argument.
27296 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27297 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27298 exception being thrown with 0.0 as argument.
27299 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27300 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27301 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27302 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27303 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27304 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27305 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27306 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27307 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27308
0396e69d
PB
273092012-04-17 Petr Baudis <pasky@ucw.cz>
27310
27311 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27312 with altivec.
27313
750b5926
MP
273142012-04-16 Marek Polacek <polacek@redhat.com>
27315
27316 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27317
751728a1
MP
273182012-04-16 Marek Polacek <polacek@redhat.com>
27319
27320 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27321 operands of fdivp instruction.
27322
34a27407
L
273232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27324
27325 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27326 * elf/tst-auditmod3b.c: Likewise.
27327 * elf/tst-auditmod4b.c: Likewise.
27328 * elf/tst-auditmod5b.c: Likewise.
27329 * elf/tst-auditmod6b.c: Likewise.
27330 * elf/tst-auditmod6c.c: Likewise.
27331 * elf/tst-auditmod7b.c: Likewise.
27332 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27333 * sysdeps/x86_64/preconfigure.in: Likewise.
27334 * sysdeps/x86_64/preconfigure: Regenerated.
27335
7e73e17d
L
273362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27337
27338 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27339 __ILP32__.
27340
c7a6ab72
AB
273412012-04-13 Antoine Balestrat <merkil33@gmail.com>
27342
27343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27344 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27345
a9e8e0e0
CL
273462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27347
27348 [BZ #13973]
27349 * locale/iso-639.def: Fix gl language name. Spotted by
27350 Yaron Shahrabani.
27351
ec98af7d
RM
273522012-04-12 Roland McGrath <roland@hack.frob.com>
27353
27354 [BZ #2074]
27355 * libio/libio.h (__io_write_fn): Update comment.
27356
247c3ede
PB
273572012-04-12 Petr Baudis <pasky@ucw.cz>
27358
27359 [BZ #2074]
27360 * stdio.texi (Hook Functions): The user provided writer function
27361 is not allowed to return -1.
27362
55939d6d
DM
273632012-04-11 David S. Miller <davem@davemloft.net>
27364
27365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27366
90020f5a
MF
273672012-04-11 Mike Frysinger <vapier@gentoo.org>
27368
27369 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27370 Add a leading slash to rtkaio.
27371
288f9098
JM
273722012-04-11 Jim Meyering <meyering@redhat.com>
27373
90020f5a
MF
27374 [BZ #11959]
27375 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27376 It is not necessarily an error to ignore fwrite's return
27377 value. One can reliably use ferror to test for errors after
27378 the fact.
288f9098 27379
4be2b570
L
273802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27381
27382 * bits/types.h (__snseconds_t): New type.
27383 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27384
27385 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27386 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27387 (__SNSECONDS_T_TYPE): Likewise.
27388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27389 (__SNSECONDS_T_TYPE): Likewise.
27390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27391 (__SNSECONDS_T_TYPE): Likewise.
27392
288f9098 273932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27394
27395 [BZ #2636]
27396 * manual/time.texi (Processor Time): Return type of times is
27397 elapsed real time since an arbitrary point in the past.
27398 (CPU Time): Move CLK_TCK from here...
27399 (Processor Time): ...to here. Correct description.
27400 * manual/conf.texi (Constants for Sysconf): Correct description of
27401 _SC_CLK_TCK.
27402
d7dd4413
DM
274032012-04-10 David S. Miller <davem@davemloft.net>
27404
27405 [BZ #13967]
27406 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27407 where the is a gap between DT_REL(A) and DT_JMPREL.
27408
b46068fc
L
274092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27410
27411 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27412 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27413 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27414
73d65cc3
SP
274152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27416
27417 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27418 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27419 (dl_main): Handle --inhibit-cache.
27420 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27421 _dl_inhibit_cache.
27422 * elf/dl-load.c (_dl_map_object): Use it.
27423 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27424
bcc8d661
JM
274252012-04-09 Joseph Myers <joseph@codesourcery.com>
27426
8f9a2fae
JM
27427 [BZ #13872]
27428 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27429 (__ieee754_powl): Saturate large exponents rather than testing for
27430 overflow of y*log2(x).
27431 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27432 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27433 exceptions.
27434
bcc8d661
JM
27435 [BZ #11521]
27436 * math/s_ctan.c: Include <float.h>.
27437 (__ctan): Avoid internal overflow or cancellation in calculating
27438 denominator.
27439 * math/s_ctanf.c: Likewise.
27440 * math/s_ctanl.c: Likewise.
27441 * math/s_ctanh.c: Likewise.
27442 * math/s_ctanhf.c: Likewise.
27443 * math/s_ctanhl.c: Likewise.
27444 * math/libm-test.inc (ctan_test): Add more tests.
27445 (ctanh_test): Likewise.
27446 * sysdeps/i386/fpu/libm-test-ulps: Update.
27447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27448
823fbbb4
AJ
274492012-04-09 Andreas Jaeger <aj@suse.de>
27450
03879793
AJ
27451 [BZ #6894]
27452 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27453 is an optional BSD extension.
27454
823fbbb4
AJ
27455 [BZ #10254]
27456 * manual/stdio.texi (Opening Streams): Document additional fopen
27457 parameters.
27458
8de131cb
RM
274592012-04-09 Roland McGrath <roland@hack.frob.com>
27460
27461 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27462 %eax without telling the compiler.
27463
c0ed9d7d
CD
274642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27465
27466 [BZ # 13963]
27467 * manual/install.texi: Use sourceware.org.
27468
c483f6b4
JM
274692012-04-09 Joseph Myers <joseph@codesourcery.com>
27470
d7dd9453
JM
27471 [BZ #13873]
27472 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27473 (__ieee754_pow): Generate overflow and underflow using huge*huge
27474 and tiny*tiny rather than just returning constant infinity or zero
27475 for large exponents.
27476 * math/libm-test.inc (pow_test): Require overflow exceptions for
27477 applicable cases of large exponents.
27478
c483f6b4
JM
27479 [BZ #706]
27480 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27481 (__ieee754_pow): Use iterative multiplication algorithm only for
27482 integer exponents with absolute value below 1024. Check for odd
27483 integer exponents when using algorithm for real exponents.
27484 * math/libm-test.inc (pow_test): Add more tests.
27485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27486
d2de7579
JM
274872012-04-08 Joseph Myers <joseph@codesourcery.com>
27488
27489 [BZ #13705]
27490 * math/libm-test.inc (exp_test): Do not allow overflow exception
27491 on underflow test.
27492
f77f1232
AJ
274932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27494
27495 [BZ #13705]
27496 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27497 instead of __kernel_standard_f.
27498
3884932b
MF
274992012-04-08 Mike Frysinger <vapier@gentoo.org>
27500
27501 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27502 * sysdeps/x86_64/memset_chk.S: Likewise.
27503
54472e9c
AJ
275042012-04-08 Andreas Jaeger <aj@suse.de>
27505
6ab0fbfc
AJ
27506 [BZ #10153]
27507 * manual/startup.texi (Environment Access): Describe return value
27508 for putenv and setenv.
27509
61efba8c
AJ
27510 [BZ #6895]
27511 * manual/filesys.texi (Directory Entries): Add description for
27512 DT_LNK.
27513
95c3f29a
AJ
27514 [BZ #6890]
27515 * manual/filesys.texi (Directory Entries): Clarify that it's file
27516 system not operating system in the description of DT_UNKNOWN.
27517
54472e9c
AJ
27518 [BZ #6578]
27519 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27520
624254b1
SC
275212012-04-08 Stephen Compall <s11@member.fsf.org>
27522
27523 [BZ #6649]
27524 * manual/llio.texi (Opening and Closing Files): Add cross
27525 reference to explain mode argument.
27526
1e4920e0
MF
275272012-04-07 Mike Frysinger <vapier@gentoo.org>
27528
27529 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27530 * sysdeps/x86_64/memset_chk.S: Likewise.
27531
5ed848f3
DM
275322012-04-07 David S. Miller <davem@davemloft.net>
27533
27534 * elf/elf.h (R_SPARC_WDISP10): Define.
27535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27536 R_SPARC_SIZE32.
27537 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27538 R_SPARC_SIZE64 and R_SPARC_H34.
27539
96154cd8
CD
275402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27541
27542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27543 conditions and remove no longer applicable assertion.
27544
9904dc47
L
275452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27546
27547 * bits/byteswap.h: Include <features.h>.
27548 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27549 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27550
f8887d0a
L
275512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27552
27553 * bits/byteswap.h (__bswap_16): Removed.
27554 Include <bits/byteswap-16.h> to get __bswap_16.
27555 * sysdeps/i386/bits/byteswap.h: Likewise.
27556 * sysdeps/s390/bits/byteswap.h: Likewise.
27557 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27558 * bits/byteswap-16.h: New file.
27559 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27560 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27561 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27562 * string/Makefile (headers): Add bits/byteswap-16.h.
27563
62470f60
PP
275642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27565
27566 [BZ #13895]
27567 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27568 extra indirection.
27569 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27570 * nss/tst-nss-static.c: New.
27571
4dad7bab
RM
275722012-04-06 Robert Millan <rmh@gnu.org>
27573
27574 [BZ #6486]
27575 * manual/llio.texi (File Position Primitive): lseek
27576 refers to WHENCE when it really means OFFSET.
27577
e9142a17
AJ
275782012-04-06 Andreas Jaeger <aj@suse.de>
27579
2c040eff
AJ
27580 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27581 strncmp declarations.
27582
e9142a17
AJ
27583 * abilist/libc.abilist: Add __poll and __ppoll.
27584
ff9f1c5f
DM
275852012-04-05 David S. Miller <davem@davemloft.net>
27586
dcd2ae90
DM
27587 * scripts/check-local-headers.sh: Accept a host triplet in the
27588 path matched by the exclude regexp.
27589
993eb054
DM
27590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27591 definition.
27592 * sysdeps/powerpc/powerpc32/dl-machine.h
27593 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27594 * sysdeps/s390/s390-32/dl-machine.h
27595 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27596 * sysdeps/sparc/sparc32/dl-machine.h
27597 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27598 * sysdeps/sparc/sparc64/dl-machine.h
27599 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27600
ff9f1c5f
DM
27601 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27602 lazy binding.
48e2e132 27603 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27604 undefined symbol errors.
27605
48e2e132 27606 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27607 DT_NEEDED entries.
27608
e80d6f94
MM
276092012-04-05 Michael Matz <matz@suse.de>
27610
27611 [BZ #13592]
27612 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27613
349fa79f
AJ
276142012-04-05 Andreas Jaeger <aj@suse.de>
27615
27616 [BZ #13908]
27617 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27618 comment.
27619
f402708f
KK
276202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27621
27622 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27623 which ROUND is no valid rounding mode.
27624
2ecccfc9
KK
276252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27626
27627 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27628 read again.
27629 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27630
8a53f50f
KK
276312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27632
27633 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27634 an exception using FPU order intentionally.
27635
276362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27637
27638 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27639 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27640 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27641 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27642
d653abb7
SJ
276432012-04-05 Simon Josefsson <simon@josefsson.org>
27644
27645 [BZ #12340]
27646 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27647 EINVAL when BUFLEN is too smal.
27648
c3b1bf7d
TS
276492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27650
27651 [BZ #13553]
27652 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27653 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27654
b1aa60f3
AJ
276552012-04-03 Andreas Jaeger <aj@suse.de>
27656
c3b1bf7d 27657 [BZ #13938]
67f60a26
AJ
27658 * manual/setjmp.texi (System V contexts): Fix sentence.
27659
b1aa60f3
AJ
27660 [BZ #13926]
27661 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27662 New macro for this case.
27663 [!__GNUC__] (__bswap_64): New inline function for this case.
27664 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27665 * bits/byteswap.h: Likewise.
27666 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27667 ull, guard with __GLIBC_HAVE_LONG_LONG.
27668
27669 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27670 __GLIBC_HAVE_LONG_LONG.
27671
27672 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27673 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27674
39c59c35
TMQMF
276752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27676
27677 [BZ #13691]
27678 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27679 inptr and inend, rather than using last_ch.
27680
135ffda8
DM
276812012-04-02 David S. Miller <davem@davemloft.net>
27682
27683 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27684 * stdio-common/printf-parse.h (read_int): Change return type to
27685 'int', return -1 on INT_MAX overflow.
27686 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27687 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27688 overflows INT_MAX. Check for overflow of in-format-string precision
27689 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27690 SIZE_MAX not INT_MAX for integer overflow test.
27691 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27692 skip the construct in the format string but do not record anything.
27693 * stdio-common/bug22.c: Adjust to test both width/prevision
27694 INT_MAX overflow as well as total length INT_MAX overflow. Check
27695 explicitly for proper errno values.
27696
228c019e
TS
276972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27698
302cadd3
TS
27699 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27700 CHAR_MAX.
27701 * string/test-strcmp.c [! WIDE]: Likewise.
27702 * time/tst-mktime2.c: Likewise for INT_MAX.
27703 * string/test-string.h: #include <sys/param.h> for MIN.
27704
228c019e
TS
27705 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27706 * sysdeps/i386/init-first.c (init): Likewise.
27707 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27708 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27709 * sysdeps/sh/init-first.c (init): Likewise.
27710
cfa633f5
UD
277112012-04-01 Ulrich Drepper <drepper@gmail.com>
27712
27713 * po/ru.po: Update from translation team.
d1635ef8 27714 * po/vi.po: Likewise.
cfa633f5 27715
6cd0a5ea
SP
277162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27717
27718 * resolv/nss_dns/dns-host.c: Merge copyright years.
27719
4b43400f
LD
277202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27721
27722 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27723 Optimize memcpy with prefetch if
27724 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27725 src, dst pointers have unequal 16 byte alignments.
27726
48c41d04
SP
277272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27728
27729 [BZ #13928]
27730 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27731 from a CNAME entry and return the minimum ttl for the query.
27732 (gaih_getanswer_slice): Likewise.
27733
b8dc394d
JL
277342012-03-30 Jeff Law <law@redhat.com>
27735
27736 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27737 due to long keys.
27738 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27739 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27740
2f5a5ed0
JL
27741 * resolv/nss_dns/dns-host.c: Update copyright year.
27742
1d39e359
UD
277432012-03-30 Ulrich Drepper <drepper@gmail.com>
27744
c030f70c 27745 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27746 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27747
1d39e359
UD
27748 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27749 comments for sendmmsg.
27750
277512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27752
27753 [BZ #13691]
27754 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27755 with only 1 character between 0x0041 and 0x01b0.
27756 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27757 * wcsmbs/tst-mbsnrtowcs.c: New file.
27758
20fde227
DM
277592012-03-29 David S. Miller <davem@davemloft.net>
27760
27761 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27762 small copies by hand.
27763
984a4237
JL
277642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27765
27766 [BZ #13761]
27767 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27768 _nss_compat_initgroups_dyn): Fall back to malloc/free
27769 for large group memberships.
27770
18c9d62b
DM
277712012-03-28 David S. Miller <davem@davemloft.net>
27772
88d85d4f
DM
27773 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27774 that branches into memcpy.
27775 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27778 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27780 bits.
27781 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27782 implementation too.
27783 * sysdeps/sparc/mempcpy.S: New file.
27784
e5aa83e1
DM
27785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27786 the IFUNC routine in the libc case.
27787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27788
88570753
DM
27789 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27790 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27791 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27792 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27793 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27794 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27795 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27796 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27797
249d7567
DM
27798 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27799 loop to 256 bytes instead of 64 bytes and fix test signedness.
27800
18c9d62b
DM
27801 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27802 * sysdeps/sparc/sparc32/Makefile: rather than here...
27803 * sysdeps/sparc/sparc64/Makefile: and here.
27804
05f3d1f6
UD
278052012-03-28 Ulrich Drepper <drepper@gmail.com>
27806
27807 * malloc/mallocbug.c: Avoid warnings about unused variables.
27808
86ae07a8
JL
278092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27810
27811 [BZ #13760]
27812 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27813 in the right place. Discard and retry query if response is
27814 larger than input buffer size.
27815
41bf21a1
JM
278162012-03-28 Joseph Myers <joseph@codesourcery.com>
27817
d6270972
JM
27818 [BZ #369]
27819 [BZ #2678]
27820 [BZ #3866]
27821 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27822 x for large integer exponent.
27823 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27824 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27825 sign of result as needed afterwards.
27826 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27827 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27828 result for underflowing pow the same as for overflow.
27829 (__kernel_standard_l): Handle powl overflow and underflow here
27830 rather than calling __kernel_standard.
27831 * math/libm-test.inc (pow_test): Add more tests.
27832
414fca03 27833 [BZ #3868]
41bf21a1
JM
27834 [BZ #13879]
27835 [BZ #13910]
27836 [BZ #13911]
27837 [BZ #13912]
27838 [BZ #13913]
27839 [BZ #13915]
27840 [BZ #13916]
27841 [BZ #13917]
27842 [BZ #13918]
27843 [BZ #13919]
27844 [BZ #13920]
27845 [BZ #13921]
27846 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27847 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27848 (__kernel_standard_l): New function.
27849 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27850 __kernel_standard.
27851 * math/w_acosl.c (__acosl): Likewise.
27852 * math/w_asinl.c (__asinl): Likewise.
27853 * math/w_atan2l.c (__atan2l): Likewise.
27854 * math/w_atanhl.c (__atanhl): Likewise.
27855 * math/w_coshl.c (__coshl): Likewise.
27856 * math/w_exp10l.c (__exp10l): Likewise.
27857 * math/w_exp2l.c (__exp2l): Likewise.
27858 * math/w_fmodl.c (__fmodl): Likewise.
27859 * math/w_hypotl.c (__hypotl): Likewise.
27860 * math/w_j0l.c (__j0l, __y0l): Likewise.
27861 * math/w_j1l.c (__j1l, __y1l): Likewise.
27862 * math/w_jnl.c (__jnl, __ynl): Likewise.
27863 * math/w_lgammal.c (__lgammal): Likewise.
27864 * math/w_log10l.c (__log10l): Likewise.
27865 * math/w_log2l.c (__log2l): Likewise.
27866 * math/w_logl.c (__logl): Likewise.
27867 * math/w_powl.c (__powl): Likewise.
27868 * math/w_remainderl.c (__remainderl): Likewise.
27869 * math/w_scalbl.c (sysv_scalbl): Likewise.
27870 * math/w_sinhl.c (__sinhl): Likewise.
27871 * math/w_sqrtl.c (__sqrtl): Likewise.
27872 * math/w_tgammal.c (__tgammal): Likewise.
27873 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27874 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27875 * math/libm-test.inc (acos_test): Add more tests.
27876 (acosh_test): Likewise.
27877 (asin_test): Likewise.
27878 (atanh_test): Likewise.
27879 (exp_test): Likewise.
27880 (exp10_test): Likewise.
27881 (exp2_test): Likewise.
27882 (expm1_test): Likewise.
27883 (lgamma_test): Likewise.
27884 (log_test): Likewise.
27885 (log10_test): Likewise.
27886 (log1p_test): Likewise.
27887 (log2_test): Likewise.
27888 (pow_test): Do not allow some spurious overflow exceptions.
27889 (sqrt_test): Add more tests.
27890 (tgamma_test): Likewise.
27891 (y0_test): Likewise.
27892 (y1_test): Likewise.
27893 (yn_test): Likewise.
27894
dd62fda6
AB
278952012-03-27 Anton Blanchard <anton@samba.org>
27896
27897 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27898 MAP_HUGETLB.
27899 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27900 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27901 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27902
1e3cdfda
AJ
279032012-03-27 David S. Miller <davem@davemloft.net>
27904
b855ab85
DM
27905 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27906
1e3cdfda
AJ
27907 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27908 have-as-vis3 check.
27909
279102012-03-27 Andreas Jaeger <aj@suse.de>
27911
27912 * sysdeps/x86_64/elf/configure.in: Moved to ...
27913 * sysdeps/x86_64/configure.in: ... here.
27914 * sysdeps/x86_64/elf/start.S: Moved to ...
27915 * sysdeps/x86_64/start.S: ... here.
27916 * sysdeps/x86_64/elf/configure: Delete.
27917
27918 * sysdeps/x86_64/configure.in: Merge contents from
27919 sysdeps/i386/configure.in (without i686 check).
27920
27921 * sysdeps/i386/elf/Versions: Merge into ...
27922 * sysdeps/i386/Versions: ... this.
27923 * sysdeps/i386/elf/Versions: Delete file.
27924 * sysdeps/i386/elf/start.S: Moved to ...
27925 * sysdeps/i386/start.S: ...here.
27926 * sysdeps/i386/elf/configure.in: Merge into...
27927 * sysdeps/i386/configure.in: ...here.
27928 * sysdeps/i386/elf/configure.in: Delete file.
27929 * sysdeps/i386/elf/configure: Delete file.
27930
27931 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27932 * debug/backtracesyms.c: ... here.
27933 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27934 * debug/backtracesymsfd.c: ... here.
27935 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27936 * sysdeps/generic/ifunc-sel.h: ... here.
27937
27938 * sysdeps/unix/i386/start.c: Delete file.
27939 * sysdeps/unix/sparc/start.c: Delete file.
27940 * sysdeps/unix/start.c: Delete file.
27941
27942 * sysdeps/sh/elf/configure.in: Moved to ...
27943 * sysdeps/sh/configure.in: ... here.
27944 * sysdeps/sh/elf/start.S: Moved to ...
27945 * sysdeps/sh/start.S: ... here.
27946 * sysdeps/sh/elf/configure: Delete file.
27947
27948 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27949 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27950 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27951 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27952 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27953 * sysdeps/powerpc/powerpc64/start.S: here.
27954 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27955 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27956 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27957 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27958 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27959
27960 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27961 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27962 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27963 * sysdeps/powerpc/powerpc32/start.S: ... here.
27964 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27965 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27966 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27967
27968 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27969 * sysdeps/powerpc/ifunc-sel.h: ... here.
27970 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27971 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27972
27973 * sysdeps/sparc/elf/configure.in: Moved to ...
27974 * sysdeps/sparc/configure.in: ... here.
27975 * sysdeps/sparc/elf/configure: Delete file.
27976 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27977 * sysdeps/sparc/sparc32/start.S: ... here.
27978 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27979 * sysdeps/sparc/sparc64/start.S: ... here.
27980 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27981 * sysdeps/sparc/sparc32/Makefile: ... this.
27982 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27983 * sysdeps/sparc/sparc64/Makefile: ... this.
27984
27985 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27986 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27987 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27988 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27989 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27990 * sysdeps/s390/s390-32/setjmp.S: ... here.
27991 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27992 * sysdeps/s390/s390-32/configure.in: ... here.
27993 * sysdeps/s390/s390-32/elf/configure: Delete file.
27994 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27995 * sysdeps/s390/s390-32/start.S: ... here.
27996
27997 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27998 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27999 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28000 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28001 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28002 * sysdeps/s390/s390-64/setjmp.S: ... here.
28003 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28004 * sysdeps/s390/s390-64/configure.in: ... here
28005 * sysdeps/s390/s390-64/elf/configure: Delete file.
28006 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28007 * sysdeps/s390/s390-64/start.S: ... here.
28008 * sysdeps/s390/s390-64/elf/configure: Delete.
28009
28010 * configure.in: Remove support for elf directories in sysdeps.
28011
28012 * configure: Regenerated.
28013 * sysdeps/i386/configure: Regenerated.
28014 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28015 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28016 * sysdeps/s390/s390-32/configure: Regenerated.
28017 * sysdeps/s390/s390-64/configure: Regenerated.
28018 * sysdeps/sh/configure: Regenerated.
28019 * sysdeps/sparc/configure: Regenerated.
28020 * sysdeps/x86_64/configure: Regenerated.
28021
a3f61311
AS
280222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28023
c876e002
AS
28024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28025
a3f61311
AS
28026 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28027 denormal result into account.
28028
ac4c54f0
RM
280292012-03-25 Roland McGrath <roland@hack.frob.com>
28030
28031 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28032 Reported by Allan McRae <allan@archlinux.org>.
28033
6a9b9c02
JL
280342012-03-23 Jeff Law <law@redhat.com>
28035
28036 * nss/getnssent.c (__nss_getent): Fix typo.
28037
4c42a0c1
DM
280382012-03-23 David S. Miller <davem@davemloft.net>
28039
28040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28041
1532c7ac
L
280422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28043
28044 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28045 to pad to uint64_t for each field.
28046 (dl_tls_index): Replace unsigned long with uint64_t.
28047
3ff42526
PP
280482012-03-23 Daniel Jacobowitz <dmj@google.com>
28049 Paul Pluzhnikov <ppluzhnikov@google.com>
28050
28051 [BZ #6528]
28052 * grp/Makefile (otherlibs): Don't set it.
28053 * inet/Makefile (otherlibs): Likewise.
28054 * login/Makefile (otherlibs): Likewise.
28055 * nscd/Makefile (otherlibs): Likewise.
28056 * posix/Makefile (otherlibs): Likewise.
28057 * pwd/Makefile (otherlibs): Likewise.
28058 * rt/Makefile (otherlibs): Likewise.
28059 * sunrpc/Makefile (otherlibs): Likewise.
28060 * nss/Makefile (otherlibs): Likewise.
28061 Add libnss_files to routines and static-only-routines.
28062 ($(objpfx)getent): Remove rule.
28063 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28064 static-only-routines.
28065
7c69cd14
JM
280662012-03-22 Joseph Myers <joseph@codesourcery.com>
28067
28068 [BZ #13892]
28069 * math/s_cexp.c: Include <float.h>.
28070 (__cexp): Handle exp result overflowing not necessarily
28071 overflowing both real and imaginary parts of result.
28072 * math/s_cexpf.c: Likewise.
28073 * math/s_cexpl.c: Likewise.
28074 * math/libm-test.inc (cexp_test): Add more tests.
28075 * sysdeps/i386/fpu/libm-test-ulps: Update.
28076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28077
81b035fe
L
280782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28079
28080 * include/link.h (ELFW): New macro.
28081 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28082 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28083
1da7940c
L
280842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28085
28086 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28087 with uint64_t.
28088
b749dbb9
L
280892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28090
28091 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28092 declaration.
28093 (struct La_x32_retval): Likewise.
28094
2ff87f3f
L
280952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28096
28097 * sysdeps/x86_64/preconfigure.in: New file.
28098 * sysdeps/x86_64/preconfigure: New generated file.
28099
c0df8e69
JM
281002012-03-22 Joseph Myers <joseph@codesourcery.com>
28101
48e44791
JM
28102 [BZ #13824]
28103 * math/e_exp2l.c: Include <float.h>.
28104 (__ieee754_exp2l): Handle overflow and underflow cases
28105 separately. Only pass fractional part of argument to
28106 __ieee754_expl.
28107 * math/libm-test.inc (exp2_test): Add more tests.
28108
c0df8e69
JM
28109 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28110 negating x to take absolute value.
28111 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28112 Likewise.
28113 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28114 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28115 Likewise.
28116 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28117 computing low part if x was negated.
28118 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28119
c8e43ba7
L
281202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28121
28122 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28123 la_x32_gnu_pltexit.
28124 (pltexit): Cast int_retval to ptrdiff_t.
28125 * elf/tst-auditmod3b.c: Likewise.
28126 * elf/tst-auditmod4b.c: Likewise.
28127 * elf/tst-auditmod5b.c: Likewise.
28128 * elf/tst-auditmod6b.c: Likewise.
28129 * elf/tst-auditmod6c.c: Likewise.
28130 * elf/tst-auditmod7b.c: Likewise.
28131
28132 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28133 and x32_gnu_pltexit.
28134
28135 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28136 __ELF_NATIVE_CLASS.
28137 (La_x32_regs): New macro.
28138 (La_x32_retval): Likewise.
28139 (la_x32_gnu_pltenter): New function prototype.
28140 (la_x32_gnu_pltexit): Likewise.
28141
7998fa78
AS
281422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28143
dcb33988
AS
28144 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28145 exponent.
28146
233fc563
AS
28147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28148
7998fa78
AS
28149 * configure.in (libc_cv_cc_nofma): Check for option to disable
28150 generation of FMA instructions.
28151 * configure: Regenerate.
28152 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28153 * sysdeps/ieee754/dbl-64/Makefile: New file.
28154 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28155 Remove brandred-fma4.
28156 (CFLAGS-brandred-fma4.c): Remove.
28157 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28158 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28159 define.
28160 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28161 define.
28162
8e95c99a
L
281632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28164
28165 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28166 LLONG_MAX != LONG_MAX.
28167 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28168 (_fitoa_word): Likewise.
28169 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28170 LLONG_MAX != LONG_MAX.
28171 * stdio-common/_itowa.h: Include <_itoa.h>.
28172 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28173 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28174 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28175 only if not defined.
28176 (_ITOA_WORD_TYPE): Likewise.
28177 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28178 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28179
6f4db457
DM
281802012-03-21 David S. Miller <davem@davemloft.net>
28181
28182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28183
7785fe5a
L
281842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28187 of x86_64 when setting libc_cv_slibdir, libdir and
28188 libc_cv_localedir.
28189 * sysdeps/unix/sysv/linux/configure: Regenerated.
28190
4535cd55
JM
281912012-03-21 Joseph Myers <joseph@codesourcery.com>
28192
28193 * manual/lang.texi (Old Varargs): Remove section.
28194 (How Variadic): Update menu.
28195 (va_start): Do not mention varargs.h.
28196
17228132
TS
281972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28198 Joseph Myers <joseph@codesourcery.com>
28199
28200 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28201 link test.
28202 * configure: Regenerated.
28203
8149f976
TS
282042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28205
05f3d1f6
UD
28206 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28207 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28208 conformtest.pl
8149f976 28209
1a4ac776
JM
282102012-03-21 Joseph Myers <joseph@codesourcery.com>
28211
be22ce65
JM
28212 * NOTES: Remove.
28213 * Makefile (files-for-dist): Remove NOTES.
28214 (NOTES): Remove rule.
28215 * README: Don't refer to NOTES.
28216 * manual/creature.texi: Don't include macros.texi.
28217 * manual/intro.texi (creature.texi): Remove comment referring to
28218 NOTES.
28219
40b601fb
JM
28220 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28221 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28222 * configure: Regenerated.
28223 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28224 LIBC_TRY_CC_OPTION.
28225 (libc_cv_as_i686): Likewise.
28226 (libc_cv_cc_avx): Likewise.
28227 (libc_cv_cc_sse2avx): Likewise.
28228 (libc_cv_cc_fma4): Likewise.
28229 (libc_cv_cc_novzeroupper): Likewise.
28230 * sysdeps/i386/configure: Regenerated.
28231
1a4ac776
JM
28232 [BZ #13883]
28233 * sysdeps/i386/fpu/s_cexp.S: Remove.
28234 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28235 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28236 * math/libm-test.inc (cexp_test): Add more tests.
28237 * sysdeps/i386/fpu/libm-test-ulps: Update.
28238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28239
a458e7fe
AM
282402012-03-21 Allan McRae <allan@archlinux.org>
28241
28242 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28243
0cb7efc5
JM
282442012-03-21 Joseph Myers <joseph@codesourcery.com>
28245
28246 [BZ #13871]
28247 * math/w_exp2.c: Do not include <float.h>.
28248 (o_threshold, u_threshold): Remove.
28249 (__exp2): Calculate result before checking finiteness and calling
28250 __kernel_standard.
28251 * math/w_exp2f.c: Likewise.
28252 * math/w_exp2l.c: Likewise.
28253 * math/libm-test.inc (exp2_test): Require overflow exception for
28254 1e6 input.
2460d3aa
JM
28255
28256 [BZ #3866]
28257 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28258 range of signed 64-bit integers before using fistpll. Remove
28259 checks for whether integers fit in mantissa bits.
28260 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28261 the range of signed 32-bit integers before using fistpl. Remove
28262 checks for whether integers fit in mantissa bits.
28263 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28264 (__ieee754_powl): Test for y outside the range of signed 64-bit
28265 integers before using fistpll. Reduce 64-bit values to 63-bit
28266 ones as needed.
28267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28268 divide-by-zero is raised for zero to large negative powers.
28269 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28270 (__ieee754_powl): Test for y outside the range of signed 64-bit
28271 integers before using fistpll. Reduce 64-bit values to 63-bit
28272 ones as needed.
28273 * math/libm-test.inc (pow_test): Add more tests.
28274
eb96ffb0
L
282752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28278 <stdio-common/_itoa.h>.
28279 * debug/segfault.c: Likewise.
28280 * elf/dl-cache.c: Likewise.
28281 * elf/dl-minimal.c: Likewise.
28282 * elf/dl-misc.c: Likewise.
28283 * elf/dl-sysdep.c: Likewise.
28284 * elf/dl-version.c: Likewise.
28285 * elf/rtld.c: Likewise.
28286 * hurd/hurdsock.c: Likewise.
28287 * hurd/lookup-retry.c: Likewise.
28288 * malloc/malloc.c: Likewise.
28289 * malloc/mtrace.c: Likewise.
28290 * nscd/nscd_getgr_r.c: Likewise.
28291 * nscd/nscd_getpw_r.c: Likewise.
28292 * nscd/nscd_getserv_r.c: Likewise.
28293 * posix/getopt_init.c: Likewise.
28294 * posix/wordexp.c: Likewise.
28295 * stdio-common/_itoa.c: Likewise.
28296 * stdio-common/printf_fphex.c: Likewise.
28297 * stdio-common/vfprintf.c: Likewise.
28298 * string/_strerror.c: Likewise.
28299 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28300 * sysdeps/i386/i686/hp-timing.h: Likewise.
28301 * sysdeps/mach/_strerror.c: Likewise.
28302 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28303 * sysdeps/mach/hurd/sethostid.c: Likewise.
28304 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28305 * sysdeps/mach/xpg-strerror.c: Likewise.
28306 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28307 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28308 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28309 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28310 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28311 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28312 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28313 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28314 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28315 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28316 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28317 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28318 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28319 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28320 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28321 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28322 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28323 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28324 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28325 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28326 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28327
28328 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28329
28330 * stdio-common/_itoa.h: Moved to ...
28331 * sysdeps/generic/_itoa.h: Here.
28332
28333 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28334
28335 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28336 instead of "_itoa.h" and "_itowa.h".
28337 * stdio-common/vfprintf.: Likewise.
28338
d1af992d
L
283392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28340
28341 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28342 <bits/wordsize.h>.
28343 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28344 (__signbit): Likwise.
28345 (llrintf): Likwise.
28346 (llrint): Likwise.
28347
114883e0
L
283482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28349
28350 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28351 __WORDSIZE != 64.
28352
c135cc1b
JM
283532012-03-20 Joseph Myers <joseph@codesourcery.com>
28354
28355 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28356 OVERFLOW_EXCEPTION_OK.
28357 * math/libm-test.inc ("Philosophy"): Update comment about
28358 exception testing.
28359 (OVERFLOW_EXCEPTION): Define.
28360 (OVERFLOW_EXCEPTION_OK): Likewise.
28361 (INVALID_EXCEPTION_OK): Renumber.
28362 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28363 (IGNORE_ZERO_INF_SIGN): Likewise.
28364 (test_exceptions): Handle FE_OVERFLOW.
28365 (exp10_test): Expect overflow exceptions.
28366 (exp2_test): Likewise.
28367 (expm1_test): Likewise.
28368 (nextafter_test): Likewise.
28369 (pow_test): Likewise.
28370 (scalbn_test): Likewise.
28371 (scalbln_test): Likewise.
28372
95443d88
L
283732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28374
28375 * sysdeps/x86_64/bits/atomic.h
28376 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28377 64bit integer.
28378 (atomic_exchange_acq): Likewise.
28379 (__arch_exchange_and_add_body): Likewise.
28380 (__arch_add_body): Likewise.
28381 (atomic_add_negative): Likewise.
28382 (atomic_add_zero): Likewise.
28383
490df6c4
L
283842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28385
c2722551 28386 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28387 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28388
5e52b189
L
283892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28390
28391 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28392 Check __x86_64__ instead of __WORDSIZE.
28393
a9879d4c
L
283942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28395
28396 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28397
5df98260
DM
283982012-03-19 David S. Miller <davem@davemloft.net>
28399
e1497744
DM
28400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28401
5df98260
DM
28402 * sysdeps/sparc/fpu/fenv_private.h: New file.
28403 * sysdeps/sparc/fpu/math_private.h: Use it.
28404 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28405 Remove.
28406 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28407 (libc_feholdexcept_setroundl): Remove.
28408 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28409 Remove.
28410 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28411 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28412
b4c35121
L
284132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28414
28415 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28416 int64_t instead of long int.
28417 (INSERT_WORDS64): Likwise.
28418
56965fd7
L
284192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28420
28421 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28422 _Unwind_GetCFA return to _Unwind_Ptr first.
28423
83d1aec8
JM
284242012-03-19 Joseph Myers <joseph@codesourcery.com>
28425
1897ad44
JM
28426 [BZ #13629]
28427 * math/s_clog.c: Include <float.h>.
28428 (__clog): Scale large or subnormal inputs.
28429 * math/s_clogf.c: Likewise.
28430 * math/s_clogl.c: Likewise.
28431 * math/s_clog10.c: Include <float.h>.
28432 (M_LOG10_2): Define.
28433 (__clog10): Scale large or subnormal inputs.
28434 * math/s_clog10f.c: Likewise.
28435 * math/s_clog10l.c: Likewise.
28436 * math/libm-test.inc (clog_test): Add more tests.
28437 (clog10_test): Likewise.
28438 * sysdeps/i386/fpu/libm-test-ulps: Update.
28439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28440
7726d6a9
JM
28441 [BZ #11451]
28442 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28443 x and y.
28444 * math/libm-test.inc (atan2_test): Add another test.
28445
83d1aec8
JM
28446 * Makerules (common-objdir-compile): Remove.
28447 * sysdeps/unix/Makefile (config-generated): Do not add
28448 $(unix-generated) to variable.
28449 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28450 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28451 Remove rule.
28452 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28453 Likewise.
28454 [generic bits/local_lim.h] (before-compile): Do not append to
28455 variable.
28456 [generic bits/local_lim.h] (common-generated): Likewise.
28457 [generic sys/param.h] (before-compile): Do not append to variable.
28458 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28459 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28460 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28461 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28462 include.
28463 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28464 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28465 [generic sys/param.h] ($(addprefix
28466 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28467 [generic sys/param.h] (common-generated): Do not append to
28468 variable.
28469 [generic sys/param.h] (sysdep_headers): Likewise.
28470 [generic bits/errno.h] (before-compile): Do not append to
28471 variable.
28472 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28473 rule.
28474 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28475 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28476 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28477 [generic bits/errno.h] (common-generated): Do not append to
28478 variable.
28479 [generic bits/ioctls.h] (before-compile): Do not append to
28480 variable.
28481 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28482 rule.
28483 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28484 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28485 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28486 rule.
28487 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28488 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28489 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28490 [generic bits/ioctls.h] (common-generated): Do not append to
28491 variable.
28492 [generic sys/syscall.h] (syscall.h): Remove variable.
28493 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28494 rule.
28495 [generic sys/syscall.h] (before-compile): Do not append to
28496 variable.
28497 [generic sys/syscall.h] (common-generated): Likewise.
28498 * sysdeps/unix/errnos-tmpl.c: Remove file.
28499 * sysdeps/unix/errnos.awk: Likewise.
28500 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28501 * sysdeps/unix/ioctls.awk: Likewise.
28502 * sysdeps/unix/mk-local_lim.c: Likewise.
28503 * sysdeps/unix/snarf-ioctls: Likewise.
28504
4851a949
RH
285052012-03-19 Richard Henderson <rth@twiddle.net>
28506
bd37f2ee
RH
28507 * sysdeps/i386/fpu/fenv_private.h: New file.
28508 * sysdeps/i386/fpu/math_private.h: Use it.
28509 (math_opt_barrier, math_force_eval): Remove.
28510 (libc_feholdexcept_setround_53bit): Remove.
28511 (libc_feupdateenv_53bit): Remove.
28512 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28513 (math_opt_barrier, math_force_eval): Remove.
28514 (libc_feholdexcept): Remove.
28515 (libc_feholdexcept_setround): Remove.
28516 (libc_fetestexcept, libc_fesetenv): Remove.
28517 (libc_feupdateenv_test): Remove.
28518 (libc_feupdateenv, libc_feholdsetround): Remove.
28519 (libc_feresetround): Remove.
28520
d0adc922
RH
28521 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28522 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28523
0fe0f1f8
RH
28524 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28525 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28526 (libc_feupdateenv_testl): New.
28527 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28528 (libc_feupdateenv_testf): New.
28529 (libc_feupdateenv): Use libc_feupdateenv_test.
28530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28531 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28532
eb92c487
RH
28533 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28534 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28535 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28536 (libc_feresetround_noex): New.
28537 (libc_feresetround_noexf): New.
28538 (libc_feresetround_noexl): New.
28539 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28540 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28541 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28542 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28543 SET_RESTORE_ROUND.
28544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28546 (__cos): Likewise.
28547 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28548 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28549 SET_RESTORE_ROUND_NOEX.
28550 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28551 SET_RESTORE_ROUND_NOEXF.
28552 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28553 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28554 (libc_feholdsetroundf): New.
28555 (libc_feresetround, libc_feresetroundf): New.
28556
7d2e8012
RH
28557 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28558 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28559 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28560
b4dabbb4
RH
28561 * sysdeps/generic/math_private.h: Include <fenv.h>.
28562 (default_libc_feholdexcept): New.
28563 (default_libc_feholdexcept_setround): New.
28564 (default_libc_fesetenv, default_libc_feupdateenv): New.
28565 (libc_feholdexcept): Only define if undefined.
28566 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28567 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28568 (libc_feholdexcept_setroundl): Likewise.
28569 (libc_feholdexcept_setround_53bit): Likewise.
28570 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28571 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28572 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28573 (libc_feupdateenv_53bit): Likewise.
28574 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28575 (libc_feholdexcept): Convert from macro to inline function.
28576 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28577 (libc_fesetenv, libc_feupdateenv): Likewise.
28578
4851a949
RH
28579 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28580 not previously defined.
28581 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28582 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28583 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28584 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28585 * sysdeps/ieee754/flt-32/math_private.h: New file.
28586 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28587 math_private.h below SET_FLOAT_WORD.
28588 (__isnan, __isinf_ns, __finite): Remove.
28589 (__isnanf, __isinf_nsf, __finitef): Remove.
28590
e79d442e
AS
285912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28592
28593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28594
90b80344
DM
285952012-03-17 David S. Miller <davem@davemloft.net>
28596
28597 [BZ #6471]
28598 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28599 for 2.16.
28600
edc21804
DM
286012012-03-16 David S. Miller <davem@davemloft.net>
28602
77e927af
DM
28603 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28604 warnings.
28605
374976dd
DM
28606 [BZ #6471]
28607 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28608 properly.
28609 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28610 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28611 sysdep_routines when subdir is sysvipc.
28612 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28613 __getshmlba helper.
28614
edc21804
DM
28615 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28616
473c3ef3
L
286172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28618
28619 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28620 [__LP64__].
28621
eb0f39b6
L
286222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28623
28624 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28625 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28626 (__lround): Renamed to ...
28627 (__llround): This. Replace long int with long long int.
28628 Define lround functions as aliases of llround functions.
28629 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28630
6b6cd74b
L
286312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28632
28633 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28634 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28635 adresses to uintptr_t. Replace "long int" and "unsigned long
28636 int" with "greg_t" on va_arg.
28637
f1a77b01
L
286382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28639
28640 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28641 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28642
28643 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28644 Move e_machine check before EI_CLASS check. Handle x32
28645 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28646 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28647 SKIP_EM_IA_64 and include
28648 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28649
28650 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28651 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28652 (add_system_dir): New macro.
28653
28654 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28655 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28656
11b90b9f
JM
286572012-03-16 Joseph Myers <joseph@codesourcery.com>
28658
c36e1d23
JM
28659 [BZ #2551]
28660 [BZ #2552]
28661 [BZ #2553]
28662 [BZ #2554]
28663 [BZ #2562]
28664 [BZ #2563]
28665 [BZ #2565]
28666 [BZ #2566]
28667 [BZ #2576]
28668 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28669 (y0): Likewise.
28670 * math/w_j0f.c (j0f): Likewise.
28671 (y0f): Likewise.
28672 * math/w_j0l.c (__j0l): Likewise.
28673 (__y0l): Likewise.
28674 * math/w_j1.c (j1): Likewise.
28675 (y1): Likewise.
28676 * math/w_j1f.c (j1f): Likewise.
28677 (y1f): Likewise.
28678 * math/w_j1l.c (__j1l): Likewise.
28679 (__y1l): Likewise.
28680 * math/w_jn.c (jn): Likewise.
28681 (yn): Likewise.
28682 * math/w_jnf.c (jnf): Likewise.
28683 (ynf): Likewise.
28684 * math/w_jnl.c (__jnl): Likewise.
28685 (__ynl): Likewise.
28686 * math/libm-test.inc (j0_test): Add more tests.
28687 (j1_test): Likewise.
28688 (jn_test): Likewise. Add trailing semicolon to existing test.
28689 (y0_test): Likewise.
28690 (y1_test): Likewise.
28691 * sysdeps/i386/fpu/libm-test-ulps: Update.
28692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28693
11b90b9f
JM
28694 [BZ #13851]
28695 [BZ #13854]
28696 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28697 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28698 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28699 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28700 (__tanl): Set errno for infinite argument.
28701 * sysdeps/i386/fpu/mptan.c: Remove.
28702 * sysdeps/i386/fpu/s_tan.S: Likewise.
28703 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28704 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28705 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28706 * math/libm-test.inc (tan_test): Add more tests and enable more
28707 tests for double and long double.
28708 * sysdeps/i386/fpu/libm-test-ulps: Update.
28709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28710
6a1bd2a1
JK
287112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28712
28713 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28714 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28715
10a803e0
RM
287162012-03-16 Roland McGrath <roland@hack.frob.com>
28717
28718 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28719 * configure.in: Use it for both main tree and add-ons.
28720 * configure: Regenerated.
28721
f196c7f7
L
287222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28723
28724 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28725
8848d99d
JM
287262012-03-16 Joseph Myers <joseph@codesourcery.com>
28727
96cbe7f4
JM
28728 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28729 in comment.
28730
8848d99d
JM
28731 [BZ #13851]
28732 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28733 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28737 infinite argument.
28738 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28739 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28740 != 0 for prec == 2.
28741 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28742 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28743 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28744 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28745 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28746 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28747 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28748 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28749 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28750 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28751 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28752 * math/libm-test.inc (cos_test): Add more tests and enable more
28753 tests for long double.
28754 (sin_test): Likewise.
28755 (sincos_test): Likewise.
28756 * sysdeps/i386/fpu/libm-test-ulps: Update.
28757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28758
dd7f4703
DM
287592012-03-16 David S. Miller <davem@davemloft.net>
28760
28761 * sysdeps/sparc/fpu/math_private.h: New file.
28762
006f1daa
DM
287632012-03-15 David S. Miller <davem@davemloft.net>
28764
c0c83bc8
DM
28765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28766 file.
e6a62e18 28767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28769 file.
e6a62e18
DM
28770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28775 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28776 sysdep routines.
28777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28778
88cb87d9
DM
28779 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28780 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28781
006f1daa 28782 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28784 sparc-ifunc.h
006f1daa 28785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28787 Likewise.
28788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28789 Likewise.
006f1daa
DM
28790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28794 Likewise.
006f1daa
DM
28795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28800 Likewise.
28801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28802 Likewise.
006f1daa
DM
28803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28809 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28810 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28822 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28827
11e0098e
AS
288282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28829
28830 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28831 scaling.
28832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28833
e85b09d0
AJ
288342012-03-15 Andreas Jaeger <aj@suse.de>
28835
28836 [BZ #13852]
28837 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28838 ieee754/flt-32 implementation for sin, cos and sincos.
28839 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28840 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28841 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28842 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28843 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28844 ieee754/flt-32 implementation for tan.
28845
28846 * math/libm-test.inc (cos_test): Enable some large input tests for
28847 float as well
28848 (sin_test): Likewise.
28849 (sincos_test): Likewise.
28850 (tan_test): Add tests for large input.
28851
28852 * sysdeps/i386/fpu/libm-test-ulps: Update.
28853
81c64153
AJ
288542012-03-15 Andreas Jaeger <aj@suse.de>
28855
28856 [BZ #13658]
28857 * math/libm-test.inc (cos_test): Add more test cases.
28858 (sin_test): Likewise.
28859 (sincos_test): Likewise.
28860
7bbfa5c6
AJ
288612012-03-15 Andreas Jaeger <aj@suse.de>
28862
28863 [BZ #13837]
28864 * math/libm-test.inc (cos_test): Add a test case for large input
28865 value.
28866 (sin_test): Likewise.
28867 (sincos_test): Likewise.
28868
288692012-03-15 Andreas Jaeger <aj@suse.de>,
28870 Joseph Myers <joseph@codesourcery.com>
28871
28872 [BZ #13658]
0671f479 28873 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28874 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28875 * sysdeps/i386/fpu/branred.c: Likewise.
28876 * sysdeps/i386/fpu/dosincos.c: Likewise.
28877 * sysdeps/i386/fpu/mpa.c: Likewise.
28878 * sysdeps/i386/fpu/s_cos.S: Likewise.
28879 * sysdeps/i386/fpu/s_sin.S: Likewise.
28880 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28881 * sysdeps/i386/fpu/sincos32.c: Likewise.
28882
28883 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28884 Define.
28885 (libc_feupdateenv_53bit): Define.
28886 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28887 Define.
28888 (libc_feupdateenv_53bit): Define.
28889
28890 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28891 53 bit (without extend i386 double precision).
28892
28893 * math/libm-test.inc (sincos_test): Add tests for large input.
28894 (sin): Likewise.
28895 (cos): Likewise.
28896
28897 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28898
9cad04ea
AS
288992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28900
28901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28902
f7062b9a
DM
289032012-03-15 David S. Miller <davem@davemloft.net>
28904
28905 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28906 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28907 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28908 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28921 file.
f7062b9a 28922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28924 file.
f7062b9a 28925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28927 file.
f7062b9a 28928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28930 file.
f7062b9a
DM
28931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28933 fmin/fmax sysdep routines.
28934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28935
7bd951ff
DM
289362012-03-14 David S. Miller <davem@davemloft.net>
28937
559398ab
DM
28938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28967 routines.
28968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28969 file.
559398ab 28970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28972 file.
559398ab 28973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28975 file.
559398ab 28976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28978 file.
559398ab 28979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28981 file.
559398ab 28982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28984 file.
28985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28986 file.
28987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28988 file.
28989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28990 file.
28991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28992 New file.
28993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28994 file.
28995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28996 file.
559398ab 28997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28999 file.
559398ab 29000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
29001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29002 file.
559398ab 29003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
29004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29005 file.
559398ab 29006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
29007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29008 VIS3 routines.
559398ab
DM
29009
29010 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29011 New file.
29012
5a1c1e32
DM
29013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29014
eae47a36
DM
29015 * sysdeps/sparc/configure.in: New file.
29016 * sysdeps/sparc/configure: Generate.
29017 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29018 * configure: Regenerate.
29019 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29020 * config.make.in (have-as-vis3): New.
29021 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29022 available use -Av9d instead of -Av9a.
29023 * sysdeps/sparc/sparc64/Makefile: Likewise.
29024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
29025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29026 New file.
29027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29028 file.
29029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29030 New file.
29031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29032 file.
eae47a36
DM
29033 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29037 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29038
c0c83bc8
DM
29039 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29040 fzeros/fnegs to load 0x80000000 into a float register instead of
29041 using the stack.
7bd951ff
DM
29042 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29043
bd951ccb
JM
290442012-03-14 Joseph Myers <joseph@codesourcery.com>
29045
29046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29047 bits/syscall.h.
29048 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29049 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29050 ($(inst_includedir)/bits/syscall.h): Remove rule.
29051 ($(objpfx)bits/syscall.d): Include instead of
29052 $(objpfx)syscall-list.d.
29053 (generated): Change syscall-list.h and syscall-list.d to
29054 bits/syscall.h and bits/syscall.d.
29055
bb4e6db2
RM
290562012-03-14 Roland McGrath <roland@hack.frob.com>
29057
29058 [BZ #13846]
29059 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29060
aa4a2ae1
JM
290612012-03-14 Joseph Myers <joseph@codesourcery.com>
29062
e456826d
JM
29063 [BZ #13841]
29064 * math/s_csqrt.c: Include <float.h>.
29065 (__csqrt): Scale large or subnormal inputs.
29066 * math/s_csqrtf.c: Likewise.
29067 * math/s_csqrtl.c: Likewise.
29068 * math/libm-test.inc (csqrt_test): Add more tests.
29069 * sysdeps/i386/fpu/libm-test-ulps: Update.
29070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29071
aa4a2ae1
JM
29072 [BZ #13840]
29073 * math/libm-test.inc (hypot_test): Add more tests.
29074
7c10fd35
DM
290752012-03-13 David S. Miller <davem@davemloft.net>
29076
29077 [BZ #13840]
29078 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29079 double-precision for the calculation instead of scaling.
29080
f453b98b
JM
290812012-03-13 Joseph Myers <joseph@codesourcery.com>
29082
29083 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29084 manipulate bits before adding and subtracting TWO52[sx].
29085 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29086 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29087 Likewise.
29088 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29089
09a3453f
DM
290902012-03-13 David S. Miller <davem@davemloft.net>
29091
8e59da90
DM
29092 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29093 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29094 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29095 rtld-global-offsets.h
29096 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29097
2a8ab7f2
DM
29098 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29099 large parameters.
29100
10f62770
DM
29101 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29102
5f0bdb18
DM
29103 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29104 'err' in the ifdef scope in which it is actually used.
29105
09a3453f
DM
29106 * nss/nss_db/db-init.c: Include string.h
29107
b4b2eb5e
DM
291082012-03-12 David S. Miller <davem@davemloft.net>
29109
98bb2f1c
DM
29110 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29111 masking out of the most significant byte of random value used.
29112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29113 Fix coding style in previous change.
29114
b4b2eb5e
DM
29115 * sysdeps/unix/sysv/linux/kernel-features.h
29116 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29117 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29118 expression.
29119 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29120 later.
29121
6e226b09
DM
291222012-03-11 David S. Miller <davem@davemloft.net>
29123
a1bcbd40
DM
29124 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29125 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29126 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29127 for 'resultvar' otherwise things get truncated on 64-bit.
29128
cb9d6174
DM
29129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29130 Fix masking out of the most significant byte of random value used.
29131
6e226b09
DM
29132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29133
058c132d
AS
291342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29135
29136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29137
2d2cd515
DM
291382012-03-09 David S. Miller <davem@davemloft.net>
29139
29140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29141 variables with appropriate CPP guards.
29142 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29143 frame pointer, not the stack pointer. Correct layout comments. Fix test
29144 on resulting framesize and the management of the outregs buffer for pltexit.
29145 Preserve floating point return values across _dl_call_pltexit call.
29146 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29147 framesize and the management of the outregs buffer for pltexit.
29148 Preserve floating point return values across _dl_call_pltexit
29149 call.
29150 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29151 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29152 (print_exit): Fix format string for return register value.
29153
9a07f9d0
JM
291542012-03-10 Joseph Myers <joseph@codesourcery.com>
29155
29156 * sunrpc/Makefile (others): Add rpcgen.
29157 ($(objpfx)rpcgen): Remove special build rule and dependency on
29158 libc.
29159 * sunrpc/rpcgen.c: New file.
29160
547b5e30
PE
291612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29162
c524201a
PE
29163 [BZ #13673]
29164 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29165 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29166 * sysdeps/i386/crti.S: Likewise.
29167 * sysdeps/i386/crtn.S: Likewise.
29168 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29169 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29170 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29171 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29172 * sysdeps/sh/crti.S: Likewise.
29173 * sysdeps/sh/crtn.S: Likewise.
29174 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29175
7b6235f2
PE
29176 [BZ #13673]
29177 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29178 with URL.
29179 * locale/programs/locfile-kw.gperf: Likewise.
29180 * locale/programs/charmap-kw.h: Regenerated.
29181 * locale/programs/locfile-kw.h: Likewise.
29182
547b5e30
PE
29183 [BZ #13673]
29184 * intl/plural.y: Replace FSF snail mail address with URL.
29185 * intl/plural.c: Regenerated.
29186
5f0a5dae
RH
291872012-03-09 Richard Henderson <rth@twiddle.net>
29188
29189 * include/math_private.h: Remove file.
29190 * math/math_private.h: Move file ...
29191 * sysdeps/generic/math_private.h: ... here.
29192
b8c03620
RH
29193 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29194 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29195 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29196
4e234f5d 29197 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
29198 and <math_private.h>.
29199 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29200 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29201 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29202 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29203 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29204 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29205 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29206 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29207 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29208 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29210 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29213 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29214 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29215 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29216 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29217 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29218 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29220 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29221 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29223 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29224 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29225 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29226 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29228 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29229 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29231 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29232 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29233 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29234 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29235 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29242 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29247 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29248 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29256 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29257 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29258 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29259 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29260 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29262 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29270 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29278 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29283 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29286 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29287 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29288 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29289 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29290 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29291 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29292 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29293 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29294 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29295 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29296 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29297 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29298 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29299 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29300 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29301 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29302 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29303 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29304 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29305 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29306 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29307 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29308 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29309 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29310 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29311 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29312 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29313 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29314 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29315 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29316 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29317 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29318 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29319 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29320 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29321 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29322 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29323 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29324 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29325 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29326 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29327 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29328 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29329 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29330 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29331 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29332 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29333 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29334 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29335 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29336 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29337 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29338 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29339 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29340 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29341 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29342 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29343 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29344 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29345 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29346 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29347 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29348 * sysdeps/ieee754/k_standard.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29359 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29360 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29361 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29362 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29363 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29364 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29365 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29366 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29367 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29368 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29369 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29370 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29371 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29372 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29373 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29374 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29375 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29376 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29377 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29379 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29380 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29382 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29383 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29384 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29387 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29388 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29389 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29390 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29391 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29392 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29393 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29394 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29395 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29396 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29397 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29398 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29399 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29400 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29401 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29402 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29403 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29405 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29406 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29407 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29411 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29412 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29414 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29415 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29416 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29417 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29418 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29423 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29424 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29425 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29426 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29427 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29428 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29429 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29430 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29431 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29432 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29433 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29437 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29438 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29445 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29446 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29450 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29451 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29452 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29453 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29454 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29456 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29457 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29458 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29459 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29461 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29462 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29463 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29464 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29465 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29467 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29468 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29469 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29470 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29471 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29473 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29474 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29476 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29480 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29481 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29483 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29485 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29488 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29497 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29498 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29499 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29502 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29505 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29508 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29509 * sysdeps/ieee754/s_lib_version.c: Likewise.
29510 * sysdeps/ieee754/s_matherr.c: Likewise.
29511 * sysdeps/ieee754/s_signgam.c: Likewise.
29512 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29513 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29514 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29515 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29516 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29517 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29518 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29519 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29520 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29521 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29522 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29523 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29524 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29525 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29526 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29527 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29528 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29529 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29530 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29533
1991fa03
JM
295342012-03-09 Joseph Myers <joseph@codesourcery.com>
29535
29536 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29537 * sunrpc/rpc_main.c: Likewise.
29538 * sunrpc/rpc_svcout.c: Likewise.
29539
60d6f5a6
DM
295402012-03-09 David S. Miller <davem@davemloft.net>
29541
29542 * include/math_private.h: New file.
29543
4962050e
JM
295442012-03-09 Joseph Myers <joseph@codesourcery.com>
29545
02a6f887
JM
29546 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29547 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29548 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29549 from <bits/socket_type.h>.
29550 (enum __socket_type): Don't define here.
29551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29553 bits/socket_type.h.
29554
c6e013c1
JM
29555 [BZ #13566]
29556 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29557 checking __USE_GNU.
29558
4962050e
JM
29559 * Makerules ($(inst_includedir)/%.h): New rule.
29560 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29561 (install-others): Remove variable setting.
29562 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29563
38842f45
RH
295642012-03-08 Richard Henderson <rth@twiddle.net>
29565
67bb6da6
RH
29566 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29567 from macro to inline function; merge with the
29568 !__LIBC_INTERNAL_MATH_INLINES version.
29569 (__ieee754_sqrtf): Likewise.
29570
15194b4b
RH
29571 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29572 to inline function.
29573 (__rintf, __floor, __floorf): Likewise.
29574
64e21ede
RH
29575 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29576 macro to inline function.
29577 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29578
38842f45
RH
29579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29580 not <math/math_private.h>.
29581
c64bf5fe
DM
295822012-03-08 David S. Miller <davem@davemloft.net>
29583
29584 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29585 copyright year.
29586 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29587
82d86f28
TS
295882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29589
29590 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29591 normalization.
29592 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29593 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29594
aea5d727
UD
295952012-03-08 Ulrich Drepper <drepper@gmail.com>
29596
29597 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29598 be defined individually, they must be defined as a block. Define
29599 S for printing a string instead of hidint the different by using a
29600 macro for adding the 'l'.
29601 * stdio-common/tst-fphex-wide.c: Adjust.
29602
70bca0a3
MP
296032012-03-07 Marek Polacek <polacek@redhat.com>
29604
29605 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29606
65b81130
MP
296072012-03-08 Marek Polacek <polacek@redhat.com>
29608
29609 [BZ #13806]
29610 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29611 * stdio-common/tst-fphex.c: Define a few macros to make the
29612 test reusable. Use them.
29613 * stdio-common/tst-fphex-wide.c: New file.
29614
07037eeb
JM
296152012-03-08 Joseph Myers <joseph@codesourcery.com>
29616
a7a93d50
JM
29617 [BZ #6911]
29618 * manual/macros.texi (gnusystems): New macro.
29619 (nongnusystems): Likewise.
29620 (gnulinuxhurdsystems): Likewise.
29621 (gnuhurdsystems): Likewise..
29622 (gnulinuxsystems): Likewise.
29623 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29624 variants of the GNU system, not "GNU system".
29625 * manual/conf.texi: Likewise.
29626 * manual/errno.texi: Likewise. Update example of errno macro
29627 expansion.
29628 * manual/filesys.texi: Likewise.
29629 (getumask): Document as specific to GNU/Hurd.
29630 * manual/install.texi: Likewise. Reword some references to
29631 GNU/Linux.
29632 * manual/intro.texi: Likewise.
29633 * manual/io.texi: Likewise.
29634 (File Name Portability): Detail which constraints are inapplicable
29635 to all GNU systems and which are only inapplicable to GNU/Hurd.
29636 * manual/job.texi: Likewise.
29637 * manual/llio.texi: Likewise.
29638 (O_NOCTTY): Document as present on GNU/Linux.
29639 * manual/maint.texi: Likewise.
29640 * manual/memory.texi: Likewise.
29641 * manual/pattern.texi: Likewise.
29642 * manual/pipe.texi: Likewise.
29643 * manual/process.texi: Likewise.
29644 * manual/resource.texi: Likewise.
29645 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29646 child on GNU/Hurd.
29647 * manual/setjmp.texi: Likewise.
29648 * manual/signal.texi: Likewise.
29649 * manual/startup.texi: Likewise.
29650 * manual/stdio.texi: Likewise.
29651 * manual/terminal.texi: Likewise.
29652 (ONLCR): Document as POSIX.
29653 (OXTABS): Document availability on GNU/Linux as XTABS.
29654 (ONOEOT): Document availability separately from other bits.
29655 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29656 * manual/time.texi: Likewise.
29657 * manual/users.texi: Likewise.
29658 * INSTALL: Regenerated.
29659 * sysdeps/gnu/errlist.c: Regenerated.
29660
07037eeb
JM
29661 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29662 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29663 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29664 puts.
29665 * configure: Regenerated.
29666
d1d3431a
JM
296672012-03-07 Joseph Myers <joseph@codesourcery.com>
29668
af6a1e37
JM
29669 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29670 default includes instead of AC_HEADER_CHECK.
29671 * sysdeps/i386/configure: Regenerated.
29672
d1d3431a
JM
29673 [BZ #10716]
29674 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29675 * math/s_cacoshf.c (__cacoshf): Likewise.
29676 * math/s_cacoshl.c (__cacoshl): Likewise.
29677 * math/s_casinh.c (__casinh): Set signs of result from argument.
29678 * math/s_casinhf.c (__casinhf): Likewise.
29679 * math/s_casinhl.c (__casinhl): Likewise.
29680 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29681 (casinh_test): Add more tests.
29682 * sysdeps/i386/fpu/libm-test-ulps: Update.
29683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29684
482ff4da
UD
296852012-03-07 Ulrich Drepper <drepper@gmail.com>
29686
872fda05
UD
29687 * po/zh_TW.po: Update from translation team.
29688
a4300c7a
UD
29689 * login/Makefile (distribute): Remove variable.
29690 * catgets/Makefile: Likewise.
29691 * mach/Makefile: Likewise.
29692 * malloc/Makefile: Likewise.
29693 * misc/Makefile: Likewise.
29694 * iconv/Makefile: Likewise.
29695 * nscd/Makefile: Likewise.
29696 * hurd/Makefile: Likewise.
29697 * manual/Makefile: Likewise.
29698 * locale/Makefile: Likewise.
29699 * intl/Makefile: Likewise.
29700 * conform/Makefile: Likewise.
29701 * nss/Makefile: Likewise.
29702 * time/Makefile: Likewise.
29703 * soft-fp/Makefile: Likewise.
29704 * dirent/Makefile: Likewise.
29705 * gmon/Makefile: Likewise.
29706 * po/Makefile: Likewise.
29707 * rt/Makefile: Likewise.
29708 * socket/Makefile: Likewise.
29709 * math/Makefile: Likewise.
29710 * signal/Makefile: Likewise.
29711 * debug/Makefile: Likewise.
29712 * elf/Makefile: Likewise.
29713 * timezone/Makefile: Likewise.
29714 * stdlib/Makefile: Likewise.
29715 * iconvdata/Makefile: Likewise.
29716 * sunrpc/Makefile: Likewise.
29717 * io/Makefile: Likewise.
29718 * argp/Makefile: Likewise.
29719 * inet/Makefile: Likewise.
29720 * hesiod/Makefile: Likewise.
29721 * grp/Makefile: Likewise.
29722 * csu/Makefile: Likewise.
29723 * wctype/Makefile: Likewise.
29724 * crypt/Makefile: Likewise.
29725 * libio/Makefile: Likewise.
29726 * string/Makefile: Likewise.
29727 * nis/Makefile: Likewise.
29728 * resolv/Makefile: Likewise.
29729 * stdio-common/Makefile: Likewise.
29730 * wcsmbs/Makefile: Likewise.
29731 * dlfcn/Makefile: Likewise.
29732 * posix/Makefile: Likewise.
29733
3b7c4e74 29734 [BZ #6959]
482ff4da
UD
29735 * timezone/Makefile: Don't install timezone files, just the programs
29736 and scripts.
29737
f72ed77d
UD
297382012-03-06 Ulrich Drepper <drepper@gmail.com>
29739
a000466f
UD
29740 * nss/databases.def: Add missing gshadow entry.
29741
f72ed77d
UD
29742 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29743
a53b7a4e
MP
297442012-03-06 Marek Polacek <polacek@redhat.com>
29745
29746 [BZ #13726]
29747 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29748 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29749 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29750 * stdio-common/tst-long-dbl-fphex.c: New file.
29751
e9258400
DM
297522012-03-06 David S. Miller <davem@davemloft.net>
29753
29754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29755 (set_obp_int): New function.
29756 (get_obp_int): New function.
29757 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29758 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29759 Avoid unused variable warnings on 'val' and use builtin_expect.
29760 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29761 __builtin_expect.
e9258400
DM
29762 (INLINE_CLONE_SYSCALL): Likewise.
29763
3bd2c723
DM
297642012-03-05 David S. Miller <davem@davemloft.net>
29765
29766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29767
bbb78d03
AS
297682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29769
884c5db4
AS
29770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29771
bbb78d03
AS
29772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29773 only for |x| >= 40.
29774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29775
1c9f702a 297762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29777
29778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29779 Replace gettimeofday with __vdso_gettimeofday.
29780
7be16f82
RM
29781 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29782 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29783 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29784
29785 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29786 time with __vdso_time.
29787
ed58a00f
JM
297882012-03-05 Joseph Myers <joseph@codesourcery.com>
29789
29790 * manual/lang.texi (size_t): Note types to which size_t may be
29791 equivalent with the GNU C Library, but do not describe when
29792 differences between them are significant.
29793
30ee4ced
AJ
297942012-03-05 Andreas Jaeger <aj@suse.de>
29795
29796 * sysdeps/i386/fpu/libm-test-ulps: Update.
29797
b7cd39e8
JM
297982012-03-05 Joseph Myers <joseph@codesourcery.com>
29799
29800 [BZ #3976]
29801 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29802 (__ieee754_pow): Save and restore rounding mode and use
29803 round-to-nearest for main computations.
29804 * math/libm-test.inc (pow_test_tonearest): New function.
29805 (pow_test_towardzero): Likewise.
29806 (pow_test_downward): Likewise.
29807 (pow_test_upward): Likewise.
29808 (main): Call the new functions.
29809 * sysdeps/i386/fpu/libm-test-ulps: Update.
29810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29811
29812 [BZ #3976]
29813 * math/libm-test.inc (cosh_test_tonearest): New function.
29814 (cosh_test_towardzero): Likewise.
29815 (cosh_test_downward): Likewise.
29816 (cosh_test_upward): Likewise.
29817 (sinh_test_tonearest): Likewise.
29818 (sinh_test_towardzero): Likewise.
29819 (sinh_test_downward): Likewise.
29820 (sinh_test_upward): Likewise.
29821 (main): Call the new functions.
29822 * sysdeps/i386/fpu/libm-test-ulps: Update.
29823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29824
6c6a98c9
TV
298252012-03-05 Tom de Vries <tom@codesourcery.com>
29826
29827 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29828 default stack guard is set in last bytes.
29829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29830
21bb2d2e 298312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29832
21bb2d2e 29833 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29834
21bb2d2e
AJ
29835 [BZ #13656]
29836 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29837 possibly allocate from heap instead of stack.
29838 * stdio-common/bug-vfprintf-nargs.c: New file.
29839 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29840
c6922934
AS
298412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29842
29843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29844
bc957d53
MP
298452012-03-03 Marek Polacek <polacek@redhat.com>
29846
29847 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29848 * math/math_private.h: Likewise.
29849 * stdlib/tst-strtod.c: Likewise.
29850 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29851 * sysdeps/x86_64/bits/atomic.h: Likewise.
29852
6358490d
DM
298532012-03-02 David S. Miller <davem@davemloft.net>
29854
29855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29859 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29860 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29861 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29862 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29863
01ae168d
RM
298642012-03-02 Roland McGrath <roland@hack.frob.com>
29865
d9a17c07
RM
29866 [BZ #13792]
29867 * manual/examples/README: New file, says the example source files
29868 can be used under GPL>=2.
29869 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29870 line containing just "*/".
29871 * manual/examples/add.c: Add copyright header (GPL>=2).
29872 * manual/examples/argp-ex1.c: Likewise.
29873 * manual/examples/argp-ex2.c: Likewise.
29874 * manual/examples/argp-ex3.c: Likewise.
29875 * manual/examples/argp-ex4.c: Likewise.
29876 * manual/examples/atexit.c: Likewise.
29877 * manual/examples/db.c: Likewise.
29878 * manual/examples/dir.c: Likewise.
29879 * manual/examples/dir2.c: Likewise.
29880 * manual/examples/execinfo.c: Likewise.
29881 * manual/examples/filecli.c: Likewise.
29882 * manual/examples/filesrv.c: Likewise.
29883 * manual/examples/fmtmsgexpl.c: Likewise.
29884 * manual/examples/genpass.c: Likewise.
29885 * manual/examples/inetcli.c: Likewise.
29886 * manual/examples/inetsrv.c: Likewise.
29887 * manual/examples/isockad.c: Likewise.
29888 * manual/examples/longopt.c: Likewise.
29889 * manual/examples/memopen.c: Likewise.
29890 * manual/examples/memstrm.c: Likewise.
29891 * manual/examples/mkfsock.c: Likewise.
29892 * manual/examples/mkisock.c: Likewise.
29893 * manual/examples/mygetpass.c: Likewise.
29894 * manual/examples/pipe.c: Likewise.
29895 * manual/examples/popen.c: Likewise.
29896 * manual/examples/rprintf.c: Likewise.
29897 * manual/examples/search.c: Likewise.
29898 * manual/examples/select.c: Likewise.
29899 * manual/examples/setjmp.c: Likewise.
29900 * manual/examples/sigh1.c: Likewise.
29901 * manual/examples/sigusr.c: Likewise.
29902 * manual/examples/stpcpy.c: Likewise.
29903 * manual/examples/strdupa.c: Likewise.
29904 * manual/examples/strftim.c: Likewise.
29905 * manual/examples/strncat.c: Likewise.
29906 * manual/examples/subopt.c: Likewise.
29907 * manual/examples/swapcontext.c: Likewise.
29908 * manual/examples/termios.c: Likewise.
29909 * manual/examples/testopt.c: Likewise.
29910 * manual/examples/testpass.c: Likewise.
29911 * manual/examples/timeval_subtract.c: Likewise.
29912
01ae168d
RM
29913 [BZ #13792]
29914 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29915 function to ...
29916 * manual/timeval_subtract.c.texi: ... here, new file.
29917
49efa33d
DM
299182012-03-02 David S. Miller <davem@davemloft.net>
29919
29920 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29921
28afd92d
JM
299222012-03-02 Joseph Myers <joseph@codesourcery.com>
29923
804360ed
JM
29924 [BZ #3976]
29925 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29926 (__sin): Save and restore rounding mode and use round-to-nearest
29927 for all computations.
29928 (__cos): Save and restore rounding mode and use round-to-nearest
29929 for all computations.
29930 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29931 <fenv.h>.
29932 (tan): Save and restore rounding mode and use round-to-nearest for
29933 all computations.
29934 * math/libm-test.inc (cos_test_tonearest): New function.
29935 (cos_test_towardzero): Likewise.
29936 (cos_test_downward): Likewise.
29937 (cos_test_upward): Likewise.
29938 (sin_test_tonearest): Likewise.
29939 (sin_test_towardzero): Likewise.
29940 (sin_test_downward): Likewise.
29941 (sin_test_upward): Likewise.
29942 (tan_test_tonearest): Likewise.
29943 (tan_test_towardzero): Likewise.
29944 (tan_test_downward): Likewise.
29945 (tan_test_upward): Likewise.
29946 (main): Call the new functions.
29947 * sysdeps/i386/fpu/libm-test-ulps: Update.
29948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29949
a6d06d7b
JM
29950 [BZ #10135]
29951 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29952 small n, then large n, before computing and testing k+n.
29953 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29955 Likewise.
29956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29957 Likewise.
29958 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29959 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29960 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29961 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29962 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29963 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29964 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29965 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29966 * math/libm-test.inc (scalbn_test): Add more tests.
29967 (scalbln_test): Likewise.
29968
07e12bb3
JM
29969 * manual/filesys.texi (mode_t): Describe constraints on size and
29970 signedness, not exact equivalence to a particular type.
29971 (ino_t): Likewise.
29972 (ino64_t): Likewise.
29973 (dev_t): Likewise.
29974 (nlink_t): Likewise.
29975 (blkcnt_t): Likewise.
29976 (blkcnt64_t): Likewise.
29977 * manual/llio.texi (off_t): Likewise.
29978
28afd92d
JM
29979 [BZ #3976]
29980 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29981 (__ieee754_exp): Save and restore rounding mode and use
29982 round-to-nearest for all computations.
29983 * math/libm-test.inc (exp_test_tonearest): New function.
29984 (exp_test_towardzero): Likewise.
29985 (exp_test_downward): Likewise.
29986 (exp_test_upward): Likewise.
29987 (main): Call the new functions.
29988 * sysdeps/i386/fpu/libm-test-ulps: Update.
29989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29990
b1eeb65d
CD
299912012-03-01 Chris Demetriou <cgd@google.com>
29992
29993 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29994 have predictable order.
29995
53362a4b
DM
299962012-03-01 David S. Miller <davem@davemloft.net>
29997
3c969083
DM
29998 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29999
759707de
DM
30000 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30001 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30002 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30003 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30004
dfdb8ff2
DM
30005 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30006 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30007 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30009 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30010 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30011 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30012 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30013 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30014
ead89f96
DM
30015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30016
7f66bd07
DM
30017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30018 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30019 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30020
53362a4b
DM
30021 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30022 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30023 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30024 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30025 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30026 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30028 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30029 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30030 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30031 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30032 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30034 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30035 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30037 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30038 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30039 * sysdeps/sparc/elf/configure: Regenerated.
30040
7b1902cb
JM
300412012-03-01 Joseph Myers <joseph@codesourcery.com>
30042
bec039bc
JM
30043 * configure.in (AS, LD): Require binutils 2.20 or later.
30044 * configure: Regenerated.
30045 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30046 as required minimum version.
30047 * INSTALL: Regenerated.
30048
7b1902cb
JM
30049 [BZ #2541]
30050 [BZ #4108]
30051 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30052 before squaring exponent.
30053 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30054 bottom long double and 27 bits of top long double before squaring
30055 exponent.
30056 * math/libm-test.inc (erfc_test): Add more tests.
30057 * sysdeps/i386/fpu/libm-test-ulps: Update.
30058 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30060
f775c276
KT
300612012-03-01 Kai Tietz <ktietz@redhat.com>
30062
30063 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30064 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30065 containing bit-fields.
30066 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30067 * soft-fp/single.h (_FP_UNION_S): Likewise.
30068 * soft-fp/double.h (_FP_UNION_D): Likewise.
30069
5b8a4d4a
JM
300702012-02-29 Joseph Myers <joseph@codesourcery.com>
30071
0bab47b6
JM
30072 [BZ #13786]
30073 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30074 not include ../strcmp.S.
30075 [USE_AS_STRNCASECMP_L]: Likewise.
30076 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30077 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30078 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30079 (__strncasecmp_l_ia32): Define as alias to
30080 __strncasecmp_l_nonascii.
30081
0fcad3e2
JM
30082 [BZ #5794]
30083 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30084 * sysdeps/i386/fpu/libm-test-ulps: Update.
30085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30086
5b8a4d4a
JM
30087 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30089
8fdceb2e
JL
300902012-02-29 Jeff Law <law@redhat.com>
30091
30092 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30093 out of bounds read.
30094
1f393a11
MP
300952012-02-29 Marek Polacek <polacek@redhat.com>
30096
30097 [BZ #13706]
30098 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30099 * elf/Makefile: Add rules to run tst-unused-dep.out.
30100
8847f037
DM
301012012-02-28 David S. Miller <davem@davemloft.net>
30102
30103 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30104 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30106 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30107 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30108 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30109
169d7f11
JM
301102012-02-29 Joseph Myers <joseph@codesourcery.com>
30111
30112 * math/libm-test.inc (llround_test): Move one test from
30113 lround_test. Use TEST_f_L in moved test.
30114 (lround_test): Move misplaced test to llround_test. Add testcase
30115 from bug 2561.
30116
39adf059
UD
301172012-02-28 Ulrich Drepper <drepper@gmail.com>
30118
30119 * sysdeps/x86_64/fpu/e_expf.S: New file.
30120 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30121
71b5d1c5
SB
301222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30123
30124 [BZ #13637]
30125 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30126 of remain_len that may cause incomplete multi-byte character and
30127 false match.
30128 * posix/bug-regex33.c: New file.
30129 * posix/Makefile (tests): Add bug-regex33.
30130
1f77f049
JM
301312012-02-28 Joseph Myers <joseph@codesourcery.com>
30132
30133 * manual/macros.texi: New file.
30134 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30135 * manual/libc.texinfo: Include macros.texi.
30136 * manual/creatute.texi: Likewise.
30137 * manual/install.texi: Likewise.
30138 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30139 @glibcadj{} in references to the GNU C Library.
30140 * manual/charset.texi: Likewise.
30141 * manual/conf.texi: Likewise.
30142 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30143 when not using those macros.
30144 * manual/creature.texi: Likewise.
30145 * manual/crypt.texi: Likewise.
30146 * manual/errno.texi: Likewise.
30147 * manual/filesys.texi: Likewise.
30148 * manual/header.texi: Likewise.
30149 * manual/install.texi: Likewise.
30150 * manual/intro.texi: Likewise.
30151 * manual/io.texi: Likewise.
30152 * manual/job.texi: Likewise.
30153 * manual/lang.texi: Likewise.
30154 * manual/libc.texiinfo: Likewise.
30155 * manual/llio.texi: Likewise.
30156 * manual/locale.texi: Likewise.
30157 * manual/maint.texi: Likewise.
30158 * manual/math.texi: Likewise.
30159 * manual/memory.texi: Likewise.
30160 * manual/message.texi: Likewise.
30161 * manual/nss.texi: Likewise.
30162 * manual/pattern.texi: Likewise.
30163 * manual/process.texi: Likewise.
30164 * manual/resource.texi: Likewise.
30165 * manual/search.texi: Likewise.
30166 * manual/setjmp.texi: Likewise.
30167 * manual/signal.texi: Likewise.
30168 * manual/socket.texi: Likewise.
30169 * manual/startup.texi: Likewise.
30170 * manual/stdio.texi: Likewise.
30171 * manual/string.texi: Likewise.
30172 * manual/sysinfo.texi: Likewise.
30173 * manual/syslog.texi: Likewise.
30174 * manual/terminal.texi: Likewise.
30175 * manual/time.texi: Likewise.
30176 * manual/users.texi: Likewise.
30177 * INSTALL: Regenerated.
30178 * NOTES: Regenerated.
d40c5d54 30179 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 30180
450bf206
AS
301812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30182
30183 * include/dirent.h: Include <dirstream.h> before
30184 <dirent/dirent.h>.
30185
741a235b
DM
301862012-02-28 David S. Miller <davem@davemloft.net>
30187
30188 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30189 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30190 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30191 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30192
d6b5aa58
DM
301932012-02-27 David S. Miller <davem@davemloft.net>
30194
1aff59a3
DM
30195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30197 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30198 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30199
d6b5aa58
DM
30200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30201 frame pointer instead of stack pointer relative arg slot.
30202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30203 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30204 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30205
433f48bf
CD
302062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30207
30208 [BZ #3992]
30209 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30210
d674b76d
DM
302112012-02-27 David S. Miller <davem@davemloft.net>
30212
30213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30217 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30218 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30219 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30220 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30221
0e7727f7
JM
302222012-02-27 Joseph Myers <joseph@codesourcery.com>
30223
30224 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30225 later. Allow versions 5-9.
43be4ca2 30226 * configure: Regenerated.
0e7727f7
JM
30227 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30228 required minimum version and 4.6 as recommended version. Do not
30229 mention bugs in GCC 2.7 and 2.8.
43be4ca2 30230 * INSTALL: Regenerated.
0e7727f7 30231
a78bc654
DM
302322012-02-27 David S. Miller <davem@davemloft.net>
30233
428d5830
DM
30234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30238 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30239 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30240 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30241 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30242
a78bc654
DM
30243 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30244 manipulate bits before adding and subtracting TWO112[sx].
30245 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30246
4579f81c
RM
302472012-02-27 Roland McGrath <roland@hack.frob.com>
30248
36c8acb4
RM
30249 [BZ #13775]
30250 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30251 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30252 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30253 being in POSIX, because they are in 1003.1-2008.
30254
84ad622b
RM
30255 * rt/tst-aio.c: Include <fcntl.h>.
30256 * rt/tst-aio7.c: Likewise.
30257 * rt/tst-aio64.c: Likewise.
30258
4579f81c
RM
30259 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30260
abd923db
JM
302612012-02-27 Joseph Myers <joseph@codesourcery.com>
30262
30263 * manual/install.texi (--with-headers): Describe headers as
30264 interface headers, not private headers.
30265 (Specific advice for GNU/Linux systems): Describe use of headers
30266 from "make headers_install", not private headers from older
30267 kernels.
43be4ca2 30268 * INSTALL: Regenerated.
abd923db
JM
30269 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30270 Change to 2.6.19.
30271 * sysdeps/unix/sysv/linux/configure: Regenerated.
30272
6664049b
JM
30273 * manual/llio.texi (fclean): Remove documentation.
30274
bb8b6697
JM
30275 * manual/Makefile (libc-texi-generated): New variable. Include
30276 version.texi.
30277 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30278 $(libc-texi-generated), not duplicated list of files.
30279 (version.texi, stamp-version): New rules.
30280 (realclean): Remove $(libc-texi-generated), not individual files
30281 from that list. Do not remove dir-add.texinfo.
30282 * manual/libc.texinfo: Comment out uses of edition numbers and
30283 references to printed manual. Remove last-updated dates.
30284 (EDITION): Comment out.
30285 (ISBN): Likewise.
30286 (VERSION, UPDATED): Remove.
30287 (version.texi): Include.
30288
12e5c3b9
AS
302892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30290
30291 * sysdeps/posix/spawni.c: Include <signal.h>.
30292 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30293 * sysdeps/pthread/aio_fsync.c: Likewise.
30294
4efeffc1 302952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30296
ba63ba08
UD
30297 * conform/Makefile (tests): Run only when not cross-compiling and
30298 when fast-check is not defined.
30299
d94a4670
UD
30300 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30301 * conform/data/limits.h-data: Fixes for POSIX2008.
30302 * conform/run-conformtest.sh: Run all tests.
30303 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30304 headers.
30305 * include/bits/dlfcn.h: Likewise.
30306 * include/langinfo.h: Likewise.
30307 * include/monetary.h: Likewise.
30308 * include/sys/poll.h: Likewise.
30309
30310 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30311 for __USE_GNU.
30312 * posix/spawn.h: Define __need_sigset_t.
30313 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30314 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30315 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30316 to get sigevent_t only.
30317 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30318 only for __USE_GNU.
30319 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30320 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30321 process_vm_writev only for __USE_GNU.
30322 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30323
30324 * conform/Makefile: For now ignore errors from run-conformtest.
30325 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30326 POSIX to avoid namespace pollution. Don't prepend headers.
30327 * conform/data/aio.h-data: Fixes for POSIX testing.
30328 * conform/data/fcntl.h-data: Likewise.
30329 * conform/data/glob.h-data: Likewise.
30330 * conform/data/grp.h-data: Likewise.
30331 * conform/data/pthread.h-data: Likewise.
30332 * conform/data/pwd.h-data: Likewise.
30333 * conform/data/signal.h-data: Likewise.
30334 * conform/data/spawn.h-data: Likewise.
30335 * conform/data/stdio.h-data: Likewise.
30336 * conform/data/stdlib.h-data: Likewise.
30337 * conform/data/stropts.h-data: Likewise.
30338 * conform/data/sys/mman.h-data: Likewise.
30339 * conform/data/sys/stat.h-data: Likewise.
30340 * conform/data/sys/types.h-data: Likewise.
30341 * conform/data/sys/wait.h-data: Likewise.
30342 * conform/data/time.h-data: Likewise.
30343 * conform/data/unistd.h-data: Likewise.
30344 * conform/data/utime.h-data: Likewise.
30345
30346 * io/sys/stat.h: fchmod was always in POSIX.
30347 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30348 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30349 * rt/aio.h: Define __need_timespec before including <time.h>.
30350 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30351 struct. Add forward declaration of pthread_attr_t and use it in
30352 sigevent.
30353 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30355 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30356 always remove CLK_TCK definition.
30357
c20105c3
AS
303582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30359
30360 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30361
7a270350
UD
303622012-02-25 Ulrich Drepper <drepper@gmail.com>
30363
31341567
UD
30364 * conform/run-conformtest.sh: New file.
30365 * conform/Makefile: Run run-conformtest for tests.
30366 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30367 support.
30368
30369 * conform/data/uchar.h-data: New file.
30370 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30371 * conform/data/arpa/inet.h-data: Likewise.
30372 * conform/data/assert.h-data: Likewise.
30373 * conform/data/complex.h-data: Likewise.
30374 * conform/data/cpio.h-data: Likewise.
30375 * conform/data/ctype.h-data: Likewise.
30376 * conform/data/dirent.h-data: Likewise.
30377 * conform/data/dlfcn.h-data: Likewise.
30378 * conform/data/errno.h-data: Likewise.
30379 * conform/data/fcntl.h-data: Likewise.
30380 * conform/data/float.h-data: Likewise.
30381 * conform/data/fmtmsg.h-data: Likewise.
30382 * conform/data/fnmatch.h-data: Likewise.
30383 * conform/data/ftw.h-data: Likewise.
30384 * conform/data/glob.h-data: Likewise.
30385 * conform/data/grp.h-data: Likewise.
30386 * conform/data/iconv.h-data: Likewise.
30387 * conform/data/inttypes.h-data: Likewise.
30388 * conform/data/langinfo.h-data: Likewise.
30389 * conform/data/libgen.h-data: Likewise.
30390 * conform/data/limits.h-data: Likewise.
30391 * conform/data/locale.h-data: Likewise.
30392 * conform/data/math.h-data: Likewise.
30393 * conform/data/monetary.h-data: Likewise.
30394 * conform/data/mqueue.h-data: Likewise.
30395 * conform/data/ndbm.h-data: Likewise.
30396 * conform/data/net/if.h-data: Likewise.
30397 * conform/data/netdb.h-data: Likewise.
30398 * conform/data/netinet/in.h-data: Likewise.
30399 * conform/data/nl_types.h-data: Likewise.
30400 * conform/data/poll.h-data: Likewise.
30401 * conform/data/pthread.h-data: Likewise.
30402 * conform/data/pwd.h-data: Likewise.
30403 * conform/data/regex.h-data: Likewise.
30404 * conform/data/sched.h-data: Likewise.
30405 * conform/data/search.h-data: Likewise.
30406 * conform/data/semaphore.h-data: Likewise.
30407 * conform/data/setjmp.h-data: Likewise.
30408 * conform/data/signal.h-data: Likewise.
30409 * conform/data/spawn.h-data: Likewise.
30410 * conform/data/stdarg.h-data: Likewise.
30411 * conform/data/stdio.h-data: Likewise.
30412 * conform/data/stdlib.h-data: Likewise.
30413 * conform/data/string.h-data: Likewise.
30414 * conform/data/strings.h-data: Likewise.
30415 * conform/data/stropts.h-data: Likewise.
30416 * conform/data/sys/ipc.h-data: Likewise.
30417 * conform/data/sys/mman.h-data: Likewise.
30418 * conform/data/sys/msg.h-data: Likewise.
30419 * conform/data/sys/resource.h-data: Likewise.
30420 * conform/data/sys/select.h-data: Likewise.
30421 * conform/data/sys/sem.h-data: Likewise.
30422 * conform/data/sys/shm.h-data: Likewise.
30423 * conform/data/sys/socket.h-data: Likewise.
30424 * conform/data/sys/stat.h-data: Likewise.
30425 * conform/data/sys/statvfs.h-data: Likewise.
30426 * conform/data/sys/time.h-data: Likewise.
30427 * conform/data/sys/timeb.h-data: Likewise.
30428 * conform/data/sys/times.h-data: Likewise.
30429 * conform/data/sys/types.h-data: Likewise.
30430 * conform/data/sys/uio.h-data: Likewise.
30431 * conform/data/sys/un.h-data: Likewise.
30432 * conform/data/sys/utsname.h-data: Likewise.
30433 * conform/data/sys/wait.h-data: Likewise.
30434 * conform/data/syslog.h-data: Likewise.
30435 * conform/data/tar.h-data: Likewise.
30436 * conform/data/termios.h-data: Likewise.
30437 * conform/data/utime.h-data: Likewise.
30438 * conform/data/utmpx.h-data: Likewise.
30439 * conform/data/varargs.h-data: Likewise.
30440 * conform/data/wchar.h-data: Likewise.
30441 * conform/data/wctype.h-data: Likewise.
30442 * conform/data/wordexp.h-data: Likewise.
30443
30444 * include/stropts.h: New file.
30445 * include/uchar.h: New file.
30446 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30447 * include/assert.h: Likewise.
30448 * include/ctype.h: Likewise.
30449 * include/dirent.h: Likewise.
30450 * include/dlfcn.h: Likewise.
30451 * include/fcntl.h: Likewise.
30452 * include/fnmatch.h: Likewise.
30453 * include/glob.h: Likewise.
30454 * include/grp.h: Likewise.
30455 * include/libio.h: Likewise.
30456 * include/locale.h: Likewise.
30457 * include/math.h: Likewise.
30458 * include/net/if.h: Likewise.
30459 * include/netdb.h: Likewise.
30460 * include/netinet/in.h: Likewise.
30461 * include/pthread.h: Likewise.
30462 * include/pwd.h: Likewise.
30463 * include/regex.h: Likewise.
30464 * include/sched.h: Likewise.
30465 * include/search.h: Likewise.
30466 * include/setjmp.h: Likewise.
30467 * include/signal.h: Likewise.
30468 * include/stdio.h: Likewise.
30469 * include/stdlib.h: Likewise.
30470 * include/string.h: Likewise.
30471 * include/sys/cdefs.h: Likewise.
30472 * include/sys/mman.h: Likewise.
30473 * include/sys/msg.h: Likewise.
30474 * include/sys/resource.h: Likewise.
30475 * include/sys/select.h: Likewise.
30476 * include/sys/socket.h: Likewise.
30477 * include/sys/stat.h: Likewise.
30478 * include/sys/statvfs.h: Likewise.
30479 * include/sys/time.h: Likewise.
30480 * include/sys/times.h: Likewise.
30481 * include/sys/uio.h: Likewise.
30482 * include/sys/utsname.h: Likewise.
30483 * include/sys/wait.h: Likewise.
30484 * include/termios.h: Likewise.
30485 * include/time.h: Likewise.
30486 * include/ulimit.h: Likewise.
30487 * include/unistd.h: Likewise.
30488 * include/utime.h: Likewise.
30489 * include/wchar.h: Likewise.
30490 * include/wctype.h: Likewise.
30491 * include/wordexp.h: Likewise.
30492
30493 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30494
7a270350
UD
30495 * time/time.h: TIME_UTC must be a macro.
30496 Make timespec_get available for ISO C11 only as well.
30497
7724defc
UD
304982012-02-24 Ulrich Drepper <drepper@gmail.com>
30499
30500 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30501 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30502
6b1d1d46
JM
305032012-02-24 Joseph Myers <joseph@codesourcery.com>
30504
30505 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30506
0f8bbd69
JM
305072012-02-24 Joseph Myers <joseph@codesourcery.com>
30508
30509 * manual/texinfo.tex: Update to version 2012-01-19.16.
30510
66ab80bc
JM
305112012-02-24 Joseph Myers <joseph@codesourcery.com>
30512
30513 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30514
74981cc5
RM
305152012-02-24 Roland McGrath <roland@hack.frob.com>
30516
ee968201
RM
30517 [BZ #13738]
30518 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30519 * manual/fdl-1.3.texi: New file.
30520 * manual/fdl-1.1.texi: File removed.
30521
74981cc5
RM
30522 [BZ #13738]
30523 * manual/libc.texinfo (FDL_VERSION): New @set.
30524 Use it for mention of FDL in cover text.
30525 (Documentation License): Use it in @include file name.
30526
7bb764bc
JM
305272012-02-22 Joseph Myers <joseph@codesourcery.com>
30528 Roland McGrath <roland@hack.frob.com>
30529
30530 [BZ #5461]
30531 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30532 not LONG_LONG_MAX and LONG_LONG_MIN.
30533 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30534 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30535 name.
30536 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30537
6cbeae47
JM
305382012-02-22 Joseph Myers <joseph@codesourcery.com>
30539
30540 [BZ #2547]
30541 [BZ #11365]
30542 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30543 manipulate bits before adding and subtracting TWO23[sx].
30544 * math/libm-test.inc (nearbyint_test): Add more tests.
30545
fe45ce09
JM
305462012-02-22 Joseph Myers <joseph@codesourcery.com>
30547
30548 [BZ #2548]
30549 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30550 bits before adding and subtracting TWO23[sx].
30551 * math/libm-test.inc (rint_test): Add more tests.
30552 (rint_test_tonearest): Likewise.
30553 (rint_test_towardzero): Likewise.
30554 (rint_test_downward): Likewise.
30555 (rint_test_upward: Likewise.
30556
ff3b3d82
JM
305572012-02-22 Joseph Myers <joseph@codesourcery.com>
30558
30559 [BZ #10110]
30560 * include/stdc-predef.h: New file. Extracted from features.h.
30561 * include/features.h: Include stdc-predef.h.
30562 * Makefile (headers): Add stdc-predef.h.
30563 * CONFORMANCE (Compiler limitations): Update.
30564
ef0aab35
JM
305652012-02-22 Joseph Myers <joseph@codesourcery.com>
30566
30567 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30568
58639409
DM
305692012-02-21 David S. Miller <davem@davemloft.net>
30570
30571 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30572 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30573
c0e70b25
DM
305742012-02-20 David S. Miller <davem@davemloft.net>
30575
30576 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30577 using a normal save/restore sequence, rather than allocating a
30578 dummy stack frame just to store a frame pointer and restore.
30579 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30580
fb06851d
JM
305812012-02-21 Joseph Myers <joseph@codesourcery.com>
30582
30583 * manual/install.texi: Fix stray word in line-wrapped comment.
30584
7a8b71c3
DM
305852012-02-20 David S. Miller <davem@davemloft.net>
30586
d510c123
DM
30587 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30588 both binutils and gcc support GOTDATA.
30589
0722d7c2
DM
30590 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30591 "rd %pc" in the PIC register setup sequences.
30592
3d2b3019
DM
30593 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30594 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30595 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30596 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30597 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30599 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30600 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30602 (SYSCALL_ERROR_HANDLER): Likewise.
30603 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30604 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30606 (SYSCALL_ERROR_HANDLER): Likewise.
30607
c80098a9
DM
30608 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30609 (HAVE_GCC_GOTDATA): New.
30610 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30611 relocation support in both binutils and gcc.
30612 * sysdeps/sparc/elf/configure: Regenerate.
30613
3a2545a0
DM
30614 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30615 * sysdeps/sparc/sparc32/elf/configure: Delete.
30616 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30617 * sysdeps/sparc/sparc64/elf/configure: Delete.
30618 * sysdeps/sparc/elf/configure.in: New file.
30619 * sysdeps/sparc/elf/configure: Generate.
30620
7a8b71c3
DM
30621 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30622 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30623 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30624 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30625 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30626
f1e86fca
JM
306272012-02-21 Joseph Myers <joseph@codesourcery.com>
30628
30629 * manual/install.texi: Do not mention specific glibc version
30630 numbers.
30631 * manual/libc.texinfo (VERSION, UPDATED): Update.
30632 (@copying): Use @copyright{} and range of years.
30633
0e7dfaef
JM
306342012-02-21 Joseph Myers <joseph@codesourcery.com>
30635
30636 [BZ #13695]
30637 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30638 [crti.S not in sysdirs] (generated): Do not append.
30639 [crti.S not in sysdirs] (omit-deps): Likewise.
30640 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30641 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30642 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30643 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30644 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30645 Likewise.
30646 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30647 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30648 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30649 * csu/defs.awk: Remove file.
30650 * sysdeps/generic/initfini.c: Likewise.
30651 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30652 variable.
30653 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30654 Likewise.
30655
599af3ca
JM
306562012-02-20 Joseph Myers <joseph@codesourcery.com>
30657
30658 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30659 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30660 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30662 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30663 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30664 <bits/epoll.h>.
30665 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30666 (__EPOLL_PACKED): Define to empty if not defined by
30667 <bits/epoll.h>.
30668 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30670 bits/epoll.h.
30671
0e499750
JM
306722012-02-20 Joseph Myers <joseph@codesourcery.com>
30673
30674 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30675 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30676 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30677 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30678 <bits/timerfd.h>.
30679 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30681 bits/timerfd.h.
30682
5ad91f6e
JM
306832012-02-20 Joseph Myers <joseph@codesourcery.com>
30684
30685 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30686 in C locale.
30687 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30688 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30691
06b99b02
AJ
306922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30693
30694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30695 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30696
7638c0fd
AS
306972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30698
30699 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30700 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30701 defined.
30702 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30703 Likewise.
30704 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30705 entry for 2.16.
30706
92221550
AJ
307072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30708
30709 * math/w_acos.c: Use non-signaling floating-point comparisons.
30710 * math/w_acosf.c: Likewise.
30711 * math/w_acosh.c: Likewise.
30712 * math/w_acoshf.c: Likewise.
30713 * math/w_acoshl.c: Likewise.
30714 * math/w_acosl.c: Likewise.
30715 * math/w_asin.c: Likewise.
30716 * math/w_asinf.c: Likewise.
30717 * math/w_asinl.c: Likewise.
30718 * math/w_atanh.c: Likewise.
30719 * math/w_atanhf.c: Likewise.
30720 * math/w_atanhl.c: Likewise.
30721 * math/w_exp2.c: Likewise.
30722 * math/w_exp2f.c: Likewise.
30723 * math/w_exp2l.c: Likewise.
30724 * math/w_j0.c: Likewise.
30725 * math/w_j0f.c: Likewise.
30726 * math/w_j0l.c: Likewise.
30727 * math/w_j1.c: Likewise.
30728 * math/w_j1f.c: Likewise.
30729 * math/w_j1l.c: Likewise.
30730 * math/w_jn.c: Likewise.
30731 * math/w_jnf.c: Likewise.
30732 * math/w_log.c: Likewise.
30733 * math/w_log10.c: Likewise.
30734 * math/w_log10f.c: Likewise.
30735 * math/w_log10l.c: Likewise.
30736 * math/w_log2.c: Likewise.
30737 * math/w_log2f.c: Likewise.
30738 * math/w_log2l.c: Likewise.
30739 * math/w_logf.c: Likewise.
30740 * math/w_logl.c: Likewise.
30741 * math/w_sqrt.c: Likewise.
30742 * math/w_sqrtf.c: Likewise.
30743 * math/w_sqrtl.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30746 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30747 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30748 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30749
ebaf36eb
JM
307502012-02-19 Joseph Myers <joseph@codesourcery.com>
30751
30752 [BZ #9739]
30753 * manual/string.texi (strnlen): Use correct parameter name in
30754 equivalent expression.
30755
71c254a6
JM
307562012-02-19 Joseph Myers <joseph@codesourcery.com>
30757
30758 [BZ #11174]
30759 * manual/users.texi (seteuid): Consistently use neweuid for
30760 argument name.
30761
16d2c631
JM
307622012-02-19 Joseph Myers <joseph@codesourcery.com>
30763
30764 [BZ #13704]
30765 * manual/nss.texi (Services in the NSS configuration): Correct
30766 list of services in example configuration file.
30767
cd837b09
NB
307682012-02-19 Nick Bowler <nbowler@draconx.ca>
30769
30770 [BZ #11322]
30771 * manual/arith.texi: Remove statements about negative zero
30772 behaving identically to zero.
30773
02c4bbad
JM
307742012-02-18 Joseph Myers <joseph@codesourcery.com>
30775
30776 [BZ #5993]
30777 * manual/install.texi: Do not document upgrading from libc5.
30778
366842e7
JM
307792012-02-18 Joseph Myers <joseph@codesourcery.com>
30780
30781 [BZ #4596]
30782 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30783
dd54084d
DM
307842012-02-18 David S. Miller <davem@davemloft.net>
30785
30786 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30787 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30788 %o7 across the call.
30789 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30790 instead.
30791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30792 SETUP_PIC_REG_LEAF.
30793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30794 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30795 * sysdeps/sparc/crtn.S: Likewise.
30796
2bcc53a3
UD
307972012-02-17 Ulrich Drepper <drepper@gmail.com>
30798
30799 * aout/Makefile: Remove.
30800
09c093b5
RK
308012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30802
30803 [BZ #13058]
30804 * manual/examples/argp-ex1.c (main): Format definition in GNU
30805 style.
30806 * manual/examples/argp-ex2.c (main): Likewise.
30807 * manual/examples/argp-ex3.c (main): Likewise.
30808 * manual/examples/argp-ex4.c (main): Likewise.
30809 * manual/examples/longopt.c (main): Use new-style prototype
30810 definition.
30811 * manual/examples/strncat.c (main): Specify return type and use
30812 (void) for arguments.
30813 * manual/examples/subopt.c (main): Use char **argv argument.
30814
2ee633a2
JM
308152012-02-17 Joseph Myers <joseph@codesourcery.com>
30816
30817 [BZ #5077]
30818 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30819 rounding modes.
30820
0520adde
FB
308212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30822
30823 [BZ #6907]
30824 * manual/string.texi (strchr): Change when strchrnul is
30825 recommended.
30826
3f4081cd
DGM
308272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30828
30829 [BZ #174]
30830 * manual/locale.texi (setlocale): Document LOCPATH.
30831
d1b10e78
JM
308322012-02-17 Joseph Myers <joseph@codesourcery.com>
30833
30834 [BZ #10210]
30835 * manual/process.texi (execle): Move @dots{} before last argument.
30836
79c6869c
PB
308372012-02-17 Paul Bolle <pebolle@tiscali.nl>
30838
30839 [BZ #12047]
30840 * manual/charset.texi (Generic Charset Conversion): Fix typo
30841 (LC_TYPE -> LC_CTYPE).
30842
cc6e48bc
NB
308432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30844
30845 [BZ #5805]
30846 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30847 (scalbnf): Likewise.
30848 (scalbnl): Likewise.
30849 (scalbln): Likewise.
30850 (scalblnf): Likewise.
30851 (scalblnl): Likewise.
30852 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30853 (vwarnx): Likewise.
30854 (verr): Likewise.
30855 (verrx): Likewise.
30856 * manual/filesys.texi (telldir): Use braces around return type.
30857 * manual/llio.texi (mmap): Add space after comma.
30858 (mmap64): Likewise.
30859 * manual/math.texi (jn): Use @var{} on parameter names.
30860 (jnf): Likewise.
30861 (jnl): Likewise.
30862 (yn): Likewise.
30863 (ynf): Likewise.
30864 (ynl): Likewise.
30865 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30866 line.
30867 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30868 "...".
30869 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30870 (sched_get_priority_max): Likewise.
30871 * manual/signal.texi (sigvec): Add space after comma.
30872 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30873 names.
30874 (if_indextoname): Likewise.
30875 (if_freenameindex): Likewise.
30876 (sendto): Use ',' instead of '.' in prototype.
30877 * manual/startup.texi (syscall): Use @dots{} instead of literal
30878 "...".
30879 * manual/stdio.texi (__fpending): Separate initial words of
30880 paragraph from @deftypefun line.
30881 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30882 "...".
30883 (vsyslog): Use @var{} on parameter names.
30884 * manual/terminal.texi (stty): Use @var{} on parameter names.
30885 * manual/users.texi (getutmp): Use @var{} on parameter names.
30886 (getutmpx): Likewise.
30887
5b23062f
JM
308882012-02-17 Joseph Myers <joseph@codesourcery.com>
30889
30890 [BZ #6884]
30891 * manual/stdio.texi (fopen): Fix typos in description of
30892 ",ccs=STRING".
30893
8dee4833
AJ
308942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30895
30896 [BZ #4026]
30897 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30898 get clock_id definition.
30899
9078ce93
TS
309002012-02-17 Thomas Schwinge <thomas@schwinge.name>
30901
30902 [BZ #4822]
30903 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30904 (madvise): Cast every argument to void on its own.
30905
3835c55f
JM
309062012-02-17 Joseph Myers <joseph@codesourcery.com>
30907
30908 [BZ #9902]
30909 * manual/startup.texi (Exit Status): Fix typo.
30910
35c47e37
JM
309112012-02-17 Joseph Myers <joseph@codesourcery.com>
30912
30913 [BZ #10140]
30914 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30915 * manual/examples/argp-ex2.c: Likewise.
30916 * manual/examples/argp-ex3.c: Likewise.
30917
e3b69ca7
RH
309182012-02-16 Richard Henderson <rth@redhat.com>
30919
30920 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30921 * sysdeps/s390/s390-32/initfini.c: Remove.
30922 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30923 * sysdeps/s390/s390-64/initfini.c: Remove.
30924
df83af67
KK
309252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30926
30927 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30928 compiler output for sysdeps/generic/initfini.c.
30929 * sysdeps/sh/elf/initfini.c: Remove file.
30930
f63f3380
DM
309312012-02-16 David S. Miller <davem@davemloft.net>
30932
fb59b3a4
DM
30933 [BZ #11494]
30934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30935
f63f3380
DM
30936 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30937 * sysdeps/sparc/crti.S: New file.
30938 * sysdeps/sparc/crtn.S: New file.
30939 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30940 * sysdeps/sparc/sparc64/Makefile: Likewise.
30941
df6a4a4a
MF
309422012-02-15 Mike Frysinger <vapier@gentoo.org>
30943
6dd8f3dc 30944 [BZ #3335]
df6a4a4a
MF
30945 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30946
1cac7236
RM
309472012-02-15 Roland McGrath <roland@hack.frob.com>
30948
d2c736f8
RM
30949 [BZ #4822]
30950 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30951
1cac7236
RM
30952 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30953 (write, read, close): Likewise.
30954 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30955
8e475601
JM
309562012-02-15 Joseph Myers <joseph@codesourcery.com>
30957
30958 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30959 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30960 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30961 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30962 <bits/signalfd.h>.
30963 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30965 bits/signalfd.h.
30966
ed656b40
MP
309672012-02-14 Marek Polacek <polacek@redhat.com>
30968
30969 * sysdeps/x86_64/crti.S: New file.
30970 * sysdeps/x86_64/crtn.S: New file.
30971 * sysdeps/x86_64/elf/initfini.c: Remove file.
30972
2a979d3a
JM
309732012-02-13 Joseph Myers <joseph@codesourcery.com>
30974
30975 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30976 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30977 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30978 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30979 <bits/inotify.h>.
30980 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30982 bits/inotify.h.
30983
2a418ac3
JM
309842012-02-13 Joseph Myers <joseph@codesourcery.com>
30985
30986 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30987 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30988 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30989 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30990 <bits/eventfd.h>.
30991 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30993 bits/eventfd.h.
30994
fb779be7
TS
309952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30996
e19e83c5
RM
30997 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30998 __feraiseexcept instead of feraiseexcept.
7c35ffed 30999
fb779be7
TS
31000 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31001 nanosleep invocations.
31002 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31003 strings, and add error checking for a nanosleep invocations.
31004
59ba27a6
PE
310052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31006
31007 Replace FSF snail mail address with URLs, as per GNU coding standards.
31008 Most of the snail mail addresses were wrong anyway, and omitting
31009 them makes the source code easier to maintain. Almost all of the
31010 changes are to license notices and to locale LC_IDENTIFICATION
31011 addresses, except for this one:
31012 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31013 not its snail mail address.
31014
57b957eb
RH
310152012-02-09 Richard Henderson <rth@twiddle.net>
31016
af850b1c
RH
31017 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31018 of kernel-features.h.
31019
57b957eb
RH
31020 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31021
6b73181a
MP
310222012-02-08 Marek Polacek <polacek@redhat.com>
31023
31024 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31025 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31026 * sysdeps/gnu/_G_config.h: Likewise.
31027 * sysdeps/generic/_G_config.h: Likewise.
31028
26ecc33a
AS
310292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31030
6c6dbc63
AS
31031 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31032 tests.
31033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31034
e216c012
AS
31035 * sysdeps/powerpc/powerpc32/crti.S: New file.
31036 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31037 * sysdeps/powerpc/powerpc64/crti.S: New file.
31038 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31039
26ecc33a
AS
31040 * Makeconfig (have-initfini): Don't set.
31041 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31042 * configure.in (nopic_initfini): Don't substitute.
31043 * config.h.in (HAVE_INITFINI): Don't #undef.
31044 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31045 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31046
3add8e13
JM
310472012-02-08 Joseph Myers <joseph@codesourcery.com>
31048
31049 Support crti.S and crtn.S provided directly by architectures.
31050 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31051 [crti.S in sysdirs] (omit-deps): Likewise.
31052 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31053 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31054 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31055 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31056 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31057 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31058 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31059 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31060 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31061 compiler output for sysdeps/generic/initfini.c.
31062 * sysdeps/i386/elf/Makefile: Remove file.
31063 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31064
a22f12b4
MP
310652012-02-07 Marek Polacek <polacek@redhat.com>
31066
31067 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31068 * sysdeps/gnu/_G_config.h: Likewise.
31069 * sysdeps/mach/hurd/_G_config.h: Likewise.
31070
148cf100
MP
310712012-02-07 Marek Polacek <polacek@redhat.com>
31072
31073 * math/Makefile (tests): Add tst-CMPLX2.
31074 * math/tst-CMPLX2.c: New file.
31075
cfdc0dd7
AS
310762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31077
84ba42c4
AS
31078 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31079
cfdc0dd7
AS
31080 * math/libm-test.inc (jn_test): Add missing L suffix.
31081
622c86f4
MP
310822012-02-06 Marek Polacek <polacek@redhat.com>
31083
31084 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31085 * sysdeps/i386/fpu/e_powf.S: Likewise.
31086 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31087 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31088 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31089 * sysdeps/i386/fpu/e_pow.S: Likewise.
31090 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31091 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31092 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31093 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31094 * sysdeps/i386/fpu/e_log2.S: Likewise.
31095 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31096 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31097 * sysdeps/i386/fpu/e_powl.S: Likewise.
31098 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31099 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31100 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31101 * sysdeps/i386/fpu/e_logl.S: Likewise.
31102 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31103 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31104 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31105 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31106 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31107 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31108 * sysdeps/i386/fpu/e_log.S: Likewise.
31109 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31110 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31111 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31112 * sysdeps/i386/fpu/e_logf.S: Likewise.
31113 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31114 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31115 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31116 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31117 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31118 * sysdeps/i386/fpu/e_log10.S: Likewise.
31119 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31120 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31121 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31122 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31123 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31124 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31125 * sysdeps/i386/asm-syntax.h: Likewise.
31126 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31127 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31128 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31129 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31130 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31131 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31132 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31133 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31134 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31135 * sysdeps/powerpc/sysdep.h: Likewise.
31136 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31137 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31138
d4a54ac6
JM
311392012-02-06 Joseph Myers <joseph@codesourcery.com>
31140
31141 [BZ #411]
31142 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31143
314054ea
JM
311442012-02-06 Joseph Myers <joseph@codesourcery.com>
31145
31146 * sysdeps/i386/sysdep.h: Include <features.h>.
31147 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31148 version.
31149
d8e0ca50
JM
311502012-02-05 Joseph Myers <joseph@codesourcery.com>
31151
31152 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31153 Define.
31154 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31155 LOAD_PIC_REG_STR.
31156
b1da7dd9
JM
311572012-02-03 Joseph Myers <joseph@codesourcery.com>
31158
31159 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31160 (SETUP_PIC_REG): Use GET_PC_THUNK.
31161 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31162 macro.
31163
9a1d9254
JM
311642012-02-03 Joseph Myers <joseph@codesourcery.com>
31165
31166 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31167 for non-PIC compilation.
31168 (SETUP_PIC_REG): Add .p2align directive.
31169 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31170 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31171 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31172 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31173 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31174 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31175 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31176 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31177 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31178 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31179 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31180 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31181 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31182 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31183 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31184 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31185 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31186 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31187 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31188 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31189 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31190 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31191 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31192 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31195 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31196 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31197 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31198 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31199 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31200 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31201 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31202 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31203 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31204 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31205 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31206 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31207 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31208 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31209 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31210
65dc3b75
JM
312112012-02-03 Joseph Myers <joseph@codesourcery.com>
31212
31213 * math/tst-CMPLX.c: Include <stdio.h>.
31214
d55bf177
JM
312152012-01-31 Joseph Myers <joseph@codesourcery.com>
31216
31217 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31218 float.
31219 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31220 * sysdeps/sparc/bits/mathdef.h: Likewise.
31221
69db4f8f
MP
312222012-01-31 Marek Polacek <polacek@redhat.com>
31223
31224 * libio/libio.h: Don't define _PARAMS.
31225 * locale/programs/config.h: Don't define PARAMS.
31226 * stdlib/strtol_l.c: Likewise.
31227 (__strtol_l): Remove PARAMS from the prototype.
31228
41b81892
UD
312292012-01-31 Ulrich Drepper <drepper@gmail.com>
31230
3b49edc0
UD
31231 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31232 names. Just use the correct names. Remove unnecessary wrapper
31233 functions.
31234 * malloc/arena.c: Likewise.
31235 * malloc/hooks.c: Likewise.
31236
41b81892
UD
31237 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31238 ARENA_TEST says not to. Simplify test for creation of a new arena.
31239 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31240
27a25b6e
UD
312412012-01-30 Ulrich Drepper <drepper@gmail.com>
31242
31243 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31244 into tail calls.
31245 (update_get_addr): New function.
31246 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31247 GET_ADDR_MODULE parameter.
31248
c8a89e7d
JM
312492012-01-30 Joseph Myers <joseph@codesourcery.com>
31250
31251 * crypt/cert.c: Remove __STDC__ conditionals.
31252 * crypt/crypt-entry.c: Likewise.
31253 * crypt/crypt_util.c: Likewise.
31254 * libio/filedoalloc.c: Likewise.
31255 * libio/fileops.c: Likewise.
31256 * libio/genops.c: Likewise.
31257 * libio/iofclose.c: Likewise.
31258 * libio/iofdopen.c: Likewise.
31259 * libio/iofopen.c: Likewise.
31260 * libio/iofopen64.c: Likewise.
31261 * libio/iogetdelim.c: Likewise.
31262 * libio/iopopen.c: Likewise.
31263 * libio/obprintf.c: Likewise.
31264 * libio/oldfileops.c: Likewise.
31265 * libio/oldiofclose.c: Likewise.
31266 * libio/oldiofdopen.c: Likewise.
31267 * libio/oldiofopen.c: Likewise.
31268 * libio/oldiopopen.c: Likewise.
31269 * libio/wfiledoalloc.c: Likewise.
31270 * libio/wgenops.c: Likewise.
31271 * locale/programs/xmalloc.c: Likewise.
31272 * misc/syslog.c: Likewise.
31273 * stdio-common/xbug.c: Likewise.
31274 * string/memchr.c: Likewise.
31275 * string/memcmp.c: Likewise.
31276 * string/memrchr.c: Likewise.
31277 * string/rawmemchr.c: Likewise.
31278 * sysdeps/posix/getcwd.c: Likewise.
31279 * time/strftime_l.c: Likewise.
31280
3b100462
JM
312812012-01-30 Joseph Myers <joseph@codesourcery.com>
31282
31283 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31284 * config.make.in (config-cflags-sse2avx): Define.
31285 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31286 Fix typo.
31287
607998af
CM
312882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31289
31290 * scripts/config.guess: Update from upstream config git repository.
31291 * scripts/config.sub: Likewise.
31292
3601428f
CM
312932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31294
3ac8b282
CM
31295 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31296 (EM_NUM): Update.
31297 (R_TILEPRO_*, R_TILEGX_*): New macros.
31298
e034841e
CM
31299 * scripts/firstversions.awk: Fix bug in version range handling.
31300
540d7568
CM
31301 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31302
3601428f
CM
31303 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31304
463de862
CM
31305 * include/sys/epoll.h: New file.
31306 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31307 libc_hidden_def.
31308
73139a76
UD
313092012-01-28 Ulrich Drepper <drepper@gmail.com>
31310
96bc5b45
UD
31311 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31312 Avoid unnecessary __WORDSIZE == 64 test.
31313 (fmaxf): Use VEX format if possible.
31314 (fmax): Likewise.
31315 (fminf): Likewise.
31316 (fmin): Likewise.
31317
56f6f6a2
UD
31318 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31319 * math/math_private.h: Remove libc_fegetround* and
31320 libc_fesetround*.
31321 * sysdeps/i386/configure.in: Check for -msse2avx.
31322 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31323 also if SSE2AVX is defined.
31324 Remove libc_fegetround* and libc_fesetround*.
31325 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31326 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31327 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31328 of HAS_YMM_USABLE.
31329 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31330 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31331 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31332 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31334
73139a76
UD
31335 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31336
d73f93a4
AZ
313372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31338
31339 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31340 size is not set.
31341 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31342
6ee65ed6
UD
313432012-01-27 Ulrich Drepper <drepper@gmail.com>
31344
31345 [BZ #13618]
31346 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31347 relocation.
31348 * Makeconfig (libm): Define.
31349 * elf/Makefile: Add rules to build and run tst-relsort1.
31350 * elf/tst-relsort1.c: New file.
31351 * elf/tst-relsort1mod1.c: New file.
31352 * elf/tst-relsort1mod2.c: New file.
31353
8db21882
JM
313542012-01-27 Joseph Myers <joseph@codesourcery.com>
31355
31356 * math/s_ldexp.c: Remove __STDC__ conditionals.
31357 * math/s_ldexpf.c: Likewise.
31358 * math/s_ldexpl.c: Likewise.
31359 * math/s_nextafter.c: Likewise.
31360 * math/s_nexttowardf.c: Likewise.
31361 * math/s_significand.c: Likewise.
31362 * math/s_significandf.c: Likewise.
31363 * math/s_significandl.c: Likewise.
31364 * math/w_jnl.c: Likewise.
31365 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31366 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31367 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31368 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31369 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31370 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31371 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31372 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31373 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31374 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31375 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31377 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31379 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31380 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31381 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31382 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31383 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31384 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31385 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31386 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31387 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31388 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31389 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31390 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31391 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31392 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31393 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31394 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31395 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31396 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31397 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31398 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31399 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31400 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31401 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31402 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31403 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31404 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31405 * sysdeps/ieee754/k_standard.c: Likewise.
31406 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31407 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31408 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31409 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31410 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31411 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31412 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31413 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31414 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31415 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31416 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31417 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31418 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31419 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31420 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31421 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31422 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31423 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31424 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31425 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31426 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31427 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31428 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31429 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31430 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31431 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31432 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31433 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31434 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31435 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31436 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31437 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31438 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31439 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31440 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31441 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31442 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31443 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31444 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31445 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31446 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31448 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31449 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31450 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31451 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31452 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31453 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31454 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31455 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31456 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31457 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31458 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31459 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31460 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31461 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31462 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31463 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31464 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31465 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31466 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31467 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31468 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31469 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31470 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31471 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31472 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31473 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31474 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31475 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31476 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31477 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31478 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31479 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31480 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31481 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31482 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31483 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31484 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31485 * sysdeps/ieee754/s_matherr.c: Likewise.
31486 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31487 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31490
965a54a4
JM
314912012-01-26 Joseph Myers <joseph@codesourcery.com>
31492
31493 * crypt/md5.h: Remove __STDC__ conditionals.
31494 * libio/libioP.h: Likewise.
31495 * locale/programs/config.h: Likewise.
31496 * sysdeps/generic/sysdep.h: Likewise.
31497 * sysdeps/i386/asm-syntax.h: Likewise.
31498 * sysdeps/s390/asm-syntax.h: Likewise.
31499 * sysdeps/unix/sysdep.h: Likewise.
31500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31502
7071ad79
JM
315032012-01-26 Joseph Myers <joseph@codesourcery.com>
31504
31505 * libio/libio.h: Remove __STDC__ conditionals.
31506 * malloc/obstack.h: Likewise.
31507 * math/complex.h: Likewise.
31508 * math/math.h: Likewise.
31509 * sysdeps/generic/_G_config.h: Likewise.
31510 * sysdeps/gnu/_G_config.h: Likewise.
31511 * sysdeps/mach/hurd/_G_config.h: Likewise.
31512 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31513 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31514 * sysdeps/sparc/bits/mathdef.h: Likewise.
31515
afc5ed09
UD
315162012-01-26 Ulrich Drepper <drepper@gmail.com>
31517
31518 [BZ #13583]
31519 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31520 Clean up HAS_* macros.
afc5ed09 31521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31522 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31523 possible.
31524 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31525 HAS_AVX.
31526 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31527 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31528 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31529 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31530 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31531
bdb6de1d
JM
315322012-01-25 Joseph Myers <joseph@codesourcery.com>
31533
31534 * elf/tst-unique3.cc (gets): Remove declaration.
31535 * elf/tst-unique3lib.cc (gets): Likewise.
31536 * elf/tst-unique3lib2.cc (gets): Likewise.
31537 * elf/tst-unique4.cc (gets): Likewise.
31538
b15549e6
UD
315392012-01-24 Ulrich Drepper <drepper@gmail.com>
31540
31541 * include/stdio.h: Add C++ protection. Add gets declarations and
31542 definitions.
31543 * debug/tst-chk1.c: Don't declare gets here.
31544 * stdio-common/tst-gets.c: Likewise.
31545
a037381f
JM
315462012-01-24 Joseph Myers <joseph@codesourcery.com>
31547
31548 * posix/glob: Remove directory.
31549
f1d4aa75
JM
315502012-01-24 Joseph Myers <joseph@codesourcery.com>
31551
31552 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31553
81c0c964
PT
315542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31555
31556 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31557 of the non-standard EPFNOSUPPORT.
31558
0ea698ae
ST
315592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31560
31561 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31562 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31563 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31564
d220b117
UD
315652012-01-21 Ulrich Drepper <drepper@gmail.com>
31566
31567 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31568
3e1aa84e
UD
315692012-01-20 Ulrich Drepper <drepper@gmail.com>
31570
31571 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31572 transient errors.
31573 * nscd/grpcache.c (cache_addgr): Likewise.
31574 * nscd/hstcache.c (cache_addhst): Likewise.
31575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31576 * nscd/pwdcache.c (cache_addpw): Likewise.
31577 * nscd/servicescache.c (cache_addserv): Likewise.
31578
400aa020
UD
315792012-01-16 Ulrich Drepper <drepper@gmail.com>
31580
d77e7869
UD
31581 * malloc/malloc.c: Various cleanups.
31582 * malloc/hooks.c: Likewise.
31583
400aa020
UD
31584 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31585 * stdlib/bug-fmtmsg1.c: New file.
31586
31587 * stdlib/fmtmsg.c (init): Add missing unlock.
31588 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31589
e0a309cf
MP
315902012-01-12 Marek Polacek <polacek@redhat.com>
31591
31592 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31593 and _GNU_SOURCE.
31594
929d11c7
WS
315952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31596
31597 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31598 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31599 macro to ensure uniqueness of label name.
31600 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31601 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31602
41d0e869
UD
316032012-01-11 Ulrich Drepper <drepper@gmail.com>
31604
0cc5ed3b
UD
31605 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31606
41d0e869
UD
31607 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31608 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31609 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31610 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31611
a47a831a
UD
316122012-01-10 Ulrich Drepper <drepper@gmail.com>
31613
daa891c0
UD
31614 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31615
31616 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31617 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31618 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31619
e58ef0f2
UD
31620 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31621
a47a831a 31622 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31623 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31624 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31625 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31626
31627 * math/bits/math-finite.h: Add ldexp support.
31628
a0bfc9c7
MP
316292012-01-10 Marek Polacek <polacek@redhat.com>
31630
31631 * locale/programs/localedef.h (show_archive_content): Add noreturn
31632 attribute.
31633
d6e97a1d
UD
316342012-01-09 Ulrich Drepper <drepper@gmail.com>
31635
31636 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31637
d5835c26
UD
316382012-01-08 Ulrich Drepper <drepper@gmail.com>
31639
e5f484c6
UD
31640 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31641
d5835c26
UD
31642 * io/Makefile (headers): Add bits/poll2.h.
31643
d1f741e9
WS
316442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31645
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31647 typo #include statement.
31648
ec09c1c4
UD
316492012-01-08 Ulrich Drepper <drepper@gmail.com>
31650
31651 * include/sys/cdefs.h: Define __attribute_alloc_size.
31652 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31653 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31654 * elf/pldd.c: Likewise.
31655 * iconv/iconv_charmap.c: Likewise.
31656 * iconv/iconvconfig.c: Likewise.
31657 * iconv/strtab.c: Likewise.
31658 * locale/programs/locale.c: Likewise.
31659 * locale/programs/localedef.h: Likewise.
31660 * locale/programs/simple-hash.c: Likewise.
31661 * nscd/nscd.h: Likewise.
31662 * nss/makedb.c: Likewise.
31663 * sysdeps/generic/ldconfig.h: Likewise.
31664 * locale/programs/localedef.c: Remove xmalloc prototype.
31665 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31666
20b38e03
PP
316672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31668
31669 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31670 appropriate.
31671
a0da5fe1
UD
316722012-01-08 Ulrich Drepper <drepper@gmail.com>
31673
1d5a644a 31674 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31675 * math/tst-CMPLX.c: New file.
1d5a644a 31676
8784a6db
UD
31677 * math/complex.h (CMPLXL): Fix typo.
31678
d9a216c0
UD
31679 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31680 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31681 GLIBC_2.16.
31682 * debug/tst-chk1.c: Add poll and ppoll tests.
31683 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31684 * include/sys/poll.h: Add hidden proto for ppoll.
31685 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31686 * sysdeps/mach/hurd/ppoll.c: Likewise.
31687 * io/ppoll.c: Likewise.
31688 * debug/poll_chk.c: New file.
31689 * debug/ppoll_chk.c: New file.
31690 * include/bits/poll2.h: New file.
31691 * io/bits/poll2.h: New file.
31692
ac097f5c
UD
31693 [BZ #1350]
31694 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31695
2119dcfa
UD
31696 * configure.in: static is always set to yes. Remove.
31697 * config.make.in: Don't set build-static.
31698 * Makeconfig: Remove use of build-static.
31699 * dlfcn/Makefile: Likewise.
31700 * elf/Makefile: Likewise.
31701 * math/Makefile: Likewise.
31702 * misc/Makefile: Likewise.
31703 * nptl/Makefile: Likewise.
31704 * sysdeps/mach/hurd/Makefile: Likewise.
31705
121766a9
UD
31706 * configure.in: PWD_P is not used anymore.
31707 * config.make.in: Remove PWD_P entry.
31708
51a1d39c 31709 * configure.in: Remove last remnants of RANLIB.
8720d066 31710 No need to check for signed size_t anymore.
215f4bdc
UD
31711 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31712 and IA-64.
3857022a 31713 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31714 * aclocal.m4: Likewise.
31715
d3ed7225
UD
31716 * wcsmbs/mbrtoc16.c: Implement using towc function.
31717 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31718 * wcsmbs/wcsmbsload.c: Likewise.
31719 * iconv/gconv_simple.c: Likewise.
31720 * iconv/gconv_int.h: Likewise.
31721 * iconv/gconv_builtin.h: Likewise.
31722 * iconv/iconv_prog.c: Remove CHAR16 handling.
31723
31724 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31725
31726 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31727
a0da5fe1
UD
31728 * configure.in: Remove --with-elf and --enable-bounded options.
31729 Dont set base_machine for ia64. More non-ELF conditions removed.
31730 Remove testing and setting of leading underscore information.
31731 * config.make.in (build-bounded): Set to no.
31732 * config.h.in: Remove NO_UNDERSCORES entry.
31733 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31734 them.
31735 * csu/start.c: Remove !NO_UNDERSCORE code.
31736 * locale/localeinfo.h: Likewise.
31737 * sysdeps/generic/machine-gmon.h: Likewise.
31738 * sysdeps/generic/sysdep.h: Likewise.
31739 * sysdeps/i386/sysdep.h: Likewise.
31740 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31741 * sysdeps/mach/sysdep.h: Likewise.
31742 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31743 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31744 * sysdeps/sh/sysdep.h: Likewise.
31745 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31746 * sysdeps/unix/i386/sysdep.S: Likewise.
31747 * sysdeps/unix/sparc/start.c: Likewise.
31748 * sysdeps/unix/sparc/sysdep.S: Likewise.
31749 * sysdeps/unix/sparc/sysdep.h: Likewise.
31750 * sysdeps/unix/start.c: Likewise.
31751 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31752 * sysdeps/x86_64/sysdep.h: Likewise.
31753
df78418a
UD
317542012-01-07 Ulrich Drepper <drepper@gmail.com>
31755
a784e502
UD
31756 [BZ #13553]
31757 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31758 for non-gcc.
31759 * argp/argp-fmtstream.h: Use const instead __const.
31760 * argp/argp.h: Likewise.
31761 * assert/assert.h: Likewise.
31762 * bits/fenv.h: Likewise.
31763 * bits/sched.h: Likewise.
31764 * bits/sigset.h: Likewise.
31765 * bits/sigthread.h: Likewise.
31766 * catgets/nl_types.h: Likewise.
31767 * conform/data/pthread.h-data: Likewise.
31768 * crypt/crypt-private.h: Likewise.
31769 * crypt/crypt.h: Likewise.
31770 * crypt/crypt_util.c: Likewise.
31771 * ctype/ctype.h: Likewise.
31772 * debug/execinfo.h: Likewise.
31773 * debug/mbsnrtowcs_chk.c: Likewise.
31774 * debug/mbsrtowcs_chk.c: Likewise.
31775 * debug/wcsnrtombs_chk.c: Likewise.
31776 * debug/wcsrtombs_chk.c: Likewise.
31777 * debug/wcstombs_chk.c: Likewise.
31778 * dirent/dirent.h: Likewise.
31779 * dlfcn/dlfcn.h: Likewise.
31780 * elf/neededtest4.c: Likewise.
31781 * grp/grp.h: Likewise.
31782 * gshadow/gshadow.h: Likewise.
31783 * iconv/gconv.h: Likewise.
31784 * iconv/gconv_int.h: Likewise.
31785 * iconv/gconv_simple.c: Likewise.
31786 * iconv/iconv.h: Likewise.
31787 * iconv/loop.c: Likewise.
31788 * iconv/skeleton.c: Likewise.
31789 * include/aio.h: Likewise.
31790 * include/aliases.h: Likewise.
31791 * include/argz.h: Likewise.
31792 * include/arpa/inet.h: Likewise.
31793 * include/assert.h: Likewise.
31794 * include/dirent.h: Likewise.
31795 * include/dlfcn.h: Likewise.
31796 * include/execinfo.h: Likewise.
31797 * include/fcntl.h: Likewise.
31798 * include/fenv.h: Likewise.
31799 * include/glob.h: Likewise.
31800 * include/grp.h: Likewise.
31801 * include/libintl.h: Likewise.
31802 * include/mntent.h: Likewise.
31803 * include/netdb.h: Likewise.
31804 * include/pwd.h: Likewise.
31805 * include/rpc/netdb.h: Likewise.
31806 * include/sched.h: Likewise.
31807 * include/search.h: Likewise.
31808 * include/shadow.h: Likewise.
31809 * include/signal.h: Likewise.
31810 * include/stdio.h: Likewise.
31811 * include/stdlib.h: Likewise.
31812 * include/string.h: Likewise.
31813 * include/sys/socket.h: Likewise.
31814 * include/sys/stat.h: Likewise.
31815 * include/sys/statfs.h: Likewise.
31816 * include/sys/statvfs.h: Likewise.
31817 * include/sys/syslog.h: Likewise.
31818 * include/sys/time.h: Likewise.
31819 * include/sys/uio.h: Likewise.
31820 * include/time.h: Likewise.
31821 * include/unistd.h: Likewise.
31822 * include/utmp.h: Likewise.
31823 * include/wchar.h: Likewise.
31824 * include/wctype.h: Likewise.
31825 * inet/aliases.h: Likewise.
31826 * inet/arpa/inet.h: Likewise.
31827 * inet/netinet/ether.h: Likewise.
31828 * inet/netinet/in.h: Likewise.
31829 * intl/libintl.h: Likewise.
31830 * io/bits/fcntl2.h: Likewise.
31831 * io/fcntl.h: Likewise.
31832 * io/ftw.h: Likewise.
31833 * io/sys/poll.h: Likewise.
31834 * io/sys/stat.h: Likewise.
31835 * io/sys/statfs.h: Likewise.
31836 * io/sys/statvfs.h: Likewise.
31837 * io/utime.h: Likewise.
31838 * libio/bits/stdio.h: Likewise.
31839 * libio/bits/stdio2.h: Likewise.
31840 * libio/libio.h: Likewise.
31841 * libio/libioP.h: Likewise.
31842 * libio/stdio.h: Likewise.
31843 * locale/lc-ctype.c: Likewise.
31844 * locale/locale.h: Likewise.
31845 * login/utmp.h: Likewise.
31846 * malloc/arena.c: Likewise.
31847 * malloc/malloc.c: Likewise.
31848 * malloc/malloc.h: Likewise.
31849 * malloc/mcheck.c: Likewise.
31850 * malloc/mtrace.c: Likewise.
31851 * math/bits/mathcalls.h: Likewise.
31852 * math/fenv.h: Likewise.
31853 * math/math_private.h: Likewise.
31854 * misc/bits/error.h: Likewise.
31855 * misc/bits/syslog.h: Likewise.
31856 * misc/err.h: Likewise.
31857 * misc/error.h: Likewise.
31858 * misc/fstab.h: Likewise.
31859 * misc/mntent.h: Likewise.
31860 * misc/regexp.h: Likewise.
31861 * misc/search.h: Likewise.
31862 * misc/sgtty.h: Likewise.
31863 * misc/sys/mman.h: Likewise.
31864 * misc/sys/syslog.h: Likewise.
31865 * misc/sys/uio.h: Likewise.
31866 * misc/sys/xattr.h: Likewise.
31867 * misc/ttyent.h: Likewise.
31868 * nis/rpcsvc/ypclnt.h: Likewise.
31869 * nss/nss.h: Likewise.
31870 * posix/bits/unistd.h: Likewise.
31871 * posix/fnmatch.h: Likewise.
31872 * posix/glob.h: Likewise.
31873 * posix/sched.h: Likewise.
31874 * posix/spawn.h: Likewise.
31875 * posix/sys/wait.h: Likewise.
31876 * posix/unistd.h: Likewise.
31877 * posix/wordexp.h: Likewise.
31878 * pwd/pwd.h: Likewise.
31879 * resolv/netdb.h: Likewise.
31880 * resource/sys/resource.h: Likewise.
31881 * rt/aio.h: Likewise.
31882 * rt/bits/mqueue2.h: Likewise.
31883 * rt/mqueue.h: Likewise.
31884 * shadow/shadow.h: Likewise.
31885 * signal/signal.h: Likewise.
31886 * socket/send.c: Likewise.
31887 * socket/sendto.c: Likewise.
31888 * socket/sys/socket.h: Likewise.
31889 * stdio-common/printf.h: Likewise.
31890 * stdlib/bits/stdlib.h: Likewise.
31891 * stdlib/fmtmsg.h: Likewise.
31892 * stdlib/monetary.h: Likewise.
31893 * stdlib/stdlib.h: Likewise.
31894 * stdlib/ucontext.h: Likewise.
31895 * streams/stropts.h: Likewise.
31896 * string/argz.h: Likewise.
31897 * string/bits/string2.h: Likewise.
31898 * string/string.h: Likewise.
31899 * string/strings.h: Likewise.
31900 * sunrpc/rpc/auth.h: Likewise.
31901 * sunrpc/rpc/auth_des.h: Likewise.
31902 * sunrpc/rpc/clnt.h: Likewise.
31903 * sunrpc/rpc/netdb.h: Likewise.
31904 * sunrpc/rpc/pmap_clnt.h: Likewise.
31905 * sunrpc/rpc/xdr.h: Likewise.
31906 * sysdeps/generic/inttypes.h: Likewise.
31907 * sysdeps/generic/net/if.h: Likewise.
31908 * sysdeps/generic/sys/swap.h: Likewise.
31909 * sysdeps/gnu/net/if.h: Likewise.
31910 * sysdeps/gnu/utmpx.h: Likewise.
31911 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31912 * sysdeps/i386/i486/bits/string.h: Likewise.
31913 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31914 * sysdeps/s390/bits/string.h: Likewise.
31915 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31916 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31917 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31918 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31919 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31920 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31921 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31922 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31923 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31924 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31925 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31926 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31927 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31928 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31929 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31930 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31931 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31933 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31934 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31935 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31936 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31937 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31938 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31939 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31940 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31941 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31942 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31943 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31944 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31945 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31946 * sysvipc/sys/ipc.h: Likewise.
31947 * sysvipc/sys/msg.h: Likewise.
31948 * sysvipc/sys/sem.h: Likewise.
31949 * sysvipc/sys/shm.h: Likewise.
31950 * termios/termios.h: Likewise.
31951 * time/sys/time.h: Likewise.
31952 * time/time.h: Likewise.
31953 * wcsmbs/bits/wchar2.h: Likewise.
31954 * wcsmbs/uchar.h: Likewise.
31955 * wcsmbs/wchar.h: Likewise.
31956 * wctype/wctype.h: Likewise.
31957
0269750c
UD
31958 [BZ #13551]
31959 * Makeconfig: Remove all but ELF support including AIX support.
31960 * Makerules: Likewise.
31961 * config.h.in: Likewise.
31962 * config.make.in: Likewise.
31963 * configure: Likewise.
31964 * configure.in: Likewise.
31965 * csu/Makefile: Likewise.
31966 * csu/version.c: Likewise.
31967 * debug/Makefile: Likewise.
31968 * dlfcn/Makefile: Likewise.
31969 * elf/Makefile: Likewise.
31970 * extra-lib.mk: Likewise.
31971 * iconv/Makefile: Likewise.
31972 * include/libc-symbols.h: Likewise.
31973 * include/shlib-compat.h: Likewise.
31974 * resolv/Makefile: Likewise.
31975 * resolv/res_libc.c: Likewise.
31976 * rt/Makefile: Likewise.
31977 * sysdeps/i386/asm-syntax.h: Likewise.
31978 * sysdeps/i386/sysdep.h: Likewise.
31979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31980 * sysdeps/mach/sysdep.h: Likewise.
31981 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31982 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31983 * sysdeps/s390/asm-syntax.h: Likewise.
31984 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31985 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31986 * sysdeps/sh/sysdep.h: Likewise.
31987 * sysdeps/unix/sparc/sysdep.h: Likewise.
31988 * sysdeps/wordsize-32/divdi3.c: Likewise.
31989 * sysdeps/x86_64/sysdep.h: Likewise.
31990
00bbd29b
UD
31991 * argp/Versions: Remove _argp_unlock_xxx.
31992
31993 [BZ #13559]
31994 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31995 * abilist/libBrokenLocale.abilist: Likewise.
31996 * abilist/libanl.abilist: Likewise.
31997 * abilist/libc.abilist: Likewise.
31998 * abilist/libcrypt.abilist: Likewise.
31999 * abilist/libdl.abilist: Likewise.
32000 * abilist/libm.abilist: Likewise.
32001 * abilist/libnsl.abilist: Likewise.
32002 * abilist/libpthread.abilist: Likewise.
32003 * abilist/libresolv.abilist: Likewise.
32004 * abilist/librt.abilist: Likewise.
32005 * abilist/libthread_db.abilist: Likewise.
32006 * abilist/libutil.abilist: Likewise.
32007 * abilist/libnss_db.abilist: New file.
32008
32009 * scripts/abilist.awk: Add support for indirect functions.
32010
a2693a0e
UD
32011 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32012
3f05895f
UD
32013 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32014
ecb6fb48
UD
32015 * shlib-versions: Remove entries for ports architectures.
32016
664f8cb9
UD
32017 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32018 files in ports.
32019 * elf/stackguard-macros.h: Remove support for IA-64.
32020 * elf/tst-auditmod1.c: Likewise.
32021 * sysdeps/generic/ldsodefs.h: Likewise.
32022
7ae81d88
UD
32023 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32024 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32025 configure files.
32026
bdeba135
UD
32027 [BZ #13552]
32028 * configure.in: Remove --enable-omitfp support.
32029 * FAQ.in: Adjust.
32030 * config.make.in: Likewise.
32031 * Makeconfig: Likewise.
32032 * manual/install.texi: Likewise.
32033
d75a0a62
UD
32034 In case anyone cares, the IA-64 architecture could move to ports.
32035 * sysdeps/ia64/*: Removed.
32036 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 32037 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 32038
dcc9756b
UD
32039 [BZ #13555]
32040 * configure.in: Remove entries for unsupported architectures.
32041
d3761ebc 32042 [BZ #13533]
9954432e
UD
32043 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32044 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32045 routines.
32046 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32047 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32048 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32049 fall back to using wcrtomb.
32050 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32051 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32052 renaming.
32053 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32054 * wcsmbs/tst-c16c32-1.c: New file.
32055
32056 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32057 local variable.
32058
c3a87236
UD
32059 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32060
28926a1b
UD
32061 * elf/tst-unique3.cc: Add explicit declaration of gets.
32062 * elf/tst-unique3lib.cc: Likewise.
32063 * elf/tst-unique3lib2.cc: Likewise.
32064 * elf/tst-unique4.cc: Likewise.
32065
df78418a
UD
32066 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32067
8ecd6b2a
JM
320682012-01-06 Joseph Myers <joseph@codesourcery.com>
32069
32070 [BZ #13566]
32071 * assert/assert.h (static_assert): Don't define for C++.
32072 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32073 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32074
9f115170
UD
320752012-01-03 Ulrich Drepper <drepper@gmail.com>
32076
5e0d0300
UD
32077 * iconv/loop.c (single loop): Fix assertion in storing of
32078 remaining bytes.
32079
9f115170
UD
32080 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32081
81fb02b0
UD
320822012-01-01 Ulrich Drepper <drepper@gmail.com>
32083
32084 * posix/getconf.c: Update copyright year.
32085 * nss/getent.c: Likewise.
a316c1f6 32086 * nss/makedb.c: Likewise.
81fb02b0
UD
32087 * iconv/iconvconfig.c: Likewise.
32088 * iconv/iconv_prog.c: Likewise.
32089 * elf/ldconfig.c: Likewise.
a316c1f6
UD
32090 * elf/pldd.c: Likewise.
32091 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
32092 * catgets/gencat.c: Likewise.
32093 * csu/version.c: Likewise.
32094 * elf/ldd.bash.in: Likewise.
32095 * elf/sprof.c (print_version): Likewise.
32096 * locale/programs/locale.c: Likewise.
32097 * locale/programs/localedef.c: Likewise.
a316c1f6 32098 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
32099 * nscd/nscd.c (print_version): Likewise.
32100 * debug/xtrace.sh: Likewise.
32101 * malloc/memusage.sh: Likewise.
32102 * malloc/mtrace.pl: Likewise.
32103 * debug/catchsegv.sh: Likewise.
32104
2ba92745
JJ
321052011-12-30 Jakub Jelinek <jakub@redhat.com>
32106
32107 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32108 pure attribute.
32109
dadebdae
UD
321102011-12-24 Ulrich Drepper <drepper@gmail.com>
32111
d3761ebc 32112 [BZ #13533]
db6af3eb
UD
32113 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32114 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32115 transformations.
32116 * iconv/gconv_int.h: Likewise.
32117 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32118 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32119 from libc for GLIBC_2.16.
32120 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32121 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32122 * wcsmbs/uchar.h: Really define mbstate_t.
32123 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32124 * wcsmbs/c16rtomb.c: New file.
32125 * wcsmbs/mbrtoc16.c: New file.
32126 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32127 for C/POSIX locale.
32128 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32129 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32130
dadebdae
UD
32131 * wcsmbs/wchar.h: Add missing __restrict.
32132
67371b56
UD
321332011-12-23 Ulrich Drepper <drepper@gmail.com>
32134
74033a25
UD
32135 [BZ #13532]
32136 * time/Makefile (routines): Add timespec_get.
32137 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32138 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32139 timespec for ISO C11.
32140 * time/timespec_get.c: New file.
32141 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32142 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32143
380d7e87
UD
32144 [BZ #13531]
32145 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32146 * stdlib/stdlib.h: Declare aligned_alloc.
32147 * Versions.def: Add GLIBC_2.16 for libc.
32148 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32149
4e9e7a35
UD
32150 [BZ 13527]
32151 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32152 ISO C11.
32153
380d7e87 32154 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
32155 code.
32156
03a71829
UD
32157 [BZ #13528]
32158 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32159
839e283e
UD
32160 [BZ #13529]
32161 * assert/assert.h (static_assert): Define.
32162
ce5294e2 32163 * version.h: Update for 2.16 development version.
90fa7312 32164
8d44e150 32165 [BZ #13526]
d7809905
UD
32166 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32167 _ISOC11_SOURCE.
32168
c0da14cd
UD
32169 * version.h (RELEASE): Bump for 2.15 release.
32170 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32171
530a3249
MP
32172 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32173 Patch by Marek Polacek <mpolacek@redhat.com>.
32174
67371b56
UD
32175 * bits/byteswap.h: Protect long long constants with __extension__.
32176 * sysdeps/i386/bits/byteswap.h: Likewise.
32177 * sysdeps/ia64/bits/byteswap.h: Likewise.
32178 * sysdeps/s390/bits/byteswap.h: Likewise.
32179 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32180
15db4de1
LD
321812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32182
32183 [BZ #13540]
bbe315ea
LD
32184 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32185 destination buffer.
15db4de1
LD
32186 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32187
2b2596b1
MP
321882011-12-23 Marek Polacek <polacek@redhat.com>
32189
32190 * elf/dl-addr.c (determine_info): Add inline keyword.
32191 * elf/tst-auditmod4b.c (check_avx): Likewise.
32192 * elf/tst-auditmod6b.c (check_avx): Likewise.
32193 * elf/tst-auditmod6c.c (check_avx): Likewise.
32194 * elf/tst-auditmod7b.c (check_avx): Likewise.
32195
70c6c246
UD
321962011-12-23 Ulrich Drepper <drepper@gmail.com>
32197
32198 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32199 !__SSE_MATH__.
32200
c044cf14
LD
322012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32202
15db4de1 32203 [BZ #13540]
c044cf14
LD
32204 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32205 processing for last bytes.
32206
6b13d9d9
BH
322072011-08-06 Bruno Haible <bruno@clisp.org>
32208
d455f537
BH
32209 [BZ #13061]
32210 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32211 U+0385, not to U+1FEE.
32212
6b13d9d9
BH
32213 [BZ #13062]
32214 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32215 entry for U+00A5 U+0301.
32216
db910efd
UD
322172011-12-22 Ulrich Drepper <drepper@gmail.com>
32218
27deeafc
UD
32219 [BZ #13166]
32220 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32221 buffer for the output is too small.
32222
aed9d171
UD
32223 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32224 optimization.
32225
db910efd
UD
32226 [BZ #13185]
32227 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32228 SSE flags if possible.
32229
2bd779ae
LD
322302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32231
e7f9dac3 32232 [BZ #13540]
2bd779ae
LD
32233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32234 processing for last bytes.
32235
154bfc16
JM
322362011-12-22 Joseph Myers <joseph@codesourcery.com>
32237
32238 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32239 (syscall-list-default-options, syscall-list-default-condition)
32240 (syscall-list-includes): Define.
32241 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32242 list of ABIs and options and #if conditions for each ABI. Do not
32243 handle common syscalls between ABIs specially.
32244 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32245 Remove.
32246 (syscall-list-variants, syscall-list-32bit-options)
32247 (syscall-list-32bit-condition, syscall-list-64bit-options)
32248 (syscall-list-64bit-condition): Define.
32249 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32250 (syscall-list-variants, syscall-list-32bit-options)
32251 (syscall-list-32bit-condition, syscall-list-64bit-options)
32252 (syscall-list-64bit-condition): Define.
32253 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32254 Remove.
32255 (syscall-list-variants, syscall-list-32bit-options)
32256 (syscall-list-32bit-condition, syscall-list-64bit-options)
32257 (syscall-list-64bit-condition): Define.
32258 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32259 Remove.
32260 (syscall-list-variants, syscall-list-32bit-options)
32261 (syscall-list-32bit-condition, syscall-list-64bit-options)
32262 (syscall-list-64bit-condition): Define.
32263
21eaf3a5
UD
322642011-12-22 Ulrich Drepper <drepper@gmail.com>
32265
16c6f992
UD
32266 * locale/iso-639.def: Add brx entry.
32267
41043168
UD
32268 [BZ #13328]
32269 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32270 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32271
21eaf3a5
UD
32272 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32273 __feraiseexcept_renamed.
32274
e3a851a2
UD
322752011-12-21 Ulrich Drepper <drepper@gmail.com>
32276
4920765e
UD
32277 [BZ #13538]
32278 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32279 EPOLLET with unsigned values.
32280 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32281 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32282
e3a851a2
UD
32283 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32284 to large cancellation.
32285 * math/s_cacoshf.c: Likewise.
32286 * math/s_cacoshl.c: Likewise.
32287
b27e24b8
RK
322882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32289
32290 [BZ #13305]
aebefeee 32291 [BZ #12786]
b27e24b8
RK
32292 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32293 * math/s_cacoshf.c: Likewise.
32294 * math/s_cacoshl.c: Likewise.
32295
ee190f67
UD
322962011-12-21 Ulrich Drepper <drepper@gmail.com>
32297
32298 [BZ #13439]
32299 * iconv/gconv.h: Define __GCONV_SWAP.
32300 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32301 * iconvdata/utf-16.c: Likewise.
32302 * iconvdata/utf-32.c: Likewise.
32303
707f25df
AS
323042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32305
32306 [BZ #13524]
32307 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32308 numerator after shifting it by one limb.
32309
d2daaa1e
RÁE
323102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32311
32312 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32313 under [__USE_EXTERN_INLINES].
32314
a4647e72
UD
323152011-12-17 Ulrich Drepper <drepper@gmail.com>
32316
32317 [BZ #13446]
32318 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32319
f0b264f1
AZ
323202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32321
32322 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32323 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32324 optimized code.
32325 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32326 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32327 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32328 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32329 for strncasecmp/strncasecmp_l compilation.
32330 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32331 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32332
8ef4f244
MP
323332011-12-08 Marek Polacek <mpolacek@redhat.com>
32334
32335 [BZ #13484]
32336 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32337 of __asm__.
32338
97ac2654
UD
323392011-12-17 Ulrich Drepper <drepper@gmail.com>
32340
32341 [BZ #13506]
32342 * time/tzfile.c (__tzfile_read): Check values from file header.
32343
91d2a845
WS
323442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32345
32346 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32347 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32348 * powerpc/powerpc32/dl-start.S: Likewise.
32349 * powerpc/powerpc32/elf/start.S: Likewise.
32350 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32351 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32352 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32353 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32354 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32355 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32356 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32357 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32358 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32359 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32360 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32361 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32362 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32363 * powerpc/powerpc32/memset.S: Likewise.
32364 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32365 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32366 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32367 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32368 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32369 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32370 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32371 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32372 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32373 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32374 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32375 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32376 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32377
a1267ba1
AZ
323782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32379
32380 * math/libm-test.inc: Added more nearbyint tests.
32381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32382 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32385
ad8ac1bd
RL
323862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32387
32388 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32389 FD_CLOEXEC.
32390
1d3e4b61
UD
323912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32392
32393 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32394 Add wcscpy-ssse3 wcscpy-c.
32395 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32396 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32397 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32398 * sysdeps/x86_64/wcschr.S: New file.
32399 * sysdeps/x86_64/wcsrchr.S: New file.
32400 * string/test-strcmp.c: Remove checking of wcscmp function for
32401 wrong alignments.
32402 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32403 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32404 wcsrchr-sse2 wcsrchr-c.
32405 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32406 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32407 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32408 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32409 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32410 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32411 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32412 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32413 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32414 * wcsmbc/wcschr.c (WCSCHR): New macro.
32415
5b330a2d
UD
324162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32417
32418 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32419 * wcsmbs/test-wcsrchr.c: New file.
32420 * string/test-strrchr.c: Add wcsrchr support.
32421 (WIDE): New macro.
32422 * wcsmbs/test-wcscpy.c: New file.
32423 * string/test-strcpy.c: Add wcscpy support.
32424 (WIDE): New macro.
26428b7c 32425
f039c043
UD
324262011-12-10 Ulrich Drepper <drepper@gmail.com>
32427
32428 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32429 the inner loop.
32430
850fb039
AS
324312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32432
32433 [BZ #13472]
32434 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32435
4efbd5cb
UD
324362011-12-04 Ulrich Drepper <drepper@gmail.com>
32437
52ff5dd0 32438 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32439 Minor optimizations.
52ff5dd0 32440
4efbd5cb
UD
32441 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32442 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32443 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32444
8a426e12
UD
324452011-12-03 Ulrich Drepper <drepper@gmail.com>
32446
aff2453d
UD
32447 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32448 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32449 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32450 for gcc to avoid warnings.
32451 * inet/Makefile (tests): Add tst-checks.
32452 * inet/tst-checks.c: New file.
32453
32454 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32455 warning.
32456
32457 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32458 __wmemcmp_sse2.
32459
32460 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32461 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32462
8a426e12
UD
32463 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32464
9bea3473
UD
324652011-12-02 Ulrich Drepper <drepper@gmail.com>
32466
3a965496
UD
32467 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32468 problem.
32469
9bea3473
UD
32470 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32471
f101631b
UD
324722011-11-29 Joseph Myers <joseph@codesourcery.com>
32473
32474 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32475 conditional on GCC version.
32476 (__arch_compare_and_exchange_val_8_acq)
32477 (__arch_compare_and_exchange_val_16_acq)
32478 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32479 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32480 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32481
a98275aa
UD
324822011-12-02 Joseph Myers <joseph@codesourcery.com>
32483
32484 * sysdeps/sh/backtrace.c: New file.
32485
d4cc29a2
AS
324862011-12-02 Andreas Schwab <schwab@redhat.com>
32487
32488 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32489 parenthesis.
32490
6257af2d
AS
324912011-12-01 Andreas Schwab <schwab@redhat.com>
32492
32493 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32494 falling back to utime.
32495
b5f44c1a
AS
324962011-11-30 Andreas Schwab <schwab@redhat.com>
32497
32498 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32499 expectations for float.
32500
f3a6cc0a
AS
325012011-11-29 Andreas Schwab <schwab@redhat.com>
32502
32503 * locale/weight.h (findidx): Add parameter len.
32504 * locale/weightwc.h (findidx): Likewise.
32505 * posix/fnmatch_loop.c (FCT): Adjust caller.
32506 * posix/regcomp.c (build_equiv_class): Likewise.
32507 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32508 * posix/regexec.c (check_node_accept_bytes): Likewise.
32509 * string/strcoll_l.c (STRCOLL): Likewise.
32510 * string/strxfrm_l.c (STRXFRM): Likewise.
32511
9d65ea3a
UD
325122011-11-17 Ulrich Drepper <drepper@gmail.com>
32513
32514 * Makefile.in: Remove CVSOPT handling.
32515 * configure.in: Remove use of AC_REVISION.
32516 * iconvdata/Makefile (distribute): No need to filter out CVS.
32517 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32518 handling.
32519
5583a086
AS
325202011-11-16 Andreas Schwab <schwab@redhat.com>
32521
32522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32523 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32524 [USE_AS_STRNCASECMP_L]: Likewise.
32525 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32526 NO_TLS_DIRECT_SEG_REFS.
32527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32528 Fix argument offsets for non-PIC.
32529 [USE_AS_STRNCASECMP_L]: Likewise.
32530 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32531 NO_TLS_DIRECT_SEG_REFS.
32532
d62a8200
UD
325332011-11-15 Ulrich Drepper <drepper@gmail.com>
32534
9d65ea3a 32535 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32536 O_CLOEXEC.
32537 * locale/loadlocale.c (_nl_load_locale): Likewise.
32538
09f93bd3
AS
325392011-11-15 Andreas Schwab <schwab@redhat.com>
32540
446514f9
AS
32541 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32542 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32543 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32544 (SYSCALL_GETTIME): Set errno on error.
32545
09f93bd3
AS
32546 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32547 count references to noai6ai_cached.
32548
312be3f9
UD
325492011-11-15 Ulrich Drepper <drepper@gmail.com>
32550
32551 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32552
32553 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32554 FD_CLOEXEC for /proc/self/maps.
32555
32556 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32557 FD_CLOEXEC for /proc/meminfo.
32558
32559 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32560 gai.conf.
32561
32562 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32563 FD_CLOEXEC for given file.
32564
32565 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32566
32567 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32568 FD_CLOEXEC for /etc/hosts.
32569 (_gethtent): Likewise.
32570
32571 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32572
32573 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32574 cancellation and set FD_CLOEXEC for /etc/netgroup.
32575
32576 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32577 reading /etc/publickey.
32578
32579 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32580 allow cancellation when reading /etc/group.
32581
32582 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32583 cancellation.
32584 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32585
32586 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32587 when using data file.
32588
32589 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32590
32591 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32592 (write_nis_obj): Use "c" and "e" in fopen.
32593
32594 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32595
32596 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32597
32598 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32599
32600 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32601
32602 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32603 locale.alias.
32604
32605 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32606
32607 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32608
32609 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32610
32611 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32612 file parsing and set FD_CLOEXEC.
32613
82af0fa8
UD
326142011-11-14 Ulrich Drepper <drepper@gmail.com>
32615
32616 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32617
a5fb313c
AS
326182011-11-14 Andreas Schwab <schwab@redhat.com>
32619
32620 * malloc/arena.c (arena_get2): Don't call reused_arena when
32621 _int_new_arena failed.
32622
6abf3465
UD
326232011-11-14 Ulrich Drepper <drepper@gmail.com>
32624
32625 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32626 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32627 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32628 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32629 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32630 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32631 to compile strcasecmp and strncasecmp.
32632 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32633 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32634
32635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32636
76e3966e
UD
326372011-11-13 Ulrich Drepper <drepper@gmail.com>
32638
32639 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32640 locale-defines.sym to gen-as-const-headers.
32641 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32642 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32644 to compile strcasecmp and strncasecmp.
32645 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32646 strcasecmp_l and strncasecmp_l.
32647 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32648 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32649 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32650 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32651 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32652 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32653 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32654 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32655 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32656 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32657 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32658
ab26144e
UD
326592011-11-12 Ulrich Drepper <drepper@gmail.com>
32660
7edb22ef
UD
32661 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32662 result of SYSDEP_GETTIME_CPU to retval.
32663 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32664 parameter list to macro. Remove trailing semicolon. Adjust users.
32665
9694fc44
UD
32666 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32667 variable.
32668
8ad89ef8
UD
32669 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32670 mantissa words.
32671 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32672
0c822ef9
UD
32673 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32674 from unused variable.
32675
874e0564
UD
32676 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32677 DWARF definitions.
32678 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32679 for assembling.
32680
3a2edc79
UD
32681 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32682 over namespaces.
32683
f3c2577f
UD
32684 * sunrpc/rpc_prot.c (rejected): Fix case value.
32685
294ce126
UD
32686 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32687 unsigned long long int to avoid warnings in shift.
32688
5e2b63c6
UD
32689 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32690 of use of trans.
32691 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32692 variable tmp.
32693
e7f4b08e
UD
32694 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32695 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32696 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32697
ab26144e
UD
32698 * nis/nis_table.c (nis_list): Use variable of correct type for
32699 result of __follow_path call.
32700
8a6d5255
AZ
327012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32702
32703 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32704 of math functions ceil, trunc, floor, round, and sqrt, when
32705 avaliable on the platform.
32706 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32707 name clash.
32708 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32709 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32710 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32711
aaddc98c
MP
327122011-10-30 Marek Polacek <mpolacek@redhat.com>
32713
32714 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32715 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32716
95b7042b
RM
327172011-11-11 Roland McGrath <roland@hack.frob.com>
32718
32719 * include/unistd.h: Fix __readlink return type.
32720 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32721
57769839
UD
327222011-11-11 Ulrich Drepper <drepper@gmail.com>
32723
32724 * stdlib/ucontext.h: Undo last change for makecontext.
32725
edc5984d
AS
327262011-11-11 Andreas Schwab <schwab@redhat.com>
32727
98591e58
AS
32728 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32729
edc5984d
AS
32730 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32731 * setjmp/setjmp.h: Mark functions as non-leaf.
32732 * setjmp/bits/setjmp2.h: Likewise.
32733 * stdlib/ucontext.h: Likewise.
32734
77cdc054
AS
327352011-11-10 Andreas Schwab <schwab@redhat.com>
32736
32737 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32738 (reused_arena): Don't check arena limit.
32739 (arena_get2): Atomically check arena limit.
32740
fe72eebd
UD
327412011-11-08 Ulrich Drepper <drepper@gmail.com>
32742
5f078c32
UD
32743 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32744 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32745
fe72eebd
UD
32746 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32747 instructions.
32748
ae1bc2fa
AS
327492011-11-07 Andreas Schwab <schwab@redhat.com>
32750
7583a88d
AS
32751 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32752 handler when locking.
32753
ae1bc2fa
AS
32754 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32755 Fix size of allocated buffer.
32756
10fb0bfa
AS
327572011-11-04 Andreas Schwab <schwab@redhat.com>
32758
998832a4
AS
32759 [BZ #10103]
32760 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32761 declarations for long double functions.
32762 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32763
10fb0bfa
AS
32764 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32765
3d7ba52b
AS
327662011-11-03 Andreas Schwab <schwab@redhat.com>
32767
a9ae54a1
AS
32768 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32769 installed.
32770
3d7ba52b
AS
32771 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32772 is disabled.
32773
bc8db248
ST
327742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32775
32776 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32777
45b96dd6
AS
327782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32779
647776f6
AS
32780 * include/alloca.h (stackinfo_alloca_round): Define.
32781 (extend_alloca): Use it.
32782 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32783 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32784 here.
32785
d91a8b93
AS
32786 * scripts/check-local-headers.sh: Ignore libaudit.h.
32787
45b96dd6
AS
32788 * nscd/Makefile (extra-objs): Make recursively expanded.
32789
432d41ce
UD
327902011-11-01 Ulrich Drepper <drepper@gmail.com>
32791
34372fc6
UD
32792 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32794
fadb59f8
UD
32795 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32796 * posix/tst-rfc3484-2.c: Likewise.
32797 * posix/tst-rfc3484-3.c: Likewise.
32798
78239589
UD
32799 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32800 process_vm_writev.
32801 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32802 process_vm_writev.
32803 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32804 process_vm_writev from libc using GLIBC_2.15 version.
32805
432d41ce
UD
32806 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32807
02f9c6cf
PP
328082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32809
32810 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32811 stack usage.
32812
3a2c0242
UD
328132011-10-31 Ulrich Drepper <drepper@gmail.com>
32814
f4ec4833
UD
32815 [BZ #13367]
32816 * nss/getent.c (initgroups_keys): Show error message in case no group
32817 names are given.
32818
3a2c0242
UD
32819 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32820 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32821 __bump_nl_timestamp.
32822 * nscd/connections (nscd_init): When host database is served open
32823 netlink socket and request notification about configuration changes.
32824 (main_loop_poll): Track netlink file descriptor and bump timestamp
32825 in case data becomes available.
32826 (main_loop_epoll): Likewise.
32827 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32828 (database_pers_head): Add extra_data fileds.
32829 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32830 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32831 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32832 Adjust caller.
32833 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32834 in6ai data, call __free_in6ai.
32835 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32836 Add -DHAVE_NETLINK.
32837 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32838 interface information. Reuse previous data if netlink timestamp
32839 is not changed.
32840 (__bump_nl_timestamp): New function.
32841 (__free_in6ai): New function.
32842
636064eb
UD
328432011-10-30 Ulrich Drepper <drepper@gmail.com>
32844
32845 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32846 close_not_cancel_no_status here.
32847 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32848
9beb2334
UD
328492011-10-29 Ulrich Drepper <drepper@gmail.com>
32850
6ef76f3b
UD
32851 [BZ #13276]
32852 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32853 return value.
32854
0ffc4f3e 32855 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32856 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32857 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32858
cb95113e
UD
328592011-07-03 Andreas Jaeger <aj@suse.de>
32860
32861 [BZ #10709]
32862 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32863 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32864 * math/libm-test.inc (sin_test): Add test case.
32865
a1b560ff
UD
328662011-10-29 Ulrich Drepper <drepper@gmail.com>
32867
c9aaface
UD
32868 [BZ #13337]
32869 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32870 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32871
d272e7f1
UD
32872 * elf/chroot_canon.c (chroot_canon): Cleanups.
32873
1bc33071
UD
32874 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32875
1760874d
TJ
32876 [BZ #13335]
32877 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32878 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32879
51d91b18
UD
32880 * string/test-strchr.c: Make usable for strchrnul testing.
32881 * string/test-strchrnul.c: New file.
32882 * string/Makefile (strop-tests): Add strchrnul.
32883
a1b560ff 32884 * po/it.po: Update from translation team.
b611fb81 32885 * po/es.po: Likewise.
a1b560ff 32886
a5b81e1f
UD
328872011-10-28 Ulrich Drepper <drepper@gmail.com>
32888
fd52bc6d
UD
32889 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32890 the three constants needed as parameters. Drop the others.
32891 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32892 __m128i_strloadu_tolower.
52e4b9eb
UD
32893 Create and initialize variable zero and use it in all the places
32894 where _mm_setzero_si128 was used.
fd52bc6d 32895
a5b81e1f
UD
32896 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32897 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32898 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32899 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32900 anymore.
32901 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32902 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32903 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32904 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32905 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32906 __mpranred, __mptan.
32907 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32908 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32909 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32910 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32911 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32912 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32913 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32914 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32915 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32916
b4343346
AS
329172011-10-28 Andreas Schwab <schwab@redhat.com>
32918
0c92d8a8
AS
32919 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32920 redefine if SHARED.
32921 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32922
b4343346
AS
32923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32924 wide char related routines to wcsmbs subdir.
32925
3871f58f
AS
329262011-10-27 Andreas Schwab <schwab@redhat.com>
32927
32928 [BZ #13344]
32929 * misc/sys/cdefs.h (__THROWNL): Define.
32930 * posix/unistd.h: Use __THREADNL instead of __THREAD
32931 for memory synchronization functions.
32932
94d44d9f
RM
329332011-10-26 Roland McGrath <roland@hack.frob.com>
32934
21b64b15 32935 [BZ #13349]
94d44d9f
RM
32936 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32937 doesn't exist.
32938 * manual/stdio.texi (Obstack Streams): Node removed.
32939
f6ce9294
AS
329402011-10-26 Andreas Schwab <schwab@redhat.com>
32941
80479147
AS
32942 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32943 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32944 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32945
f6ce9294
AS
32946 * math/math_private.h (math_force_eval): Allow non-addressable
32947 arguments.
32948 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32949
618280a1
UD
329502011-10-25 Ulrich Drepper <drepper@gmail.com>
32951
e0016b11
UD
32952 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32953 file is not needed.
32954
32955 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32956 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32962 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32963 Add AVX variants.
32964 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32965 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32966 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32967 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32968 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32969 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32970 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32971 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32972 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32973 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32974 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32975 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32976 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32977 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32978 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32979 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32980 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32981 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32982 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32983
32984 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32985 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32986
618280a1
UD
32987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32988 place. Use VEX encoding when compiling for AVX.
32989
37822576
AS
329902011-10-25 Andreas Schwab <schwab@redhat.com>
32991
1f1e1947
AS
32992 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32993 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32994
37822576
AS
32995 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32996
31ea014d
UD
329972011-10-25 Ulrich Drepper <drepper@gmail.com>
32998
d7826aa1 32999 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 33000 useless if() expression.
d7826aa1
UD
33001 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33010 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33011 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33012 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33013 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33014 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33015 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33016 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33017 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33018 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33019 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33020
31ea014d
UD
33021 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33022
16437fec
AS
330232011-10-25 Andreas Schwab <schwab@redhat.com>
33024
33025 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33026 condition.
33027 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33028
31d3cc00
UD
330292011-10-25 Ulrich Drepper <drepper@gmail.com>
33030
33031 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33032 .text section. Avoid duplicate constants.
33033 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33043 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33045 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33046 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33048 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33050 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33056 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33057 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33058 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33059 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33060 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33061 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33062 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33063 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33064 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33065 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33066 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33067 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33068 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33069 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33070 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33071 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33072 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33073 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33074 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33075 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33076 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33077 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33078
58985aa9
UD
330792011-10-24 Ulrich Drepper <drepper@gmail.com>
33080
202c9deb
UD
33081 * sysdeps/x86_64/dla.h: Move to ...
33082 * sysdeps/x86_64/fpu/dla.h: ...here.
33083 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33084 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 33085
af968f62
UD
33086 * config.make.in: Add have-mfma4 entry.
33087 * configure.in: Substitute libc_cv_cc_fma4.
33088 * math/Makefile (dbl-only-routines): Add sincostab.
33089 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33090 Use __sincostab not sincos.
33091 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33092 name is a macro.
33093 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33094 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33095 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33096 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33097 using __copysign.
33098 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33099 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33100 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33101 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33102 and __inv.
33103 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33104 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33105 __copysign.
33106 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33107 define aliases when function name is a macro.
33108 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33109 sysdeps/ieee754/dbl-64/sincos.tbl.
33110 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33111 fma4-enabled routines.
33112 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33113 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33114 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33115 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33116 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33117 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33119 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33121 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33122 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33123 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33124 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33125 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33126 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33127 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33128 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33129 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33130 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33131 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33132 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33133 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33134 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33135 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33137 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33138 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33139 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33140 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33141 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33142
58985aa9
UD
33143 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33144 rename.
33145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33153
a201fbcf
AS
331542011-10-24 Andreas Schwab <schwab@redhat.com>
33155
33156 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33157
fc2ee42a
LD
331582011-10-23 Ulrich Drepper <drepper@gmail.com>
33159
bb3129bd
UD
33160 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33161
0275fff8
UD
33162 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33163 prediction.
33164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33165
2fa2ae85
UD
33166 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33167 Remove unused variable magic_bits.
33168 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33169
fc2ee42a
LD
33170 * string/strnlen.c: Define and use STRNLEN macro.
33171 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33172 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33173 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33174 * wcsmbs/wcslen.c: Define and use WCSLEN.
33175 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33176 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33177 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33178 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33179 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33180 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33181 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33182
ce7dd29f
LD
331832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33184
33185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33186 strnlen-sse2-no-bsf.
33187 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33188 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33189 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33190 Add strnlen support.
33191 (USE_AS_STRNLEN): New macro.
33192 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33193 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33194 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33195 * sysdeps/x86_64/wcslen.S: New file.
33196
979c70a3
MZ
331972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33198
33199 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33200 XMM-moves are used for copying on small sizes.
33201
2d09f82f
LD
332022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33203
33204 * wcsmbs/Makefile (strop-tests): Add wcschr.
33205 * wcsmbs/test-wcschr.c: New file.
33206 * string/test-strchr.c: Update.
33207 Add wcschr support.
33208 (WIDE): New macro.
33209
619fccca
LD
332102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33211
2d09f82f 33212 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
33213 * wcsmbs/test-wcslen.c: New file.
33214 * string/test-strlen.c: Update.
33215 Add wcslen support.
33216 (WIDE): New macro.
33217
09f699ea
UD
332182011-10-23 Ulrich Drepper <drepper@gmail.com>
33219
33220 * po/it.po: Update from translation team.
33221
95584d3b
LD
332222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33223
33224 * sysdeps/x86_64/wcscmp.S: Update.
33225 Fix wrong comparison semantics.
33226 wcscmp shall use signed comparison not unsigned.
33227 Don't use substraction to avoid overflow bug.
33228 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33229 * wcsmbc/wcscmp.c: Likewise.
33230 * string/test-strcmp.c: Likewise.
33231 Add new tests to check cases with negative values.
33232
c8b3296b
UD
332332011-10-23 Ulrich Drepper <drepper@gmail.com>
33234
33235 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33236 * sysdeps/x86_64/dla.h: ...here. New file.
33237 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33246
246ad57a
AS
332472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33248
33249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33250 __ynl_finite aliases.
33251
a1a87169
UD
332522011-10-22 Ulrich Drepper <drepper@gmail.com>
33253
0d355eb7
UD
33254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33255
a1a87169
UD
33256 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33257 define DLA_FMA.
33258 [DLA_FMA] (EMULV): Use DLA_FMA.
33259 [DLA_FMA] (MUL12): Use EMULV.
33260 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33261 that are not needed.
33262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33267 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33268 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33269
ee2aafe0
AS
332702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33271
33272 * math/s_nan.c: Undef __nan.
33273 * math/s_nanf.c: Undef __nanf.
33274 * math/s_nanl.c: Undef __nanl.
33275 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33276 "math_private.h".
33277
bc62c2fb
UD
332782011-10-22 Ulrich Drepper <drepper@gmail.com>
33279
77425c63
UD
33280 * math/s_catan.c: Add branch predictions.
33281 * math/s_catanf.c: Likewise.
33282 * math/s_catanh.c: Likewise.
33283 * math/s_catanhf.c: Likewise.
33284 * math/s_catanhl.c: Likewise.
33285 * math/s_catanl.c: Likewise.
33286 * math/s_cexp.c: Likewise.
33287 * math/s_cexpf.c: Likewise.
33288 * math/s_cexpl.c: Likewise.
33289 * math/s_clog.c: Likewise.
33290 * math/s_clog10.c: Likewise.
33291 * math/s_clog10f.c: Likewise.
33292 * math/s_clog10l.c: Likewise.
33293 * math/s_clogf.c: Likewise.
33294 * math/s_clogl.c: Likewise.
33295 * math/s_csqrt.c: Likewise.
33296 * math/s_csqrtf.c: Likewise.
33297 * math/s_csqrtl.c: Likewise.
33298 * math/s_ctanf.c: Likewise.
33299 * math/s_ctanh.c: Likewise.
33300 * math/s_ctanhf.c: Likewise.
33301 * math/s_ctanhl.c: Likewise.
33302 * math/s_ctanl.c: Likewise.
33303
bc62c2fb
UD
33304 * math/math_private.h: Define __nan, __nanf, __nanl.
33305 * math/s_cacosh.c: Include <math_private.h>.
33306 * math/s_cacoshl.c: Likewise.
33307 * math/s_casinh.c: Likewise.
33308 * math/s_casinhf.c: Likewise.
33309 * math/s_casinhl.c: Likewise.
33310 * math/s_ccos.c: Rely entire on ccosh.
33311 * math/s_ccosf.c: Rely entire on ccoshf.
33312 * math/s_ccosl.c: Rely entirely on ccoshl.
33313 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33314 Remove tests for FE_INVALID.
33315 * math/s_ccoshf.c: Likewise.
33316 * math/s_ccoshl.c: Likewise.
33317 * math/s_csin.c: Likewise.
33318 * math/s_csinf.c: Likewise.
33319 * math/s_csinh.c Likewise.
33320 * math/s_csinhf.c: Likewise.
33321 * math/s_csinhl.c: Likewise.
33322 * math/s_csinl.c: Likewise.
33323 * math/s_ctan.c: Likewise.
33324 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33325 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33326 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33327
8ec250a4
UD
333282011-10-21 Ulrich Drepper <drepper@gmail.com>
33329
c196fed8
UD
33330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33331 compilation problems.
33332
8ec250a4
UD
33333 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33334 __builtin_expect.
33335
8d4f46c6
UD
333362011-10-20 Ulrich Drepper <drepper@gmail.com>
33337
ed72b654
UD
33338 * sysdeps/i386/configure.in: Test for -mfma4 option.
33339 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33340 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33341 COMMON_CPUID_INDEX_80000001.
33342 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33343 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33344 use it if FMA3 is not supported.
33345 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33346
8d4f46c6
UD
33347 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33348 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33349
d45c60c2
AS
333502011-10-20 Andreas Schwab <schwab@redhat.com>
33351
33352 [BZ #12892]
33353 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33354 it would create a cycle with a link time dependency.
33355
d9a4d2ab
UD
333562011-10-19 Ulrich Drepper <drepper@gmail.com>
33357
855d1560
UD
33358 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33359 instruction.
33360 * string/Makefile (strop-tests): Add rawmemchr.
33361 * string/test-rawmemchr.c: New file.
33362
d9a4d2ab
UD
33363 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33365 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33366 when compiling str{,n}casecmp and when AVX is available. Hook up
33367 new optimized code in initializers.
33368
8f3b1ffe
AS
333692011-10-19 Andreas Schwab <schwab@redhat.com>
33370
33371 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33372 __feraiseexcept instead of feraiseexcept.
33373
d38f1dba
UD
333742011-10-18 Ulrich Drepper <drepper@gmail.com>
33375
d9a8d0ab
UD
33376 * math/math_private.h: Define defaults for libc_fetestexcept and
33377 libc_feupdateenv.
33378 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33379 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33380 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33381 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33382 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33383 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33384 libc_fetestexcept and libc_feupdateenv.
33385
4855e3dd
UD
33386 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33387 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33388 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33389 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33390 libc_feholdexcept_setround.
33391
581d30e3
UD
33392 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33393 Add s_nearbyint-c and s_nearbyintf-c.
33394 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33395 nearbyintf inlines.
33396 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33397 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33398 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33399 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33400
d38f1dba
UD
33401 * math/math_private.h: Define defaults for libc_fegetround,
33402 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33403 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33404 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33405 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33406 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33407 standard functions.
33408 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33409 Remove comments and hacks for old compiler versions.
33410 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33411 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33412 libc_feholdexceptl.
33413
caa6c9d8
AS
334142011-10-18 Andreas Schwab <schwab@redhat.com>
33415
33416 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33417 (__feraiseexcept_renamed): Add __NTH.
33418 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33419 namespace violations.
33420
97c066e6
UD
334212011-10-17 Ulrich Drepper <drepper@gmail.com>
33422
99ce7b04
UD
33423 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33424
1004d182
UD
33425 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33426
228a984d
UD
33427 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33428 recently added interfaces.
33429 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33430
c8553a6a
UD
33431 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33432 about macro parameter expansion.
33433
ed22dcf6
UD
33434 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33435 __NO_MATH_INLINES is defined. Cleanups.
33436
33437 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33438 and __floorf is target has SSE4.1.
33439 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33440 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33441 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33442 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33443
b171c137
UD
33444 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33445 name.
33446 (floorf): Likewise.
33447
97c066e6
UD
33448 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33449
629f62ef
AS
334502011-10-17 Andreas Schwab <schwab@redhat.com>
33451
49a43d80
AS
33452 * misc/sys/cdefs.h: Fix last change.
33453
629f62ef
AS
33454 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33455 database lookup.
33456
e453f6cd
UD
334572011-10-16 Ulrich Drepper <drepper@gmail.com>
33458
aa78043a
UD
33459 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33460
ad0f5cad
UD
33461 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33462 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33463 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33464 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33465 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33466 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33467 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33468 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33469 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33470 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33471 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33472 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33473 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33474 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33475 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33476 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33477 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33478 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33479 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33480 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33481 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33482 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33483
33484 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33485 ceil, ceilf, floor, floorf.
33486
33487 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33488 Perform IRELATIVE relocations last.
33489
e453f6cd
UD
33490 * elf/do-rel.h: Add another parameter nrelative, replacing the
33491 local variable with the same name. Change name of the function
33492 to end in Rel or Rela (uppercase).
33493 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33494 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33495 elf_dynamic_do_##reloc function.
33496
fd5bdc09
UD
334972011-10-15 Ulrich Drepper <drepper@gmail.com>
33498
79b195b5
UD
33499 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33500 is sufficient, at least on modern CPUs.
33501
d4a28569
UD
33502 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33503
b61099b5
UD
33504 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33505 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33506
bcf01e6d
UD
33507 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33508 __expl_finite.
33509 * math/bits/math-finite.h: Add entries for exp.
33510 * math/e_expl.c: Add __*_finite alias.
33511 * sysdeps/i386/fpu/e_exp.S: Likewise.
33512 * sysdeps/i386/fpu/e_expf.S: Likewise.
33513 * sysdeps/i386/fpu/e_expl.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33515 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33516 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33517 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33519 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33520 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33521
ba1a0d59
UD
33522 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33523 is sufficient, at least on modern CPUs.
33524
fd5bdc09
UD
33525 * ctype/ctype-info.c (__ctype_init): Define.
33526 * include/ctype.h (__ctype_init): Declare.
33527 (__ctype_b_loc): The variable is always initialized.
33528 (__ctype_toupper_loc): Likewise.
33529 (__ctype_tolower_loc): Likewise.
33530 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33531 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33532
7872cfb0
AS
335332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33534
b468825a
AS
33535 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33536
7872cfb0
AS
33537 * configure.in: Also look in $cxxmachine/include for C++ system
33538 headers.
33539
be13f7bf
LD
335402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33541
33542 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33543 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33544 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33545 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33546 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33547 (USE_AS_WMEMCMP): New macro.
33548 Fixing indents.
33549 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33550 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33551 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33552 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33554 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33555 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33556 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33557 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33558 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33559 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33560 (USE_AS_WMEMCMP): New macro.
33561 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33562 * sysdeps/string/test-memcmp.c: Update.
33563 Fix simple_wmemcmp.
33564 Add new tests.
33565 * wcsmbs/wmemcmp.c: Update.
33566 (WMEMCMP): New macro.
33567 Fix overflow bug.
33568
556a2007
AJ
335692011-10-12 Andreas Jaeger <aj@suse.de>
33570
33571 [BZ #13268]
33572 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33573
538faaa7
UD
335742011-10-15 Ulrich Drepper <drepper@gmail.com>
33575
ab6737ff
UD
33576 * libio/iofwide.c (do_length): Avoid warning.
33577
538faaa7
UD
33578 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33579
396a21b1
UD
335802011-10-14 Ulrich Drepper <drepper@gmail.com>
33581
cdf2901f
UD
33582 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33583
38ad40ce
UD
33584 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33585 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33586 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33587 * sysdeps/i386/i686/fpu/e_log.S: New file.
33588 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33589 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33590
396a21b1
UD
33591 * ctype/ctype.h: Add support for inlined isXXX functions when
33592 compiling C++ code.
33593
6b1f68c9
AS
335942011-10-14 Andreas Schwab <schwab@redhat.com>
33595
349290c0
AS
33596 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33597
6b1f68c9
AS
33598 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33599
f2282d42
RM
336002011-10-13 Roland McGrath <roland@hack.frob.com>
33601
33602 [BZ #13291]
33603 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33604
5298ffa8
AS
336052011-10-13 Andreas Schwab <schwab@redhat.com>
33606
714fad23
AS
33607 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33608 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33609 feraiseexcept.
33610
81dcc7fb
AS
33611 * sysdeps/x86_64/memrchr.S: Check for zero size.
33612
5298ffa8
AS
33613 * string/stratcliff.c: Add memrchr tests.
33614
951fbcec
LD
336152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33616
33617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33618 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33619 rawmemchr-sse2 rawmemchr-sse2-bsf.
33620 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33621 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33622 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33623 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33624 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33625 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33626 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33627 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33628 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33629 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33630 * string/memrchr.c (MEMRCHR): New macro.
33631
0ac5ae23
UD
336322011-10-12 Ulrich Drepper <drepper@gmail.com>
33633
33634 Add integration with gcc's -ffinite-math-only and optimize wrapper
33635 functions in libm.
33636 * Versions.def: Define GLIBC_2.15 version for libm.
33637 * math/Makefile (headers): Add bits/math-finite.h.
33638 * math/bits/math-finite.h: New file.
33639 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33640 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33641 * math/e_acoshl.c: Add __*_finite alias.
33642 * math/e_acosl.c: Likewise.
33643 * math/e_asinl.c: Likewise.
33644 * math/e_atan2l.c: Likewise.
33645 * math/e_atanhl.c: Likewise.
33646 * math/e_coshl.c: Likewise.
33647 * math/e_exp10.c: Likewise.
33648 * math/e_exp10f.c: Likewise.
33649 * math/e_exp10l.c: Likewise.
33650 * math/e_exp2l.c: Likewise.
33651 * math/e_fmodl.c: Likewise.
33652 * math/e_gammal_r.c: Likewise.
33653 * math/e_hypotl.c: Likewise.
33654 * math/e_j0l.c: Likewise.
33655 * math/e_j1l.c: Likewise.
33656 * math/e_jnl.c: Likewise.
33657 * math/e_lgammal_r.c: Likewise.
33658 * math/e_log10l.c: Likewise.
33659 * math/e_log2l.c: Likewise.
33660 * math/e_logl.c: Likewise.
33661 * math/e_powl.c: Likewise.
33662 * math/e_sinhl.c: Likewise.
33663 * math/e_sqrtl.c: Likewise.
33664 * math/e_scalb.c: Completely rewritten and optimized.
33665 * math/e_scalbf.c: Likewise.
33666 * math/e_scalbl.c: Likewise.
33667 * math/w_acos.c: Likewise.
33668 * math/w_acosf.c: Likewise.
33669 * math/w_acosl.c: Likewise.
33670 * math/w_acosh.c: Likewise.
33671 * math/w_acoshf.c: Likewise.
33672 * math/w_acoshl.c: Likewise.
33673 * math/w_asin.c: Likewise.
33674 * math/w_asinf.c: Likewise.
33675 * math/w_asinl.c: Likewise.
33676 * math/w_atan2.c: Likewise.
33677 * math/w_atan2f.c: Likewise.
33678 * math/w_atan2l.c: Likewise.
33679 * math/w_atanh.c: Likewise.
33680 * math/w_atanhf.c: Likewise.
33681 * math/w_atanhl.c: Likewise.
33682 * math/w_exp10.c: Likewise.
33683 * math/w_exp10f.c: Likewise.
33684 * math/w_exp10l.c: Likewise.
33685 * math/w_fmod.c: Likewise.
33686 * math/w_fmodf.c: Likewise.
33687 * math/w_fmodl.c: Likewise.
33688 * math/w_j0.c: Likewise.
33689 * math/w_j0f.c: Likewise.
33690 * math/w_j0l.c: Likewise.
33691 * math/w_j1.c: Likewise.
33692 * math/w_j1f.c: Likewise.
33693 * math/w_j1l.c: Likewise.
33694 * math/w_jn.c: Likewise.
33695 * math/w_jnf.c: Likewise.
33696 * math/w_log.c: Likewise.
33697 * math/w_logf.c: Likewise.
33698 * math/w_logl.c: Likewise.
33699 * math/w_log10.c: Likewise.
33700 * math/w_log10f.c: Likewise.
33701 * math/w_log10l.c: Likewise.
33702 * math/w_log2.c: Likewise.
33703 * math/w_log2f.c: Likewise.
33704 * math/w_log2l.c: Likewise.
33705 * math/w_pow.c: Likewise.
33706 * math/w_powf.c: Likewise.
33707 * math/w_powl.c: Likewise.
33708 * math/w_remainder.c: Likewise.
33709 * math/w_remainderf.c: Likewise.
33710 * math/w_remainderl.c: Likewise.
33711 * math/w_scalb.c: Likewise.
33712 * math/w_scalbf.c: Likewise.
33713 * math/w_scalbl.c: Likewise.
33714 * math/w_sqrt.c: Likewise.
33715 * math/w_sqrtf.c: Likewise.
33716 * math/w_sqrtl.c: Likewise.
33717 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33718 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33719 used.
33720 * math/math_private.h: Declare __kernel_standard_f.
33721 * math/w_cosh.c: Remove cruft and optimize a bit.
33722 * math/w_coshf.c: Likewise.
33723 * math/w_coshl.c: Likewise.
33724 * math/w_exp2.c: Likewise.
33725 * math/w_exp2f.c: Likewise.
33726 * math/w_exp2l.c: Likewise.
33727 * math/w_hypot.c: Likewise.
33728 * math/w_hypotf.c: Likewise.
33729 * math/w_hypotl.c: Likewise.
33730 * math/w_lgamma.c: Likewise.
33731 * math/w_lgamma_r.c: Likewise.
33732 * math/w_lgammaf.c: Likewise.
33733 * math/w_lgammaf_r.c: Likewise.
33734 * math/w_lgammal.c: Likewise.
33735 * math/w_lgammal_r.c: Likewise.
33736 * math/w_sinh.c: Likewise.
33737 * math/w_sinhf.c: Likewise.
33738 * math/w_sinhl.c: Likewise.
33739 * math/w_tgamma.c: Likewise.
33740 * math/w_tgammaf.c: Likewise.
33741 * math/w_tgammal.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33744 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33745 Minor optimizations. Pretty printing. Remove cruft.
33746 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33747 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33748 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33749 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33750 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33751 * sysdeps/i386/fpu/e_asin.S: Likewise.
33752 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33753 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33754 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33755 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33756 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33757 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33758 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33759 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33760 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33761 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33762 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33763 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33764 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33765 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33766 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33767 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33768 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33769 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33770 * sysdeps/i386/fpu/e_log.S: Likewise.
33771 * sysdeps/i386/fpu/e_log10.S: Likewise.
33772 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33773 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33774 * sysdeps/i386/fpu/e_log2.S: Likewise.
33775 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33776 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33777 * sysdeps/i386/fpu/e_logf.S: Likewise.
33778 * sysdeps/i386/fpu/e_logl.S: Likewise.
33779 * sysdeps/i386/fpu/e_pow.S: Likewise.
33780 * sysdeps/i386/fpu/e_powf.S: Likewise.
33781 * sysdeps/i386/fpu/e_powl.S: Likewise.
33782 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33783 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33784 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33785 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33786 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33787 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33788 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33789 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33790 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33809 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33812 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33813 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33814 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33815 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33816 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33817 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33818 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33819 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33820 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33821 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33822 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33823 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33824 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33825 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33826 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33827 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33828 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33829 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33830 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33831 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33832 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33871 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33874 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33876 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33877 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33879 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33882 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33883 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33884 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33885 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33886 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33887 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33888 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33889 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33890 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33891 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33892 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33893 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33894 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33895 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33896 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33897 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33899 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33900 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33901 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33902 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33903 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33904 (__isnanf): Likewise.
33905 (__isinf_ns): Likewise.
33906 (__isinf_nsf): Likewise.
33907 (__finite): Likewise.
33908 (__finitef): Likewise.
33909 (__ieee754_sqrt): Define as macro.
33910 (__ieee754_sqrtf): Define as macro.
33911 (__ieee754_sqrtl): Define as macro.
33912 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33913 inlined copy.
33914 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33915 __FINITE_MATH_ONLY__ consistent.
33916 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33917
12cc2fcd
AS
339182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33919
a843a204
AS
33920 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33921 of rawmemchr.
33922
12cc2fcd
AS
33923 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33924
c853acd5
UD
339252011-10-09 Ulrich Drepper <drepper@gmail.com>
33926
33927 * po/ja.po: Update from translation team.
33928
c658d255
RM
339292011-10-08 Roland McGrath <roland@hack.frob.com>
33930
110946e4
RM
33931 * locale/programs/locarchive.c (prepare_address_space): New function.
33932 (create_archive, enlarge_archive, open_archive): Use it.
33933
50604220
RM
33934 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33935 inside [SHARED], where it is used.
33936
c658d255
RM
33937 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33938
33939 * nss/getent.c (netgroup_keys): Remove unused variable.
33940 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33941
6a621eb7
UD
339422011-10-08 Ulrich Drepper <drepper@gmail.com>
33943
7edb55ce
UD
33944 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33945 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33946 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33947 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33948 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33949 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33950 * math/Makefile (libm-calls): Add s_isinf_ns.
33951 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33952 * math/multc3.c: Likewise.
33953 * math/s_casin.c: Likewise.
33954 * math/s_casinf.c: Likewise.
33955 * math/s_casinl.c: Likewise.
33956 * math/s_ccos.c: Likewise.
33957 * math/s_ccosf.c: Likewise.
33958 * math/s_ccosl.c: Likewise.
33959 * math/s_ctan.c: Likewise.
33960 * math/s_ctanf.c: Likewise.
33961 * math/s_ctanh.c: Likewise.
33962 * math/s_ctanhf.c: Likewise.
33963 * math/s_ctanhl.c: Likewise.
33964 * math/s_ctanl.c: Likewise.
33965 * math/w_fmod.c: Likewise.
33966 * math/w_fmodf.c: Likewise.
33967 * math/w_fmodl.c: Likewise.
33968 * math/w_remainder.c: Likewise.
33969 * math/w_remainderf.c: Likewise.
33970 * math/w_remainderl.c: Likewise.
33971 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33972 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33973 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33974 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33975 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33976 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33977 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33978 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33979
187da0ae
UD
33980 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33981 of the number.
33982 * stdio-common/printf_fphex.c: Likewise.
33983 * stdio-common/printf_size.c: Likewise.
33984
9277c064
UD
33985 * math/e_exp10.c: Include math_private.h using <...> not "...".
33986 * math/e_exp10f.c: Likewise.
33987 * math/e_exp10l.c: Likewise.
33988 * math/e_exp2l.c: Likewise.
33989 * math/e_j0l.c: Likewise.
33990 * math/e_j1l.c: Likewise.
33991 * math/e_jnl.c: Likewise.
33992 * math/e_lgammal_r.c: Likewise.
33993 * math/e_rem_pio2l.c: Likewise.
33994 * math/e_scalb.c: Likewise.
33995 * math/e_scalbf.c: Likewise.
33996 * math/e_scalbl.c: Likewise.
33997 * math/k_cosl.c: Likewise.
33998 * math/k_sinl.c: Likewise.
33999 * math/k_tanl.c: Likewise.
34000 * math/s_cacoshf.c: Likewise.
34001 * math/s_catan.c: Likewise.
34002 * math/s_catanf.c: Likewise.
34003 * math/s_catanh.c: Likewise.
34004 * math/s_catanhf.c: Likewise.
34005 * math/s_catanhl.c: Likewise.
34006 * math/s_catanl.c: Likewise.
34007 * math/s_ccosh.c: Likewise.
34008 * math/s_ccoshf.c: Likewise.
34009 * math/s_ccoshl.c: Likewise.
34010 * math/s_cexp.c: Likewise.
34011 * math/s_cexpf.c: Likewise.
34012 * math/s_cexpl.c: Likewise.
34013 * math/s_clog.c: Likewise.
34014 * math/s_clog10.c: Likewise.
34015 * math/s_clog10f.c: Likewise.
34016 * math/s_clog10l.c: Likewise.
34017 * math/s_clogf.c: Likewise.
34018 * math/s_clogl.c: Likewise.
34019 * math/s_csin.c: Likewise.
34020 * math/s_csinf.c: Likewise.
34021 * math/s_csinh.c: Likewise.
34022 * math/s_csinhf.c: Likewise.
34023 * math/s_csinhl.c: Likewise.
34024 * math/s_csinl.c: Likewise.
34025 * math/s_csqrt.c: Likewise.
34026 * math/s_csqrtf.c: Likewise.
34027 * math/s_csqrtl.c: Likewise.
34028 * math/s_ctan.c: Likewise.
34029 * math/s_ctanf.c: Likewise.
34030 * math/s_ctanh.c: Likewise.
34031 * math/s_ctanhf.c: Likewise.
34032 * math/s_ctanhl.c: Likewise.
34033 * math/s_ctanl.c: Likewise.
34034 * math/s_ldexp.c: Likewise.
34035 * math/s_ldexpf.c: Likewise.
34036 * math/s_ldexpl.c: Likewise.
34037 * math/s_significand.c: Likewise.
34038 * math/s_significandf.c: Likewise.
34039 * math/s_significandl.c: Likewise.
34040 * math/w_acos.c: Likewise.
34041 * math/w_acosf.c: Likewise.
34042 * math/w_acosh.c: Likewise.
34043 * math/w_acoshf.c: Likewise.
34044 * math/w_acoshl.c: Likewise.
34045 * math/w_acosl.c: Likewise.
34046 * math/w_asin.c: Likewise.
34047 * math/w_asinf.c: Likewise.
34048 * math/w_asinl.c: Likewise.
34049 * math/w_atan2.c: Likewise.
34050 * math/w_atan2f.c: Likewise.
34051 * math/w_atan2l.c: Likewise.
34052 * math/w_atanh.c: Likewise.
34053 * math/w_atanhf.c: Likewise.
34054 * math/w_atanhl.c: Likewise.
34055 * math/w_cosh.c: Likewise.
34056 * math/w_coshf.c: Likewise.
34057 * math/w_coshl.c: Likewise.
34058 * math/w_dremf.c: Likewise.
34059 * math/w_exp10.c: Likewise.
34060 * math/w_exp10f.c: Likewise.
34061 * math/w_exp10l.c: Likewise.
34062 * math/w_exp2.c: Likewise.
34063 * math/w_exp2f.c: Likewise.
34064 * math/w_fmod.c: Likewise.
34065 * math/w_fmodf.c: Likewise.
34066 * math/w_fmodl.c: Likewise.
34067 * math/w_hypot.c: Likewise.
34068 * math/w_hypotf.c: Likewise.
34069 * math/w_hypotl.c: Likewise.
34070 * math/w_j0.c: Likewise.
34071 * math/w_j0f.c: Likewise.
34072 * math/w_j0l.c: Likewise.
34073 * math/w_j1.c: Likewise.
34074 * math/w_j1f.c: Likewise.
34075 * math/w_j1l.c: Likewise.
34076 * math/w_jn.c: Likewise.
34077 * math/w_jnf.c: Likewise.
34078 * math/w_jnl.c: Likewise.
34079 * math/w_lgamma.c: Likewise.
34080 * math/w_lgamma_r.c: Likewise.
34081 * math/w_lgammaf.c: Likewise.
34082 * math/w_lgammaf_r.c: Likewise.
34083 * math/w_lgammal.c: Likewise.
34084 * math/w_lgammal_r.c: Likewise.
34085 * math/w_log.c: Likewise.
34086 * math/w_log10.c: Likewise.
34087 * math/w_log10f.c: Likewise.
34088 * math/w_log10l.c: Likewise.
34089 * math/w_log2.c: Likewise.
34090 * math/w_log2f.c: Likewise.
34091 * math/w_log2l.c: Likewise.
34092 * math/w_logf.c: Likewise.
34093 * math/w_logl.c: Likewise.
34094 * math/w_pow.c: Likewise.
34095 * math/w_powf.c: Likewise.
34096 * math/w_powl.c: Likewise.
34097 * math/w_remainder.c: Likewise.
34098 * math/w_remainderf.c: Likewise.
34099 * math/w_remainderl.c: Likewise.
34100 * math/w_scalb.c: Likewise.
34101 * math/w_scalbf.c: Likewise.
34102 * math/w_scalbl.c: Likewise.
34103 * math/w_sinh.c: Likewise.
34104 * math/w_sinhf.c: Likewise.
34105 * math/w_sinhl.c: Likewise.
34106 * math/w_sqrt.c: Likewise.
34107 * math/w_sqrtf.c: Likewise.
34108 * math/w_sqrtl.c: Likewise.
34109 * math/w_tgamma.c: Likewise.
34110 * math/w_tgammaf.c: Likewise.
34111 * math/w_tgammal.c: Likewise.
34112
6a621eb7
UD
34113 * po/ja.po: Update from translation team.
34114
bf582445
AJ
341152011-09-29 Andreas Jaeger <aj@suse.de>
34116
f9efbf3a
AJ
34117 [BZ #13179]
34118 * sunrpc/netname.c (netname2host): Fix logic.
34119
bf582445
AJ
34120 [BZ #6779]
34121 [BZ #6783]
34122 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34123 correctly.
34124 * math/w_remainder.c (__remainder): Likewise.
34125 * math/w_remainderf.c (__remainderf): Likewise.
34126 * math/libm-test.inc (remainder_test): Add test cases.
34127
48693bea
AK
341282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34129
34130 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34131 sdiv_qrnnd.
34132
42622229
LD
341332011-10-07 Ulrich Drepper <drepper@gmail.com>
34134
34135 * string/test-memcmp.c: Avoid unncessary #defines.
34136 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34137
093ecf92
LD
341382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34139
34140 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34141 Use new sse2 version for core i3 - i7 as it's faster
34142 than sse42 version.
34143 (bit_Prefer_PMINUB_for_stringop): New.
34144 * sysdeps/x86_64/rawmemchr.S: Update.
34145 Replace with faster SSE2 version.
34146 * sysdeps/x86_64/memrchr.S: New file.
34147 * sysdeps/x86_64/memchr.S: Update.
34148 Replace with faster SSE2 version.
34149
fde56e5c
MP
341502011-09-12 Marek Polacek <mpolacek@redhat.com>
34151
34152 * elf/dl-load.c (lose): Add cast to avoid warning.
34153
21fd49a9
UD
341542011-10-07 Ulrich Drepper <drepper@gmail.com>
34155
5a06e643
UD
34156 * po/ca.po: Update from translation team.
34157
684ae515
UD
34158 * inet/getnetgrent_r.c: Hook up nscd.
34159 * nscd/Makefile (routines): Add nscd_netgroup.
34160 (nscd-modules): Add netgroupcache.
34161 (CFLAGS-netgroupcache.c): Define.
34162 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34163 (cache_search): Add const to second parameter.
34164 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34165 INNETGR.
34166 (dbs): Add netgrdb entry.
34167 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34168 (verify_persistent_db): Handle netgrdb.
34169 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34170 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34171 GETFDNETGR.
34172 (netgroup_response_header): Define.
34173 (innetgroup_response_header): Define.
34174 (datahead): Add netgroup_response_header and innetgroup_response_header
34175 elements.
34176 * nscd/nscd.conf: Add entries for netgroup cache.
34177 * nscd/nscd.h (dbtype): Add netgrdb.
34178 (_PATH_NSCD_NETGROUP_DB): Define.
34179 (netgroup_iov_disabled): Declare.
34180 (xmalloc, xcalloc, xrealloc): Move declarations here.
34181 (cache_search): Adjust prototype.
34182 Add netgroup-related prototypes.
34183 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34184 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34185 (__nscd_innetgr): Declare.
34186 * nscd/selinux.c (perms): Use access_vector_t as element type and
34187 add netgroup-related initializers.
34188 * nscd/netgroupcache.c: New file.
34189 * nscd/nscd_netgroup.c: New file.
34190 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34191 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34192 For four parameters use innetgr.
34193 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34194 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34195 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34196 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34197
21fd49a9
UD
34198 * nscd/connections.c (register_traced_file): Don't register file
34199 for disabled databases.
34200
054c0457
UD
342012011-10-06 Ulrich Drepper <drepper@gmail.com>
34202
32b63198
UD
34203 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34204
054c0457
UD
34205 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34206 from tree and freeing node.
34207
64031225
JO
342082011-09-25 Jiri Olsa <jolsa@redhat.com>
34209
34210 * nss/nsswitch.c (__nss_database_lookup): Handle
34211 nss_parse_service_list out of memory case.
34212
0490345c
JO
342132011-09-15 Jiri Olsa <jolsa@redhat.com>
34214
34215 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34216 out of memory case.
34217
3a62d00d
AS
342182011-10-04 Andreas Schwab <schwab@redhat.com>
34219
34220 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34221 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34222 pass it down.
34223 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34224 elf_machine_rela, elf_machine_lazy_rel.
34225 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34226 (ELF_DYNAMIC_DO_REL): Likewise.
34227 (ELF_DYNAMIC_DO_RELA): Likewise.
34228 (ELF_DYNAMIC_RELOCATE): Likewise.
34229 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34230 to ELF_DYNAMIC_DO_REL.
34231 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34232 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34233 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34234 elf_machine_rela.
34235 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34236 skip_ifunc, don't call ifunc function if non-zero.
34237 (elf_machine_rela): Likewise.
34238 (elf_machine_lazy_rel): Likewise.
34239 (elf_machine_lazy_rela): Likewise.
34240 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34241 (elf_machine_lazy_rel): Likewise.
34242 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34243 Likewise.
34244 (elf_machine_lazy_rel): Likewise.
34245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34246 Likewise.
34247 (elf_machine_lazy_rel): Likewise.
34248 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34249 (elf_machine_lazy_rel): Likewise.
34250 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34251 (elf_machine_lazy_rel): Likewise.
34252 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34253 (elf_machine_lazy_rel): Likewise.
34254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34255 (elf_machine_lazy_rel): Likewise.
34256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34257 (elf_machine_lazy_rel): Likewise.
34258 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34259 (elf_machine_lazy_rel): Likewise.
34260
68577918
UD
342612011-09-28 Ulrich Drepper <drepper@gmail.com>
34262
34263 * nss/nss_files/files-init.c (_nss_files_init): Use static
34264 initialization for all the *_traced_file variables.
34265
68822d74
AS
342662011-09-28 Andreas Schwab <schwab@redhat.com>
34267
34268 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34269
2056100b
RM
342702011-09-27 Roland McGrath <roland@hack.frob.com>
34271
34272 [BZ #13226]
34273 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34274
32c76b63
AS
342752011-09-27 Andreas Schwab <schwab@redhat.com>
34276
34277 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34278 Reread the line before reparsing it.
34279
bf972c9d
AS
342802011-09-26 Andreas Schwab <schwab@redhat.com>
34281
34282 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34283
e057a1b5
JM
342842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34285 Maxim Kuvyrkov <maxim@codesourcery.com>
34286 Joseph Myers <joseph@codesourcery.com>
34287
34288 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34289 if needed for __stack_chk_guard.
34290
bc7e1c36
RM
342912011-09-19 Roland McGrath <roland@hack.frob.com>
34292
ecb1482f
RM
34293 * sysdeps/posix/spawni.c (script_execute): Always define it.
34294 It will be optimized away if unused.
34295 (maybe_script_execute): New function.
34296 (__spawni): Call it.
34297
bc7e1c36
RM
34298 * Makerules: Don't include tls.make.
34299 (config-tls): Always set to thread.
34300 * tls.make.c: File removed.
34301
1c3b002b
MF
343022011-09-19 Mike Frysinger <vapier@gentoo.org>
34303
34304 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34305 * config.make.in (CPPFLAGS-config): New substituted variable.
34306
2840865d
UD
343072011-09-15 Ulrich Drepper <drepper@gmail.com>
34308
88738eb6
UD
34309 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34310
cbf645a6 34311 [BZ #13192]
2840865d
UD
34312 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34313 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34314
b402e91a
RM
343152011-09-15 Roland McGrath <roland@hack.frob.com>
34316
34317 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34318 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34319 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34320 (CALL_FAIL): Likewise.
34321 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34322 (CALL_FAIL): Macro removed.
34323 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34324
4c1a1f71
UD
343252011-09-15 Ulrich Drepper <drepper@gmail.com>
34326
34327 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34328 for __FINITE_MATH_ONLY__ == 1.
34329
edc121be
AS
343302011-09-15 Andreas Schwab <schwab@redhat.com>
34331
34332 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34333 __ieee754_sqrt instead of sqrt.
34334 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34335 __ieee754_sqrtf instead of sqrtf.
34336 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34337 __floorf instead of floorf.
34338 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34339 __floorf, __truncf instead of floorf, truncf.
34340
cd205654
UD
343412011-09-14 Ulrich Drepper <drepper@gmail.com>
34342
ee4d0315
UD
34343 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34344
cd205654
UD
34345 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34346 __extern_always_inline.
34347 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34348 32-bit.
34349
48b67d71
AS
343502011-09-14 Andreas Schwab <schwab@redhat.com>
34351
34352 * elf/rtld.c (dl_main): Also relocate in dependency order when
34353 doing symbol dependency testing.
34354
1ae12c75
AS
343552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34356
34357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34358 Always define `refsym'.
34359
995a80df
AS
343602011-09-13 Andreas Schwab <schwab@redhat.com>
34361
e529793b
AS
34362 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34363 (__FD_ELT): Renamed from __FDELT.
34364 * misc/bits/select2.h (__FD_ELT): Likewise.
34365 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34366 __FD_MASK instead of __FDELT, __FDMASK.
34367 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34368 Likewise.
34369 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34370 Likewise.
34371
52d4fef8
AS
34372 * elf/Makefile (gen-ldd): Fix pattern.
34373
995a80df
AS
34374 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34375 (init_tls): Likewise.
34376
8682f8b0
UD
343772011-09-12 Ulrich Drepper <drepper@gmail.com>
34378
34379 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34380
de82006d
AS
343812011-09-12 Andreas Schwab <schwab@redhat.com>
34382
a7c8e6a1
AS
34383 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34384 `struct cmsghdr *' instead of `void *'.
34385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34386 Likewise.
34387
0f31fe77
AS
343882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34389
34390 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34391 if non-absolute.
34392 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34393 ldd_rewrite_script.
0f31fe77 34394
32b4c839
UD
343952011-09-11 Ulrich Drepper <drepper@gmail.com>
34396
83cd1420
UD
34397 * configure.in: Remove --with-tls option.
34398 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34399 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34400 out in case it is missing.
34401 * sysdeps/ia64/elf/configure.in: Likewise.
34402 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34403 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34404 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34405 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34406 * sysdeps/sh/elf/configure.in: Likewise.
34407 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34408 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34409 * sysdeps/x86_64/elf/configure.in: Likewise.
34410 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34411 * sysdeps/mach/hurd/tls.h: Likewise.
34412
633f745d
UD
34413 [BZ #13067]
34414 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34415
f318beb8
UD
34416 [BZ #13090]
34417 * configure.in: Fix use of AC_INIT.
34418
32b4c839
UD
34419 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34420
3ce1f295
UD
344212011-09-10 Ulrich Drepper <drepper@gmail.com>
34422
bb016596
UD
34423 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34424 __set_errno.
8e58439c
UD
34425 * malloc/hooks.c: Likewise.
34426
aebae053 34427 [BZ #11929]
02d46fc4
UD
34428 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34429 variables statically.
34430 (narenas): Initialize.
34431 (list_lock): Initialize.
bb016596
UD
34432 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34433 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34434 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34435 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34436 Add initializers to main_arena and mp_.
34437 (malloc_state): Remove pagesize member. Change all users to use
34438 GLRO(dl_pagesize).
34439
34440 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34441 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34442 is always initialized.
34443
22a89187
UD
34444 * malloc/malloc.c: Removed unused configurations and dead code.
34445 * malloc/arena.c: Likewise.
34446 * malloc/hooks.c: Likewise.
02d46fc4 34447 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34448
d063d164
UD
34449 * include/tls.h: Removed. USE___THREAD must always be defined.
34450 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34451 * elf/dl-libc.c: Likewise.
34452 * elf/dl-tsd.c: Likewise.
34453 * include/errno.h: Likewise.
34454 * include/netdb.h: Likewise.
34455 * include/resolv.h: Likewise.
34456 * inet/herrno-loc.c: Likewise.
34457 * inet/herrno.c: Likewise.
34458 * malloc/arena.c: Likewise.
34459 * malloc/hooks.c: Likewise.
34460 * malloc/malloc.c: Likewise.
34461 * resolv/res-state.c: Likewise.
34462 * resolv/res_libc.c: Likewise.
34463 * sysdeps/i386/dl-machine.h: Likewise.
34464 * sysdeps/ia64/dl-machine.h: Likewise.
34465 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34466 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34467 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34468 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34469 * sysdeps/sh/dl-machine.h: Likewise.
34470 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34471 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34472 * sysdeps/unix/i386/sysdep.S: Likewise.
34473 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34474 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34478 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34479 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34480 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34483 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34484 * sysdeps/x86_64/dl-machine.h: Likewise.
34485 * tls.make.c: Likewise.
34486
3ce1f295
UD
34487 * configure.in: Remove --with-__thread option. Make tests for
34488 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34489 tls_model attribute fail if no support is available. Remove
34490 USE_IN_LIBIO.
34491 * Makeconfig: Adjust for dropped configure option. All features are
34492 now mandatory.
34493 * Makerules: Likewise.
34494 * Versions.def: Likewise.
34495 * argp/argp-fmtstream.c: Likewise.
34496 * argp/argp-fmtstream.h: Likewise.
34497 * argp/argp-help.c: Likewise.
34498 * assert/assert.c: Likewise.
34499 * config.h.in: Likewise.
34500 * config.make.in: Likewise.
34501 * configure: Likewise.
34502 * configure.in: Likewise.
34503 * csu/Versions: Likewise.
34504 * csu/init.c: Likewise.
34505 * elf/tst-audit2.c: Likewise.
34506 * elf/tst-tls10.c: Likewise.
34507 * elf/tst-tls10.h: Likewise.
34508 * elf/tst-tls11.c: Likewise.
34509 * elf/tst-tls12.c: Likewise.
34510 * elf/tst-tls14.c: Likewise.
34511 * elf/tst-tlsmod11.c: Likewise.
34512 * elf/tst-tlsmod12.c: Likewise.
34513 * elf/tst-tlsmod13.c: Likewise.
34514 * elf/tst-tlsmod13a.c: Likewise.
34515 * elf/tst-tlsmod14a.c: Likewise.
34516 * elf/tst-tlsmod15b.c: Likewise.
34517 * elf/tst-tlsmod16a.c: Likewise.
34518 * elf/tst-tlsmod16b.c: Likewise.
34519 * elf/tst-tlsmod7.c: Likewise.
34520 * elf/tst-tlsmod8.c: Likewise.
34521 * elf/tst-tlsmod9.c: Likewise.
34522 * gmon/gmon.c: Likewise.
34523 * grp/fgetgrent_r.c: Likewise.
34524 * grp/putgrent.c: Likewise.
34525 * hurd/fopenport.c: Likewise.
34526 * include/libc-symbols.h: Likewise.
34527 * include/tls.h: Likewise.
34528 * intl/gettextP.h: Likewise.
34529 * intl/loadinfo.h: Likewise.
34530 * locale/global-locale.c: Likewise.
34531 * locale/localeinfo.h: Likewise.
34532 * mach/devstream.c: Likewise.
34533 * malloc/arena.c: Likewise.
34534 * malloc/set-freeres.c: Likewise.
34535 * misc/err.c: Likewise.
34536 * misc/getttyent.c: Likewise.
34537 * misc/mntent_r.c: Likewise.
34538 * posix/getopt.c: Likewise.
34539 * posix/wordexp.c: Likewise.
34540 * pwd/fgetpwent_r.c: Likewise.
34541 * resolv/Versions: Likewise.
34542 * resolv/res_hconf.c: Likewise.
34543 * shadow/fgetspent_r.c: Likewise.
34544 * shadow/putspent.c: Likewise.
34545 * stdio-common/printf_fphex.c: Likewise.
34546 * stdio-common/tmpfile.c: Likewise.
34547 * stdlib/abort.c: Likewise.
34548 * stdlib/fmtmsg.c: Likewise.
34549 * sunrpc/auth_unix.c: Likewise.
34550 * sunrpc/clnt_perr.c: Likewise.
34551 * sunrpc/clnt_tcp.c: Likewise.
34552 * sunrpc/clnt_udp.c: Likewise.
34553 * sunrpc/clnt_unix.c: Likewise.
34554 * sunrpc/openchild.c: Likewise.
34555 * sunrpc/svc_simple.c: Likewise.
34556 * sunrpc/svc_tcp.c: Likewise.
34557 * sunrpc/svc_udp.c: Likewise.
34558 * sunrpc/svc_unix.c: Likewise.
34559 * sunrpc/xdr.c: Likewise.
34560 * sunrpc/xdr_array.c: Likewise.
34561 * sunrpc/xdr_rec.c: Likewise.
34562 * sunrpc/xdr_ref.c: Likewise.
34563 * sunrpc/xdr_stdio.c: Likewise.
34564
1248c1c4
PB
345652011-09-09 Ulrich Drepper <drepper@gmail.com>
34566
34567 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34568
345692011-07-03 Andreas Jaeger <aj@suse.de>
34570
34571 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34572 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34573 regenerate with gen-libm-tests.pl.
34574
345752010-05-12 Petr Baudis <pasky@suse.cz>
34576
34577 [BZ #11589]
34578 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34579 around j0() zero points by switching to j1().
34580 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34581 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34584
f22e1074
UD
345852011-09-09 Ulrich Drepper <drepper@gmail.com>
34586
f19009c1
UD
34587 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34588 instead of 0.
34589 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34590 instead of 0.
f19009c1
UD
34591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34592 Patch in part by Pavel Roskin <proski@gnu.org>.
34593
3f8cc204
UD
34594 [BZ #13138]
34595 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34596 realloc.
34597 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34598 Free memory block if necessary.
34599
f22e1074
UD
34600 [BZ #12847]
34601 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34602 be NULL. Don't lock in this case.
34603
0a2349f9
RM
346042011-09-09 Roland McGrath <roland@hack.frob.com>
34605
34606 * elf/elf.h (ELFOSABI_GNU): New macro.
34607 (ELFOSABI_LINUX): Define to that.
34608
f3cdd467
DZ
346092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34610
34611 * string/strncat.c (strncat): Undef the symbol in case it has been
34612 defined in bits/string.h.
34613
74718d13
UD
346142011-09-09 Ulrich Drepper <drepper@gmail.com>
34615
633e9e0f
UD
34616 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34617
0a2349f9 34618 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34619 link map.
34620
f9924780
AJ
346212011-08-17 Andreas Jaeger <aj@suse.de>
34622
34623 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34624
7f5517aa
PP
346252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34626 Ian Lance Taylor <iant@google.com>
34627
34628 * math/libm-test.inc (lround_test): New testcase.
34629 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34630
762011fe
UD
346312011-09-08 Ulrich Drepper <drepper@gmail.com>
34632
92963737
UD
34633 * Makefile: Remove support for automatic cvs check-ins.
34634 * Makerules: Likewise.
34635 * config.make.in: Likewise.
34636 * configure.in: Likewise.
34637 * intl/Makefile: Likewise.
34638 * locale/Makefile: Likewise.
34639 * po/Makefile: Likewise.
34640 * posix/Makefile: Likewise.
34641 * sysdeps/gnu/Makefile: Likewise.
34642 * sysdeps/mach/hurd/Makefile: Likewise.
34643 * sysdeps/sparc/sparc32/Makefile: Likewise.
34644
b0727fd8
JS
34645 [BZ #13118]
34646 * posix/Makefile (bug-regex32-ENV): Define.
34647 Patch by John Stanley <jpsinthemix@verizon.net>.
34648
a0f33f99
UD
34649 * misc/Makefile (headers): Add bits/select2.h.
34650 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34651 * misc/bits/select2.h: New file.
34652 * include/bits/select2.h: New file.
34653 * debug/Makefile (routines): Add fdelt_chk.
34654 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34655 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34656 FD_ISSET.
34657 * debug/fdelt_chk.c: New file.
34658
762011fe
UD
34659 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34660 * wcsmbs/test-wmemcmp.c: Likewise.
34661 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34662 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34663
346642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34665
34666 * string/Makefile (strop-tests): Add memcmp.
34667 * string/test-wmemcmp.c: New file.
34668 * string/test-memcmp.c: Add wmemcmp support.
34669
7f513ec8
RM
346702011-09-08 Roland McGrath <roland@hack.frob.com>
34671
0442afb4
RM
34672 [BZ #13153]
34673 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34674 2011-07-19 change.
34675
7f513ec8
RM
34676 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34677 garbage value in a __mach_port_mod_refs call in the cases of the
34678 task-self and thread-self ports.
34679
a12b2239
ST
346802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34681
34682 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34683
610f9ab4
AS
346842011-09-08 Andreas Schwab <schwab@redhat.com>
34685
7f513ec8 34686 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34687
48882a1a
LD
346882011-09-07 Ulrich Drepper <drepper@gmail.com>
34689
b49865be
UD
34690 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34691
fdc86bc9
UD
34692 * elf/dl-libc.c (dlerror_run): Pass back error code from
34693 dl_catch_error.
34694
c966526a
UD
34695 [BZ #13123]
34696 * elf/dl-load.c (lose): Free l_origin if it is valid.
34697
48882a1a
LD
34698 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34699 names.
34700 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34701 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34702 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34703 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34704 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34705 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34706
77a2a8b4
AZ
347072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34708
34709 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34710 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34711 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34712 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34713 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34714 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34715 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34716 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34717 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34718 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34719
24f579d8
AM
347202011-08-15 Alan Modra <amodra@gmail.com>
34721
34722 [BZ #13092]
34723 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34724 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34725 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34726 ppc_mcount to static-only-routines.
34727 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34728 __mcount_internal.
34729 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34730 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34731
3d4837df
UD
347322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34733
34734 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34735 for finite and infinity parameters.
34736
22700377
WS
347372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34738
34739 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34740 and add nop instructions for throughput optimization.
34741 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34742
5025581e
WS
347432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34744
34745 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34746 aligned copy for power7 with vector-scalar instructions.
34747 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34748
08a300c9
L
347492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34750
34751 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34752 AVX check.
34753
59178ef9
AS
347542011-09-07 Andreas Schwab <schwab@redhat.com>
34755
34756 [BZ #13144]
34757 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34758 last change.
34759
e38ba7ab
UD
347602011-09-07 Ulrich Drepper <drepper@gmail.com>
34761
34762 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34763 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34764 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34765 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34766 clock_gettime.
34767
d53a73ac
UD
347682011-09-06 Ulrich Drepper <drepper@gmail.com>
34769
fc8bffcc
UD
34770 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34771 Forgot to demangle the pointer.
34772
ceaa0c5d
UD
34773 * sysdeps/i386/sysdep.h: Define atom_text_section.
34774 * sysdeps/x86_64/sysdep.h: Likewise.
34775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34776 section with atom_text_section.
34777 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34778 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34779 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34781 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34782
a77d3c17
UD
34783 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34784 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34785 already be defined. Change to take two parameters and don't assign
34786 result to variable. Adjust all users.
34787 Define INTERNAL_GETTIME if not already defined.
34788 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34789 call.
34790 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34791 HAVE_CLOCK_GETTIME_VSYSCALL.
34792 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34793
d53a73ac
UD
34794 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34795 gettimeofday vsyscall, just use time.
34796
a8f84144
AS
347972011-09-06 Andreas Schwab <schwab@redhat.com>
34798
34799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34800 <errno.h>.
34801
ef606249
UD
348022011-09-06 Ulrich Drepper <drepper@gmail.com>
34803
34804 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34805 syscall on x86-64.
34806 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34807 syscall.
34808 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34809 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34810 syscall if possible.
34811
6585cb60
UD
348122011-09-05 Ulrich Drepper <drepper@gmail.com>
34813
34814 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34815 e_ident. Don't pass to find_mapsXX.
34816 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34817
a5f524e4
LD
348182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34819
34820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34821 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34822 * sysdeps/x86_64/multiarch/strchr.S: Update.
34823 Check bit_slow_BSF bit.
34824 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34825 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34826 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34827
554881ef
UD
348282011-09-05 Ulrich Drepper <drepper@gmail.com>
34829
d96de963
UD
34830 [BZ #13134]
34831 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34832 before glibc 2.15.
34833 (tryshell): Define.
34834 (__spawni): Change last parameter to be flag. Test
34835 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34836 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34837 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34838 * posix/spawni.c: Likewise.
34839 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34840 * posix/spawnp.c: Likewise. Change normal version to use
34841 SPAWN_XFLAGS_USE_PATH.
34842 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34843 SPAWN_XFLAGS_TRY_SHELL.
34844
d48e5868
UD
34845 [BZ #13150]
34846 * posix/glob.h: Remove gcc 1.x support.
34847
554881ef
UD
34848 [BZ #13068]
34849 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34850
693fb948
LD
348512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34852
34853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34854 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34855 strrchr-sse2-bsf
34856 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34857 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34858 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34859 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34860 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34861 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34862
1b48c537
UD
348632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34864
49d42c37
UD
34865 * sysdeps/x86_64/wcscmp.S: New file.
34866
1b48c537
UD
34867 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34868 wcscmp-c wcscmp-sse2
34869 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34870 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34871 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34872 * wcsmbs/wcscmp.c: Allow renaming.
34873
15c95c5d
DM
348742011-09-05 David S. Miller <davem@davemloft.net>
34875
34876 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34877 stack slot, rather than the struct return pointer slot.
34878 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34879 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34881 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34882
2f0ad8f3
UD
348832011-09-05 Ulrich Drepper <drepper@gmail.com>
34884
d88ae418
UD
34885 * po/ja.po: Update from translation team.
34886
2f0ad8f3
UD
34887 [BZ #13144]
34888 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34889 kernel in 64-bit binaries.
34890
5f4318d1
DM
348912011-09-01 David S. Miller <davem@davemloft.net>
34892
34893 * elf/elf.h (HWCAP_SPARC_*): Move to..
34894 * sysdeps/sparc/sysdep.h: this new file and add new values.
34895 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34896 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34897 _DL_HWCAP_COUNT to 24.
34898 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34899 entries.
34900 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34901 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34902 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34904 instead of magic constants.
34905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34906
3ba57516
DM
349072011-08-31 David S. Miller <davem@davemloft.net>
34908
34909 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34911 Reimplement to do errno handling inline.
34912 (SYSCALL_ERROR_HANDLER): New macro.
34913 (__SYSCALL_STRING): Do not do errno handling in asm.
34914 (__CLONE_SYSCALL_STRING): Delete.
34915 (__INTERNAL_SYSCALL_STRING): Delete.
34916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34917 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34918 (PSEUDO): Reimplement to do errno handling inline.
34919 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34920 (SYSCALL_ERROR_HANDLER): New macro.
34921 (__SYSCALL_STRING): Do not do errno handling in asm.
34922 (__CLONE_SYSCALL_STRING): Delete.
34923 (__INTERNAL_SYSCALL_STRING): Delete.
34924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34925 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34926 i386.
34927 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34928 (inline_syscall*): Add 'err' argument.
34929 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34930 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34931 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34932 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34933
34934 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34935 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34936
2bc17433
AS
349372011-08-30 Andreas Schwab <schwab@redhat.com>
34938
34939 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34940
fbeb5f4d
JO
349412011-08-29 Jiri Olsa <jolsa@redhat.com>
34942
34943 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34944 directive.
34945
ad69cc26
DM
349462011-08-24 David S. Miller <davem@davemloft.net>
34947
34948 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34949
39dd69df
AS
349502011-08-24 Andreas Schwab <schwab@redhat.com>
34951
34952 * elf/Makefile: Add rules to build and run unload8 test.
34953 * elf/unload8.c: New file.
34954 * elf/unload8mod1.c: New file.
34955 * elf/unload8mod1x.c: New file.
34956 * elf/unload8mod2.c: New file.
34957 * elf/unload8mod3.c: New file.
34958
34959 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34960 it wasn't used.
34961
2c0b250a
DM
349622011-08-23 David S. Miller <davem@davemloft.net>
34963
34964 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34965 subtract stack bias.
34966 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34967 %sp not %fp in calculations.
34968 (_JMPBUF_UNWINDS_ADJ): Likewise.
34969
22044b48
DM
34970 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34971 (aio_suspend): Call it to force an exception region around the
34972 AIO_MISC_WAIT() invocation.
34973
2cae4995
AS
349742011-08-23 Andreas Schwab <schwab@redhat.com>
34975
34976 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34977 backslash.
34978
873a772e
AJ
349792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34980
34981 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34982 protection macro.
34983 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34984 and <dl-machine.h>.
34985 (Elf64_FuncDesc): Remove.
34986
25ad0df1
DM
349872011-08-22 David S. Miller <davem@davemloft.net>
34988
34989 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34990 sigaltstack check, add missing cfi directives.
34991 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34992 missing cfi directives, and sigaltstack handling.
34993
e888bcbe
AS
349942011-08-16 Andreas Schwab <schwab@redhat.com>
34995
34996 [BZ #11724]
34997 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34998 object is seen twice.
34999 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35000
35001 * elf/Makefile (distribute): Add tst-initorder2.c.
35002 (tests): Add tst-initorder2.
35003 (modules-names): Add tst-initorder2a tst-initorder2b
35004 tst-initorder2c tst-initorder2d. Add rules to build them.
35005 ($(objpfx)tst-initorder2.out): New rule.
35006 * elf/tst-initorder2.c: New file.
35007 * elf/tst-initorder2.exp: New file.
35008
87162f46
AS
350092011-08-22 Andreas Schwab <schwab@redhat.com>
35010
70538b7f
AS
35011 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35012
f55ffe58
AS
35013 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35014 dependencies back to end of function.
35015
87162f46
AS
35016 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35017 $(elfobjdir)/ld.so.
35018
91b392a4
UD
350192011-08-21 Ulrich Drepper <drepper@gmail.com>
35020
35021 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35022 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35024 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35025 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35026 of __vdso_gettimeofday.
35027 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35028 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35029 attribute_hidden.
35030 (_libc_vdso_platform_setup): Remove initialization of
35031 __vdso_gettimeofday and __vdso_time.
35032
5c43483f
UD
350332011-08-20 Ulrich Drepper <drepper@gmail.com>
35034
775a77e7
UD
35035 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35036 and fgetc_unlocked.
35037 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35038 getc_unlocked.
89f447ed 35039
49c74ba9
UD
35040 * elf/dl-open.c (add_to_global): Report additions to the global scope
35041 for LD_DEBUG=scopes.
35042 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 35043 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 35044
5c43483f
UD
35045 [BZ #13114]
35046 * stdio-common/Makefile (tests): Add bug24.
35047 * stdio-common/bug24.c: New file.
35048
a101b025
AJ
350492011-08-19 Andreas Jaeger <aj@suse.de>
35050
35051 [BZ #13114]
35052 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35053 non-existant file when using close-on-exec mode.
35054
c88f1766
UD
350552011-08-20 Ulrich Drepper <drepper@gmail.com>
35056
0276a718
UD
35057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35058 the very first instruction.
35059
c88f1766
UD
35060 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35061 the CFI state in the end.
35062 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35063 inclusion of dl-trampoline.h.
35064 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35065
51ccffa0
AS
350662011-08-19 Andreas Schwab <schwab@redhat.com>
35067
94d7165f
AS
35068 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35069 expectations for long double.
35070
51ccffa0
AS
35071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35072 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35073
fd708658 350742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
35075
35076 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35077 artificual limit depends upon the system page size.
35078
44f0a71e
UD
350792011-08-17 Ulrich Drepper <drepper@gmail.com>
35080
35081 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35082 * resolv/Makefile: Define CFLAGS-libresolv.
35083
8de79a24
AS
350842011-08-17 Andreas Schwab <schwab@redhat.com>
35085
35086 * nss/makedb.c (compute_tables): Make variables used in nested
35087 function static.
35088
27724598
UD
350892011-08-17 Ulrich Drepper <drepper@gmail.com>
35090
c5305d88
UD
35091 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35092 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35093 if buffer was too small.
35094
27724598
UD
35095 * elf/pldd.c (main): Attach to all threads in the process.
35096 Rewrite /proc handling to use *at functions.
35097
076fe015
UD
350982011-08-16 Ulrich Drepper <drepper@gmail.com>
35099
174baab3
UD
35100 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35101 specifies first scope to show.
35102 (dl_open_worker): Update callers. Move printing scope of new
35103 object to before the relocation.
44f0a71e 35104 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
35105 * sysdeps/generic/ldsodefs.h: Update declaration.
35106
076fe015
UD
35107 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35108 string for the scope number.
35109
a60df2c3
UD
351102011-08-14 Ulrich Drepper <drepper@gmail.com>
35111
35112 * nscd/servicescache.c (cache_addserv): Make sure written is always
35113 initialized.
35114
5e4287d1
RM
351152011-08-14 Roland McGrath <roland@hack.frob.com>
35116
85ae0589
RM
35117 * sysdeps/i386/i486/bits/atomic.h
35118 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35119 statement expression, so as to suppress "set but not used" warning.
35120 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35121
69f63097
RM
35122 * string/strncat.c (STRNCAT): Use prototype definition.
35123
675456ef
RM
35124 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35125 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35126 -Iprograms here.
35127 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35128 (localedef-modules): Add localedef.
35129 (locale-modules): Add locale.
35130
5e4287d1
RM
35131 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35132 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35133 to avoid a warning.
35134
9c96ff23
DM
351352011-08-14 David S. Miller <davem@davemloft.net>
35136
35137 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35138 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35139
f9ddf089
UD
351402011-08-13 Ulrich Drepper <drepper@gmail.com>
35141
44f0a71e 35142 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
35143 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35144 * elf/rtld.c (dl_main): Set l_name of vDSO.
35145 Call _dl_show_scope when DL_DEBUG_SCOPES.
35146 (process_dl_debug): Recognize scopes flag and also set it for all.
35147 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35148 Declare _dl_show_scope.
35149
1dc27704
UD
35150 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35151 (do_dlopen): Pass caller_dlopen to dl_open.
35152 (__libc_dlopen_mode): Initialize caller_dlopen.
35153
f9ddf089
UD
35154 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35155 of libc. Make tolower call locale-independent. Optimize a bit by
35156 using isdigit instead of isalnum.
35157 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35158
9ac533d3
UD
351592011-08-12 Ulrich Drepper <drepper@gmail.com>
35160
35161 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35162 was a dependency or dynamically loaded.
35163
89edf2e9
UD
351642011-08-11 Ulrich Drepper <drepper@gmail.com>
35165
8e999d29
UD
35166 * intl/l10nflist.c: Allow architecture-specific pop function.
35167 * sysdeps/x86_64/l10nflist.c: New file.
35168
89edf2e9
UD
35169 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35170 classification.
35171
14d96785
AS
351722011-08-10 Andreas Schwab <schwab@redhat.com>
35173
35174 * include/dirent.h: Add libc_hidden_proto for scandirat and
35175 scandirat64. Don't declare __scandirat64.
35176 * dirent/scandirat.c: Add libc_hidden_def.
35177 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35178 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35179
6761ac04
DM
351802011-08-10 David S. Miller <davem@davemloft.net>
35181
35182 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35183 enum.
35184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35185 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35186 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35187
c55fbd1e
UD
351882011-08-09 Ulrich Drepper <drepper@gmail.com>
35189
35190 * Versions.def [libc]: Add GLIBC_2.15.
35191 * dirent/Makefile (routines): Add scandirat and scandirat64.
35192 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35193 GLIBC_2.15.
35194 * dirent/dirent.h: Declare scandirat and scandirat64.
35195 * dirent/scandirat.c: New file.
35196 * dirent/scandirat64.c: New file.
35197 * sysdeps/wordsize-64/scandirat.c: New file.
35198 * sysdeps/wordsize-64/scandirat64.c: New file.
35199 * dirent/opendir.c: Define opendirat.
35200 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35201 using scandirat.
35202 * dirent/scandir64.c: Adjust for scandir.c change.
35203 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35204 __scandirat64, and __scandir_cancel_handler.
35205 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35206 additional parameter and use openat instead of open (outside of ld.so).
35207 Add new __opendir as wrapper around __opendirat.
35208 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35209 here without requiring old scandirat implementation.
35210
879165f2
UD
352112011-08-08 Ulrich Drepper <drepper@gmail.com>
35212
35213 * dirent/scandir.c (cancel_handler): Renamed to
35214 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35215 defined. Adjust users.
35216 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35217 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35218
cb7e923b
UD
352192011-08-04 Ulrich Drepper <drepper@gmail.com>
35220
16292edd
UD
35221 * string/test-string.h (IMPL): Use __STRING to expand name and then
35222 stringify it.
35223
cb7e923b
UD
35224 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35225 of cleanups.
35226
cff82933
LD
352272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35228
35229 * string/Makefile: Update.
35230 (strop-tests): Append strncat.
35231 * string/test-wcscmp.c: New file.
35232 New comprehensive test for wcscmp.
35233 * string/test-strcmp.c: Update.
35234 (WIDE): New define.
35235
9be9bfcc
AS
352362011-07-22 Andreas Schwab <schwab@redhat.com>
35237
35238 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35239 line.
35240
2e96f1c7
AS
352412011-07-26 Andreas Schwab <schwab@redhat.com>
35242
35243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35244 encoding to ACE if AI_IDN.
35245
85188888
JJ
352462011-08-01 Jakub Jelinek <jakub@redhat.com>
35247
35248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35249 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35250
5fa16e9b
LD
352512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35252
35253 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35254 Fix overflow bug in strncat.
35255 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35256
35257 * string/test-strncat.c: Update.
35258 Add new tests for checking overflow bugs.
35259
352602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35261
35262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35263 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35264 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35265 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35266 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35267 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35268 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35269 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35270 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35271
35272 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35273 (USE_AS_STRCAT): Define.
35274 Add strcat and strncat support.
35275 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35276
8c1a459f
AS
352772011-07-25 Andreas Schwab <schwab@redhat.com>
35278
35279 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35280 __n bigger than INT_MAX+1.
35281 (__strncmp_g): Likewise.
35282
bba33c28
UD
352832011-07-23 Ulrich Drepper <drepper@gmail.com>
35284
798be72d
UD
35285 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35286 * libio/stido.h: Likewise.
35287
8accd4dc
UD
35288 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35289 (AF_NFC): Define.
35290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35291 (AF_NFC): Define.
35292
cbff0d96
UD
35293 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35294 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35295 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35296 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35297 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35298
9191c04a
UD
35299 [BZ #13021]
35300 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35301 installed.
35302
bba33c28
UD
35303 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35304 typo.
35305 (_dl_x86_64_save_sse): Likewise.
35306
90f139dd
UD
353072011-07-22 Ulrich Drepper <drepper@gmail.com>
35308
1aae088a
UD
35309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35310 OSXSAVE.
35311 (_dl_x86_64_save_sse): Likewise.
35312
8e2045f5
UD
35313 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35314
90f139dd
UD
35315 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35316
1d002f25
AS
353172011-07-21 Andreas Schwab <schwab@redhat.com>
35318
35319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35320 change.
35321 (_dl_x86_64_save_sse): Use correct AVX check.
35322
21137f89
UD
353232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35324
35325 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35326 bug in strncpy/strncat.
35327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35328
a65c0b7a
UD
353292011-07-21 Ulrich Drepper <drepper@gmail.com>
35330
35331 * string/tester.c (test_strcat): Add tests for different alignments
35332 of source and destination.
35333 (test_strncat): Likewise.
35334
6986b98a
UD
353352011-07-20 Ulrich Drepper <drepper@gmail.com>
35336
90bb2039
UD
35337 [BZ #12852]
35338 * posix/glob.c (glob): Check passed in values before using them in
35339 expressions to avoid some overflows.
35340 (glob_in_dir): Likewise.
35341
5644ef54
UD
35342 [BZ #13007]
35343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35344 check for AVX enablement so that we don't crash with old kernels and
35345 new hardware.
35346 * elf/tst-audit4.c: Add same checks here.
35347 * elf/tst-audit6.c: Likewise.
35348
35349 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35350
bfc9dc9b
AS
353512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35352
35353 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35354
702e64bb
UD
353552011-07-20 Ulrich Drepper <drepper@gmail.com>
35356
35357 * po/cs.po: Update from translation team.
35358 * po/bg.po: Likewise.
35359
295e904f
MP
353602011-07-12 Marek Polacek <mpolacek@redhat.com>
35361
35362 * misc/sys/cdefs.h: Add support for const attribute.
35363 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35364 to gnu_dev_{major,minor,makedev} functions.
35365
3ff94596
MP
353662011-07-20 Marek Polacek <mpolacek@redhat.com>
35367
35368 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35369
28b59fca
AS
353702011-07-20 Andreas Schwab <schwab@redhat.com>
35371
35372 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35373 strlen results.
35374
19df733e
AK
353752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35376
35377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35378 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35379 register in order to avoid conflicts with the soft frame pointer
35380 being held in r11 when necessary.
35381 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35382 (INTERNAL_VSYSCALL_NCS): Likewise.
35383
c8835729
MP
353842011-07-14 Marek Polacek <mpolacek@redhat.com>
35385
35386 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35387 * elf/dl-fini.c (_dl_fini): Adjust caller.
35388 * elf/dl-close.c (_dl_close_worker): Likewise.
35389 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35390
b902330c
MP
353912011-07-15 Marek Polacek <mpolacek@redhat.com>
35392
8991e135
MP
35393 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35394 "aux_cache->nlibs < 0".
35395
b902330c
MP
35396 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35397 in the reload-count case.
35398
99710781
LD
353992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35400
35401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35402 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35403 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35404 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35405 * sysdeps/x86_64/multiarch/strcat.S: New file.
35406 * sysdeps/x86_64/multiarch/strncat.S: New file.
35407 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35408 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35409 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35410 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35411 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35412 (USE_AS_STRCAT): Define.
35413 Add strcat and strncat support.
35414 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35415 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35416 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35417 * string/strncat.c: Update.
35418 (USE_AS_STRNCAT): Define.
35419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35420 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35421 and i7.
35422 * sysdeps/x86_64/multiarch/init-arch.h
35423 (bit_Prefer_PMINUB_for_stringop): New.
35424 (index_Prefer_PMINUB_for_stringop): Likewise.
35425 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35426 bit_Prefer_PMINUB_for_stringop.
35427
7dc6bd90
UD
354282011-07-19 Ulrich Drepper <drepper@gmail.com>
35429
35430 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35431 buffer64.
35432 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35433 of casting of buffer.
35434 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35435 buffer32 and buffer64.
35436 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35437 writes instead of casting of buffer.
35438 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35439 buffer32.
35440 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35441 casting of buffer.
35442
e0e72284
AS
354432011-07-19 Andreas Schwab <schwab@redhat.com>
35444
35445 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35446
feb1eb0b
UD
354472011-07-19 Ulrich Drepper <drepper@gmail.com>
35448
35449 * nscd/nscd.c (termination_handler): Don't do anything for a database
35450 if it has not yet been initialized.
35451
298711ff
UD
354522011-07-18 Ulrich Drepper <drepper@gmail.com>
35453
35454 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35455
354562011-07-15 Marek Polacek <mpolacek@redhat.com>
35457
35458 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35459
f9d68389
UD
354602011-07-18 Ulrich Drepper <drepper@gmail.com>
35461
35462 * po/nl.po: Update from translation team.
35463 * po/sv.po: Likewise.
35464
db290cf5
RM
354652011-07-16 Roland McGrath <roland@hack.frob.com>
35466
35467 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35468 now disallowed by GCC.
5c550700 35469
fd5e21c7
RM
35470 * configure.in (use-default-link): Default to yes if a test -shared
35471 link meets our qualifications.
35472 * configure: Regenerated.
35473
5c550700
RM
35474 * config.make.in (output-format): New variable.
35475 * configure.in: Check for ld --print-output-format support.
35476 * configure: Regenerated.
35477 * Makerules ($(common-objpfx)format.lds)
35478 [$(output-format) != unknown]: Just use $(output-format),
35479 instead of the linker-script munging.
35480
9fa2c032
RM
354812011-07-14 Roland McGrath <roland@hack.frob.com>
35482
a6928d51
RM
35483 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35484 of $(common-objpfx)shlib.lds.
35485 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35486
661607b3
RM
35487 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35488 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35489
9fa2c032
RM
35490 * configure.in (-z relro check): Adjust test code to add a large
35491 writable data section after it.
35492 * configure: Regenerated.
35493
defe9061
RM
354942011-07-11 Roland McGrath <roland@hack.frob.com>
35495
35496 * configure.in (-z relro check): Fix test code to make the variable
35497 truly const.
35498 * configure: Regenerated.
35499
319b9ad4
UD
355002011-07-11 Ulrich Drepper <drepper@gmail.com>
35501
35502 * nscd/nscd.h (struct traced_file): Define.
35503 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35504 elements. Add traced_files.
35505 (inotify_fd): Declare.
35506 (register_traced_file): Declare.
35507 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35508 (inotify_fd): Export.
35509 (resolv_conf_descr): Remove.
35510 (nscd_init): Move inotify descriptor creation to main.
35511 Don't register files for notification here.
35512 (register_traced_file): New function.
35513 (invalidate_cache): Don't use reset_res to determine whether to call
35514 res_init, go through the list of registered files.
35515 (main_loop_poll): The inotify descriptors are now stored in the
35516 structures for the traced files.
35517 (main_loop_epoll): Likewise
35518 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35519 to __nss_disable_nscd.
35520 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35521 for a database anymore. Check the records for all the registered
35522 files instead.
35523 * nss/Makefile (libnss_files-routines): Add files-init.
35524 (libnss_db-routines): Add db-init.
35525 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35526 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35527 * nss/nss_db/db-init.c: New file.
35528 * nss/nss_files/files-init.c: New file.
35529 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35530 __nss_lookup_function.
35531 (__nss_lookup_function): Call nss_load_library.
35532 (nss_load_all_libraries): New function.
35533 (__nss_disable_nscd): Take parameter with callback function for files
35534 to register. Set is_nscd. Load all the DSOs for the NSS modules
35535 used for the cached services.
35536 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35537 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35538 options for features to all the files in nscd.
35539
35540 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35541
23bee3e8
RM
355422011-07-10 Roland McGrath <roland@hack.frob.com>
35543
35544 * csu/elf-init.c (__libc_csu_init): Comment typo.
35545
46a5b7f0
UD
355462011-07-09 Ulrich Drepper <drepper@gmail.com>
35547
35548 * po/pl.po: Update from translation team.
35549 * po/ja.po: Likewise.
35550 * po/ru.po: Likewise.
35551 * po/ko.po: Likewise.
35552 * po/fr.po: Likewise.
35553
d30cf5bb
RM
355542011-07-09 Roland McGrath <roland@hack.frob.com>
35555
113ddea4
RM
35556 * configure.in (.ctors/.dtors header and trailer check):
35557 Use an empirical test on a built program.
35558 * configure: Regenerated.
35559
574920b4
RM
35560 * configure.in (-z relro check): Use an empirical test on a built DSO.
35561 Detect, but do not require, on ia64.
35562 * configure: Regenerated.
35563
d30cf5bb
RM
35564 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35565 Update tests that use readelf to use $READELF instead.
35566 * configure: Regenerated.
35567
8538fdb3
UD
355682011-07-08 Ulrich Drepper <drepper@gmail.com>
35569
35570 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35571 if the result is not used.
35572
04d08991
AJ
355732011-07-05 Andreas Jaeger <aj@suse.de>
35574
35575 [BZ#9696]
35576 * stdlib/tst-strtod.c: Add testcase.
35577
de283087
AD
355782011-07-07 Ulrich Drepper <drepper@gmail.com>
35579
4e5f31c8 35580 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35581 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35582 The latter has a higher limit. Take additional parameter to pass to
35583 the new function.
35584 (__pathconf): Pass file to __statfs_link_max.
35585 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35586 __statfs_link_max.
35587 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35588 __statfs_link_max.
35589
de283087
AD
35590 [BZ #12868]
35591 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35592 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35593 Handle Lustre.
35594 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35595 (__statfs_filesize_max): Likewise.
35596 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35597
c75fa153
AJ
355982011-07-05 Andreas Jaeger <aj@suse.de>
35599
35600 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35601
1a544854
UD
356022011-07-06 Marek Polacek <mpolacek@redhat.com>
35603
35604 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35605 `status' variable.
35606 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35607 Likewise.
35608
6f0eec67
UD
356092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35610
35611 * Makefile (strop-tests): Add strncat.
35612 * string/test-strncat.c: New file.
35613
aae30307
UD
356142011-06-30 Marek Polacek <mpolacek@redhat.com>
35615
35616 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35617
c0cfb5eb
UD
356182011-06-21 Andreas Jaeger <aj@suse.de>
35619
35620 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35621 Copy rule from iconvdata/Makefile.
35622
01636b21
UD
356232011-07-06 Ulrich Drepper <drepper@gmail.com>
35624
35625 [BZ #12922]
35626 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35627 but no long options are defined, just return 'W'.
35628
9895c8bc
UD
356292011-06-22 Marek Polacek <mpolacek@redhat.com>
35630
35631 [BZ #9696]
35632 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35633
5d4cf042
UD
356342011-07-06 Ulrich Drepper <drepper@gmail.com>
35635
35636 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35637 netgroups to read.
960e5535 35638 (innetgr): Likewise.
5d4cf042 35639
751eb97e
RM
356402011-07-05 Roland McGrath <roland@hack.frob.com>
35641
35642 * config.make.in (install_root): Default to $(DESTDIR).
35643
f15f1e45
UD
356442011-07-05 Ulrich Drepper <drepper@gmail.com>
35645
35646 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35647
4e34ac6a
RM
356482011-07-02 Roland McGrath <roland@hack.frob.com>
35649
5e9b6af4
RM
35650 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35651
84f9ea0f
RM
35652 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35653 containing directory rather than embedding absolute directory names.
35654
ea5ee9f7
RM
35655 * scripts/check-local-headers.sh: Rewritten using awk.
35656 Match by word, not by line. Print error messages for matches.
35657 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35658
1b74661a
RM
35659 * Makerules [shlib-lds-flags empty]:
35660 ($(common-objpfx)libc_pic.opts): New target.
35661 ($(common-objpfx)libc_pic.os.clean): New target.
35662 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35663
35664 * config.make.in (OBJCOPY): New variable.
35665 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35666 * configure: Regenerated.
35667
f781ef40
RM
35668 * config.make.in (use-default-link): New variable.
35669 * configure.in (use_default_link): Grok --with-default-link to set it.
35670 * configure: Regenerated.
35671 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35672 (shlib-lds, shlib-lds-flags): Define to empty.
35673
2d4fa81e
RM
35674 * Makerules (shlib-lds): New variable.
35675 (shlib-lds-flags): New variable.
35676 (build-shlib, build-moduile, build-module-asneeded): Use it.
35677 ($(common-objpfx)libc.so): Use $(shlib-lds).
35678 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35679 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35680
31fffa6b
RM
35681 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35682 DT_FLAGS/DT_FLAGS_1 with zero flags.
35683
4e34ac6a
RM
35684 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35685 linker script munging.
35686
fcfc776b
UD
356872011-07-02 Ulrich Drepper <drepper@gmail.com>
35688
35689 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35690 as 128-bit value.
35691 * crypt/sha512.c (sha512_process_block): Perform total addition using
35692 128-bit if possible.
35693 (__sha512_finish_ctx): Likewise.
35694 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35695 as 64-bit value.
35696 * crypt/sha256.c (SWAP64): Define.
35697 (sha256_process_block): Perform total addition using 64-bit if
35698 possible.
35699 (__sha256_finish_ctx): Likewise.
35700
99231d9a
UD
357012011-07-01 Ulrich Drepper <drepper@gmail.com>
35702
35703 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35704 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35705 * nscd/hstcache.c (cache_addhst): Likewise.
35706 * nscd/grpcache.c (cache_addgr): Likewise.
35707 * nscd/aicache.c (addhstaiX): Likewise
35708 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35709
445b4a53
TK
357102011-07-01 Thorsten Kukuk <kukuk@suse.de>
35711
35712 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35713 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35714 * nscd/hstcache.c (cache_addhst): Likewise.
35715 * nscd/grpcache.c (cache_addgr): Likewise.
35716 * nscd/aicache.c (addhstaiX): Likewise
35717
6d4d8e8e
AS
357182011-07-01 Andreas Schwab <schwab@redhat.com>
35719
35720 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35721 domain only when needed.
35722
89f654c5
AS
357232011-06-30 Andreas Schwab <schwab@redhat.com>
35724
35725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35726 is always restored.
35727
cf3b23ff
UD
357282011-06-29 Ulrich Drepper <drepper@gmail.com>
35729
35730 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35731 are re-adding the entry.
35732 * nscd/servicescache.c (cache_addserv): Likewise.
35733
751626f9
AJ
357342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35735
35736 * sysdeps/generic/dl-irel.h: fix protection against multiple
35737 inclusions.
35738 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35739
9113ea1f
UD
357402011-06-28 Ulrich Drepper <drepper@gmail.com>
35741
5c0b8d90
UD
35742 [BZ #12935]
35743 * malloc/memusage.sh: Fix quoting in message.
35744 * debug/xtrace.sh: Likewise.
35745
9113ea1f
UD
35746 * configure.in: Remove support for --experimental-malloc option, make
35747 it the default.
35748 * config.make.in: Likewise.
35749 * malloc/Makefile: Likewise.
35750
a4172181
AS
357512011-06-27 Andreas Schwab <schwab@redhat.com>
35752
35753 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35754 two-byte characters.
35755
78a7eee7
RM
357562011-06-27 Roland McGrath <roland@hack.frob.com>
35757
62bede13
RM
35758 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35759 AC_CACHE_CHECK invocation.
35760 * configure: Regenerated.
35761
78a7eee7
RM
35762 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35763
5ce33a62
UD
357642011-06-27 Ulrich Drepper <drepper@gmail.com>
35765
034807a9
UD
35766 [BZ #12350]
35767 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35768 bit from old_res_options.
35769
4902da17
UD
35770 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35771
5ce33a62
UD
35772 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35773 value type for setfct.
35774
c2344f56
L
357752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35776
35777 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35778 __gettimeofday instead of gettimeofday.
35779
68468076
UD
357802011-06-26 Ulrich Drepper <drepper@gmail.com>
35781
35782 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35783
acb0d739
L
357842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35785
35786 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35787
35788 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35789 info.
35790
8912479f
L
357912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35792
35793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35794 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35795 strcpy-sse2-unaligned strncpy-sse2-unaligned
35796 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35797 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35798 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35799 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35800 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35801 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35802 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35803 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35804 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35805 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35806 (STRCPY): Support SSE2 and SSSE3 versions.
35807
d5495a11
UD
358082011-06-24 Ulrich Drepper <drepper@gmail.com>
35809
35810 [BZ #12874]
35811 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35812 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35813 kernels which artificially limit size of requests.
35814
0b1cbaae
L
358152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35816
35817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35818 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35819 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35820 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35821 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35822 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35823 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35824 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35825 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35826 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35827 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35828 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35829 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35830 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35831 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35833 Enable unaligned load optimization for Intel Core i3, i5 and i7
35834 processors.
35835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35836 Define.
35837 (index_Fast_Unaligned_Load): Define.
35838 (HAS_FAST_UNALIGNED_LOAD): Define.
35839
07f494a0
MP
358402011-06-23 Marek Polacek <mpolacek@redhat.com>
35841
35842 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35843
fa3fc0fe
UD
358442011-06-22 Ulrich Drepper <drepper@gmail.com>
35845
35846 [BZ #12907]
35847 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35848 until it is clear that the information is realy needed.
35849 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35850
e12df166
AS
358512011-06-22 Andreas Schwab <schwab@redhat.com>
35852
35853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35854
852eb34d
UD
358552011-06-22 Ulrich Drepper <drepper@gmail.com>
35856
84e2a551
UD
35857 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35858 /sys/devices/system/cpu/online if it is usable.
35859
852eb34d
UD
35860 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35861 reading the information from the /proc filesystem to once a second.
35862
6e502e19
UD
358632011-06-21 Andreas Jaeger <aj@suse.de>
35864
35865 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35866 NULL after inclusion of kernel headers.
35867
75d39ff2
UD
358682011-06-21 Ulrich Drepper <drepper@gmail.com>
35869
51f9aa6a
UD
35870 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35871 calls to internal_setent.
35872
c0244a9d
UD
35873 [BZ #12885]
35874 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35875 addresses using gethostbyname4_r ignore IPv4 addresses.
35876
c5e3c2ae
UD
35877 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35878 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35879
75d39ff2
UD
35880 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35881
42675c6f
DM
358822011-06-20 David S. Miller <davem@davemloft.net>
35883
35884 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35885 inclusions.
35886 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35887
35888 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35889 (elf_irel): Use it.
35890 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35891 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35892 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35893 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35894 * sysdeps/x86_64/dl-irel.h: Likewise.
35895
35896 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35897 * elf/dl-sym.c: Likewise.
35898
57912a71
UD
358992011-06-15 Ulrich Drepper <drepper@gmail.com>
35900
35901 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35902 need to dereference resplen2.
35903
ee22793d
AS
359042011-06-14 Andreas Schwab <schwab@redhat.com>
35905
35906 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35907
a9e836b0
UD
359082011-06-15 Ulrich Drepper <drepper@gmail.com>
35909
77fb9117
UD
35910 * Makeconfig: Define vardbdir and inst_vardbdir.
35911 * nss/Makefile: Add rules to install db-Makefile.
35912
40c1b22c
UD
35913 * nss/nss_db/db-XXX.c: Cleanup.
35914
9f2da732
UD
35915 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35916 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35917 GLIBC_PRIVATE.
35918 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35919 * nss/makedb.c: Implement -g option to specify that value strings
35920 are generated and should not be added to table iterated over for
35921 get*ent calls.
35922 * nss/nss_db/db-initgroups.c: New file.
35923
82e9a1f7
UD
35924 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35925 interface.
35926
c41af17e
UD
35927 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35928 (internal_getgrouplist): Adjust to name change.
35929 Update use_initgroups_entry if this is not the first call.
35930 * nss/databases.def: Add initgroups entry.
35931
a9e836b0
UD
35932 * nss/makedb.c (compute_tables): Check result of multiple hash table
35933 sizes to minimize maximum chain length.
35934
2666d441
UD
359352011-06-14 Ulrich Drepper <drepper@gmail.com>
35936
35937 * Versions.def: Add entry for libnss_db.
35938 * shlib-versions: Likewise.
35939 * nss/Makefile: Add rules to build libnss_db.
35940 * nss/Versions: Add libnss_db information. Organize libnss_files
35941 entries better.
35942 * nss/db-Makefile: Add gshadow support. Change rules for the new
35943 makedb progra. Some minor improvements to generate smaller files.
35944 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35945 here from...
35946 * nss/makedb.c: ...here.
35947 Improve database format to be smaller and require less memory at
35948 runtime.
35949 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35950 db anymore.
35951 * nss/nss_db/db-netgrp.c: Likewise.
35952 * nss/nss_db/db-open.c: Likewise.
35953 * nss/nss_files/flies-XXX.x: Adjust comments.
35954 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35955 * nss/nss_files/files-grp.c: Likewise.
35956 * nss/nss_files/files-hosts.c: Likewise.
35957 * nss/nss_files/files-network.c: Likewise.
35958 * nss/nss_files/files-proto.c: Likewise.
35959 * nss/nss_files/files-pwd.c: Likewise.
35960 * nss/nss_files/files-rpc.c: Likewise.
35961 * nss/nss_files/files-service.c: Likewise.
35962 * nss/nss_files/files-sgrp.c: Likewise.
35963 * nss/nss_files/files-spwd.c: Likewise.
35964 * nss/nss_db/db-alias.c: Removed.
35965 * nss/nss_db/dummy-db.h: Removed.
35966
9ee76b5a
UD
359672011-06-02 Ulrich Drepper <drepper@gmail.com>
35968
35969 * nss/makedb.c: Rewritten to not use database library.
35970 * nss/Makefile: Update to build new makedb program.
35971
c71ca1f8
AJ
359722011-06-14 Andreas Jaeger <aj@suse.de>
35973
35974 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35975 memset declaration.
35976
3154bfb8
UD
359772011-06-10 Andreas Schwab <schwab@redhat.com>
35978
35979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35980 tmpbuf.
35981
b350afab
RM
359822011-06-10 Roland McGrath <roland@hack.frob.com>
35983
decd4e50
RM
35984 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35985 * elf/Makefile ($(objpfx)ld.so): Likewise.
35986
5615eaf2
RM
35987 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35988 Don't list ld.so twice in dependencies.
35989
35990 * posix/bug-regex31.c: Include <stdlib.h>.
35991
35992 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35993
35994 * nis/nss_compat/compat-spwd.c
35995 (getspent_next_nss_netgr): Remove unused variable.
35996 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35997
35998 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35999 nonmembers" output to use the right array.
36000
36001 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36002
36003 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36004
36005 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36006 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36007 * catgets/gencat.c (read_input_file): Likewise.
36008 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36009
36010 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36011 variable definition inside #if's controlling its use.
36012
36013 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36014
36015 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36016
36017 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36018
36019 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36020 unreachable code.
36021
36022 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36023
b68e08db
RM
36024 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36025 * configure: Regenerated.
36026
b350afab
RM
36027 * Makerules: Revert last change.
36028 * elf/Makefile: Likewise.
36029
28368601
RM
360302011-06-09 Roland McGrath <roland@hack.frob.com>
36031
36032 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36033 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36034 (reloc-link): Likewise.
36035
11988f8f
UD
360362011-06-09 Ulrich Drepper <drepper@gmail.com>
36037
36038 * elf/Makefile: Add rules to build pldd.
36039 * elf/pldd.c: New file.
36040 * elf/pldd-xx.c: New file.
36041
e80fab37
UD
360422011-06-07 Ulrich Drepper <drepper@gmail.com>
36043
36044 * version.h: Update for 2.15 development version.
36045
9b849836
DM
360462011-06-07 David S. Miller <davem@davemloft.net>
36047
36048 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36049 ifuncs.
36050 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36051 elf_machine_lazy_rel): Likewise.
36052 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36053 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36054 elf_machine_lazy_rel): Likewise.
36055 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36056 dl_hwcap via passed in argument.
36057 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36058 Likewise.
36059
5a31b283
AK
360602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36061
36062 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36063
069e52f8
RM
360642011-06-06 Roland McGrath <roland@hack.frob.com>
36065
36066 [BZ #12849]
36067 * manual/fdl-1.1.texi: New file, verbatim from:
36068 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36069 * manual/lgpl-2.1.texi: New file, verbatim from:
36070 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36071 * manual/Makefile (licenses): New variable, list those new file names.
36072 (texis): Use it.
36073 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36074
36075 * manual/fdl.texi: File removed.
36076 * manual/lesser.texi: File removed.
36077 * manual/libc.texinfo (Copying, Documentation License):
36078 Use new @include file names, put @appendix directive before @include.
36079
f16846a5
JJ
360802011-06-04 Jakub Jelinek <jakub@redhat.com>
36081
36082 [BZ #12841]
36083 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36084 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36085 (mq_open): Add __NTH.
36086
3d29045b
L
360872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36088
36089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36090 Assume Intel Core i3/i5/i7 processor if AVX is available.
36091
8c297311
UD
360922011-05-31 Ulrich Drepper <drepper@gmail.com>
36093
36094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36095 typo.
36096
c8fc0c91
UD
360972011-05-31 Andreas Schwab <schwab@redhat.com>
36098
36099 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36100 memory. Use alloca_account. Fix memory leak when retrying.
36101
5b27a807
UD
361022011-05-31 Ulrich Drepper <drepper@gmail.com>
36103
356f8bc6
UD
36104 * version.h (RELEASE): Bump for 2.14 release.
36105 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36106
5b27a807
UD
36107 * config.make.in (RANLIB): Remove entry.
36108
01f16ab0
UD
361092011-05-30 Ulrich Drepper <drepper@gmail.com>
36110
41fce8bd
UD
36111 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36112 (libc.pot): Work around missing support for .ksh extension in xgettext.
36113
4769ae77
UD
36114 [BZ #12684]
36115 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36116 if both request failed.
36117 (send_dg): In case of server errors clear resplen or *resplen2.
36118
6b1e7d19
UD
36119 [BZ #12454]
36120 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36121 when there are multiple maps.
36122 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36123 (_dl_fini): Remove test here.
36124
01f16ab0
UD
36125 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36126
b1ebd700
UD
361272011-05-29 Ulrich Drepper <drepper@gmail.com>
36128
7ae22829
UD
36129 [BZ #12350]
36130 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36131 bit from old_res_options.
36132 (gaih_inet): Likewise.
36133
553149f6 36134 [BZ #11099]
18a84741 36135 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
36136 as signed.
36137
652ffab1
UD
36138 * resolv/res_init.c (res_setoptions): Make the code more compact.
36139
16985fd0
UD
36140 [BZ #11558]
36141 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36142 set RES_USEVC.
36143
0464f746
UD
36144 [BZ #11634]
36145 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36146
7d17596c
UD
36147 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36148
cf6bbbd7
UD
36149 [BZ #11781]
36150 * malloc/malloc.h: Declare malloc hook variables as volatile.
36151
13f1ab36
UD
36152 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36153 in last patch.
36154
b1ebd700
UD
36155 [BZ #11799]
36156 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 36157 raise in the comment.
80e2212d
UD
36158 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36159 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36160 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 36161
ce67228d
UD
361622011-05-28 Ulrich Drepper <drepper@gmail.com>
36163
8887a920
UD
36164 [BZ #12811]
36165 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36166 grow the buffers more if it already has to be sufficient.
36167 (build_wcs_upper_buffer): Likewise.
36168 * posix/regexec.c (check_matching): Likewise.
36169 (clean_state_log_if_needed): Likewise.
36170 (extend_buffers): Don't enlarge buffers beyond size of the input
36171 buffer.
36172 Patches mostly by Emil Wojak <emil@wojak.eu>.
36173 * posix/bug-regex32.c: New file.
36174 * posix/Makefile (tests): Add bug-regex32.
36175
4f031072
UD
36176 * locale/findlocale.c (_nl_find_locale): Return right away if
36177 _nl_explode_name failed.
36178 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36179
d0478f0c
UD
36180 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36181
de81b246
UD
36182 * debug/xtrace.sh: Unify messages.
36183 * malloc/memusage.sh: Likewise.
36184
c738465a
UD
36185 [BZ #12813]
36186 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36187 time symbol from vDSO. Substitute with vsyscall if not available.
36188 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36189 __vdso_time.
36190
f1f929d7
UD
36191 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36192 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36193 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36194 Add sendmmsg and internal_sendmmsg.
36195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36196 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36197 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36198
ce67228d
UD
36199 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36200 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36201 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36202
e57420c6
UD
362032011-05-27 Ulrich Drepper <drepper@gmail.com>
36204
a8509ca5
UD
36205 [BZ #12813]
36206 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36207 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36208 available.
36209 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36210 __vdso_getcpu.
36211
e57420c6
UD
36212 [BZ #12814]
36213 * iconvdata/Makefile (tests): Add bug-iconv9.
36214 * iconvdata/bug-iconv9.c: New file.
36215
4d07db15
AS
362162011-05-27 Andreas Schwab <schwab@redhat.com>
36217
36218 [BZ #12814]
36219 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36220
ea486f69
JJ
362212011-05-25 Jakub Jelinek <jakub@redhat.com>
36222
36223 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36224 (struct user_regs_struct): Change intcs field back to cs.
36225
6f038433
UD
362262011-05-25 Ulrich Drepper <drepper@gmail.com>
36227
36228 * po/ja.po: Update from translation team.
36229
67f86a25
UD
362302011-05-23 Ulrich Drepper <drepper@gmail.com>
36231
36232 [BZ #12795]
36233 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36234 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36235
def7fbd6
AS
362362011-05-20 Andreas Schwab <schwab@redhat.com>
36237
36238 * stdlib/longlong.h: Update from GCC.
36239
f50ef8f1
AS
362402011-05-23 Andreas Schwab <schwab@redhat.com>
36241
36242 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36243 parameter name.
36244 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36245 Add parameter name.
36246 (__sysconf): Pass it down.
36247
de7ce8f1
UD
362482011-05-22 Ulrich Drepper <drepper@gmail.com>
36249
f2962a71
UD
36250 [BZ #12671]
36251 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36252 some situations.
36253 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36254 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36255 add in in __libc_use_alloca calls. Adjust callers.
36256 (glob): Use malloc in some situations.
36257
de7ce8f1
UD
36258 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36259 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36260 pltexit.
36261
aec84f53
UD
362622011-05-21 Ulrich Drepper <drepper@gmail.com>
36263
05bb4a68
UD
36264 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36265 and CLOCK_BOOTTIME_ALARM.
36266
7ea72f99
UD
36267 [BZ #12782]
36268 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36269 is returned.
36270
7e4afad5
UD
36271 * string/_strerror.c (__strerror_r): Print negative errors as signed
36272 numbers.
36273
8e211fec
UD
36274 [BZ #12777]
36275 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36276 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36277 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36278
f7d82dc9
UD
36279 * configure.in: Fix typo in redirection and correct removal of test
36280 files in two cases.
36281
cc9e536d
UD
36282 [BZ #12788]
36283 * locale/setlocale.c (new_composite_name): Fix test to check for
36284 identical name of all categories.
36285
aec84f53
UD
36286 [BZ #12792]
36287 * libio/filedoalloc.c (local_isatty): New function.
36288 (_IO_file_doallocate): Use local_isatty.
36289 * stdio-common/perror.c (perror): In case a new stream is used
36290 forward the stream error.
36291 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36292 error flag.
36293
78e64fdc
RT
362942011-05-20 Ulrich Drepper <drepper@gmail.com>
36295
34a9094f
UD
36296 [BZ #11869]
36297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36298 alloca.
36299 * include/alloca.h (extend_alloca_account): Define.
36300
78e64fdc
RT
36301 [BZ #11857]
36302 * posix/regex.h: Fix comments with documentation of user-accessible
36303 fields after compilation and describe correct free'ing of pattern
36304 after re_compile_pattern.
36305 Patch by Reuben Thomas <rrt@sc3d.org>.
36306
457bddfc
RA
363072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36308
36309 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36310 and -mno-altivec to prevent the compiler from using Altivec and/or
36311 VSX instructions when the corresponding registers are not available.
36312
a4527b51
AS
363132011-05-19 Andreas Schwab <schwab@redhat.com>
36314
36315 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36316
ed690b2f
UD
363172011-05-19 Ulrich Drepper <drepper@gmail.com>
36318
36319 * libio/freopen.c (freopen): Use __dup2, not dup2.
36320 * libio/freopen64.c (freopen64): Likewise.
36321
8db73634
L
363222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36323
36324 [BZ #12775]
36325 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36326 * math/Makefile (tests): Add test-powl.
36327 (CFLAGS-test-powl.c): Define.
36328 * math/test-powl.c: New file.
36329
0a197a9d
L
363302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36331
36332 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36333
ee30c380
UD
363342011-05-17 Ulrich Drepper <drepper@gmail.com>
36335
36336 [BZ #11837]
36337 * iconvdata/gb18030.c: Update to GB18020-2005.
36338
6ce75379
UD
363392011-05-16 Ulrich Drepper <drepper@gmail.com>
36340
a4b89fd8
AR
36341 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36342 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36343 Patch by Aharon Robbins <arnold@skeeve.com>.
36344
ea389b12
UD
36345 [BZ #11892]
36346 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36347 on the stack.
36348
68a3f91f
UD
36349 [BZ #11895]
36350 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36351 through underflows.
36352
15cc7dd1
UD
36353 [BZ #12766]
36354 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36355 point to strings before performing equality test for error_one_per_line
36356 mode.
36357
f3799213
UD
36358 [BZ #11697]
36359 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36360
d79a9c94
UD
36361 [BZ #11820]
36362 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36363 (struct user_fpregs_struct): Avoid __uint*_t types.
36364
56e5eb46
UD
36365 [BZ #6420]
36366 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36367 symbol info. Use it instead of calling _dl_addr locally.
36368 (lock_and_info): New function.
36369 (tr_freehook): Call lock_and_info and pass symbol info as additional
36370 parameter to tr_where.
36371 (tr_mallochook): Likewise.
36372 (tr_reallochook): Likewise.
36373 (tr_memalignhook): Likewise.
36374
6ce75379
UD
36375 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36376 used and couldn't be at all thread-safe.
36377
f8a3b5bf
UD
363782011-05-15 Ulrich Drepper <drepper@gmail.com>
36379
94b7cc37
UD
36380 * libio/freopen.c (freopen): Don't close old file descriptor
36381 before the new one is opened. Instead dup the new file descriptor
36382 to the old one after the new stream is created.
36383 * libio/freopen64.c (freopen64): Likewise.
36384 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36385 * libio/fileops.c (_IO_new_file_close_it): Handle new
36386 _IO_FLAGS2_NOCLOSE flag.
36387 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36388 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36389 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36390 _IO_FLAGS2_NOCLOSE flag.
36391 * include/unistd.h: Add hidden_proto for dup3.
36392 Define __have_dup3.
36393 * io/dup3.c: Define hidden symbol.
36394 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36395
bd25564e
UD
36396 [BZ #7101]
36397 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36398 when an incomplete long option is used.
36399 * posix/tst-getopt_long1.c: New file.
36400 * posix/Makefile (tests): Add tst-getopt_long1.
36401
c84cfef4
UD
36402 [BZ #10138]
36403 * scripts/config.guess: Update from autoconf-2.68.
36404 * scripts/config.sub: Likewise.
36405
3b85df27
UD
36406 [BZ #10157]
36407 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36408 tests into ...
36409 (has_cpuclock): ...this. New function.
36410 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36411 macro here based on has_cpuclock code.
36412
15a856b1
UD
36413 [BZ #10149]
36414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36415 First byte (not low byte) is now always NUL.
36416 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36417
05f399e6
UD
36418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36419 Use non-cancelable interfaces.
36420
10a52685 36421 [BZ #9809]
94ecc67d
UD
36422 * locale/iso-639.def: Add entry for Sorani.
36423
f8a3b5bf
UD
36424 [BZ #11901]
36425 * include/stdlib.h: Move include protection to the right place.
36426 Define abort_msg_s. Declare __abort_msg with it.
36427 * stdlib/abort.c (__abort_msg): Adjust type.
36428 * assert/assert.c (__assert_fail_base): New function. Majority
36429 of code from __assert_fail. Allocate memory for __abort_msg with
36430 mmap.
36431 (__assert_fail): Now call __assert_fail_base.
36432 * assert/assert-perr.c: Remove bulk of implementation. Use
36433 __assert_fail_base.
36434 * include/assert.hL Declare __assert_fail_base.
36435 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36436 mmap.
36437 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36438
1af4e298
UD
364392011-05-14 Ulrich Drepper <drepper@gmail.com>
36440
f8a3b5bf 36441 [BZ #11952]
d26dfc60
MG
36442 [BZ #12453]
36443 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36444 until all modules are registered in the DTV.
36445 * elf/Makefile: Add rules to build and run tst-tls19.
36446 * elf/tst-tls19.c: New file.
36447 * elf/tst-tls19mod1.c: New file.
36448 * elf/tst-tls19mod2.c: New file.
36449 * elf/tst-tls19mod3.c: New file.
36450 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36451
2fc54d6f
UD
36452 [BZ #12083]
36453 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36454 correctly.
36455
98d76b46
UD
36456 [BZ #12601]
36457 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36458 two-byte sequence errors.
36459 * iconvdata/Makefile (tests): Add bug-iconv8.
36460 * iconvdata/bug-iconv8.c: New file.
36461
da3c19ef
UD
36462 [BZ #12626]
36463 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36464 buf2 definition.
36465
ca408c15
UD
36466 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36467
d6f67f7d
UD
36468 [BZ #12432]
36469 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36470 (dummy_getcfa): New function.
36471 (init): Get _Unwind_GetCFA address, use dummy if not found.
36472 (backtrace_helper): In recursion check, also check whether CFA changes.
36473 (__backtrace): Completely initialize arg.
36474
1af4e298 36475 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36476 storing incomplete byte sequence in state object. Avoid testing for
36477 guaranteed too small input if we know there is enough data available.
1af4e298 36478
da62f81b
AS
364792011-05-11 Andreas Schwab <schwab@redhat.com>
36480
36481 * Makeconfig (+link-pie): Indent.
36482 * Rules (binaries-pie): Define if $(have-fpie) and
36483 $(build-shared).
36484 (binaries-shared): Also filter out $(binaries-pie).
36485 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36486 * nscd/Makefile (others-pie): Add nscd.
36487 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36488 ($(objpfx)nscd): Remove command override.
36489 * login/Makefile (others-pie): Add pt_chown.
36490 ($(objpfx)pt_chown): Remove command override.
36491 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36492 remove command overrides.
36493
fcabc0f8
UD
364942011-05-13 Ulrich Drepper <drepper@gmail.com>
36495
20030ae6
UD
36496 * libio/tst_putwc.c: Fix error messages.
36497
fcabc0f8
UD
36498 [BZ #12724]
36499 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36500 currently writing and seek to current position when not.
36501 * libio/Makefile (tests): Add bug-fclose1.
36502 * libio/bug-fclose1.c: New file.
36503
320a5dc0
PB
365042011-05-12 Ulrich Drepper <drepper@gmail.com>
36505
36506 [BZ #12511]
36507 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36508 don't set DF_1_NODELETE here.
36509 (do_lookup_x): When entering new entry test for copy relocation
36510 and if necessary set DF_1_NODELETE flag.
36511 * elf/tst-unique4.cc: New file.
36512 * elf/tst-unique4.h: New file.
36513 * elf/tst-unique4lib.cc: New file.
36514 * elf/Makefile: Add rules to build and run tst-unique4.
36515 Patch by Piotr Bury <pbury@goahead.com>.
36516
22836f52
UD
365172011-05-11 Ulrich Drepper <drepper@gmail.com>
36518
f574184a
UD
36519 [BZ #12052]
36520 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36521
e1fb097f
UD
36522 [BZ #12625]
36523 * misc/mntent_r.c (addmntent): Flush the stream after the output
36524
22836f52
UD
36525 [BZ #12393]
36526 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36527 (is_trusted_path_normalize): Skip initial colon. Append slash
36528 to empty buffer. Duplicate is_trusted_path code but allow
36529 constructed patch to be prefix.
36530 (is_dst): Allow $ORIGIN followed by /.
36531 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36532 Correct testing of result of is_trusted_path_normalize
36533 (decompose_rpath): Fix warning.
36534
7b3b0b2a
UD
365352011-05-10 Ulrich Drepper <drepper@gmail.com>
36536
36537 [BZ #11257]
36538 * grp/initgroups.c (internal_getgrouplist): When we found the service
36539 list through the initgroups entry in nsswitch.conf do not always
36540 continue on a successful lookup. Don't always use the
eac80ce2 36541 __nss_group_database value if it is set.
7b3b0b2a
UD
36542 * nss/nsswitch.conf (initgroups): Change action for successful db
36543 lookup to continue for compatibility.
36544
2a81eaa5
UD
365452011-05-09 Ulrich Drepper <drepper@gmail.com>
36546
be97a69e
UD
36547 [BZ #11532]
36548 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36549 and CP774 modules.
36550 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36551 and CP774 modules.
36552 * iconvdata/tst-tables.sh: Likewise.
36553 * iconvdata/cp770.c: New file.
36554 * iconvdata/cp771.c: New file.
36555 * iconvdata/cp772.c: New file.
36556 * iconvdata/cp773.c: New file.
36557 * iconvdata/cp774.c: New file.
36558 * iconvdata/testdata/CP770: New file.
36559 * iconvdata/testdata/CP770..UTF8: New file.
36560 * iconvdata/testdata/CP771: New file.
36561 * iconvdata/testdata/CP771..UTF8: New file.
36562 * iconvdata/testdata/CP772: New file.
36563 * iconvdata/testdata/CP772..UTF8: New file.
36564 * iconvdata/testdata/CP773: New file.
36565 * iconvdata/testdata/CP773..UTF8: New file.
36566 * iconvdata/testdata/CP774: New file.
36567 * iconvdata/testdata/CP774..UTF8: New file.
36568
36569 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36570 END CHARMAP line.
36571 * iconvdata/gen-8bit-gap.sh: Likewise.
36572 * iconvdata/gen-8bit.sh: Likewise.
36573
c1e9e399
UD
36574 * locale/iso-639.def: Add ary entry.
36575
24c55fb3 36576 [BZ #11258]
96b4b1b0
UD
36577 * locale/C-translit.h.in: Add U20A1 transliteration.
36578
bdc2f971
KB
36579 [BZ #12178]
36580 * locale/iso-639.def: Add wae entry.
36581 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36582
2952b117
UD
36583 [BZ #12545]
36584 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36585 for n.
36586
2a81eaa5
UD
36587 [BZ #12711]
36588 * locale/C-translit.h.in: Add entry for U20B9.
36589 Patch by pravin.d.s@gmail.com.
36590
28377d1b
UD
365912011-05-08 Ulrich Drepper <drepper@gmail.com>
36592
7fb90fb8
UD
36593 [BZ #12713]
36594 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36595 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36596 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36597 in rtld. Use *stat64.
7fb90fb8 36598 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36599 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36600 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36601 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36602 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36603 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36604 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36605 __fstatat64 macros.
7fb90fb8
UD
36606 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36607 * dirent/rewinddir.c: Add libc_hidden_def.
36608 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36609 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36610
28377d1b
UD
36611 * include/dirent.h (__alloc_dir): Add flags parameter.
36612 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36613 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36614 __alloc_dir.
36615 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36616 from fdopendir if O_CLOEXEC is already set.
36617
66bdbaa4
AM
366182011-03-15 Alan Modra <amodra@gmail.com>
36619
36620 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36621 l_tls_firstbyte_offset non-zero. Save padding offset in
36622 l_tls_firstbyte_offset for later use.
36623 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36624 freeing static tls block.
36625
95721191
JN
366262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36627
36628 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36629 where #ifdef was intended. The intent is to prevent ARG_MAX from
36630 being defined by the kernel headers.
36631
f87dfb1f
UD
366322011-05-07 Ulrich Drepper <drepper@gmail.com>
36633
36634 [BZ #12734]
36635 * resolv/resolv.h: Define RES_NOTLDQUERY.
36636 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36637 no-tld-query and set RES_NOTLDQUERY.
36638 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36639 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36640 modern BIND to search name as TLD unless forbidden.
36641
47c3cd7a
UD
366422011-05-07 Petr Baudis <pasky@suse.cz>
36643 Ulrich Drepper <drepper@gmail.com>
36644
36645 [BZ #12393]
36646 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36647 (is_trusted_path): ...to here.
c1e9ea35 36648 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36649 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36650 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36651
8a35c912
PP
366522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36653
36654 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36655 __BEGIN/__END_DECLS.
36656
acd41f47
UD
366572011-05-06 Ulrich Drepper <drepper@gmail.com>
36658
36659 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36660 NSS_STATUS_NOTFOUND if no record was found.
36661
597df647
AS
366622011-05-05 Andreas Schwab <schwab@redhat.com>
36663
36664 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36665 (headers-not-in-tirpc): Remove rpc/netdb.h
36666 * resolv/netdb.h: Revert last change.
36667
b9af1301
PP
366682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36669
36670 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36671 circular dependency between libgcc.a and libc.a.
36672
4e34d5f5
AS
366732011-05-05 Andreas Schwab <schwab@redhat.com>
36674
36675 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36676 * nis/Makefile: Don't install rpcsvc/*.
36677 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36678 instead of <rpc/types.h>.
36679 (MAXHOSTNAMELEN): Define.
36680
00ee369c
AS
366812011-05-03 Andreas Schwab <schwab@redhat.com>
36682
36683 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36684
0b592a30
MB
366852011-04-28 Maciej Babinski <mbabinski@google.com>
36686
36687 [BZ #12714]
36688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36689 gethostbyname4_r when IPv6 results are possible.
36690
6e04cbbe
UD
366912011-05-02 Ulrich Drepper <drepper@gmail.com>
36692
36693 [BZ #12723]
36694 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36695 _PC_PIPE_BUF handling.
36696
e4ecafe0
BH
366972011-04-30 Bruno Haible <bruno@clisp.org>
36698
36699 [BZ #12717]
36700 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36701 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36702 to 'int'.
36703 * inet/getnameinfo.c (getnameinfo): Likewise.
36704
125ee683
UD
367052011-04-29 Ulrich Drepper <drepper@gmail.com>
36706
36707 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36708 to groups setting in database lookup.
36709 * nss/nsswitch.conf: Add initgroups entry.
36710
b722481a
EB
367112011-04-22 Ulrich Drepper <drepper@gmail.com>
36712
36713 [BZ #12685]
36714 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36715 mode string.
36716 Patch by Eric Blake <eblake@redhat.com>.
36717
4df46dbd
L
367182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36719
36720 * sunrpc/Makefile (need-export-routines): Add svc_run.
36721 (routines): Remove svc_run.
36722 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36723 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36724 * sunrpc/svc_run.c (svc_run): Likewise.
36725 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36726
e84142d2
UD
367272011-04-21 Ulrich Drepper <drepper@gmail.com>
36728
36729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36730 problem in reallocation in last patch.
36731
877175d8
UD
367322011-04-20 Ulrich Drepper <drepper@gmail.com>
36733
36734 * sunrpc/Makefile: Move inclusion of Rules.
36735
ab8eed78
UD
367362011-04-19 Ulrich Drepper <drepper@gmail.com>
36737
36738 * nss/nss_files/files-initgroups.c: New file.
36739 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36740 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36741 _nss_files_initgroups_dyn.
36742
e3d8f584
RS
367432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36744
36745 * elf/elf.h (R_ARM_IRELATIVE): Define.
36746
af190f45
UD
367472011-04-19 Ulrich Drepper <drepper@gmail.com>
36748
36749 * po/ru.po: Update from translation team.
36750
53cf59ef
UD
367512011-04-17 Ulrich Drepper <drepper@gmail.com>
36752
36753 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36754 dependencies.
36755
4c559bcd
MF
367562011-02-06 Mike Frysinger <vapier@gentoo.org>
36757
36758 [BZ #12653]
36759 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36760 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36762 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36763 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36764
4420675c
AS
367652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36766
36767 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36768 differing bytes.
36769 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36771 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36772
75ea32ab
UD
367732011-04-17 Ulrich Drepper <drepper@gmail.com>
36774
36775 [BZ #12420]
36776 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36777 storing it.
36778 * stdlib/bug-getcontext.c: New file.
36779 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36780
27390476
AK
367812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36782
36783 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36784 instructions into .machine "z9-109".
36785 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36786 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36787
10442705
AK
367882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36789
36790 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36791 between environment variables and auxiliary vector.
36792
7b57bfe5
UD
367932011-04-16 Ulrich Drepper <drepper@gmail.com>
36794
36795 * Makefile: Add rules to build linkobj/libc.so.
36796 * include/libc-symbols.h: Define libc_hidden_nolink.
36797 * include/rpc/auth.h: Mark functions which are to be hidden.
36798 * include/rpc/auth_des.h: Likewise.
36799 * include/rpc/auth_unix.h: Likewise.
36800 * include/rpc/clnt.h: Likewise.
36801 * include/rpc/des_crypt.h: Likewise.
36802 * include/rpc/key_prot.h: Likewise.
36803 * include/rpc/pmap_clnt.h: Likewise.
36804 * include/rpc/pmap_prot.h: Likewise.
36805 * include/rpc/pmap_rmt.h: Likewise.
36806 * include/rpc/rpc_msg.h: Likewise.
36807 * include/rpc/svc.h: Likewise.
36808 * include/rpc/svc_auth.h: Likewise.
36809 * include/rpc/xdr.h: Likewise.
36810 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36811 * nss/Makefile: Likewise.
36812 * sunrpc/Makefile: Don't install headers. Build library with normal
36813 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36814 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36815 for the compat linking library. Remove use of INTDEF/INTUSE.
36816 * sunrpc/auth_none.c: Likewise.
36817 * sunrpc/auth_unix.c: Likewise.
36818 * sunrpc/authdes_prot.c: Likewise.
36819 * sunrpc/authuxprot.c: Likewise.
36820 * sunrpc/clnt_gen.c: Likewise.
36821 * sunrpc/clnt_perr.c: Likewise.
36822 * sunrpc/clnt_raw.c: Likewise.
36823 * sunrpc/clnt_simp.c: Likewise.
36824 * sunrpc/clnt_tcp.c: Likewise.
36825 * sunrpc/clnt_udp.c: Likewise.
36826 * sunrpc/clnt_unix.c: Likewise.
36827 * sunrpc/des_crypt.c: Likewise.
36828 * sunrpc/des_soft.c: Likewise.
36829 * sunrpc/get_myaddr.c: Likewise.
36830 * sunrpc/key_call.c: Likewise.
36831 * sunrpc/key_prot.c: Likewise.
36832 * sunrpc/netname.c: Likewise.
36833 * sunrpc/pm_getmaps.c: Likewise.
36834 * sunrpc/pm_getport.c: Likewise.
36835 * sunrpc/pmap_clnt.c: Likewise.
36836 * sunrpc/pmap_prot.c: Likewise.
36837 * sunrpc/pmap_prot2.c: Likewise.
36838 * sunrpc/pmap_rmt.c: Likewise.
36839 * sunrpc/publickey.c: Likewise.
36840 * sunrpc/rpc_cmsg.c: Likewise.
36841 * sunrpc/rpc_common.c: Likewise.
36842 * sunrpc/rpc_dtable.c: Likewise.
36843 * sunrpc/rpc_prot.c: Likewise.
36844 * sunrpc/rpc_thread.c: Likewise.
36845 * sunrpc/rtime.c: Likewise.
36846 * sunrpc/svc.c: Likewise.
36847 * sunrpc/svc_auth.c: Likewise.
36848 * sunrpc/svc_authux.c: Likewise.
36849 * sunrpc/svc_raw.c: Likewise.
36850 * sunrpc/svc_run.c: Likewise.
36851 * sunrpc/svc_simple.c: Likewise.
36852 * sunrpc/svc_tcp.c: Likewise.
36853 * sunrpc/svc_udp.c: Likewise.
36854 * sunrpc/svc_unix.c: Likewise.
36855 * sunrpc/svcauth_des.c: Likewise.
36856 * sunrpc/xcrypt.c: Likewise.
36857 * sunrpc/xdr.c: Likewise.
36858 * sunrpc/xdr_array.c: Likewise.
36859 * sunrpc/xdr_float.c: Likewise.
36860 * sunrpc/xdr_intXX_t.c: Likewise.
36861 * sunrpc/xdr_mem.c: Likewise.
36862 * sunrpc/xdr_rec.c: Likewise.
36863 * sunrpc/xdr_ref.c: Likewise.
36864 * sunrpc/xdr_sizeof.c: Likewise.
36865 * sunrpc/xdr_stdio.c: Likewise.
36866
e6c61494
UD
368672011-04-10 Ulrich Drepper <drepper@gmail.com>
36868
36869 [BZ #12650]
36870 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36871 * sysdeps/ia64/dl-tls.h: Likewise.
36872 * sysdeps/powerpc/dl-tls.h: Likewise.
36873 * sysdeps/s390/dl-tls.h: Likewise.
36874 * sysdeps/sh/dl-tls.h: Likewise.
36875 * sysdeps/sparc/dl-tls.h: Likewise.
36876 * sysdeps/x86_64/dl-tls.h: Likewise.
36877 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36878
34fe483e
AS
368792011-03-14 Andreas Schwab <schwab@redhat.com>
36880
36881 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36882 rpath element also skip the following colon.
36883 (expand_dynamic_string_token): Add is_path parameter and pass
36884 down to DL_DST_REQUIRED and _dl_dst_substitute.
36885 (decompose_rpath): Call expand_dynamic_string_token with
36886 non-zero is_path. Ignore empty rpaths.
36887 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36888 with zero is_path.
36889
f12a32e6
AS
368902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36891
36892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36893 Make cancelable.
36894
38a7d692
UD
368952011-04-09 Ulrich Drepper <drepper@gmail.com>
36896
36897 [BZ #12655]
36898 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36899 Patch by Filipe David Manana <fdmanana@apache.org>.
36900
e451d22b
AS
369012011-04-07 Andreas Schwab <schwab@redhat.com>
36902
36903 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36904 Maintain aligned stack.
36905 (CHECK_RSP): Remove unused macro.
36906
dedc7c7b
UD
369072011-04-03 Ulrich Drepper <drepper@gmail.com>
36908
36909 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36910 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36911
94521213
UD
369122011-04-02 Ulrich Drepper <drepper@gmail.com>
36913
36914 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36915
8cb700c0 36916 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36917
0354e355
L
369182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36919
36920 [BZ #12518]
36921 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36922 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36923 * sysdeps/x86_64/memmove.c: New file.
36924 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36925 (memcpy): Renamed to ...
36926 (__new_memcpy): This.
36927 (memcpy): Provide GLIBC_2_14 memcpy.
36928 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36929 (memcpy): Provide GLIBC_2_2_5 memcpy.
36930
8593482f
UD
369312011-04-01 Ulrich Drepper <drepper@gmail.com>
36932
36933 [BZ #12631]
36934 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36935
81a5726b
AS
369362011-03-30 Andreas Schwab <schwab@redhat.com>
36937
36938 * misc/syncfs.c: New file.
36939 * misc/Makefile (routines): Add syncfs.
36940 * posix/unistd.h: Declare syncfs.
36941 * sysdeps/unix/syscalls.list: Add syncfs.
36942
00e5419f
AS
369432011-04-01 Andreas Schwab <schwab@redhat.com>
36944
36945 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36946 open_by_handle_at.
36947 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36948 * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
36953 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36954
748876bf
UD
369552011-04-01 Ulrich Drepper <drepper@gmail.com>
36956
658e451d
UD
36957 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36958 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36959 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36964
748876bf
UD
36965 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36966 sync_file_range.c with -fexceptions.
36967 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36968 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36969 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36970 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36971 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36972 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36974 sync_file_range as cancellation point
36975 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36976 now a wrapper around __call_sync_file_range with cancellation handling.
36977 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36978 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36979 function name to __call_sync_file_range.
36980 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36981 Add call_sync_file_range.
748876bf 36982
6e63d5e1
AS
369832011-04-01 Andreas Schwab <schwab@redhat.com>
36984
36985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36986 bits/timex.h.
6e63d5e1 36987
46998f74
UD
369882011-04-01 Ulrich Drepper <drepper@gmail.com>
36989
4c1423ed
UD
36990 * iconv/iconv.h: Fix typo in comment.
36991 * io/fcntl.h: Likewise.
36992 * libio/stdio.h: Likewise.
36993 * posix/spawn.h: Likewise.
36994 * posix/unistd.h: Likewise.
36995 * stdlib/stdlib.h: Likewise.
36996 * time/time.h: Likewise.
36997 * wcsmbs/wchar.h: Likewise.
36998
158648c0
UD
36999 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37000 open_by_handle): Add.
37001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37002 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37003 Augment a few comments.
37004 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37006 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37009 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37010 open_by_handle.
37011
46998f74
UD
37012 * io/fcntl.h (AT_EMPTY_PATH): Define.
37013
83fe108b
UD
370142011-03-30 Ulrich Drepper <drepper@gmail.com>
37015
37016 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37017 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37018 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37019 to...
37020 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
37021 * Versions.def: Add GLIBC_2.14.
37022 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37023 Export.
83fe108b 37024
bb242059
UD
370252011-03-22 Ulrich Drepper <drepper@gmail.com>
37026
37027 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37028 round counter.
37029 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37030
c97a1282
L
370312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37032
37033 [BZ #12597]
37034 * string/test-strncmp.c (do_page_test): New function.
37035 (check2): Likewise.
37036 (test_main): Call check2.
37037 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37038
2a115601
UD
370392011-03-20 Ulrich Drepper <drepper@gmail.com>
37040
37041 [BZ #12587]
37042 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37043 Handle cache information in CPU leaf 4.
37044 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37045
8126d904
UD
370462011-03-18 Ulrich Drepper <drepper@gmail.com>
37047
042c49c6 37048 [BZ #12583]
8126d904
UD
37049 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37050 character representation.
37051 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37052
ccfe366e
RA
370532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37054
37055 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37056 END(__isnan) to END(__isnanf) to match function entry point/label
37057 EALIGN(__isnanf,...).
37058
c6e13027
JJ
370592011-03-10 Jakub Jelinek <jakub@redhat.com>
37060
37061 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37062
33f85a3f
UD
370632011-03-10 Ulrich Drepper <drepper@gmail.com>
37064
028478fa
UD
37065 [BZ #12510]
37066 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37067 copy from the symbol referenced in the relocation to initialize the
37068 used variable.
37069 Patch by Piotr Bury <pbury@goahead.com>.
37070 * elf/Makefile: Add rules to build and tst-unique3.
37071 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37072 * elf/tst-unique3.cc: New file.
37073 * elf/tst-unique3.h: New file.
37074 * elf/tst-unique3lib.cc: New file.
37075 * elf/tst-unique3lib2.cc: New file.
37076
33f85a3f
UD
37077 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37078
03592fc7
MF
370792011-03-10 Mike Frysinger <vapier@gentoo.org>
37080
37081 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37082 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37083 to _start.
03592fc7 37084
6a5ee102
UD
370852011-03-06 Ulrich Drepper <drepper@gmail.com>
37086
37087 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37088 to-be-loaded object along a path to loader is ld.so.
37089
7e4ba49c
HJ
370902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37091 Ulrich Drepper <drepper@gmail.com>
37092
37093 * sysdeps/x86_64/memset.S: After aligning destination, code
37094 branches to different locations depending on the value of
37095 misalignment, when multiarch is enabled. Fix this.
37096
370972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37098
37099 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37100 Set _x86_64_preferred_memory_instruction for AMD processsors.
37101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37102 Set bit_Prefer_SSE_for_memop for AMD processors.
37103
13a804de
UD
371042011-03-04 Ulrich Drepper <drepper@gmail.com>
37105
37106 * libio/fmemopen.c (fmemopen): Optimize a bit.
37107
9d25c392
AS
371082011-03-03 Andreas Schwab <schwab@redhat.com>
37109
37110 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37111
a5543c6a
RM
371122011-03-03 Roland McGrath <roland@redhat.com>
37113
37114 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37115
012d35f7
DM
371162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37117
7e4ba49c 37118 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
37119 __bzero_ultra1 instead of __memset_ultra1.
37120
4bff6e01
AS
371212011-02-23 Andreas Schwab <schwab@redhat.com>
37122 Ulrich Drepper <drepper@gmail.com>
37123
37124 [BZ #12509]
37125 * include/link.h (struct link_map): Add l_orig_initfini.
37126 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37127 returning unsuccessfully.
37128 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37129 close of a file loaded at startup, restore the original l_initfini
37130 list.
37131 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37132 list, store the pointer.
37133 * elf/Makefile ($(objpfx)noload-mem): New rule.
37134 (noload-ENV): Define.
37135 (tests): Add $(objpfx)noload-mem.
37136 * elf/noload.c: Include <memcheck.h>.
37137 (main): Call mtrace. Close all opened handles.
37138
f2092faf
AS
371392011-02-17 Andreas Schwab <schwab@redhat.com>
37140
37141 [BZ #12454]
37142 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37143 dependencies are missing.
37144
6c8a2e88
ST
371452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37146
f2092faf 37147 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
37148 Hurd needs munmap.
37149 * sysdeps/mach/hurd/ifreq.h: New file.
37150
84a42118
PB
371512011-01-27 Petr Baudis <pasky@suse.cz>
37152 Ulrich Drepper <drepper@gmail.com>
37153
071f805e 37154 [BZ 12445]#
84a42118
PB
37155 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37156 to extend_alloca().
37157 * stdio-common/bug23.c: New file.
37158 * stdio-common/Makefile (tests): Add bug23.
37159
e23fe25b
AS
371602010-09-28 Andreas Schwab <schwab@redhat.com>
37161 Ulrich Drepper <drepper@gmail.com>
37162
37163 [BZ #12489]
37164 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37165 before performing relro protection. At old place add assertion
37166 to make sure nothing changed.
37167
d3f02e10
NS
371682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37169 Glauber de Oliveira Costa <glommer@gmail.com>
37170
37171 * elf/elf.h: Add new ARM TLS relocs.
37172
d55fd7a5
RA
371732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37174
37175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37176 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37177 cast from r3.
37178 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37179 'tests' variable.
37180 * sysdeps/wordsize-64/tst-writev.c: New file.
37181
2206397e
RA
371822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37183
37184 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37185 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37186 insns in _dl_start to prevent a TOC reference before relocs are
37187 resolved.
37188
e9433893
UD
371892011-02-15 Ulrich Drepper <drepper@gmail.com>
37190
37191 [BZ #12469]
37192 * Makeconfig: Remove RANLIB definition.
37193 * Makerules: Don't use RANLIB.
37194 * aclocal.m4: Remove ranlib test.
37195 * configure.in: No need to check for ranlib.
37196 * elf/rtld-Rules: Don't use RANLIB.
37197
f75286c6
ST
371982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37199
8e31c82d
ST
37200 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37201 protection macro.
37202 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37203 inclusion protection macro.
37204
f75286c6
ST
37205 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37206 SIGRTMIN and SIGRTMAX and print information in that case only when
37207 SIGRTMIN is defined.
37208
c1d0e639
JJ
372092011-02-11 Jakub Jelinek <jakub@redhat.com>
37210
37211 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37212 arginfo fn returning -1.
37213
37214 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37215 and thousands string is zero terminated.
37216
edf9294e
AS
372172011-02-03 Andreas Schwab <schwab@redhat.com>
37218
37219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37220 sysdeps/unix/sysv/linux/bits/socket.h.
37221
2b7e92df
ST
372222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37223
edf9294e
AS
37224 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37225 (__CPU_COUNT): Remove old macros.
37226 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37227 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37228 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
37229 (__sched_cpualloc, __sched_cpufree): Add declarations.
37230
a4c7ea7b
UD
372312011-02-05 Ulrich Drepper <drepper@gmail.com>
37232
37233 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37234 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37235 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37236 (readdhstai): Return value of addhstaiX call.
37237 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37238 (addgrbyX): Return value returned by cache_addgr.
37239 (readdgrbyname): Return value returned by addgrbyX.
37240 (readdgrbygid): Likewise.
37241 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37242 (addpwbyX): Return value returned by cache_addpw.
37243 (readdpwbyname): Return value returned by addhstbyX.
37244 (readdpwbyuid): Likewise.
37245 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37246 (addservbyX): Return value returned by cache_addserv.
37247 (readdservbyname): Return value returned by addservbyX:
37248 (readdservbyport): Likewise.
37249 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37250 (addhstbyX): Return value returned by cache_addhst.
37251 (readdhstbyname): Return value returned by addhstbyX.
37252 (readdhstbyaddr): Likewise.
37253 (readdhstbynamev6): Likewise.
37254 (readdhstbyaddrv6): Likewise.
37255 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37256 (readdinitgroups): Return value returned by addinitgroupsX.
37257 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37258 (prune_cache): Keep track of timeout value of re-added entries.
37259 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37260 * nscd/nscd.h: Adjust prototypes of readd* functions.
37261
a0bf67cc
RM
372622011-02-04 Roland McGrath <roland@redhat.com>
37263
37264 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37265 (nis_stats): Likewise.
37266 * nis/nis_modify.c (nis_modify): Likewise.
37267 * nis/nis_remove.c (nis_remove): Likewise.
37268 * nis/nis_add.c (nis_add): Likewise.
37269
37270 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37271
37272 * posix/fnmatch_loop.c: Add some consts.
37273
37274 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37275
435b95eb
L
372762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37277
37278 [BZ #12460]
37279 * config.make.in (config-cflags-novzeroupper): Define.
37280 * configure.in: Substitute libc_cv_cc_novzeroupper.
37281 * elf/Makefile (AVX-CFLAGS): Define.
37282 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37283 (CFLAGS-tst-auditmod4a.c): Likewise.
37284 (CFLAGS-tst-auditmod4b.c): Likewise.
37285 (CFLAGS-tst-auditmod6b.c): Likewise.
37286 (CFLAGS-tst-auditmod6c.c): Likewise.
37287 (CFLAGS-tst-auditmod7b.c): Likewise.
37288 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37289
8517b15e
UD
372902011-02-02 Ulrich Drepper <drepper@gmail.com>
37291
37292 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37293 function to the callback.
37294 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37295
10a656fe
AS
372962011-02-02 Andreas Schwab <schwab@redhat.com>
37297
37298 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37299 of errno.
37300
968dad0a
UD
373012011-01-19 Ulrich Drepper <drepper@gmail.com>
37302
9f94d2ea 37303 [BZ #11724]
968dad0a
UD
37304 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37305 of constructors.
37306 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37307 of destructors.
37308 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37309
37310 [BZ #11724]
37311 * elf/Makefile: Add rules to build and run new test.
37312 * elf/tst-initorder.c: New file.
37313 * elf/tst-initorder.exp: New file.
37314 * elf/tst-initordera1.c: New file.
37315 * elf/tst-initordera2.c: New file.
37316 * elf/tst-initordera3.c: New file.
37317 * elf/tst-initordera4.c: New file.
37318 * elf/tst-initorderb1.c: New file.
37319 * elf/tst-initorderb2.c: New file.
37320 * elf/tst-order-a1.c: New file.
37321 * elf/tst-order-a2.c: New file.
37322 * elf/tst-order-a3.c: New file.
37323 * elf/tst-order-a4.c: New file.
37324 * elf/tst-order-b1.c: New file.
37325 * elf/tst-order-b2.c: New file.
37326 * elf/tst-order-main.c: New file.
37327 New test case by George Gensure <werkt0@gmail.com>.
37328
86e92359
UD
373292010-10-01 Andreas Schwab <schwab@redhat.com>
37330
37331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37332 decoding ACE if AI_CANONIDN.
37333
5d5732b0
UD
373342011-01-18 Ulrich Drepper <drepper@gmail.com>
37335
37336 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37337
a77e8cbc
UD
373382011-01-17 Ulrich Drepper <drepper@gmail.com>
37339
6392473f
UD
37340 * version.h (RELEASE): Bump for 2.13 release.
37341 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37342
620a0529
UD
37343 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37344
18ba70a5
UD
37345 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37346 MADV_NOHUGEPAGE.
32465c3e
UD
37347 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37348 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37349 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37350 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37351 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37352 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37353
c0dafcf1
UD
37354 * posix/getconf.c: Update copyright year.
37355 * catgets/gencat.c: Likewise.
37356 * csu/version.c: Likewise.
37357 * debug/catchsegv.sh: Likewise.
37358 * debug/xtrace.sh: Likewise.
37359 * elf/ldconfig.c: Likewise.
37360 * elf/ldd.bash.in: Likewise.
37361 * elf/sprof.c (print_version): Likewise.
37362 * iconv/iconv_prog.c: Likewise.
37363 * iconv/iconvconfig.c: Likewise.
37364 * locale/programs/locale.c: Likewise.
37365 * locale/programs/localedef.c: Likewise.
37366 * malloc/memusage.sh: Likewise.
37367 * malloc/mtrace.pl: Likewise.
37368 * nscd/nscd.c (print_version): Likewise.
37369 * nss/getent.c: Likewise.
37370
a77e8cbc
UD
37371 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37372 PF_CAIF, and PF_ALG.
37373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37374
77e8bddf
AS
373752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37376
1f20b93a
AS
37377 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37378 (modules-names): Use them.
37379 (ifunc-test-modules, ifunc-pie-tests): Define.
37380 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37381 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37382 (test-extras): Likewise.
37383 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37384 $(compile-command.c).
37385 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37386 (all-built-dso): Define.
37387 (check-textrel.out, check-execstack.out): Depend on it.
37388
77e8bddf
AS
37389 * configure.in: Don't override --enable-multi-arch.
37390
bc425b33
UD
373912011-01-15 Ulrich Drepper <drepper@gmail.com>
37392
37393 [BZ #6812]
37394 * nscd/hstcache.c (tryagain): Define.
37395 (cache_addhst): Return tryagain not notfound for temporary errors.
37396 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37397 failed.
37398
794c3ad3
UD
373992011-01-14 Ulrich Drepper <drepper@gmail.com>
37400
70181fdd
UD
37401 [BZ #10563]
37402 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37403 to make the syscall.
37404 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37405
794c3ad3
UD
37406 [BZ #12378]
37407 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37408 and fall back to matching as normal character if the string ends before
37409 the matching ']' is found. This is what POSIX requires.
37410 * posix/testfnm.c: Adjust test result.
37411 * posix/globtest.sh: Adjust test result. Add new test.
37412 * posix/tst-fnmatch.input: Likewise.
37413 * posix/tst-fnmatch2.c: Add new test.
37414
68dc9497
AS
374152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37416
37417 * elf/Makefile (check-execstack): Revert last change. Depend on
37418 check-execstack.h.
37419 (check-execstack.h): New target.
37420 (generated): Add check-execstack.h.
37421 * elf/check-execstack.c: Include "check-execstack.h".
37422 (main): Revert last change.
37423 (handle_file): Return zero if GNU_STACK is absent and
37424 DEFAULT_STACK_PERMS doesn't include PF_X.
37425
451f001b
UD
374262011-01-13 Ulrich Drepper <drepper@gmail.com>
37427
cfa28e56
UD
37428 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37429 in child fails because the descriptor is already closed.
8cf8ce17
UD
37430 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37431 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37432 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37433
1086d70d
UD
37434 [BZ #12397]
37435 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37436 syscall.
37437
451f001b
UD
37438 [BZ #10484]
37439 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37440 temporary buffer used to handle multi lookups locally.
a85b5cb4 37441 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37442
08769175
UD
374432011-01-12 Ulrich Drepper <drepper@gmail.com>
37444
37445 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37446 loader is ld.so.
37447
5e49c52e
UD
374482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37449
37450 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37451 alignment for SSE2.
37452
60522a5f
UD
374532011-01-12 Ulrich Drepper <drepper@gmail.com>
37454
37455 [BZ #12394]
37456 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37457 characters. When rounding increased number of integer digits recompute
37458 number of groups.
37459 * stdio-common/tst-grouping.c: New file.
37460 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37461
f257bbd7
UD
374622011-01-09 Ulrich Drepper <drepper@gmail.com>
37463
37464 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37465 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37466
37467 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37468 void.
37469 * bits/select.h: Likewise.
37470
fa9c15cb
UD
374712011-01-08 Ulrich Drepper <drepper@gmail.com>
37472
37473 * po/ja.po: Update from translation team.
37474
16c2895f
DM
374752011-01-04 David S. Miller <davem@sunset.davemloft.net>
37476
37477 [BZ #11155]
37478 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37479 implementation just like for lxstat, fxstatat, et al.
37480
2543fef2
JM
374812010-12-27 Jim Meyering <meyering@redhat.com>
37482
37483 [BZ #12348]
37484 * posix/regexec.c (build_trtable): Return failure indication upon
37485 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37486
98727dbe
UD
374872010-12-25 Ulrich Drepper <drepper@gmail.com>
37488
5bd6dc5c
UD
37489 [BZ #12201]
37490 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37491 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37492 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37493 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37494
97983464
UD
37495 [BZ #12207]
37496 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37497
98727dbe
UD
37498 [BZ #12204]
37499 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37500 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37501
4a531bb0
L
375022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37503
37504 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37505 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37506 script has SORT_BY_INIT_PRIORITY.
37507 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37508 NO_CTORS_DTORS_SECTIONS is defined.
37509 * elf/soinit.c: Likewise.
37510 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37511 NO_CTORS_DTORS_SECTIONS is defined.
37512 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37513 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37514 * sysdeps/sh/init-first.c: Likewise.
37515 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37516
07eb4b71
UD
375172010-12-24 Ulrich Drepper <drepper@gmail.com>
37518
37519 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37520 always use the slow path.
37521
30950a5f
RA
375222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37523
37524 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37525 similar rule which adds the sysdep directories to the header search in
37526 order to pick up the correct platform stackinfo.h.
37527 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37528 perform test if it is, otherwise return successfully without testing.
37529 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37530 DEFAULT_STACK_PERMS define in stackinfo.h.
37531 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37532 defined in stackinfo.h.
37533 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37534 DEFAULT_STACK_PERMS defined in stackinfo.h.
37535 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37536 * sysdeps/ia64/stackinfo.h: Likewise.
37537 * sysdeps/s390/stackinfo.h: Likewise.
37538 * sysdeps/sh/stackinfo.h: Likewise.
37539 * sysdeps/sparc/stackinfo.h: Likewise.
37540 * sysdeps/x86_64/stackinfo.h: Likewise.
37541 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37542 PF_X for powerpc64. Retain PF_X for powerpc32.
37543
db753e2c
UD
375442010-12-19 Ulrich Drepper <drepper@gmail.com>
37545
14b697f7
UD
37546 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37547 accurately.
db753e2c
UD
37548 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37549 GETDENTS_64BIT_ALIGNED.
37550
28300719
UD
375512010-12-14 Ulrich Drepper <dreper@gmail.com>
37552
14b697f7 37553 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37554
4f197237
AS
375552010-12-10 Andreas Schwab <schwab@redhat.com>
37556
dbb0472f
AS
37557 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37558 _GNU_SOURCE.
37559
4f197237
AS
37560 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37561 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37562 Remove __restrict.
37563 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37564 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37565
fb88ac72
UD
375662010-12-09 Ulrich Drepper <drepper@gmail.com>
37567
37568 [BZ #11655]
37569 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37570 are initialized.
37571
42acbb92
JJ
375722010-12-09 Jakub Jelinek <jakub@redhat.com>
37573
37574 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37575
c038d98d
UD
375762010-12-03 Ulrich Drepper <drepper@gmail.com>
37577
37578 * po/it.po: Update from translation team.
37579
3a4a2499
L
375802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37581
37582 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37583 unused codes.
37584
1e24cf6e
UD
375852010-11-30 Ulrich Drepper <drepper@gmail.com>
37586
37587 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37588
a7690819
AS
375892010-11-24 Andreas Schwab <schwab@redhat.com>
37590
37591 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37592 specially.
37593 (gaih_getanswer_slice): Likewise.
37594
3bf8d1b1
JJ
375952010-10-20 Jakub Jelinek <jakub@redhat.com>
37596
37597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37598
6db52fbb
PB
375992010-05-31 Petr Baudis <pasky@suse.cz>
37600
37601 [BZ #11149]
37602 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37603 silently even in the chroot mode.
37604
eaca7569
UD
376052010-11-22 Ulrich Drepper <drepper@gmail.com>
37606
37607 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37608 last patch a bit. Pretty printing
37609
3056dcdb
UD
376102010-05-31 Petr Baudis <pasky@suse.cz>
37611
37612 [BZ #10085]
37613 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37614 initialization of skip_initgroups_dyn.
37615
cf7c9078
UD
376162010-11-19 Ulrich Drepper <drepper@gmail.com>
37617
37618 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37619 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37620
a1fb5e3e
UD
376212010-11-16 Ulrich Drepper <drepper@gmail.com>
37622
37623 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37624
3540d66b
AS
376252010-11-11 Andreas Schwab <schwab@redhat.com>
37626
37627 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37628 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37629 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37630 ($(objpfx)tst-fnmatch-mem): New rule.
37631 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37632 * posix/tst-fnmatch.c (main): Call mtrace.
37633
13b69574
L
376342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37635
37636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37637 Support Intel processor model 6 and model 0x2c.
37638
da93d214
LM
376392010-11-10 Luis Machado <luisgpm@br.ibm.com>
37640
37641 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37642 signed comparison.
37643
8ca52c6e
L
376442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37645
37646 [BZ #12205]
37647 * string/test-strncasecmp.c (check_result): New function.
37648 (do_one_test): Use it.
37649 (check1): New function.
37650 (test_main): Use it.
37651 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37652 Support strcasecmp and strncasecmp.
37653
69da074d
UD
376542010-11-08 Ulrich Drepper <drepper@gmail.com>
37655
37656 [BZ #12194]
37657 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37658 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37659
ff02d528
L
376602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37661
37662 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37663 IFUNC support.
37664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37665 memset-x86-64.
37666 * sysdeps/x86_64/multiarch/bzero.S: New file.
37667 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37668 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37669 * sysdeps/x86_64/multiarch/memset.S: New file.
37670 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37672 Set bit_Prefer_SSE_for_memop for Intel processors.
37673 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37674 Define.
37675 (index_Prefer_SSE_for_memop): Define.
37676 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37677
344d0b54
LM
376782010-11-04 Luis Machado <luisgpm@br.ibm.com>
37679
37680 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37681 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37682
c0dde15b
UD
376832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37684
37685 [BZ #12191]
37686 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37687 (__x86_64_raw_data_cache_size_half): Likewise.
37688 (__x86_64_raw_shared_cache_size): Likewise.
37689 (__x86_64_raw_shared_cache_size_half): Likewise.
37690
37691 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37692 (__x86_64_raw_data_cache_size_half): Likewise.
37693 (__x86_64_raw_shared_cache_size): Likewise.
37694 (__x86_64_raw_shared_cache_size_half): Likewise.
37695 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37696 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37697 and __x86_64_raw_shared_cache_size_half. Round
37698 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37699 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37700 to multiple of 256 bytes.
37701
0e516e0e
MS
377022010-11-03 Ulrich Drepper <drepper@gmail.com>
37703
37704 [BZ #12167]
37705 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37706 of inacessible symlinks. Verify result of symlink before returning it.
37707 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37708 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37709
0e012e87
ER
377102010-10-28 Erich Ritz <erichritz@gmail.com>
37711
37712 * math/math.h (isinf): Fix typo in comment.
37713
de0ff7bc
UD
377142010-11-01 Ulrich Drepper <drepper@gmail.com>
37715
37716 * po/da.po: Update from translation team.
37717
fa41c84d
UD
377182010-10-26 Ulrich Drepper <drepper@gmail.com>
37719
37720 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37721 is added to the list.
37722
f0967738
AK
377232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37724 Ulrich Drepper <drepper@gmail.com>
37725
37726 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37727 the global list here. Move code to...
37728 (_dl_add_to_namespace_list): ...here. New function.
37729 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37730 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37731 * elf/dl-load.c (lose): Don't remove the element from the list.
37732 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37733 (_dl_map_object): Likewise.
37734
377352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37736
37737 [BZ #12159]
37738 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37739 into all bytes of SSE register.
37740 Patch by Richard Li <richardpku@gmail.com>.
37741
f0967738 377422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37743
37744 [BZ #12140]
37745 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37746 perturbing.
37747
d0b9e94f
MB
377482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37749
37750 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37751 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37752 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37753 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37755 submachine.
37756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37757
8e9f92e9
AS
377582010-10-22 Andreas Schwab <schwab@redhat.com>
37759
37760 * include/dlfcn.h (__RTLD_SECURE): Define.
37761 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37762 mode & __RTLD_SECURE instead.
37763 (open_path): Rename preloaded parameter to secure.
37764 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37765 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37766 * elf/dl-deps.c (openaux): Likewise.
37767 * elf/rtld.c (struct map_args): Remove is_preloaded.
37768 (map_doit): Don't use it.
37769 (dl_main): Likewise.
37770 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37771 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37772
bc96fbda
AS
377732010-09-09 Andreas Schwab <schwab@redhat.com>
37774
37775 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37776 (sysd-rules-targets): Remove duplicates.
37777 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37778 rtld-%.$o dependency.
37779
22cd1c9b
AS
377802010-10-18 Andreas Schwab <schwab@redhat.com>
37781
37782 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37783 _dl_map_object do it.
37784
18edac48
UD
377852010-10-19 Ulrich Drepper <drepper@gmail.com>
37786
37787 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37788 fast fma builtins, define the macros in the C99 standard.
37789 (FP_FAST_FMAF): Likewise.
37790 (FP_FAST_FMAL): Likewise.
37791 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37792
37793 * bits/mathdef.h: Update copyright year.
37794 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37795
d2050124
MM
377962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37797
37798 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37799 builtins, define the macros in the C99 standard.
37800 (FP_FAST_FMAF): Likewise.
37801 (FP_FAST_FMAL): Likewise.
37802 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37803 multiply/add.
37804 (FP_FAST_FMAF): Likewise.
37805
475facd1
JJ
378062010-10-15 Jakub Jelinek <jakub@redhat.com>
37807
37808 [BZ #3268]
37809 * math/libm-test.inc (fma_test): Some new testcases.
37810 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37811 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37812 y and infinite z. Do multiplication by C already in long double.
37813 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37815 y and infinite z. Do bitwise or of inexact bit into u.d.
37816 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37817 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37818 * sysdeps/i386/fpu/s_fma.S: Removed.
37819 * sysdeps/i386/fpu/s_fmal.S: Removed.
37820
7c08a05c
JJ
378212010-10-16 Jakub Jelinek <jakub@redhat.com>
37822
37823 [BZ #3268]
37824 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37826 computation is not scheduled after fetestexcept. Fix value
37827 of minimum denormal long double.
37828
f3f7372d
JJ
378292010-10-14 Jakub Jelinek <jakub@redhat.com>
37830
37831 [BZ #3268]
37832 * math/libm-test.inc (fma_test): Add some more tests.
37833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37834 correctly.
37835
14d43591
AS
378362010-10-15 Andreas Schwab <schwab@redhat.com>
37837
37838 * scripts/data/localplt-s390-linux-gnu.data: New file.
37839 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37840
5e908464
JJ
378412010-10-13 Jakub Jelinek <jakub@redhat.com>
37842
37843 [BZ #3268]
37844 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37845 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37846 instead of dbl-64.
37847 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37848 inlines.
37849 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37851 if one of x and y is very large and the other is subnormal.
37852 * sysdeps/s390/fpu/s_fmaf.c: New file.
37853 * sysdeps/s390/fpu/s_fma.c: New file.
37854 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37855 * sysdeps/powerpc/fpu/s_fma.S: New file.
37856 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37857 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37858 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37859
378602010-10-12 Jakub Jelinek <jakub@redhat.com>
37861
37862 [BZ #3268]
37863 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37864 fma tests.
37865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37866 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37867 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37868 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37869 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37870 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37871 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37872
b833d51f
UD
378732010-10-12 Ulrich Drepper <drepper@redhat.com>
37874
37875 [BZ #12078]
37876 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37877 * posix/bug-regex31.input: Add test case.
37878
1751705d
UD
378792010-10-11 Ulrich Drepper <drepper@gmail.com>
37880
e9b9cbf5
UD
37881 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37882 * posix/bug-regex31.input: New file.
37883
37884 [BZ #12078]
37885 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37886 (parse_sub_exp): Fix last change, use postorder.
37887
ef06edbe
UD
37888 * posix/bug-regex31.c: New file.
37889 * posix/Makefile: Add rules to build and run bug-regex31.
37890
a129c80d
UD
37891 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37892
37893 [BZ #12078]
37894 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37895
b76b818e
UD
37896 [BZ #12108]
37897 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37898 to have entries in sys_siglist.
37899
1751705d
UD
37900 [BZ #12093]
37901 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37902 be NULL.
37903
9ff8d36f
JJ
379042010-10-07 Jakub Jelinek <jakub@redhat.com>
37905
37906 [BZ #3268]
37907 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37908 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37909 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37910 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37911 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37912 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37913 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37914 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37915 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37916 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37917 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37918 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37919 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37920 * math/ftestexcept.c (fetestexcept): Likewise.
37921 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37922 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37923 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37924 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37925 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37926 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37927 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37928
af325969
UD
379292010-10-11 Ulrich Drepper <drepper@gmail.com>
37930
c579b202 37931 [BZ #12107]
af325969
UD
37932 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37933 newline.
37934
67a67b95
UD
379352010-10-06 Ulrich Drepper <drepper@gmail.com>
37936
37937 * string/bug-strstr1.c: New file.
37938 * string/Makefile: Add rules to build and run bug-strstr1.
37939
5fb308bc
EB
379402010-10-05 Eric Blake <eblake@redhat.com>
37941
37942 [BZ #12092]
37943 * string/str-two-way.h (two_way_long_needle): Always clear memory
37944 when skipping input due to the shift table.
37945
45db99c7
UD
379462010-10-03 Ulrich Drepper <drepper@gmail.com>
37947
3b111893
UD
37948 [BZ #12005]
37949 * malloc/mcheck.c: Handle large requests.
37950
45db99c7
UD
37951 [BZ #12077]
37952 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37953 for strncmp and strncasecmp.
37954 * string/stratcliff.c: Add tests for strcmp and strncmp.
37955 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37956
cf7a1eb8
NI
379572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37958
37959 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37960 __set_fpscr.
37961
6484ba5e
AJ
379622010-09-30 Andreas Jaeger <aj@suse.de>
37963
37964 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37965 (CGROUP_SUPER_MAGIC): Define.
37966 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37967 Handle btrfs and cgroup file systems.
37968 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37969 Likewise.
37970
91c42559
LM
379712010-09-27 Luis Machado <luisgpm@br.ibm.com>
37972
37973 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37974 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37975
87a97932
AK
379762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37977
37978 [BZ #12067]
37979 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37980 trying to locate the ELF header.
37981
c21cc9bc
AS
379822010-09-27 Andreas Schwab <schwab@redhat.com>
37983
37984 [BZ #11611]
37985 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37986 Mask out sign-bit copies when constructing f_fsid.
37987
315970f6
PB
379882010-09-24 Petr Baudis <pasky@suse.cz>
37989
37990 * debug/stack_chk_fail_local.c: Add missing licence exception.
37991 * debug/warning-nop.c: Likewise.
37992
1ac7a2c7
JM
379932010-09-15 Joseph Myers <joseph@codesourcery.com>
37994
37995 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37996 implementing getdents64 using getdents syscall, set d_type if
37997 __ASSUME_GETDENTS32_D_TYPE.
37998
56801c50
AS
379992010-09-16 Andreas Schwab <schwab@redhat.com>
38000
38001 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38002 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38003
dda51327
UD
380042010-09-21 Ulrich Drepper <drepper@redhat.com>
38005
38006 [BZ #12037]
38007 * posix/unistd.h: Undo change of feature selection for ftruncate from
38008 2010-01-11.
38009
8ffcee4a
UD
380102010-09-20 Ulrich Drepper <drepper@redhat.com>
38011
a545ecd9 38012 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
38013 detection.
38014
e24f0a8b
AS
380152010-09-20 Andreas Schwab <schwab@redhat.com>
38016
38017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38018 fanotify_mark.
38019 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38020
7291c56f
AS
380212010-09-14 Andreas Schwab <schwab@redhat.com>
38022
38023 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38024 variables after CHECK_SP call.
38025 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38026
bc5fb037
AS
380272010-09-13 Andreas Schwab <schwab@redhat.com>
38028 Ulrich Drepper <drepper@redhat.com>
38029
38030 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38031 re-relocationg ld.so.
38032 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38033 _dl_init_paths call.
38034 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38035 here anymore.
38036
e66e7419
UD
380372010-09-14 Ulrich Drepper <drepper@redhat.com>
38038
38039 * resolv/res_init.c (__res_vinit): Count the default server we added.
38040
c044aa75
CLT
380412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38042 Ulrich Drepper <drepper@redhat.com>
38043
38044 [BZ #11968]
38045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38046 (____longjmp_chk): Use %ebx for saving value across system call.
38047 Add unwind info.
38048
32cf4069
AS
380492010-09-06 Andreas Schwab <schwab@redhat.com>
38050
38051 * manual/Makefile: Don't mix pattern rules with normal rules.
38052
817328ee
AS
380532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38054
38055 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38056 operation.
38057 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38058 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38059 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38060 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38062 Likewise.
38063
29fddf61
UD
380642010-09-04 Ulrich Drepper <drepper@redhat.com>
38065
38066 [BZ #11979]
38067 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38068 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38069
0959ffc9
UD
380702010-09-02 Ulrich Drepper <drepper@redhat.com>
38071
38072 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38073 * sysdeps/x86_64/addmul_1.S: Likewise.
38074 * sysdeps/x86_64/lshift.S: Likewise.
38075 * sysdeps/x86_64/mul_1.S: Likewise.
38076 * sysdeps/x86_64/rshift.S: Likewise.
38077 * sysdeps/x86_64/sub_n.S: Likewise.
38078 * sysdeps/x86_64/submul_1.S: Likewise.
38079
ece29840
ST
380802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38081
0959ffc9
UD
38082 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38083 Define __sched_param instead of SCHED_* and sched_param when
ece29840 38084 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 38085 * bits/sched.h [__need_schedparam]
ece29840 38086 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
38087 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38088 (__defined_schedparam): Define to 1.
ece29840
ST
38089 (__sched_param): New structure, identical to sched_param.
38090 (__need_schedparam): Undefine.
38091
e53a31fe
MF
380922010-08-31 Mike Frysinger <vapier@gentoo.org>
38093
fdc0c10d
MF
38094 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38095 (epoll_create1): Declare.
38096
e53a31fe
MF
38097 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38098
a726d796
AS
380992010-08-31 Andreas Schwab <schwab@redhat.com>
38100
38101 [BZ #7066]
38102 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38103 shifting retval into place.
38104
2f3e3dc7
UD
381052010-09-01 Ulrich Drepper <drepper@redhat.com>
38106
f2933da9
UD
38107 * nis/rpcsvc/nis.h: Update copyright notice.
38108 * nis/rpcsvc/nis.x: Likewise.
38109 * nis/rpcsvc/nis_callback.h: Likewise.
38110 * nis/rpcsvc/nis_callback.x: Likewise.
38111 * nis/rpcsvc/nis_object.x: Likewise.
38112 * nis/rpcsvc/nis_tags.h: Likewise.
38113 * nis/rpcsvc/yp.h: Likewise.
38114 * nis/rpcsvc/yp.x: Likewise.
38115 * nis/rpcsvc/ypupd.h: Likewise.
38116 * nis/yp_xdr.c: Likewise.
38117 * nis/ypupdate_xdr.c: Likewise.
38118
2f3e3dc7
UD
38119 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38120 mainly the body of pmap_getport. Add parameters to specify timeouts.
38121 (pmap_getport): Use __libc_rpc_getport.
38122 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38123 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38124 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38125
f3dcc2f9
AS
381262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38127
38128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38129 fanotify_mark.
38130
6d34eb5b
RM
381312010-08-27 Roland McGrath <roland@redhat.com>
38132
38133 * sysdeps/i386/i686/multiarch/Makefile
38134 (CFLAGS-varshift.c): New variable.
38135
9ea3de11
UD
381362010-08-27 Ulrich Drepper <drepper@redhat.com>
38137
c96d23fc
UD
38138 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38139 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38140
9ea3de11
UD
38141 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38142
38143 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38144
623aac7f
L
381452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38146
38147 * sysdeps/x86_64/strlen.S: Unroll the loop.
38148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38149 strlen-sse2 strlen-sse2-bsf.
38150 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38151 __strlen_no_bsf if bit_Slow_BSF is set.
38152 (__strlen_sse42): Removed.
38153 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38154 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38155
8b2b7715
RM
381562010-08-25 Roland McGrath <roland@redhat.com>
38157
38158 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38159 * sysdeps/x86_64/multiarch/varshift.c: New file.
38160 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38161 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38162 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38163 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38164
e73015f2
L
381652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38166
38167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38168 strlen-sse2 strlen-sse2-bsf.
38169 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38170 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38171 (__strlen_sse2): Removed.
38172 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38173 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38175 bit_Slow_BSF for Atom.
38176 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38177 (index_Slow_BSF): Define.
38178 (HAS_SLOW_BSF): Define.
38179
df24a73e
UD
381802010-08-25 Ulrich Drepper <drepper@redhat.com>
38181
38182 [BZ #10851]
38183 * resolv/res_init.c (__res_vinit): When no server address at all
38184 is given default to loopback.
38185
f2ac4868
RM
381862010-08-24 Roland McGrath <roland@redhat.com>
38187
09055553
RM
38188 * configure.in: Remove config-name.h generation.
38189 * configure: Regenerated.
38190 * config-name.in: File removed.
38191 * scripts/config-uname.sh: New file.
38192 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38193 ($(objdir)config-name.h): New target.
38194
f2ac4868
RM
38195 * sunrpc/rpc_parse.h: Avoid nested comment.
38196
73f27d5e
RH
381972010-08-24 Richard Henderson <rth@redhat.com>
38198 Ulrich Drepper <drepper@redhat.com>
38199 H.J. Lu <hongjiu.lu@intel.com>
38200
38201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38203 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38204 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38205 _mm_alignr_epi8 with _mm_loadu_si128.
38206 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38207 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38208 (__m128i_shift_right): Removed.
38209 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38210 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38211 * sysdeps/x86_64/multiarch/varshift.h: New file.
38212 * sysdeps/x86_64/multiarch/varshift.S: New file.
38213
84b9230c
MF
382142010-08-21 Mike Frysinger <vapier@gentoo.org>
38215
38216 * configure.in: Move assembler checks to before sysdep dir checking.
38217
9bbd0ddc
PB
382182010-08-20 Petr Baudis <pasky@suse.cz>
38219
38220 * LICENSES: Sync the sunrpc license.
38221
9da4bb31
UD
382222010-08-19 Ulrich Drepper <drepper@redhat.com>
38223
a7ab6ec8
UD
38224 * sunrpc/auth_des.c: Update copyright notice once again.
38225 * sunrpc/auth_none.c: Likewise.
38226 * sunrpc/auth_unix.c: Likewise.
38227 * sunrpc/authdes_prot.c: Likewise.
38228 * sunrpc/authuxprot.c: Likewise.
38229 * sunrpc/bindrsvprt.c: Likewise.
38230 * sunrpc/clnt_gen.c: Likewise.
38231 * sunrpc/clnt_perr.c: Likewise.
38232 * sunrpc/clnt_raw.c: Likewise.
38233 * sunrpc/clnt_simp.c: Likewise.
38234 * sunrpc/clnt_tcp.c: Likewise.
38235 * sunrpc/clnt_udp.c: Likewise.
38236 * sunrpc/clnt_unix.c: Likewise.
38237 * sunrpc/des_crypt.c: Likewise.
38238 * sunrpc/des_soft.c: Likewise.
38239 * sunrpc/get_myaddr.c: Likewise.
38240 * sunrpc/getrpcport.c: Likewise.
38241 * sunrpc/key_call.c: Likewise.
38242 * sunrpc/key_prot.c: Likewise.
38243 * sunrpc/openchild.c: Likewise.
38244 * sunrpc/pm_getmaps.c: Likewise.
38245 * sunrpc/pm_getport.c: Likewise.
38246 * sunrpc/pmap_clnt.c: Likewise.
38247 * sunrpc/pmap_prot.c: Likewise.
38248 * sunrpc/pmap_prot2.c: Likewise.
38249 * sunrpc/pmap_rmt.c: Likewise.
38250 * sunrpc/rpc/auth.h: Likewise.
38251 * sunrpc/rpc/auth_unix.h: Likewise.
38252 * sunrpc/rpc/clnt.h: Likewise.
38253 * sunrpc/rpc/des_crypt.h: Likewise.
38254 * sunrpc/rpc/key_prot.h: Likewise.
38255 * sunrpc/rpc/netdb.h: Likewise.
38256 * sunrpc/rpc/pmap_clnt.h: Likewise.
38257 * sunrpc/rpc/pmap_prot.h: Likewise.
38258 * sunrpc/rpc/pmap_rmt.h: Likewise.
38259 * sunrpc/rpc/rpc.h: Likewise.
38260 * sunrpc/rpc/rpc_des.h: Likewise.
38261 * sunrpc/rpc/rpc_msg.h: Likewise.
38262 * sunrpc/rpc/svc.h: Likewise.
38263 * sunrpc/rpc/svc_auth.h: Likewise.
38264 * sunrpc/rpc/types.h: Likewise.
38265 * sunrpc/rpc/xdr.h: Likewise.
38266 * sunrpc/rpc_clntout.c: Likewise.
38267 * sunrpc/rpc_cmsg.c: Likewise.
38268 * sunrpc/rpc_common.c: Likewise.
38269 * sunrpc/rpc_cout.c: Likewise.
38270 * sunrpc/rpc_dtable.c: Likewise.
38271 * sunrpc/rpc_hout.c: Likewise.
38272 * sunrpc/rpc_main.c: Likewise.
38273 * sunrpc/rpc_parse.c: Likewise.
38274 * sunrpc/rpc_parse.h: Likewise.
38275 * sunrpc/rpc_prot.c: Likewise.
38276 * sunrpc/rpc_sample.c: Likewise.
38277 * sunrpc/rpc_scan.c: Likewise.
38278 * sunrpc/rpc_scan.h: Likewise.
38279 * sunrpc/rpc_svcout.c: Likewise.
38280 * sunrpc/rpc_tblout.c: Likewise.
38281 * sunrpc/rpc_util.c: Likewise.
38282 * sunrpc/rpc_util.h: Likewise.
38283 * sunrpc/rpcinfo.c: Likewise.
38284 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38285 * sunrpc/rpcsvc/key_prot.x: Likewise.
38286 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38287 * sunrpc/rpcsvc/mount.x: Likewise.
38288 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38289 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38290 * sunrpc/rpcsvc/rex.x: Likewise.
38291 * sunrpc/rpcsvc/rstat.x: Likewise.
38292 * sunrpc/rpcsvc/rusers.x: Likewise.
38293 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38294 * sunrpc/rpcsvc/spray.x: Likewise.
38295 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38296 * sunrpc/rtime.c: Likewise.
38297 * sunrpc/svc.c: Likewise.
38298 * sunrpc/svc_auth.c: Likewise.
38299 * sunrpc/svc_authux.c: Likewise.
38300 * sunrpc/svc_raw.c: Likewise.
38301 * sunrpc/svc_run.c: Likewise.
38302 * sunrpc/svc_simple.c: Likewise.
38303 * sunrpc/svc_tcp.c: Likewise.
38304 * sunrpc/svc_udp.c: Likewise.
38305 * sunrpc/svc_unix.c: Likewise.
38306 * sunrpc/svcauth_des.c: Likewise.
38307 * sunrpc/xcrypt.c: Likewise.
38308 * sunrpc/xdr.c: Likewise.
38309 * sunrpc/xdr_array.c: Likewise.
38310 * sunrpc/xdr_float.c: Likewise.
38311 * sunrpc/xdr_mem.c: Likewise.
38312 * sunrpc/xdr_rec.c: Likewise.
38313 * sunrpc/xdr_ref.c: Likewise.
38314 * sunrpc/xdr_sizeof.c: Likewise.
38315 * sunrpc/xdr_stdio.c: Likewise.
38316
9da4bb31
UD
38317 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38318 handling.
38319
bdaa77bc
AS
383202010-08-19 Andreas Schwab <schwab@redhat.com>
38321
38322 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38323
fe2f79db
LM
383242010-08-19 Luis Machado <luisgpm@br.ibm.com>
38325
38326 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38327 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38328 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38329 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38330 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38331 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38332 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38333 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38334 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38335 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38336 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38337 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38338 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38339 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38340
b9b42ee0
AB
383412010-07-26 Anton Blanchard <anton@samba.org>
38342
38343 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38344 * malloc/arena.c (heap_trim): Likewise.
38345
1c06ba31
UD
383462010-08-16 Ulrich Drepper <drepper@redhat.com>
38347
38348 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38349 here. Not...
38350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38351 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38352
f8392f40
L
383532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38354
38355 * sysdeps/i386/elf/Makefile: New file.
38356
3162f12e
AS
383572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38358
38359 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38360 from fanotify_init.
38361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38363
28c90b2c
UD
383642010-08-15 Ulrich Drepper <drepper@redhat.com>
38365
38366 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38367 of strncasecmp_l.
1feccb6c 38368 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38369
ca6bb004
UD
383702010-08-14 Ulrich Drepper <drepper@redhat.com>
38371
e9f82e0d
UD
38372 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38373 strncase_l-nonascii.
38374 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38375 Add strncase_l-ssse3.
38376 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38377 * sysdeps/x86_64/strcmp.S: Likewise.
38378 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38379 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38380 * sysdeps/x86_64/strncase.S: New file.
38381 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38382 * sysdeps/x86_64/strncase_l.S: New file.
38383 * string/Makefile (strop-tests): Add strncasecmp.
38384 * string/test-strncasecmp.c: New file.
38385
38386 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38387 warning.
38388
ca6bb004
UD
38389 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38390 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38391
052fa7b3
AS
383922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38393
38394 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38395
962dba78
UD
383962010-08-12 Ulrich Drepper <drepper@redhat.com>
38397
38398 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38399 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38400 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38401
bebff237
AM
384022010-05-01 Alan Modra <amodra@gmail.com>
38403
38404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38405 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38406 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38407 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38408 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38409 tidying. Don't tail-call __sigjmp_save for static lib.
38410 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38411 save location.
38412 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38413 (CALL_MCOUNT): Add eh info, and nop after bl.
38414 (TAIL_CALL_SYSCALL_ERROR): New macro.
38415 (PSEUDO_RET): Use it.
38416 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38417 Correct save location of integer regs and cr.
38418 (_dl_profile_resolve): Correct cr save location. Delete nops
38419 after bl when SHARED. Reduce cfi size a little by better
38420 placement of cfi directives.
38421 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38422 make a stack frame. Instead use parm save area as a temp.
38423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38424 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38426 Don't make a stack frame for parent, use parm save area.
38427 Increase child stack frame to 112 bytes. Don't save unused reg,
38428 and adjust reg usage. Set up cfi on error recovery and
38429 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38431 (__makecontext): Add dummy nop after jump to exit.
38432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38433 Use correct parm save area and cr save, reduce stack frame.
38434 Correct cfi for possible PSEUDO_RET frame setup.
38435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38436 Branch to local label emitted by PSEUDO_RET rather than
38437 __syscall_error.
38438
02637374
AS
384392010-08-12 Andreas Schwab <schwab@redhat.com>
38440
38441 [BZ #11904]
38442 * locale/programs/locale.c (print_assignment): New function.
38443 (show_locale_vars): Use it.
38444
c3e2f19b
UD
384452010-08-11 Ulrich Drepper <drepper@redhat.com>
38446
3cdaa6ad
UD
38447 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38448 field.
38449 (struct statfs64): Likewise.
38450 (_STATFS_F_FLAGS): Define.
38451 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38453 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38454 (ST_VALID): Define locally.
38455 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38456 __statvfs_getflags, use the provided value.
38457 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38458 __ASSUME_STATFS_F_FLAGS.
38459
754f7da3
UD
38460 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38461
10b3bedc
UD
38462 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38463 Add sys/fanotify.h.
38464 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38465 fanotify_mask for GLIBC_2.13.
38466 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38467 fanotify_init and fanotify_mark.
38468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38469 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38470
c08fb0d7
UD
38471 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38472 Add prlimit.
38473 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38474 prlimit64 for GLIBC_2.13.
38475 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38476 prlimit64.
38477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38478 syscall.
38479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38480 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38481 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38482 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38483 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38484 add prlimit alias.
38485 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38486
15bac72b
UD
38487 [BZ #11903]
38488 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38489 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38490
c3e2f19b
UD
38491 * nss/Makefile: Add rules to build and run tst-nss-test1.
38492 * shlib-versions: Add entry for libnss_test1.
38493 * nss/nss_test1.c: New file.
38494 * nss/tst-nss-test1.c: New file.
38495
38496 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38497 (__nss_configure_lookup): Set appropriate entry in
38498 __nss_configure_lookup to true.
38499 * nss/nsswitch.h: Define enum with indeces of databases in
38500 databases and __nss_database_custom arrays. Declare
38501 __nss_database_custom.
38502 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38503 to avoid using nscd when custom rules are installed.
38504 * nss/getXXbyYY_r.c: Likewise.
38505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38506
38507 * nss/nss_files/files-parse.c: Whitespace fixes.
38508
f15ce4d8
UD
385092010-08-09 Ulrich Drepper <drepper@redhat.com>
38510
38511 [BZ #11883]
38512 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38513 * posix/fnmatch_loop.c: Likewise.
38514
d22e4cc9
AK
385152010-07-17 Andi Kleen <ak@linux.intel.com>
38516
38517 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38518 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38519 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38520 * Versions.def [GLIBC_2.13]: Add.
38521
805bc17d
UD
385222010-08-06 Ulrich Drepper <drepper@redhat.com>
38523
38524 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38525 Also fail if tpwd after pwuid call is NULL.
38526
5a42321d
ST
385272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38528
38529 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38530 when converting to ms.
38531
fd3ebeda
ST
385322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38533
38534 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38535 EOPNOTSUPP errors with ENOTTY.
38536 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38537 EOPNOTSUPP errors with ENOTTY.
38538
73507d3a
UD
385392010-07-31 Ulrich Drepper <drepper@redhat.com>
38540
38541 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38542 Add strcasecmp_l-ssse3.
38543 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38544 strcasecmp.
38545 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38546 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38547 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38548
fe36dd02
UD
385492010-07-30 Ulrich Drepper <drepper@redhat.com>
38550
66f6765a
UD
38551 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38552
42e08a54
UD
38553 * string/Makefile (strop-tests): Add strcasecmp.
38554 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38555 strcasecmp_l-nonascii.
38556 (gen-as-const-headers): Add locale-defines.sym.
38557 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38558 * sysdeps/x86_64/strcasecmp.S: New file.
38559 * sysdeps/x86_64/strcasecmp_l.S: New file.
38560 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38561 * sysdeps/x86_64/locale-defines.sym: New file.
38562 * string/test-strcasecmp.c: New file.
38563
fe36dd02
UD
38564 * string/test-strcasestr.c: Test both ends of the range of characters.
38565 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38566
48cbc0d6
RM
385672010-07-29 Roland McGrath <roland@redhat.com>
38568
76e6d6bc 38569 [BZ #11856]
48cbc0d6
RM
38570 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38571
880113d9
UD
385722010-07-27 Ulrich Drepper <drepper@redhat.com>
38573
38574 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38575 for ld.so.
38576
deb9cabb
AS
385772010-07-27 Andreas Schwab <schwab@redhat.com>
38578
38579 * manual/memory.texi (Malloc Tunable Parameters): Document
38580 M_PERTURB.
38581
1c7570ff
RM
385822010-07-26 Roland McGrath <roland@redhat.com>
38583
38584 [BZ #11840]
38585 * configure.in (-fgnu89-inline check): Set and substitute
38586 gnu89_inline, not libc_cv_gnu89_inline.
38587 * configure: Regenerated.
38588 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38589
24fb0f88
UD
385902010-07-26 Ulrich Drepper <drepper@redhat.com>
38591
38592 * string/test-strnlen.c: New file.
38593 * string/Makefile (strop-tests): Add strnlen.
38594 * string/tester.c (test_strnlen): Add a few more test cases.
38595 * string/tst-strlen.c: Better error reporting.
38596
38597 * sysdeps/x86_64/strnlen.S: New file.
38598
8e96b93a
UD
385992010-07-24 Ulrich Drepper <drepper@redhat.com>
38600
38601 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38602 lower-latency instructions.
38603
dbc676d4
UD
386042010-07-23 Ulrich Drepper <drepper@redhat.com>
38605
38606 * string/test-strcasestr.c: New file.
38607 * string/test-strstr.c: New file.
38608 * string/Makefile (strop-tests): Add strstr and strcasestr.
38609 * string/str-two-way.h: Don't undefine MAX.
38610 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38611
f6a31e0e
AS
386122010-07-21 Andreas Schwab <schwab@redhat.com>
38613
38614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38615 strcasestr-nonascii.
38616 (CFLAGS-strcasestr-nonascii.c): Define.
38617 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38618 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38619 Remove unused attribute.
38620
5dbc3b6c
RM
386212010-07-20 Roland McGrath <roland@redhat.com>
38622
38623 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38624 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38625 ld.so.cache was broken. With it, there is no way to disable dsocaps
38626 like LD_HWCAP_MASK can disable hwcaps.
38627
23d101d8
EPM
386282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38629
38630 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38631
cc9f2e47
UD
386322010-07-16 Ulrich Drepper <drepper@redhat.com>
38633
38634 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38635 call in strcasestr.
38636 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38637 __strcasestr_sse42_nonascii.
38638 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38639 strcasestr-nonascii.c.
38640 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38641
77c1b069
LM
386422010-06-15 Luis Machado <luisgpm@br.ibm.com>
38643
38644 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38645 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38646 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38647 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38648
440566c3
UD
386492010-07-09 Ulrich Drepper <drepper@redhat.com>
38650
38651 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38652 fcntl.
38653
5be9d05d
AS
386542010-07-06 Andreas Schwab <schwab@redhat.com>
38655
c30b7ee2 38656 [BZ #11577]
5be9d05d
AS
38657 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38658 dl_signal_cerror.
38659
8a492a67
UD
386602010-07-06 Ulrich Drepper <drepper@redhat.com>
38661
38662 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38663 _PC_PIPE_BUF using F_GETPIPE_SZ.
38664
713df3d5
RM
386652010-07-05 Roland McGrath <roland@redhat.com>
38666
38667 * manual/arith.texi (Rounding Functions): Fix rint description
38668 implicit in round description.
38669
702e8f14
UD
386702010-07-02 Ulrich Drepper <drepper@redhat.com>
38671
38672 * elf/Makefile: Fix linking for a few tests to make recent linker
38673 happy.
38674
52ed8be9
AS
386752010-06-30 Andreas Schwab <schwab@redhat.com>
38676
38677 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38678 $(common-objpfx)libc_nonshared.a.
38679
f47c9a11
LM
386802010-06-21 Luis Machado <luisgpm@br.ibm.com>
38681
38682 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38683 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38684 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38685 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38686 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38687 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38688 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38689 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38704 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38705 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38706 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38707 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38708 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38709 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38710 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38711 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38712 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38713 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38714 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38715 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38730
6fb8cbcb
L
387312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38732
38733 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38734 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38735 * string/memmove.c (memmove): Renamed to ...
38736 (MEMMOVE): ...this. Default to memmove.
38737 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38738 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38739 (END_CHK): Define.
38740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38741 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38742 mempcpy-ssse3-back memmove-ssse3-back.
38743 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38744 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38745 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38746 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38747 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38748 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38749 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38750 * sysdeps/x86_64/multiarch/memmove.c: New file.
38751 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38752 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38753 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38754 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38755 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38757 Define.
38758 (index_Fast_Copy_Backward): Define.
38759 (HAS_ARCH_FEATURE): Define.
38760 (HAS_FAST_REP_STRING): Define.
38761 (HAS_FAST_COPY_BACKWARD): Define.
38762
4e733bac 387632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38764
38765 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38766 Restore proper fallback handling.
38767
63c4ed22
UD
387682010-06-19 Ulrich Drepper <drepper@redhat.com>
38769
ac2b484c
UD
38770 [BZ #11701]
38771 * posix/group_member.c (__group_member): Correct checking loop.
38772
63c4ed22
UD
38773 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38774 OOM in getpwuid_r correctly. Return error number when the caller
38775 should return, otherwise -1.
38776 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38777 call returning > 0 value.
38778 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38779
765ade4b
AS
387802010-06-07 Andreas Schwab <schwab@redhat.com>
38781
38782 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38783 libc_nonshared.a from targets in modules-names.
38784
80da2e09
KS
387852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38786
38787 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38788 requires it.
38789
158db122
LM
387902010-06-10 Luis Machado <luisgpm@br.ibm.com>
38791
38792 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38793 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38794 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38795 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38796
caa78cf8
AS
387972010-06-02 Andreas Schwab <schwab@redhat.com>
38798
38799 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38800
b2ef2c01
UD
388012010-06-14 Ulrich Drepper <drepper@redhat.com>
38802
38803 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38804 and F_GETPIPE_SZ.
38805 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38806 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38809 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38810 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38811
fbd643b6
RM
388122010-06-14 Roland McGrath <roland@redhat.com>
38813
38814 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38815
f32f2869
JJ
388162010-06-07 Jakub Jelinek <jakub@redhat.com>
38817
38818 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38819 __REDIRECT followed by __THROW.
38820 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38821 * posix/getopt.h (getopt): Likewise.
38822
2a50c078
EPM
388232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38824
38825 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38826 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38827 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38828 in AT_FLAGS.
38829 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38830 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38831
eb5ad2eb
LM
388322010-05-28 Luis Machado <luisgpm@br.ibm.com>
38833
38834 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38835
3c88fe1e
L
388362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38837
38838 [BZ #11640]
38839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38840 Properly check family and model.
38841
d2f73151
TY
388422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38843
38844 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38845
ebd2e13d
LM
388462010-05-24 Luis Machado <luisgpm@br.ibm.com>
38847
38848 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38849
b32b8b45
UD
388502010-05-21 Ulrich Drepper <drepper@redhat.com>
38851
38852 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38853 symbol reference.
38854
9acbe24d
AS
388552010-05-19 Andreas Schwab <schwab@redhat.com>
38856
38857 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38858 symbol reference.
38859
f0ccf6ea
AS
388602010-05-21 Andreas Schwab <schwab@redhat.com>
38861
3d04ff3a
AS
38862 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38863 and internal_recvmmsg.
38864 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38865 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38866 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38867 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38868
f0ccf6ea
AS
38869 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38870 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38871 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38872
5b08ac57
AS
388732010-05-20 Andreas Schwab <schwab@redhat.com>
38874
38875 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38876
4828935d
LM
388772010-05-17 Luis Machado <luisgpm@br.ibm.com>
38878
38879 POWER7 optimizations.
38880 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38881 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38882
373d545e
UD
388832010-05-19 Ulrich Drepper <drepper@redhat.com>
38884
38885 * version.h: Update for 2.13 development version.
38886
21a2b1ae
AS
388872010-05-12 Andrew Stubbs <ams@codesourcery.com>
38888
38889 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38890 exceptions. Return 0.
38891
3f7dcb2b
RM
388922010-05-07 Roland McGrath <roland@redhat.com>
38893
38894 * elf/ldconfig.c (main): Add a const.
38895
5f24d53a 388962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38897
a160f8d8
UD
38898 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38899 (args_options): Add no-idn option.
38900 (ahosts_keys_int): Add idn_flags to ai_flags.
38901 (parse_option): Handle 'i' option to clear idn_flags.
38902
5f24d53a
UD
38903 * malloc/malloc.c (_int_free): Possible race in the most recently
38904 added check. Only act on the data if no current modification
38905 happened.
265bb1ce
UD
38906
38907See ChangeLog.17 for earlier changes.