]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix whitespace in ARM files to allow move.
[thirdparty/glibc.git] / ChangeLog
1 2014-02-08 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5 * sysdeps/unix/sysv/linux/arm: Move directory from
6 ports/sysdeps/unix/sysv/linux/arm.
7 * README: Update listing for arm-*-linux-gnueabi.
8
9 * README: Remove mention of am33.
10
11 2014-02-07 Roland McGrath <roland@hack.frob.com>
12
13 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14 than the comma operator, to avoid "rhs of comma has no effect"
15 compiler warnings.
16 (__sigfillset, __sigandset, __sigorset): Likewise.
17 * include/signal.h (__sigemptyset): Likewise.
18 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19
20 2014-02-07 Allan McRae <allan@archlinux.org>
21
22 * version.h (RELEASE): Set to "development".
23 (VERSION): Set to "2.19.90"
24 * NEWS: Add 2.20 section.
25
26 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27
28 [BZ #16529]
29 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30
31 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32
33 * manual/contrib.texi: Update entry for Carlos O'Donell,
34 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
35
36 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
37
38 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39
40 * sysdeps/unix/sysv/linux/kernel-features.h
41 [__LINUX_KERNEL_VERSION >= 0x020621]
42 (__ASSUME_PROC_PID_TASK_COMM): Define.
43
44 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
45
46 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
48 Leonard and Allan McRae.
49
50 2014-02-04 David S. Miller <davem@davemloft.net>
51
52 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
53 32-bit.
54
55 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56
57 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
58 file
59 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
60 New file
61 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
62 file.
63 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
64 file.
65 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
66 New file.
67 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
68 file.
69 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
70 file.
71 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
72 New file.
73 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
74 New file.
75 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
76 New file.
77 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
78 New file.
79 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
80 New file.
81 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
82 New file.
83
84 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85
86 * nptl/shlib-versions: Change powerpc*le start to 2.17.
87 * shlib-versions: Likewise.
88
89 2014-02-04 Roland McGrath <roland@hack.frob.com>
90 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91
92 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
93 (abilist-pattern): New variable, set to %-le.abilist.
94
95 * Makerules (abilist-pattern): New variable.
96 (vpath): Use $(abilist-pattern) in place of %.abilist.
97 (check-abi-% pattern rule): Likewise.
98 (check-abi, update-abi): Likewise.
99
100 2014-02-04 Eric Wong <normalperson@yhbt.net>
101
102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
103
104 2014-02-04 Eric Wong <normalperson@yhbt.net>
105
106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
107
108 2014-02-03 Carlos O'Donell <carlos@redhat.com>
109
110 * manual/startup.texi: Add next, previous, and top entries for
111 the `Program Arguments' and `Environment Variables' nodes.
112
113 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
114
115 * manual/macros.texi: Add comments before MTASC-safety macros.
116
117 * manual/users.texi: Document MTASC-safety properties.
118
119 * manual/threads.texi (pthread_key_create, pthread_key_delete,
120 pthread_getspecific, pthread_setspecific): Format with
121 @deftypefun, and add @safety note.
122 * manual/signal.texi: Move comments that analyze the above
123 functions to their home place.
124
125 2014-02-03 Allan McRae <allan@archlinux.org>
126
127 * po/sl.po: Update Slovenian translation from translation project.
128
129 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
130
131 * manual/time.texi (timegm): Add missing blank after @c.
132 Reported by Joseph Myers <joseph@codesourcery.com>.
133
134 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
135
136 * manual/check-safety.sh: New.
137 * manual/Makefile ($(objpfx)stamp-summary): Run it.
138
139 * manual/terminal.texi: Document MTASC-safety properties.
140
141 * manual/filesys.texi: Document MTASC-safety properties.
142
143 * manual/errno.texi: Document MTASC-safety properties.
144
145 * manual/intro.texi: Document safety identifiers and
146 conditionals.
147
148 * manual/string.texi (wcstok): Fix prototype.
149 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
150
151 * manual/time.texi: Document MTASC-safety properties.
152
153 * manual/string.texi: Document MTASC-safety properties.
154
155 * manual/threads.texi: Document MTASC-safety properties.
156
157 * manual/stdio.texi: Document MTASC-safety properties.
158
159 * manual/syslog.texi: Document MTASC-safety properties.
160
161 * manual/sysinfo.texi: Document MTASC-safety properties.
162
163 * manual/startup.texi: Document MTASC-safety properties.
164
165 * manual/socket.texi: Document MTASC-safety properties.
166
167 * manual/signal.texi: Document MTASC-safety properties.
168
169 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
170
171 * manual/setjmp.texi: Document MTASC-safety properties.
172
173 * manual/search.texi: Document MTASC-safety properties.
174
175 * manual/resource.texi: Document MTASC-safety properties.
176
177 * manual/process.texi: Document MTASC-safety properties.
178
179 * manual/platform.texi: Document MTASC-safety properties.
180
181 * manual/pipe.texi: Document MTASC-safety properties.
182
183 * manual/pattern.texi: Document MTASC-safety properties.
184
185 * manual/message.texi: Document MTASC-safety properties.
186
187 [BZ #12751]
188 * manual/memory.texi: Document MTASC-safety properties.
189
190 * manual/math.texi: Document MTASC-safety properties.
191
192 * manual/locale.texi: Document MTASC-safety properties.
193
194 * manual/llio.texi: Document MTASC-safety properties.
195
196 * manual/libdl.texi: New.
197
198 * manual/lang.texi: Document MTASC-safety properties.
199
200 * manual/job.texi: Document MTASC-safety properties.
201
202 * manual/getopt.texi: Document MTASC-safety properties.
203
204 * manual/ctype.texi: Document MTASC-safety properties.
205
206 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
207
208 [BZ #16046]
209 * csu/libc-tls.c (static_map): Remove variable.
210 (__libc_setup_tls): Use main executable's link map for TLS data.
211 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
212 casing for LM_ID_BASE and GL(dl_nns).
213 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
214 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
215 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
216 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
217 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
218 member.
219 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
220 l_phnum members.
221
222 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
223
224 * manual/debug.texi: Document MTASC-safety properties.
225
226 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
227
228 [BZ #16510]
229 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
230 of __x86_64__ when disabling x87 inline functions.
231
232 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
233
234 * manual/charset.texi: Document MTASC-safety properties.
235
236 * manual/crypt.texi: Document MTASC-safety properties.
237
238 * manual/conf.texi: Document MTASC-safety properties.
239
240 * manual/arith.texi: Document MTASC-safety properties.
241
242 * manual/argp.texi: Document MTASC-safety properties.
243
244 * manual/macros.texi: Introduce macros to document multi
245 thread, asynchronous signal and asynchronous cancellation
246 safety properties.
247 * manual/intro.texi: Introduce the properties themselves.
248
249 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
250
251 * sysdeps/sh/sh4/Makefile: New file.
252
253 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
254
255 * math/gen-libm-test.pl ($srcdir): New variable.
256 ($auto_input): Use it.
257
258 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
259
260 [BZ #16506]
261 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
262 access beyond array bounds when parsing netgroups file.
263
264 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
265 the old buffer before realloc.
266
267 2014-01-27 Allan McRae <allan@archlinux.org>
268
269 * po/fr.po: Update French translation from translation project.
270
271 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
272
273 * sysdeps/sh/libm-test-ulps: Regenerate.
274
275 2014-01-24 David S. Miller <davem@davemloft.net>
276
277 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
278
279 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
280
281 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
282 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
283
284 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
285
286 [BZ #16474]
287 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
288 string pointers after reallocation.
289
290 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
291
292 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
293 __SH4A__ instead of __SH_FPU_ANY__.
294
295 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
296
297 * sysdeps/sh/fpu_control.h: New file.
298 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
299 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
300 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
301 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
302 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
303 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
304 * sysdeps/sh/sys/ucontext.h: Remove.
305 * sysdeps/sh/sys: Remove directory.
306
307 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
308
309 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
310 s390/sys/ucontext.h.
311 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
312 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
313
314 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
315
316 [BZ #15605]
317 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
318
319 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
320
321 [BZ#16431]
322 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
323 Adjust the vDSO correctly for internal calls.
324 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
325
326 2014-01-20 Allan McRae <allan@archlinux.org>
327
328 * po/ca.po: Update Catalan translation from translation project.
329
330 2014-01-16 Mike Frysinger <vapier@gentoo.org>
331
332 * sysdeps/s390/sotruss-lib.c: New file.
333
334 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
335
336 [BZ#16430]
337 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
338 (__GI___gettimeofday): Alias for a different internal symbol to avoid
339 local calls issues by not having a PLT stub required for IFUNC calls.
340 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
341
342 2014-01-16 Joseph Myers <joseph@codesourcery.com>
343
344 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
345 * math/test-fpucw-static.c: Likewise.
346
347 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
348
349 [BZ #16453]
350 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
351
352 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353
354 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
355 implementation for powerpc.
356
357 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
358
359 [BZ #14782]
360 * sysdeps/posix/system.c (__libc_system): Do not enable
361 asynchronous cancellation.
362
363 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
364
365 [BZ #16427]
366 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
367 handling only for numbers special also in the IEEE case.
368
369 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
370
371 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
372
373 2014-01-11 Allan McRae <allan@archlinux.org>
374
375 * po/bg.po: Update Bulgarian translation from translation project.
376
377 * po/de.po: Update German translation from translation project.
378
379 2014-01-10 Roland McGrath <roland@hack.frob.com>
380
381 * sysdeps/generic/gcc-compat.h: New file.
382
383 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
384
385 * benchtests/asin-inputs: Correct slow inputs.
386 * benchtests/acos-inputs: Likewise.
387
388 2014-01-10 Allan McRae <allan@archlinux.org>
389
390 * po:sv.po: Update Swedish translation from translation project.
391
392 * po/vi.po: Update Vietnamese translation from translation project.
393
394 * po/eo.po: Update Esperanto translation from translation project.
395
396 * po/cs.po: Update Czech translation from translation project.
397
398 * po/nl.po: Update Dutch translation from translation project.
399
400 * po/pl.po: Update Polish translation from translation project.
401
402 * po/ru.po: Update Russian translation from translation project.
403
404 * po/uk.po: Update Ukrainian translation from translation project.
405
406 2014-01-08 Brooks Moses <bmoses@google.com>
407
408 * elf/dl-load.c: Fix comment typo.
409
410 2014-01-08 Carlos O'Donell <carlos@redhat.com>
411
412 * po/header.pot: Rename to...
413 * po/pot.header: ... this.
414 * po/Makefile: Use pot.header.
415
416 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
417 Maxim Kuvyrkov <maxim@kugelworks.com>
418
419 [BZ #16394]
420 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
421 SRC and DEST against LEN.
422
423 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424
425 [BZ #16414]
426 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
427 implementation.
428 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
429
430 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
431
432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
433
434 2014-01-08 Joseph Myers <joseph@codesourcery.com>
435
436 [BZ #16408]
437 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
438 for large positive arguments.
439
440 2014-01-07 Joseph Myers <joseph@codesourcery.com>
441
442 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
443
444 * math/auto-libm-test-in: Mark various tests with
445 xfail-rounding:ldbl-128ibm.
446 * math/auto-libm-test-out: Regenerated.
447
448 [BZ #16407]
449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
450 Increase overflow threshold.
451
452 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
453
454 [BZ #14286]
455 * stdio-common/vfprintf.c: Check for integer overflow.
456
457 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
458
459 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
460 the first argument and return value of __tls_get_addr_internal.
461
462 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
463
464 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
465 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
466
467 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
468
469 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
470 * sysdeps/s390/rtld-global-offsets.sym: New file.
471 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
472 GLIBC_2.19 symbol.
473 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
474 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
475 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
476 ... this.
477 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
478 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
479 ... this.
480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
481 Regenerate.
482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
483 Regenerate.
484 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
485 halfs of GPRs for high_gprs contexts.
486 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
487 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
488 field.
489 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
490 uc_flags field.
491 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
492 64 bit versions:
493 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
494 for high GPRs (uc_high_gprs) and for future extensions
495 (__reserved).
496 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
497 for future extensions (__reserved).
498 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
499 64 bit versions:
500 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
501 SC_HIGHGPRS offset definition.
502 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
503 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
504
505 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
506
507 * Versions.def: Add GLIBC_2.19 for libpthread.
508 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
509 siglongjmp for libpthread with GLIBC_2.19 symver.
510 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
511 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
512 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
513 * sysdeps/s390/__longjmp.c: New file.
514 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
515 * sysdeps/s390/longjmp.c: New file.
516 * sysdeps/s390/setjmp.S: New file.
517 * sysdeps/s390/sigjmp.S: New file.
518 * sysdeps/s390/v1-longjmp.c: New file.
519 * sysdeps/s390/v1-setjmp.h: New file.
520 * sysdeps/s390/v1-sigjmp.c: New file.
521 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
522 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
523 GLIBC_2.19 version.
524 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
525 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
526 versioned symbols for ____longjmp_chk.
527 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
528 Likewise.
529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
530 Regenerate.
531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
532 Regenerate.
533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
534 Regenerate.
535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
536 Regenerate.
537 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
538 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
539 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
540 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
541 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
542 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
543 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
544 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
545 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
546 * sysdeps/s390/rtld-__longjmp.c: New file.
547 * sysdeps/s390/rtld-setjmp.S: New file.
548
549 2014-01-06 Joseph Myers <joseph@codesourcery.com>
550
551 [BZ #16400]
552 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
553 Return -__logl (x) for small positive arguments without evaluating
554 a polynomial.
555
556 2014-01-06 Mike Frysinger <vapier@gentoo.org>
557
558 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
559 Rename to ...
560 (__ptrace_peeksiginfo_args): ... this.
561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
562 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
564
565 2014-01-06 Allan McRae <allan@archlinux.org>
566
567 * inet/netinet/in.h: Fix typo in comment.
568
569 2014-01-05 Andreas Jaeger <aj@suse.de>
570
571 * sysdeps/i386/fpu/libm-test-ulps: Update.
572
573 2014-01-05 Allan McRae <allan@archlinux.org>
574
575 * po/libc.pot: Regenerated.
576
577 * malloc/memusagestat.c: Fix gettext call formatting.
578
579 2014-01-04 Sami Kerola <kerolasa@iki.fi>
580
581 * nscd/nscd.c: Improve usage() output.
582
583 2014-01-04 Mike Frysinger <vapier@gentoo.org>
584
585 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
586 * sysdeps/unix/sysv/linux/configure: Regenerated.
587 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
588 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
589
590 2014-01-03 Joseph Myers <joseph@codesourcery.com>
591
592 [BZ #16390]
593 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
594 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
595
596 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597
598 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
599 extra tokens at end of #undef directive.
600 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
601 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
602 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
603
604 2014-01-03 Joseph Myers <joseph@codesourcery.com>
605
606 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
607
608 * math/auto-libm-test-in: Mark various tests with
609 xfail-rounding:ldbl-128ibm.
610 * math/auto-libm-test-out: Regenerated.
611
612 2014-01-02 Joseph Myers <joseph@codesourcery.com>
613
614 [BZ #16386]
615 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
616 numbers with subnormal high part when calculating exponent.
617
618 [BZ #16385]
619 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
620 fabs.
621
622 [BZ #16384]
623 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
624 M_LN2l.
625 (__ieee754_acoshl): Use __log1pl not __log1p.
626
627 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
628
629 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
630 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
631 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
632 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
633 Convert to GNU style.
634 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
635 mem2mem_check, mem2chunk_check, top_check, realloc_check,
636 memalign_check, __malloc_set_state): Likewise.
637 * malloc/mallocbug.c (main): Likewise.
638 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
639 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
640 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
641 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
642 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
643 * malloc/malloc.h: Likewise.
644 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
645 memalignhook, reallochook, mabort): Likewise.
646 * malloc/mcheck.h: Likewise.
647 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
648 mmap64, mremap, munmap, dest): Likewise.
649 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
650 * malloc/morecore.c (__default_morecore): Likewise.
651 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
652 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
653 _obstack_allocated_p, obstack_free, _obstack_memory_used,
654 print_and_abort): Likewise.
655 * malloc/obstack.h: Likewise.
656 * malloc/set-freeres.c (__libc_freeres): Likewise.
657 * malloc/tst-mallocstate.c (main): Likewise.
658 * malloc/tst-mtrace.c (main): Likewise.
659 * malloc/tst-realloc.c (do_test): Likewise.
660
661 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
662
663 [BZ #16366]
664 * nscd/netgroupcache.c (do_notfound): New function.
665 (addgetnetgrentX): Use it.
666
667 [BZ # 16365]
668 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
669 NSS_STATUS_NOTFOUND.
670
671 2014-01-01 Joseph Myers <joseph@codesourcery.com>
672
673 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
675
676 2014-01-01 Allan McRae <allan@archlinux.org>
677
678 * scripts/update-copyrights: Update configure input file suffix.
679
680 * NEWS: Update copyright year.
681 * catgets/gencat.c: Likewise.
682 * csu/version.c: Likewise.
683 * debug/catchsegv.sh: Likewise.
684 * debug/pcprofiledump.c: Likewise.
685 * debug/xtrace.sh: Likewise.
686 * elf/ldconfig.c: Likewise.
687 * elf/ldd.bash.in: Likewise.
688 * elf/pldd.c: Likewise.
689 * elf/sotruss.ksh: Likewise.
690 * elf/sprof.c: Likewise.
691 * iconv/iconv_prog.c: Likewise.
692 * iconv/iconvconfig.c: Likewise.
693 * locale/programs/locale.c: Likewise.
694 * locale/programs/localedef.c: Likewise.
695 * login/programs/pt_chown.c: Likewise.
696 * malloc/memusage.sh: Likewise.
697 * malloc/memusagestat.c: Likewise.
698 * malloc/mtrace.pl: Likewise.
699 * manual/libc.texinfo: Likewise.
700 * nscd/nscd.c: Likewise.
701 * nss/getent.c: Likewise.
702 * nss/makedb.c: Likewise.
703 * posix/getconf.c: Likewise.
704 * scripts/test-installation.pl: Likewise.
705
706 * All files with FSF copyright notices: Update copyright dates
707 using scripts/update-copyrights.
708 * intl/plural.c: Regenerated.
709 * locale/programs/charmap-kw.h: Likewise.
710 * locale/programs/locfile-kw.h: Likewise.
711
712 2013-12-31 Mike Frysinger <vapier@gentoo.org>
713
714 * sysdeps/unix/sysv/linux/configure: Regenerated.
715 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
716 the linux/fanotify.h header.
717 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
718 HAVE_LINUX_FANOTIFY_H is defined.
719
720 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
721
722 * benchtests/cos-inputs: New inputs.
723 * benchtests/sin-inputs: Likewise.
724
725 * benchtests/atan-inputs: New inputs. Fix name of multiple
726 precision fallback inputs.
727
728 * benchtests/atanh-inputs: New inputs.
729 * benchtests/tanh-inputs: Likewise.
730
731 * benchtests/acosh-inputs: New inputs.
732 * benchtests/asinh-inputs: Likewise.
733
734 * benchtests/cosh-inputs: New inputs.
735 * benchtests/sinh-inputs: Likewise.
736
737 * benchtests/acos-inputs: Add more inputs.
738 * benchtests/asin-inputs: Likewise.
739
740 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
741
742 [BZ #16375]
743 * manual/arith.texi: Fix spelling.
744 * manual/charset.texi: Likewise.
745 * manual/errno.texi: Likewise.
746 * manual/filesys.texi: Likewise.
747 * manual/lang.texi: Likewise.
748 * manual/llio.texi: Likewise.
749 * manual/locale.texi: Likewise.
750 * manual/message.texi: Likewise.
751 * manual/resource.texi: Likewise.
752 * manual/search.texi: Likewise.
753 * manual/setjmp.texi: Likewise.
754 * manual/stdio.texi: Likewise.
755 * manual/string.texi: Likewise.
756 * manual/sysinfo.texi: Likewise.
757 * manual/time.texi: Likewise.
758
759 2013-12-27 Carlos O'Donell <carlos@redhat.com>
760
761 * po/sl.po: New file.
762
763 2013-12-27 Mike Frysinger <vapier@gentoo.org>
764
765 * .gitignore: Add core/.gdbinit/.gdb_history.
766
767 2013-12-27 Allan McRae <allan@archlinux.org>
768
769 [BZ #16369]
770 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
771 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
772
773 2013-12-24 Brooks Moses <bmoses@google.com>
774
775 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
776 all compilers that claim C++98 compliance, not just GCC.
777 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
778 Likewise.
779
780 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
781
782 * NEWS: Restore accidentally deleted bug-fix entries.
783
784 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
785 Ondřej Bílka <neleai@seznam.cz>
786
787 [BZ #15073]
788 * malloc/malloc.c (_int_free): Perform sanity check only if we
789 have_lock.
790
791 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
792
793 [BZ #12986]
794 * manual/stdio.texi (String Input Conversions): Clarify that character
795 classes are not supported.
796
797 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798
799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
800
801 2013-12-22 Joseph Myers <joseph@codesourcery.com>
802
803 [BZ #16337]
804 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
805 Calculate results for small negative arguments directly rather
806 than using reflection formula with special underflow handling.
807
808 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
809 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
810 sysdeps/unix/bsd/bsd4.4/syscalls.list.
811 (fchflags): Likewise.
812 (revoke): Likewise.
813 (setlogin): Likewise.
814 (sigaltstack): Likewise.
815 (wait4): Likewise.
816 (sigblock): Remove.
817 (sigsetmask): Likewise.
818 (wait3): Likewise.
819 (waitpid): Likewise.
820 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
821 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
822 file.
823 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
824 * sysdeps/unix/bsd/Makefile: ... here.
825 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
826 * sysdeps/unix/bsd/Versions: ... here.
827 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
828 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
829 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
830 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
831 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
832 * sysdeps/unix/bsd/sigblock.c: ... here.
833 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
834 * sysdeps/unix/bsd/sigsetmask.c: ... here.
835 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
836 * sysdeps/unix/bsd/sigvec.c: ... here.
837 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
838 * sysdeps/unix/bsd/tcdrain.c: ... here.
839 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
840 * sysdeps/unix/bsd/tcgetattr.c: ... here.
841 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
842 * sysdeps/unix/bsd/tcsetattr.c: ... here.
843 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
844 * sysdeps/unix/bsd/wait.c: ... here.
845 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
846 * sysdeps/unix/bsd/wait3.c: ... here.
847 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
848 * sysdeps/unix/bsd/waitpid.c: ... here.
849
850 2013-12-21 Joseph Myers <joseph@codesourcery.com>
851
852 [BZ #16356]
853 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
854 round-to-nearest for [!USE_AS_EXPM1L].
855 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
856 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
857 more tests of exp and exp10. Expect some exp10 tests to miss
858 exceptions or fail in directed rounding modes.
859 * math/auto-libm-test-out: Regenerated.
860 * math/libm-test.inc (exp10_tonearest_test_data): New array.
861 (exp10_test_tonearest): New function.
862 (exp10_towardzero_test_data): New array.
863 (exp10_test_towardzero): New function.
864 (exp10_downward_test_data): New array.
865 (exp10_test_downward): New function.
866 (exp10_upward_test_data): New array.
867 (exp10_test_upward): New function.
868 (main): Call the new functions.
869 * sysdeps/i386/fpu/libm-test-ulps: Update.
870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
871
872 2013-12-20 Joseph Myers <joseph@codesourcery.com>
873
874 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
875 asinh, atan, atan2, atanh, cbrt, cos and cosh.
876 * math/auto-libm-test-out: Regenerated.
877 * math/libm-test.inc (acosh_test_data): Add more tests.
878 (atanh_test_data): Likewise.
879 (ceil_test_data): Likewise.
880 (copysign_test_data): Likewise.
881 * sysdeps/i386/fpu/libm-test-ulps: Update.
882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
883
884 * timezone/checktab.awk: Update from tzcode 2013i.
885 * timezone/private.h: Likewise.
886 * timezone/scheck.c: Likewise.
887 * timezone/tzfile.h: Likewise.
888 * timezone/tzselect.ksh: Likewise.
889 * timezone/zdump.c: Likewise.
890 * timezone/zic.c: Likewise.
891
892 * math/auto-libm-test-in: Add tests of cpow.
893 * math/auto-libm-test-out: Regenerated.
894 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
895 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
896 mpc_cc_c.
897 (func_calc_desc): Add mpc_cc_c union field.
898 (test_functions): Add cpow.
899 (special_fill_2pi): New function.
900 (special_real_inputs): Add 2pi.
901 (calc_generic_results): Handle mpc_cc_c.
902 * sysdeps/i386/fpu/libm-test-ulps: Update.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
904
905 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
906 csqrt, ctan and ctanh.
907 * math/auto-libm-test-out: Regenerated.
908 * math/libm-test.inc (TEST_COND_x86_64): New macro.
909 (TEST_COND_x86): Likewise.
910 (ccos_test_data): Use AUTO_TESTS_c_c.
911 (ccosh_test_data): Likewise.
912 (cexp_test_data): Likewise.
913 (clog_test_data): Likewise.
914 (csqrt_test_data): Likewise.
915 (ctan_test_data): Likewise.
916 (ctan_tonearest_test_data): Likewise.
917 (ctan_towardzero_test_data): Likewise.
918 (ctan_downward_test_data): Likewise.
919 (ctan_upward_test_data): Likewise.
920 (ctanh_test_data): Likewise.
921 (ctanh_tonearest_test_data): Likewise.
922 (ctanh_towardzero_test_data): Likewise.
923 (ctanh_downward_test_data): Likewise.
924 (ctanh_upward_test_data): Likewise.
925 * math/gen-auto-libm-tests.c (func_calc_method): Add value
926 mpc_c_c.
927 (func_calc_desc): Add mpc_c_c union field.
928 (FUNC_mpc_c_c): New macro.
929 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
930 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
931 ctanh.
932 (special_fill_min_subnorm_p120): New function.
933 (special_real_inputs): Add min_subnorm_p120.
934 (calc_generic_results): Handle mpc_c_c.
935 * sysdeps/i386/fpu/libm-test-ulps: Update.
936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
937
938 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
939
940 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
941 do_sin_slow): New functions.
942 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
943 cslow2, csloww1, csloww2): Use the new functions.
944
945 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
946 Use M to change sign of result instead of X. Assume X is
947 positive.
948 (csloww1): Likewise.
949 (__sin): Adjust.
950 (__cos): Adjust.
951
952 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
953 arguments A and DA.
954 (__sin): Adjust.
955 (__cos): Likewise.
956
957 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
958 (__cos): Likewise.
959 (sloww1): Don't adjust sign of DX.
960 (csloww1): Likewise.
961 (sloww2): Use X directly and don't adjust sign of DX.
962 (csloww2): Likewise.
963
964 2013-12-19 Joseph Myers <joseph@codesourcery.com>
965
966 * math/auto-libm-test-in: Add tests of cabs and carg.
967 * math/auto-libm-test-out: Regenerated.
968 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
969 (carg_test_data): Likewise.
970 * math/gen-auto-libm-tests.c (func_calc_method): Add value
971 mpc_c_f.
972 (func_calc_desc): Add mpc_c_f union field.
973 (test_functions): Add cabs and carg.
974 (calc_generic_results): Handle mpc_c_f.
975
976 * sysdeps/powerpc/powerpc32/libgcc-compat.S
977 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
978 as a macro and a compat symbol.
979 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
980 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
981 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
982 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
983 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
984 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
985 not use .hidden.
986 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
987 Likewise.
988 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
989 Likewise.
990 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
991 Likewise.
992 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
993 Likewise.
994 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
995 Likewise.
996 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
997 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
998 from GLIBC_2.3.2.
999
1000 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001
1002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1003
1004 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1005
1006 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1007 trailing whitespace removed.
1008 * scripts/config.guess: Update to version 2013-11-29.
1009 * scripts/config.sub: Update to version 2013-10-01.
1010
1011 * math/auto-libm-test-in: Add tests of sincos.
1012 * math/auto-libm-test-out: Regenerated.
1013 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1015 mpfr_f_11.
1016 (func_calc_desc): Add mpfr_f_11 union field.
1017 (test_functions): Add sincos.
1018 (calc_generic_results): Handle mpfr_f_11.
1019 * sysdeps/i386/fpu/libm-test-ulps: Update.
1020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1021
1022 2013-12-19 Andreas Schwab <schwab@suse.de>
1023
1024 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1025 CALL_MCOUNT.
1026 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1027 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1028 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1029
1030 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1031
1032 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1033 * sysdeps/i386/fpu/libm-test-ulps: Update.
1034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1035
1036 [BZ #16293]
1037 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1038 round-to-nearest mode when using frndint.
1039 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1040 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1042 Likewise.
1043 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1044 sinh test to fail.
1045 * math/auto-libm-test-out: Regenerated.
1046 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1047 (TEST_COND_x86): Likewise.
1048 (expm1_tonearest_test_data): New array.
1049 (expm1_test_tonearest): New function.
1050 (expm1_towardzero_test_data): New array.
1051 (expm1_test_towardzero): New function.
1052 (expm1_downward_test_data): New array.
1053 (expm1_test_downward): New function.
1054 (expm1_upward_test_data): New array.
1055 (expm1_test_upward): New function.
1056 (main): Run the new test functions.
1057 * sysdeps/i386/fpu/libm-test-ulps: Update.
1058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1059
1060 * include/features.h: Update comment documenting feature test
1061 macros. Mention _DEFAULT_SOURCE in comment.
1062 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1063 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1064 _BSD_SOURCE and _SVID_SOURCE.
1065 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1066 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1067 !_SVID_SOURCE]: Likewise.
1068 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1069 (__USE_POSIX_IMPLICITLY): Define.
1070 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1071 (_POSIX_SOURCE): Undefine and redefine.
1072 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1073 (_POSIX_C_SOURCE): Likewise.
1074 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1075 (Feature Test Macros): Update documentation of default features.
1076
1077 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1078
1079 * benchtests/Makefile: Add bench-strtok.
1080 * benchtests/bench-strtok.c: New file: strtok benchtest.
1081
1082 2013-12-19 Allan McRae <allan@archlinux.org>
1083
1084 * manual/install.texi: Suppress menu for plain text output.
1085 * INSTALL: Regenerated.
1086
1087 2013-12-18 Brooks Moses <bmoses@google.com>
1088
1089 [BZ #15846]
1090 * misc/getauxval.c: Include errno.h.
1091 (__getauxval): Set errno to ENOENT if the requested type is not
1092 found.
1093 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1094 don't declare with __attribute_const__.
1095 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1096 * manual/startup.texi: Document that getauxval sets errno.
1097
1098 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1099
1100 * math/auto-libm-test-in: Add tests of jn and yn.
1101 * math/auto-libm-test-out: Regenerated.
1102 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1103 (yn_test_data): Likewise.
1104 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1105 mpfr_if_f.
1106 (func_calc_desc): Add mpfr_if_f union field.
1107 (FUNC_mpfr_if_f): New macro.
1108 (test_functions): Add jn and yn.
1109 (calc_generic_results): Assert type of second input for
1110 mpfr_ff_f. Handle mpfr_if_f.
1111 (output_for_one_input_case): Disable all checking for arguments
1112 fitting floating-point types in case of an integer argument.
1113 * sysdeps/i386/fpu/libm-test-ulps: Update.
1114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1115
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1117 Don't expect fegetround reference in libm.so.
1118
1119 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1120
1121 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1122 $(config-cflags-nofma).
1123
1124 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1125
1126 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1127 * math/auto-libm-test-out: Regenerated.
1128
1129 [BZ #16338]
1130 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1131 to determine exponent and adjust argument to have exponent of -1.
1132 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1133 log2.
1134 * math/auto-libm-test-out: Regenerated.
1135 * sysdeps/i386/fpu/libm-test-ulps: Update.
1136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1137
1138 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1139
1140 * manual/probes.texi: Remove cases when per-thread arenas are
1141 disabled.
1142
1143 2013-12-18 Andreas Schwab <schwab@suse.de>
1144
1145 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1146 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1147 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1148 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1149 * sysdeps/i386/i686/multiarch/Makefile: Update.
1150 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1151
1152 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1153
1154 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1155 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1156
1157 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1158
1159 [BZ #15968]
1160 Support TZ transition times < 00:00:00.
1161 This is needed for version-3 tz-format files; it supports time
1162 stamps past 2037 for America/Godthab (the only entry in the tz
1163 database for which this change is relevant).
1164 * manual/time.texi (TZ Variable): Document transition times
1165 from -167:59:59 through -00:00:01.
1166 * time/tzset.c (tz_rule): Time of day is now signed.
1167 (__tzset_parse_tz): Parse negative time of day.
1168
1169 Document TZ transition times >= 25:00:00.
1170 * manual/time.texi (TZ Variable): Document transition times from
1171 25:00:00 through 167:59:59. These are already supported, and this
1172 support will help with version-3 tz-format files.
1173
1174 * manual/time.texi (TZ Variable): Modernize North America example
1175 to reflect current (i.e., 2007-and-later) daylight saving rules.
1176
1177 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1178
1179 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1180
1181 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1182 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1185 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1186 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1187 * sysdeps/unix/bsd/clock.c: Likewise.
1188 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1189 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1190 * sysdeps/unix/bsd/init-posix.c: Likewise.
1191 * sysdeps/unix/bsd/poll.c: Likewise.
1192 * sysdeps/unix/bsd/ptsname.c: Likewise.
1193 * sysdeps/unix/bsd/seekdir.c: Likewise.
1194 * sysdeps/unix/bsd/setegid.c: Likewise.
1195 * sysdeps/unix/bsd/seteuid.c: Likewise.
1196 * sysdeps/unix/bsd/setgid.c: Likewise.
1197 * sysdeps/unix/bsd/setrgid.c: Likewise.
1198 * sysdeps/unix/bsd/setruid.c: Likewise.
1199 * sysdeps/unix/bsd/setsid.c: Likewise.
1200 * sysdeps/unix/bsd/setuid.c: Likewise.
1201 * sysdeps/unix/bsd/sigaction.c: Likewise.
1202 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1203 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1204 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1205 * sysdeps/unix/bsd/telldir.c: Likewise.
1206 * sysdeps/unix/bsd/times.c: Likewise.
1207 * sysdeps/unix/bsd/usleep.c: Likewise.
1208
1209 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1210 ($(objpfx)libbsd-compat.a): Remove rule.
1211
1212 * include/features.h (__FAVOR_BSD): Do not define.
1213 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1214 features conflicting with POSIX.
1215 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1216 (_BSD_SOURCE): Remove description of not being a subset of other
1217 feature test macros.
1218 * manual/job.texi (getpgrp): Do not document BSD version.
1219 (getpgid): Do not document by reference to BSD getpgrp.
1220 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1221 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1222 * signal/signal.h [__FAVOR_BSD]: Likewise.
1223 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1224 instead of making contents conditional on [__FAVOR_BSD].
1225 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1226
1227 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1228
1229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1230
1231 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1232
1233 [BZ #16314]
1234 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1235 values below 2**-450, not 2**-500.
1236 * math/auto-libm-test-in: Don't allow spurious underflow from
1237 hypot.
1238 * math/auto-libm-test-out: Regenerated.
1239
1240 [BZ #16316]
1241 [BZ #16330]
1242 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1243 values of ha and hb and sort them after adjusting subnormal
1244 arguments.
1245 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1246 Likewise.
1247 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1248 values of ea and eb and sort them after adjusting subnormal
1249 arguments.
1250 * math/auto-libm-test-in: Do not expect some hypot tests of
1251 subnormals to fail. Add more hypot tests.
1252 * math/auto-libm-test-out: Regenerated.
1253
1254 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1255
1256 [BZ #13304]
1257 * sysdeps/sh/s_fma.c: New file.
1258 * sysdeps/sh/s_fmaf.c: New file.
1259 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1260 version.
1261 * sysdeps/sh/Implies: Add sh/soft-fp.
1262
1263 2013-12-16 Roland McGrath <roland@hack.frob.com>
1264
1265 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1266 level of indirection to members `objname', `errstring', `malloced'.
1267 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1268 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1269 it as the __longjmp argument (just pass 1 instead).
1270 (_dl_catch_error): Initialize C with argument pointers and address of
1271 volatile local ERRCODE rather than copying values out of C at return.
1272
1273 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1274
1275 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1276 * math/auto-libm-test-out: Regenerated.
1277 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1278 (hypot_test_data): Likewise.
1279 (pow_test_data): Likewise.
1280 (pow_tonearest_test_data): Likewise.
1281 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1282 mpfr_ff_f.
1283 (func_calc_desc): Add mpfr_ff_f union field.
1284 (FUNC_mpfr_ff_f): New macro.
1285 (test_functions): Add atan2, hypot and pow.
1286 (special_fill_min): New function.
1287 (special_fill_minus_min): Likewise.
1288 (special_fill_min_subnorm): Likewise.
1289 (special_fill_minus_min_subnorm): Likewise.
1290 (special_real_inputs): Add min, -min, min_subnorm and
1291 -min_subnorm.
1292 (calc_generic_results): Handle mpfr_ff_f.
1293 * sysdeps/i386/fpu/libm-test-ulps: Update.
1294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1295
1296 2013-12-16 Will Newton <will.newton@linaro.org>
1297
1298 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1299 (Aligned Memory Blocks): Add documentation for aligned_alloc
1300 and suggest it as an alternative to posix_memalign.
1301 (Hooks for Malloc): Document __memalign_hook is also called
1302 for aligned_alloc. (Summary of Malloc): Add summary for
1303 aligned alloc. Document __memalign_hook is also called
1304 for aligned_alloc.
1305
1306 2013-12-16 Will Newton <will.newton@linaro.org>
1307
1308 * manual/memory.texi (Malloc Examples): Clarify default
1309 alignment documentation. Suggest posix_memalign rather
1310 than memalign or valloc.
1311 (Aligned Memory Blocks): Remove suggestion to use memalign
1312 or valloc. Remove obsolete comment about BSD.
1313 Document memalign errno values and mark the function obsolete.
1314 Document posix_memalign returned error codes. Mark valloc
1315 as obsolete. (Hooks for Malloc): __memalign_hook is also
1316 called for posix_memalign and valloc.
1317 (Summary of Malloc): Add posix_memalign to function summary.
1318 __memalign_hook is also called for posix_memalign and valloc.
1319
1320 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1321
1322 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1323 TAYLOR_SIN.
1324 (__sin): Adjust.
1325 (__cos): Likewise.
1326 (sloww): Use mynumber union. Expand ternary operator into
1327 if-else statements.
1328 (cslow): use mynumber union.
1329
1330 2013-12-16 Allan McRae <allan@archlinux.org>
1331
1332 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1333 * configure: Regenerated.
1334
1335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1336
1337 [BZ #14120]
1338 * configure.ac: Added --enable-maintainer-mode. Check for
1339 autoconf when enabled.
1340 * configure: Regenerated.
1341
1342 * nscd/nscd.service: New file.
1343 * nscd/nscd.tmpfiles: New file.
1344
1345 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1346
1347 [BZ #12100]
1348 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1349 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1350 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1351 (strstr): Add __strstr_sse2_unaligned ifunc.
1352 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1353 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1354 (strcasestr): Remove __strcasestr_sse42 ifunc.
1355 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1358
1359 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1360
1361 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1362 * sysdeps/sh/bits/fenv.h: ... here.
1363 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1364
1365 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366
1367 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1368
1369 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1370
1371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1372 hypotf multiarch implementations.
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1376 multiarch hypot for PPC64.
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1379 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1380 multiarch hypotf for PPC64.
1381
1382 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1383
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1385 modff multiarch implementations.
1386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1389 multiarch modf for PPC64.
1390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1393 multiarch modff for PPC64.
1394
1395 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1396
1397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1398 and logl multiarch implementations.
1399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1402 multiarch logb for PPC64.
1403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1406 multiarch logb for PPC64.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1410 multiarch logb for PPC64.
1411
1412 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1413
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1415 isinff multiarch implementation.
1416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1417 file.
1418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1420 multiarch isinf for PPC64.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1422 file.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1424 multiarch isinff for PPC64.
1425
1426 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1427
1428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1429 finitef multiarch implementation.
1430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1431 file.
1432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1434 multiarch finite for PPC64.
1435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1436 file.
1437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1438 multiarch finitef for PPC64.
1439
1440 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1441
1442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1443 lrint multiarch implementation.
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1445 file.
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1448 multiarch llrint for PPC64.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1450 multiarch lrint for PPC64.
1451
1452 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1455 copysignf multiarch implementation.
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1457 file.
1458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1459 file.
1460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1461 multiarch copysign for PPC64.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1463 multiarch copysignf for PPC64.
1464
1465 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466
1467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1468 multiarch implementation.
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1470 file.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1472 file.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1474 file.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1476 file.
1477 multiarch llround for PPC64.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1479 multiarch trunc for PPC64.
1480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1481 multiarch truncf for PPC64.
1482
1483 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1484
1485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1486 multiarch implementation.
1487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1488 file.
1489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1490 file.
1491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1492 file.
1493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1494 file.
1495 multiarch llround for PPC64.
1496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1497 multiarch round for PPC64.
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1499 multiarch roundf for PPC64.
1500
1501 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1502
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1504 multiarch implementation.
1505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1506 file.
1507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1508 file.
1509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1510 file.
1511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1512 file.
1513 multiarch llround for PPC64.
1514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1515 multiarch floor for PPC64.
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1517 multiarch floorf for PPC64.
1518
1519 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1520
1521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1522 multiarch implementation.
1523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1524 file.
1525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1526 file.
1527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1528 file.
1529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1530 file.
1531 multiarch llround for PPC64.
1532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1533 multiarch ceil for PPC64.
1534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1535 multiarch ceilf for PPC64.
1536
1537 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1538
1539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1540 multiarch implementation.
1541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1542 file.
1543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1544 file.
1545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1546 file.
1547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1548 multiarch llround for PPC64.
1549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1550 multiarch lround for PPC64.
1551
1552 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1555 multiarch implementation.
1556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1559 file.
1560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1563 multiarch isnan for PPC64.
1564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1565 multiarch isnanf for PPC64.
1566
1567 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1568
1569 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1570 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1571 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1572 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1573 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1575
1576 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1577
1578 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1579 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1582
1583 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1584
1585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1586 multiarch implementations.
1587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1588 (__libc_ifunc_impl_list): Likewise.
1589 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1590 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1591 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1592 multiarch stpcpy for PPC64.
1593
1594 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1595
1596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1597 multiarch implementations.
1598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1599 (__libc_ifunc_impl_list): Likewise.
1600 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1601 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1602 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1603 multiarch strcpy for PPC64.
1604
1605 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1606
1607 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1608 redefine function name.
1609 (_wordcopy_fwd_dest_aligned): Likewise.
1610 (_wordcopy_bwd_aligned): Likewise.
1611 (_wordcopy_bwd_dest_aligned): Likewise.
1612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1613 multiarch implementations.
1614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1615 (__libc_ifunc_impl_list): Likewise.
1616 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1617 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1618 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1619 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1620 multiarch wcscpy for PPC64.
1621
1622 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1623
1624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1625 multiarch implementations.
1626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1627 (__libc_ifunc_impl_list): Likewise.
1628 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1629 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1630 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1631 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1632 multiarch wcscpy for PPC64.
1633
1634 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1635
1636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1637 multiarch implementations.
1638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1639 (__libc_ifunc_impl_list): Likewise.
1640 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1641 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1642 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1643 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1644 multiarch wcsrchr for PPC64.
1645
1646 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1647
1648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1649 multiarch implementations.
1650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1651 (__libc_ifunc_impl_list): Likewise.
1652 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1653 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1654 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1655 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1656 multiarch wcschr for PPC64.
1657
1658 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1659
1660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1661 multiarch implementations.
1662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1663 (__libc_ifunc_impl_list): Likewise.
1664 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1665 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1666 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1667 multiarch strchrnul for PPC64.
1668
1669 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1670
1671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1672 implementations.
1673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1674 (__libc_ifunc_impl_list): Likewise.
1675 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1676 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1677 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1678 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1679 strchr for PPC64.
1680
1681 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1682
1683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1684 implementations.
1685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1686 (__libc_ifunc_impl_list): Likewise.
1687 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1688 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1689 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1690 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1691 strncmp for PPC64.
1692
1693 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694
1695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1696 multiarch implementations.
1697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1698 (__libc_ifunc_impl_list): Likewise.
1699 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1700 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1701 strncasecmp for PPC64.
1702 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1703 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1704 multiarch strncasecmp_l for PPC64.
1705
1706 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1707
1708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1709 multiarch implementations.
1710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1711 (__libc_ifunc_impl_list): Likewise.
1712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1714 multiarch strcasecmp for PPC64.
1715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1716 file.
1717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1718 multiarch strcasecmp_l for PPC64.
1719
1720 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1721
1722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1723 implementations.
1724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1725 (__libc_ifunc_impl_list): Likewise.
1726 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1727 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1728 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1729 strnlen for PPC64.
1730
1731 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1732
1733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1734 implementations.
1735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1736 (__libc_ifunc_impl_list): Likewise.
1737 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1738 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1739 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1740 strlen for PPC64.
1741
1742 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1743
1744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1745 implementations.
1746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1747 (__libc_ifunc_impl_list): Likewise.
1748 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1749 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1750 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1751 rawmemrchr for PPC64.
1752
1753 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754
1755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1756 implementation.
1757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1758 (__libc_ifunc_impl_list): Likewise.
1759 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1760 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1761 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1762 memrchr for PPC64.
1763
1764 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765
1766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1767 implementation.
1768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1769 (__libc_ifunc_impl_list): Likewise.
1770 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1771 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1772 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1773 memchr for PPC64.
1774
1775 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1776
1777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1778 implementation.
1779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1780 (__libc_ifunc_impl_list): Likewise.
1781 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1782 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1783 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1784 mempcpy for PPC64.
1785
1786 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1787
1788 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1789 avoid cretion of __bzero symbol.
1790 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1791 Likewise.
1792 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1793 Likewise.
1794 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1795 Likewise.
1796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1797 multiarch implementations.
1798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1799 (__libc_ifunc_impl_list): Likewise.
1800 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1801 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1802 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1803 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1804 bzero for PPC32.
1805 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1806 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1807 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1808 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1809 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1810 memset for PPC64.
1811 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1812
1813 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1814
1815 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1817 implementations.
1818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1819 (__libc_ifunc_impl_list): Likewise.
1820 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1821 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1822 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1823 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1824 memcmp for PPC64.
1825
1826 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1827
1828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1829 multiarch for POWER/PPC64.
1830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1831 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1832 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1833 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1835 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1837 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1838 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1839 memcpy for PPC64.
1840
1841 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842
1843 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1844 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1845 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1846 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1847 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1848 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1849 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1850 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1851 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1852 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1853 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1854 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1855 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1856 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1857 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1865
1866 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1867
1868 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1869
1870 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1871
1872 * benchtests/Makefile (bench): Add exp2 and log2.
1873 (LDLIBS-bench-exp2): Add -lm.
1874 (LDLIBS-bench-log2): Likewise.
1875 * benchtests/exp2-inputs: New inputs file.
1876 * benchtests/log2-inputs: New inputs file.
1877 * benchtests/log-inputs: Add new inputs.
1878 * benchtests/tan-inputs: Likewise.
1879
1880 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1881
1882 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1883 definition...
1884 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1885 csloww1, csloww2): ... from here.
1886
1887 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1888 instead of structures.
1889 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1890 (POLYNOMIAL): Likewise.
1891 (TAYLOR_SLOW): Likewise.
1892 (__sin): Likewise.
1893 (__cos): Likewise.
1894 (slow1): Likewise.
1895 (slow2): Likewise.
1896 (sloww): Likewise.
1897 (sloww1); Likewise.
1898 (sloww2): Likewise.
1899 (bsloww1): Likewise.
1900 (bsloww2): Likewise.
1901 (cslow2): Likewise.
1902 (csloww): Likewise.
1903 (csloww1): Likewise.
1904 (csloww2): Likewise.
1905
1906 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1907
1908 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1909 (__malloc_assert, __libc_realloc, __libc_calloc,
1910 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1911 memcpy and memset.
1912 * malloc/hooks.c (realloc_check): Likewise.
1913
1914 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1915
1916 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1917 * malloc/arena.c: Remove PER_THREAD conditional.
1918 [!PER_THREAD]: Remove code.
1919 (ptmalloc_unlock_all2): Likewise.
1920 (ptmalloc_init): Likewise.
1921 (_int_new_arena): Likewise.
1922 (arena_get2): Likewise.
1923 * malloc/hooks.c (__malloc_get_state): Likewise.
1924 (__malloc_set_state): Likewise.
1925 * malloc/malloc.c: Likewise.
1926 (struct malloc_state): Likewise.
1927 (struct malloc_par): Likewise.
1928 (__libc_realloc): Likewise.
1929 (__libc_mallopt): Likewise.
1930
1931 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932
1933 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1934
1935 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1936
1937 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1938 macro to a function. Check for zero perturb_byte.
1939 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1940
1941 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1942
1943 * malloc/malloc.c: (force_reg): Remove.
1944 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1945 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1946 force_reg by atomic_forced_read.
1947 * malloc/arena.c (ptmalloc_init): Likewise.
1948 * malloc/hooks.c (top_check): Likewise.
1949
1950 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1951
1952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1953
1954 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1955
1956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1957
1958 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1959
1960 * math/auto-libm-test-in: Add tests of lgamma.
1961 * math/auto-libm-test-out: Regenerated.
1962 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1963 (M_LOG_2_SQRT_PIl): Likewise.
1964 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1965 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1966 mpfr_f_f1.
1967 (func_calc_desc): Add mpfr_f_f1 union field.
1968 (ARGS1): New macro.
1969 (ARGS2): Likewise.
1970 (ARGS3): Likewise.
1971 (ARGS4): Likewise.
1972 (RET1): Likewise.
1973 (RET2): Likewise.
1974 (CALC): Likewise.
1975 (FUNC): Likewise.
1976 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1977 (test_functions): Add lgamma.
1978 (calc_generic_results): Handle mpfr_f_f1.
1979 * sysdeps/i386/fpu/libm-test-ulps: Update.
1980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1981
1982 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1983
1984 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1985 __mpn_add_n for PowerPC64/POWER7.
1986 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1987 __mpn_sub_n for PowerPC64/POWER7.
1988
1989 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1990
1991 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1992 __mpn_addmul_1 for PowerPC64.
1993 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1994 __mpn_submul_1 for PowerPC64.
1995 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1996 for PowerPC64.
1997 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1998 for PowerPC64.
1999
2000 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2001
2002 [BZ #15089]
2003 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2004
2005 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2006
2007 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2008
2009 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010
2011 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2012 add multiarch folders.
2013 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2014 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2015 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2016 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2017 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2018 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2019 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2020 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2021 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2022 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2023 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2030
2031 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2032
2033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2034 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2036 New file.
2037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2038 New file.
2039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2040 multiarch __ieee754_hypot for PowerPC32.
2041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2042 New file.
2043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2044 New file.
2045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2046 multiarch __ieee754_hypotf for PowerPC32.
2047
2048 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2049
2050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2051 long_double_symbol only if __logbl is defined.
2052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2053 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2055 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2057 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2058 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2059 path for implementation.
2060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2063 logb, and logbl multiarch implementations for PowerPC32.
2064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2065 file.
2066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2067 file.
2068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2069 multiarch logb for PowerPC32.
2070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2071 file.
2072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2073 file.
2074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2075 multiarch logbf for PowerPC32.
2076 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2078 file.
2079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2080 multiarch logbl implementation for PowerPC32.
2081
2082 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2083
2084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2085 and modff multiarch implementations.
2086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2087 New file.
2088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2089 New file.
2090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2091 multiarch modf for PowerPC32.
2092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2093 New file.
2094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2095 New file.
2096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2097 multiarch modff for PowerPC32.
2098
2099 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2100
2101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2102 and lrintf multiarch implementations.
2103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2104 New file.
2105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2106 New file.
2107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2108 multiarch lrint for PowerPC32.
2109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2110 file: multiarch lrintf for PowerPC32.
2111
2112 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2113
2114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2115 and lroundf multiarch implementations.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2117 New file.
2118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2119 New file.
2120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2121 New file.
2122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2123 multiarch lround for PowerPC32.
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2125 file: multiarch lroundf for PowerPC32.
2126
2127 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2128
2129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2130 copysign and copysignf multiarch implementations.
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2132 New file.
2133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2134 New file.
2135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2136 file: multiarch copysign for PowerPC32.
2137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2138 file: multiarch copysignf for PowerPC32.
2139
2140 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2141
2142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2143 and truncf multiarch implementations.
2144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2145 New file.
2146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2147 file.
2148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2149 multiarch trunc for PowerPC32.
2150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2151 New file.
2152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2153 New file.
2154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2155 multiarch truncf for PowerPC32.
2156
2157 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158
2159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2160 and roundf multiarch implementations.
2161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2162 New file.
2163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2164 file.
2165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2166 multiarch round for PowerPC32.
2167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2168 New file.
2169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2170 New file.
2171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2172 multiarch roundf for PowerPC32.
2173
2174 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2175
2176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2177 and floorf multiarch implementations.
2178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2179 New file.
2180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2181 file.
2182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2183 multiarch floor for PowerPC32.
2184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2185 New file.
2186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2187 New file.
2188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2189 multiarch floorf for PowerPC32.
2190
2191 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2192
2193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2194 and ceilf multiarch implementations.
2195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2196 New file.
2197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2198 file.
2199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2200 multiarch ceil for PowerPC32.
2201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2202 New file.
2203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2204 file.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2206 multiarch ceilf for PowerPC32.
2207
2208 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2209
2210 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2211 is defined.
2212 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2213 FINITEF is defined.
2214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2215 and finitef multiarch implementations.
2216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2217 New file.
2218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2219 file.
2220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2221 multiarch finite for PowerPC32.
2222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2223 New file.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2225 file: multiarch finitef for PowerPC32.
2226
2227 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2228
2229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2230 and isinff multiarch implementations.
2231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2232 file.
2233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2234 file.
2235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2236 multiarch isinf for PowerPC32.
2237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2238 New file.
2239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2240 multiarch isinff for PowerPC32.
2241
2242 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2243
2244 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2245 alias when __isnan is defined.
2246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2247 and isnanf multiarch implementations.
2248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2249 file.
2250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2251 file.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2253 file.
2254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2255 file.
2256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2257 multiarch isnan for PowerPC32.
2258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2259 New file.
2260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2261 New file.
2262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2263 multiarch isnanf for PowerPC32.
2264
2265 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2266
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2268 and sqrtf multiarch implementations.
2269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2270 file.
2271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2272 file.
2273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2274 multiarch sqrt for PowerPC32.
2275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2276 file.
2277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2278 file.
2279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2280 multiarch sqrtf for PowerPC32.
2281
2282 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2283
2284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2285 and llroundf multiarch implementations.
2286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2287 New file.
2288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2289 New file.
2290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2291 New file.
2292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2293 file: multiarch llround for PowerPC32.
2294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2295 file: multiarch llroundf for PowerPC32.
2296
2297 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2298
2299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2300 multiarch PowerPC32 fpu implementations.
2301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2302 New file.
2303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2304 New file.
2305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2306 multiarch llrint for PowerPC32.
2307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2308 New file.
2309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2310 New file.
2311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2312 file.
2313
2314 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2315
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2317
2318 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2319
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2321 file.
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2323 file.
2324 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2325 file.
2326 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2327 multiarch wordcopy for PPC32.
2328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2329 wordcopy objects.
2330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2331 (__libc_ifunc_impl_list): Likewise.
2332 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2333 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2334 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2335 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2336 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2337 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2338
2339 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2340
2341 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2343 file.
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2345 file.
2346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2347 file.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2349 multiarch wcscpy for PPC32.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2351 multiarch objects.
2352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2353 (__libc_ifunc_impl_list): Likewise.
2354 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2355 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2356 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2357 sysdeps/powerpc/power6/wcscpy.c.
2358
2359 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2360
2361 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2363 file.
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2365 file.
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2367 file.
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2369 multiarch wcsrchr for PPC32.
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2371 multiarch objects.
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2373 (__libc_ifunc_impl_list): Likewise.
2374 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2375 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2376 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2377 sysdeps/powerpc/power6/wcsrchr.c.
2378
2379 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2380
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2382 file.
2383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2384 file.
2385 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2387 multiarch wcschr for PPc32.
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2389 multiarch objects.
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2391 (__libc_ifunc_impl_list): Likewise.
2392 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2393 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2394 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2395 sysdeps/powerpc/power6/wcschr.c.
2396
2397 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398
2399 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2400 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2401 file.
2402 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2403 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2404 file: multiarch strchr for PPC32.
2405 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2406 multiarch objects.
2407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2408 (__libc_ifunc_impl_list): Likewise.
2409
2410 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2411
2412 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2413 name.
2414 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2415 file.
2416 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2417 file.
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2419 multiarch strchrnul for PPC32.
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2421 multiarch objects.
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2423 (__libc_ifunc_impl_list): Likewise.
2424
2425 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2426
2427 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2428 file.
2429 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2430 multiarch strncasecmp for PPC32.
2431 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2432 file.
2433 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2434 multiarch strncasecmp_l for PPC32.
2435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2436 strncasecmp multiarch objects.
2437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2438 (__libc_ifunc_impl_list): Likewise.
2439
2440 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2441
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2443 file.
2444 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2445 multiarch strncasecmp for PPC32.
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2447 New file.
2448 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2449 multiarch strcasecmp_l for PPC32.
2450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2451 multiarch objects.
2452 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2453 (__libc_ifunc_impl_list): Likewise.
2454
2455 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2456
2457 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2458 file.
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2460 file.
2461 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2462 multiarch strncmp for PPC32.
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2464 multiarch objects.
2465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2466 (__libc_ifunc_impl_list): Likewise.
2467
2468 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2469
2470 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2471 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2472 file.
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2474 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2475 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2476 multiarch objects.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2478 (__libc_ifunc_impl_list): Likewise.
2479
2480 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481
2482 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2483 file.
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2485 file.
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2488 multiarch objects.
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2490 (__libc_ifunc_impl_list): Likewise.
2491
2492 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2493
2494 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2495 file.
2496 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2497 file.
2498 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2499 multiarch rawmemchr for PPC32.
2500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2501 multiarch objects.
2502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2503 (__libc_ifunc_impl_list): Likewise.
2504
2505 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2506
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2508 file.
2509 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2510 file.
2511 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2512 file: memrchr multiarch for PPC32.
2513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2514 multiarch objects.
2515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2516 (__libc_ifunc_impl_list): Likewise.
2517
2518 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2519
2520 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2521 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2522 file.
2523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2525 multiarch memchr for PPC32.
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2527 multiarch objects.
2528 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2529 (__libc_ifunc_impl_list): Likewise.
2530
2531 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2532
2533 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2534 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2535 file.
2536 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2537 file.
2538 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2539 file: multiarch mempcpy for PPC32.
2540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2541 multiarch objects.
2542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2543 (__libc_ifunc_impl_list): Likewise.
2544
2545 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2546
2547 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2548 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2551 multiarch bzero for PPC32.
2552 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2553 file.
2554 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2555 file.
2556 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2557 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2558 file: multiarch memset for PPC32.
2559 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2561 memset multiarch objects.
2562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2563 (__libc_ifunc_impl_list): Likewise.
2564
2565 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2566
2567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2568 file.
2569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2571 memcmp for PPC32.
2572 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2574 multiarch objects.
2575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2576 (__libc_ifunc_impl_list): Likewise.
2577
2578 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579
2580 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2583 file.
2584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2585 file.
2586 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2587 file.
2588 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2589 multiarch memcpy for PPC32.
2590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2591 multiarch objects.
2592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2593 (__libc_ifunc_impl_list): Likewise.
2594
2595 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2596
2597 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2598 support multiarch for POWER/PPC32.
2599 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2600 Likewise.
2601 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2603 Implies file to make multiarch folder appers before the fpu and
2604 default folder for power4 configuration.
2605
2606 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2607
2608 * scripts/bench.pl: Append volatile keyword to type.
2609
2610 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2611
2612 * sysdeps/sh/sotruss-lib.c: New file.
2613 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2614
2615 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2616
2617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2618
2619 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2620
2621 [BZ #6810]
2622 * math/w_tgamma.c: Include <errno.h>.
2623 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2624 * math/w_tgammaf.c: Include <errno.h>.
2625 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2626 * math/w_tgammal.c: Include <errno.h>.
2627 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2628 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2629 underflow. Add more tgamma tests.
2630 * math/auto-libm-test-out: Regenerated.
2631 * sysdeps/i386/fpu/libm-test-ulps: Update.
2632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2633
2634 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2635 sin, sinh, tan, tanh, tgamma, y0 and y1.
2636 * math/auto-libm-test-out: Regenerated.
2637 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2638 (TEST_COND_x86): Likewise.
2639 (M_E2l): Remove macro.
2640 (M_E3l): Likewise.
2641 (M_2_SQRT_PIl): Likewise.
2642 (M_SQRT_PIl): Likewise.
2643 (M_1_DIV_El): Likewise.
2644 (log_test_data): Use AUTO_TESTS_f_f.
2645 (log10_test_data): Likewise.
2646 (log1p_test_data): Likewise.
2647 (log2_test_data): Likewise.
2648 (sin_test_data): Likewise.
2649 (sin_tonearest_test_data): Likewise.
2650 (sin_towardzero_test_data): Likewise.
2651 (sin_downward_test_data): Likewise.
2652 (sin_upward_test_data): Likewise.
2653 (sinh_test_data): Likewise.
2654 (sinh_tonearest_test_data): Likewise.
2655 (sinh_towardzero_test_data): Likewise.
2656 (sinh_downward_test_data): Likewise.
2657 (sinh_upward_test_data): Likewise.
2658 (tan_test_data): Likewise.
2659 (tan_tonearest_test_data): Likewise.
2660 (tan_towardzero_test_data): Likewise.
2661 (tan_downward_test_data): Likewise.
2662 (tan_upward_test_data): Likewise.
2663 (tanh_test_data): Likewise.
2664 (tgamma_test_data): Likewise.
2665 (y0_test_data): Likewise.
2666 (y1_test_data): Likewise.
2667 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2668 (special_real_inputs): Add pi/4.
2669 * sysdeps/i386/fpu/libm-test-ulps: Update.
2670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2671
2672 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2673
2674 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2675 "longjmp_target" static probes.
2676 (__longjmp): Rename to __longjmp_symbol.
2677 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2678 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2679 on which longjmp to generate.
2680 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2681 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2682 probe.
2683 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2684 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2685 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2686 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2687 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2688 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2690 __longjmp_symbol based on which __longjmp to generate.
2691 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2692 probe.
2693 (setjmp): Rename to setjmp_symbol.
2694 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2695 (_setjmp): Rename to _setjmp_symbol.
2696 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2697 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2698 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2699 which setjmp to generate.
2700 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2701 "longjmp_target" static probes.
2702
2703 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2704
2705 * benchtests/README: Add note about output arguments.
2706 * benchtests/bench-sincos.c: Remove file.
2707 * benchtests/sincos-inputs: New file.
2708 * scripts/bench.pl: Identify output arguments and define
2709 static variables for them.
2710
2711 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2712
2713 [BZ #15941]
2714 * Makefile (INSTALL): Add install-plain.texi as the primary
2715 dependency.
2716 * manual/install-plain.texi: New file.
2717 * manual/install.texi: Include node directive only for
2718 non-plaintext output.
2719
2720 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2721
2722 * stdlib/longlong.h: Update from GCC.
2723
2724 [BZ #6807]
2725 [BZ #15901]
2726 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2727 * math/w_j0f.c (y0f): Likewise.
2728 * math/w_j0l.c (__y0l): Likewise.
2729 * math/w_j1.c (y1): Likewise.
2730 * math/w_j1f.c (y1f): Likewise.
2731 * math/w_j1l.c (__y1l): Likewise
2732 * math/w_jn.c (yn): Likewise.
2733 * math/w_jnf.c (ynf): Likewise.
2734 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2735 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2736 value for Bessel function domain errors outside _SVID_ mode.
2737 Adjust sign of return value for yn (negative integer, 0).
2738 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2739 by zero in return for negative x and set sign appropriately for
2740 negative n.
2741 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2742 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2743 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2744 expectations in error cases.
2745 (y1_test_data): Likewise.
2746 (yn_test_data): Likewise.
2747 * sysdeps/i386/fpu/libm-test-ulps: Update.
2748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749
2750 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2751
2752 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2753 "64" to "64-v1". Add "64-v2".
2754 (abi-64-options): Rename to ...
2755 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2756 (abi-64-condition): Rename to ...
2757 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2758 (abi-64-ld-soname): Rename to ...
2759 (abi-64-v1-ld-soname): ... this.
2760 (abi-64-v2-options): Define.
2761 (abi-64-v2-condition): Likewise.
2762 (abi-64-v2-ld-soname): Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2764 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2768
2769 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2770 Alan Modra <amodra@gmail.com>
2771
2772 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2773 New versions for use with the ELFv2 ABI.
2774 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2775 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2776 declaration.
2777 (struct La_ppc64v2_retval): Likewise.
2778 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2779 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2780 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2781 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2782 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2783 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2784 Do not save or restore CR.
2785 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2786 (_dl_profile_resolve): Do no save or restore CR. Support extended
2787 return values for ELFv2 ABI. Fix location of FPR return registers.
2788 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2789 updated values for _CALL_ELF == 2.
2790 (La_regs, La_retval, int_retval): Likewise.
2791
2792 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2793
2794 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2795 (FRAME_MIN_SIZE_PARM): Likewise.
2796 (FRAME_BACKCHAIN): Likewise.
2797 (FRAME_CR_SAVE): Likewise.
2798 (FRAME_LR_SAVE): Likewise.
2799 (FRAME_TOC_SAVE): Likewise.
2800 (FRAME_PARM_SAVE): Likewise.
2801 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2802 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2803 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2804 (call_mcount_parm_offset): New macro.
2805 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2806 (PROF): Use symbolic stack frame offsets.
2807 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2808 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2809 Redefine in terms of FRAME_MIN_SIZE.
2810 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2811 (_dl_profile_resolve): Likewise. Update comment.
2812 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2813 symbols stack frame offsets.
2814 (__sigsetjmp): Likewise.
2815 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2816 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2817 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2818 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2819
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2821 (FRAME_BACKCHAIN): Remove.
2822 (FRAME_CR_SAVE): Likewise.
2823 (FRAME_LR_SAVE): Likewise.
2824 (FRAME_COMPILER_DW): Likewise.
2825 (FRAME_LINKER_DW): Likewise.
2826 (FRAME_TOC_SAVE): Likewise.
2827 (FRAME_PARM_SAVE): Likewise.
2828 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2829 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2830 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2832 (CHECK_SP): Use symbolic stack frame offsets.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2834 zone" instead of caller's parameter save area for temp storage.
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2836 Likewise. Also, use symbolic stack frame offsets.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2838 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2839 our own stack frame instead of the caller's.
2840 (__socket): Use symbolic stack frame offsets.
2841
2842 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2843 Alan Modra <amodra@gmail.com>
2844
2845 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2846 Define.
2847 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2848 PPC64_LOCAL_ENTRY_OFFSET): Define.
2849 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2850 New function.
2851 (elf_machine_fixup_plt): Call it.
2852 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2853 reloc arguments.
2854 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2855 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2856 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2857 r2 before calling target.
2858
2859 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2860 Alan Modra <amodra@gmail.com>
2861
2862 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2863 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2864 versions of macros to support ELFv2 ABI.
2865 (LOCALENTRY): New macro.
2866 (ENTRY, EALIGN): Use it.
2867 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2868 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2869 fall through into ENTRY entry point.
2870 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2871 Only define if _CALL_ELF != 2.
2872
2873 (elf_machine_matches_host): Verify ABI version matches.
2874 (RTLD_START): Use LOCALENTRY.
2875 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2876 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2877 (PLT_ENTRY_WORDS): New macro.
2878 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2879 (elf_machine_runtime_setup): Support ELFv2 ABI.
2880 (elf_machine_fixup_plt): Likewise.
2881 (elf_machine_plt_conflict): Likewise.
2882 (resolve_ifunc): Likewise.
2883 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2884 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2885 Likewise.
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2887 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2889 (makecontext): Support ELFv2 ABI.
2890 * elf/elf.h (EF_PPC64_ABI): Define.
2891
2892 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2893
2894 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2895 New assembler macro.
2896 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2897 [ASSEMBLER] (ENTRY): ... but instead here ...
2898 [ASSEMBLER] (EALIGN): ... and here.
2899 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2900 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2901 [!ASSEMBLER] (ENTRY_2): Use it.
2902 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2903 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2904 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2905 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2906 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2908 Use PPC64_LOAD_FUNCPTR.
2909
2910 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2911
2912 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2913
2914 2013-12-04 Alan Modra <amodra@gmail.com>
2915
2916 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2917 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2918 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2919 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2920
2921 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2922 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2923 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2924 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2925 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2926 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2927
2928 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2929
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2931 (__makecontext): Fix incorrect CFI when backtracing out of
2932 context created via makecontext.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2934 (__setcontext): Fix incorrect CFI during switch to new context.
2935 (__novec_setcontext): Likewise.
2936
2937 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2938
2939 [BZ #4772]
2940 * time/strptime_l.c (__strptime_internal): Allow modifiers
2941 in strptime.
2942 * time/tst-strptime.c (day_tests): Add testcase.
2943
2944
2945 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2946
2947 * scripts/bench.pl: Skip over blank lines.
2948
2949 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2950
2951 [BZ #926]
2952 * manual/time.texi (Calendar Time): Clarify what timezone functions
2953 use.
2954
2955 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2956
2957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2958
2959 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2960
2961 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2962 implementation.
2963 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2964 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2965 * debug/memset_chk.c (__memset_chk): Likewise.
2966 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2967 * debug/strncpy_chk.c: Likewise.
2968
2969 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #15268]
2972 [BZ #15425]
2973 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2974 (__ieee754_exp): For possibly underflowing results, check size of
2975 result and force underflow exception if required.
2976 * math/auto-libm-test-in: Add more tests of exp.
2977 * math/auto-libm-test-out: Regenerated.
2978 * sysdeps/i386/fpu/libm-test-ulps: Update.
2979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2980
2981 [BZ #16283]
2982 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2983 * math/w_exp2f.c (__exp2f): Likewise.
2984 * math/w_exp2l.c (__exp2l): Likewise.
2985 * math/auto-libm-test-in: Do not allow missing errno on exp2
2986 underflow.
2987 * math/auto-libm-test-out: Regenerated.
2988
2989 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2990
2991 [BZ #16274]
2992 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2993 handle filename validation.
2994 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2995 (do_open): Delete.
2996
2997 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2998
2999 [BZ #6786]
3000 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3001 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3002 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3003 <float.h>.
3004 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3005 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3006 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3008 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3009 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3010 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3011 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3012 Add more erfc tests.
3013 * math/auto-libm-test-out: Regenerated.
3014 * sysdeps/i386/fpu/libm-test-ulps: Update.
3015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3016
3017 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3018 exp2, expm1, j0 and j1.
3019 * math/auto-libm-test-out: Regenerated.
3020 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3021 (erfc_test_data): Likewise.
3022 (exp_test_data): Likewise.
3023 (exp_tonearest_test_data): Likewise.
3024 (exp_towardzero_test_data): Likewise.
3025 (exp_downward_test_data): Likewise.
3026 (exp_upward_test_data): Likewise.
3027 (exp10_test_data): Likewise.
3028 (exp2_test_data): Likewise.
3029 (expm1_test_data): Likewise.
3030 (j0_test_data): Likewise.
3031 (j1_test_data): Likewise.
3032 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3033 (input_flag_type): Add flag_xfail_rounding.
3034 (input_flags): Add xfail-rounding.
3035 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3036 (output_for_one_input_case): Handle flag_xfail_rounding.
3037 * sysdeps/i386/fpu/libm-test-ulps: Update.
3038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3039
3040 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3041
3042 [BZ #16289]
3043 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3044 division by 0.
3045
3046 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3047
3048 [BZ #16195]
3049 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3050 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3051 (STAP_PROBE0): New macro.
3052 (STAP_PROBE1): Likewise.
3053 (STAP_PROBE2): Likewise.
3054 (STAP_PROBE3): Likewise.
3055 (STAP_PROBE4): Likewise.
3056
3057 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3058
3059 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3060
3061 2013-12-02 Steve Ellcey <sellcey@mips.com>
3062
3063 * benchtests/Makefile (bench): Add sqrt.
3064 (LDLIBS-bench-sqrt): New.
3065 * benchtests/sqrt-input: New.
3066
3067 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3068
3069 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3070 (GAIH_EAI): Likewise.
3071 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3072 (gaih_inet): Likewise.
3073 (getaddrinfo): Don't use GAIH_EAI.
3074
3075 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3076 (struct gaih): Remove definition.
3077
3078 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3079
3080 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3081 Use HERRNOP directly.
3082
3083 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3084
3085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3086
3087 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3088
3089 * math/gen-auto-libm-tests.c (test_functions): Add more
3090 single-argument functions.
3091 (special_fill_pi_2): New function.
3092 (special_fill_minus_pi_2): Likewise.
3093 (special_fill_pi_6): Likewise.
3094 (special_fill_minus_pi_6): Likewise.
3095 (special_fill_pi_3): Likewise.
3096 (special_fill_2pi_3): Likewise.
3097 (special_fill_e): Likewise.
3098 (special_fill_1_e): Likewise.
3099 (special_fill_e_minus_1): Likewise.
3100 (special_real_inputs): Add more special inputs.
3101 (output_for_one_input_case): Do not require ERANGE on underflow to
3102 zero if round-to-nearest result does not underflow to zero, unless
3103 exact results required.
3104 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3105 atan, atanh, cbrt, cos and cosh.
3106 * math/auto-libm-test-out: Regenerated.
3107 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3108 (acos_tonearest_test_data): Likewise.
3109 (acos_towardzero_test_data): Likewise.
3110 (acos_downward_test_data): Likewise.
3111 (acos_upward_test_data): Likewise.
3112 (acosh_test_data): Likewise.
3113 (asin_test_data): Likewise.
3114 (asin_tonearest_test_data): Likewise.
3115 (asin_towardzero_test_data): Likewise.
3116 (asin_upward_test_data): Likewise.
3117 (asinh_test_data): Likewise.
3118 (atan_test_data): Likewise.
3119 (atanh_test_data): Likewise.
3120 (cbrt_test_data): Likewise.
3121 (cos_test_data): Likewise.
3122 (cos_tonearest_test_data): Likewise.
3123 (cos_towardzero_test_data): Likewise.
3124 (cos_downward_test_data): Likewise.
3125 (cos_upward_test_data): Likewise.
3126 (cosh_test_data): Likewise.
3127 (cosh_tonearest_test_data): Likewise.
3128 (cosh_towardzero_test_data): Likewise.
3129 (cosh_downward_test_data): Likewise.
3130 (cosh_upward_test_data): Likewise.
3131 * sysdeps/i386/fpu/libm-test-ulps: Update.
3132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3133
3134 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3135
3136 [BZ #6787]
3137 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3138 * math/w_exp10f.c (__exp10f): Likewise.
3139 * math/w_exp10l.c (__exp10l): Likewise.
3140 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3141 errno settings in existing tests.
3142
3143 [BZ #14032]
3144 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3145 precision control set to double precision.
3146 * sysdeps/i386/fpu/w_sqrt.c: New file.
3147 * math/auto-libm-test-in: Add more tests.
3148 * math/auto-libm-test-out: Update.
3149
3150 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3151 (sqrt_test_tonearest): New function.
3152 (sqrt_towardzero_test_data): New variable.
3153 (sqrt_test_towardzero): New function.
3154 (sqrt_downward_test_data): New variable.
3155 (sqrt_test_downward): New function.
3156 (sqrt_upward_test_data): New variable.
3157 (sqrt_test_upward): New function.
3158 (main): Call the new functions.
3159
3160 * math/gen-auto-libm-tests.c: New file.
3161 * math/auto-libm-test-in: Likewise.
3162 * math/auto-libm-test-out: New generated file.
3163 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3164 variables.
3165 (%beautify): Add generated representations of zero.
3166 (top level): Set $auto_input and call parse_auto_input.
3167 (beautify): Remove trailing "f" from hex float constants.
3168 (parse_args): Handle XFAIL_TEST.
3169 (convert_condition): New function.
3170 (or_value): Likewise.
3171 (or_cond_value): Likewise.
3172 (generate_testfile): Handle AUTO_TESTS_* lines.
3173 (parse_auto_input): New function.
3174 * math/libm-test.inc (XFAIL_TEST): New macro.
3175 (ERRNO_UNCHANGED): Update value.
3176 (ERRNO_EDOM): Likewise.
3177 (ERRNO_ERANGE): Likewise.
3178 (IGNORE_RESULT): Likewise.
3179 (TEST_COND_flt_32): New macro.
3180 (TEST_COND_dbl_64): Likewise.
3181 (TEST_COND_ldbl_96_intel): Likewise.
3182 (TEST_COND_ldbl_96_m68k): Likewise.
3183 (TEST_COND_ldbl_128): Likewise.
3184 (TEST_COND_ldbl_128ibm): Likewise.
3185 (TEST_COND_long32): Likewise.
3186 (TEST_COND_long64): Likewise.
3187 (TEST_COND_before_rounding): Likewise.
3188 (TEST_COND_after_rounding): Likewise.
3189 (enable_test): Handle XFAIL_TEST flag.
3190 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3191 with finite results.
3192 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3193 auto-libm-test-out.
3194
3195 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3196 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3197
3198 [BZ #16214]
3199 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3200 __tls_get_addr_internal instead of __tls_get_offset in order to
3201 avoid GOT pointer dependency. Make rtld export
3202 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3203 __tls_get_addr since we are a __tls_get_offset platform.
3204 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3205 GOT pointer being set up before.
3206 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3207
3208 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3209
3210 * manual/math.texi (Errors in Math Functions): Document accuracy
3211 goals.
3212
3213 [BZ #15004]
3214 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3215 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3217 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3218 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3220 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3230
3231 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3232 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3233 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3234 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3235 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3236 Likewise.
3237 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3238 Likewise.
3239 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3240 Likewise.
3241 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3242 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3243 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3244 atomic-feupdateenv and flt-rounds.
3245 * sysdeps/powerpc/nofpu/Versions (libc): Add
3246 __atomic_feholdexcept, __atomic_feclearexcept,
3247 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3248 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3249 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3250 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3251 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3252 here.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3254 Update.
3255
3256 * manual/arith.texi (FP Exceptions): Document that exceptions may
3257 not be raised when matherr is used.
3258 (Math Error Reporting): Document overflow in directed rounding
3259 modes. Document that errno may not be set when finite values are
3260 returned on overflow. Document intent to set errno on underflow
3261 only for underflow to zero.
3262
3263 [BZ #16271]
3264 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3265 round-to-nearest then adjust result for other rounding modes.
3266 * include/fenv.h (fegetround): Use libm_hidden_proto.
3267 * math/fegetround.c (fegetround): Use libm_hidden_def.
3268 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3269 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3270 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3271 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3272 Likewise.
3273 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3274 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3275 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3276 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3277
3278 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3279
3280 [BZ #16077]
3281 * nss/Versions (libnss_files): Add
3282 _nss_files_gethostbyname3_r.
3283 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3284 New function.
3285 (HOST_DB_LOOKUP): Remove macro.
3286 (_nss_files_gethostbyname_r): Implement function without the
3287 HOST_DB_LOOKUP macro.
3288 (_nss_files_gethostbyname2_r): Likewise.
3289
3290 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3291
3292 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3293
3294 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3295
3296 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3297 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3298 warning.
3299
3300 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3301
3302 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3303 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3304 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3305 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3306 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3307 __fe_nomask_env_priv and attribute_hidden.
3308 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3309 (libc_feupdateenv_test_ppc): Likewise.
3310 (libc_feresetround_ppc): Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3312 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3313 compat_symbol macro.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3315 (__fe_nomask_env): Likewise.
3316 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3317
3318 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3319
3320 * string/Makefile: Remove ifunc tests.
3321 * string/test-string.h: Define TEST_IFUNC.
3322 * string/test-bcopy-ifunc.c: Remove.
3323 * string/test-bzero-ifunc.c: Likewise.
3324 * string/test-memccpy-ifunc.c: Likewise.
3325 * string/test-memchr-ifunc.c: Likewise.
3326 * string/test-memcmp-ifunc.c: Likewise.
3327 * string/test-memcpy-ifunc.c: Likewise.
3328 * string/test-memmem-ifunc.c: Likewise.
3329 * string/test-memmove-ifunc.c: Likewise.
3330 * string/test-mempcpy-ifunc.c: Likewise.
3331 * string/test-memrchr-ifunc.c: Likewise.
3332 * string/test-memset-ifunc.c: Likewise.
3333 * string/test-rawmemchr-ifunc.c: Likewise.
3334 * string/test-stpcpy-ifunc.c: Likewise.
3335 * string/test-stpncpy-ifunc.c: Likewise.
3336 * string/test-strcasecmp-ifunc.c: Likewise.
3337 * string/test-strcasestr-ifunc.c: Likewise.
3338 * string/test-strcat-ifunc.c: Likewise.
3339 * string/test-strchr-ifunc.c: Likewise.
3340 * string/test-strchrnul-ifunc.c: Likewise.
3341 * string/test-strcmp-ifunc.c: Likewise.
3342 * string/test-strcpy-ifunc.c: Likewise.
3343 * string/test-strcspn-ifunc.c: Likewise.
3344 * string/test-strlen-ifunc.c: Likewise.
3345 * string/test-strncasecmp-ifunc.c: Likewise.
3346 * string/test-strncat-ifunc.c: Likewise.
3347 * string/test-strncmp-ifunc.c: Likewise.
3348 * string/test-strncpy-ifunc.c: Likewise.
3349 * string/test-strnlen-ifunc.c: Likewise.
3350 * string/test-strpbrk-ifunc.c: Likewise.
3351 * string/test-strrchr-ifunc.c: Likewise.
3352 * string/test-strspn-ifunc.c: Likewise.
3353 * string/test-strstr-ifunc.c: Likewise.
3354
3355 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3356
3357 * benchtests/Makefile: Remove ifunc tests.
3358 * benchtests/bench-string.h: Define TEST_IFUNC.
3359 * benchtests/bench-bcopy-ifunc.c: Remove.
3360 * benchtests/bench-bzero-ifunc.c: Likewise.
3361 * benchtests/bench-memccpy-ifunc.c: Likewise.
3362 * benchtests/bench-memchr-ifunc.c: Likewise.
3363 * benchtests/bench-memcmp-ifunc.c: Likewise.
3364 * benchtests/bench-memcpy-ifunc.c: Likewise.
3365 * benchtests/bench-memmem-ifunc.c: Likewise.
3366 * benchtests/bench-memmove-ifunc.c: Likewise.
3367 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3368 * benchtests/bench-memrchr-ifunc.c: Likewise.
3369 * benchtests/bench-memset-ifunc.c: Likewise.
3370 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3371 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3372 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3373 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3374 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3375 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3376 * benchtests/bench-strcat-ifunc.c: Likewise.
3377 * benchtests/bench-strchr-ifunc.c: Likewise.
3378 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3379 * benchtests/bench-strcmp-ifunc.c: Likewise.
3380 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3381 * benchtests/bench-strcpy-ifunc.c: Likewise.
3382 * benchtests/bench-strcspn-ifunc.c: Likewise.
3383 * benchtests/bench-strlen-ifunc.c: Likewise.
3384 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3385 * benchtests/bench-strncat-ifunc.c: Likewise.
3386 * benchtests/bench-strncmp-ifunc.c: Likewise.
3387 * benchtests/bench-strncpy-ifunc.c: Likewise.
3388 * benchtests/bench-strnlen-ifunc.c: Likewise.
3389 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3390 * benchtests/bench-strrchr-ifunc.c: Likewise.
3391 * benchtests/bench-strsep-ifunc.c: Likewise.
3392 * benchtests/bench-strspn-ifunc.c: Likewise.
3393 * benchtests/bench-strstr-ifunc.c: Likewise.
3394
3395 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3396
3397 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3398
3399 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3400
3401 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3402 * rt/aio.h: Likewise.
3403 * sysdeps/gnu/bits/utmp.h: Likewise.
3404 * sysdeps/gnu/bits/utmpx.h: Likewise.
3405 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3406 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3407 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3408 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3409 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3410 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3411 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3412 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3413 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3414 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3415 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3416 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3417 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3419 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3420 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3421 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3422 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3423 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3424 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3425 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3426 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3427 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3428 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3429 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3431 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3432 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3433 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3434 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3435 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3436 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3437 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3438 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3439 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3440 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3441 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3442 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3443 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3444 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3445 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3446 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3447
3448 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3449
3450 [BZ #16245]
3451 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3452 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3453
3454 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3455
3456 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3457 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3458 Likewise.
3459
3460 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3461
3462 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3463 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3464 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3465 (__fesetround): Remove define.
3466 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3467 rounding and exceptions handling.
3468 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3469 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3470 (__fe_nomask_env): Likewise.
3471 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3472 __fegetround instead of fegetround.
3473 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3474 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3475
3476 2013-11-21 Roland McGrath <roland@hack.frob.com>
3477
3478 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3479 it's there.
3480
3481 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3482
3483 2013-11-21 Meador Inge <meadori@codesourcery.com>
3484
3485 [BZ #11157]
3486 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3487 (encrypt_r): Likewise.
3488 * malloc/obstack.h (obstack_free): Likewise.
3489 * posix/unistd.h (encrypt): Likewise.
3490
3491 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3492
3493 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3494 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3495 DL_CALL_DT_FINI() that call the functions directly.
3496 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3497 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3498 * elf/dl-fini.c: Likewise.
3499
3500 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3501
3502 * malloc/hooks.c (memalign_check): Add alignment rounding.
3503 * malloc/malloc.c (_mid_memalign): New function.
3504 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3505 Implement by calling _mid_memalign.
3506 * manual/probes.texi (Memory Allocation Probes): Remove
3507 memory_valloc_retry and memory_pvalloc_retry.
3508
3509 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3510
3511 * locale/programs/locarchive.c (open_archive): Add const
3512 qualifier to ARCHIVEFNAME and copy default fname to
3513 DEFAULT_FNAME.
3514
3515 [BZ #15601]
3516 * libio/tst-widetext.input: Rename Oriya to Odia.
3517 * locale/iso-639.def: Likewise.
3518
3519 * manual/probes.texi (Mathematical Function Probes): Add
3520 documentation for sin, cos, asin and acos probes.
3521 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3522 (__sin32): Add slowasin probe.
3523 (__cos32): Add slowacos probe.
3524 (__mpsin): Add slowsin probe.
3525 (__mpcos): Add slowcos probe.
3526
3527 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3528
3529 [BZ #15483]
3530 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3531 thread-local __sim_exceptions_thread and global
3532 __sim_exceptions_global.
3533 (__sim_disabled_exceptions): Change to thread-local
3534 __sim_disabled_exceptions_thread and global
3535 __sim_disabled_exceptions_global.
3536 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3537 and global __sim_round_mode_global.
3538 (__simulate_exceptions): Use thread-local floating-point state and
3539 set global state from it as needed.
3540 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3541 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3542 __sim_round_mode_thread.
3543 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3544 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3545 and global __sim_exceptions_global.
3546 (__sim_disabled_exceptions): Change to thread-local
3547 __sim_disabled_exceptions_thread and global
3548 __sim_disabled_exceptions_global.
3549 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3550 and global __sim_round_mode_global.
3551 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3552 (SIM_SET_GLOBAL): Likewise.
3553 * sysdeps/powerpc/soft-fp/sfp-machine.h
3554 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3555 __sim_round_mode_thread.
3556 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3557 __sim_disabled_exceptions_thread.
3558 (__sim_exceptions): Change to __sim_exceptions_thread.
3559 (__sim_disabled_exceptions): Change to
3560 __sim_disabled_exceptions_thread.
3561 (__sim_round_mode): Change to __sim_round_mode_thread.
3562 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3563 thread-local floating-point state and set global state from it as
3564 needed.
3565 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3566 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3567 (__sim_disabled_exceptions): Remove extern declaration.
3568 (feenableexcept): Use thread-local floating-point state and set
3569 global state from it as needed.
3570 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3571 extern declaration.
3572 (__sim_disabled_exceptions): Likewise.
3573 (__sim_round_mode): Likewise.
3574 (__fegetenv): Use thread-local floating-point state.
3575 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3576 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3577 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3578 floating-point state and set global state from it as needed.
3579 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3580 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3581 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3582 Likewise.
3583 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3584 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3585 Likewise.
3586 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3587 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3588 Use __sim_round_mode_thread.
3589 * math/test-fenv-tls.c: New file.
3590 * math/Makefile (tests): Add test-fenv-tls.
3591 ($(objpfx)test-fenv-tls): Depend on
3592 $(common-objpfx)nptl/libpthread.so.
3593
3594 2013-11-19 Andreas Schwab <schwab@suse.de>
3595
3596 * locale/programs/locale.c (show_info): Decode wordarray elements.
3597 * locale/categories.def (LC_MONETARY): Add element for
3598 _NL_MONETARY_CRNCYSTR.
3599 * locale/C-monetary.c (conversion_rate): New variable.
3600 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3601 element.
3602
3603 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3604
3605 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3606 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3607
3608 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3609
3610 * elf/Makefile (tst-auxv): New test.
3611 * elf/tst-auxv.c: New
3612 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3613
3614 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3615
3616 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3617 (hidden_proto): Caller changed.
3618 (hidden_tls_proto): New macro.
3619 (libc_hidden_tls_proto): Likewise.
3620 (rtld_hidden_tls_proto): Likewise.
3621 (libm_hidden_tls_proto): Likewise.
3622 (libresolv_hidden_tls_proto): Likewise.
3623 (librt_hidden_tls_proto): Likewise.
3624 (libdl_hidden_tls_proto): Likewise.
3625 (libnss_files_hidden_tls_proto): Likewise.
3626 (libnsl_hidden_tls_proto): Likewise.
3627 (libnss_nisplus_hidden_tls_proto): Likewise.
3628 (libutil_hidden_tls_proto): Likewise.
3629
3630 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3631
3632 [BZ #10253]
3633 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3634 (decompose_rpath): Defer expansion to fillin_rpath.
3635 (_dl_init_paths): Pass linkmap to fillin_rpath.
3636
3637 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3638
3639 * benchtests/Makefile: Add strsep.
3640 * benchtests/bench-strsep.c: New file: strsep benchtest.
3641 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3642
3643 2013-11-18 Andreas Schwab <schwab@suse.de>
3644
3645 * locale/programs/locale.c (show_info) [case byte]: Check for
3646 '\377' instead of '\177'.
3647 * locale/C-monetary.c (not_available): Always use "\377".
3648 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3649 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3650 detect unavailable sign_posn locale elements.
3651 * locale/localeconv.c (__localeconv): For grouping and
3652 mon_grouping handle "\177" and "\377" like no grouping.
3653 (INT_ELEM): New macro. Use it to set all numeric members.
3654 * locale/programs/ld-monetary.c (monetary_read)
3655 <tok_mon_grouping>: Normalize single -1 to the empty string.
3656 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3657 Likewise.
3658
3659 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3660
3661 [BZ #16055]
3662 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3663 when we match (nil).
3664 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3665
3666 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3667
3668 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3669 (NO_TEST_INLINE): Update value.
3670 (ERRNO_UNCHANGED): Likewise.
3671 (ERRNO_EDOM): Likewise.
3672 (ERRNO_ERANGE): Likewise.
3673 (IGNORE_RESULT): Likewise.
3674 (check_float_internal): Check signs of NaN results if
3675 TEST_NAN_SIGN used.
3676 (check_complex): Pass TEST_NAN_SIGN flag through to second
3677 check_float_internal call.
3678 (copysign_test_data): Add tests with quiet NaNs as second
3679 argument. Use TEST_NAN_SIGN.
3680 (fabs_test_data): Add test of negative quiet NaN argument. Use
3681 TEST_NAN_SIGN.
3682 (signbit_test_data): Add tests of quiet NaN argument.
3683 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3684
3685 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3686 $ignore_result.
3687 (parse_args): Handle function results specified as IGNORE.
3688 * math/libm-test.inc (IGNORE_RESULT): New macro.
3689 (check_float_internal): Do not check numerical result if flag
3690 IGNORE_RESULT set.
3691 (check_complex): Pass through IGNORE_RESULT to second
3692 check_float_internal call.
3693 (check_int): Do not check numerical result if flag IGNORE_RESULT
3694 set.
3695 (check_long): Likewise.
3696 (check_bool): Likewise.
3697 (check_longlong): Likewise.
3698 (lrint_test_data): Add tests of infinite and NaN arguments.
3699 (lrint_tonearest_test_data): Likewise.
3700 (lrint_towardzero_test_data): Likewise.
3701 (lrint_downward_test_data): Likewise.
3702 (lrint_upward_test_data): Likewise.
3703 (llrint_test_data): Likewise.
3704 (llrint_tonearest_test_data): Likewise.
3705 (llrint_towardzero_test_data): Likewise.
3706 (llrint_downward_test_data): Likewise.
3707 (llrint_upward_test_data): Likewise.
3708 (lround_test_data): Likewise.
3709 (llround_test_data): Likewise.
3710
3711 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3712 (ERRNO_UNCHANGED): Update value.
3713 (ERRNO_EDOM): Likewise.
3714 (ERRNO_ERANGE): Likewise.
3715 (NO_TEST_INLINE_FLOAT): New macro.
3716 (NO_TEST_INLINE_DOUBLE): Likewise.
3717 (enable_test): New function.
3718 (RUN_TEST_f_f): Check enable_test before running test.
3719 (RUN_TEST_2_f): Likewise.
3720 (RUN_TEST_fff_f): Likewise.
3721 (RUN_TEST_c_f): Likewise.
3722 (RUN_TEST_f_f1): Likewise.
3723 (RUN_TEST_fF_f1): Likewise.
3724 (RUN_TEST_fI_f1): Likewise.
3725 (RUN_TEST_ffI_f1): Likewise.
3726 (RUN_TEST_c_c): Likewise.
3727 (RUN_TEST_cc_c): Likewise.
3728 (RUN_TEST_f_i): Likewise.
3729 (RUN_TEST_f_i_tg): Likewise.
3730 (RUN_TEST_ff_i_tg): Likewise.
3731 (RUN_TEST_f_b): Likewise.
3732 (RUN_TEST_f_b_tg): Likewise.
3733 (RUN_TEST_f_l): Likewise.
3734 (RUN_TEST_f_L): Likewise.
3735 (RUN_TEST_fFF_11): Likewise.
3736 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3737 conditionals.
3738 (cosh_test_data): Likewise.
3739 (exp_test_data): Likewise.
3740 (expm1_test_data): Likewise.
3741 (hypot_test_data): Likewise.
3742 (pow_test_data): Likewise.
3743 (sinh_test_data): Likewise.
3744 (tanh_test_data): Likewise.
3745 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3746 flags argument.
3747
3748 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3749 tests with quiet NaN input and output.
3750 (acosh_test_data): Likewise.
3751 (asin_test_data): Likewise.
3752 (asinh_test_data): Likewise.
3753 (atan_test_data): Likewise.
3754 (atanh_test_data): Likewise.
3755 (atan2_test_data): Likewise.
3756 (cbrt_test_data): Likewise.
3757 (cos_test_data): Likewise.
3758 (cosh_test_data): Likewise.
3759 (erf_test_data): Likewise.
3760 (erfc_test_data): Likewise.
3761 (exp_test_data): Likewise.
3762 (exp10_test_data): Likewise.
3763 (exp2_test_data): Likewise.
3764 (expm1_test_data): Likewise.
3765 (hypot_test_data): Likewise.
3766 (j0_test_data): Likewise.
3767 (j1_test_data): Likewise.
3768 (jn_test_data): Likewise.
3769 (lgamma_test_data): Likewise.
3770 (log_test_data): Likewise.
3771 (log10_test_data): Likewise.
3772 (log1p_test_data): Likewise.
3773 (log2_test_data): Likewise.
3774 (pow_test_data): Likewise.
3775 (scalb_test_data): Likewise.
3776 (sin_test_data): Likewise.
3777 (sincos_test_data): Likewise.
3778 (sinh_test_data): Likewise.
3779 (tan_test_data): Likewise.
3780 (tanh_test_data): Likewise.
3781 (tgamma_test_data): Likewise.
3782 (y0_test_data): Likewise.
3783 (y1_test_data): Likewise.
3784 (yn_test_data): Likewise.
3785
3786 [BZ #16167]
3787 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3788 argument being NaN and avoid computations with second argument in
3789 that case.
3790 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3791 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3792 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3793
3794 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3795
3796 * locale/iso-639.def: Add Chitwani Tharu (the).
3797
3798 2013-11-14 Andreas Schwab <schwab@suse.de>
3799
3800 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3801 word instead of empty string.
3802
3803 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3804
3805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3806 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3808 (__fe_nomask_env): Likewise.
3809
3810 2013-11-13 Steve Ellcey <sellcey@mips.com>
3811
3812 * benchtests/bench-timing.h: Include time.h.
3813
3814 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 [BZ #15997]
3817 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3818 to 3.4.0 for x32.
3819 * sysdeps/unix/sysv/linux/configure: Regenerated.
3820
3821 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3822
3823 [BZ #16151]
3824 * stdlib/strtod_l.c (round_and_return): Do not consider
3825 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3826 exponent one less than half the least subnormal exponent.
3827 * stdlib/test-strtod-round-data: Add more tests.
3828 * stdlib/tst-strtod-round.c (tests): Regenerated.
3829
3830 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3831
3832 [BZ #14143]
3833 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3834 (__fe_mask_env): Likewise.
3835 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3836 libm_hidden_proto and add function prototype.
3837 (__fe_mask_env): Add function prototype.
3838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3839 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3841 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3843 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3844
3845 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3846
3847 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3848 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3849
3850 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3851
3852 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3853 of htab_find_slot().
3854
3855 2013-11-11 David S. Miller <davem@davemloft.net>
3856
3857 [BZ #16150]
3858 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3859 symbol in the non-vis3 case in static builds.
3860 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3861 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3862 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3863 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3864
3865 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3866
3867 [BZ #387]
3868 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3869 it is empty.
3870
3871 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3872
3873 * benchtests/Makefile: Add bench-strtod.
3874 * benchtests/bench-strtod.c: New file: strtod benchtest
3875
3876 2013-11-11 Andreas Schwab <schwab@suse.de>
3877
3878 [BZ #16153]
3879 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3880 terminating NUL in key length.
3881
3882 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3883
3884 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3885 Add artificial ODP entry for vDSO symbol for PPC64.
3886 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3887 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3888
3889 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3890
3891 [BZ #15374]
3892 * nss/getent.c (services_keys): Recognize services starting with digit.
3893
3894 2013-11-06 David S. Miller <davem@davemloft.net>
3895
3896 [BZ #15985]
3897 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3898 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3899
3900 2013-11-06 Will Newton <will.newton@linaro.org>
3901
3902 * manual/memory.texi (Malloc Examples): Remove register
3903 keyword from examples.
3904
3905 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3906
3907 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3908
3909 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3910
3911 [BZ #6981]
3912 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3913 depending on [__GCC_IEC_559 > 0].
3914 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3915 depending on [__GCC_IEC_559_COMPLEX > 0].
3916
3917 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3918
3919 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3920 to iso-639.def.
3921
3922 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3923
3924 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3925
3926 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3927
3928 [BZ #16112]
3929 * malloc/malloc (malloc_info): Do not handle first bin as
3930 special case.
3931
3932 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3933
3934 * locale/iso-639.def: Add Central Nahuatl (nhn).
3935
3936 2013-11-01 Bruno Haible <bruno@clisp.org>
3937
3938 [BZ #7003]
3939 * manual/math.texi (BSD Random): Specify range upper bound as
3940 in POSIX.
3941
3942 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3943
3944 * locale/iso-639.def: Add Meadow Mari (mhr).
3945
3946 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3947
3948 [BZ #14752], [BZ #15763]
3949 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3950 Validate name.
3951 * rt/tst_shm.c: Add test for escaping directory.
3952
3953 2013-10-31 Andreas Schwab <schwab@suse.de>
3954
3955 [BZ #15917]
3956 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3957 followed by 'x' as part of digit sequence.
3958 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3959
3960 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3961
3962 [BZ #16037]
3963 * configure.ac: allow GNU Make 4.0 and greater.
3964 * configure: Regenerated.
3965
3966 2013-10-30 Will Newton <will.newton@linaro.org>
3967
3968 [BZ #16038]
3969 * malloc/hooks.c (memalign_check): Limit alignment to the
3970 maximum representable power of two.
3971 * malloc/malloc.c (__libc_memalign): Likewise.
3972 * malloc/tst-memalign.c (do_test): Add test for very
3973 large alignment values.
3974 * malloc/tst-posix_memalign.c (do_test): Likewise.
3975
3976 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3977
3978 [BZ #11087]
3979 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3980 (munmap_chunk): Likewise.
3981 (mremap_chunk): Likewise.
3982
3983 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3984
3985 [BZ #15799]
3986 * stdlib/div.c (div): Remove obsolete code.
3987 * stdlib/ldiv.c (ldiv): Likewise.
3988 * stdlib/lldiv.c (lldiv): Likewise.
3989
3990 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3991
3992 [BZ #16071]
3993 * nss/nss_files/files-XXX.c (get_contents_ret): New
3994 enumerator.
3995 (get_contents): New function.
3996 (internal_getent): Use it. Expand size of LINEBUFLEN.
3997
3998 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3999
4000 * configure.in: Moved to ...
4001 * configure.ac: ... here. Change reference to configure.in
4002 to configure.ac.
4003 * sysdeps/arm/preconfigure.ac: ... here.
4004 configure.in to configure.ac.
4005 * sysdeps/gnu/configure.in: Moved to ...
4006 * sysdeps/gnu/configure.ac: ... here.
4007 * sysdeps/i386/configure.in: Moved to ...
4008 * sysdeps/i386/configure.ac: ... here.
4009 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4010 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4011 * sysdeps/mach/configure.in: Moved to ...
4012 * sysdeps/mach/configure.ac: ... here.
4013 * sysdeps/mach/hurd/configure.in: Moved to ...
4014 * sysdeps/mach/hurd/configure.ac: ... here.
4015 * sysdeps/powerpc/configure.in: Moved to ...
4016 * sysdeps/powerpc/configure.ac: ... here.
4017 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4018 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4019 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4020 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4021 * sysdeps/s390/s390-32/configure.in: Moved to ...
4022 * sysdeps/s390/s390-32/configure.ac: ... here.
4023 * sysdeps/s390/s390-64/configure.in: Moved to ...
4024 * sysdeps/s390/s390-64/configure.ac: ... here.
4025 * sysdeps/sh/configure.in: Moved to ...
4026 * sysdeps/sh/configure.ac: ... here.
4027 * sysdeps/sparc/configure.in: Moved to ...
4028 * sysdeps/sparc/configure.ac: ... here.
4029 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4030 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4031 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4032 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4033 * sysdeps/x86_64/configure.in: Moved to ...
4034 * sysdeps/x86_64/configure.ac: ... here.
4035 * sysdeps/x86_64/preconfigure.in: Moved to ...
4036 * sysdeps/x86_64/preconfigure.ac: ... here.
4037 * aclocal.m4: Change reference to configure.in to configure.ac.
4038 * config.h.in: Likewise.
4039 * manual/install.texi: Likewise.
4040 * manual/maint.texi: Likewise.
4041 * Makefile: Likewise.
4042 * malloc/Makefile: Likewise.
4043 * nscd/Makefile: Likewise.
4044 * Makeconfig: Change reference to configure.in and
4045 preconfigure.in to configure.ac and preconfigure.ac
4046 respectively.
4047 * INSTALL: Regenerated.
4048 * configure: Likewise.
4049 * sysdeps/gnu/configure: Likewise.
4050 * sysdeps/i386/configure: Likewise.
4051 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4052 * sysdeps/mach/configure: Likewise.
4053 * sysdeps/mach/hurd/configure: Likewise.
4054 * sysdeps/powerpc/configure: Likewise.
4055 * sysdeps/powerpc/powerpc32/configure: Likewise.
4056 * sysdeps/powerpc/powerpc64/configure: Likewise.
4057 * sysdeps/s390/s390-32/configure: Likewise.
4058 * sysdeps/s390/s390-64/configure: Likewise.
4059 * sysdeps/sh/configure: Likewise.
4060 * sysdeps/sparc/configure: Likewise.
4061 * sysdeps/unix/sysv/linux/configure: Likewise.
4062 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4063 * sysdeps/x86_64/configure: Likewise.
4064 * sysdeps/x86_64/preconfigure: Likewise.
4065
4066 2013-10-29 Andreas Schwab <schwab@suse.de>
4067
4068 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4069
4070 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4071
4072 * benchtests/pow-inputs: Add new inputs.
4073
4074 * benchtests/exp-inputs: Add new inputs.
4075
4076 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4077 conditional check for return value.
4078 (__cos32): Likewise.
4079
4080 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4081
4082 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4083 to provide a boost for large inputs with word alignment.
4084 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4085 implementation based on optimized PPC64 strcpy.
4086 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4087 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4088 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4089 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4090
4091 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4092
4093 [BZ #2801]
4094 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4095
4096 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4097
4098 [BZ #14876]
4099 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4100 * time/tst-strptime.c (day_tests): Add testcase.
4101
4102 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4103
4104 [BZ #14029]
4105 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4106
4107 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4108
4109 [BZ #16074]
4110 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4111 MAP_FAILED on error.
4112
4113 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4114
4115 [BZ #16072]
4116 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4117 heap for large requests.
4118
4119 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4120
4121 [BZ #9954]
4122 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4123 result if the result has no associated interface.
4124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4125 interface for all 127.X.Y.Z addresses.
4126
4127 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4128
4129 * locale/iso-639.def: Add Ligurian (lij)
4130
4131 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4132
4133 [BZ #15825]
4134 * sunrpc/rpc_main.c: Document rpcgen -5.
4135
4136 2013-10-19 Michael Stahl <mstahl@redhat.com>
4137
4138 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4139
4140 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4141
4142 [BZ #10278]
4143 * posix/glob.c: Match only directories when trailing slash is present.
4144 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4145 (main): Add testcase.
4146
4147 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4148
4149 [BZ #15670]
4150 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4151
4152 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4153
4154 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4155 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4156 AUTH_DES and cindex for FIPS 140-2.
4157 (DES Encryption): Add cindex FIPS 46-3.
4158
4159 * locale/locarchive.h (struct locarhandle): Add fname.
4160 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4161 if an optional argument was specified to --list-archive,
4162 otherwise NULL.
4163 * locale/programs/locarchive.c (show_archive_content): Take new
4164 argument fname and pass it via ah.fname to open_archive.
4165 * locale/programs/localedef.h: Update decl.
4166 (open_archive): If AH->fname is non-null, open that file
4167 rather than the default file name, and don't ignore ENOENT.
4168 (create_archive): Set AH.fname to NULL.
4169 (delete_locales_from_archive): Likewise.
4170 (add_locales_to_archive): Likewise.
4171 * locale/programs/locfile.c (write_all_categories): Likewise.
4172
4173 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4174 Aldy Hernandez <aldyh@redhat.com>
4175
4176 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4177 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4178 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4179 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4180 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4181 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4182 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4183 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4184 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4185 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4186 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4187 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4188 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4189 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4190 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4191 Likewise.
4192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4193 Likewise.
4194 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4195 Likewise.
4196 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4197 Likewise.
4198 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4199 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4200 Likewise.
4201 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4202 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4203 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4204 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4205 Likewise.
4206 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4207 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4208 * sysdeps/powerpc/preconfigure: Likewise.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4210 Likewise.
4211 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4212 Replace contents of file by #include of <fenv_libc.h>.
4213 * sysdeps/powerpc/soft-fp/sfp-machine.h
4214 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4215 and <sys/prctl.h>.
4216 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4229 Allow copysignl PLT reference to be missing.
4230
4231 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4232 Joseph Myers <joseph@codesourcery.com
4233
4234 [BZ #15948]
4235 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4236 single character.
4237 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4238
4239 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4240
4241 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4242 * elf/tst-tls1.c: Likewise.
4243 * elf/tst-tls10.h: Likewise.
4244 * elf/tst-tls14.c: Likewise.
4245 * elf/tst-tls2.c: Likewise.
4246 * elf/tst-tls3.c: Likewise.
4247 * elf/tst-tls4.c: Likewise.
4248 * elf/tst-tls5.c: Likewise.
4249 * elf/tst-tls6.c: Likewise.
4250 * elf/tst-tls7.c: Likewise.
4251 * elf/tst-tls8.c: Likewise.
4252 * elf/tst-tls9.c: Likewise.
4253 * elf/tst-tlsmod1.c: Likewise.
4254 * elf/tst-tlsmod13.c: Likewise.
4255 * elf/tst-tlsmod13a.c: Likewise.
4256 * elf/tst-tlsmod14a.c: Likewise.
4257 * elf/tst-tlsmod16a.c: Likewise.
4258 * elf/tst-tlsmod16b.c: Likewise.
4259 * elf/tst-tlsmod2.c: Likewise.
4260 * elf/tst-tlsmod3.c: Likewise.
4261 * elf/tst-tlsmod4.c: Likewise.
4262 * elf/tst-tlsmod5.c: Likewise.
4263 * elf/tst-tlsmod6.c: Likewise.
4264
4265 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4266
4267 [BZ #12486]
4268 * malloc/malloc.c: remove checks for statistics.
4269
4270 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4271
4272 [BZ #15277]
4273 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4274 * inet/tst-network.c: Add testcase.
4275
4276 2013-10-17 Andreas Schwab <schwab@suse.de>
4277
4278 [BZ #15218]
4279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4280 to determine canonical name.
4281
4282 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4283
4284 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4285 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4307 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4308 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4309 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4310 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4311 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4312 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4313 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4314 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4315 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4316 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4317 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4318 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4319 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4320 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4321 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4322 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4323 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4324 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4325 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4326 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4327 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4328 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4329 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4330 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4331 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4332 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4333 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4334 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4335 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4336 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4337 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4339 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4340 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4341 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4342
4343 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4344
4345 [BZ #16041]
4346 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4347 make result into a quiet NaN.
4348
4349 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4350
4351 * soft-fp/adddf3.c: Fix horizontal whitespace.
4352 * soft-fp/addsf3.c: Likewise.
4353 * soft-fp/addtf3.c: Likewise.
4354 * soft-fp/divdf3.c: Likewise.
4355 * soft-fp/divsf3.c: Likewise.
4356 * soft-fp/divtf3.c: Likewise.
4357 * soft-fp/double.h: Likewise.
4358 * soft-fp/eqdf2.c: Likewise.
4359 * soft-fp/eqsf2.c: Likewise.
4360 * soft-fp/eqtf2.c: Likewise.
4361 * soft-fp/extenddftf2.c: Likewise.
4362 * soft-fp/extended.h: Likewise.
4363 * soft-fp/extendsfdf2.c: Likewise.
4364 * soft-fp/extendsftf2.c: Likewise.
4365 * soft-fp/extendxftf2.c: Likewise.
4366 * soft-fp/fixdfdi.c: Likewise.
4367 * soft-fp/fixdfsi.c: Likewise.
4368 * soft-fp/fixdfti.c: Likewise.
4369 * soft-fp/fixsfdi.c: Likewise.
4370 * soft-fp/fixsfsi.c: Likewise.
4371 * soft-fp/fixsfti.c: Likewise.
4372 * soft-fp/fixtfdi.c: Likewise.
4373 * soft-fp/fixtfsi.c: Likewise.
4374 * soft-fp/fixtfti.c: Likewise.
4375 * soft-fp/fixunsdfdi.c: Likewise.
4376 * soft-fp/fixunsdfsi.c: Likewise.
4377 * soft-fp/fixunsdfti.c: Likewise.
4378 * soft-fp/fixunssfdi.c: Likewise.
4379 * soft-fp/fixunssfsi.c: Likewise.
4380 * soft-fp/fixunssfti.c: Likewise.
4381 * soft-fp/fixunstfdi.c: Likewise.
4382 * soft-fp/fixunstfsi.c: Likewise.
4383 * soft-fp/fixunstfti.c: Likewise.
4384 * soft-fp/floatdidf.c: Likewise.
4385 * soft-fp/floatdisf.c: Likewise.
4386 * soft-fp/floatditf.c: Likewise.
4387 * soft-fp/floatsidf.c: Likewise.
4388 * soft-fp/floatsisf.c: Likewise.
4389 * soft-fp/floatsitf.c: Likewise.
4390 * soft-fp/floattidf.c: Likewise.
4391 * soft-fp/floattisf.c: Likewise.
4392 * soft-fp/floattitf.c: Likewise.
4393 * soft-fp/floatundidf.c: Likewise.
4394 * soft-fp/floatundisf.c: Likewise.
4395 * soft-fp/floatunditf.c: Likewise.
4396 * soft-fp/floatunsidf.c: Likewise.
4397 * soft-fp/floatunsisf.c: Likewise.
4398 * soft-fp/floatunsitf.c: Likewise.
4399 * soft-fp/floatuntidf.c: Likewise.
4400 * soft-fp/floatuntisf.c: Likewise.
4401 * soft-fp/floatuntitf.c: Likewise.
4402 * soft-fp/fmadf4.c: Likewise.
4403 * soft-fp/fmasf4.c: Likewise.
4404 * soft-fp/fmatf4.c: Likewise.
4405 * soft-fp/gedf2.c: Likewise.
4406 * soft-fp/gesf2.c: Likewise.
4407 * soft-fp/getf2.c: Likewise.
4408 * soft-fp/ledf2.c: Likewise.
4409 * soft-fp/lesf2.c: Likewise.
4410 * soft-fp/letf2.c: Likewise.
4411 * soft-fp/muldf3.c: Likewise.
4412 * soft-fp/mulsf3.c: Likewise.
4413 * soft-fp/multf3.c: Likewise.
4414 * soft-fp/negdf2.c: Likewise.
4415 * soft-fp/negsf2.c: Likewise.
4416 * soft-fp/negtf2.c: Likewise.
4417 * soft-fp/op-1.h: Likewise.
4418 * soft-fp/op-2.h: Likewise.
4419 * soft-fp/op-4.h: Likewise.
4420 * soft-fp/op-8.h: Likewise.
4421 * soft-fp/op-common.h: Likewise.
4422 * soft-fp/quad.h: Likewise.
4423 * soft-fp/single.h: Likewise.
4424 * soft-fp/soft-fp.h: Likewise.
4425 * soft-fp/sqrtdf2.c: Likewise.
4426 * soft-fp/sqrtsf2.c: Likewise.
4427 * soft-fp/sqrttf2.c: Likewise.
4428 * soft-fp/subdf3.c: Likewise.
4429 * soft-fp/subsf3.c: Likewise.
4430 * soft-fp/subtf3.c: Likewise.
4431 * soft-fp/truncdfsf2.c: Likewise.
4432 * soft-fp/trunctfdf2.c: Likewise.
4433 * soft-fp/trunctfsf2.c: Likewise.
4434 * soft-fp/trunctfxf2.c: Likewise.
4435 * soft-fp/unorddf2.c: Likewise.
4436 * soft-fp/unordsf2.c: Likewise.
4437 * soft-fp/unordtf2.c: Likewise.
4438
4439 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4440
4441 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4442 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4443
4444 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4445
4446 * elf/dl-libc.c: Clear initfini list after freeing.
4447
4448 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4449
4450 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4451 * soft-fp/addsf3.c: Likewise.
4452 * soft-fp/addtf3.c: Likewise.
4453 * soft-fp/divdf3.c: Likewise.
4454 * soft-fp/divsf3.c: Likewise.
4455 * soft-fp/divtf3.c: Likewise.
4456 * soft-fp/double.h: Likewise.
4457 * soft-fp/eqdf2.c: Likewise.
4458 * soft-fp/eqsf2.c: Likewise.
4459 * soft-fp/eqtf2.c: Likewise.
4460 * soft-fp/extenddftf2.c: Likewise.
4461 * soft-fp/extended.h: Likewise.
4462 * soft-fp/extendsfdf2.c: Likewise.
4463 * soft-fp/extendsftf2.c: Likewise.
4464 * soft-fp/extendxftf2.c: Likewise.
4465 * soft-fp/fixdfdi.c: Likewise.
4466 * soft-fp/fixdfsi.c: Likewise.
4467 * soft-fp/fixdfti.c: Likewise.
4468 * soft-fp/fixsfdi.c: Likewise.
4469 * soft-fp/fixsfsi.c: Likewise.
4470 * soft-fp/fixsfti.c: Likewise.
4471 * soft-fp/fixtfdi.c: Likewise.
4472 * soft-fp/fixtfsi.c: Likewise.
4473 * soft-fp/fixtfti.c: Likewise.
4474 * soft-fp/fixunsdfdi.c: Likewise.
4475 * soft-fp/fixunsdfsi.c: Likewise.
4476 * soft-fp/fixunsdfti.c: Likewise.
4477 * soft-fp/fixunssfdi.c: Likewise.
4478 * soft-fp/fixunssfsi.c: Likewise.
4479 * soft-fp/fixunssfti.c: Likewise.
4480 * soft-fp/fixunstfdi.c: Likewise.
4481 * soft-fp/fixunstfsi.c: Likewise.
4482 * soft-fp/fixunstfti.c: Likewise.
4483 * soft-fp/floatdidf.c: Likewise.
4484 * soft-fp/floatdisf.c: Likewise.
4485 * soft-fp/floatditf.c: Likewise.
4486 * soft-fp/floatsidf.c: Likewise.
4487 * soft-fp/floatsisf.c: Likewise.
4488 * soft-fp/floatsitf.c: Likewise.
4489 * soft-fp/floattidf.c: Likewise.
4490 * soft-fp/floattisf.c: Likewise.
4491 * soft-fp/floattitf.c: Likewise.
4492 * soft-fp/floatundidf.c: Likewise.
4493 * soft-fp/floatundisf.c: Likewise.
4494 * soft-fp/floatunsidf.c: Likewise.
4495 * soft-fp/floatunsisf.c: Likewise.
4496 * soft-fp/floatuntidf.c: Likewise.
4497 * soft-fp/floatuntisf.c: Likewise.
4498 * soft-fp/floatuntitf.c: Likewise.
4499 * soft-fp/fmadf4.c: Likewise.
4500 * soft-fp/fmasf4.c: Likewise.
4501 * soft-fp/fmatf4.c: Likewise.
4502 * soft-fp/gedf2.c: Likewise.
4503 * soft-fp/gesf2.c: Likewise.
4504 * soft-fp/getf2.c: Likewise.
4505 * soft-fp/ledf2.c: Likewise.
4506 * soft-fp/lesf2.c: Likewise.
4507 * soft-fp/letf2.c: Likewise.
4508 * soft-fp/muldf3.c: Likewise.
4509 * soft-fp/mulsf3.c: Likewise.
4510 * soft-fp/multf3.c: Likewise.
4511 * soft-fp/negdf2.c: Likewise.
4512 * soft-fp/negsf2.c: Likewise.
4513 * soft-fp/negtf2.c: Likewise.
4514 * soft-fp/op-1.h: Likewise.
4515 * soft-fp/op-2.h: Likewise.
4516 * soft-fp/op-4.h: Likewise.
4517 * soft-fp/op-8.h: Likewise.
4518 * soft-fp/op-common.h: Likewise.
4519 * soft-fp/quad.h: Likewise.
4520 * soft-fp/single.h: Likewise.
4521 * soft-fp/soft-fp.h: Likewise.
4522 * soft-fp/sqrtdf2.c: Likewise.
4523 * soft-fp/sqrtsf2.c: Likewise.
4524 * soft-fp/sqrttf2.c: Likewise.
4525 * soft-fp/subdf3.c: Likewise.
4526 * soft-fp/subsf3.c: Likewise.
4527 * soft-fp/subtf3.c: Likewise.
4528 * soft-fp/truncdfsf2.c: Likewise.
4529 * soft-fp/trunctfdf2.c: Likewise.
4530 * soft-fp/trunctfsf2.c: Likewise.
4531 * soft-fp/trunctfxf2.c: Likewise.
4532 * soft-fp/unorddf2.c: Likewise.
4533 * soft-fp/unordsf2.c: Likewise.
4534 * soft-fp/unordtf2.c: Likewise.
4535
4536 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4537
4538 [BZ #15672]
4539 * misc/error.c (error_tail): Fix possible buffer overflow.
4540
4541 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4542
4543 [BZ #13028]
4544 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4545 address.
4546
4547 2013-10-14 P. J. McDermott <pj@pehjota.net>
4548
4549 [BZ #832]
4550 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4551 testing pipefail option.
4552
4553 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4554
4555 * soft-fp/double.h: Indent preprocessor directives inside #if.
4556 * soft-fp/extended.h: Likewise.
4557 * soft-fp/op-2.h: Likewise.
4558 * soft-fp/op-4.h: Likewise.
4559 * soft-fp/op-common.h: Likewise.
4560 * soft-fp/quad.h: Likewise.
4561 * soft-fp/single.h: Likewise.
4562 * soft-fp/soft-fp.h: Likewise.
4563
4564 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4565
4566 * iconv/iconv_prog.c: Fix typos.
4567 * stdio-common/psiginfo-data.h: Likewise.
4568
4569 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4570
4571 [BZ #15764]
4572 * locale/setlocale.c: Fix typo.
4573
4574 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4575
4576 [BZ #16036]
4577 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4578 signaling NaN arguments.
4579 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4580 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4581
4582 [BZ #14910]
4583 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4584 unordered operands.
4585 * soft-fp/gesf2.c (__gesf2): Likewise.
4586 * soft-fp/getf2.c (__getf2): Likewise.
4587 * soft-fp/ledf2.c (__ledf2): Likewise.
4588 * soft-fp/lesf2.c (__lesf2): Likewise.
4589 * soft-fp/letf2.c (__letf2): Likewise.
4590
4591 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4592 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4593 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4594 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4595 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4596 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4597 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4598 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4599 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4600 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4601 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4602 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4603 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4604 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4605 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4606 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4607 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4608 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4609 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4610 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4611 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4612 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4613 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4614 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4615 * soft-fp/floattidf.c (__floattidf): Likewise.
4616 * soft-fp/floattisf.c (__floattisf): Likewise.
4617 * soft-fp/floattitf.c (__floattitf): Likewise.
4618 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4619 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4620 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4621 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4622 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4623 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4624 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4625 * soft-fp/gesf2.c (__gesf2): Likewise.
4626 * soft-fp/getf2.c (__getf2): Likewise.
4627 * soft-fp/ledf2.c (__ledf2): Likewise.
4628 * soft-fp/lesf2.c (__lesf2): Likewise.
4629 * soft-fp/letf2.c (__letf2): Likewise.
4630
4631 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4632 Undefine and redefine.
4633 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4634 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4635 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4636 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4637 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4638 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4639 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4640 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4641 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4642 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4643 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4644 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4645 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4646 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4647 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4648
4649 [BZ #16032]
4650 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4651 without decrementing exponent if mantissa >= that for the
4652 denominator, not >.
4653 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4654 denominator, not >. Decrement exponent in < case instead of
4655 incrementing in >= case.
4656 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4657 without decrementing exponent if mantissa >= that for the
4658 denominator, not >.
4659
4660 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4661 computing saturated result for unsigned overflow.
4662
4663 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4664 Jeff Law <law@redhat.com>
4665
4666 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4667 (atan2Mp): Add systemtap probe marker.
4668 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4669 (__ieee754_log): Add systemtap probe marker.
4670 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4671 (atanMp): Add systemtap probe marker.
4672 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4673 (tanMp): Add systemtap probe marker.
4674 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4675 (__slowexp): Add systemtap probe marker.
4676 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4677 (__slowpow): Add systemtap probe marker.
4678 * manual/probes.texi: Document probes.
4679
4680 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4681
4682 [BZ #15362]
4683 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4684 written.
4685 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4686 written.
4687 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4688 written to buffer but not flushed.
4689 * libio/iofwrite_u.c: Likewise.
4690 * libio/iopadn.c: Return bytes returned even if EOF was
4691 encountered.
4692 * libio/iowpadn.c: Likewise.
4693 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4694 if _IO_padn does not write the whole buffer.
4695 [!COMPILE_WPRINTF] (PAD): Likewise.
4696
4697 2013-10-10 David S. Miller <davem@davemloft.net>
4698
4699 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4700 directory block.
4701
4702 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4703
4704 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4705 instead of FSF address.
4706 * soft-fp/fixdfti.c: Likewise.
4707 * soft-fp/fixsfti.c: Likewise.
4708 * soft-fp/fixtfti.c: Likewise.
4709 * soft-fp/fixunsdfti.c: Likewise.
4710 * soft-fp/fixunssfti.c: Likewise.
4711 * soft-fp/fixunstfti.c: Likewise.
4712 * soft-fp/floattidf.c: Likewise.
4713 * soft-fp/floattisf.c: Likewise.
4714 * soft-fp/floattitf.c: Likewise.
4715 * soft-fp/floatuntidf.c: Likewise.
4716 * soft-fp/floatuntisf.c: Likewise.
4717 * soft-fp/floatuntitf.c: Likewise.
4718 * soft-fp/trunctfxf2.c: Likewise.
4719
4720 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4721 * soft-fp/fixdfti.c: Likewise.
4722 * soft-fp/fixsfti.c: Likewise.
4723 * soft-fp/fixtfti.c: Likewise.
4724 * soft-fp/fixunsdfti.c: Likewise.
4725 * soft-fp/fixunssfti.c: Likewise.
4726 * soft-fp/fixunstfti.c: Likewise.
4727 * soft-fp/floattidf.c: Likewise.
4728 * soft-fp/floattisf.c: Likewise.
4729 * soft-fp/floattitf.c: Likewise.
4730 * soft-fp/floatuntidf.c: Likewise.
4731 * soft-fp/floatuntisf.c: Likewise.
4732 * soft-fp/floatuntitf.c: Likewise.
4733 * soft-fp/trunctfxf2.c: Likewise.
4734
4735 2013-10-10 David S. Miller <davem@davemloft.net>
4736
4737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4738
4739 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4740
4741 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4742 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4743 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4744 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4745 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4746 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4747 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4748
4749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4750 for NaNs before doing comparisons on argument.
4751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4752 Likewise.
4753
4754 2013-10-10 Will Newton <will.newton@linaro.org>
4755
4756 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4757 passed to _int_memalign does not overflow.
4758
4759 2013-10-10 Torvald Riegel <triegel@redhat.com>
4760
4761 * scripts/bench.pl: Add include-sources directive.
4762 * benchtests/README: Update documentation.
4763
4764 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4765
4766 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4767 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4768 instead of FP_INIT_ROUNDMODE.
4769 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4770 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4771
4772 [BZ #16034]
4773 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4774 copy class of input value.
4775 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4776 not handle exceptions.
4777 * soft-fp/negsf2.c (__negsf2): Likewise.
4778 * soft-fp/negtf2.c (__negtf2): Likewise.
4779 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4780
4781 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4782
4783 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4784 semicolon. From Linux kernel.
4785
4786 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4787
4788 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4789
4790 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4791
4792 [BZ #156]
4793 * manual/socket.texi: Added statement about buffer
4794 for gethostbyname2_r.
4795
4796 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4797
4798 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4799 Use .p2align directive instead, throughout.
4800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4801 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4802 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4803 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4804 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4805 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4806 * sysdeps/x86_64/strchr.S: Likewise.
4807 * sysdeps/x86_64/strrchr.S: Likewise.
4808
4809 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4810
4811 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4812
4813 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4814
4815 * sysdeps/generic/math_private.h (__mpsin1): Remove
4816 declaration.
4817 (__mpcos1): Likewise.
4818 (__mpsin): New argument __range_reduce.
4819 (__mpcos): Likewise.
4820 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4821 (slow): Use __mpsin and __mpcos.
4822 (slow1): Likewise.
4823 (slow2): Likewise.
4824 (sloww): Likewise.
4825 (sloww1): Likewise.
4826 (sloww2): Likewise.
4827 (bsloww): Likewise.
4828 (bsloww1): Likewise.
4829 (bsloww2): Likewise.
4830 (cslow2): Likewise.
4831 (csloww): Likewise.
4832 (csloww1): Likewise.
4833 (csloww2): Likewise.
4834 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4835 range_reduce. Merge in __mpsin1.
4836 (__mpcos): Likewise.
4837 (__mpsin1): Remove.
4838 (__mpcos1): Likewise.
4839
4840 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4841
4842 * locale/loadlocale.c (_nl_intern_locale_data): Use
4843 LOCFILE_ALIGNED_P.
4844 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4845 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4846 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4847 obstack data is appropriately aligned.
4848 (obstack_int32_grow_fast): Likewise.
4849 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4850 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4851 (add_locale_uint32_array): Likewise.
4852
4853 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4854
4855 * benchtests/Makefile: Remove ARGLIST and RET variables.
4856 ($(objpfx)bench-%.c): Pass only function name to the script.
4857 * benchtests/README: Update documentation.
4858 * benchtests/acos-inputs: Add new directives.
4859 * benchtests/acosh-inputs: Likewise.
4860 * benchtests/asin-inputs: Likewise.
4861 * benchtests/asinh-inputs: Likewise.
4862 * benchtests/atan-inputs: Likewise.
4863 * benchtests/atanh-inputs: Likewise.
4864 * benchtests/cos-inputs: Likewise.
4865 * benchtests/cosh-inputs: Likewise.
4866 * benchtests/exp-inputs: Likewise.
4867 * benchtests/log-inputs: Likewise.
4868 * benchtests/pow-inputs: Likewise.
4869 * benchtests/rint-inputs: Likewise.
4870 * benchtests/sin-inputs: Likewise.
4871 * benchtests/sinh-inputs: Likewise.
4872 * benchtests/tan-inputs: Likewise.
4873 * benchtests/tanh-inputs: Likewise.
4874 * scripts/bench.pl: Add support for new directives.
4875
4876 2013-10-07 Alan Modra <amodra@gmail.com>
4877
4878 * README: Fix careless merge.
4879
4880 2013-10-05 Alan Modra <amodra@gmail.com>
4881
4882 * NEWS: Mention powerpc64le support and bugs fixed.
4883 * README: Both big-endian and little-endian powerpc64 supported.
4884
4885 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4886
4887 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4888 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4889 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4890 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4891
4892 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4893
4894 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4895 match prototype.
4896
4897 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4898
4899 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4900 Move -mhard-float appending from
4901 ports/sysdeps/powerpc/powerpc32/Makefile.
4902 [$(with-fp) = yes] (ASFLAGS): Likewise.
4903 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4904 * sysdeps/powerpc/nofpu: Move directory from
4905 ports/sysdeps/powerpc/nofpu.
4906 * sysdeps/powerpc/soft-fp: Move directory from
4907 ports/sysdeps/powerpc/soft-fp.
4908 * sysdeps/powerpc/powerpc32/405: Move directory from
4909 ports/sysdeps/powerpc/powerpc32/405.
4910 * sysdeps/powerpc/powerpc32/440: Move directory from
4911 ports/sysdeps/powerpc/powerpc32/440.
4912 * sysdeps/powerpc/powerpc32/464: Move directory from
4913 ports/sysdeps/powerpc/powerpc32/464.
4914 * sysdeps/powerpc/powerpc32/476: Move directory from
4915 ports/sysdeps/powerpc/powerpc32/476.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4917 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4923 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4925 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4926 * README: Update for powerpc-*-linux-gnu software floating point
4927 support in libc.
4928
4929 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4930 case to powerpc/powerpc32*.
4931 * sysdeps/unix/sysv/linux/configure: Regenerated.
4932
4933 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4934 (_FPU_MASK_OM): Define as 0x04.
4935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4937 0x00c10080.
4938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4939 0x0000003c.
4940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4941
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4943 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4944 getcontext_e500.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4946 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4947 setcontext_e500.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4949 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4950 and setcontext_e500.
4951
4952 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4953
4954 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4955
4956 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4957
4958 * manual/threads.texi (Default Thread Attributes): Fix typo.
4959
4960 2013-10-04 Will Newton <will.newton@linaro.org>
4961
4962 * malloc/Makefile: Add tst-memalign.
4963 * malloc/tst-memalign.c: New file.
4964
4965 * malloc/tst-posix_memalign.c: Add comments.
4966 (do_test): Add comments and call free on all potentially
4967 allocated pointers. Add space after cast.
4968
4969 * malloc/tst-pvalloc.c: Add comments.
4970 (do_test): Add comments and call free on all potentially
4971 allocated pointers. Remove duplicate check for NULL pointer.
4972 Add space after cast.
4973
4974 * malloc/tst-valloc.c: Add comments.
4975 (do_test): Add comments and call free on all potentially
4976 allocated pointers. Remove duplicate check for NULL pointer.
4977 Add space after cast.
4978
4979 2013-10-04 Alan Modra <amodra@gmail.com>
4980
4981 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4982 Use stdint types in rather than __attribute__((mode())).
4983 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4984
4985 2013-10-04 Alan Modra <amodra@gmail.com>
4986
4987 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4988 Correct handling of unaligned relocs for little-endian.
4989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4990
4991 2013-10-04 Alan Modra <amodra@gmail.com>
4992
4993 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4994 * configure: Regenerate.
4995 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4996 * shlib-versions: Likewise.
4997
4998 2013-10-04 Alan Modra <amodra@gmail.com>
4999
5000 * string/tester.c (test_memrchr): Increment reported test cycle.
5001
5002 2013-10-04 Alan Modra <amodra@gmail.com>
5003
5004 * string/test-memcpy.c (do_one_test): When reporting errors, print
5005 string address and don't overrun end of string.
5006
5007 2013-10-04 Alan Modra <amodra@gmail.com>
5008
5009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5010 insrdi. Make better use of reg selection to speed exit slightly.
5011 Schedule entry path a little better. Remove useless "are we done"
5012 checks on entry to main loop. Handle wrapping around zero address.
5013 Correct main loop count. Handle single left-over word from main
5014 loop inline rather than by using loop_small. Remove extra word
5015 case in loop_small caused by wrong loop count. Add little-endian
5016 support.
5017 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5018 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5019 cache hint.
5020 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5022 support. Avoid rlwimi.
5023 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5024
5025 2013-10-04 Alan Modra <amodra@gmail.com>
5026
5027 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5028 insrdi. Formatting.
5029 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5030 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5031 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5032 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5033 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5034 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5035
5036 2013-10-04 Alan Modra <amodra@gmail.com>
5037
5038 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5039 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5040 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5041 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5042 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5043 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5044 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5045 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5046 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5047 use of regs. Use power7 mtocrf. Tidy function tails.
5048
5049 2013-10-04 Alan Modra <amodra@gmail.com>
5050
5051 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5052 Formatting. Consistently use rXXX register defines or rN defines.
5053 Use early exit labels that avoid restoring unused non-volatile regs.
5054 Make cr field use more consistent with rWORDn compares. Rename
5055 regs used as shift registers for unaligned loop, using rN defines
5056 for short lifetime/multiple use regs.
5057 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5058 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5059 addi 1,1,64 to pop stack frame. Simplify return value code.
5060 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5061
5062 2013-10-04 Alan Modra <amodra@gmail.com>
5063
5064 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5065 support. Correct typos, formatting. Optimize tail. Use insrdi
5066 rather than rlwimi.
5067 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5068 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5069 little-endian support. Correct typos.
5070 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5071 rather than rlwimi.
5072 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5073 in loop and entry code to keep "and." results.
5074 (strchr): Add little-endian support. Comment. Move cntlzd
5075 earlier in tail.
5076 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5077
5078 2013-10-04 Alan Modra <amodra@gmail.com>
5079
5080 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5081 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5082 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5083 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5084
5085 2013-10-04 Alan Modra <amodra@gmail.com>
5086
5087 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5088 (rTMP): Define as r11.
5089 (strcmp): Add little-endian support. Optimise tail.
5090 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5091 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5092 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5093 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5094 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5097
5098 2013-10-04 Alan Modra <amodra@gmail.com>
5099
5100 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5101 little-endian support. Remove unnecessary "are we done" tests.
5102 Handle "s" wrapping around zero and extremely large "size".
5103 Correct main loop count. Handle single left-over word from main
5104 loop inline rather than by using small_loop. Correct comments.
5105 Delete "zero" tail, use "end_max" instead.
5106 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5107
5108 2013-10-04 Alan Modra <amodra@gmail.com>
5109
5110 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5111 support. Don't branch over align.
5112 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5113 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5114 support. Rearrange tmp reg use to suit. Comment.
5115 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5116
5117 2013-10-04 Alan Modra <amodra@gmail.com>
5118
5119 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5120
5121 2013-10-04 Alan Modra <amodra@gmail.com>
5122
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5124 conditional form of branch and link when obtaining pc.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5126
5127 2013-10-04 Alan Modra <amodra@gmail.com>
5128
5129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5130 HIWORD/LOWORD.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5133
5134 2013-10-04 Alan Modra <amodra@gmail.com>
5135
5136 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5137 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5138 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5139 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5140 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5141 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5142 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5143 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5144 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5145 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5146
5147 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5148 Alistair Popple <alistair@ozlabs.au.ibm.com>
5149 Alan Modra <amodra@gmail.com>
5150
5151 [BZ #15723]
5152 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5153 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5154 _dl_hwcap access for little-endian.
5155 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5156 destroy vmx regs when saving unaligned.
5157 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5158 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5159 destroy vmx regs when saving unaligned.
5160
5161 2013-10-04 Alan Modra <amodra@gmail.com>
5162
5163 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5164 Don't use a union to pack hi/low value.
5165
5166 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5167
5168 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5169 for little-endian.
5170 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5171 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5172 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5173 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5174 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5175
5176 2013-10-04 Alan Modra <amodra@gmail.com>
5177
5178 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5179 constants to usual value for .cst8 section, and remove redundant
5180 high address load.
5181 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5182 constant for 0x1p52. Load little-endian words of double from
5183 correct stack offsets.
5184
5185 2013-10-04 Alan Modra <amodra@gmail.com>
5186
5187 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5188 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5189 words of double from correct stack offsets.
5190 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5191 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5192 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5193 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5194 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5195 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5196 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5197 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5198 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5200 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5201 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5202 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5203 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5204 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5205 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5206 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5207
5208 2013-10-04 Alan Modra <amodra@gmail.com>
5209
5210 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5211 64-bit int/double union.
5212 (_FPU_SETCW): Likewise.
5213 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5214 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5215
5216 2013-10-04 Alan Modra <amodra@gmail.com>
5217
5218 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5219 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5220
5221 2013-10-04 Alan Modra <amodra@gmail.com>
5222
5223 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5224 use vector int constants.
5225 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5226
5227 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5228
5229 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5230 array with long long.
5231 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5232 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5233 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5234 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5235 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5236 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5237 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5238 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5239 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5240 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5241 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5242 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5243 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5244
5245 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5246
5247 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5248 (__signbit): Likewise. Correct for little-endian.
5249 (__signbitl): Call __signbit.
5250 (lrint): Correct for little-endian.
5251 (lrintf): Call lrint.
5252
5253 2013-10-04 Alan Modra <amodra@gmail.com>
5254
5255 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5256 union 32-bit int array member with 64-bit int array.
5257 (t515, tm256): Double rather than long double.
5258 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5259
5260 2013-10-04 Alan Modra <amodra@gmail.com>
5261
5262 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5263 Delete.
5264 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5265 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5266 version of math_ldbl.h.
5267
5268 2013-10-04 Alan Modra <amodra@gmail.com>
5269
5270 [BZ #15734], [BZ #15735]
5271 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5272 all uses of ieee875 long double macros and unions. Simplify test
5273 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5274 ldbl_extract_mantissa value for ix,iy exponents. Properly
5275 normalize after ldbl_extract_mantissa, and don't add hidden bit
5276 already handled. Don't treat low word of ieee854 mantissa like
5277 low word of IBM long double and mask off bit when testing for
5278 zero.
5279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5280 all uses of ieee875 long double macros and unions. Simplify tests
5281 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5282 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5283 two1022, instead use their values. Recognise that tests for large
5284 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5285 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5286 Rewrite all uses of ieee875 long double macros and unions. Simplify
5287 test for 0.0L and nan. Correct negation.
5288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5289 ieee875 long double macros and unions. Correct output for large
5290 magnitude x. Correct absolute value calculation.
5291 (__erfcl): Likewise.
5292 * math/libm-test.inc: Add tests for errors discovered in IBM long
5293 double versions of fmodl, remainderl, erfl and erfcl.
5294
5295 2013-10-04 Alan Modra <amodra@gmail.com>
5296
5297 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5298 all uses of ieee854 long double macros and unions. Simplify tests
5299 for long doubles that are fully specified by the high double.
5300 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5301 Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5303 Remove dead code too.
5304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5305 (__ieee754_ynl): Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5307 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5309 Remove dead code too.
5310 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5311 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5313 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5314 Simplify.
5315 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5316 Simplify.
5317 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5318 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5319 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5320 Comment on variable precision.
5321 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5323 Likewise.
5324 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5328 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5329
5330 2013-10-04 Alan Modra <amodra@gmail.com>
5331
5332 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5334 all uses of ieee854 long double macros and unions.
5335 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5339 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5341 Likewise.
5342 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5343 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5344 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5345 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5346 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5347 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5348 Simplify sign and nan test too.
5349 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5350 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5351 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5352 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5353 Likewise.
5354 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5355 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5356 Likewise.
5357 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5358 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5359 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5363
5364 2013-10-04 Alan Modra <amodra@gmail.com>
5365
5366 * stdio-common/printf_size.c (__printf_size): Don't use
5367 union ieee854_long_double in fpnum union.
5368 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5369 signbit macro to retrieve sign from long double.
5370 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5371 retrieve sign from long double.
5372 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5373 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5374 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5375 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5376 * math/test-misc.c (main): Don't use union ieee854_long_double.
5377
5378 2013-10-04 Alan Modra <amodra@gmail.com>
5379
5380 [BZ #15680]
5381 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5382 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5383 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5384 calculation. Remove unnecessary test for denormal exponent.
5385 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5386 Correct handling of denormals. Avoid undefined shift behaviour.
5387 Correct normalisation of low mantissa when low double is denormal.
5388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5389 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5390 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5391 Correct normalisation of low mantissa. Test for overflow of high
5392 mantissa and normalise.
5393 (ldbl_nearbyint): Use more readable constant for two52.
5394 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5395 (__mpn_construct_long_double): Fix test for overflow of high
5396 mantissa and correct normalisation. Avoid undefined shift.
5397
5398 2013-10-04 Alan Modra <amodra@gmail.com>
5399
5400 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5401 (union ibm_extended_long_double): Define as an array of ieee754_double.
5402 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5404 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5405 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5413
5414 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5415
5416 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5417 page size instead of calling getpagesize.
5418
5419 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5420 (LOCFILE_ALIGN_MASK): Likewise.
5421 (LOCFILE_ALIGN_UP): Likewise.
5422 (LOCFILE_ALIGNED_P): Likewise.
5423 * locale/programs/ld-collate.c (collate_output): Use the new
5424 macros instead of __alignof__ (int32_t).
5425 * locale/weight.h (findidx): Likewise.
5426
5427 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5428
5429 [BZ #431]
5430 * manual/string.texi: Fix strncat and wcsncat.
5431
5432 2013-10-03 Brooks Moses <bmoses@google.com>
5433
5434 [BZ #15915]
5435 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5436 * Makerules: ...here, and adjust associated comments.
5437
5438 2013-10-02 Will Newton <will.newton@linaro.org>
5439
5440 * malloc/Makefile: Add tst-pvalloc.
5441 * malloc/tst-pvalloc.c: New file.
5442
5443 2013-10-02 Will Newton <will.newton@linaro.org>
5444
5445 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5446 improve test coverage.
5447
5448 2013-10-02 Will Newton <will.newton@linaro.org>
5449
5450 * malloc/Makefile: Add tst-posix_memalign.
5451 * malloc/tst-posix_memalign.c: New file.
5452
5453 2013-10-01 Eric Blake <eblake@redhat.com>
5454
5455 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5456 Use __THROWNL rather than __THROW on static functions.
5457
5458 2013-09-30 Petr Machata <pmachata@redhat.com>
5459
5460 * elf/elf.h (R_AARCH64_ABS16): New macro.
5461 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5462 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5463 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5464 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5465 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5466 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5467 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5468 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5469 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5470 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5471 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5472 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5473 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5474 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5475 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5476 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5477 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5478 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5479 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5480 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5481 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5482 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5483 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5484 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5485 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5486 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5487 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5488 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5489 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5490 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5491 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5492 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5493 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5494 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5495 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5496 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5497 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5498 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5499 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5500 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5501 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5502 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5503 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5504 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5505 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5506 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5507 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5508 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5509 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5510 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5511 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5512 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5513 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5514 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5515 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5516 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5517 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5518 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5519 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5520 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5521 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5522 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5523 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5524 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5525 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5526 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5527 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5528 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5529 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5530 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5531 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5532 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5533 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5534 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5535 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5536 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5537 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5538 (R_AARCH64_TLSDESC_LDR): Likewise.
5539 (R_AARCH64_TLSDESC_ADD): Likewise.
5540 (R_AARCH64_TLSDESC_CALL): Likewise.
5541
5542 2013-09-30 Andreas Schwab <schwab@suse.de>
5543
5544 [BZ #15048]
5545 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5546 the nss database lookup.
5547 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5549
5550 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5551
5552 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5553
5554 2013-09-28 P. J. McDermott <pj@pehjota.net>
5555
5556 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5557 ${Bash-specific parameter/pattern/string} parameter expansion.
5558 * sysdeps/unix/make-syscalls.sh: Likewise.
5559
5560 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5561
5562 * sysdeps/sh/stackguard-macros.h: New file.
5563
5564 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5565
5566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5568 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5569 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5570 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5571 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5572
5573 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5574
5575 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5576 Fix thread ID register.
5577
5578 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5579
5580 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5581 [POSIX || UNIX98]: Require rather than permitting all symbols from
5582 <time.h>.
5583 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5584 element of struct sched_param.
5585 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5586 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5587 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5588 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5589 constant.
5590
5591 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5592
5593 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5594 argument calculation.
5595
5596 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5597
5598 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5599 Expect macro.
5600 [POSIX] (pthread_attr_t): Do not require type.
5601 [POSIX] (pthread_cond_t): Likewise.
5602 [POSIX] (pthread_condattr_t): Likewise.
5603 [POSIX] (pthread_key_t): Likewise.
5604 [POSIX] (pthread_mutex_t): Likewise.
5605 [POSIX] (pthread_mutexattr_t): Likewise.
5606 [POSIX] (pthread_once_t): Likewise.
5607 [POSIX] (pthread_t): Likewise.
5608 [POSIX-based standards] (pthread_atfork): Expect function.
5609
5610 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5611 Richard Sandiford <richard@codesourcery.com>
5612
5613 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5614 (swap_endianness_p): New extern variable.
5615 (set_big_endian): New inline function.
5616 (maybe_swap_uint32): Likewise.
5617 (maybe_swap_uint32_array): Likewise.
5618 (maybe_swap_uint32_obstack): Likewise.
5619 * locale/programs/locfile.c: Include <stdbool.h>.
5620 (swap_endianness_p): New variable.
5621 (add_locale_uint32): Call maybe_swap_uint32.
5622 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5623 (write_locale_data): Call maybe_swap_uint32_array.
5624 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5625 maybe_swap_uint32.
5626 (obstack_int32_grow_fast): Likewise.
5627 (output_weightwc): Call maybe_swap_uint32_obstack.
5628 (collate_output): Likewise.
5629 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5630 (OPT_LITTLE_ENDIAN): Likewise.
5631 (options): Add --little-endian and --big-endian options.
5632 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5633 * locale/programs/locarchive.c: Include "locfile.h".
5634 (GET): New macro.
5635 (SET): Likewise.
5636 (INC): Likewise.
5637 (create_archive): Use the new macros to access fields of
5638 structures directly mapped from or written to locale archives.
5639 (oldlocrecentcmp): Likewise.
5640 (enlarge_archive): Likewise.
5641 (insert_name): Likewise.
5642 (add_alias): Likewise.
5643 (add_locale): Likewise.
5644 (delete_locales_from_archive): Likewise.
5645 (show_archive_content): Likewise.
5646 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5647 locale data.
5648
5649 2013-09-24 Roland McGrath <roland@hack.frob.com>
5650
5651 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5652 http://www.gnu.org/doc/freemanuals.texi.
5653 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5654
5655 2013-09-24 Will Newton <will.newton@linaro.org>
5656
5657 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5658 macro.
5659
5660 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5661
5662 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5663 unsigned char.
5664
5665 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5666
5667 * manual/threads.texi (POSIX Threads): Fix a typo.
5668
5669 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5670
5671 [BZ #14547]
5672 * string/tst-strcoll-overflow.c: New test case.
5673 * string/Makefile (xtests): Add tst-strcoll-overflow.
5674 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5675 cache if string sizes may cause integer overflow.
5676
5677 [BZ #14547]
5678 * string/strcoll_l.c (coll_seq): New members rule, idx,
5679 save_idx and back_us.
5680 (get_next_seq_nocache): New function.
5681 (do_compare_nocache): New function.
5682 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5683 when malloc fails.
5684
5685 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5686
5687 [BZ #15754]
5688 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5689 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5690 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5691
5692 [BZ #15754]
5693 * elf/Makefile (tests): Add tst-ptrguard1.
5694 (tests-static): Add tst-ptrguard1-static.
5695 (tst-ptrguard1-ARGS): Define.
5696 (tst-ptrguard1-static-ARGS): Define.
5697 * elf/tst-ptrguard1.c: New file.
5698 * elf/tst-ptrguard1-static.c: New file.
5699 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5700 * sysdeps/i386/stackguard-macros.h: Likewise.
5701 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5702 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5703 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5704 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5705 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5706 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5707
5708 2013-09-23 Hector Marco <hecmargi@upv.es>
5709 Ismael Ripoll <iripoll@disca.upv.es>
5710 Carlos O'Donell <carlos@redhat.com>
5711
5712 [BZ #15754]
5713 * sysdeps/generic/stackguard-macros.h: Define
5714 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5715 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5716 Define __pointer_chk_guard_local.
5717 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5718 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5719
5720 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5721
5722 [BZ #15859]
5723 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5724
5725 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5726
5727 * include/string.h (__ffs): Declare as hidden.
5728 * string/ffs.c (__ffs): Define as hidden.
5729 * sysdeps/i386/ffs.c (__ffs): Likewise.
5730 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5731 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5732 * sysdeps/s390/ffs.c (__ffs): Likewise.
5733 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5734
5735 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5736
5737 * NEWS: Mention malloc probes.
5738
5739 * malloc/arena.c (new_heap): New memory_heap_new probe.
5740 (grow_heap): New memory_heap_more probe.
5741 (shrink_heap): New memory_heap_less probe.
5742 (heap_trim): New memory_heap_free probe.
5743 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5744 (systrim): New memory_sbrk_less probe.
5745 * manual/probes.texi: Document them.
5746
5747 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5748 * manual/probes.texi: Document it.
5749
5750 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5751 (__libc_realloc): Add memory_realloc_retry probe.
5752 (__libc_memalign): Add memory_memalign_retry probe.
5753 (__libc_valloc): Add memory_valloc_retry probe.
5754 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5755 (__libc_calloc): Add memory_calloc_retry probe.
5756 * manual/probes.texi: Document them.
5757
5758 * malloc/arena.c (get_free_list): Add probe
5759 memory_arena_reuse_free_list.
5760 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5761 and memory_arena_reuse.
5762 (arena_get2) [!PER_THREAD]: Likewise.
5763 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5764 memory_arena_reuse_realloc.
5765 * manual/probes.texi: Document them.
5766
5767 * malloc/malloc.c (__libc_free): Add
5768 memory_mallopt_free_dyn_thresholds probe.
5769 (__libc_mallopt): Add multiple memory_mallopt probes.
5770 * manual/probes.texi: Document them.
5771
5772 * malloc/malloc.c: Include stap-probe.h.
5773 (__libc_mallopt): Add memory_mallopt probe.
5774 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5775 * manual/probes.texi: New.
5776 * manual/Makefile (chapters): Add probes.
5777 * manual/threads.texi: Set next node.
5778
5779 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5780
5781 [BZ #15963, #13985]
5782 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5783 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5784 Add `Chinese' to `nan' entry name.
5785
5786 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5787
5788 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5789 (POLYNOMIAL): Likewise.
5790 (TAYLOR_SINCOS): Likewise.
5791 (TAYLOR_SLOW): Likewise.
5792 (__sin): Use TAYLOR_SINCOS.
5793 (__cos): Likewise.
5794 (slow): Use TAYLOR_SLOW.
5795 (sloww): Likewise.
5796 (bsloww): Likewise.
5797 (csloww): Likewise.
5798
5799 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5800
5801 * stdlib/strtod_l.c: Fix buffer overrun.
5802
5803 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5804
5805 * benchtests/Makefile (bench): Add sincos.
5806 * benchtests/bench-sincos.c: New file.
5807
5808 * math/libm-test.inc (cos_test_data): New test inputs.
5809 (sin_test_data): Likewise.
5810
5811 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5812 macro.
5813 (__sin): Use it.
5814 (__cos): Likewise.
5815 (slow1): Likewise.
5816 (slow2): Likewise.
5817 (sloww1): Likewise.
5818 (sloww2): Likewise.
5819 (bsloww1): Likewise.
5820 (bsloww2): Likewise.
5821 (cslow2): Likewise.
5822 (csloww1): Likewise.
5823 (csloww2): Likewise.
5824
5825 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5826 function.
5827 (__sin): Use it.
5828 (__cos): Likewise.
5829
5830 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5831 gotos.
5832 (__cos): Likewise.
5833
5834 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5835
5836 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5837 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5838 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5839 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5840 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5841 * elf/cache.c (print_entry): Handle the new cache flags.
5842
5843 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5844 Aldy Hernandez <aldyh@redhat.com>
5845
5846 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5847 Change condition to [_SOFT_FLOAT].
5848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5860 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5863 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5864 declaration.
5865
5866 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5867
5868 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5869 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5870 (__longjmp): Use LOAD_GP to load saved GPRs.
5871 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5872 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5873 (__sigsetjmp): Use SAVE_GP to save GPRs.
5874
5875 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5876 Do not append -msoft-float.
5877 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5878
5879 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5880
5881 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5882
5883 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5884
5885 [BZ #15966]
5886 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5887 (_FPU_GETCW): Use initial "__" on variable and field names but not
5888 on macro parameter name.
5889 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5890 parentheses around reference to macro parameter.
5891
5892 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5893
5894 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5895 prototype.
5896 (ctype_startup): Use uint32_t in cast and sizeof for
5897 ctype->charnames.
5898
5899 2013-09-11 Jia Liu <proljc@gmail.com>
5900
5901 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5902 __daddr_t_defined.
5903 [__FreeBSD__]: Likewise.
5904
5905 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5906
5907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5908 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5909 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5910 (strchr): Remove __strchr_sse42 ifunc selection.
5911 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5912 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5913
5914 2013-09-11 Will Newton <will.newton@linaro.org>
5915
5916 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5917 parameter to RES. Remove hardcoded 1000 value.
5918 * benchtests/bench-skeleton.c (main): Pass RES parameter
5919 to TIMING_INIT and multiply result by 1000.
5920
5921 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5922
5923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5924
5925 2013-09-11 Andreas Schwab <schwab@suse.de>
5926
5927 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5928 if not defined.
5929 (O_TMPFILE) [__USE_GNU]: Define.
5930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5931 Define.
5932
5933 2013-09-11 Will Newton <will.newton@linaro.org>
5934
5935 [BZ #15857]
5936 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5937 does not overflow.
5938
5939 2013-09-11 Will Newton <will.newton@linaro.org>
5940
5941 [BZ #15856]
5942 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5943 does not overflow.
5944
5945 2013-09-11 Will Newton <will.newton@linaro.org>
5946
5947 [BZ #15855]
5948 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5949 does not overflow.
5950
5951 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5952
5953 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5954 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5955 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5956 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5958
5959 2013-09-10 Allan McRae <allan@archlinux.org>
5960
5961 [BZ #15748]
5962 * manual/arith.texi (Parsing of Floats): Clarify
5963 cross-reference.
5964
5965 [BZ #15849]
5966 * manual/install.texi (Running make install): Mention
5967 --enable-pt-chown.
5968 * INSTALL: Regenerated.
5969
5970 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5971
5972 * csu/init-first.c (_init): Remove the !SHARED condition around
5973 FPU control word initialization.
5974 * elf/dl-support.c (_dl_fpu_control): New variable.
5975 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5976 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5977 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5978 * math/test-fpucw-static.c: New file.
5979 * math/test-fpucw-ieee.c: New file.
5980 * math/test-fpucw-ieee-static.c: New file.
5981 * math/Makefile (tests): Add `test-fpucw-ieee' and
5982 `$(tests-static)'.
5983 (tests-static): New variable.
5984 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5985 dependency to...
5986 [($(build-shared),yes)]
5987 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5988 ... this.
5989 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5990 New dependency.
5991
5992 2013-09-09 Allan McRae <allan@archlinux.org>
5993
5994 [BZ #15939]
5995 * manual/string.texi (Collation Functions): Fix typo in
5996 strcoll example.
5997 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5998
5999 [BZ #15893]
6000 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6001
6002 [BZ #15892]
6003 * libio/memstream.c (open_memstream): Fix memory leak.
6004 * libio/wmemstream.c (open_wmemstream): Likewise.
6005
6006 [BZ #15895]
6007 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6008
6009 2013-09-09 Will Newton <will.newton@linaro.org>
6010
6011 * malloc/Makefile: Add tst-realloc to tests.
6012 * malloc/tst-realloc.c: New file.
6013
6014 2013-09-09 Allan McRae <allan@archlinux.org>
6015
6016 [BZ #15844]
6017 * COPYING: Update from GNU website to fix FSF address.
6018 * COPYING.LIB: Likewise.
6019
6020 2013-09-06 David S. Miller <davem@davemloft.net>
6021
6022 * po/zh_TW.po: Update Chinese (traditional) translation from
6023 translation project.
6024
6025 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6026 Joseph Myers <joseph@codesourcery.com>
6027
6028 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6029 "localeinfo.h".
6030 (obstack_chunk_alloc): New macro.
6031 (obstack_chunk_free): Likewise.
6032 (record_offset): New function.
6033 (init_locale_data): Likewise.
6034 (align_locale_data): Likewise.
6035 (add_locale_empty): Likewise.
6036 (add_locale_raw_data): Likewise.
6037 (add_locale_raw_obstack): Likewise.
6038 (add_locale_string): Likewise.
6039 (add_locale_wstring): Likewise.
6040 (add_locale_uint32): Likewise.
6041 (add_locale_uint32_array): Likewise.
6042 (add_locale_char): Likewise.
6043 (start_locale_structure): Likewise.
6044 (end_locale_structure): Likewise.
6045 (start_locale_prelude): Likewise.
6046 (end_locale_prelude): Likewise.
6047 (write_locale_data): Take locale_file structure rather than an
6048 iovec.
6049 * locale/programs/locfile.h: Include "obstack.h".
6050 (struct locale_file): Change to store locale file contents instead
6051 of header.
6052 (init_locale_data): New prototype.
6053 (align_locale_data): Likewise.
6054 (add_locale_empty): Likewise.
6055 (add_locale_raw_data): Likewise.
6056 (add_locale_raw_obstack): Likewise.
6057 (add_locale_string): Likewise.
6058 (add_locale_wstring): Likewise.
6059 (add_locale_uint32): Likewise.
6060 (add_locale_uint32_array): Likewise.
6061 (add_locale_char): Likewise.
6062 (start_locale_structure): Likewise.
6063 (end_locale_structure): Likewise.
6064 (start_locale_prelude): Likewise.
6065 (end_locale_prelude): Likewise.
6066 (write_locale_data): Update prototype.
6067 * locale/programs/3level.h (struct TABLE): Remove result field.
6068 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6069 Use new locale_file interface.
6070 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6071 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6072 * locale/programs/ld-address.c (address_output): Use new
6073 locale_file interface.
6074 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6075 NO_ADD_LOCALE.
6076 (collate_finish): Don't call collseq_table_finalize.
6077 (collate_output): Use new locale_file interface.
6078 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6079 in file.
6080 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6081 (TABLE): Move defines earlier in file.
6082 (ELEMENT): Likewise.
6083 (DEFAULT): Likewise.
6084 (wctrans_table_add): Move macro and inline function earlier in
6085 file.
6086 (struct wctype_table): Move type earlier in file.
6087 (add_locale_wctype_table): New static prototype.
6088 (struct locale_ctype_t): Use logical types instead of struct iovec
6089 pointers for members.
6090 (ctype_output): Use new locale_file interface.
6091 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6092 new locale_file interface.
6093 (allocate_arrays): Update for use of new locale_file interface.
6094 * locale/programs/ld-identification.c (identification_output): Use
6095 new locale_file interface.
6096 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6097 * locale/programs/ld-messages.c (messages_output): Likewise.
6098 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6099 * locale/programs/ld-name.c (name_output): Likewise.
6100 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6101 * locale/programs/ld-paper.c (paper_output): Likewise.
6102 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6103 * locale/programs/ld-time.c (time_output): Likewise.
6104
6105 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6106
6107 * benchtests/Makefile: Add memrchr benchmark.
6108 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6109 benchmark as memrchr.
6110 * benchtests/bench-memrchr-ifunc.c: New file.
6111 * benchtests/bench-memrchr.c: New file.
6112
6113 2013-09-06 Will Newton <will.newton@linaro.org>
6114
6115 * benchtests/Makefile (string-bench): Add memcpy.
6116
6117 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6118 Cong Wang <amwang@redhat.com>
6119
6120 [BZ #15850]
6121 * sysdeps/unix/sysv/linux/bits/in.h
6122 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6123 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6124 before __USE_KERNEL_IPV6_DEFS uses.
6125 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6126 IPPROTO_BEETPH.
6127 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6128 sockaddr_in6, or ipv6_mreq.
6129
6130 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6131
6132 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6133 memory access for final bytes in some large inputs.
6134 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6135
6136 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6137
6138 * string/test-memrchr.c: New file.
6139 * string/test-memrchr-ifunc.c: New file.
6140 * string/Makefile: Add new memrchr testcase.
6141
6142 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6143
6144 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6145 fanotify_init returns EPERM.
6146
6147 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6148
6149 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6150 errors.
6151 (top level): Treat second token from macro or constant entries for
6152 allowed headers as allowed.
6153 * include/complex.h: Condition internal declarations on
6154 [!_ISOMAC].
6155 * include/fenv.h: Condition include of <stdbool.h> and internal
6156 declarations on [!_ISOMAC].
6157
6158 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6159
6160 [BZ #15923]
6161 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6162
6163 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6164
6165 * configure.in (--enable-versioning): Remove configure option.
6166 (libc_cv_asm_symver_directive): Remove configure test.
6167 (libc_cv_ld_version_script_option): Likewise.
6168 (VERSIONING): Remove variable and AC_SUBST.
6169 (DO_VERSIONING): Remove AC_DEFINE.
6170 * configure: Regenerated.
6171 * config.h.in (DO_VERSIONING): Remove macro.
6172 * Makerules [$(versioning) = yes]: Change conditionals to
6173 [$(build-shared) = yes].
6174 * config.make.in (versioning): Remove variable.
6175 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6176 [$(build-shared) = yes].
6177 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6178 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6179 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6180 [$(build-shared) = yes].
6181 * extra-lib.mk [$(versioning) = yes]: Likewise.
6182 * hurd/Makefile [$(versioning) = yes]: Likewise.
6183 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6184 [SHARED].
6185 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6186 [SHARED].
6187 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6188 [SHARED && !NO_HIDDEN].
6189 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6190 [SHARED].
6191 [SHARED && DO_VERSIONING]: Likewise..
6192 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6193 [$(build-shared) = yes].
6194 * manual/install.texi (--disable-versioning): Remove
6195 documentation.
6196 * INSTALL: Regenerated.
6197 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6198 to [SHARED].
6199 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6200 [$(build-shared) = yes].
6201 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6202 * sysdeps/i386/i686/multiarch/strstr-c.c
6203 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6204 [SHARED && !NO_HIDDEN].
6205 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6206 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6207 * sysdeps/powerpc/powerpc32/dl-machine.c
6208 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6209 * sysdeps/powerpc/powerpc32/sysdep.h
6210 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6211 to [SHARED && PIC && !NO_HIDDEN].
6212 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6213 conditional to [SHARED].
6214
6215 2013-09-04 Will Newton <will.newton@linaro.org>
6216
6217 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6218 * benchtests/bench-string.h: Include bench-timing.h instead
6219 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6220 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6221 call to HP_TIMING_DIFF_INIT.
6222 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6223 instead of hp-timing.h macros.
6224 * benchtests/bench-memchr.c: Likewise.
6225 * benchtests/bench-memcmp.c: Likewise.
6226 * benchtests/bench-memcpy.c: Likewise.
6227 * benchtests/bench-memmem.c: Likewise.
6228 * benchtests/bench-memmove.c: Likewise.
6229 * benchtests/bench-memset.c: Likewise.
6230 * benchtests/bench-rawmemchr.c: Likewise.
6231 * benchtests/bench-strcasecmp.c: Likewise.
6232 * benchtests/bench-strcasestr.c: Likewise.
6233 * benchtests/bench-strcat.c: Likewise.
6234 * benchtests/bench-strchr.c: Likewise.
6235 * benchtests/bench-strcmp.c: Likewise.
6236 * benchtests/bench-strcpy.c: Likewise.
6237 * benchtests/bench-strcpy_chk.c: Likewise.
6238 * benchtests/bench-strlen.c: Likewise.
6239 * benchtests/bench-strncasecmp.c: Likewise.
6240 * benchtests/bench-strncat.c: Likewise.
6241 * benchtests/bench-strncmp.c: Likewise.
6242 * benchtests/bench-strncpy.c: Likewise.
6243 * benchtests/bench-strnlen.c: Likewise.
6244 * benchtests/bench-strpbrk.c: Likewise.
6245 * benchtests/bench-strrchr.c: Likewise.
6246 * benchtests/bench-strspn.c: Likewise.
6247 * benchtests/bench-strstr.c: Likewise.
6248
6249 2013-09-04 Will Newton <will.newton@linaro.org>
6250
6251 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6252
6253 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6254
6255 [BZ #15427]
6256 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6257 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6258 * math/libm-test.inc (lgamma_test_data): Add more tests.
6259 * sysdeps/i386/fpu/libm-test-ulps: Update.
6260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6261
6262 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6263
6264 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6266 Add ifunc.
6267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6268 Add strcmp-sse2-unaligned
6269 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6270
6271 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6272
6273 * Versions.def (libc): Add GLIBC_2.19.
6274
6275 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6276
6277 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6278 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6279
6280 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6281
6282 [BZ #14155]
6283 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6284 intermediate calculations in recurrence.
6285 (__ieee754_ynf): Likewise.
6286 * math/libm-test.inc (jn_test_data): Do not allow spurious
6287 underflow exception. Add more tests.
6288 (yn_test_data): Add more tests.
6289 * sysdeps/i386/fpu/libm-test-ulps: Update.
6290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6291
6292 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6293
6294 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6295
6296 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6297
6298 * csu/init-first.c: Fix then/than typos.
6299 * locale/programs/ld-collate.c: Likewise.
6300 * locale/programs/linereader.h: Likewise.
6301 * manual/charset.texi: Likewise.
6302 * manual/filesys.texi: Likewise.
6303 * manual/stdio.texi: Likewise.
6304 * manual/string.texi: Likewise.
6305 * stdlib/fmtmsg.c: Likewise.
6306 * sysdeps/i386/stpncpy.S: Likewise.
6307 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6308 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6309 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6310 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6311
6312 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6313
6314 * elf/dl-open.c: Fix typos.
6315 * iconvdata/gbbig5.c: Likewise.
6316 * iconvdata/iso-2022-jp.c: Likewise.
6317 * iconv/gconv_int.h: Likewise.
6318 * iconv/loop.c: Likewise.
6319 * nis/rpcsvc/nis.h: Likewise.
6320 * resolv/ns_name.c: Likewise.
6321 * stdio-common/vfscanf.c: Likewise.
6322 * streams/stropts.h: Likewise.
6323 * sunrpc/rpc_thread.c: Likewise.
6324 * sysdeps/i386/strpbrk.S: Likewise.
6325 * sysdeps/ieee754/k_standard.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6328 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6329 * sysdeps/mach/hurd/profil.c: Likewise.
6330 * sysdeps/s390/dl-procinfo.h: Likewise.
6331 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6332 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6333 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6334 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6335 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6336
6337 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6338
6339 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6341
6342 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6343
6344 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6345 aix specific files.
6346 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6347 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6348 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6349 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6350 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6351 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6352 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6354
6355 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6356 Roland McGrath <roland@hack.frob.com>
6357
6358 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6359 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6360
6361 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6362
6363 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6364 __executable_start symbol instead of _start.
6365
6366 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6367
6368 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6369 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6370 Move macros to...
6371 * sysdeps/gnu/ldsodefs.h: ... this new file.
6372
6373 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6374 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6375 instead of ELFOSABI_LINUX.
6376
6377 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6378 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6379 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6380 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6381 Likewise.
6382 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6383 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6384 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6385 Likewise.
6386 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6387 (ibm_extended_long_double): Add ieee_nan member.
6388 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6389 (do_test): New function.
6390
6391 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6392 TEST_TRUNC.
6393 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6394 functions, renamed from truncdfsf_test, trunctfsf_test,
6395 trunctfdf_test.
6396 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6397 functions.
6398 (do_test): Run all these.
6399
6400 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6401
6402 * argp/argp-help.c: Fix typos.
6403 * argp/argp-parse.c: Likewise.
6404 * debug/backtracesyms.c: Likewise.
6405 * elf/elf.h: Likewise.
6406 * malloc/malloc.c: Likewise.
6407 * nis/nis_print.c: Likewise.
6408 * resolv/res_comp.c: Likewise.
6409 * stdlib/stdlib.h: Likewise.
6410 * sunrpc/clnt_tcp.c: Likewise.
6411 * sunrpc/clnt_udp.c: Likewise.
6412 * sunrpc/clnt_unix.c: Likewise.
6413 * sysdeps/unix/bsd/ptsname.c: Likewise.
6414 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6415 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6417 Likewise.
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6419 Likewise.
6420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6421 Likewise.
6422 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6423
6424 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6425
6426 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6428
6429 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6430
6431 [BZ #15897]
6432 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6433 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6434 ($(objpfx)bug-dl-leaf): New rule.
6435 ($(objpfx)bug-dl-leaf.so): Likewise.
6436 ($(objpfx)bug-dl-leaf.out): Likewise.
6437 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6438 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6439 * dlfcn/bug-dl-leaf.c: New test.
6440 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6441 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6442 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6443 (dlclose): Likewise.
6444 (dlmopen): Likewise.
6445
6446 2013-08-27 Roland McGrath <roland@hack.frob.com>
6447
6448 * include/netdb.h [!_ISOMAC]:
6449 Don't include <tls.h>.
6450 (h_errno, __libc_h_errno): Move declaration and macros out of
6451 [_LIBC_REENTRANT].
6452
6453 * include/resolv.h [_RESOLV_H_]:
6454 Don't include <tls.h>.
6455 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6456 * resolv/res_libc.c: Don't include <tls.h>.
6457 (_res): Use __attribute__ ((nocommon)) in place of
6458 __attribute__ ((section (".bss"))).
6459
6460 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6461 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6462
6463 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6464
6465 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6466 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6467
6468 * resolv/res_mkquery.c: Include <sys/time.h>.
6469
6470 * inet/ifreq.c: Moved to ...
6471 * sysdeps/unix/ifreq.c: ... here.
6472 * inet/ifreq.c: New file, true stub version.
6473
6474 * socket/sa_len.c: New file.
6475 * socket/Makefile (aux): Add it.
6476 * sysdeps/unix/sysv/linux/Makefile
6477 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6478 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6479 and #include <socket/sa_len.c>.
6480 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6481 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6482
6483 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6484 * bits/socket.h: ... here.
6485
6486 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6487 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6488 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6489
6490 2013-08-27 Andreas Schwab <schwab@suse.de>
6491
6492 [BZ #15736]
6493 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6494 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6495 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6496 * string/test-strcasecmp.c (test_main): Run tests in several
6497 locales.
6498 * string/test-strncasecmp.c (test_main): Likewise.
6499
6500 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6501 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6502 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6504 (__strncasecmp_ssse3) [PIC]: Likewise.
6505
6506 2013-08-26 Roland McGrath <roland@hack.frob.com>
6507
6508 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6509
6510 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6511 instead of explicitly declaring xdecrypt.
6512 * nis/nss_nis/nis-publickey.c: Likewise.
6513
6514 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6515
6516 [BZ #15890]
6517 * nscd/aicache.c: Include res_hconf.h.
6518 (addhstaiX): Initialize res_hconf.
6519
6520 2013-08-26 Andreas Schwab <schwab@suse.de>
6521
6522 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6523 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6524
6525 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6526
6527 * nscd/aicache.c (addhstaiX): Fix indentation.
6528
6529 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6530
6531 * configure.ac: Quote $build_pt_chown test.
6532 * configure: Regenerated.
6533
6534 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6535
6536 [BZ #15532]
6537 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6538 * math/s_cexpf.c (__cexpf): Likewise.
6539 * math/s_cexpl.c (__cexpl): Likewise.
6540 * math/libm-test.inc (cexp_test_data): Correct expected return
6541 value for NaN + i0. Add another test.
6542
6543 2013-08-22 David S. Miller <davem@davemloft.net>
6544
6545 * po/ca.po: Update Catalan translation from translation project.
6546 * po/uk.po: Add Ukrainian translations from translation project.
6547
6548 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6549
6550 [BZ #15797]
6551 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6552 is infinite, not alongside NaN test.
6553 * math/s_fdimf.c (__fdimf): Likewise.
6554 * math/s_fdiml.c (__fdiml): Likewise.
6555 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6556 errno is unchanged.
6557
6558 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6559
6560 * argp/argp-help.c: Fix typos.
6561 * crypt/speeds.c: Likewise.
6562 * csu/check_fds.c: Likewise.
6563 * elf/dl-load.c: Likewise.
6564 * elf/dl-open.c: Likewise.
6565 * elf/reldep3.c: Likewise.
6566 * elf/reldep.c: Likewise.
6567 * elf/sprof.c: Likewise.
6568 * iconv/iconv_charmap.c: Likewise.
6569 * iconv/skeleton.c: Likewise.
6570 * iconv/strtab.c: Likewise.
6571 * io/lockf64.c: Likewise.
6572 * libio/libioP.h: Likewise.
6573 * resolv/gai_notify.c: Likewise.
6574 * resolv/ns_name.c: Likewise.
6575 * resolv/ns_samedomain.c: Likewise.
6576 * resolv/res_send.c: Likewise.
6577 * stdlib/random.c: Likewise.
6578 * sunrpc/rpc/xdr.h: Likewise.
6579 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6580 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6581 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6585 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6587 * sysdeps/mach/hurd/check_fds.c: Likewise.
6588 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6589 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6590 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6591 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6592 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6593 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6594 * sysdeps/pthread/aio_notify.c: Likewise.
6595 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6596 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6597 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6598 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6599 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6600
6601 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6602
6603 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6604 version if bit_Slow_SSE4_2 is set.
6605 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6606 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6607
6608 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6609
6610 [BZ #15867]
6611 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6612 trampoline stack frame information.
6613 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6614 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6615 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6616 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6617 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6618 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6619 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6620 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6621 sa_flags value.
6622 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6623 interrupting a syscall and set with option SA_SIGINFO.
6624
6625 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6626
6627 [BZ #15531]
6628 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6629 argument is infinite.
6630 * math/s_cprojf.c (__cprojf): Likewise.
6631 * math/s_cprojl.c (__cprojl): Likewise.
6632 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6633 * math/libm-test.inc (cproj_test_data): Add more tests.
6634
6635 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6636
6637 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6638 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6639 size. Use __ffs to determine corresponding shift.
6640
6641 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6642 Roland McGrath <roland@hack.frob.com>
6643
6644 * Makefile (INSTALL): Remove trailing blank lines from output of
6645 makeinfo.
6646
6647 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6648
6649 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6650 Align 32 bit compat elf_greg to 8 bytes.
6651
6652 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6653
6654 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6655
6656 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6657
6658 * string/strcoll_l.c (coll_seq): New structure.
6659 (get_next_seq_cached): New function.
6660 (get_next_seq): New function.
6661 (do_compare): New function.
6662 (STRCOLL): Use GNU style definition. Simplify implementation
6663 by using get_next_seq, get_next_seq_cached and do_compare.
6664
6665 2013-08-16 Florian Weimer <fweimer@redhat.com>
6666
6667 [BZ #14699]
6668 CVE-2013-4237
6669 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6670 member.
6671 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6672 member.
6673 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6674 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6675 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6676 conditional.
6677 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6678 GETDENTS_64BIT_ALIGNED.
6679 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6680 * manual/filesys.texi (Reading/Closing Directory): Document
6681 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6682 strongly.
6683 * manual/conf.texi (Limits for Files): Add portability note to
6684 NAME_MAX, PATH_MAX.
6685 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6686
6687 2013-08-13 Andreas Schwab <schwab@suse.de>
6688
6689 [BZ #15749]
6690 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6691 of fabs.
6692 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6693 LDBL_MAX_EXP >= 16384]: Add tests for it.
6694
6695 2013-08-12 David S. Miller <davem@davemloft.net>
6696
6697 * version.h (RELEASE): Set to "development".
6698 (VERSION): Set to "2.18.90".
6699 * NEWS: Add 2.19 section.
6700
6701 2013-08-03 David S. Miller <davem@davemloft.net>
6702
6703 * po/ko.po: Update Korean translation from translation project.
6704
6705 2013-08-01 David S. Miller <davem@davemloft.net>
6706
6707 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6708 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6709 Bilka.
6710
6711 2013-07-30 David S. Miller <davem@davemloft.net>
6712
6713 * po/fr.po: Update French translation from translation project.
6714
6715 2013-07-28 David S. Miller <davem@davemloft.net>
6716
6717 * po/cs.po: Update Czech translation from translation project.
6718
6719 * po/sv.po: Update Swedish translation from translation project.
6720
6721 2013-07-27 David S. Miller <davem@davemloft.net>
6722
6723 * po/eo.po: Update Esperanto translation from translation project.
6724
6725 * po/vi.po: Update Vietnamese translation from translation project.
6726
6727 * po/de.po: Update German translation from translation project.
6728
6729 2013-07-26 David S. Miller <davem@davemloft.net>
6730
6731 * po/bg.po: Update Bulgarian translation from translation project.
6732
6733 * po/nl.po: Update Dutch translation from translation project.
6734 * po/pl.po: Update Polish translation from translation project.
6735 * po/ru.po: Update Russian translation from translation project.
6736
6737 2013-07-24 David S. Miller <davem@davemloft.net>
6738
6739 * po/libc.pot: Update.
6740
6741 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6742
6743 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6744 variable page size.
6745 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6746 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6747 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6748
6749 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6750
6751 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6752
6753 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6754 Andreas Schwab <schwab@suse.de>
6755 Roland McGrath <roland@hack.frob.com>
6756 Joseph Myers <joseph@codesourcery.com>
6757 Carlos O'Donell <carlos@redhat.com>
6758
6759 [BZ #15755]
6760 * config.h.in: Define HAVE_PT_CHOWN.
6761 * config.make.in (build-pt-chown): New variable.
6762 * configure.in (--enable-pt_chown): New configure option.
6763 * configure: Regenerate.
6764 * login/Makefile: Include Makeconfig. Build pt_chown only if
6765 build-pt-chown is enabled.
6766 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6767 pt_chown to fix pty ownership.
6768 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6769 CLOSE_ALL_FDS.
6770 * manual/install.texi (Configuring and compiling): Mention
6771 --enable-pt_chown. Add @findex for grantpt.
6772 * INSTALL: Regenerate.
6773
6774 2013-07-20 David S. Miller <davem@davemloft.net>
6775
6776 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6777 difference between 32-bit and 64-bit.
6778
6779 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6780
6781 [BZ #15711]
6782 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6783 Avoid system header dependency with -ffreestanding.
6784 ($(objpfx)bits/syscall%d): Likewise.
6785
6786 2013-07-13 David S. Miller <davem@davemloft.net>
6787
6788 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6789 underflows from atanl/atan2l due to bug 15319.
6790 (casinh_test_data): Likewise.
6791
6792 2013-07-07 David S. Miller <davem@davemloft.net>
6793
6794 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6795
6796 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6797
6798 * sysdeps/i386/fpu/libm-test-ulps: Update.
6799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6800
6801 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6802
6803 * configure.in (--enable-lock-elision): Fix message text.
6804 * INSTALL: Regenerate.
6805 * configure: Regenerate.
6806
6807 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6808
6809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6810
6811 2013-07-03 Andreas Jaeger <aj@suse.de>
6812
6813 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6814 define.
6815 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6816 (ptrace_peeksiginfo_args): Add.
6817 (__ptrace_peeksiginfo_flags): Add.
6818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6819 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6820 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6821
6822 2013-07-03 Allan McRae <allan@archlinux.org>
6823
6824 * sysdeps/i386/fpu/libm-test-ulps: Update.
6825
6826 2013-07-02 David S. Miller <davem@davemloft.net>
6827
6828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6829
6830 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6831
6832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6833
6834 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6835
6836 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6838
6839 2013-07-02 Andi Kleen <ak@linux.intel.com>
6840
6841 * config.h.in (ENABLE_LOCK_ELISION): Add.
6842 * configure.in (--enable-lock-elision): Add option.
6843 * manual/install.texi: Document --enable lock elision.
6844 * configure: Regenerate
6845 * INSTALL: Regenerate.
6846
6847 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6848
6849 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6850 SSE4.2 strcasecmp for libc.a.
6851 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6852
6853 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6854
6855 [BZ #13304]
6856 * soft-fp/op-common.h (_FP_FMA): New macro.
6857 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6858 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6859 (_FP_MUL_MEAT_1_imm): ... here.
6860 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6861 (_FP_MUL_MEAT_1_wide): ... here.
6862 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6863 (_FP_MUL_MEAT_1_hard): ... here.
6864 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6865 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6866 (_FP_MUL_MEAT_2_wide): ... here.
6867 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6868 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6869 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6870 (_FP_MUL_MEAT_2_gmp): ... here.
6871 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6872 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6873 (_FP_MUL_MEAT_4_wide): ... here.
6874 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6875 (_FP_MUL_MEAT_4_gmp): ... here.
6876 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6877 (_FP_WFRACBITS_DW_S): Likewise.
6878 (_FP_WFRACXBITS_DW_S): Likewise.
6879 (_FP_HIGHBIT_DW_S): Likewise.
6880 (FP_FMA_S): Likewise.
6881 (_FP_FRAC_HIGH_DW_S): Likewise.
6882 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6883 (_FP_WFRACBITS_DW_D): Likewise.
6884 (_FP_WFRACXBITS_DW_D): Likewise.
6885 (_FP_HIGHBIT_DW_D): Likewise.
6886 (FP_FMA_D): Likewise.
6887 (_FP_FRAC_HIGH_DW_D): Likewise.
6888 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6889 (_FP_WFRACBITS_DW_E): Likewise.
6890 (_FP_WFRACXBITS_DW_E): Likewise.
6891 (_FP_HIGHBIT_DW_E): Likewise.
6892 (FP_FMA_E): Likewise.
6893 (_FP_FRAC_HIGH_DW_E): Likewise.
6894 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6895 (_FP_WFRACBITS_DW_Q): Likewise.
6896 (_FP_WFRACXBITS_DW_Q): Likewise.
6897 (_FP_HIGHBIT_DW_Q): Likewise.
6898 (FP_FMA_Q): Likewise.
6899 (_FP_FRAC_HIGH_DW_Q): Likewise.
6900 * soft-fp/fmasf4.c: New file.
6901 * soft-fp/fmadf4.c: Likewise.
6902 * soft-fp/fmatf4.c: Likewise.
6903
6904 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6905
6906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6907 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6908 Silvermont.
6909 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6910 macro.
6911 (index_Slow_SSE4_2): Likewise.
6912 (index_Prefer_PMINUB_for_stringop): Likewise.
6913 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6914 bit_Slow_SSE4_2 is set.
6915 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6916 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6917
6918 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6919
6920 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6921 rtld_global._dl_hwcap2.
6922 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6923 POWER8.
6924 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6925 POWER8 feature descriptions defined in _dl_hwcap2.
6926 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6927 string handling for POWER8 feature bits.
6928 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6929 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6930 _dl_powerpc_cap_flags.
6931 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6932 * sysdeps/powerpc/rtld-global-offsets.sym
6933 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6934 _dl_hwcap2 in the rtld_global_ro structure.
6935
6936 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6937
6938 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6939 hardware capabilities in support of AT_HWCAP2.
6940 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6941 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6942 GLRO(dl_hwcap2).
6943 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6944 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6945 explicitly the unknown a_type display mechanism is used.
6946 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6947 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6948 struct member.
6949 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6950 to macro prototype for AT_HWCAP2 support.
6951 * sysdeps/i386/dl-procinfo.h: Likewise.
6952 * sysdeps/s390/dl-procinfo.h: Likewise.
6953 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6954 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6955 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6956 return -1 for unknown a_type display fallback.
6957 * sysdeps/sparc/dl-procinfo.h: Likewise.
6958 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6959 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6960
6961 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6962
6963 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6964 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6965
6966 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6967
6968 [BZ #12492]
6969 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6970 mprotect making __stack_prot writable.
6971
6972 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6973 Joseph Myers <joseph@codesourcery.com>
6974
6975 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6976 as being properly aligned.
6977
6978 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6979
6980 * dlfcn/modstatic5.c: New file.
6981 * dlfcn/tststatic5.c: New file.
6982 * dlfcn/Makefile (tests): Add tststatic5.
6983 (tests-static): Likewise.
6984 (modules-names): Add modstatic5.
6985 (tststatic5-ENV): New variable.
6986 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6987
6988 [BZ #15022]
6989 * elf/dl-support.c (_dl_main_map): New variable.
6990 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6991 (_dl_nns, _dl_load_adds): Set to 1.
6992 (_dl_initial_searchlist): Refer to _dl_main_map.
6993 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6994 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6995 call to _dl_get_origin.
6996 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6997 around call_map.
6998 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6999 * dlfcn/modstatic3.c: New file.
7000 * dlfcn/tststatic3.c: New file.
7001 * dlfcn/tststatic4.c: New file.
7002 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7003 (tests-static): Likewise.
7004 (modules-names): Add modstatic3.
7005 (tststatic3-ENV, tststatic4-ENV): New variables.
7006 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7007 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7008
7009 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7010
7011 * configure.in (CC): Require GCC version 4.4 or later.
7012 * configure: Regenerated.
7013 * manual/install.texi (Tools for Compilation): Update GCC version
7014 requirement.
7015 * INSTALL: Regenerated.
7016
7017 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7018
7019 [BZ #15674]
7020 * string/test-memcmp.c (check2): New.
7021 (main): Call check2.
7022
7023 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7024
7025 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7026
7027 [BZ #15022]
7028 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7029 over to...
7030 (dl_open_worker) [!SHARED]: ... here.
7031
7032 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7033
7034 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7035
7036 2013-06-25 Richard Henderson <rth@redhat.com>
7037
7038 * locale/programs/locarchive.c: Include <libc-internal.h>
7039
7040 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7041
7042 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7043 trailing whitespace removed.
7044
7045 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7046
7047 [BZ #10283]
7048 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7049 * locale/programs/locarchive.c: Include libc-mmap.h.
7050 (prepare_address_space): Take two new outputs (the mmap base and len).
7051 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7052 values.
7053 (create_archive): Declare new mmap base and len values for
7054 prepare_address_space, and store the result in ah.
7055 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7056 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7057 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7058 Declare new mmap base and len values for
7059 prepare_address_space, and store the result in new_ah.
7060 (open_archive): Declare new mmap base and len values for
7061 prepare_address_space, and store the result in ah.
7062 (close_archive): If ah->mmap_base is not NULL, use that and
7063 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7064 * sysdeps/generic/libc-mmap.h: New file.
7065
7066 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7067
7068 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7069 (ALIGN_UP): Likewise.
7070 (PTR_ALIGN_DOWN): Likewise.
7071 (PTR_ALIGN_UP): Likewise.
7072
7073 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7074
7075 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7076 entry mapped to PPC_PLATFORM_POWER8.
7077 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7078 POWER8.
7079 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7080 (_dl_string_platform): Add case for exporting platform position for
7081 POWER8.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7083 search path to sysdeps/powerpc/powerpc32/power8 directory.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7085 search path to sysdeps/powerpc/powerpc64/power8 directory.
7086 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7087 power7 directories.
7088 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7089 power7 directories.
7090
7091 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7092
7093 * INSTALL: Regenerate.
7094
7095 * nscd/connections.c (nscd_init): Fix comment.
7096
7097 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7098
7099 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7100
7101 [BZ #15667]
7102 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7103 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7104
7105 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7106
7107 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7108 DL_DST_REQ_STATIC.
7109 (DL_DST_REQ_STATIC): Remove macro.
7110
7111 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7112
7113 [BZ #7006]
7114 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7115 with a shift of 0 bits.
7116
7117 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7118
7119 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7120 $(tststatic-ENV).
7121
7122 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7123
7124 [BZ #15655]
7125 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7126
7127 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7128
7129 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7130 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7131 accepts -fno-tree-loop-distribute-patterns.
7132 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7133 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7134 recursive call.
7135 * string/memset.c (memset): Likewise.
7136 * string/test-memmove.c (simple_memmove): Disable loop transformation
7137 to library calls.
7138 * string/test-memset.c (simple_memset): Likewise.
7139 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7140 * benchtests/bench-memset.c (simple_memset): Likewise.
7141 * configure: Regenerated.
7142
7143 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7144
7145 * math/test-misc.c (main): Ignore fesetround failure when failures
7146 of subsequent rounding tests would be ignored.
7147
7148 [BZ #15654]
7149 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7150 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7151 * math/fegetenv.c (__fegetenv): Return 0.
7152 * math/fegetexcept.c (fegetexcept): Return 0.
7153 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7154 FE_TONEAREST.
7155 * math/feholdexcpt.c (feholdexcept): Return 0.
7156 * math/fesetenv.c (__fesetenv): Return 0.
7157 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7158 argument FE_TONEAREST.
7159 * math/feupdateenv.c (__feupdateenv): Return 0.
7160 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7161
7162 2013-06-18 Roland McGrath <roland@hack.frob.com>
7163
7164 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7165 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7166 ($(objpfx)rtld-%.os rules): Use them.
7167
7168 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7169
7170 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7171 fields.
7172
7173 2013-06-17 Roland McGrath <roland@hack.frob.com>
7174
7175 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7176 length of target pattern, then descending length of dependency pattern.
7177 * configure.in (AWK): Require gawk 3.1.2 or newer.
7178 * manual/install.texi (Tools for Compilation): Say that we do.
7179 * configure: Regenerated.
7180
7181 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7182 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7183 * scripts/sysd-rules.awk: ... this new script.
7184 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7185 than a glob-style pattern.
7186
7187 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7188
7189 * math/test-misc.c (main): Do not treat incorrectly rounded
7190 conversions as failure unless ROUNDING_TESTS passes.
7191
7192 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7193
7194 [BZ #15631]
7195 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7196 restore exception state around main square root computation, then
7197 check for inexactness explicitly.
7198
7199 * math/libm-test.inc (fma_test_data): Add another test.
7200
7201 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7202
7203 * manual/threads.texi (Non-POSIX Extensions): New document
7204 node. Document pthread_getattr_default_np and
7205 pthread_setattr_default_np.
7206
7207 * Versions.def (libpthread): Add GLIBC_2.18.
7208 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7210 Likewise.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7212 Likewise.
7213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7214 Likewise.
7215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7216 Likewise.
7217 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7218 Likewise.
7219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7220 Likewise.
7221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7222 Likewise.
7223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7224 Likewise.
7225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7226 Likewise.
7227
7228 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7229
7230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7231 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7232
7233 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7234 H.J. Lu <hjl.tools@gmail.com>
7235
7236 [BZ #15627]
7237 * sysdeps/x86_64/rtld-memset.c: Remove file.
7238 * sysdeps/x86_64/rtld-memset.S: New file.
7239
7240 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7241
7242 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7243 (test_in_one_mode): Take arguments for whether the rounding mode
7244 is supported for each floating-point type.
7245 (do_test): Pass new arguments to test_in_one_mode using
7246 ROUNDING_TESTS.
7247
7248 2013-06-13 Roland McGrath <roland@hack.frob.com>
7249
7250 * posix/tst-waitid.c (do_test): Distinguish different instances of
7251 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7252 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7253 before entering the kernel for waitpid.
7254
7255 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7256
7257 * NEWS: Fix note on clock function precision. Text by Roland
7258 McGrath.
7259
7260 2013-06-13 Roland McGrath <roland@hack.frob.com>
7261
7262 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7263 it into place only when and if the sanity check passes.
7264
7265 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7266
7267 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7268 output for whether conversion result is exact. Take argument
7269 indicating whether type is IBM long double.
7270 (round_for_all): Change need_exact field to ibm_ld.
7271 * stdlib/tst-strtod-round.c (struct exactness): New type.
7272 (struct test): Change bool ld_ok field to struct exactness exact.
7273 (TEST): Update all definitions for change to field.
7274 (tests): Regenerate array contents.
7275 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7276 field value. Check for IBM long double here.
7277 (do_test): Update calls to test_in_one_mode.
7278
7279 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7280
7281 [BZ #12515]
7282 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7283 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7284
7285 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7286
7287 [BZ #15605]
7288 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7289 generated by the compiler on loop optimizations.
7290 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7291 general definitions.
7292
7293 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7294
7295 * math/bug-nextafter.c: Include <math-tests.h>.
7296 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7297 the relevant type.
7298 * math/bug-nexttoward.c: Include <math-tests.h>.
7299 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7300 the relevant type.
7301 * math/test-misc.c: Include <math-tests.h>.
7302 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7303 the relevant type.
7304
7305 2013-06-12 Andreas Jaeger <aj@suse.de>
7306
7307 * po/ia.po: Update Interlingua translation from translation
7308 project.
7309
7310 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7311
7312 * include/fenv.h: Include stdbool.h.
7313 (struct rm_ctx): New structure.
7314 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7315 Define macro.
7316 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7317 (SET_RESTORE_ROUNDF): Likewise.
7318 (SET_RESTORE_ROUNDL): Likewise.
7319 (SET_RESTORE_ROUND_NOEX): Likewise.
7320 (SET_RESTORE_ROUND_NOEXF): Likewise.
7321 (SET_RESTORE_ROUND_NOEXL): Likewise.
7322 (SET_RESTORE_ROUND_53BIT): Likewise.
7323 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7324 (libc_feresetround_noexf_ctx): Likewise.
7325 (libc_feresetround_noexl_ctx): Likewise.
7326 (libc_feholdsetround_53bit_ctx): Likewise.
7327 (libc_feresetround_53bit_ctx): Likewise.
7328 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7329 (libc_feholdexcept_setround_sse_ctx): New function.
7330 (libc_fesetenv_sse_ctx): Likewise.
7331 (libc_feupdateenv_sse_ctx): Likewise.
7332 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7333 (libc_feholdexcept_setround_387_ctx): Likewise.
7334 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7335 (libc_feholdsetround_387_prec_ctx): Likewise.
7336 (libc_feholdsetround_387_ctx): Likewise.
7337 (libc_feholdsetround_387_53bit_ctx): Likewise.
7338 (libc_feholdsetround_sse_ctx): Likewise.
7339 (libc_feresetround_sse_ctx): Likewise.
7340 (libc_feresetround_387_ctx): Likewise.
7341 (libc_feupdateenv_387_ctx): Likewise.
7342 (libc_feholdexcept_setroundf_ctx): Define macro.
7343 (libc_fesetenvf_ctx): Likewise.
7344 (libc_feupdateenvf_ctx): Likewise.
7345 (libc_feholdsetroundf_ctx): Likewise.
7346 (libc_feresetroundf_ctx): Likewise.
7347 (libc_feholdexcept_setround_ctx): Likewise.
7348 (libc_fesetenv_ctx): Likewise.
7349 (libc_feupdateenv_ctx): Likewise.
7350 (libc_feholdsetround_ctx): Likewise.
7351 (libc_feresetround_ctx): Likewise.
7352 (libc_feholdexcept_setroundl_ctx): Likewise.
7353 (libc_feupdateenvl_ctx): Likewise.
7354 (libc_feholdsetroundl_ctx): Likewise.
7355 (libc_feresetroundl_ctx): Likewise.
7356 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7357 (libc_feresetround_53bit_ctx): Likewise.
7358
7359 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7360
7361 * locale/iso-639.def: Convert to UTF-8.
7362
7363 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7364
7365 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7366 (EXCEPTION_TESTS_double): Likewise.
7367 (EXCEPTION_TESTS_long_double): Likewise.
7368 (EXCEPTION_TESTS): Likewise.
7369 * math/libm-test.inc (test_exceptions): Only test exceptions if
7370 EXCEPTION_TESTS (FLOAT).
7371
7372 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7373
7374 * benchtests/Makefile (string-bench): Add strcpy_chk and
7375 stpcpy_chk.
7376 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7377 * benchtests/bench-stpcpy_chk.c: New file.
7378 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7379 * benchtests/bench-strcpy_chk.c: New file.
7380 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7381 code.
7382 (do_test): Likewise.
7383
7384 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7385
7386 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7387 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7388 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7389 with tabs where appropriate.
7390 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7391 dl-procinfo.h.
7392 [PPC_PLATFORM_PPC440]: Likewise.
7393 [PPC_PLATFORM_PPC464]: Likewise.
7394 [PPC_PLATFORM_PPC476]: Likewise.
7395 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7396 ppc464, and ppc476 platform strings merging from ports/
7397 dl-procinfo.h.
7398
7399 2013-06-11 Andreas Schwab <schwab@suse.de>
7400
7401 [BZ #14991]
7402 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7403 (from_ucs4_idx): Regenerate.
7404 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7405 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7406 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7407 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7408 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7409 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7410 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7411 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7412 from FROM_LOOP and TO_LOOP specific macros.
7413 (BODY): Handle combining characters.
7414 * iconvdata/BIG5HKSCS.irreversible: Update.
7415 * iconvdata/BIG5HKSCS.precomposed: New file.
7416 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7417 characters.
7418 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7419
7420 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7421
7422 * include/sys/time.h: Fix indentation and add copyright header.
7423
7424 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7425 (do_test): Likewise.
7426 * string/test-memchr.c (do_one_test): Likewise.
7427 (do_test): Likewise.
7428 * string/test-memcmp.c (do_one_test): Likewise.
7429 (do_test): Likewise.
7430 * string/test-memcpy.c (do_one_test): Likewise.
7431 (do_test): Likewise.
7432 * string/test-memmem.c (do_one_test): Likewise.
7433 (do_test): Likewise.
7434 (do_random_tests): Likewise.
7435 * string/test-memmove.c (do_one_test): Likewise.
7436 (do_test): Likewise.
7437 * string/test-memset.c (do_one_test): Likewise.
7438 (do_test): Likewise.
7439 * string/test-rawmemchr.c (do_one_test): Likewise.
7440 (do_test): Likewise.
7441 * string/test-strcasecmp.c (do_one_test): Likewise.
7442 (do_test): Likewise.
7443 * string/test-strcasestr.c (do_one_test): Likewise.
7444 (do_test): Likewise.
7445 * string/test-strcat.c (do_one_test): Likewise.
7446 (do_test): Likewise.
7447 * string/test-strchr.c (do_one_test): Likewise.
7448 (do_test): Likewise.
7449 * string/test-strcmp.c (do_one_test): Likewise.
7450 (do_test): Likewise.
7451 * string/test-strcpy.c (do_one_test): Likewise.
7452 (do_test): Likewise.
7453 * string/test-string.h: Likewise.
7454 (test_init): Likewise.
7455 * string/test-strlen.c (do_one_test): Likewise.
7456 (do_test): Likewise.
7457 * string/test-strncasecmp.c (do_one_test): Likewise.
7458 (do_test): Likewise.
7459 * string/test-strncat.c (do_one_test): Likewise.
7460 (do_test): Likewise.
7461 * string/test-strncmp.c (do_one_test): Likewise.
7462 (do_test_limit): Likewise.
7463 (do_test): Likewise.
7464 * string/test-strncpy.c (do_one_test): Likewise.
7465 (do_test): Likewise.
7466 * string/test-strnlen.c (do_one_test): Likewise.
7467 (do_test): Likewise.
7468 * string/test-strpbrk.c (do_one_test): Likewise.
7469 (do_test): Likewise.
7470 * string/test-strrchr.c (do_one_test): Likewise.
7471 (do_test): Likewise.
7472 * string/test-strspn.c (do_one_test): Likewise.
7473 (do_test): Likewise.
7474 * string/test-strstr.c (do_one_test): Likewise.
7475 (do_test): Likewise.
7476
7477 * benchtests/Makefile (string-bench): Add string benchmarks.
7478 * benchtests/bench-bcopy-ifunc.c: New file.
7479 * benchtests/bench-bcopy.c: New file.
7480 * benchtests/bench-bzero-ifunc.c: New file.
7481 * benchtests/bench-bzero.c: New file.
7482 * benchtests/bench-memccpy-ifunc.c: New file.
7483 * benchtests/bench-memccpy.c: New file.
7484 * benchtests/bench-memchr-ifunc.c: New file.
7485 * benchtests/bench-memchr.c: New file.
7486 * benchtests/bench-memcmp-ifunc.c: New file.
7487 * benchtests/bench-memcmp.c: New file.
7488 * benchtests/bench-memmem-ifunc.c: New file.
7489 * benchtests/bench-memmem.c: New file.
7490 * benchtests/bench-memmove-ifunc.c: New file.
7491 * benchtests/bench-memmove.c: New file.
7492 * benchtests/bench-mempcpy-ifunc.c: New file.
7493 * benchtests/bench-mempcpy.c: New file.
7494 * benchtests/bench-memset-ifunc.c: New file.
7495 * benchtests/bench-memset.c: New file.
7496 * benchtests/bench-rawmemchr-ifunc.c: New file.
7497 * benchtests/bench-rawmemchr.c: New file.
7498 * benchtests/bench-stpcpy-ifunc.c: New file.
7499 * benchtests/bench-stpcpy.c: New file.
7500 * benchtests/bench-stpncpy-ifunc.c: New file.
7501 * benchtests/bench-stpncpy.c: New file.
7502 * benchtests/bench-strcasecmp-ifunc.c: New file.
7503 * benchtests/bench-strcasecmp.c: New file.
7504 * benchtests/bench-strcasestr-ifunc.c: New file.
7505 * benchtests/bench-strcasestr.c: New file.
7506 * benchtests/bench-strcat-ifunc.c: New file.
7507 * benchtests/bench-strcat.c: New file.
7508 * benchtests/bench-strchr-ifunc.c: New file.
7509 * benchtests/bench-strchr.c: New file.
7510 * benchtests/bench-strchrnul-ifunc.c: New file.
7511 * benchtests/bench-strchrnul.c: New file.
7512 * benchtests/bench-strcmp-ifunc.c: New file.
7513 * benchtests/bench-strcmp.c: New file.
7514 * benchtests/bench-strcpy-ifunc.c: New file.
7515 * benchtests/bench-strcpy.c: New file.
7516 * benchtests/bench-strcspn-ifunc.c: New file.
7517 * benchtests/bench-strcspn.c: New file.
7518 * benchtests/bench-strlen-ifunc.c: New file.
7519 * benchtests/bench-strlen.c: New file.
7520 * benchtests/bench-strncasecmp-ifunc.c: New file.
7521 * benchtests/bench-strncasecmp.c: New file.
7522 * benchtests/bench-strncat-ifunc.c: New file.
7523 * benchtests/bench-strncat.c: New file.
7524 * benchtests/bench-strncmp-ifunc.c: New file.
7525 * benchtests/bench-strncmp.c: New file.
7526 * benchtests/bench-strncpy-ifunc.c: New file.
7527 * benchtests/bench-strncpy.c: New file.
7528 * benchtests/bench-strnlen-ifunc.c: New file.
7529 * benchtests/bench-strnlen.c: New file.
7530 * benchtests/bench-strpbrk-ifunc.c: New file.
7531 * benchtests/bench-strpbrk.c: New file.
7532 * benchtests/bench-strrchr-ifunc.c: New file.
7533 * benchtests/bench-strrchr.c: New file.
7534 * benchtests/bench-strspn-ifunc.c: New file.
7535 * benchtests/bench-strspn.c: New file.
7536 * benchtests/bench-strstr-ifunc.c: New file.
7537 * benchtests/bench-strstr.c: New file.
7538
7539 * benchtests/Makefile: Disable parallel execution of targets.
7540 (string-bench): Add memcpy.
7541 (benchset): New variable to store a list of benchmark sets.
7542 (bench-func): Renamed from bench.
7543 (bench-set): New target.
7544 (bench): Depend on bench-func and bench-set.
7545 * benchtests/README: Add section on benchmark sets.
7546 * benchtests/bench-memcpy-ifunc.c: New file.
7547 * benchtests/bench-memcpy.c: New file.
7548 * benchtests/bench-string.h: New file.
7549
7550 2013-06-11 Andreas Schwab <schwab@suse.de>
7551
7552 [BZ #15577]
7553 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7554 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7555 values in the triple.
7556 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7557 terminator in the group key.
7558
7559 2013-06-11 Andreas Jaeger <aj@suse.de>
7560
7561 * po/zh_TW.po: Update Chinese (traditional) translation from
7562 translation project.
7563
7564 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7565
7566 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7567 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7568 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7569 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7570 (clock_getcpuclockid): Likewise.
7571 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7572 Add weak_alias and libc_hidden_def.
7573 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7574 * rt/clock_gettime.c (clock_gettime): Rename to
7575 __clock_gettime. Add weak_alias and libc_hidden_def.
7576 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7577 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7578 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7579 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7580 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7581 Likewise.
7582 * rt/clock_settime.c (clock_settime): Rename to
7583 __clock_settime. Add weak_alias and libc_hidden_def.
7584 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7585
7586 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7587
7588 * mach/err_boot.sub: Remove trailing whitespace.
7589 * mach/err_ipc.sub: Likewise.
7590 * mach/err_mach.sub: Likewise.
7591
7592 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7593 (ROUNDING_TESTS_double): Likewise.
7594 (ROUNDING_TESTS_long_double): Likewise.
7595 (ROUNDING_TESTS): Likewise.
7596 * math/libm-test.inc: Include <math-tests.h>.
7597 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7598 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7599 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7600 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7601
7602 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7603
7604 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7605 of assigning.
7606
7607 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7608
7609 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7610 otherwise empty TRANS lines.
7611 * sysdeps/gnu/errlist.c: Regenerated.
7612
7613 * catgets/gencat.c (error_print): Use (void) in function
7614 definition.
7615 * crypt/crypt_util.c (__init_des): Likewise.
7616 * crypt/speeds.c (Stop): Likewise.
7617 (main): Likewise.
7618 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7619 * inet/ruserpass.c (token): Likewise.
7620 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7621 * intl/localealias.c (extend_alias_table): Likewise.
7622 * intl/plural-exp.c (init_germanic_plural): Likewise.
7623 * libio/fcloseall.c (__fcloseall): Likewise.
7624 * libio/genops.c (_IO_flush_all): Likewise.
7625 (_IO_flush_all_linebuffered): Likewise.
7626 (_IO_cleanup): Likewise.
7627 (_IO_iter_begin): Likewise.
7628 (_IO_iter_end): Likewise.
7629 (_IO_list_lock): Likewise.
7630 (_IO_list_unlock): Likewise.
7631 (_IO_list_resetlock): Likewise.
7632 * libio/getchar.c (getchar): Likewise.
7633 * libio/getchar_u.c (getchar_unlocked): Likewise.
7634 * libio/getwchar.c (getwchar): Likewise.
7635 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7636 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7637 * login/getpt.c (__getpt): Likewise.
7638 * login/tst-utmp.c (main): Likewise.
7639 * malloc/hooks.c (__malloc_check_init): Likewise.
7640 * malloc/malloc.c (__malloc_stats): Likewise.
7641 * malloc/mtrace.c (tr_break): Likewise.
7642 (mtrace): Likewise.
7643 (muntrace): Likewise.
7644 * misc/fstab.c (endfsent): Likewise.
7645 * misc/getclktck.c (__getclktck): Likewise.
7646 * misc/getdtsz.c (__getdtablesize): Likewise.
7647 * misc/gethostid.c (gethostid): Likewise.
7648 * misc/getpagesize.c (__getpagesize): Likewise.
7649 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7650 (__get_nprocs): Likewise.
7651 (__get_phys_pages): Likewise.
7652 (__get_avphys_pages): Likewise.
7653 * misc/getttyent.c (getttyent): Likewise.
7654 (setttyent): Likewise.
7655 (endttyent): Likewise.
7656 * misc/getusershell.c (getusershell): Likewise.
7657 (endusershell): Likewise.
7658 (setusershell): Likewise.
7659 (initshells): Likewise.
7660 * misc/hsearch.c (__hdestroy): Likewise.
7661 * misc/sync.c (sync): Likewise.
7662 * misc/syslog.c (closelog_internal): Likewise.
7663 (closelog): Likewise.
7664 * misc/ttyslot.c (ttyslot): Likewise.
7665 * misc/vhangup.c (vhangup): Likewise.
7666 * posix/fork.c (__fork): Likewise.
7667 * posix/getegid.c (__getegid): Likewise.
7668 * posix/geteuid.c (__geteuid): Likewise.
7669 * posix/getgid.c (__getgid): Likewise.
7670 * posix/getpid.c (__getpid): Likewise.
7671 * posix/getppid.c (__getppid): Likewise.
7672 * posix/getuid.c (__getuid): Likewise.
7673 * posix/pause.c (pause): Likewise.
7674 * posix/setpgrp.c (setpgrp): Likewise.
7675 * posix/setsid.c (__setsid): Likewise.
7676 * posix/test-vfork.c (noop): Likewise.
7677 * resolv/gethnamaddr.c (_endhtent): Likewise.
7678 (_gethtent): Likewise.
7679 (ht_endhostent): Likewise.
7680 (gethostent): Likewise.
7681 (dns_service): Likewise.
7682 * stdlib/drand48.c (drand48): Likewise.
7683 * stdlib/lrand48.c (lrand48): Likewise.
7684 * stdlib/mrand48.c (mrand48): Likewise.
7685 * stdlib/rand.c (rand): Likewise.
7686 * stdlib/random.c (__random): Likewise.
7687 * stdlib/setenv.c (clearenv): Likewise.
7688 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7689 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7690 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7691 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7692 (__get_nprocs): Likewise.
7693 (__get_phys_pages): Likewise.
7694 (__get_avphys_pages): Likewise.
7695 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7696 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7697 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7698 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7699 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7700 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7701 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7702 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7703 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7704 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7705 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7706 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7707 * sysdeps/posix/clock.c (clock): Likewise.
7708 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7709 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7710 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7711 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7712 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7713 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7714 (__get_nprocs_conf): Likewise.
7715 (__get_phys_pages): Likewise.
7716 (__get_avphys_pages): Likewise.
7717 * time/clock.c (clock): Likewise.
7718 * time/tzset.c (__tzname_max): Likewise.
7719
7720 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7721
7722 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7723 (__bswap_32): Do not use "register".
7724 * crypt/crypt.c (_ufc_doit_r): Likewise.
7725 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7726 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7727 * gmon/gmon.c (__monstartup): Likewise.
7728 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7729 * hurd/hurdmalloc.c (more_memory): Likewise.
7730 (malloc): Likewise.
7731 (free): Likewise.
7732 (realloc): Likewise.
7733 (malloc_fork_prepare): Likewise.
7734 (malloc_fork_parent): Likewise.
7735 (malloc_fork_child): Likewise.
7736 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7737 (_svcauth_des): Likewise.
7738 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7739 * inet/inet_net.c (inet_network): Likewise.
7740 * inet/inet_netof.c (inet_netof): Likewise.
7741 * inet/rcmd.c (__validuser2_sa): Likewise.
7742 * io/fts.c (fts_open): Likewise.
7743 (fts_load): Likewise.
7744 (fts_close): Likewise.
7745 (fts_read): Likewise.
7746 (fts_children): Likewise.
7747 (fts_build): Likewise.
7748 (fts_stat): Likewise.
7749 (fts_sort): Likewise.
7750 (fts_alloc): Likewise.
7751 (fts_lfree): Likewise.
7752 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7753 (_IO_file_xsgetn): Likewise.
7754 (_IO_file_xsgetn_mmap): Likewise.
7755 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7756 (_IO_cookie_write): Likewise.
7757 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7758 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7759 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7760 * malloc/obstack.c (_obstack_begin): Likewise.
7761 (_obstack_begin_1): Likewise.
7762 (_obstack_newchunk): Likewise.
7763 (_obstack_allocated_p): Likewise.
7764 (obstack_free): Likewise.
7765 (_obstack_memory_used): Likewise.
7766 * misc/getttyent.c (getttynam): Likewise.
7767 (getttyent): Likewise.
7768 (skip): Likewise.
7769 (value): Likewise.
7770 * misc/getusershell.c (initshells): Likewise.
7771 * misc/syslog.c (__vsyslog_chk): Likewise.
7772 * misc/ttyslot.c (ttyslot): Likewise.
7773 * nis/nis_hash.c (__nis_hash): Likewise.
7774 * posix/fnmatch_loop.c (FCT): Likewise.
7775 * posix/getconf.c (print_all): Likewise.
7776 (main): Likewise.
7777 * posix/getopt.c (exchange): Likewise.
7778 * posix/glob.c (globfree): Likewise.
7779 (prefix_array): Likewise.
7780 (__glob_pattern_type): Likewise.
7781 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7782 (NS_GET32): Likewise.
7783 (NS_PUT16): Likewise.
7784 (NS_PUT32): Likewise.
7785 * resolv/gethnamaddr.c (getanswer): Likewise.
7786 (gethostbyname2): Likewise.
7787 (gethostbyaddr): Likewise.
7788 (_gethtent): Likewise.
7789 (_gethtbyname2): Likewise.
7790 (_gethtbyaddr): Likewise.
7791 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7792 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7793 * resolv/res_init.c (__res_vinit): Likewise.
7794 (net_mask): Likewise.
7795 * resolv/res_mkquery.c (outchar): Likewise.
7796 (PRINT): Likewise.
7797 * stdio-common/printf_fp.c (outchar): Likewise.
7798 (PRINT): Likewise.
7799 * stdio-common/printf_fphex.c (outchar): Likewise.
7800 (PRINT): Likewise.
7801 * stdio-common/printf_size.c (outchar): Likewise.
7802 (PRINT): Likewise.
7803 * stdio-common/test_rdwr.c (main): Likewise.
7804 * stdio-common/tfformat.c (matches): Likewise.
7805 * stdio-common/vfprintf.c (outchar): Likewise.
7806 (printf_unknown): Likewise.
7807 (buffered_vfprintf): Likewise.
7808 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7809 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7810 (ReadFile): Likewise.
7811 * stdlib/qsort.c (SWAP): Likewise.
7812 (_quicksort): Likewise.
7813 * stdlib/setenv.c (__add_to_environ): Likewise.
7814 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7815 * stdlib/strtol_l.c (__strtol_l): Likewise.
7816 * stdlib/tst-strtod.c (main): Likewise.
7817 * stdlib/tst-strtol.c (main): Likewise.
7818 * stdlib/tst-strtoll.c (main): Likewise.
7819 * string/bits/string2.h (__strcmp_cc): Likewise.
7820 (__strcmp_cg): Likewise.
7821 (__strcspn_c1): Likewise.
7822 (__strcspn_c2): Likewise.
7823 (__strcspn_c3): Likewise.
7824 (__strspn_c1): Likewise.
7825 (__strspn_c2): Likewise.
7826 (__strspn_c3): Likewise.
7827 (__strsep_1c): Likewise.
7828 (__strsep_2c): Likewise.
7829 (__strsep_3c): Likewise.
7830 * string/memccpy.c (__memccpy): Likewise.
7831 * string/stpcpy.c (__stpcpy): Likewise.
7832 * string/strcmp.c (strcmp): Likewise.
7833 * string/strrchr.c (strrchr): Likewise.
7834 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7835 Likewise.
7836 * sysdeps/mach/hurd/getcwd.c
7837 (_hurd_canonicalize_directory_name_internal): Likewise.
7838 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7839 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7840 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7841 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7842 Likewise, in both definitions.
7843 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7844 definitions.
7845 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7846 64] (__bswap_64): Likewise.
7847 * time/test_time.c (main): Likewise.
7848 * time/tzfile.c (__tzfile_read): Likewise.
7849 (__tzfile_compute): Likewise.
7850 * time/tzset.c (__tzset_parse_tz): Likewise.
7851 (tzset_internal): Likewise.
7852 (compute_change): Likewise.
7853 * wcsmbs/wcscat.c (__wcscat): Likewise.
7854 * wcsmbs/wcschr.c (wcschr): Likewise.
7855 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7856 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7857 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7858 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7859 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7860 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7861 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7862 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7863 * wcsmbs/wmemset.c (wmemset): Likewise.
7864
7865 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7866
7867 * scripts/config.guess: Update to version 2013-05-16.
7868 * scripts/config.sub: Update to version 2013-04-24.
7869 * scripts/install-sh: Update to version 2011-11-20.07.
7870 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7871 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7872
7873 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7874
7875 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7876 * elf/sln.c: Likewise.
7877 * hurd/hurd/ioctl.h: Likewise.
7878 * hurd/hurdmalloc.c: Likewise.
7879 * hurd/xattr.c: Likewise.
7880 * include/shlib-compat.h: Likewise.
7881 * inet/ruserpass.c: Likewise.
7882 * libio/iofgets_u.c: Likewise.
7883 * libio/iofgetws_u.c: Likewise.
7884 * locale/programs/ld-identification.c: Likewise.
7885 * locale/programs/ld-time.c: Likewise.
7886 * mach/msg-destroy.c: Likewise.
7887 * nss/nss_files/files-netgrp.c: Likewise.
7888 * resolv/res_data.c: Likewise.
7889 * soft-fp/op-1.h: Likewise.
7890 * soft-fp/op-2.h: Likewise.
7891 * soft-fp/op-4.h: Likewise.
7892 * soft-fp/op-common.h: Likewise.
7893 * stdio-common/printf_fphex.c: Likewise.
7894 * stdlib/strtod_l.c: Likewise.
7895 * sunrpc/rpc/clnt.h: Likewise.
7896 * sysdeps/generic/framestate.c: Likewise.
7897 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7898 * sysdeps/i386/bsd-setjmp.S: Likewise.
7899 * sysdeps/i386/__longjmp.S: Likewise.
7900 * sysdeps/i386/setjmp.S: Likewise.
7901 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7902 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7903 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7904 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7908 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7911 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7913 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7917 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7919 * sysdeps/ieee754/support.c: Likewise.
7920 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7921 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7922 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7923 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7924 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7925 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7926 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7927 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7928 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7929 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7930 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7931 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7932 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7933 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7934 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7935 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7936 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7938
7939 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7940
7941 * posix/transbug.c: Remove executable mode.
7942
7943 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7944
7945 * crypt/speeds.c: Remove trailing whitespace.
7946 * dlfcn/default.c: Likewise.
7947 * elf/ifuncdep2.c: Likewise.
7948 * elf/ifuncmain1.c: Likewise.
7949 * elf/ifuncmain1vis.c: Likewise.
7950 * elf/testobj.h: Likewise.
7951 * elf/tst-stackguard1.c: Likewise.
7952 * gmon/sys/gmon.h: Likewise.
7953 * hurd/hurdmsg.c: Likewise.
7954 * hurd/new-fd.c: Likewise.
7955 * hurd/ports-get.c: Likewise.
7956 * iconvdata/ibm1008_420.c: Likewise.
7957 * inet/tst-getni1.c: Likewise.
7958 * inet/tst-getni2.c: Likewise.
7959 * libio/ioungetc.c: Likewise.
7960 * libio/wfiledoalloc.c: Likewise.
7961 * manual/libm-err-tab.pl: Likewise.
7962 * math/w_dremf.c: Likewise.
7963 * misc/ftruncate.c: Likewise.
7964 * posix/bug-glob2.c: Likewise.
7965 * posix/tst-pcre.c: Likewise.
7966 * posix/wait4.c: Likewise.
7967 * resolv/README: Likewise.
7968 * resolv/res_debug.h: Likewise.
7969 * resolv/tst-inet_ntop.c: Likewise.
7970 * setjmp/bug269-setjmp.c: Likewise.
7971 * soft-fp/extended.h: Likewise.
7972 * soft-fp/op-1.h: Likewise.
7973 * soft-fp/op-2.h: Likewise.
7974 * soft-fp/op-4.h: Likewise.
7975 * soft-fp/op-8.h: Likewise.
7976 * soft-fp/testit.c: Likewise.
7977 * stdio-common/bug16.c: Likewise.
7978 * stdlib/random.c: Likewise.
7979 * sunrpc/rpcsvc/rquota.x: Likewise.
7980 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7981 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7982 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7983 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7984 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7985 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7986 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7987 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7988 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7989 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7990 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7991 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7994 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7995 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7996 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7997 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7998 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7999 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8000 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8001 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8002 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8005 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8007 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8008 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8009 * sysdeps/ieee754/s_lib_version.c: Likewise.
8010 * sysdeps/mach/hurd/check_fds.c: Likewise.
8011 * sysdeps/mach/hurd/getsockname.c: Likewise.
8012 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8013 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8014 * sysdeps/powerpc/bits/link.h: Likewise.
8015 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8016 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8017 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8018 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8019 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8020 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8021 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8022 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8023 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8024 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8025 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8026 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8027 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8028 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8029 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8030 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8031 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8032 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8033 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8035 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8036 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8037 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8038 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8039 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8040 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8042 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8043 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8044 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8045 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8047 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8048 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8049 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8050 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8051 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8052 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8053 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8054 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8055 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8056 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8057 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8058 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8059 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8060 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8061 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8062 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8063 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8064 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8065 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8067 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8068 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8069 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8070 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8071 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8072 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8073 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8074 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8075 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8076 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8077 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8078 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8079 * sysdeps/powerpc/sysdep.h: Likewise.
8080 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8081 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8082 * sysdeps/sh/dl-trampoline.S: Likewise.
8083 * sysdeps/sh/memset.S: Likewise.
8084 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8085 * sysdeps/sh/strlen.S: Likewise.
8086 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8087 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8088 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8089 * sysdeps/sparc/sparc32/rem.S: Likewise.
8090 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8091 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8092 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8093 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8094 * sysdeps/sparc/sparc32/urem.S: Likewise.
8095 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8096 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8097 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8098 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8099 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8100 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8101 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8102 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8103 * sysdeps/unix/bsd/times.c: Likewise.
8104 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8105 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8109 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8110 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8111 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8112 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8113 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8114 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8115 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8116 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8117 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8118 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8119 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8120 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8121 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8122 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8123 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8124 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8125 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8126 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8127 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8128 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8129 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8130 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8131 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8132 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8133 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8134 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8135 * sysdeps/x86_64/strcspn.S: Likewise.
8136
8137 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8138
8139 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8140 generated file. Regenerate properly from gen-translit.pl.
8141 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8142 locale/C-translit.h.
8143
8144 2013-06-05 Andreas Schwab <schwab@suse.de>
8145
8146 [BZ #15100]
8147 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8148 week as 6 instead of -1.
8149 * time/tst-strptime.c (day_tests): Add test case.
8150
8151 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8152
8153 * sysdeps/generic/math_private.h
8154 (libc_feholdexcept_setround_53bit): Replace with
8155 libc_feholdsetround_53bit.
8156 (libc_feupdateenv_53bit): Replace with
8157 libc_feresetround_53bit.
8158 (SET_RESTORE_ROUND_53BIT): Adjust.
8159
8160 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8161
8162 * string/test-strchrnul.c: Add copyright header.
8163
8164 * posix/tst-getaddrinfo4.c: Increase test timeout.
8165
8166 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8167
8168 [BZ #15536]
8169 * math/libm-test.inc (MAX_EXP): Remove
8170 (MIN_EXP): Define.
8171 (ulp): Use MIN_EXP - MANT_DIG.
8172 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8173
8174 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8175
8176 * po/be.po: Revert last change.
8177 * po/zh_CN.po: Likewise.
8178 * po/header.pot: Likewise.
8179
8180 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8181
8182 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8183 link-libc-deps to empty as target-specific variable.
8184 * Makerules (link-libc-args): New variable.
8185 (libc-for-link): Likewise.
8186 (link-libc-deps): Likewise.
8187 (lib%.so): Depend on $(link-libc-deps). Link with
8188 $(link-libc-args).
8189 (build-module): Link with $(link-libc-args).
8190 (build-module-asneeded): Likewise.
8191 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8192 list of objects.
8193 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8194 target-specific variable.
8195 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8196 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8197 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8198 libc.
8199 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8200 libc and ld.so.
8201 ($(objpfx)libpcprofile.so): Likewise.
8202 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8203 libc_nonshared.a.
8204 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8205 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8206 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8207 $(link-libc-deps).
8208 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8209 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8210 * login/Makefile ($(objpfx)libutil.so): Likewise.
8211 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8212 * math/Makefile ($(objpfx)libm.so): Likewise.
8213 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8214 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8215 variable instead of depending directly on libc.
8216 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8217 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8218 $(link-libc-deps).
8219 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8220 libc.
8221 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8222 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8223 ($(objpfx)libanl.so): Likewise.
8224 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8225 ld.so.
8226 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8227 $(link-libc-deps).
8228 * sysdeps/i386/fpu/Makefile: Remove file.
8229 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8230 ($(objpfx)libm.so): Remove dependency on ld.so.
8231
8232 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8233
8234 [BZ # 15553]
8235 * nis/yp_xdr.c (XDRMAXNAME): Define.
8236 (XDRMAXRECORD): Define.
8237 (xdr_domainname): Use XDRMAXNAME.
8238 (xdr_mapname): Likewise.
8239 (xdr_peername): Likewise.
8240 (xdr_keydat): Use XDRMAXRECORD.
8241 (xdr_valdat): Likewise.
8242
8243 2013-05-30 Jeff Law <law@redhat.com>
8244
8245 [BZ #14256]
8246 * manual/errno.texi (ESTALE): Update to account for more than
8247 just NFS file systems.
8248 * sysdeps/gnu/errlist.c: Regenerated.
8249
8250 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8251
8252 [BZ #15465]
8253 * elf/Makefile (tests): Add tst-null-argv.
8254 (modules-names): Add tst-null-argv-lib.
8255 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8256 (tst-null-argv-ENV): Set environment for tst-null-argv.
8257 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8258 (RTLD_PROGNAME): New macro.
8259 * elf/tst-null-argv.c: New test case.
8260 * elf/tst-null-argv-lib.c: Library for test case.
8261 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8262 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8263 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8264 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8265 * elf/dl-init.c (call_init): Likewise.
8266 (_dl_init): Likewise.
8267 * elf/dl-load.c (print_search_path): Likewise.
8268 (_dl_map_object): Likewise.
8269 * elf/dl-lookup.c (do_lookup_x): Likewise.
8270 (add_dependency): Likewise.
8271 (_dl_lookup_symbol_x): Likewise.
8272 (_dl_debug_bindings): Likewise.
8273 * elf/dl-open.c (_dl_show_scope): Likewise.
8274 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8275 * elf/dl-version.c (match_symbol): Likewise.
8276 (_dl_check_map_versions): Likewise.
8277 * elf/rtld.c (dl_main): Likewise.
8278 (print_unresolved): Use RTLD_PROGNAME.
8279 (print_missing_version): Likewise.
8280 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8281 (elf_machine_rela): Likewise.
8282 * sysdeps/powerpc/powerpc32/dl-machine.c
8283 (__process_machine_rela): Likewise.
8284 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8285 Likewise.
8286 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8287 Likewise.
8288 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8289 Likewise.
8290 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8292 Likewise.
8293 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8294 Likewise.
8295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8296
8297 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8298
8299 * po/be.po: Add descriptive title.
8300 * po/zh_CN.po: Likewise.
8301 * po/header.pot: Likewise.
8302
8303 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8304
8305 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8306 error message.
8307 (enlarge_archive): Likewise.
8308
8309 2013-05-28 Ben North <ben@redfrontdoor.org>
8310
8311 * manual/arith.texi (frexp): It is the magnitude of the return
8312 value which lies in [0.5, 1), not the return value itself.
8313
8314 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8315
8316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8317
8318 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8319
8320 * stdio-common/bug26.c (main): Correct fscanf template.
8321
8322 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8323 declare _dl_skip_args.
8324
8325 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8326 Don't declare.
8327
8328 * manual/platform.texi: Add missing @end deftypefun.
8329
8330 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8331
8332 [BZ #15529]
8333 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8334 bit of mantissa of 2^16382.
8335 * math/libm-test.inc (hypot_test_data): Add more tests.
8336
8337 * math/libm-test.inc: Add drem and pow10 to list of tested
8338 functions.
8339 (pow10_test): New function.
8340 (drem_test): Likewise.
8341 (drem_test_tonearest): Likewise.
8342 (drem_test_towardzero): Likewise.
8343 (drem_test_downward): Likewise.
8344 (drem_test_upward): Likewise.
8345 (main): Call the new functions.
8346
8347 * math/libm-test.inc (finite_test_data): Remove.
8348 (finite_test): Run tests from isfinite_test_data.
8349 (gamma_test_data): Remove.
8350 (gamma_test): Run tests from lgamma_test_data.
8351 * sysdeps/i386/fpu/libm-test-ulps: Update.
8352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8353
8354 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8355
8356 * manual/platform.texi: Add PowerPC PPR function set documentation.
8357 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8358 implementation.
8359
8360 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8361
8362 * math/libm-test.inc (MAX_EXP): Define.
8363 (ULPDIFF): Define.
8364 (ulp): New function.
8365 (check_float_internal): Use ULPDIFF.
8366 (cpow_test): Disable failing test.
8367 (check_ulp): Test ulp() implemetnation.
8368 (main): Call check_ulp before starting tests.
8369
8370 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8371
8372 * math/gen-libm-test.pl (generate_testfile): Do not handle
8373 START_DATA and END_DATA.
8374 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8375 END_DATA.
8376 (acos_tonearest_test_data): Likewise.
8377 (acos_towardzero_test_data): Likewise.
8378 (acos_downward_test_data): Likewise.
8379 (acos_upward_test_data): Likewise.
8380 (acosh_test_data): Likewise.
8381 (asin_test_data): Likewise.
8382 (asin_tonearest_test_data): Likewise.
8383 (asin_towardzero_test_data): Likewise.
8384 (asin_downward_test_data): Likewise.
8385 (asin_upward_test_data): Likewise.
8386 (asinh_test_data): Likewise.
8387 (atan_test_data): Likewise.
8388 (atanh_test_data): Likewise.
8389 (atan2_test_data): Likewise.
8390 (cabs_test_data): Likewise.
8391 (cacos_test_data): Likewise.
8392 (cacosh_test_data): Likewise.
8393 (carg_test_data): Likewise.
8394 (casin_test_data): Likewise.
8395 (casinh_test_data): Likewise.
8396 (catan_test_data): Likewise.
8397 (catanh_test_data): Likewise.
8398 (cbrt_test_data): Likewise.
8399 (ccos_test_data): Likewise.
8400 (ccosh_test_data): Likewise.
8401 (ceil_test_data): Likewise.
8402 (cexp_test_data): Likewise.
8403 (cimag_test_data): Likewise.
8404 (clog_test_data): Likewise.
8405 (clog10_test_data): Likewise.
8406 (conj_test_data): Likewise.
8407 (copysign_test_data): Likewise.
8408 (cos_test_data): Likewise.
8409 (cos_tonearest_test_data): Likewise.
8410 (cos_towardzero_test_data): Likewise.
8411 (cos_downward_test_data): Likewise.
8412 (cos_upward_test_data): Likewise.
8413 (cosh_test_data): Likewise.
8414 (cosh_tonearest_test_data): Likewise.
8415 (cosh_towardzero_test_data): Likewise.
8416 (cosh_downward_test_data): Likewise.
8417 (cosh_upward_test_data): Likewise.
8418 (cpow_test_data): Likewise.
8419 (cproj_test_data): Likewise.
8420 (creal_test_data): Likewise.
8421 (csin_test_data): Likewise.
8422 (csinh_test_data): Likewise.
8423 (csqrt_test_data): Likewise.
8424 (ctan_test_data): Likewise.
8425 (ctan_tonearest_test_data): Likewise.
8426 (ctan_towardzero_test_data): Likewise.
8427 (ctan_downward_test_data): Likewise.
8428 (ctan_upward_test_data): Likewise.
8429 (ctanh_test_data): Likewise.
8430 (ctanh_tonearest_test_data): Likewise.
8431 (ctanh_towardzero_test_data): Likewise.
8432 (ctanh_downward_test_data): Likewise.
8433 (ctanh_upward_test_data): Likewise.
8434 (erf_test_data): Likewise.
8435 (erfc_test_data): Likewise.
8436 (exp_test_data): Likewise.
8437 (exp_tonearest_test_data): Likewise.
8438 (exp_towardzero_test_data): Likewise.
8439 (exp_downward_test_data): Likewise.
8440 (exp_upward_test_data): Likewise.
8441 (exp10_test_data): Likewise.
8442 (exp2_test_data): Likewise.
8443 (expm1_test_data): Likewise.
8444 (fabs_test_data): Likewise.
8445 (fdim_test_data): Likewise.
8446 (finite_test_data): Likewise.
8447 (floor_test_data): Likewise.
8448 (fma_test_data): Likewise.
8449 (fma_towardzero_test_data): Likewise.
8450 (fma_downward_test_data): Likewise.
8451 (fma_upward_test_data): Likewise.
8452 (fmax_test_data): Likewise.
8453 (fmin_test_data): Likewise.
8454 (fmod_test_data): Likewise.
8455 (fpclassify_test_data): Likewise.
8456 (frexp_test_data): Likewise.
8457 (gamma_test_data): Likewise.
8458 (hypot_test_data): Likewise.
8459 (ilogb_test_data): Likewise.
8460 (isfinite_test_data): Likewise.
8461 (isgreater_test_data): Likewise.
8462 (isgreaterequal_test_data): Likewise.
8463 (isinf_test_data): Likewise.
8464 (isless_test_data): Likewise.
8465 (islessequal_test_data): Likewise.
8466 (islessgreater_test_data): Likewise.
8467 (isnan_test_data): Likewise.
8468 (isnormal_test_data): Likewise.
8469 (issignaling_test_data): Likewise.
8470 (isunordered_test_data): Likewise.
8471 (j0_test_data): Likewise.
8472 (j1_test_data): Likewise.
8473 (jn_test_data): Likewise.
8474 (ldexp_test_data): Likewise.
8475 (lgamma_test_data): Likewise.
8476 (lrint_test_data): Likewise.
8477 (lrint_tonearest_test_data): Likewise.
8478 (lrint_towardzero_test_data): Likewise.
8479 (lrint_downward_test_data): Likewise.
8480 (lrint_upward_test_data): Likewise.
8481 (llrint_test_data): Likewise.
8482 (llrint_tonearest_test_data): Likewise.
8483 (llrint_towardzero_test_data): Likewise.
8484 (llrint_downward_test_data): Likewise.
8485 (llrint_upward_test_data): Likewise.
8486 (log_test_data): Likewise.
8487 (log10_test_data): Likewise.
8488 (log1p_test_data): Likewise.
8489 (log2_test_data): Likewise.
8490 (logb_test_data): Likewise.
8491 (logb_downward_test_data): Likewise.
8492 (lround_test_data): Likewise.
8493 (llround_test_data): Likewise.
8494 (modf_test_data): Likewise.
8495 (nearbyint_test_data): Likewise.
8496 (nextafter_test_data): Likewise.
8497 (nexttoward_test_data): Likewise.
8498 (pow_test_data): Likewise.
8499 (pow_tonearest_test_data): Likewise.
8500 (pow_towardzero_test_data): Likewise.
8501 (pow_downward_test_data): Likewise.
8502 (pow_upward_test_data): Likewise.
8503 (remainder_test_data): Likewise.
8504 (remainder_tonearest_test_data): Likewise.
8505 (remainder_towardzero_test_data): Likewise.
8506 (remainder_downward_test_data): Likewise.
8507 (remainder_upward_test_data): Likewise.
8508 (remquo_test_data): Likewise.
8509 (rint_test_data): Likewise.
8510 (rint_tonearest_test_data): Likewise.
8511 (rint_towardzero_test_data): Likewise.
8512 (rint_downward_test_data): Likewise.
8513 (rint_upward_test_data): Likewise.
8514 (round_test_data): Likewise.
8515 (scalb_test_data): Likewise.
8516 (scalbn_test_data): Likewise.
8517 (scalbln_test_data): Likewise.
8518 (signbit_test_data): Likewise.
8519 (sin_test_data): Likewise.
8520 (sin_tonearest_test_data): Likewise.
8521 (sin_towardzero_test_data): Likewise.
8522 (sin_downward_test_data): Likewise.
8523 (sin_upward_test_data): Likewise.
8524 (sincos_test_data): Likewise.
8525 (sinh_test_data): Likewise.
8526 (sinh_tonearest_test_data): Likewise.
8527 (sinh_towardzero_test_data): Likewise.
8528 (sinh_downward_test_data): Likewise.
8529 (sinh_upward_test_data): Likewise.
8530 (sqrt_test_data): Likewise.
8531 (tan_test_data): Likewise.
8532 (tan_tonearest_test_data): Likewise.
8533 (tan_towardzero_test_data): Likewise.
8534 (tan_downward_test_data): Likewise.
8535 (tan_upward_test_data): Likewise.
8536 (tanh_test_data): Likewise.
8537 (tgamma_test_data): Likewise.
8538 (trunc_test_data): Likewise.
8539 (y0_test_data): Likewise.
8540 (y1_test_data): Likewise.
8541 (yn_test_data): Likewise.
8542 (significand_test_data): Likewise.
8543
8544 * math/gen-libm-test.pl (@functions): Remove variable.
8545 (generate_testfile): Don't handle START and END lines.
8546 * math/libm-test.inc (START): New macro.
8547 (END): Likewise.
8548 (END_COMPLEX): Likewise.
8549 (acos_test): Use END macro without arguments.
8550 (acos_test_tonearest): Likewise.
8551 (acos_test_towardzero): Likewise.
8552 (acos_test_downward): Likewise.
8553 (acos_test_upward): Likewise.
8554 (acosh_test): Likewise.
8555 (asin_test): Likewise.
8556 (asin_test_tonearest): Likewise.
8557 (asin_test_towardzero): Likewise.
8558 (asin_test_downward): Likewise.
8559 (asin_test_upward): Likewise.
8560 (asinh_test): Likewise.
8561 (atan_test): Likewise.
8562 (atanh_test): Likewise.
8563 (atan2_test): Likewise.
8564 (cabs_test): Likewise.
8565 (cacos_test): Use END_COMPLEX macro without arguments.
8566 (cacosh_test): Likewise.
8567 (carg_test): Use END macro without arguments.
8568 (casin_test): Use END_COMPLEX macro without arguments.
8569 (casinh_test): Likewise.
8570 (catan_test): Likewise.
8571 (catanh_test): Likewise.
8572 (cbrt_test): Use END macro without arguments.
8573 (ccos_test): Use END_COMPLEX macro without arguments.
8574 (ccosh_test): Likewise.
8575 (ceil_test): Use END macro without arguments.
8576 (cexp_test): Use END_COMPLEX macro without arguments.
8577 (cimag_test): Use END macro without arguments.
8578 (clog_test): Use END_COMPLEX macro without arguments.
8579 (clog10_test): Likewise.
8580 (conj_test): Likewise.
8581 (copysign_test): Use END macro without arguments.
8582 (cos_test): Likewise.
8583 (cos_test_tonearest): Likewise.
8584 (cos_test_towardzero): Likewise.
8585 (cos_test_downward): Likewise.
8586 (cos_test_upward): Likewise.
8587 (cosh_test): Likewise.
8588 (cosh_test_tonearest): Likewise.
8589 (cosh_test_towardzero): Likewise.
8590 (cosh_test_downward): Likewise.
8591 (cosh_test_upward): Likewise.
8592 (cpow_test): Use END_COMPLEX macro without arguments.
8593 (cproj_test): Likewise.
8594 (creal_test): Use END macro without arguments.
8595 (csin_test): Use END_COMPLEX macro without arguments.
8596 (csinh_test): Likewise.
8597 (csqrt_test): Likewise.
8598 (ctan_test): Likewise.
8599 (ctan_test_tonearest): Likewise.
8600 (ctan_test_towardzero): Likewise.
8601 (ctan_test_downward): Likewise.
8602 (ctan_test_upward): Likewise.
8603 (ctanh_test): Likewise.
8604 (ctanh_test_tonearest): Likewise.
8605 (ctanh_test_towardzero): Likewise.
8606 (ctanh_test_downward): Likewise.
8607 (ctanh_test_upward): Likewise.
8608 (erf_test): Use END macro without arguments.
8609 (erfc_test): Likewise.
8610 (exp_test): Likewise.
8611 (exp_test_tonearest): Likewise.
8612 (exp_test_towardzero): Likewise.
8613 (exp_test_downward): Likewise.
8614 (exp_test_upward): Likewise.
8615 (exp10_test): Likewise.
8616 (exp2_test): Likewise.
8617 (expm1_test): Likewise.
8618 (fabs_test): Likewise.
8619 (fdim_test): Likewise.
8620 (finite_test): Likewise.
8621 (floor_test): Likewise.
8622 (fma_test): Likewise.
8623 (fma_test_towardzero): Likewise.
8624 (fma_test_downward): Likewise.
8625 (fma_test_upward): Likewise.
8626 (fmax_test): Likewise.
8627 (fmin_test): Likewise.
8628 (fmod_test): Likewise.
8629 (fpclassify_test): Likewise.
8630 (frexp_test): Likewise.
8631 (gamma_test): Likewise.
8632 (hypot_test): Likewise.
8633 (ilogb_test): Likewise.
8634 (isfinite_test): Likewise.
8635 (isgreater_test): Likewise.
8636 (isgreaterequal_test): Likewise.
8637 (isinf_test): Likewise.
8638 (isless_test): Likewise.
8639 (islessequal_test): Likewise.
8640 (islessgreater_test): Likewise.
8641 (isnan_test): Likewise.
8642 (isnormal_test): Likewise.
8643 (issignaling_test): Likewise.
8644 (isunordered_test): Likewise.
8645 (j0_test): Likewise.
8646 (j1_test): Likewise.
8647 (jn_test): Likewise.
8648 (ldexp_test): Likewise.
8649 (lgamma_test): Likewise.
8650 (lrint_test): Likewise.
8651 (lrint_test_tonearest): Likewise.
8652 (lrint_test_towardzero): Likewise.
8653 (lrint_test_downward): Likewise.
8654 (lrint_test_upward): Likewise.
8655 (llrint_test): Likewise.
8656 (llrint_test_tonearest): Likewise.
8657 (llrint_test_towardzero): Likewise.
8658 (llrint_test_downward): Likewise.
8659 (llrint_test_upward): Likewise.
8660 (log_test): Likewise.
8661 (log10_test): Likewise.
8662 (log1p_test): Likewise.
8663 (log2_test): Likewise.
8664 (logb_test): Likewise.
8665 (logb_test_downward): Likewise.
8666 (lround_test): Likewise.
8667 (llround_test): Likewise.
8668 (modf_test): Likewise.
8669 (nearbyint_test): Likewise.
8670 (nextafter_test): Likewise.
8671 (nexttoward_test): Likewise.
8672 (pow_test): Likewise.
8673 (pow_test_tonearest): Likewise.
8674 (pow_test_towardzero): Likewise.
8675 (pow_test_downward): Likewise.
8676 (pow_test_upward): Likewise.
8677 (remainder_test): Likewise.
8678 (remainder_test_tonearest): Likewise.
8679 (remainder_test_towardzero): Likewise.
8680 (remainder_test_downward): Likewise.
8681 (remainder_test_upward): Likewise.
8682 (remquo_test): Likewise.
8683 (rint_test): Likewise.
8684 (rint_test_tonearest): Likewise.
8685 (rint_test_towardzero): Likewise.
8686 (rint_test_downward): Likewise.
8687 (rint_test_upward): Likewise.
8688 (round_test): Likewise.
8689 (scalb_test): Likewise.
8690 (scalbn_test): Likewise.
8691 (scalbln_test): Likewise.
8692 (signbit_test): Likewise.
8693 (sin_test): Likewise.
8694 (sin_test_tonearest): Likewise.
8695 (sin_test_towardzero): Likewise.
8696 (sin_test_downward): Likewise.
8697 (sin_test_upward): Likewise.
8698 (sincos_test): Likewise.
8699 (sinh_test): Likewise.
8700 (sinh_test_tonearest): Likewise.
8701 (sinh_test_towardzero): Likewise.
8702 (sinh_test_downward): Likewise.
8703 (sinh_test_upward): Likewise.
8704 (sqrt_test): Likewise.
8705 (tan_test): Likewise.
8706 (tan_test_tonearest): Likewise.
8707 (tan_test_towardzero): Likewise.
8708 (tan_test_downward): Likewise.
8709 (tan_test_upward): Likewise.
8710 (tanh_test): Likewise.
8711 (tgamma_test): Likewise.
8712 (trunc_test): Likewise.
8713 (y0_test): Likewise.
8714 (y1_test): Likewise.
8715 (yn_test): Likewise.
8716 (significand_test): Likewise.
8717
8718 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8719
8720 [BZ #15381]
8721 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8722
8723 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8724
8725 [BZ #14894]
8726 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8727 __ppc_mdoio and __ppc_mdoom.
8728 * manual/platform.texi: Document new functions __ppc_yield,
8729 __ppc_mdoio and __ppc_mdoom.
8730
8731 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8732
8733 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8734 (main): Mention "tls" pseudo-hwcap is legacy.
8735 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8736
8737 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8738
8739 * math/gen-libm-test.pl (parse_args): Output only string of
8740 arguments as text for test name, not full call or descriptions of
8741 tests for extra outputs.
8742 (generate_testfile): Do not pass function name to parse_args.
8743 Generate this_func variable from START.
8744 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8745 field to arg_str.
8746 (struct test_ff_f_data): Likewise.
8747 (test_ff_f_data_nexttoward): Likewise.
8748 (struct test_fi_f_data): Likewise.
8749 (struct test_fl_f_data): Likewise.
8750 (struct test_if_f_data): Likewise.
8751 (struct test_fff_f_data): Likewise.
8752 (struct test_c_f_data): Likewise.
8753 (struct test_f_f1_data): Likewise. Remove field extra_name.
8754 (struct test_fF_f1_data): Likewise.
8755 (struct test_ffI_f1_data): Likewise.
8756 (struct test_c_c_data): Rename test_name field to arg_str.
8757 (struct test_cc_c_data): Likewise.
8758 (struct test_f_i_data): Likewise.
8759 (struct test_ff_i_data): Likewise.
8760 (struct test_f_l_data): Likewise.
8761 (struct test_f_L_data): Likewise.
8762 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8763 and extra2_name.
8764 (COMMON_TEST_SETUP): New macro.
8765 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8766 (COMMON_TEST_CLEANUP): Likewise.
8767 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8768 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8769 macros.
8770 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8771 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8772 macros.
8773 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8774 (RUN_TEST_fff_f): Take argument string. Call new setup and
8775 cleanup macros.
8776 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8777 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8778 macros.
8779 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8780 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8781 macros.
8782 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8783 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8784 cleanup macros.
8785 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8786 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8787 cleanup macros.
8788 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8789 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8790 cleanup macros.
8791 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8792 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8793 macros.
8794 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8795 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8796 macros.
8797 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8798 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8799 macros.
8800 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8801 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8802 cleanup macros.
8803 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8804 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8805 cleanup macros.
8806 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8807 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8808 macros.
8809 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8810 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8811 cleanup macros.
8812 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8813 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8814 macros.
8815 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8816 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8817 macros.
8818 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8819 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8820 cleanup macros.
8821 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8822
8823 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8824
8825 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8826 to _sifields.sigfault.
8827 (si_addr_lsb): Define new macro.
8828 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8829 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8830 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8831
8832 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8833
8834 [BZ #15441]
8835 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8836 returns -1.
8837 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8838 null return -1.
8839 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8840 loading the domain.
8841
8842 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8843
8844 * math/gen-libm-test.pl (parse_args): Do not include expected
8845 result in test name.
8846 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8847 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8848 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8849 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8850 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8852
8853 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8854
8855 * benchtests/Makefile: Sort function entries.
8856
8857 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8858 tanh, asinh, acosh, atanh.
8859 * benchtests/acos-inputs: New file.
8860 * benchtests/acosh-inputs: New file.
8861 * benchtests/asin-inputs: New file.
8862 * benchtests/asinh-inputs: New file.
8863 * benchtests/atanh-inputs: New file.
8864 * benchtests/cosh-inputs: New file.
8865 * benchtests/log-inputs: New file.
8866 * benchtests/sinh-inputs: New file.
8867 * benchtests/tanh-inputs: New file.
8868
8869 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8870
8871 [BZ #15339]
8872 * posix/tst-getaddrinfo4.c: New test.
8873 * posix/Makefile (tests): Add it.
8874
8875 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8876
8877 [BZ #15339]
8878 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8879 when no services were used.
8880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8881 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8882
8883 2013-05-21 Andreas Schwab <schwab@suse.de>
8884
8885 [BZ #15014]
8886 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8887 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8888 successful.
8889 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8890 redundant variable declarations and reallocation of buffer when
8891 parsing as IPv6 address. Always set NSS status when called from
8892 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8893 buffer too small. Correct computation of needed size.
8894 * nss/Makefile (tests): Add test-digits-dots.
8895 * nss/test-digits-dots.c: New test.
8896
8897 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8898
8899 * benchtests/Makefile: Remove instructions for adding
8900 benchmark tests.
8901 * benchtests/README: New file to explain how to execute and
8902 enhance the benchmark tests.
8903
8904 2013-05-21 Andreas Schwab <schwab@suse.de>
8905
8906 [BZ #15493]
8907 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8908 * setjmp/tst-sigsetjmp.c: New test.
8909
8910 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8911
8912 * sysdeps/x86_64/memset.S (memset): New implementation.
8913 (__bzero): Likewise.
8914 (__memset_tail): New function.
8915
8916 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8917
8918 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8919 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8920 __memcpy_sse2_unaligned ifunc selection.
8921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8922 Add memcpy-sse2-unaligned.S.
8923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8924 Add: __memcpy_sse2_unaligned.
8925
8926 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8927
8928 [BZ #15490]
8929 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8930 math_force_eval before restoring floating-point envrionment.
8931 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8933 Likewise.
8934 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8935 <math_private.h>.
8936 (__nearbyintl): Use math_force_eval before restoring
8937 floating-point environment.
8938 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8939
8940 * math/gen-libm-test.pl (special_functions): Remove.
8941 (parse_args): Don't handle TEST_extra. Handle functions with no
8942 return value.
8943 * math/libm-test.inc (struct test_sincos_data): Replace with
8944 struct test_fFF_11_data.
8945 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8946 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8947 (sincos_test_data): Change element type to struct
8948 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8949 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8950 RUN_TEST_LOOP_sincos.
8951 * math/README.libm-test: Don't mention special handling of
8952 individual functions.
8953 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8954 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8955 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8956 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8957 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8959
8960 * math/gen-libm-test.pl (get_variable): Remove function.
8961 (parse_args): Don't show pointer parameters to call in test
8962 names. Use "extra output N" in test names for extra outputs
8963 rather than naming variables.
8964
8965 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8966
8967 [BZ #15488]
8968 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8969 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8970 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8971 double tests.
8972 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8973 disable.
8974 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8975 check_long_double.
8976
8977 * math/gen-libm-test.pl (@tests): Remove variable.
8978 ($count): Likewise.
8979 (new_test): Remove function.
8980 (show_exceptions): New function.
8981 (special_functions): Use show_exceptions instead of new_test.
8982 (parse_args): Likewise.
8983 (generate_testfile): Pass only function name in generated call to
8984 print_max_error or print_complex_max_error.
8985 (get_ulps): Do not handle complex tests specially.
8986 (output_test): Rename to ...
8987 (get_all_ulps_for_test): ... this. Return a string rather than
8988 printing to a file. Require ulps to be present.
8989 (output_ulps): Generate arrays rather than #defines.
8990 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8991 (struct ulp_data): New type.
8992 (BUILD_COMPLEX_ULP): Remove macro.
8993 (compare_ulp_data): New function.
8994 (find_ulps): Likewise.
8995 (find_test_ulps): Likewise.
8996 (find_function_ulps): Likewise.
8997 (find_complex_function_ulps): Likewise.
8998 (print_max_error): Determine allowed ulps using
8999 find_function_ulps.
9000 (print_complex_max_error): Determine allowed ulps using
9001 find_complex_function_ulps.
9002 (check_float_internal): Determine max ulps using find_test_ulps.
9003 (check_float): Do not take max_ulp parameter. Update call to
9004 check_float_internal.
9005 (check_complex): Likewise.
9006 (check_int): Do not take max_ulp parameter.
9007 (check_long): Likewise.
9008 (check_bool): Likewise.
9009 (check_longlong): Likewise.
9010 (struct test_f_f_data): Remove max_ulp field.
9011 (struct test_ff_f_data): Likewise.
9012 (struct test_ff_f_data_nexttoward): Likewise.
9013 (struct test_fi_f_data): Likewise.
9014 (struct test_fl_f_data): Likewise.
9015 (struct test_if_f_data): Likewise.
9016 (struct test_fff_f_data): Likewise.
9017 (struct test_c_f_data): Likewise.
9018 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9019 (struct test_fF_f1_data): Likewise.
9020 (struct test_ffI_f1_data): Likewise.
9021 (struct test_c_c_data): Remove max_ulp field.
9022 (struct test_cc_c_data): Likewise.
9023 (struct test_f_i_data): Likewise.
9024 (struct test_ff_i_data): Likewise.
9025 (struct test_f_l_data): Likewise.
9026 (struct test_f_L_data): Likewise.
9027 (struct test_sincos_data): Likewise.
9028 (RUN_TEST_f_f): Do not handle ulps.
9029 (RUN_TEST_LOOP_f_f): Likewise.
9030 (RUN_TEST_2_f): Likewise.
9031 (RUN_TEST_LOOP_2_f): Likewise.
9032 (RUN_TEST_fff_f): Likewise.
9033 (RUN_TEST_LOOP_fff_f): Likewise.
9034 (RUN_TEST_c_f): Likewise.
9035 (RUN_TEST_LOOP_c_f): Likewise.
9036 (RUN_TEST_f_f1): Likewise.
9037 (RUN_TEST_LOOP_f_f1): Likewise.
9038 (RUN_TEST_fF_f1): Likewise.
9039 (RUN_TEST_LOOP_fF_f1): Likewise.
9040 (RUN_TEST_fI_f1): Likewise.
9041 (RUN_TEST_LOOP_fI_f1): Likewise.
9042 (RUN_TEST_ffI_f1): Likewise.
9043 (RUN_TEST_LOOP_ffI_f1): Likewise.
9044 (RUN_TEST_c_c): Likewise.
9045 (RUN_TEST_LOOP_c_c): Likewise.
9046 (RUN_TEST_cc_c): Likewise.
9047 (RUN_TEST_LOOP_cc_c): Likewise.
9048 (RUN_TEST_f_i): Likewise.
9049 (RUN_TEST_LOOP_f_i): Likewise.
9050 (RUN_TEST_f_i_tg): Likewise.
9051 (RUN_TEST_LOOP_f_i_tg): Likewise.
9052 (RUN_TEST_ff_i_tg): Likewise.
9053 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9054 (RUN_TEST_f_b): Likewise.
9055 (RUN_TEST_LOOP_f_b): Likewise.
9056 (RUN_TEST_f_b_tg): Likewise.
9057 (RUN_TEST_LOOP_f_b_tg): Likewise.
9058 (RUN_TEST_f_l): Likewise.
9059 (RUN_TEST_LOOP_f_l): Likewise.
9060 (RUN_TEST_f_L): Likewise.
9061 (RUN_TEST_LOOP_f_L): Likewise.
9062 (RUN_TEST_sincos): Likewise.
9063 (RUN_TEST_LOOP_sincos): Likewise.
9064
9065 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9066
9067 [BZ #15480]
9068 [BZ #15485]
9069 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9070 main case of finite arguments, set rounding mode to FE_TONEAREST
9071 and discard exceptions.
9072 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9073 exceptions.
9074 (remainder_tonearest_test_data): New variable.
9075 (remainder_test_tonearest): New function.
9076 (remainder_towardzero_test_data): New variable.
9077 (remainder_test_towardzero): New function.
9078 (remainder_downward_test_data): New variable.
9079 (remainder_test_downward): New function.
9080 (remainder_upward_test_data): New variable.
9081 (remainder_test_upward): New function.
9082 (main): Call the new test functions.
9083
9084 * math/libm-test.inc (struct test_f_f1_data): Remove field
9085 extra_init.
9086 (struct test_fF_f1_data): Likewise.
9087 (struct test_ffI_f1_data): Likewise.
9088 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9089 based on value of EXTRA_EXPECTED.
9090 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9091 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9092 EXTRA_VAR based on value of EXTRA_EXPECTED.
9093 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9094 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9095 EXTRA_VAR based on value of EXTRA_EXPECTED.
9096 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9097 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9098 EXTRA_VAR based on value of EXTRA_EXPECTED.
9099 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9100 * math/gen-libm-test.pl (parse_args): Don't output initializers
9101 for extra output values.
9102
9103 * math/libm-test.inc (check_int): Expect result to be exactly
9104 equal to expected value and do not handle ulps.
9105 (check_long): Likewise.
9106 (check_longlong): Likewise.
9107
9108 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9109 exceptions.
9110 (cimag_test_data): Likewise.
9111 (conj_test_data): Likewise.
9112 (copysign_test_data): Likewise.
9113 (cproj_test_data): Likewise.
9114 (creal_test_data): Likewise.
9115 (fabs_test_data): Likewise.
9116 (fdim_test_data): Likewise.
9117 (finite_test_data): Likewise.
9118 (floor_test_data): Likewise.
9119 (fmax_test_data): Likewise.
9120 (fmin_test_data): Likewise.
9121 (fmod_test_data): Likewise.
9122 (fpclassify_test_data): Likewise.
9123 (frexp_test_data): Likewise.
9124 (ilogb_test_data): Likewise.
9125 (isfinite_test_data): Likewise.
9126 (isgreater_test_data): Likewise.
9127 (isgreaterequal_test_data): Likewise.
9128 (isinf_test_data): Likewise.
9129 (isless_test_data): Likewise.
9130 (islessequal_test_data): Likewise.
9131 (islessgreater_test_data): Likewise.
9132 (isnan_test_data): Likewise.
9133 (isnormal_test_data): Likewise.
9134 (issignaling_test_data): Likewise.
9135 (isunordered_test_data): Likewise.
9136 (ldexp_test_data): Likewise.
9137 (lrint_test_data): Likewise.
9138 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9139 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9140 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9141 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9142 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9143 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9144 test input.
9145 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9146 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9147 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9148 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9149 that test input.
9150 (lrint_downward_test_data): Test for "inexact" exceptions.
9151 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9152 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9153 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9154 test input.
9155 (lrint_upward_test_data): Test for "inexact" exceptions.
9156 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9157 test input.
9158 (llrint_test_data): Test for "inexact" exceptions.
9159 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9160 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9161 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9162 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9163 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9164 (llrint_downward_test_data): Test for "inexact" exceptions.
9165 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9166 (llrint_upward_test_data): Test for "inexact" exceptions.
9167 (logb_test_data): Likewise.
9168 (logb_downward_test_data): Likewise.
9169 (nextafter_test_data): Likewise.
9170 (nexttoward_test_data): Likewise.
9171 (remainder_test_data): Likewise.
9172 (remquo_test_data): Likewise.
9173 (scalbn_test_data): Likewise.
9174 (scalbln_test_data): Likewise.
9175 (signbit_test_data): Likewise.
9176 (sqrt_test_data): Likewise.
9177 (significand_test_data): Likewise.
9178
9179 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9180
9181 [BZ #15424]
9182 * benchtests/bench-modf.c (struct args): Mark arg0 as
9183 volatile.
9184 * scripts/bench.pl: Mark members of struct args as volatile.
9185
9186 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9187
9188 [BZ # 15497]
9189 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9190 negative infinity on POWER6 or lower.
9191 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9192
9193 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9194
9195 [BZ #15442]
9196 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9197 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9198 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9199 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9200 (_FP_SETQNAN): New macro.
9201 (_FP_SETQNAN_SEMIRAW): Likewise.
9202 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9203 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9204 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9205 (FP_EXTEND): Use _FP_FRAC_SNANP.
9206 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9207 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9208 into account.
9209 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9210 New macro.
9211 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9212 Likewise.
9213
9214 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9215
9216 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9217 with DIVIDE_BY_ZERO_EXCEPTION.
9218 (gamma_test_data): Likewise.
9219 (lgamma_test_data): Likewise.
9220 (log_test_data): Likewise.
9221 (log10_test_data): Likewise.
9222 (log2_test_data): Likewise.
9223 (tgamma_test_data): Likewise.
9224
9225 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9226 (acos_test_tonearest): Likewise.
9227 (acos_test_towardzero): Likewise.
9228 (acos_test_downward): Likewise.
9229 (acos_test_upward): Likewise.
9230 (acosh_test): Likewise.
9231 (asin_test): Likewise.
9232 (asin_test_tonearest): Likewise.
9233 (asin_test_towardzero): Likewise.
9234 (asin_test_downward): Likewise.
9235 (asin_test_upward): Likewise.
9236 (asinh_test): Likewise.
9237 (atan_test): Likewise.
9238 (atanh_test): Likewise.
9239 (atan2_test): Likewise.
9240 (cabs_test): Likewise.
9241 (cacos_test): Likewise.
9242 (cacosh_test): Likewise.
9243 (casin_test): Likewise.
9244 (casinh_test): Likewise.
9245 (catan_test): Likewise.
9246 (catanh_test): Likewise.
9247 (cbrt_test): Likewise.
9248 (ccos_test): Likewise.
9249 (ccosh_test): Likewise.
9250 (cexp_test): Likewise.
9251 (clog_test): Likewise.
9252 (clog10_test): Likewise.
9253 (cos_test): Likewise.
9254 (cos_test_tonearest): Likewise.
9255 (cos_test_towardzero): Likewise.
9256 (cos_test_downward): Likewise.
9257 (cos_test_upward): Likewise.
9258 (cosh_test): Likewise.
9259 (cosh_test_tonearest): Likewise.
9260 (cosh_test_towardzero): Likewise.
9261 (cosh_test_downward): Likewise.
9262 (cosh_test_upward): Likewise.
9263 (cpow_test): Likewise.
9264 (csin_test): Likewise.
9265 (csinh_test): Likewise.
9266 (csqrt_test): Likewise.
9267 (ctan_test): Likewise.
9268 (ctan_test_tonearest): Likewise.
9269 (ctan_test_towardzero): Likewise.
9270 (ctan_test_downward): Likewise.
9271 (ctan_test_upward): Likewise.
9272 (ctanh_test): Likewise.
9273 (ctanh_test_tonearest): Likewise.
9274 (ctanh_test_towardzero): Likewise.
9275 (ctanh_test_downward): Likewise.
9276 (ctanh_test_upward): Likewise.
9277 (erf_test): Likewise.
9278 (erfc_test): Likewise.
9279 (exp_test): Likewise.
9280 (exp_test_tonearest): Likewise.
9281 (exp_test_towardzero): Likewise.
9282 (exp_test_downward): Likewise.
9283 (exp_test_upward): Likewise.
9284 (exp10_test): Likewise.
9285 (exp2_test): Likewise.
9286 (expm1_test): Likewise.
9287 (fmod_test): Likewise.
9288 (gamma_test): Likewise.
9289 (hypot_test): Likewise.
9290 (j0_test): Likewise.
9291 (j1_test): Likewise.
9292 (jn_test): Likewise.
9293 (lgamma_test): Likewise.
9294 (log_test): Likewise.
9295 (log10_test): Likewise.
9296 (log1p_test): Likewise.
9297 (log2_test): Likewise.
9298 (logb_test_downward): Likewise.
9299 (pow_test): Likewise.
9300 (pow_test_tonearest): Likewise.
9301 (pow_test_towardzero): Likewise.
9302 (pow_test_downward): Likewise.
9303 (pow_test_upward): Likewise.
9304 (remainder_test): Likewise.
9305 (remquo_test): Likewise.
9306 (sin_test): Likewise.
9307 (sin_test_tonearest): Likewise.
9308 (sin_test_towardzero): Likewise.
9309 (sin_test_downward): Likewise.
9310 (sin_test_upward): Likewise.
9311 (sincos_test): Likewise.
9312 (sinh_test): Likewise.
9313 (sinh_test_tonearest): Likewise.
9314 (sinh_test_towardzero): Likewise.
9315 (sinh_test_downward): Likewise.
9316 (sinh_test_upward): Likewise.
9317 (sqrt_test): Likewise.
9318 (tan_test): Likewise.
9319 (tan_test_tonearest): Likewise.
9320 (tan_test_towardzero): Likewise.
9321 (tan_test_downward): Likewise.
9322 (tan_test_upward): Likewise.
9323 (tanh_test): Likewise.
9324 (tgamma_test): Likewise.
9325 (y0_test): Likewise.
9326 (y1_test): Likewise.
9327 (yn_test): Likewise.
9328
9329 * math/gen-libm-test.pl (adjust_arg): Remove function.
9330 (special_function): Remove argument $in_func. Only handle
9331 generating output for tables of tests, not inside functions.
9332 (parse_args): Likewise.
9333 (generate_testfile): Remove variable $in_func. Update call to
9334 parse_args.
9335 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9336 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9337 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9338 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9339 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9340 (MAX_VALUE_INIT): Rename macro to max_value.
9341 (MIN_VALUE_INIT): Rename macro to min_value.
9342 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9343 (plus_zero): Remove variable.
9344 (minus_zero): Likewise.
9345 (plus_infty): Likewise.
9346 (minus_infty): Likewise.
9347 (qnan_value): Likewise.
9348 (max_value): Likewise.
9349 (min_value): Likewise.
9350 (min_subnorm_value): Likewise.
9351
9352 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9353
9354 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9355 uint64_t or uint32_t usage.
9356 * crypt/sha256-block.c: Likewise.
9357 * crypt/sha256-crypt.c: Likewise.
9358 * crypt/sha256.c: Likewise.
9359 * crypt/sha512-block.c: Likewise.
9360 * crypt/sha512-crypt.c: Likewise.
9361 * crypt/sha512.c: Likewise.
9362 * debug/backtrace-tst.c: Likewise.
9363 * debug/pcprofiledump.c: Likewise.
9364 * elf/cache.c: Likewise.
9365 * elf/dl-cache.c: Likewise.
9366 * elf/dl-misc.c: Likewise.
9367 * elf/dl-profile.c: Likewise.
9368 * elf/dl-support.c: Likewise.
9369 * elf/ldconfig.c: Likewise.
9370 * elf/sprof.c: Likewise.
9371 * iconv/dummy-repertoire.c: Likewise.
9372 * iconv/iconv_charmap.c: Likewise.
9373 * iconv/skeleton.c: Likewise.
9374 * iconvdata/8bit-generic.c: Likewise.
9375 * iconvdata/cp737.h: Likewise.
9376 * iconvdata/cp775.h: Likewise.
9377 * iconvdata/ibm1008.h: Likewise.
9378 * iconvdata/ibm1025.h: Likewise.
9379 * iconvdata/ibm1046.h: Likewise.
9380 * iconvdata/ibm1097.h: Likewise.
9381 * iconvdata/ibm1112.h: Likewise.
9382 * iconvdata/ibm1122.h: Likewise.
9383 * iconvdata/ibm1123.h: Likewise.
9384 * iconvdata/ibm1124.h: Likewise.
9385 * iconvdata/ibm1129.h: Likewise.
9386 * iconvdata/ibm1130.h: Likewise.
9387 * iconvdata/ibm1132.h: Likewise.
9388 * iconvdata/ibm1133.h: Likewise.
9389 * iconvdata/ibm1137.h: Likewise.
9390 * iconvdata/ibm1140.h: Likewise.
9391 * iconvdata/ibm1141.h: Likewise.
9392 * iconvdata/ibm1142.h: Likewise.
9393 * iconvdata/ibm1143.h: Likewise.
9394 * iconvdata/ibm1144.h: Likewise.
9395 * iconvdata/ibm1145.h: Likewise.
9396 * iconvdata/ibm1146.h: Likewise.
9397 * iconvdata/ibm1147.h: Likewise.
9398 * iconvdata/ibm1148.h: Likewise.
9399 * iconvdata/ibm1149.h: Likewise.
9400 * iconvdata/ibm1153.h: Likewise.
9401 * iconvdata/ibm1154.h: Likewise.
9402 * iconvdata/ibm1155.h: Likewise.
9403 * iconvdata/ibm1156.h: Likewise.
9404 * iconvdata/ibm1157.h: Likewise.
9405 * iconvdata/ibm1158.h: Likewise.
9406 * iconvdata/ibm1160.h: Likewise.
9407 * iconvdata/ibm1161.h: Likewise.
9408 * iconvdata/ibm1162.h: Likewise.
9409 * iconvdata/ibm1163.h: Likewise.
9410 * iconvdata/ibm1164.h: Likewise.
9411 * iconvdata/ibm1166.h: Likewise.
9412 * iconvdata/ibm1167.h: Likewise.
9413 * iconvdata/ibm12712.h: Likewise.
9414 * iconvdata/ibm1390.h: Likewise.
9415 * iconvdata/ibm1399.h: Likewise.
9416 * iconvdata/ibm16804.h: Likewise.
9417 * iconvdata/ibm4517.h: Likewise.
9418 * iconvdata/ibm4899.h: Likewise.
9419 * iconvdata/ibm4909.h: Likewise.
9420 * iconvdata/ibm4971.h: Likewise.
9421 * iconvdata/ibm5347.h: Likewise.
9422 * iconvdata/ibm803.h: Likewise.
9423 * iconvdata/ibm856.h: Likewise.
9424 * iconvdata/ibm901.h: Likewise.
9425 * iconvdata/ibm902.h: Likewise.
9426 * iconvdata/ibm9030.h: Likewise.
9427 * iconvdata/ibm9066.h: Likewise.
9428 * iconvdata/ibm921.h: Likewise.
9429 * iconvdata/ibm922.h: Likewise.
9430 * iconvdata/ibm9448.h: Likewise.
9431 * iconvdata/isiri-3342.h: Likewise.
9432 * iconvdata/jis0201.h: Likewise.
9433 * include/link.h: Likewise.
9434 * include/netdb.h: Likewise.
9435 * inet/check_native.c: Likewise.
9436 * inet/check_pf.c: Likewise.
9437 * inet/getipv4sourcefilter.c: Likewise.
9438 * inet/getnameinfo.c: Likewise.
9439 * inet/getsourcefilter.c: Likewise.
9440 * inet/htonl.c: Likewise.
9441 * inet/setipv4sourcefilter.c: Likewise.
9442 * inet/setsourcefilter.c: Likewise.
9443 * inet/test-inet6_opt.c: Likewise.
9444 * inet/tst-network.c: Likewise.
9445 * locale/C-collate.c: Likewise.
9446 * locale/C-ctype.c: Likewise.
9447 * locale/C-time.c: Likewise.
9448 * locale/C-translit.h: Likewise.
9449 * locale/loadarchive.c: Likewise.
9450 * locale/programs/3level.h: Likewise.
9451 * locale/programs/charmap.c: Likewise.
9452 * locale/programs/charmap.h: Likewise.
9453 * locale/programs/ld-address.c: Likewise.
9454 * locale/programs/ld-collate.c: Likewise.
9455 * locale/programs/ld-ctype.c: Likewise.
9456 * locale/programs/ld-identification.c: Likewise.
9457 * locale/programs/ld-measurement.c: Likewise.
9458 * locale/programs/ld-messages.c: Likewise.
9459 * locale/programs/ld-monetary.c: Likewise.
9460 * locale/programs/ld-name.c: Likewise.
9461 * locale/programs/ld-numeric.c: Likewise.
9462 * locale/programs/ld-paper.c: Likewise.
9463 * locale/programs/ld-telephone.c: Likewise.
9464 * locale/programs/ld-time.c: Likewise.
9465 * locale/programs/linereader.c: Likewise.
9466 * locale/programs/locale.c: Likewise.
9467 * locale/programs/locarchive.c: Likewise.
9468 * locale/programs/locfile.h: Likewise.
9469 * locale/programs/repertoire.c: Likewise.
9470 * locale/programs/simple-hash.c: Likewise.
9471 * locale/programs/simple-hash.h: Likewise.
9472 * malloc/memusage.c: Likewise.
9473 * malloc/memusagestat.c: Likewise.
9474 * nis/nis_defaults.c: Likewise.
9475 * nis/nis_hash.c: Likewise.
9476 * nis/nis_print.c: Likewise.
9477 * nis/nis_xdr.c: Likewise.
9478 * nscd/connections.c: Likewise.
9479 * nscd/hstcache.c: Likewise.
9480 * nscd/nscd_gethst_r.c: Likewise.
9481 * nscd/nscd_getserv_r.c: Likewise.
9482 * nscd/nscd_helper.c: Likewise.
9483 * nscd/servicescache.c: Likewise.
9484 * nss/makedb.c: Likewise.
9485 * nss/nss_db/db-XXX.c: Likewise.
9486 * nss/nss_db/db-initgroups.c: Likewise.
9487 * nss/nss_db/db-netgrp.c: Likewise.
9488 * nss/nss_files/files-network.c: Likewise.
9489 * nss/nss_files/files-parse.c: Likewise.
9490 * posix/bug-regex5.c: Likewise.
9491 * posix/fnmatch_loop.c: Likewise.
9492 * posix/regcomp.c: Likewise.
9493 * posix/regexec.c: Likewise.
9494 * posix/tst-rfc3484-2.c: Likewise.
9495 * posix/tst-rfc3484-3.c: Likewise.
9496 * posix/tst-rfc3484.c: Likewise.
9497 * resolv/nss_dns/dns-canon.c: Likewise.
9498 * resolv/nss_dns/dns-network.c: Likewise.
9499 * resolv/res_init.c: Likewise.
9500 * resolv/res_mkquery.c: Likewise.
9501 * resolv/tst-aton.c: Likewise.
9502 * stdlib/cxa_atexit.c: Likewise.
9503 * stdlib/cxa_finalize.c: Likewise.
9504 * stdlib/gen-fpioconst.c: Likewise.
9505 * stdlib/strtol_l.c: Likewise.
9506 * string/tst-endian.c: Likewise.
9507 * sunrpc/auth_des.c: Likewise.
9508 * sunrpc/clnt_udp.c: Likewise.
9509 * sunrpc/rtime.c: Likewise.
9510 * sunrpc/svcauth_des.c: Likewise.
9511 * sunrpc/xdr.c: Likewise.
9512 * sunrpc/xdr_intXX_t.c: Likewise.
9513 * sunrpc/xdr_rec.c: Likewise.
9514 * sysdeps/generic/ldconfig.h: Likewise.
9515 * sysdeps/generic/ldsodefs.h: Likewise.
9516 * sysdeps/generic/memusage.h: Likewise.
9517 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9520 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9527 * sysdeps/posix/getaddrinfo.c: Likewise.
9528 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9529 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9530 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9531 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9532 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9533 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9534 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9535 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9536 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9537 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9538 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9539 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9540 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9541 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9542 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9543 * sysdeps/x86_64/dl-tls.h: Likewise.
9544 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9545 * time/alt_digit.c: Likewise.
9546 * time/era.c: Likewise.
9547 * wcsmbs/tst-c16c32-1.c: Likewise.
9548
9549 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9550
9551 * math/libm-test.inc (struct test_sincos_data): New type.
9552 (RUN_TEST_LOOP_sincos): New macro.
9553 (sincos_test_data): New variable.
9554 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9555
9556 2013-05-16 Richard Henderson <rth@redhat.com>
9557
9558 * math/atest-exp2.c (LIMB64): New macro.
9559 (CONSTSZ): New macro.
9560 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9561 (hexdig): Move ...
9562 (print_mpn_fp): ... to function scope.
9563 (read_mpn_hex): Remove.
9564 (get_log2): Remove.
9565 (exp2_mpn): Use mp_log2.
9566 (main): Use mp_exp1.
9567
9568 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9569
9570 * math/libm-test.inc: Remove comment about not testing "inexact"
9571 exceptions.
9572 (INEXACT_EXCEPTION): New macro.
9573 (NO_INEXACT_EXCEPTION): Likewise.
9574 (INVALID_EXCEPTION_OK): Update value.
9575 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9576 (OVERFLOW_EXCEPTION_OK): Likewise.
9577 (UNDERFLOW_EXCEPTION_OK): Likewise.
9578 (IGNORE_ZERO_INF_SIGN): Likewise.
9579 (ERRNO_UNCHANGED): Likewise.
9580 (ERRNO_EDOM): Likewise.
9581 (ERRNO_ERANGE): Likewise.
9582 (test_exceptions): Handle testing "inexact" exceptions.
9583 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9584 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9585 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9586 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9587 INEXACT_EXCEPTION.
9588 (rint_towardzero_test_data): Likewise.
9589 (rint_downward_test_data): Likewise.
9590 (rint_upward_test_data): Likewise.
9591
9592 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9593 with OVERFLOW_EXCEPTION.
9594 (exp10_test_data): Likewise.
9595 (exp2_test_data): Likewise.
9596 (expm1_test_data): Likewise.
9597 (lgamma_test_data): Likewise.
9598 (pow_test_data): Likewise.
9599 (tgamma_test_data): Likewise.
9600 (yn_test_data): Remove duplicate test of overflow.
9601
9602 * math/libm-test.inc (struct test_cc_c_data): New type.
9603 (RUN_TEST_LOOP_cc_c): New macro.
9604 (cpow_test_data): New variable.
9605 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9606
9607 * math/libm-test.inc (struct test_f_L_data): New type.
9608 (RUN_TEST_LOOP_f_L): New macro.
9609 (llrint_test_data): New variable.
9610 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9611 (llrint_tonearest_test_data): New variable.
9612 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9613 (llrint_towardzero_test_data): New variable.
9614 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9615 (llrint_downward_test_data): New variable.
9616 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9617 (llrint_upward_test_data): New variable.
9618 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9619 (llround_test_data): New variable.
9620 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9621
9622 2013-05-13 Peter Collingbourne <pcc@google.com>
9623
9624 * math/atest-exp2.c (get_log2): Remove const attribute.
9625
9626 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9627
9628 * math/libm-test.inc (struct test_f_l_data): New type.
9629 (RUN_TEST_LOOP_f_l): New macro.
9630 (lrint_test_data): New variable.
9631 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9632 (lrint_tonearest_test_data): New variable.
9633 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9634 (lrint_towardzero_test_data): New variable.
9635 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9636 (lrint_downward_test_data): New variable.
9637 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9638 (lrint_upward_test_data): New variable.
9639 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9640 (lround_test_data): New variable.
9641 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9642
9643 2013-05-15 Peter Collingbourne <pcc@google.com>
9644
9645 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9646 (EXTRACT_WORDS64) Use where appropriate.
9647 (INSERT_WORDS64) Likewise.
9648
9649 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9650 constraints with x constraints.
9651 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9652
9653 * malloc/obstack.c (_obstack_compat): Add initializer.
9654
9655 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9656
9657 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9658 si_trapno and add si_addr_lsb to _sifields.sigfault.
9659 (si_trapno): Remove macro.
9660 (si_addr_lsb): Define new macro.
9661 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9662
9663 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9664
9665 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9666 instead of TEST_f_l.
9667 (llrint_test_tonearest): Likewise.
9668 (llrint_test_towardzero): Likewise.
9669 (llrint_test_downward): Likewise.
9670 (llrint_test_upward): Likewise.
9671 (llround_test): Likewise.
9672
9673 * math/libm-test.inc (struct test_f_i_data): Add comment.
9674 (RUN_TEST_LOOP_f_b): New macro.
9675 (RUN_TEST_LOOP_f_b_tg): Likewise.
9676 (finite_test_data): New variable.
9677 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9678 (isfinite_test_data): New variable.
9679 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9680 (isinf_test_data): New variable.
9681 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9682 (isnan_test_data): New variable.
9683 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9684 (isnormal_test_data): New variable.
9685 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9686 (issignaling_test_data): New variable.
9687 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9688 (signbit_test_data): New variable.
9689 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9690
9691 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9692 with INVALID_EXCEPTION.
9693 (acosh_test_data): Likewise.
9694 (asin_test_data): Likewise.
9695 (atanh_test_data): Likewise.
9696 (fmod_test_data): Likewise.
9697 (log_test_data): Likewise.
9698 (log10_test_data): Likewise.
9699 (log2_test_data): Likewise.
9700 (pow_test_data): Likewise.
9701 (sqrt_test_data): Likewise.
9702 (y0_test_data): Likewise.
9703 (y1_test_data): Likewise.
9704 (yn_test_data): Likewise.
9705
9706 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9707 function contents.
9708
9709 * math/libm-test.inc (struct test_ff_i_data): New type.
9710 (RUN_TEST_LOOP_ff_i_tg): New macro.
9711 (isgreater_test_data): New variable.
9712 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9713 (isgreaterequal_test_data): New variable.
9714 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9715 (isless_test_data): New variable.
9716 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9717 (islessequal_test_data): New variable.
9718 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9719 (islessgreater_test_data): New variable.
9720 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9721 (isunordered_test_data): New variable.
9722 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9723
9724 2013-05-14 David S. Miller <davem@davemloft.net>
9725
9726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9727
9728 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9729
9730 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9731
9732 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9733 extra_test to int.
9734 (struct test_f_i_data): Change type of max_ulp to int.
9735
9736 * math/libm-test.inc (test_ffI_f1_data): New type.
9737 (RUN_TEST_LOOP_ffI_f1): New macro.
9738 (remquo_test_data): New variable.
9739 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9740
9741 * setjmp/tst-setjmp-fp.c: New file.
9742 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9743 (link-libm): New variable.
9744 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9745
9746 * math/libm-test.inc (struct test_f_i_data): New type.
9747 (RUN_TEST_LOOP_f_i): New macro.
9748 (RUN_TEST_LOOP_f_i_tg): Likewise.
9749 (fpclassify_test_data): New variable.
9750 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9751 (ilogb_test_data): New variable.
9752 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9753
9754 * math/libm-test.inc (scalbln_test): Correct function name in END
9755 call.
9756
9757 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9758 (RUN_TEST_LOOP_fI_f1): New macro.
9759 (frexp_test_data): New variable.
9760 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9761
9762 * math/libm-test.inc (struct test_fF_f1_data): New type.
9763 (RUN_TEST_LOOP_fF_f1): New macro.
9764 (modf_test_data): New variable.
9765 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9766
9767 * math/libm-test.inc (struct test_f_f1_data): New type.
9768 (RUN_TEST_LOOP_f_f1): New macro.
9769 (gamma_test_data): New variable.
9770 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9771 (lgamma_test_data): New variable.
9772 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9773
9774 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9775
9776 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9777 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9778 (main): Comment "tls" pseudo-hwcap.
9779
9780 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9781
9782 * math/libm-test.inc (struct test_fl_f_data): New type.
9783 (RUN_TEST_LOOP_fl_f): New variable.
9784 (scalbln_test_data): New variable.
9785 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9786
9787 * math/libm-test.inc (struct test_fi_f_data): New type.
9788 (RUN_TEST_LOOP_fi_f): New macro.
9789 (ldexp_test_data): New variable.
9790 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9791 (scalbn_test_data): New variable.
9792 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9793
9794 * math/libm-test.inc (struct test_c_f_data): New type.
9795 (RUN_TEST_LOOP_c_f): New macro.
9796 (cabs_test_data): New variable.
9797 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9798 (carg_test_data): New variable.
9799 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9800 (cimag_test_data): New variable.
9801 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9802 (creal_test_data): New variable.
9803 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9804
9805 * math/libm-test.inc (struct test_if_f_data): New type.
9806 (RUN_TEST_LOOP_if_f): New macro.
9807 (jn_test_data): New variable.
9808 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9809 (yn_test_data): New variable.
9810 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9811
9812 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9813
9814 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9815
9816 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9817 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9818
9819 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9820
9821 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9822 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9823 (bench-deps): Add bench-timing.h.
9824 * benchtests-bench-skeleton.c: Include bench-timing.h.
9825 (main): Use TIMING_* macros instead of clock_gettime.
9826 * benchtests/bench-timing.h: New file.
9827
9828 [BZ #14582]
9829 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9830 Renamed from _LIB_VERSION.
9831 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9832
9833 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9834
9835 * math/libm-test.inc (struct test_fff_f_data): New type.
9836 (RUN_TEST_LOOP_fff_f): New macro.
9837 (fma_test_data): New variable.
9838 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9839 (fma_towardzero_test_data): New variable.
9840 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9841 (fma_downward_test_data): New variable.
9842 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9843 (fma_upward_test_data): New variable.
9844 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9845
9846 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9847 (struct test_c_c_data): New type.
9848 (RUN_TEST_LOOP_c_c): New macro.
9849 (cacos_test_data): New variable.
9850 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9851 (cacosh_test_data): New variable.
9852 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9853 (casin_test_data): New variable.
9854 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9855 (casinh_test_data): New variable.
9856 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9857 (catan_test_data): New variable.
9858 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9859 (catanh_test_data): New variable.
9860 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9861 (ccos_test_data): New variable.
9862 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9863 (ccosh_test_data): New variable.
9864 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9865 (cexp_test_data): New variable.
9866 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9867 (clog_test_data): New variable.
9868 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9869 (clog10_test_data): New variable.
9870 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9871 (conj_test_data): New variable.
9872 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9873 (cproj_test_data): New variable.
9874 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9875 (csin_test_data): New variable.
9876 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9877 (csinh_test_data): New variable.
9878 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9879 (csqrt_test_data): New variable.
9880 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9881 (ctan_test_data): New variable.
9882 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9883 (ctan_tonearest_test_data): New variable.
9884 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9885 (ctan_towardzero_test_data): New variable.
9886 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9887 (ctan_downward_test_data): New variable.
9888 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9889 (ctan_upward_test_data): New variable.
9890 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9891 (ctanh_test_data): New variable.
9892 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9893 (ctanh_tonearest_test_data): New variable.
9894 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9895 (ctanh_towardzero_test_data): New variable.
9896 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9897 (ctanh_downward_test_data): New variable.
9898 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9899 (ctanh_upward_test_data): New variable.
9900 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9901 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9902 of BUILD_COMPLEX.
9903
9904 * math/libm-test.inc (struct test_ff_f_data): New type.
9905 (struct test_ff_f_data_nexttoward): Likewise.
9906 (RUN_TEST_LOOP_2_f): New macro.
9907 (RUN_TEST_LOOP_ff_f): Likewise.
9908 (atan2_test_data): New variable.
9909 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9910 (copysign_test_data): New variable.
9911 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9912 (fdim_test_data): New variable.
9913 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9914 (fmax_test_data): New variable.
9915 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9916 (fmin_test_data): New variable.
9917 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9918 (fmod_test_data): New variable.
9919 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9920 (hypot_test_data): New variable.
9921 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9922 (nextafter_test_data): New variable.
9923 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9924 (nexttoward_test_data): New variable.
9925 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9926 (pow_test_data): New variable.
9927 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9928 (pow_tonearest_test_data): New variable.
9929 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9930 (pow_towardzero_test_data): New variable.
9931 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9932 (pow_downward_test_data): New variable.
9933 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9934 (pow_upward_test_data): New variable.
9935 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9936 (remainder_test_data): New variable.
9937 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9938 (scalb_test_data): New variable.
9939 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9940 * sysdeps/i386/fpu/libm-test-ulps: Update.
9941
9942 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9943
9944 * math/libm-test.inc (fma_test): Use max_value instead of local
9945 variable fltmax.
9946 (nextafter_test): Likewise.
9947
9948 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9949 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9950 (acos_downward_test_data): New variable.
9951 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9952 (acos_upward_test_data): New variable.
9953 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9954 (acosh_test_data): New variable.
9955 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9956 (asin_test_data): New variable.
9957 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9958 (asin_tonearest_test_data): New variable.
9959 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9960 (asin_towardzero_test_data): New variable.
9961 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9962 (asin_downward_test_data): New variable.
9963 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9964 (asin_upward_test_data): New variable.
9965 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9966 (asinh_test_data): New variable.
9967 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9968 (atan_test_data): New variable.
9969 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9970 (atanh_test_data): New variable.
9971 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9972 (cbrt_test_data): New variable.
9973 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9974 (ceil_test_data): New variable.
9975 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9976 (cos_test_data): New variable.
9977 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9978 (cos_tonearest_test_data): New variable.
9979 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9980 (cos_towardzero_test_data): New variable.
9981 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9982 (cos_downward_test_data): New variable.
9983 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9984 (cos_upward_test_data): New variable.
9985 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9986 (cosh_test_data): New variable.
9987 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9988 (cosh_tonearest_test_data): New variable.
9989 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9990 (cosh_towardzero_test_data): New variable.
9991 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9992 (cosh_downward_test_data): New variable.
9993 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9994 (cosh_upward_test_data): New variable.
9995 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9996 (erf_test_data): New variable.
9997 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9998 (erfc_test_data): New variable.
9999 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10000 (exp_test_data): New variable.
10001 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10002 (exp_tonearest_test_data): New variable.
10003 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10004 (exp_towardzero_test_data): New variable.
10005 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10006 (exp_downward_test_data): New variable.
10007 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10008 (exp_upward_test_data): New variable.
10009 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10010 (exp10_test_data): New variable.
10011 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10012 (exp2_test_data): New variable.
10013 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10014 (expm1_test_data): New variable.
10015 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10016 (fabs_test_data): New variable.
10017 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10018 (floor_test_data): New variable.
10019 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10020 (j0_test_data): New variable.
10021 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10022 (j1_test_data): New variable.
10023 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10024 (log_test_data): New variable.
10025 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10026 (log10_test_data): New variable.
10027 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10028 (log1p_test_data): New variable.
10029 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10030 (log2_test_data): New variable.
10031 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10032 (logb_test_data): New variable.
10033 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10034 (logb_downward_test_data): New variable.
10035 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10036 (nearbyint_test_data): New variable.
10037 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10038 (rint_test_data): New variable.
10039 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10040 (rint_tonearest_test_data): New variable.
10041 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10042 (rint_towardzero_test_data): New variable.
10043 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10044 (rint_downward_test_data): New variable.
10045 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10046 (rint_upward_test_data): New variable.
10047 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10048 (round_test_data): New variable.
10049 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10050 (sin_test_data): New variable.
10051 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10052 (sin_tonearest_test_data): New variable.
10053 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10054 (sin_towardzero_test_data): New variable.
10055 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10056 (sin_downward_test_data): New variable.
10057 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10058 (sin_upward_test_data): New variable.
10059 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10060 (sinh_test_data): New variable.
10061 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10062 (sinh_tonearest_test_data): New variable.
10063 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10064 (sinh_towardzero_test_data): New variable.
10065 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10066 (sinh_downward_test_data): New variable.
10067 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10068 (sinh_upward_test_data): New variable.
10069 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10070 (sqrt_test_data): New variable.
10071 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10072 (tan_test_data): New variable.
10073 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10074 (tan_tonearest_test_data): New variable.
10075 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10076 (tan_towardzero_test_data): New variable.
10077 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10078 (tan_downward_test_data): New variable.
10079 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10080 (tan_upward_test_data): New variable.
10081 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10082 (tanh_test_data): New variable.
10083 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10084 (tgamma_test_data): New variable.
10085 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10086 (trunc_test_data): New variable.
10087 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10088 (y0_test_data): New variable.
10089 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10090 (y1_test_data): New variable.
10091 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10092 (significand_test_data): New variable.
10093 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10094
10095 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10096
10097 [BZ #12387]
10098 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10099
10100 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10101
10102 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10103
10104 2013-05-10 Andreas Jaeger <aj@suse.de>
10105
10106 [BZ #15448]
10107 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10108 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10109
10110 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10111
10112 * math/gen-libm-test.pl (adjust_arg): New function.
10113 (special_functions): Handle generating output in both functions
10114 and arrays.
10115 (parse_args): Likewise.
10116 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10117 $in_func argument to parse_args.
10118 * math/libm-test.inc (struct test_f_f_data): New type.
10119 (IF_ROUND_INIT_): New macro.
10120 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10121 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10122 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10123 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10124 (ROUND_RESTORE_): Likewise.
10125 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10126 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10127 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10128 (ROUND_RESTORE_FE_UPWARD): Likewise.
10129 (RUN_TEST_LOOP_f_f): New macro.
10130 (acos_test_data): New variable.
10131 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10132 (acos_tonearest_test_data): New variable.
10133 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10134
10135 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10136
10137 * benchtests/bench-skeleton.c (startup): Fix coding style.
10138
10139 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10140
10141 [BZ #6809]
10142 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10143 negative infinity argument.
10144 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10145 negative infinity argument.
10146 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10147 negative infinity argument.
10148 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10149 domain errors.
10150
10151 2013-05-10 Florian Weimer <fweimer@redhat.com>
10152
10153 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10154 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10155 * iconv/iconv_prog.c (main): Likewise.
10156 * locale/programs/charmap-dir.c (charmap_readdir)
10157 (fopen_uncompressed): Likewise.
10158 * locale/programs/locfile.c (siblings_uncached)
10159 (write_locale_data): Use lstat64 instead of lstat.
10160 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10161 stat.
10162
10163 2013-05-10 Andreas Jaeger <aj@suse.de>
10164
10165 [BZ #15395]
10166 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10167 localization.
10168 Include <locale.h>.
10169
10170 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10171
10172 * elf/dl-close.c (_dl_close_worker): Add comments.
10173
10174 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10175
10176 [BZ #15359]
10177 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10178 high part of pi/2.
10179 (__ieee754_rem_pio2l): Update comments.
10180
10181 [BZ #15429]
10182 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10183 high part of pi/2.
10184 (__ieee754_rem_pio2l): Update comments.
10185
10186 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10187 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10188
10189 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10190 M_PI_4l.
10191
10192 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10193 (M_PI_34_LOG10El): Likewise.
10194 (M_PI2_LOG10El): Likewise.
10195 (M_PI4_LOG10El): Likewise.
10196 (M_PI_LOG10El): Likewise.
10197
10198 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199
10200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10201
10202 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10203
10204 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10205 (MINUS_ZERO_INIT): Likewise.
10206 (PLUS_INFTY_INIT): Likewise.
10207 (MINUS_INFTY_INIT): Likewise.
10208 (QNAN_VALUE_INIT): Likewise.
10209 (MAX_VALUE_INIT): Likewise.
10210 (MIN_VALUE_INIT): Likewise.
10211 (MIN_SUBNORM_VALUE_INIT): Likewise.
10212 (plus_zero): Initialize with PLUS_ZERO_INIT.
10213 (minus_zero): Initialize with MINUS_ZERO_INIT.
10214 (plus_infty): Initialize with PLUS_INFTY_INIT.
10215 (minus_infty): Initialize with MINUS_INFTY_INIT.
10216 (qnan_value): Initialize with QNAN_VALUE_INIT.
10217 (max_value): Initialize with MAX_VALUE_INIT.
10218 (min_value): Initialize with MIN_VALUE_INIT.
10219 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10220
10221 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10222 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10223 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10224 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10225
10226 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10227 (RUN_TEST_2_f): Likewise.
10228 (RUN_TEST_ff_f): Likewise.
10229 (RUN_TEST_fi_f): Likewise.
10230 (RUN_TEST_fl_f): Likewise.
10231 (RUN_TEST_fff_f): Likewise.
10232 (RUN_TEST_c_f): Likewise.
10233 (RUN_TEST_f_f1): Likewise.
10234 (RUN_TEST_fF_f1): Likewise.
10235 (RUN_TEST_fI_f1): Likewise.
10236 (RUN_TEST_ffI_f1): Likewise.
10237 (RUN_TEST_c_c): Likewise.
10238 (RUN_TEST_cc_c): Likewise.
10239 (RUN_TEST_f_i): Likewise.
10240 (RUN_TEST_f_i_tg): Likewise.
10241 (RUN_TEST_ff_i_tg): Likewise.
10242 (RUN_TEST_f_b): Likewise.
10243 (RUN_TEST_f_b_tg): Likewise.
10244 (RUN_TEST_f_l): Likewise.
10245 (RUN_TEST_f_L): Likewise.
10246 (RUN_TEST_sincos): Likewise.
10247 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10248 whether to show exceptions. Do not include ");\n" in return
10249 value.
10250 (special_functions): Output call to RUN_TEST_sincos instead of
10251 check_float calls. Update calls to new_test.
10252 (parse_args): Output call to single RUN_TEST_* macro instead of
10253 check_* calls and other assignments. Update calls to new_test.
10254
10255 [BZ #2546]
10256 [BZ #2560]
10257 [BZ #5159]
10258 [BZ #15426]
10259 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10260 input to result for tgamma overflow.
10261 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10262 (gamma_coeff): New variable.
10263 (NCOEFF): New macro.
10264 (gamma_positive): New function.
10265 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10266 underflow here. Use gamma_positive instead of exp (lgamma) for
10267 other arguments.
10268 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10269 (gamma_coeff): New variable.
10270 (NCOEFF): New macro.
10271 (gammaf_positive): New function.
10272 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10273 underflow here. Use gamma_positive instead of exp (lgamma) for
10274 other arguments.
10275 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10276 (gamma_coeff): New variable.
10277 (NCOEFF): New macro.
10278 (gammal_positive): New function.
10279 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10280 underflow here. Use gamma_positive instead of exp (lgamma) for
10281 other arguments.
10282 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10283 (gamma_coeff): New variable.
10284 (NCOEFF): New macro.
10285 (gammal_positive): New function.
10286 (__ieee754_gammal_r): Handle positive infinity, overflow and
10287 underflow here. Handle NaN the same as positive infinity. Remove
10288 check x < 0xffffffff for negative integers. Use gamma_positive
10289 instead of exp (lgamma) for other arguments.
10290 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10291 (gamma_coeff): New variable.
10292 (NCOEFF): New macro.
10293 (gammal_positive): New function.
10294 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10295 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10300 * sysdeps/generic/math_private.h (__gamma_productf): New
10301 prototype.
10302 (__gamma_product): Likewise.
10303 (__gamma_productl): Likewise.
10304 * math/Makefile (libm-calls): Add gamma_product.
10305 * math/libm-test.inc (tgamma_test): Add more tests.
10306 * sysdeps/i386/fpu/libm-test-ulps: Update.
10307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10308
10309 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10310
10311 * benchtests/bench-skeleton.c (main): Preheat CPU.
10312
10313 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10314
10315 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10316
10317 2013-05-07 Roland McGrath <roland@hack.frob.com>
10318
10319 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10320 and _dl_skip_args_internal.
10321
10322 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10323
10324 * manual/message.texi (Message Translation): Talk about users.
10325 Message to key mapping impacts design.
10326
10327 2013-05-06 Roland McGrath <roland@hack.frob.com>
10328
10329 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10330
10331 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10332
10333 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10334 * sysdeps/wordsize-64/glob64.c: ... here.
10335
10336 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10337 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10338 New macros.
10339
10340 * debug/getlogin_r_chk.c: Moved to ...
10341 * login/getlogin_r_chk.c: ... here.
10342 * debug/Makefile (routines): Move getlogin_r_chk to ...
10343 * login/Makefile (routines): ... here.
10344 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10345 * login/Versions (libc: GLIBC_2.4): ... here.
10346
10347 * io/poll.c (__poll): Renamed from poll.
10348 Add libc_hidden_def.
10349 (poll): Define as weak alias.
10350
10351 * debug/ptsname_r_chk.c: Moved to ...
10352 * login/ptsname_r_chk.c: ... here.
10353 * debug/Makefile (routines): Move ptsname_r_chk to ...
10354 * login/Makefile (routines): ... here.
10355 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10356 * login/Versions (libc: GLIBC_2.4): ... here.
10357
10358 * posix/getlogin.c: Moved to ...
10359 * login/getlogin.c: ... here.
10360 * posix/getlogin_r.c: Moved to ...
10361 * login/getlogin_r.c: ... here.
10362 * posix/getlogin_r.c: Moved to ...
10363 * login/getlogin_r.c: ... here.
10364 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10365 * login/Makefile (routines): ... here.
10366 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10367 * login/Versions (libc: GLIBC_2.0): ... here.
10368
10369 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10370 (setrlimit): Define as weak alias.
10371
10372 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10373 Call __ names for open, ftruncate, and close.
10374 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10375 (truncate): Define as weak alias.
10376
10377 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10378
10379 * math/gen-libm-test.pl (parse_args): Initialize x before each
10380 test of frexp, modf and remquo.
10381
10382 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10383 test signgam value.
10384
10385 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10386
10387 [BZ #15418]
10388 [BZ #15419]
10389 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10390 internal tests.
10391 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10392
10393 2013-05-06 Roland McGrath <roland@hack.frob.com>
10394
10395 * elf/dl-writev.h: New file.
10396 * elf/dl-misc.c: Include it.
10397 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10398 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10399
10400 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10401
10402 * math/libm-test.inc (noXFails): Remove variable.
10403 (noXPasses): Likewise.
10404 (BUILD_COMPLEX_INT): Remove macro.
10405 (print_screen): Remove xfail argument.
10406 (print_screen_max_error): Likewise.
10407 (update_stats): Likewise.
10408 (print_max_error): Likewise. Update calls to other affected
10409 functions.
10410 (print_complex_max_error): Likewise.
10411 (test_single_exception): Update calls to print_screen.
10412 (test_single_errno): Likewise.
10413 (check_float_internal): Remove xfail argument. Update calls to
10414 other affected functions.
10415 (check_float): Likewise.
10416 (check_complex): Likewise.
10417 (check_int): Likewise.
10418 (check_long): Likewise.
10419 (check_bool): Likewise.
10420 (check_longlong): Likewise.
10421 (main): Don't print noXFails and noXPasses.
10422 * math/gen-libm-test.pl (top level): Don't mention expected
10423 failure handling in comment.
10424 (new_test): Don't handle expected failures.
10425 (parse_args): Don't mention expected failure handling in comment.
10426 (generate_testfile): Don't handle expected failures.
10427 (parse_ulps): Likewise.
10428 (print_ulps_file): Likewise.
10429 (get_failure): Remove function.
10430 (output_test): Don't handle expected failures.
10431 * make/README.libm-test: Don't mention expected failure handling.
10432
10433 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10434 (minus_zero): Likewise.
10435 (plus_infty): Likewise.
10436 (minus_infty): Likewise.
10437 (qnan_value): Likewise.
10438 (max_value): Likewise.
10439 (min_value): Likewise.
10440 (min_subnorm_value): Likewise.
10441 (initialize): Do not initialize those variables dynamically.
10442
10443 2013-05-03 Roland McGrath <roland@hack.frob.com>
10444
10445 * io/open.c (__open_2): Moved to ...
10446 * io/open_2.c: ... this new file.
10447 * io/open64.c (__open64_2): Moved to ...
10448 * io/open64_2.c: ... this new file.
10449 * io/openat.c (__openat_2): Moved to ...
10450 * io/openat_2.c: ... this new file.
10451 * io/openat64.c (__openat64_2): Moved to ...
10452 * io/openat64_2.c: ... this new file.
10453 * io/Makefile (routines): Add them.
10454 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10455 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10456 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10457 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10458 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10459 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10460 (__openat64): Add hidden_ver.
10461 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10462 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10463
10464 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10465 Separately conditionalize setting of GLRO(dl_sysinfo) so
10466 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10467 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10468
10469 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10470
10471 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10472 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10473 definition.
10474 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10475 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10476 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10477 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10478 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10479
10480 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10481
10482 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10483 test signgam value.
10484
10485 * math/libm-test.inc (hypot_test): Do not use
10486 IGNORE_ZERO_INF_SIGN.
10487
10488 2013-05-03 Andreas Jaeger <aj@suse.de>
10489
10490 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10491 Linux 3.9.
10492 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10493 (PF_MAX): Adjust for VSOCK change.
10494
10495 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10496
10497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10498
10499 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10500
10501 [BZ #15264]
10502 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10503 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10504 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10505
10506 2013-05-02 David S. Miller <davem@davemloft.net>
10507
10508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10509
10510 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10511
10512 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10513
10514 2013-05-01 Roland McGrath <roland@hack.frob.com>
10515
10516 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10517
10518 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10519
10520 [BZ #14952]
10521 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10522 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10523 Use __attribute__ ((__gnu_inline__)).
10524 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10525 Don't use __attribute__ ((__gnu_inline__)).
10526
10527 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10528
10529 [BZ #15423]
10530 * math/s_catan.c (__catan): Handle small real or imaginary part of
10531 input specially to avoid spurious underflow.
10532 * math/s_catanf.c (__catanf): Likewise.
10533 * math/s_catanh.c (__catanh): Likewise.
10534 * math/s_catanhf.c (__catanhf): Likewise.
10535 * math/s_catanhl.c (__catanhl): Likewise.
10536 * math/s_catanl.c (__catanl): Likewise.
10537 * math/libm-test.inc (catan_test): Add more tests.
10538 (catanh_test): Likewise.
10539 * sysdeps/i386/fpu/libm-test-ulps: Update.
10540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10541
10542 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10543
10544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10545
10546 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10547
10548 [BZ #15416]
10549 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10550 accurately for denominator in atan2.
10551 * math/s_catanf.c (__catanf): Likewise.
10552 * math/s_catanh.c (__catanh): Likewise.
10553 * math/s_catanhf.c (__catanhf): Likewise.
10554 * math/s_catanhl.c (__catanhl): Likewise.
10555 * math/s_catanl.c (__catanl): Likewise.
10556 * math/libm-test.inc (catan_test): Add more tests.
10557 (catanh_test): Likewise.
10558 * sysdeps/i386/fpu/libm-test-ulps: Update.
10559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10560
10561 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10562
10563 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10564
10565 * benchtests/Makefile (bench): Remove slow benchmarks.
10566 * benchtests/atan-inputs: Add slow benchmark inputs.
10567 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10568 (BENCH_FUNC): Accept variant offset.
10569 (VARIANT): Define.
10570 * benchtests/bench-skeleton.c (main): Run benchmark for each
10571 variant.
10572 * benchtests/cos-inputs: Add slow benchmark inputs.
10573 * benchtests/exp-inputs: Likewise.
10574 * benchtests/pow-inputs: Likewise.
10575 * benchtests/sin-inputs: Likewise.
10576 * benchtests/slowatan-inputs: Remove.
10577 * benchtests/slowatan.c: Remove.
10578 * benchtests/slowcos-inputs: Remove.
10579 * benchtests/slowcos.c: Remove.
10580 * benchtests/slowexp-inputs: Remove.
10581 * benchtests/slowexp.c: Remove.
10582 * benchtests/slowpow-inputs: Remove.
10583 * benchtests/slowpow.c: Remove.
10584 * benchtests/slowsin-inputs: Remove.
10585 * benchtests/slowsin.c: Remove.
10586 * benchtests/slowtan-inputs: Remove.
10587 * benchtests/slowtan.c: Remove.
10588 * benchtests/tan-inputs: Add slow benchmark inputs.
10589 * scripts/bench.pl: Parse comments and directives.
10590
10591 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10592 in CPPFLAGS.
10593 ($(objpfx)bench-%.c): Remove *-ITER.
10594 * benchtests/bench-modf.c: Remove definition of ITER.
10595 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10596 (main): Loop for DURATION seconds instead of fixed number of
10597 iterations.
10598 * scripts/bench.pl: Don't expect iterations in parameters.
10599
10600 2013-04-29 Roland McGrath <roland@hack.frob.com>
10601
10602 * io/fchdir.c (__fchdir): Renamed from fchdir.
10603 (fchdir): Define as weak alias.
10604
10605 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10606
10607 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10608 (ERRNO_EDOM): Likewise.
10609 (ERRNO_ERANGE): Likewise.
10610 (noErrnoTests): New variable.
10611 (init_max_error): Set errno to 0.
10612 (test_single_errno): New function.
10613 (test_errno): Likewise.
10614 (check_float_internal): Call test_errno. Set errno to 0.
10615 (check_complex): Refer to errno tests in comment.
10616 (check_int): Call test_errno. Set errno to 0.
10617 (check_long): Likewise.
10618 (check_bool): Likewise.
10619 (check_longlong): Likewise.
10620 (cos_test): Use ERRNO_* flags for errno tests instead of
10621 check_int.
10622 (expm1_test): Likewise.
10623 (fmod_test): Likewise.
10624 (ilogb_test): Likewise.
10625 (lgamma_test): Likewise.
10626 (pow_test): Likewise.
10627 (remainder_test): Likewise.
10628 (sin_test): Likewise.
10629 (tan_test): Likewise.
10630 (yn_test): Likewise.
10631 (initialize): Set errno to 0.
10632 (main): Print number of errno tests.
10633 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10634
10635 2013-04-29 Andreas Jaeger <aj@suse.de>
10636
10637 [BZ #15084]
10638 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10639 and RES_USEVC.
10640
10641 [BZ #15085]
10642 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10643 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10644 unimplemented.
10645
10646 [BZ #15380]
10647 * stdlib/random.c (__initstate): Return NULL if
10648 __initstate fails.
10649
10650 [BZ #15086]
10651 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10652 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10653 RES_SNGLKUPREOP.
10654
10655 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10656
10657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10658
10659 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10660
10661 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10662 of individual tests.
10663 (casin_test): Likewise.
10664 (casinh_test): Likewise.
10665
10666 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10667
10668 [BZ #15409]
10669 * math/s_catan.c (__catan): Handle arguments with large real or
10670 imaginary part separately without squaring.
10671 * math/s_catanf.c (__catanf): Likewise.
10672 * math/s_catanh.c (__catanh): Likewise.
10673 * math/s_catanhf.c (__catanhf): Likewise.
10674 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10675 and redefine.
10676 (__catanhl): Handle arguments with large real or imaginary part
10677 separately without squaring.
10678 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10679 and redefine.
10680 (__catanl): Handle arguments with large real or imaginary part
10681 separately without squaring.
10682 * math/libm-test.inc (catan_test): Add more tests.
10683 (catanh_test): Likewise.
10684 * sysdeps/i386/fpu/libm-test-ulps: Update.
10685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10686
10687 2013-04-27 Andreas Jaeger <aj@suse.de>
10688
10689 [BZ #15007]
10690 * stdlib/stdlib.h: Update guards for qecvt.
10691 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10692 <stdlib.h>.
10693
10694 2013-04-27 Allan McRae <allan@archlinux.org>
10695
10696 * sysdeps/i386/fpu/libm-test-ulps: Update.
10697
10698 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10699
10700 [BZ #15406]
10701 * math/s_catan.c: Include <float.h>.
10702 (__catan): Ensure underflow exception occurs for underflowed
10703 result.
10704 * math/s_catanf.c: Include <float.h>.
10705 (__catanf): Ensure underflow exception occurs for underflowed
10706 result.
10707 * math/s_catanh.c: Include <float.h>.
10708 (__catanh): Ensure underflow exception occurs for underflowed
10709 result.
10710 * math/s_catanhf.c: Include <float.h>.
10711 (__catanhf): Ensure underflow exception occurs for underflowed
10712 result.
10713 * math/s_catanhl.c: Include <float.h>.
10714 (__catanhl): Ensure underflow exception occurs for underflowed
10715 result.
10716 * math/s_catanl.c: Include <float.h>.
10717 (__catanl): Ensure underflow exception occurs for underflowed
10718 result.
10719 * math/libm-test.inc (catan_test): Add more tests.
10720 (catanh_test): Likewise.
10721
10722 [BZ #15405]
10723 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10724 underflowed result.
10725 * math/s_ccoshf.c (__ccoshf): Likewise.
10726 * math/s_ccoshl.c (__ccoshl): Likewise.
10727 * math/s_csin.c (__csin): Likewise.
10728 * math/s_csinf.c (__csinf): Likewise.
10729 * math/s_csinh.c (__csinh): Likewise.
10730 * math/s_csinhf.c (__csinhf): Likewise.
10731 * math/s_csinhl.c (__csinhl): Likewise.
10732 * math/s_csinl.c (__csinl): Likewise.
10733 * math/libm-test.inc (ccos_test): Add more tests.
10734 (ccosh_test): Likewise.
10735 (csin_test): Likewise.
10736 (csinh_test): Likewise.
10737
10738 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10739
10740 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10741 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10742 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10743 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10744 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10745 powerpc/power5+/fpu folders.
10746 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10747
10748
10749 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10750
10751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10752
10753 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10754
10755 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10756 additions to variable.
10757 [$(config-machine) = x86_64] (modules-names): Likewise.
10758 ($(objpfx)tst-audit3): Remove dependency.
10759 ($(objpfx)tst-audit3.out): Likewise.
10760 ($(objpfx)tst-audit4): Likewise.
10761 ($(objpfx)tst-audit4.out): Likewise.
10762 ($(objpfx)tst-audit5): Likewise.
10763 ($(objpfx)tst-audit5.out): Likewise.
10764 ($(objpfx)tst-audit6): Likewise.
10765 ($(objpfx)tst-audit6.out): Likewise.
10766 ($(objpfx)tst-audit7): Likewise.
10767 ($(objpfx)tst-audit7.out): Likewise.
10768 (tst-audit3-ENV): Remove variable.
10769 (tst-audit4-ENV): Likewise.
10770 (tst-audit5-ENV): Likewise.
10771 (tst-audit6-ENV): Likewise.
10772 (tst-audit7-ENV): Likewise.
10773 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10774 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10775 addition to variable.
10776 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10777 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10780 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10781 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10782 tst-audit3, tst-audit4 and tst-audit5.
10783 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10784 tst-audit6 and tst-audit7.
10785 [$(subdir) = elf] (modules-names): Add audit modules for those
10786 tests.
10787 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10788 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10789 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10790 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10791 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10792 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10793 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10794 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10795 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10796 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10797 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10798 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10799 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10800 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10801 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10802 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10803 Likewise.
10804 [$(subdir) = elf && $(config-cflags-avx) = yes]
10805 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10806 [$(subdir) = elf && $(config-cflags-avx) = yes]
10807 (CFLAGS-tst-auditmod4a.c): Likewise.
10808 [$(subdir) = elf && $(config-cflags-avx) = yes]
10809 (CFLAGS-tst-auditmod4b.c): Likewise.
10810 [$(subdir) = elf && $(config-cflags-avx) = yes]
10811 (CFLAGS-tst-auditmod6b.c): Likewise.
10812 [$(subdir) = elf && $(config-cflags-avx) = yes]
10813 (CFLAGS-tst-auditmod6c.c): Likewise.
10814 [$(subdir) = elf && $(config-cflags-avx) = yes]
10815 (CFLAGS-tst-auditmod7b.c): Likewise.
10816 * elf/tst-audit3.c: Move to ...
10817 * sysdeps/x86_64/tst-audit3.c: ... here.
10818 * elf/tst-audit4.c: Move to ...
10819 * sysdeps/x86_64/tst-audit4.c: ... here.
10820 * elf/tst-audit5.c: Move to ...
10821 * sysdeps/x86_64/tst-audit5.c: ... here.
10822 * elf/tst-audit6.c: Move to ...
10823 * sysdeps/x86_64/tst-audit6.c: ... here.
10824 * elf/tst-audit7.c: Move to ...
10825 * sysdeps/x86_64/tst-audit7.c: ... here.
10826 * elf/tst-auditmod3a.c: Move to ...
10827 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10828 * elf/tst-auditmod3b.c: Move to ...
10829 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10830 * elf/tst-auditmod4a.c: Move to ...
10831 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10832 * elf/tst-auditmod4b.c: Move to ...
10833 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10834 * elf/tst-auditmod5a.c: Move to ...
10835 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10836 * elf/tst-auditmod5b.c: Move to ...
10837 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10838 * elf/tst-auditmod6a.c: Move to ...
10839 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10840 * elf/tst-auditmod6b.c: Move to ...
10841 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10842 * elf/tst-auditmod6c.c: Move to ...
10843 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10844 * elf/tst-auditmod7a.c: Move to ...
10845 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10846 * elf/tst-auditmod7b.c: Move to ...
10847 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10848
10849 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10850
10851 [BZ #15366]
10852 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10853 define unconditionally.
10854 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10855 define unconditionally.
10856 (INT8_C, INT16_C, etc.): Likewise.
10857
10858 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10859
10860 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10861 __ehdr_start with hidden visibility.
10862
10863 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10864
10865 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10866
10867 * math/libm-test.inc (cos_test): Use accurate hex constants.
10868 (sincost_test): Likewise.
10869
10870 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10871
10872 * math/libm-test.inc (catan_test): Add more tests.
10873 (catanh_test): Likewise.
10874
10875 * math/s_catanf.c (__catanf): Use suffixed floating-point
10876 constants.
10877 * math/s_catanhf.c (__catanhf): Likewise.
10878 * math/s_catanhl.c (__catanhl): Likewise.
10879 * math/s_catanl.c (__catanl): Likewise.
10880
10881 [BZ #15394]
10882 * math/s_catan.c (__catan): Calculate imaginary part of result
10883 with log1p not log unless computing log of number close to 0.
10884 * math/s_catanf.c (__catanf): Likewise.
10885 * math/s_catanl.c (__catanl): Likewise.
10886 * math/s_catanh.c (__catanh): Calculate real part of result with
10887 log1p not log unless computing log of number close to 0.
10888 * math/s_catanhf.c (__catanhf): Likewise.
10889 * math/s_catanhl.c (__catanhl): Likewise.
10890 * math/libm-test.inc (catan_test): Add more tests.
10891 (catanh_test): Likewise.
10892 * sysdeps/i386/fpu/libm-test-ulps: Update.
10893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10894
10895 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10896
10897 * benchtests/Makefile: Mention files in which fast and slow
10898 paths of math functions are implemented.
10899
10900 2013-04-23 Roland McGrath <roland@hack.frob.com>
10901
10902 * sysdeps/posix/timespec_get.c: New file.
10903
10904 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10905
10906 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10907 POWER.
10908 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10909 for POWER.
10910 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10911 powerpc/power5/fpu folders.
10912 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10913 * benchtests/Makefile: Add modf testcase.
10914 * benchtests/bench-modf.c: New file: Benchmark test for mo
10915
10916 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10917
10918 [BZ #14888]
10919 * time/Makefile (tests): Add tst-strptime-whitespace.
10920 * time/strptime_l.c (get_number): Use ISSPACE.
10921 (__strptime_internal): Likewise.
10922 * time/tst-strptime-whitespace.c: New test case.
10923
10924 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10925
10926 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10927 member.
10928 (_nss_files_init): Set it here.
10929
10930 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10931
10932 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10933 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10934 unsigned.
10935
10936 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10937
10938 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10939
10940 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10941
10942 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10943 size just once.
10944
10945 2013-04-21 David S. Miller <davem@davemloft.net>
10946
10947 * po/ru.po: Update Russion translation from translation project.
10948
10949 2013-04-17 Adam Conrad <adconrad@0c3.net>
10950
10951 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10952 and setfsgid.
10953
10954 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10955
10956 * configure.in: Remove i386 configure warning. Remove i386 case.
10957 * configure: Regenerate.
10958 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10959 Add example to error message.
10960 * sysdeps/i386/configure: Regenerate.
10961
10962 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10963
10964 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10965 slowtan.
10966 * benchtests/cos-inputs: New file.
10967 * benchtests/slowcos-inputs: New file.
10968 * benchtests/slowcos.c: New file.
10969 * benchtests/slowtan-inputs: New file.
10970 * benchtests/slowtan.c: New file.
10971 * benchtests/tan-inputs: New file.
10972
10973 2013-04-16 Roland McGrath <roland@hack.frob.com>
10974
10975 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10976 considered kosher.
10977
10978 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10979
10980 * benchtests/Makefile: Include cppflags-iterator.mk to add
10981 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10982
10983 * Makefile.in (bench-clean): New target.
10984 * benchtests/Makefile (bench-clean): Likewise.
10985
10986 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10987
10988 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10989
10990 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10991
10992 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10993
10994 2013-04-15 Andreas Schwab <schwab@suse.de>
10995
10996 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10998 * nscd/pwdcache.c (cache_addpw): Likewise.
10999 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11000 more than recsize.
11001
11002 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11003
11004 * benchtests/Makefile (bench): Write all output to
11005 bench-out.tmp together.
11006
11007 2013-04-15 Andreas Schwab <schwab@suse.de>
11008
11009 * nscd/nscd.c (main): Don't fork again after closing files.
11010
11011 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11012
11013 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11014
11015 * benchtests/Rules (bench-deps): Collect dependencies into a
11016 single variable. Add Makefile to dependencies.
11017 ($(objpfx)bench-%.c): Depend on bench-deps.
11018
11019 2013-04-12 Roland McGrath <roland@hack.frob.com>
11020 Xavier Roche <roche+kml2@exalead.com>
11021
11022 [BZ #15361]
11023 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11024 just that it's a file descriptor.
11025 * manual/llio.texi (Synchronizing AIO Operations): Update description
11026 for EBADF error from aio_fsync.
11027
11028 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11029
11030 * Rules (bench): Move target definition...
11031 * benchtests/Makefile: ... here.
11032
11033 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11034
11035 * math/libm-test.inc (cos_test): Fix PI/2 test.
11036 (sincos_test): Likewise.
11037 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11038 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11039
11040 2013-04-11 Andreas Schwab <schwab@suse.de>
11041
11042 [BZ #13988]
11043 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11044 accept exponent character only when digits were seen.
11045 * stdio-common/Makefile (tests): Add bug26.
11046 * stdio-common/bug26.c: New file.
11047
11048 [BZ #14293]
11049 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11050 non-freeable.
11051
11052 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11053
11054 * Makeconfig (rtld-prefix): Define built linker prefix.
11055 * Rules (run-bench): Use it.
11056 * math/Makefile (run-regen-ulps): Likewise.
11057
11058 * Rules (bench): Remove eval.
11059
11060 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11061 Roland McGrath <roland@hack.frob.com>
11062 Ondrej Bilka <neleai@seznam.cz>
11063
11064 [BZ #15346]
11065 * time/getdate.c: Include ctype.h and alloca.h.
11066 (__getdate_r): Trim leading and trailing spaces of input.
11067 * time/tst-getdate.c (tests): Add tests with leading and
11068 trailing spaces.
11069
11070 2013-04-08 Roland McGrath <roland@hack.frob.com>
11071
11072 [BZ #14280]
11073 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11074 when computing value.
11075
11076 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11077
11078 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11079 Use testrun.sh to run libm tests.
11080
11081 [BZ #15309]
11082 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11083
11084 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11085
11086 [BZ #15264]
11087 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11088
11089 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11090
11091 * Makefile.in (regen-ulps): New target.
11092 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11093 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11094 [ifneq (no,$(PERL)] (regen-ulps): New target.
11095 [ifeq (no,$(PERL)] (regen-ulps): New target.
11096 * math/libm-test.inc (ulps_file_name): Define.
11097 (output_dir): New variable.
11098 (options): Add "output-dir" option.
11099 (parse_opt): Handle 'o' case.
11100 (main): If output_dir is non-NULL use it as a prefix
11101 otherwise use "".
11102 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11103
11104 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11105
11106 [BZ #10060, #10062]
11107 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11108 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11109 fail configure if __sync_val_compare_and_swap is not inlined.
11110 * sysdeps/i386/configure: Regenerate.
11111 * configure.in: Build for i686 when configured for i386.
11112 * configure: Regenerate.
11113 * README: Remove i386 reference.
11114
11115 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11116
11117 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11118 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11119
11120 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11121
11122 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11123 (lmsnanval): New variables.
11124 (F): Add conversion tests.
11125 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11126 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11127
11128 * stdio-common/tstdiomisc.c (F): Properly collect individual
11129 tests' results.
11130
11131 [BZ #14686, #15336]
11132 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11133 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11134 Instead, use input NaN values or generate a qNaN by arithmetic
11135 operation. Also fix bugs to comply with the standard.
11136 * math/libm-test.inc (remainder_test): Add more tests.
11137
11138 [BZ #15335, #15342]
11139 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11140 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11141 input NaN values or generate a qNaN by arithmetic operation.
11142
11143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11144 unreachable code.
11145
11146 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11147 definitions.
11148
11149 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11150
11151 [BZ #14478]
11152 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11153 underflowed result.
11154 * math/s_cexpf.c (__cexpf): Likewise.
11155 * math/s_cexpl.c (__cexpl): Likewise.
11156 * math/libm-test.inc (cexp_test): Add more tests.
11157
11158 2013-04-03 Andreas Schwab <schwab@suse.de>
11159
11160 [BZ #15330]
11161 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11162 order arrays from heap if bigger than alloca cutoff.
11163
11164 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11165
11166 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11167 (SNAN_TESTS_double): Refer to GCC PR56831.
11168 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11169 GCC PR56828.
11170
11171 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11172
11173 * Rules (bench): Move bench.out after the run is complete.
11174
11175 * Rules (bench): Echo currently running benchmark.
11176
11177 * benchtests/Makefile (bench): Add atan and slowatan.
11178 * benchtests/atan-inputs: New file.
11179 * benchtests/slowatan-inputs: New file.
11180 * benchtests/slowatan.c: New file.
11181
11182 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11183 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11184 its value.
11185
11186 [BZ #15305]
11187 * sysdeps/unix/sysv/linux/kernel-features.h
11188 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11189 __ASSUME_XFS_RESTRICTED_CHOWN.
11190 * sysdeps/unix/sysv/linux/pathconf.c
11191 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11192 Save and restore errno.
11193
11194 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11195
11196 [BZ #15327]
11197 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11198 arguments using __kernel_casinh.
11199 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11200 arguments using __kernel_casinhf.
11201 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11202 arguments using __kernel_casinhl.
11203 * math/libm-test.inc (cacosh_test): Add more tests.
11204 * sysdeps/i386/fpu/libm-test-ulps: Update.
11205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11206
11207 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11208
11209 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11211
11212 * bench/Makefile (bench): Add sin and slowsin.
11213 * benchtests/sin-inputs: New file.
11214 * benchtests/slowsin-inputs: New file.
11215 * benchtests/slowsin.c: New file.
11216
11217 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11218 (bench): Add slowexp and slowpow.
11219 (exp-ITER): Increase iterations.
11220 (pow-ITER): Likewise.
11221 * benchtests/exp-inputs: Change input.
11222 * benchtests/pow-inputs: Likewise.
11223 * benchtests/slowexp-inputs: New file.
11224 * benchtests/slowexp.c: New file.
11225 * benchtests/slowpow-inputs: New file.
11226 * benchtests/slowpow.c: New file.
11227
11228 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11229
11230 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11231 instructions.
11232 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11233 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11234 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11235 * benchtests/Makefile: Add rint benchtest.
11236 * benchtests/rint-inputs: Input for rint benchtest.
11237
11238 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11239
11240 * Versions.def (libm): Add GLIBC_2.18.
11241 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11242 hidden libm prototypes.
11243 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11244 * math/Makefile (libm-calls): Add s_issignaling.
11245 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11246 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11247 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11248 declaration.
11249 * math/math.h [__USE_GNU] (issignaling): New macro.
11250 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11251 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11253 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11256 * manual/arith.texi (issignaling): New section.
11257 * manual/libm-err-tab.pl (@all_functions): Update comment.
11258 * math/gen-libm-test.pl (parse_args): Apply special handling for
11259 issignaling.
11260 * math/libm-test.inc (print_float, issignaling_test): New
11261 functions.
11262 (check_float_internal): Add issignaling checks.
11263 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11264 default definition.
11265 * sysdeps/powerpc/math-tests.h: New file.
11266 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11267 tests.
11268 * math/test-snan.c (TEST_FUNC): Likewise.
11269
11270 2013-03-30 David S. Miller <davem@davemloft.net>
11271
11272 * po/de.po: Update from translation team.
11273
11274 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11275
11276 [BZ #10357]
11277 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11278 imaginary part less than 1.0 and real part less than 0.5
11279 specially.
11280 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11281 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11282 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11283 (cacos_test): Add more tests.
11284 (casin_test): Likewise.
11285 (casinh_test): Likewise.
11286 * sysdeps/i386/fpu/libm-test-ulps: Update.
11287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11288
11289 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11290
11291 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11292 ONE with its value.
11293
11294 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11295 (__pow_mp): Replace ONE and MONE with their values.
11296 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11297 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11298 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11299 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11300 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11302
11303 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11304
11305 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11306 (__pow_mp): Replace ZERO and MZERO with their values.
11307 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11308 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11309 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11311 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11312 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11313 (__sqr): Likewise.
11314
11315 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11316
11317 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11318
11319 2013-03-28 Roland McGrath <roland@hack.frob.com>
11320
11321 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11322 Declare with __attribute__ ((weak)).
11323 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11324 Call __call_tls_dtors only if it's not NULL.
11325
11326 2013-03-28 Roland McGrath <roland@hack.frob.com>
11327
11328 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11329 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11330 magic __ehdr_start linker symbol if it's defined.
11331 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11332 them up here if it was already done.
11333
11334 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11335 (_dl_aux_init): Use const in cast when setting it.
11336 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11337 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11338 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11339
11340 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11341 Declare them here.
11342 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11343 * csu/libc-tls.c: Nor here.
11344 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11345
11346 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11347 (__libc_message): Never call vsyslog.
11348
11349 2013-03-28 Alan Modra <amodra@gmail.com>
11350
11351 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11352 Define as empty.
11353 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11354 Likewise.
11355
11356 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11357
11358 [BZ #15214]
11359 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11360 underflow.
11361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11362
11363 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11364
11365 [BZ #15304]
11366 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11367 Don't add gid passed as argument.
11368
11369 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11370
11371 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11372
11373 [BZ #15307]
11374 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11375 imaginary part between 1.0 and 1.5 and real part less than 0.5
11376 specially.
11377 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11378 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11379 * math/libm-test.inc (cacos_test): Add more tests.
11380 (casin_test): Likewise.
11381 (casinh_test): Likewise.
11382 * sysdeps/i386/fpu/libm-test-ulps: Update.
11383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11384
11385 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11386
11387 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11388 constants.
11389 (norm): Likewise.
11390 (denorm): Likewise.
11391 (__dbl_mp): Likewise.
11392 (add_magnitudes): Likewise.
11393 (sub_magnitudes): Likewise.
11394 (__add): Likewise.
11395 (__sub): Likewise.
11396 (__mul): Likewise.
11397 (__sqr): Likewise.
11398 (__inv): Likewise.
11399 (__dvd): Likewise.
11400
11401 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11402 commented code.
11403 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11404 (__dubcos): Likewise.
11405 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11406 (__ieee754_acos): Likewise.
11407 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11408 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11409 (__exp1): Likewise.
11410 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11411 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11412 (log1): Likewise.
11413 (my_log2): Likewise.
11414 (checkint): Likewise.
11415 * sysdeps/ieee754/dbl-64/e_remainder.c
11416 (__ieee754_remainder): Likewise.
11417 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11418 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11419 (bsloww): Likewise.
11420 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11421
11422 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11423 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11424 MANTISSA_STORE_T to store computations on mantissa. Use
11425 macros for rounding and division.
11426 (denorm): Likewise.
11427 (__dbl_mp): Likewise.
11428 (add_magnitudes): Likewise.
11429 (sub_magnitudes): Likewise.
11430 (__mul): Likewise.
11431 (__sqr): Likewise.
11432 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11433 powers of two in terms of TWOPOW macro.
11434 (mp_no): Make type of mantissa as MANTISSA_T.
11435 [!RADIXI]: Define RADIXI.
11436 [!TWO52]: Define TWO52.
11437 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11438
11439 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11440
11441 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11442 llroundl symbol when building for PPC32.
11443
11444 2013-03-24 Mark H Weaver <mhw@netris.org>
11445
11446 * manual/arith.texi (Normalization Functions): Fix prototypes for
11447 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11448
11449 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11450
11451 [BZ #13889]
11452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11453 high value to check if expl overflow.
11454 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11455 to check for underflow and overflow.
11456 * math/libm-test.inc: Add exp test.
11457
11458 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11459
11460 [BZ #11120]
11461 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11462 with NOT_IN_libc.
11463
11464 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11465
11466 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11467 symbol.
11468
11469 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11470
11471 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11472 wrap blocks consisting of several statements.
11473
11474 * sysdeps/generic/math-tests.h: New file.
11475 * sysdeps/i386/fpu/math-tests.h: Likewise.
11476 * math/test-snan.c: Include it.
11477 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11478
11479 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11480
11481 [BZ #15285]
11482 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11483 (__ieee754_j0l): Do not improve calculations using cos of twice
11484 input for inputs above LDBL_MAX / 2.0L.
11485 (__ieee754_y0l): Likewise.
11486 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11487 (__ieee754_j1l): Do not improve calculations using cos of twice
11488 input for inputs above LDBL_MAX / 2.0L.
11489 (__ieee754_y1l): Likewise.
11490 * math/libm-test.inc (j0_test): Add another test.
11491 (j1_test): Likewise.
11492 (y0_test): Likewise.
11493 (y1_test): Likewise.
11494 * sysdeps/i386/fpu/libm-test-ulps: Update.
11495
11496 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11497
11498 * Rules ($(objpfx)bench-%.c): Include code from a C source
11499 file.
11500
11501 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11502
11503 [BZ #15287]
11504 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11505 imaginary part 1.0 and real part less than 0.5 specially.
11506 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11507 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11508 * math/libm-test.inc (cacos_test): Add more tests.
11509 (casin_test): Likewise.
11510 (casinh_test): Likewise.
11511 * sysdeps/i386/fpu/libm-test-ulps: Update.
11512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11513
11514 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11515
11516 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11517 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11518
11519 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11520
11521 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11522 * config.make.in (config-cflags-sse4): Remove variable.
11523 (config-cflags-avx): Likewise.
11524 (config-cflags-sse2avx): Likewise.
11525 (config-cflags-novzeroupper): Likewise.
11526 (config-asflags-i686): Likewise.
11527 (have-mfma4): Likewise.
11528 (have-as-vis3): Likewise.
11529 (MIG): Likewise.
11530 * configure.in (MIG): Do not AC_SUBST.
11531 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11532 (libc_cv_cc_sse4): Do not AC_SUBST.
11533 (libc_cv_cc_avx): Likewise.
11534 (libc_cv_cc_sse2avx): Likewise.
11535 (libc_cv_cc_novzeroupper): Likewise.
11536 (libc_cv_cc_fma4): Likewise.
11537 (libc_cv_as_i686): Likewise.
11538 (libc_cv_sparc_as_vis3): Likewise.
11539 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11540 LIBC_CONFIG_VAR.
11541 (config-asflags-i686): Likewise.
11542 (config-cflags-avx): Likewise.
11543 (config-cflags-sse2avx): Likewise.
11544 (have-mfma4): Likewise.
11545 (config-cflags-novzeroupper): Likewise.
11546 * sysdeps/mach/configure.in (MIG): Likewise.
11547 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11548 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11549 LIBC_CONFIG_VAR.
11550 (config-cflags-avx): Likewise.
11551 (config-cflags-sse2avx): Likewise.
11552 (have-mfma4): Likewise.
11553 (config-cflags-novzeroupper): Likewise.
11554 * configure: Regenerated.
11555 * sysdeps/i386/configure: Likewise.
11556 * sysdeps/mach/configure: Likewise.
11557 * sysdeps/sparc/configure: Likewise.
11558 * sysdeps/x86_64/configure: Likewise.
11559
11560 2013-03-20 Roland McGrath <roland@hack.frob.com>
11561
11562 [BZ #14812]
11563 * locale/programs/localedef.c (options): Put N_ translation marker
11564 on argument names, not just descriptions.
11565
11566 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11567
11568 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11569
11570 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11571
11572 [BZ #14176]
11573 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11574
11575 2013-03-19 Roland McGrath <roland@hack.frob.com>
11576
11577 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11578 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11579 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11580 [!BEFORE_ABORT] (before_abort): New function.
11581 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11582 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11583 (writev_for_fatal): New function.
11584 (WRITEV_FOR_FATAL): New macro; call that.
11585 (backtrace_and_maps): New function.
11586 (BEFORE_ABORT): New macro; call that.
11587 (struct str_list): Type removed.
11588 (__libc_message, __libc_fatal): Functions removed.
11589 Include <sysdeps/posix/libc_fatal.c> instead.
11590
11591 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11592
11593 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11594 constants.
11595 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11596 double constants.
11597
11598 2013-03-19 Andreas Schwab <schwab@suse.de>
11599
11600 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11601 * sysdeps/gnu/configure: Regenerate.
11602
11603 * configure.in: Substitute libc_cv_rtlddir.
11604 * configure: Regenerate.
11605 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11606 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11607 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11608 * elf/Makefile (install-others, CFLAGS-interp.c)
11609 (ldso_install, common-ldd-rewrite): Likewise.
11610 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11611 $(inst_slibdir)/$(rtld-installed-name).
11612 * scripts/rellns-sh: Add -p option.
11613 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11614 for source.
11615
11616 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11617
11618 * manual/nptl.texi: Renamed to ...
11619 * manual/threads.texi: ... this.
11620 * manual/Makefile (chapters): Update.
11621
11622 2013-03-18 Roland McGrath <roland@hack.frob.com>
11623
11624 [BZ #14812]
11625 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11626 on argument names, not just descriptions.
11627 * malloc/memusagestat.c (options): Likewise.
11628 * nss/getent.c (options): Likewise.
11629
11630 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11631
11632 [BZ #14812]
11633 * iconv/iconv_prog.c (options): Put N_ translation marker
11634 on argument names, not just descriptions.
11635 * iconv/iconvconfig.c (options): Likewise.
11636
11637 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11638
11639 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11640 implementation which is faster on all x86_64 architectures.
11641 Tested on AMD, Intel Nehalem, SNB, IVB.
11642 * sysdeps/x86_64/strnlen.S: Likewise.
11643
11644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11645 Remove all multiarch strlen and strnlen versions.
11646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11647 Remove strlen and strnlen related parts.
11648
11649 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11650 Inline strlen part.
11651 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11652
11653 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11654 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11655 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11656 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11657 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11658 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11659
11660 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11661
11662 * manual/memory.texi (Malloc Tunable Parameters):
11663 Sort parameters alphabetically. Add comments for missing entries.
11664
11665 2013-03-17 David S. Miller <davem@davemloft.net>
11666
11667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11668
11669 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11670
11671 [BZ #15283]
11672 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11673 for arguments at most half maximum finite value.
11674 * math/libm-test.inc (j0_test): Add more tests.
11675 (j1_test): Likewise.
11676 (y0_test): Likewise.
11677 (y1_test): Likewise.
11678 * sysdeps/i386/fpu/libm-test-ulps: Update.
11679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11680
11681 [BZ #14155]
11682 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11683 1 / x and functions P and Q for arguments above 0x1p256L.
11684 (__ieee754_y0l): Likewise.
11685 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11686 (__ieee754_y1l): Likewise.
11687 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11688 (j1_test): Likewise.
11689 (y0_test): Likewise.
11690 (y1_test): Likewise.
11691
11692 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11693
11694 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11695 variable.
11696
11697 2013-03-15 Roland McGrath <roland@hack.frob.com>
11698
11699 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11700 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11701 zero since it's initialized to EXEC_PAGESIZE.
11702
11703 * sysdeps/unix/sysv/linux/ldsodefs.h
11704 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11705 * sysdeps/generic/ldsodefs.h: ... here.
11706
11707 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11708
11709 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11710
11711 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11712 math/test-snan.c.
11713 * math/test-snan.c: Renamed from
11714 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11715 * math/Makefile (tests): Add test-snan.
11716 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11717 test-powerpc-snan.
11718
11719 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11720 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11721 functions.
11722 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11723 __builtin_nan family of functions.
11724 * math/libm-test.inc (initialize): Initialize qnan_value with
11725 __builtin_nan family of functions.
11726 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11727 Remove variables.
11728 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11729 Remove functions.
11730 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11731 storage class. Initialize qNaN_var and sNaN_var with
11732 __builtin_nan and __builtin_nans families of functions,
11733 respectively.
11734
11735 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11736 (sqrt_test): Remove duplicate test with qNaN input.
11737 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11738 (round_test, signbit_test, significand_test): Note missing +/-Inf
11739 as well as qNaN tests.
11740
11741 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11742 qNaN_var. Fix a few strings, too.
11743 * math/libm-test.inc (nan_value): Rename to qnan_value.
11744 * math/gen-libm-test.pl (%beautify): Adjust to that.
11745 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11746 * math/test-misc.c (main): Likewise.
11747 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11748 to __qnan_bytes, and __qnan_union, respectively.
11749 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11750 Likewise.
11751 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11752 and lqnanval, respectively.
11753 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11754 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11755 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11756 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11757
11758 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11759 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11760 doubles.
11761
11762 * math/test-misc.c (main): Fix copy'n'pastos.
11763 * misc/tst-efgcvt.c (special): Likewise.
11764
11765 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11766 Remove declarations.
11767
11768 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11769
11770 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11771 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11772 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11773 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11774
11775 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11776
11777 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11778 macro to return vdso values correctly in IFUNC implementations.
11779 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11780 Optimization by using IFUNC.
11781
11782 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11783 Richard Henderson <rth@redhat.com>
11784 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11785
11786 * Makefile.in (bench): New target.
11787 * NEWS: Mention the benchmark framework.
11788 * Rules (bench): Likewise.
11789 (binaries-bench): Generate binaries for functions to
11790 benchmark.
11791 * benchtests/Makefile: New makefile for benchmark tests.
11792 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11793 programs.
11794 * benchtests/exp-inputs: New input file for EXP function.
11795 * benchtests/pow-inputs: New input file for POW function.
11796 * scripts/bench.pl: New script to generate source files for
11797 benchmark programs.
11798
11799 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11800
11801 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11802 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11803 computations on mantissa. Use macros for rounding and
11804 division.
11805 (denorm): Likewise.
11806 (__dbl_mp): Likewise.
11807 (add_magnitudes): Likewise.
11808 (sub_magnitudes): Likewise.
11809 (__mul): Likewise.
11810 (__sqr): Likewise.
11811 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11812 powers of two in terms of TWOPOW macro.
11813 (mp_no): Make type of mantissa as MANTISSA_T.
11814 [!RADIXI]: Define RADIXI.
11815 [!TWO52]: Define TWO52.
11816 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11817
11818 * manual/nptl.texi (cindex): Modify threads to pthreads.
11819
11820 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11821
11822 * sysdeps/x86_64/preconfigure: Regenerated.
11823
11824 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11825
11826 [BZ #14155]
11827 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11828 0x1p28 and above.
11829 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11830 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11831 0x1p28 and above.
11832 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11833 * math/libm-test.inc (j0_test): Do not allow one spurious
11834 underflow exception.
11835 (y1_test): Likewise.
11836
11837 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11838
11839 * manual/Makefile (chapters): Add nptl.
11840 * manual/debug.texi (Debugging Support): Add link to Threads
11841 chapter.
11842 * manual/nptl.texi: New file.
11843
11844 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11845
11846 2013-03-14 Petr Baudis <pasky@ucw.cz>
11847
11848 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11849 for non-NULL pointer before the memory validity test. Pointed
11850 out by Holger Brunck <holger.brunck@keymile.com>.
11851
11852 2013-03-13 Andreas Schwab <schwab@suse.de>
11853
11854 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11855 instead of .os.
11856
11857 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11858
11859 * timezone/zic.c: Update from tzcode 2013b.
11860
11861 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11862
11863 * manual/install.texi (Configuring and compiling):
11864 Mention i686 and i586.
11865 * INSTALL: Regenerate.
11866
11867 2013-03-12 Roland McGrath <roland@hack.frob.com>
11868
11869 * sysdeps/init_array/elf-init.c: New file.
11870 * csu/elf-init.c
11871 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11872 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11873
11874 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11875 __gmon_start__ as global, but as static with a .preinit_array pointer.
11876 * sysdeps/init_array/gmon-start.c: New file. Use that.
11877 * sysdeps/init_array/crti.S: New file, empty except for comments.
11878 * sysdeps/init_array/crtn.S: Likewise.
11879
11880 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11881
11882 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11883 definining bcopy.
11884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11885 Remove Prefer_SSE_for_memop.
11886 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11887 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11888 HAS_PREFER_SSE_FOR_MEMOP.
11889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11890 memset-x86-64.
11891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11892 Remove bzero, memset ifunc support.
11893 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11894 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11895 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11896 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11897
11898 2013-03-11 Andreas Schwab <schwab@suse.de>
11899
11900 [BZ #15234]
11901 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11902 by SHLIB_COMPAT.
11903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11904 (GLIBC_2.16): Remove pthread_atfork.
11905
11906 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11907
11908 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11909 (ptestcases.h): Likewise.
11910
11911 2013-03-08 Roland McGrath <roland@hack.frob.com>
11912
11913 * Makeconfig ($(common-objpfx)config.status): Depend on
11914 sysdeps/*/preconfigure{,.in} too.
11915
11916 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11917
11918 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11919 (__free_hook): Use void * instead of __malloc_ptr_t.
11920 (__malloc_hook): Likewise.
11921 (__realloc_hook): Likewise.
11922 (__memalign_hook): Likewise.
11923 (__after_morecore_hook): Likewise.
11924 * malloc/arena.c (save_malloc_hook): Likewise.
11925 (save_free_hook): Likewise.
11926 * malloc/hooks.c (malloc_hook_ini): Likewise.
11927 (realloc_hook_ini): Likewise.
11928 (memalign_hook_ini): Likewise.
11929 * malloc/malloc.c (malloc_hook_ini): Likewise.
11930 (realloc_hook_ini): Likewise.
11931 (memalign_hook_ini): Likewise.
11932 (__free_hook): Likewise.
11933 (__malloc_hook): Likewise.
11934 (__realloc_hook): Likewise.
11935 (__memalign_hook): Likewise.
11936 (__libc_malloc): Likewise.
11937 (__libc_free): Likewise.
11938 (__libc_realloc): Likewise.
11939 (__libc_memalign): Likewise.
11940 (__libc_valloc): Likewise.
11941 (__libc_pvalloc): Likewise.
11942 (__libc_calloc): Likewise.
11943 (__posix_memalign): Likewise.
11944 * malloc/morecore.c (__sbrk): Likewise.
11945 (__default_morecore): Likewise.
11946
11947 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11948
11949 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11950 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11951 __malloc_ptrdiff_t.
11952
11953 * malloc/malloc.h (__malloc_size_t): Remove macro.
11954 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11955 __malloc_size_t.
11956 (old_memalign_hook): Likewise.
11957 (old_realloc_hook): Likewise.
11958 (struct hdr): Likewise.
11959 (flood): Likewise.
11960 (mallochook): Likewise.
11961 (memalignhook): Likewise.
11962 (reallochook): Likewise.
11963 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11964 (tr_old_realloc_hook): Likewise.
11965 (tr_old_memalign_hook): Likewise.
11966 (tr_mallochook): Likewise.
11967 (tr_reallochook): Likewise.
11968 (tr_memalignhook): Likewise.
11969
11970 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11971
11972 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11973 default_ldbl_pack and using as default implementation.
11974 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11975 implementation.
11976 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11977 redundant definition.
11978 (ldbl_insert_mantissa): Likewise.
11979 (ldbl_canonicalize): Likewise.
11980 (ldbl_nearbyint): Likewise.
11981 (ldbl_pack): Rename to ldbl_pack_ppc.
11982 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11983 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11984 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11985
11986 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11987
11988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11989 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11990 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11991 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11993 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11994 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11995 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11996
11997 2013-03-07 Andreas Jaeger <aj@suse.de>
11998
11999 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12000 bits/mman-linux.h.
12001
12002 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12003
12004 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12005 Include mpa.h and declare __MPEXP.
12006 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12007 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12008 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12009 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12010 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12011 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12012 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12013
12014 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12015 (__slowpow): Use long double EXPL and LOGL functions to
12016 compute POW.
12017 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12018 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12019 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12020 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12021 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12022 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12023
12024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12025 intermediate variable to calculate exponent.
12026 (__sqr): Likewise.
12027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12028 Likewise.
12029 (__sqr): Likewise.
12030
12031 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12032 [!NO__SQR]: Define __sqr.
12033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12034 and NO__SQR. Remove all code except __mul and __sqr. Include
12035 sysdeps/ieee754/dbl-64/mpa.c.
12036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12037
12038 [BZ #12723]
12039 * posix/Makefile (tests): Add tst-pathconf.
12040 * posix/tst-pathconf.c: New test case.
12041 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12042 _PC_PIPE_BUF.
12043 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12044
12045 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12046
12047 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12048
12049 2013-03-06 Andreas Jaeger <aj@suse.de>
12050
12051 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12052 definition via __MAP_ANONYMOUS.
12053
12054 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12055 it's not part of Linux headers.
12056
12057 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12058 (MAP_HUGE_MASK): Define.
12059
12060 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12061 Define.
12062 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12064 Define.
12065 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12066 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12067 Define.
12068 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12070 Define.
12071 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12072
12073 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12074 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12075 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12076 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12077 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12078 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12079
12080 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12081 Handle f2fs.
12082
12083 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12084 Handle f2fs and efivarfs.
12085
12086 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12087 f2fs.
12088
12089 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12090 (EFIVARFS_MAGIC): Add.
12091 (F2FS_LINK_MAX): Add.
12092
12093 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12094
12095 * stdio-common/vfprintf.c: Replace __builtin_expect with
12096 __glibc_unlikely.
12097
12098 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12099
12100 [BZ #13550]
12101 * sysdeps/generic/bp-sym.h: Remove file.
12102 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12103 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12104 <bp-sym.h> and <bp-asm.h>.
12105 (__longjmp): Don't use BP_SYM.
12106 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12107 and <bp-asm.h>.
12108 (memcpy): Don't use BP_SYM.
12109 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12110 <bp-sym.h> and <bp-asm.h>.
12111 (memcpy): Don't use BP_SYM.
12112 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12113 <bp-asm.h>.
12114 (memcpy): Don't use BP_SYM.
12115 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12116 <bp-asm.h>.
12117 (memset): Don't use BP_SYM.
12118 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12119 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12120 (__bzero): Don't use BP_SYM.
12121 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12122 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12123 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12124 <bp-sym.h> and <bp-asm.h>.
12125 (memcmp): Don't use BP_SYM. Remove comment about bounded
12126 pointers.
12127 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12128 <bp-sym.h> and <bp-asm.h>.
12129 (memcpy): Don't use BP_SYM.
12130 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12131 <bp-sym.h> and <bp-asm.h>.
12132 (memset): Don't use BP_SYM.
12133 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12134 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12135 (__bzero): Don't use BP_SYM.
12136 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12137 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12138 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12139 <bp-sym.h> and <bp-asm.h>.
12140 (strncmp): Don't use BP_SYM. Remove comment about bounded
12141 pointers.
12142 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12143 <bp-sym.h> and <bp-asm.h>.
12144 (memcpy): Don't use BP_SYM.
12145 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12146 <bp-sym.h> and <bp-asm.h>.
12147 (memset): Don't use BP_SYM.
12148 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12149 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12150 (__bzero): Don't use BP_SYM.
12151 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12152 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12153 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12154 <bp-sym.h> and <bp-asm.h>.
12155 (__memchr): Don't use BP_SYM.
12156 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12157 <bp-sym.h> and <bp-asm.h>.
12158 (memcmp): Don't use BP_SYM. Remove comment about bounded
12159 pointers.
12160 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12161 <bp-sym.h> and <bp-asm.h>.
12162 (memcpy): Don't use BP_SYM.
12163 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12164 <bp-sym.h> and <bp-asm.h>.
12165 (__mempcpy): Don't use BP_SYM.
12166 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12167 <bp-sym.h> and <bp-asm.h>.
12168 (__memrchr): Don't use BP_SYM.
12169 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12170 <bp-sym.h> and <bp-asm.h>.
12171 (memset): Don't use BP_SYM.
12172 (__bzero): Likewise.
12173 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12174 <bp-sym.h> and <bp-asm.h>.
12175 (__rawmemchr): Don't use BP_SYM.
12176 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12177 <bp-sym.h> and <bp-asm.h>.
12178 (__STRCMP): Don't use BP_SYM.
12179 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12180 <bp-sym.h> and <bp-asm.h>.
12181 (strchr): Don't use BP_SYM.
12182 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12183 <bp-sym.h> and <bp-asm.h>.
12184 (__strchrnul): Don't use BP_SYM.
12185 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12186 <bp-sym.h> and <bp-asm.h>.
12187 (strlen): Don't use BP_SYM.
12188 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12189 <bp-sym.h> and <bp-asm.h>.
12190 (strncmp): Don't use BP_SYM. Remove comment about bounded
12191 pointers.
12192 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12193 <bp-sym.h> and <bp-asm.h>.
12194 (__strnlen): Don't use BP_SYM.
12195 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12196 <bp-sym.h> and <bp-asm.h>.
12197 (__GI__setjmp): Don't use BP_SYM.
12198 (_setjmp): Likewise.
12199 (__sigsetjmp): Likewise.
12200 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12201 (L(start_addresses)): Don't use BP_SYM.
12202 (_start): Likewise.
12203 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12204 <bp-asm.h>.
12205 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12206 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12207 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12208 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12209 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12210 <bp-asm.h>.
12211 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12212 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12213 about bounded pointers.
12214 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12215 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12216 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12217 <bp-asm.h>.
12218 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12219 about bounded pointers. Remove GKM FIXME comments.
12220 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12221 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12222 <bp-asm.h>.
12223 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12224 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12225 Remove GKM FIXME comments.
12226 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12227 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12228 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12229 <bp-asm.h>.
12230 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12231 about bounded pointers. Remove GKM FIXME comment.
12232 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12233 and <bp-asm.h>.
12234 (strncmp): Don't use BP_SYM. Remove comment about bounded
12235 pointers.
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12237 <bp-sym.h> and <bp-asm.h>.
12238 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12240 <bp-sym.h> and <bp-asm.h>.
12241 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12242 comment.
12243
12244 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12245
12246 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12247 call free(NULL).
12248
12249 2013-03-05 David S. Miller <davem@davemloft.net>
12250
12251 * po/es.po: Update from translation team.
12252
12253 2013-03-05 Andreas Jaeger <aj@suse.de>
12254
12255 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12256 <bits/mman-linux.h>.
12257 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12258 is fine.
12259 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12260 <bits/mman-linux.h> to end of file.
12261 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12262 is fine.
12263 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12264 <bits/mman-linux.h> to end of file.
12265 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12266 is fine.
12267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12268 <bits/mman-linux.h> to end of file.
12269
12270 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12271 (MCL_CURRENT, MCL_FUTURE): Define here.
12272
12273 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12274
12275 [BZ #15232]
12276 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12277 attribute_hidden.
12278 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12279
12280 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12281
12282 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12283 fourth parameter needed for rt_sigprocmask syscall.
12284 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12285 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12286 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12287 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12288 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12289 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12290
12291 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12292
12293 [BZ #13550]
12294 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12295 comment about bounded pointers.
12296 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12297 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12298
12299 2013-03-04 Andreas Jaeger <aj@suse.de>
12300
12301 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12302 common definitions.
12303
12304 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12305 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12306 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12307 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12308 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12309 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12310
12311 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12312
12313 [BZ #15055]
12314 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12315 __ieee754_sqrl instead of __sqrl.
12316
12317 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12318
12319 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12320 * sysdeps/powerpc/fpu_control.h: ... here.
12321 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12322 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12323 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12324 * sysdeps/powerpc/bits/mathinline.h: ... here.
12325
12326 2013-03-01 Roland McGrath <roland@hack.frob.com>
12327
12328 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12329 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12330 to just [NEED_DL_SYSINFO_DSO].
12331 * elf/dl-support.c: Likewise.
12332 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12333 * elf/rtld.c (dl_main): Likewise.
12334 * elf/setup-vdso.h (setup_vdso): Likewise.
12335 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12336 * sysdeps/unix/sysv/linux/dl-sysdep.c
12337 (_dl_discover_osversion): Likewise.
12338
12339 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12340
12341 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12342 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12343
12344 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12345
12346 * NEWS: Mention libm performance improvements and non-x86 PI
12347 futex support.
12348
12349 * csu/libc-start.c (__pthread_initialize_minimal): Change
12350 function arguments.
12351 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12352
12353 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12354
12355 [BZ #13550]
12356 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12357 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12358 <bp-sym.h> and <bp-asm.h>.
12359 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12360 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12361 and <bp-asm.h>.
12362 (memcpy): Don't use BP_SYM.
12363 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12364 <bp-asm.h>.
12365 (__mpn_add_n): Don't use BP_SYM.
12366 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12367 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12368 and <bp-asm.h>.
12369 (__mpn_addmul_1): Don't use BP_SYM.
12370 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12371 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12372 <bp-sym.h>.
12373 (_setjmp): Don't use BP_SYM.
12374 (__novmx_setjmp): Likewise.
12375 (__GI__setjmp): Likewise.
12376 (__vmx_setjmp): Likewise.
12377 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12378 <bp-sym.h>.
12379 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12380 (__bzero): Don't use BP_SYM.
12381 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12382 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12383 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12384 <bp-sym.h> and <bp-asm.h>.
12385 (memcpy): Don't use BP_SYM.
12386 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12387 <bp-sym.h> and <bp-asm.h>.
12388 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12389 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12390 <bp-sym.h> and <bp-asm.h>.
12391 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12392 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12393 <bp-asm.h>.
12394 (__mpn_lshift): Don't use BP_SYM.
12395 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12396 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12397 <bp-asm.h>.
12398 (memset): Don't use BP_SYM.
12399 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12400 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12401 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12402 <bp-asm.h>.
12403 (__mpn_mul_1): Don't use BP_SYM.
12404 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12405 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12406 <bp-sym.h> and <bp-asm.h>.
12407 (memcmp): Don't use BP_SYM.
12408 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12409 <bp-sym.h> and <bp-asm.h>.
12410 (memcpy): Don't use BP_SYM.
12411 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12412 <bp-sym.h> and <bp-asm.h>.
12413 (memset): Don't use BP_SYM.
12414 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12415 <bp-sym.h> and <bp-asm.h>.
12416 (strncmp): Don't use BP_SYM.
12417 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12418 <bp-sym.h> and <bp-asm.h>.
12419 (memcpy): Don't use BP_SYM.
12420 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12421 <bp-sym.h> and <bp-asm.h>.
12422 (memset): Don't use BP_SYM.
12423 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12424 <bp-sym.h> and <bp-asm.h>.
12425 (__memchr): Don't use BP_SYM.
12426 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12427 <bp-sym.h> and <bp-asm.h>.
12428 (memcmp): Don't use BP_SYM.
12429 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12430 <bp-sym.h> and <bp-asm.h>.
12431 (memcpy): Don't use BP_SYM.
12432 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12433 <bp-sym.h> and <bp-asm.h>.
12434 (__mempcpy): Don't use BP_SYM.
12435 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12436 <bp-sym.h> and <bp-asm.h>.
12437 (__memrchr): Don't use BP_SYM.
12438 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12439 <bp-sym.h> and <bp-asm.h>.
12440 (memset): Don't use BP_SYM.
12441 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12442 <bp-sym.h> and <bp-asm.h>.
12443 (__rawmemchr): Don't use BP_SYM.
12444 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12445 <bp-sym.h> and <bp-asm.h>.
12446 (__STRCMP): Don't use BP_SYM.
12447 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12448 <bp-sym.h> and <bp-asm.h>.
12449 (strchr): Don't use BP_SYM.
12450 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12451 <bp-sym.h> and <bp-asm.h>.
12452 (__strchrnul): Don't use BP_SYM.
12453 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12454 <bp-sym.h> and <bp-asm.h>.
12455 (strlen): Don't use BP_SYM.
12456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12457 <bp-sym.h> and <bp-asm.h>.
12458 (strncmp): Don't use BP_SYM.
12459 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12460 <bp-sym.h> and <bp-asm.h>.
12461 (__strnlen): Don't use BP_SYM.
12462 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12463 <bp-asm.h>.
12464 (__mpn_rshift): Don't use BP_SYM.
12465 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12466 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12467 <bp-sym.h> and <bp-asm.h>.
12468 (__sigsetjmp): Don't use BP_SYM.
12469 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12470 (L(start_addresses)): Don't use BP_SYM.
12471 (_start): Likewise.
12472 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12473 <bp-asm.h>.
12474 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12475 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12476 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12477 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12478 <bp-asm.h>.
12479 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12480 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12481 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12482 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12483 <bp-asm.h>.
12484 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12485 comments.
12486 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12487 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12488 <bp-asm.h>.
12489 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12490 FIXME comments.
12491 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12492 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12493 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12494 <bp-asm.h>.
12495 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12496 comment.
12497 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12498 and <bp-asm.h>.
12499 (strncmp): Don't use BP_SYM,
12500 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12501 <bp-asm.h>.
12502 (__mpn_sub_n): Don't use BP_SYM.
12503 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12504 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12505 and <bp-asm.h>.
12506 (__mpn_submul_1): Don't use BP_SYM.
12507 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12509 <bp-sym.h> and <bp-asm.h>.
12510 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12512 <bp-sym.h> and <bp-asm.h>.
12513 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12514 comment.
12515
12516 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12517
12518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12519 Use ZK to minimize writes to Z.
12520 (sub_magnitudes): Simplify code a bit.
12521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12522 Use ZK to minimize writes to Z.
12523 (sub_magnitudes): Simplify code a bit.
12524
12525 2013-02-27 Roland McGrath <roland@hack.frob.com>
12526
12527 * csu/gmon-start.c: Add special exception to license text.
12528
12529 2013-02-27 Richard Henderson <rth@redhat.com>
12530
12531 * scripts/config.guess: Update from config.git.
12532 * scripts/config.sub: Likewise.
12533
12534 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12535
12536 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12537
12538 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12539
12540 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12541
12542 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12543
12544 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12545
12546 2013-02-26 Roland McGrath <roland@hack.frob.com>
12547
12548 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12549 [$(build-shared = yes].
12550
12551 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12552
12553 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12554 (__mul): Reduce iterations for calculating mantissa.
12555
12556 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12557 MPTWO.
12558 (__mpranred): Likewise.
12559
12560 [BZ #15160]
12561 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12562 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12563
12564 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12565
12566 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12567 Define __attribute__.
12568
12569 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12570
12571 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12572 unused.
12573 * posix/regex_internal.h (__attribute): Remove.
12574 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12575 (re_string_context_at): Likewise.
12576 (bitset_not): Use __attribute__ and mark function as possibly
12577 unused.
12578 (bitset_merge): Likewise.
12579 (bitset_mask): Likewise.
12580 (re_string_char_size_at): Likewise.
12581 (re_string_wchar_at): Likewise.
12582 (re_string_elem_size_at): Likewise.
12583
12584 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12585
12586 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12587 code.
12588 (cc32): Likewise.
12589
12590 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12591 (__acr): Likewise.
12592 (__cpy): Likewise.
12593 (norm): Likewise.
12594 (denorm): Likewise.
12595 (__dbl_mp): Likewise.
12596 (add_magnitudes): Likewise.
12597 (sub_magnitudes): Likewise.
12598 (__mul): Likewise.
12599 (__inv): Likewise.
12600
12601 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12602 style.
12603
12604 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12605 style.
12606
12607 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12608 code.
12609
12610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12611 up changes with default code.
12612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12613 Likewise.
12614
12615 2013-02-24 Allan McRae <allan@archlinux.org>
12616
12617 * manual/socket.texi (The Internet Namespace): Order menu items
12618 to match that in the file.
12619
12620 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12621 node listing of the info page menu.
12622
12623 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12624
12625 [BZ #13550]
12626 * sysdeps/i386/bp-asm.h: Remove file.
12627 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12628 (PARMS): Do not use macros from bp-asm.h.
12629 (S1): Likewise.
12630 (S2): Likewise.
12631 (SIZE): Likewise.
12632 (__mpn_add_n): Do not use BP_SYM
12633 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12634 "bp-asm.h".
12635 (PARMS): Do not use macros from bp-asm.h.
12636 (S1): Likewise.
12637 (SIZE): Likewise.
12638 (__mpn_addmul_1): Do not use BP_SYM
12639 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12640 "bp-asm.h".
12641 (PARMS): Do not use macros from bp-asm.h.
12642 (SIGMSK): Likewise.
12643 (_setjmp): Likewise. Do not use BP_SYM.
12644 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12645 "bp-asm.h".
12646 (PARMS): Do not use macros from bp-asm.h.
12647 (SIGMSK): Likewise.
12648 (setjmp): Likewise. Do not use BP_SYM.
12649 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12650 "bp-asm.h".
12651 (PARMS): Do not use macros from bp-asm.h.
12652 (__frexp): Do not use BP_SYM.
12653 (frexp): Likewise.
12654 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12655 "bp-asm.h".
12656 (PARMS): Do not use macros from bp-asm.h.
12657 (__frexpf): Do not use BP_SYM.
12658 (frexpf): Likewise.
12659 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12660 "bp-asm.h".
12661 (PARMS): Do not use macros from bp-asm.h.
12662 (__frexpl): Do not use BP_SYM.
12663 (frexpl): Likewise.
12664 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12665 "bp-asm.h".
12666 (PARMS): Do not use macros from bp-asm.h.
12667 (__remquo): Do not use BP_SYM.
12668 (remquo): Likewise.
12669 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12670 "bp-asm.h".
12671 (PARMS): Do not use macros from bp-asm.h.
12672 (__remquof): Do not use BP_SYM.
12673 (remquof): Likewise.
12674 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12675 "bp-asm.h".
12676 (PARMS): Do not use macros from bp-asm.h.
12677 (__remquol): Do not use BP_SYM.
12678 (remquol): Likewise.
12679 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12680 "bp-asm.h".
12681 (PARMS): Do not use macros from bp-asm.h.
12682 (DEST): Likewise.
12683 (SRC): Likewise.
12684 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12685 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12686 "bp-asm.h".
12687 (PARMS): Do not use macros from bp-asm.h.
12688 (strlen): Do not use BP_SYM.
12689 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12690 "bp-asm.h".
12691 (PARMS): Do not use macros from bp-asm.h.
12692 (S1): Likewise.
12693 (S2): Likewise.
12694 (SIZE): Likewise.
12695 (__mpn_add_n): Do not use BP_SYM.
12696 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12697 "bp-asm.h".
12698 (PARMS): Do not use macros from bp-asm.h.
12699 (S1): Likewise.
12700 (SIZE): Likewise.
12701 (__mpn_addmul_1): Do not use BP_SYM.
12702 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12703 weak_alias.
12704 (bzero): Likewise.
12705 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12706 "bp-asm.h".
12707 (PARMS): Do not use macros from bp-asm.h.
12708 (S): Likewise.
12709 (SIZE): Likewise.
12710 (__mpn_lshift): Do not use BP_SYM.
12711 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12712 "bp-asm.h".
12713 (PARMS): Do not use macros from bp-asm.h.
12714 (DEST): Likewise.
12715 (SRC): Likewise.
12716 (LEN): Likewise.
12717 (memcpy): Likewise. Do not use BP_SYM.
12718 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12719 libc_hidden_def and weak_alias.
12720 (mempcpy): Do not use BP_SYM in weak_alias.
12721 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12722 "bp-asm.h".
12723 (PARMS): Do not use macros from bp-asm.h.
12724 (DEST): Likewise.
12725 (LEN): Likewise.
12726 [!BZERO_P] (CHR): Likewise.
12727 (memset): Likewise. Do not use BP_SYM.
12728 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12729 "bp-asm.h".
12730 (PARMS): Do not use macros from bp-asm.h.
12731 (S1): Likewise.
12732 (SIZE): Likewise.
12733 (__mpn_mul_1): Do not use BP_SYM.
12734 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12735 "bp-asm.h".
12736 (PARMS): Do not use macros from bp-asm.h.
12737 (S): Likewise.
12738 (SIZE): Likewise.
12739 (__mpn_rshift): Do not use BP_SYM.
12740 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12741 "bp-asm.h".
12742 (PARMS): Do not use macros from bp-asm.h.
12743 (STR): Likewise.
12744 (CHR): Likewise.
12745 (strchr): Likewise. Do not use BP_SYM.
12746 (index): Do not use BP_SYM in weak_alias.
12747 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12748 "bp-asm.h".
12749 (PARMS): Do not use macros from bp-asm.h.
12750 (DEST): Likewise.
12751 (SRC): Likewise.
12752 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12753 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12754 "bp-asm.h".
12755 (PARMS): Do not use macros from bp-asm.h.
12756 (strlen): Do not use BP_SYM.
12757 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12758 "bp-asm.h".
12759 (PARMS): Do not use macros from bp-asm.h.
12760 (S1): Likewise.
12761 (S2): Likewise.
12762 (SIZE): Likewise.
12763 (__mpn_sub_n): Do not use BP_SYM.
12764 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12765 "bp-asm.h".
12766 (PARMS): Do not use macros from bp-asm.h.
12767 (S1): Likewise.
12768 (SIZE): Likewise.
12769 (__mpn_submul_1): Do not use BP_SYM.
12770 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12771 "bp-asm.h".
12772 (PARMS): Do not use macros from bp-asm.h.
12773 (S1): Likewise.
12774 (S2): Likewise.
12775 (SIZE): Likewise.
12776 (__mpn_add_n): Do not use BP_SYM.
12777 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12778 weak_alias.
12779 (bzero): Likewise.
12780 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12781 "bp-asm.h".
12782 (PARMS): Do not use macros from bp-asm.h.
12783 (BLK2): Likewise.
12784 (LEN): Likewise.
12785 (memcmp): Do not use BP_SYM.
12786 (bcmp): Do not use BP_SYM in weak_alias.
12787 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12788 "bp-asm.h".
12789 (PARMS): Do not use macros from bp-asm.h.
12790 (DEST): Likewise.
12791 (SRC): Likewise.
12792 (LEN): Likewise.
12793 (memcpy): Likewise. Do not use BP_SYM.
12794 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12795 "bp-asm.h".
12796 (PARMS): Do not use macros from bp-asm.h.
12797 (DEST): Likewise.
12798 (SRC): Likewise.
12799 (LEN): Likewise.
12800 (memmove): Likewise. Do not use BP_SYM.
12801 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12802 "bp-asm.h".
12803 (PARMS): Do not use macros from bp-asm.h.
12804 (DEST): Likewise.
12805 (SRC): Likewise.
12806 (LEN): Likewise.
12807 (__mempcpy): Likewise. Do not use BP_SYM.
12808 (mempcpy): Do not use BP_SYM in weak_alias.
12809 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
12814 [!BZERO_P] (CHR): Likewise.
12815 (memset): Likewise. Do not use BP_SYM.
12816 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12817 "bp-asm.h".
12818 (PARMS): Do not use macros from bp-asm.h.
12819 (STR2): Likewise.
12820 (strcmp): Do not use BP_SYM.
12821 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12822 "bp-asm.h".
12823 (PARMS): Do not use macros from bp-asm.h.
12824 (STR): Likewise.
12825 (DELIM): Likewise.
12826 [USE_AS_STRTOK_R] (SAVE): Likewise.
12827 (FUNCTION): Likewise. Do not use BP_SYM.
12828 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12829 aliases.
12830 (strtok_r): Likewise.
12831 (__GI___strtok_r): Likewise.
12832 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12833 (PARMS): Do not use macros from bp-asm.h.
12834 (S): Likewise.
12835 (SIZE): Likewise.
12836 (__mpn_lshift): Do not use BP_SYM.
12837 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12838 (PARMS): Do not use macros from bp-asm.h.
12839 (STR): Likewise.
12840 (CHR): Likewise.
12841 (__memchr): Do not use BP_SYM.
12842 (memchr): Do not use BP_SYM in weak_alias.
12843 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12844 (PARMS): Do not use macros from bp-asm.h.
12845 (BLK2): Likewise.
12846 (LEN): Likewise.
12847 (memcmp): Do not use BP_SYM.
12848 (bcmp): Do not use BP_SYM in weak_alias.
12849 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12850 (PARMS): Do not use macros from bp-asm.h.
12851 (S1): Likewise.
12852 (SIZE): Likewise.
12853 (__mpn_mul_1): Do not use BP_SYM.
12854 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12855 "bp-asm.h".
12856 (PARMS): Do not use macros from bp-asm.h.
12857 (STR): Likewise.
12858 (CHR): Likewise.
12859 (__rawmemchr): Do not use BP_SYM.
12860 (rawmemchr): Do not use BP_SYM in weak_alias.
12861 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12862 (PARMS): Do not use macros from bp-asm.h.
12863 (S): Likewise.
12864 (SIZE): Likewise.
12865 (__mpn_rshift): Do not use BP_SYM.
12866 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12867 (PARMS): Do not use macros from bp-asm.h.
12868 (SIGMSK): Likewise.
12869 (__sigsetjmp): Likewise. Do not use BP_SYM.
12870 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12871 (_start): Do not use BP_SYM.
12872 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12873 (PARMS): Do not use macros from bp-asm.h.
12874 (DEST): Likewise.
12875 (SRC): Likewise.
12876 (__stpcpy): Likewise. Do not use BP_SYM.
12877 (stpcpy): Do not use BP_SYM in weak_alias.
12878 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12879 "bp-asm.h".
12880 (PARMS): Do not use macros from bp-asm.h.
12881 (DEST): Likewise.
12882 (SRC): Likewise.
12883 (LEN): Likewise.
12884 (__stpncpy): Likewise. Do not use BP_SYM.
12885 (stpncpy): Do not use BP_SYM in weak_alias.
12886 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12887 (PARMS): Do not use macros from bp-asm.h.
12888 (STR): Likewise.
12889 (CHR): Likewise.
12890 (strchr): Likewise. Do not use BP_SYM.
12891 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12892 "bp-asm.h".
12893 (PARMS): Do not use macros from bp-asm.h.
12894 (STR): Likewise.
12895 (CHR): Likewise.
12896 (__strchrnul): Likewise. Do not use BP_SYM.
12897 (strchrnul): Do not use BP_SYM in weak_alias.
12898 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12899 "bp-asm.h".
12900 (PARMS): Do not use macros from bp-asm.h.
12901 (STOP): Likewise.
12902 (strcspn): Do not use BP_SYM.
12903 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12904 "bp-asm.h".
12905 (PARMS): Do not use macros from bp-asm.h.
12906 (STR): Likewise.
12907 (STOP): Likewise.
12908 (strpbrk): Likewise. Do not use BP_SYM.
12909 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12910 "bp-asm.h".
12911 (PARMS): Do not use macros from bp-asm.h.
12912 (STR): Likewise.
12913 (CHR): Likewise.
12914 (strrchr): Likewise. Do not use BP_SYM.
12915 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12916 (PARMS): Do not use macros from bp-asm.h.
12917 (SKIP): Likewise.
12918 (strspn): Do not use BP_SYM.
12919 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12920 (PARMS): Do not use macros from bp-asm.h.
12921 (STR): Likewise.
12922 (DELIM): Likewise.
12923 (SAVE): Likewise.
12924 (FUNCTION): Likewise. Do not use BP_SYM.
12925 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12926 aliases.
12927 (strtok_r): Likewise.
12928 (__GI___strtok_r): Likewise.
12929 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12930 (PARMS): Do not use macros from bp-asm.h.
12931 (S1): Likewise.
12932 (S2): Likewise.
12933 (SIZE): Likewise.
12934 (__mpn_sub_n): Do not use BP_SYM.
12935 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12936 "bp-asm.h".
12937 (PARMS): Do not use macros from bp-asm.h.
12938 (S1): Likewise.
12939 (SIZE): Likewise.
12940 (__mpn_submul_1): Do not use BP_SYM.
12941 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12942 <bp-sym.h>.
12943 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12944 and <bp-asm.h>.
12945 (PARMS): Do not use macros from bp-asm.h.
12946 (FLAGS): Likewise.
12947 (PTID): Likewise.
12948 (TLS): Likewise.
12949 (CTID): Likewise.
12950 (__clone): Do not use BP_SYM.
12951 (clone): Do not use BP_SYM in weak_alias.
12952 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12953 and <bp-asm.h>.
12954 (PARMS): Do not use macros from bp-asm.h.
12955 (LEN): Likewise.
12956 (__mmap64): Do not use BP_SYM.
12957 (mmap64): Do not use BP_SYM in weak_alias.
12958 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12959 <bp-sym.h> and <bp-asm.h>.
12960 (PARMS): Do not use macros from bp-asm.h.
12961 (__posix_fadvise64_l64): Do not use BP_SYM.
12962 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12963 (PARMS): Do not use macros from bp-asm.h.
12964 (NSOPS): Likewise.
12965 (semtimedop): Do not use BP_SYM.
12966 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12967 and <bp-asm.h>.
12968
12969 2013-02-21 Allan McRae <allan@archlinux.org>
12970
12971 * manual/message.texi (Charset conversion in gettext):
12972 Move @end statement to beginning of line.
12973
12974 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12975
12976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12977 static.
12978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12979 Likewise.
12980
12981 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12982 (denorm): Likewise.
12983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12985
12986 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12987
12988 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12989 tail-call to the resolved function if pltexit isn't needed.
12990
12991 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12992
12993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12994 or Y being zero as being unlikely.
12995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12996 Likewise.
12997
12998 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12999
13000 * manual/nss.texi (System Databases and Name Service Switch):
13001 Remove frobnicate @pxref.
13002
13003 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13004
13005 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13006 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13007
13008 2013-02-20 Petr Machata <pmachata@redhat.com>
13009
13010 * elf/elf.h (R_ARM_TARGET1): New macro.
13011 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13012 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13013 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13014 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13015 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13016 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13017 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13018 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13019 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13020 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13021 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13022 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13023 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13024 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13025 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13026 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13027 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13028 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13029 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13030 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13031 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13032 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13033 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13034 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13035 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13036 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13037 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13038 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13039 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13040 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13041 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13042 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13043 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13044 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13045 (R_ARM_THM_GOT_BREL12): Likewise.
13046 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13047 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13048 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13049 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13050 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13051 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13052 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13053 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13054 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13055
13056 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13057
13058 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13059 __attribute_used__ to __attribute__ ((unused)).
13060
13061 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13062
13063 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13064 powerpc mpa.c.
13065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13066 comment formatting.
13067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13068
13069 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13070
13071 [BZ #13550]
13072 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13073 Remove macro.
13074 (ENTER): Remove both macro definitions.
13075 (LEAVE): Likewise.
13076 (CHECK_BOUNDS_LOW): Likewise.
13077 (CHECK_BOUNDS_HIGH): Likewise.
13078 (CHECK_BOUNDS_BOTH): Likewise.
13079 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13080 (RETURN_BOUNDED_POINTER): Likewise.
13081 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13082 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13083 (POP_ERRNO_LOCATION_RETURN): Likewise.
13084 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13085 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13086 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13087 macros.
13088 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13089 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13090 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13091 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13092 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13093 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13094 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13095 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13096 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13097 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13098 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13099 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13100 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13101 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13102 removed macros.
13103 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13104 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13105 macros.
13106 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13107 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13108 * sysdeps/i386/i586/memset.S (memset): Likewise.
13109 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13110 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13111 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13112 macros.
13113 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13114 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13115 Change uses of L(2) to L(out).
13116 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13117 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13118 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13119 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13120 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13121 removed macros.
13122 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13123 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13124 macros.
13125 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13126 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13127 (RETURN): Do not use macro LEAVE.
13128 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13129 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13130 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13131 * sysdeps/i386/i686/memset.S (memset): Likewise.
13132 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13133 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13134 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13135 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13136 Likewise.
13137 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13138 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13139 L(1_2) and L(1_3) into L(1).
13140 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13141 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13142 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13143 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13144 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13145 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13146 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13147 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13148 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13149 macros.
13150 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13151 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13152 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13153 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13154 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13155 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13156 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13157 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13158 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13159 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13160 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13161 * sysdeps/i386/strspn.S (strspn): Likewise.
13162 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13163 conditional code.
13164 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13165 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13166 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13167 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13168 L(1_3) into L(1_1).
13169 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13170 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13171 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13172 macros.
13173 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13174
13175 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13176
13177 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13178 macro.
13179
13180 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13181
13182 * math/atest-exp.c (exp_mpn): Remove ROUND.
13183 * math/atest-exp2.c (exp_mpn): Likewise.
13184 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13185
13186 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13187 * stdlib/tst-tls-atexit-lib.c: Likewise.
13188 * stdlib/tst-tls-atexit.c: Likewise.
13189
13190 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13191
13192 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13193 and __attribute_alloc_size__.
13194
13195 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13196
13197 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13198 __attribute_alloc_size__.
13199 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13200 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13201
13202 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13203
13204 * include/programs/xmalloc.h: New file.
13205 * catgets/gencat.c: Include it.
13206 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13207 * elf/pldd.c: Likewise.
13208 * iconv/iconv_charmap.c: Likewise.
13209 * iconv/iconvconfig.c: Likewise.
13210 * iconv/strtab.c: Likewise.
13211 * locale/programs/locale.c: Likewise.
13212 * locale/programs/localedef.h: Likewise.
13213 * locale/programs/simple-hash.c: Likewise.
13214 * nscd/nscd.h: Likewise.
13215 * nss/makedb.c: Likewise.
13216 * sysdeps/generic/ldconfig.h: Likewise.
13217
13218 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13219
13220 * Versions.def: Add GLIBC_2.18.
13221 * include/link.h (struct link_map): New member l_tls_dtor_count.
13222 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13223 (__call_tls_dtors): Likewise.
13224 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13225 __cxa_thread_atexit_impl.
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13227 Likewise.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13229 Likewise.
13230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13231 Likewise.
13232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13233 Likewise.
13234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13236 Likewise.
13237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13238 Likewise.
13239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13241 Likewise.
13242 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13243 (tests): Add test case tst-tls-atexit.
13244 (modules-names): Add shared library for tst-tls-atexit.
13245 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13246 (GLIBC_PRIVATE): Add __call_tls_dtors.
13247 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13248 for libstdc++.
13249 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13250 * stdlib/tst-tls-atexit.c: New test case.
13251 * stdlib/tst-tls-atexit-lib.c: New test case.
13252
13253 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13254
13255 * elf/Versions (ld): Add _dl_find_dso_for_object.
13256 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13257 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13258 (dl_open_worker): Use _dl_find_dso_for_object.
13259 * elf/dl-sym.c (do_sym): Likewise.
13260 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13261
13262 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13263
13264 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13265 Syntactic changes only.
13266 (_dl_runtime_profile): Do a tail-call to the resolved function.
13267
13268 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13269
13270 [BZ #13550]
13271 * sysdeps/x86_64/bp-asm.h: Remove file.
13272 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13273 <bp-sym.h> and <bp-asm.h>.
13274 (__clone): Do not use BP_SYM.
13275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13276 <bp-sym.h> and <bp-asm.h>.
13277 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13278 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13279 "bp-asm.h".
13280 (_setjmp): Do not use BP_SYM.
13281 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13282 "bp-asm.h".
13283 (setjmp): Do not use BP_SYM.
13284 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13285 libc_hidden_def.
13286 (mempcpy): Do not use BP_SYM in weak_alias.
13287 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13288 "bp-asm.h".
13289 (strchr): Do not use BP_SYM.
13290 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13291 "bp-asm.h".
13292 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13293 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13294 (_start): Do not use BP_SYM.
13295 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13296 "bp-asm.h".
13297 (strcat): Do not use BP_SYM.
13298 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13299 "bp-asm.h".
13300 (STRCMP): Do not use BP_SYM.
13301 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13302 "bp-asm.h".
13303 (STRCPY): Do not use BP_SYM.
13304 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13305 "bp-asm.h".
13306 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13307 "bp-asm.h".
13308 (FUNCTION): Do not use BP_SYM.
13309 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13310 weak_alias.
13311 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13312
13313 2013-02-17 Andreas Jaeger <aj@suse.de>
13314
13315 * time/Versions: Sort entries.
13316 * string/Versions: Likewise.
13317 * resolv/Versions: Likewise.
13318 * posix/Versions: Likewise.
13319 * iconv/Versions: Likewise.
13320 * elf/Versions: Likewise.
13321 * wcsmbs/Versions: Likewise.
13322
13323 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13324
13325 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13326 loop termination condition.
13327
13328 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13329 variable to calculate EZ.
13330 (__sqr): Likewise.
13331
13332 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13333 the lower precision input.
13334
13335 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13336
13337 [BZ #13550]
13338 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13339 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13340 (run-via-rtld-prefix): Do not handle %-bp tests.
13341 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13342 (all-object-suffixes): Remove .ob.
13343 (bppfx): Remove variable.
13344 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13345 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13346 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13347 [$(build-bounded) = yes] (libtype.ob): Likewise.
13348 * Makerules (elide-routines.ob): Remove variable.
13349 (do-tests-clean): Do not handle *-bp.out.
13350 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13351 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13352 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13353 (tests): Do not include $(tests-bp.out).
13354 (xtests): Do not include $(xtests-bp.out).
13355 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13356 [$(build-bounded) = yes] ($(addprefix
13357 $(objpfx),$(binaries-bounded))): Remove rule.
13358 ($(objpfx)%-bp.out): Remove rule.
13359 * config.make.in (build-bounded): Remove variable.
13360 * crypt/Makefile [$(build-bounded) = yes]
13361 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13362 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13363 append to variable.
13364 [$(build-bounded) = yes] (install-lib): Likewise.
13365 [$(build-bounded) = yes] (generated): Likewise.
13366 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13367 Remove rule.
13368 * intl/Makefile [$(build-bounded) = yes]
13369 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13370 * math/Makefile [$(build-bounded) = yes]
13371 ($(tests:%=$(objpfx)%-bp): Likewise.
13372 * misc/Makefile [$(build-bounded) = yes]
13373 ($(objpfx)tst-tsearch-bp): Likewise.
13374 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13375 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13376 Remove dependency.
13377 * string/Makefile (o-objects.ob): Remove variable.
13378 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13379 (CFLAGS-.ob): Remove variable.
13380 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13381 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13382 both definitions of variable.
13383 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13384 (ASFLAGS-.ob): Remove variable.
13385
13386 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13387
13388 [BZ #13550]
13389 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13390 Remove __BOUNDED_POINTERS__ from condition.
13391 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13392 * string/bits/string2.h [!__NO_STRING_INLINES &&
13393 !__BOUNDED_POINTERS__]: Likewise.
13394 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13395 Likewise.
13396 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13397 Remove conditional code.
13398 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13399 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13400 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13401 condition.
13402
13403 [BZ #13550]
13404 * csu/libc-start.c: Do not include <bp-sym.h>.
13405 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13406 * elf/dl-open.c: Do not include <bp-sym.h>.
13407 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13408 * math/fegetenv.c: Do not include <bp-sym.h>.
13409 (fegetenv): Do not use BP_SYM in versioned symbols.
13410 * nptl/sysdeps/pthread/bits/libc-lockP.h
13411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13412 <bp-sym.h>.
13413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13414 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13416 (__pthread_mutex_destroy): Likewise.
13417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13418 (__pthread_mutex_lock): Likewise.
13419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13420 (__pthread_mutex_trylock): Likewise.
13421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13422 (__pthread_mutex_unlock): Likewise.
13423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13424 (__pthread_mutexattr_init): Likewise.
13425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13426 (__pthread_mutexattr_destroy): Likewise.
13427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13428 (__pthread_mutexattr_settype): Likewise.
13429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13430 (__pthread_rwlock_init): Likewise.
13431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13432 (__pthread_rwlock_destroy): Likewise.
13433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13434 (__pthread_rwlock_rdlock): Likewise.
13435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13436 (__pthread_rwlock_tryrdlock): Likewise.
13437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13438 (__pthread_rwlock_wrlock): Likewise.
13439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13440 (__pthread_rwlock_trywrlock): Likewise.
13441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13442 (__pthread_rwlock_unlock): Likewise.
13443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13444 (__pthread_key_create): Likewise.
13445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13446 (__pthread_setspecific): Likewise.
13447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13448 (__pthread_getspecific): Likewise.
13449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13450 Likewise.
13451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13452 (_pthread_cleanup_push_defer): Likewise.
13453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13454 (_pthread_cleanup_pop_restore): Likewise.
13455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13456 (pthread_setcancelstate): Likewise.
13457 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13458 <bp-sym.h>.
13459 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13460 (memchr): Do not use BP_SYM in weak_alias.
13461 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13462 (fegetenv): Do not use BP_SYM in versioned symbols.
13463 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13464 (fesetenv): Do not use BP_SYM in versioned symbols.
13465 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13466 (feupdateenv): Do not use BP_SYM in versioned symbols.
13467 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13468 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13469 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13470 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13471 (open64): Do not use BP_SYM in weak_alias.
13472 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13473 (fegetenv): Do not use BP_SYM in versioned symbols.
13474 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13475 (fesetenv): Do not use BP_SYM in versioned symbols.
13476 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13477 (feupdateenv): Do not use BP_SYM in versioned symbols.
13478 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13479 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13480 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13481 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13482 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13483 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13484 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13485 <bp-sym.h>.
13486 (__libc_start_main): Do not use BP_SYM.
13487
13488 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13489
13490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13491 redundant return line.
13492 (norm): Likewise.
13493 (denorm): Likewise.
13494 (dbl_mp): Likewise.
13495 (sub_magnitudes): Likewise.
13496 (__add): Likewise.
13497 (__sub): Likewise.
13498 (__mul): Likewise.
13499 (__inv): Likewise.
13500 (__dvd): Likewise.
13501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13502 (norm): Likewise.
13503 (denorm): Likewise.
13504 (dbl_mp): Likewise.
13505 (sub_magnitudes): Likewise.
13506 (__add): Likewise.
13507 (__sub): Likewise.
13508 (__mul): Likewise.
13509 (__inv): Likewise.
13510 (__dvd): Likewise.
13511
13512 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13513 instead of __mul.
13514 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13515 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13516 (cc32): Likewise.
13517
13518 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13519 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13521 of __mul for squares.
13522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13523 function
13524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13525 Likewise.
13526 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13527 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13528
13529 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13530
13531 [BZ #13550]
13532 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13533 code.
13534 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13535 prototype or function definition. Rename ubp_* variables and
13536 parameters. Remove argv definitions conditional on
13537 [__BOUNDED_POINTERS__].
13538 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13539 * elf/dl-runtime.c (_dl_fixup): Likewise.
13540 * include/set-hooks.h (RUN_HOOK): Likewise.
13541 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13542 definition.
13543 * string/strcpy.c (strcpy): Do not use __unbounded.
13544 * sysdeps/generic/frame.h (struct layout): Likewise.
13545 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13546 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13547 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13548 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13549 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13550 (__backtrace): Likewise.
13551 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13552 use __ptrvalue.
13553 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13554 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13555 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13556 Likewise.
13557 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13558 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13559 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13560 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13561 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13562 Do not use __unbounded.
13563 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13564 Rename __unboundedrlimits parameter to rlimits in prototype.
13565 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13566 Do not use __unbounded.
13567 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13568 not use __ptrvalue.
13569 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13570 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13571 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13572 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13573 __ptrvalue or __unbounded.
13574 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13575 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13576 use __unbounded.
13577 (__new_msgctl): Do not use __ptrvalue.
13578 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13579 __unbounded.
13580 (__libc_msgrcv): Do not use __ptrvalue.
13581 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13582 startup_info): Do not use __unbounded.
13583 (__libc_start_main): Likewise. Rename ubp_* variables and
13584 parameters. Remove argv definitions conditional on
13585 [__BOUNDED_POINTERS__].
13586 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13587 __ptrvalue.
13588 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13589 use __unbounded.
13590 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13591 or __ptrvalue.
13592 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13593 use __unbounded.
13594 (__new_shmctl): Do not use __ptrvalue.
13595 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13596 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13597 Likewise.
13598 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13599 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13600 (__libc_sigaction): Likewise.
13601 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13602 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13603 Likewise.
13604 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13605
13606 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13607
13608 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13609
13610 * string/mempcpy.c: Implement by calling memcpy.
13611
13612 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13613
13614 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13615
13616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13617 evaluation.
13618
13619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13620 values in the mantissa.
13621
13622 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13623 minimize writes to Z.
13624 (sub_magnitudes): Simplify code a bit.
13625
13626 2013-02-12 Roland McGrath <roland@hack.frob.com>
13627
13628 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13629 from the message. The linker prefixes all warnings with that already.
13630
13631 2013-02-12 Andreas Schwab <schwab@suse.de>
13632
13633 [BZ #15078]
13634 * posix/regexec.c (extend_buffers): Add parameter min_len.
13635 (check_matching): Pass minimum needed length.
13636 (clean_state_log_if_needed): Likewise.
13637 (get_subexp): Likewise.
13638 * posix/Makefile (tests): Add bug-regex34.
13639 (bug-regex34-ENV): Define.
13640 * posix/bug-regex34.c: New file.
13641
13642 [BZ #11561]
13643 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13644 elements compare against the byte sequence of it, not its name.
13645 * posix/Makefile (tests): Add bug-regex35.
13646 (bug-regex35-ENV): Define.
13647 * posix/bug-regex35.c: New file.
13648
13649 2013-02-11 Tom de Vries <tom@codesourcery.com>
13650
13651 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13652 comment.
13653 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13654 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13655 (CHECK_EOL): Add undef.
13656
13657 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13658
13659 * bits/stdlib-bsearch.h: New file.
13660 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13661 * stdlib/stdlib.h: Likewise.
13662
13663 2013-02-11 Roland McGrath <roland@hack.frob.com>
13664
13665 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13666 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13667 declaration.
13668 * manual/search.texi (Array Search Function): Add missing const in
13669 lfind prototype.
13670 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13671 declaration to use rlim_t.
13672 (Basic Scheduling Functions): Remove erroneous const from
13673 sched_getparam prototype. Remove erroneous * from
13674 sched_get_priority_max and sched_get_priority_min prototypes.
13675 (Resource Usage): Fix summary @comment on vtimes to refer to
13676 sys/vtimes.h rather than vtimes.h.
13677 Add missing *s in vtimes prototype.
13678 (Limits on Resources): Fix ulimit prototype to return long int.
13679 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13680 prototypes to use long int rather than double.
13681 (BSD Random): Fix initstate and setstate to use char *, not void *.
13682 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13683 prototype to make second argument 'struct aiocb64 *const[]'.
13684 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13685 (Status of AIO Operations): Remove erroneous const in aio_return and
13686 aio_return64 prototypes.
13687 (Synchronizing I/O): Fix sync prototype to return void.
13688 * manual/startup.texi (Suboptions): Remove an erroneous const in
13689 getsubopt prototype.
13690 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13691 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13692 use size_t rather than int.
13693 (Scanning All Users): Likewise for getpwent_r.
13694 (Setting Groups): Add missing const to setgroups prototype.
13695 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13696 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13697 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13698 'const void *' rather than 'const char *'.
13699 (Host Address Functions): Likewise for inet_ntop.
13700 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13701 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13702 ssize_t for return value.
13703 (Sending Data): Likewise for send, sendto, sendmsg.
13704 (Socket Option Functions): Add a missing const in setsockopt prototype.
13705 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13706 use wchar_t for the argument.
13707 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13708 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13709 take no arguments.
13710 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13711 double/float/long double for second argument.
13712 Fix return types of significand, significandf, significandl.
13713 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13714 argument in fchmod prototype.
13715 (File Owner): Use uid_t and gid_t in fchown prototype.
13716 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13717 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13718 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13719 use 'const struct dirent **' as argument types to CMP function pointer
13720 argument.
13721 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13722 (File Times): Fix summary magic @comment for struct utimbuf and utime
13723 to refer to utime.h, not time.h.
13724 * manual/string.texi (Argz Functions): Add missing const in
13725 argz_extract and argz_next prototypes.
13726 (Finding Tokens in a String): Likewise for basename.
13727 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13728 (Copying and Concatenation): Fix typo in wmemmove prototype.
13729 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13730 (Signal Stack): Remove erroneous const in sigstack prototype.
13731 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13732 prototype.
13733 (Simple Calendar Time): Likewise for stime.
13734 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13735 prototype.
13736 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13737 say sys/sysctl.h instead.
13738 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13739 and vsyslog prototypes.
13740
13741 2013-02-11 Tom de Vries <tom@codesourcery.com>
13742
13743 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13744 Remove.
13745
13746 2013-02-11 Roland McGrath <roland@hack.frob.com>
13747
13748 * misc/sys/mman.h: Fix typo in mremap comment.
13749
13750 2013-02-08 Roland McGrath <roland@hack.frob.com>
13751
13752 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13753 the '\0' terminator.
13754
13755 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13756
13757 [BZ #13550]
13758 * debug/segfault.c: Don't include <bp-checks.h>.
13759 * sysdeps/generic/bp-checks.h: Remove file.
13760 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13761 (__GETDENTS): Don't use CHECK_N.
13762 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13763 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13764 (__getgroups): Don't use CHECK_N.
13765 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13766 (setgroups): Don't use CHECK_N.
13767 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13768 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13769 (__libc_msgrcv): Don't use CHECK_N.
13770 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13771 (__libc_msgsnd): Don't use CHECK_N.
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13773 <bp-checks.h>.
13774 (__libc_pread): Don't use CHECK_N.
13775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13776 include <bp-checks.h>.
13777 (__libc_pread64): Don't use CHECK_N.
13778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13779 include <bp-checks.h>.
13780 (__libc_pwrite): Don't use CHECK_N.
13781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13782 include <bp-checks.h>.
13783 (__libc_pwrite64): Don't use CHECK_N.
13784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13785 <bp-checks.h>.
13786 (__libc_pread): Don't use CHECK_N.
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13788 include <bp-checks.h>.
13789 (__libc_pread64): Don't use CHECK_N.
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13791 include <bp-checks.h>.
13792 (__libc_pwrite): Don't use CHECK_N.
13793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13794 include <bp-checks.h>.
13795 (__libc_pwrite64): Don't use CHECK_N.
13796 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13797 (do_pread): Don't use CHECK_N.
13798 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13799 (do_pread64): Don't use CHECK_N.
13800 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13801 (do_pwrite): Don't use CHECK_N.
13802 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13803 (do_pwrite64): Don't use CHECK_N.
13804 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13805 (__libc_readv): Don't use CHECK_N.
13806 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13807 (semop): Don't use CHECK_N.
13808 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13809 <bp-checks.h>.
13810 (semtimedop): Don't use CHECK_N.
13811 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13812 (__libc_pread): Don't use CHECK_N.
13813 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13814 <bp-checks.h>.
13815 (__libc_pread64): Don't use CHECK_N.
13816 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13817 <bp-checks.h>.
13818 (__libc_pwrite): Don't use CHECK_N.
13819 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13820 <bp-checks.h>.
13821 (__libc_pwrite64): Don't use CHECK_N.
13822 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13823 <bp-checks.h>.
13824 (__libc_msgrcv): Don't use CHECK_N.
13825 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13826 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13827 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13828 (__libc_writev): Don't use CHECK_N.
13829
13830 2013-02-08 Roland McGrath <roland@hack.frob.com>
13831
13832 * string/strcpy.c: Removed unused variable.
13833
13834 * Makeconfig (+sysdep-includes): Define with := rather than =.
13835 Use an existing include/ subdir of each sysdeps dir before it.
13836
13837 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13838
13839 * nscd/connection.c (register_traced_file): Comment function.
13840 [HAVE_INOTIFY] (union __inev): Define.
13841 [HAVE_INOTIFY] (inotify_check_files): New function.
13842 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13843 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13844 clear_db_cache.
13845 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13846
13847 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13848
13849 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13850 loaded if not already and that a failure is permanent.
13851
13852 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13853
13854 [BZ #15006]
13855 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13856 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13857
13858 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13859
13860 [BZ #13550]
13861 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13862 (CHECK_1_NULL_OK): Likewise.
13863 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13864 (__fxstat): Do not use CHECK_1.
13865 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13866 <bp-checks.h>.
13867 (___fxstat64): Do not use CHECK_1.
13868 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13869 <bp-checks.h>.
13870 (__fxstatat): Do not use CHECK_1.
13871 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13872 <bp-checks.h>.
13873 (__fxstatat64): Do not use CHECK_1.
13874 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13875 <bp-checks.h>.
13876 (__fxstat): Do not use CHECK_1.
13877 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13878 <bp-checks.h>.
13879 (__fxstatat): Do not use CHECK_1.
13880 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13881 <bp-checks.h>.
13882 (__getresgid): Do not use CHECK_1.
13883 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13884 <bp-checks.h>.
13885 (__getresuid): Do not use CHECK_1.
13886 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13887 <bp-checks.h>.
13888 (__lxstat): Do not use CHECK_1.
13889 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13890 <bp-checks.h>.
13891 (__old_msgctl): Do not use CHECK_1.
13892 (__new_msgctl): Likewise.
13893 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13894 <bp-checks.h>.
13895 (__new_setrlimit): Do not use CHECK_1.
13896 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13897 <bp-checks.h>.
13898 (__old_shmctl): Do not use CHECK_1.
13899 (__new_shmctl): Likewise.
13900 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13901 <bp-checks.h>.
13902 (__xstat): Do not use CHECK_1.
13903 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13904 (__lxstat): Do not use CHECK_1.
13905 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13906 <bp-checks.h>.
13907 (___lxstat64): Do not use CHECK_1.
13908 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13909 (__old_msgctl): Do not use CHECK_1.
13910 (__new_msgctl): Likewise.
13911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13912 <bp-checks.h>.
13913 (__gettimeofday): Do not use CHECK_1.
13914 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13915 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13916 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13917 <bp-checks.h>.
13918 (__gettimeofday): Do not use CHECK_1.
13919 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13920 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13921 (__new_shmctl): Do not use CHECK_1.
13922 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13923 <bp-checks.h>.
13924 (do_sigtimedwait): Do not use CHECK_1.
13925 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13926 <bp-checks.h>.
13927 (do_sigwaitinfo): Do not use CHECK_1.
13928 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13929 <bp-checks.h>.
13930 (msgctl): Do not use CHECK_1.
13931 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13932 <bp-checks.h>.
13933 (shmctl): Do not use CHECK_1.
13934 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13935 (ustat): Do not use CHECK_1.
13936 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13937 <bp-checks.h>.
13938 (__fxstat): Do not use CHECK_1.
13939 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13940 <bp-checks.h>.
13941 (__fxstatat): Do not use CHECK_1.
13942 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13943 <bp-checks.h>.
13944 (__lxstat): Do not use CHECK_1.
13945 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13946 <bp-checks.h>.
13947 (__xstat): Do not use CHECK_1.
13948 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13949 (__xstat): Do not use CHECK_1.
13950 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13951 (___xstat64): Do not use CHECK_1.
13952
13953 [BZ #13550]
13954 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13955 definitions.
13956 (CHECK_BOUNDS_HIGH): Likewise.
13957 * string/strcpy.c: Do not include <bp-checks.h>.
13958 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13959
13960 2013-02-07 Roland McGrath <roland@hack.frob.com>
13961
13962 * nscd/nscd-client.h (__nscd_drop_map_ref):
13963 Add __attribute__ ((unused)).
13964 * nis/nss-nisplus.h (niserr2nss): Likewise.
13965
13966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13967 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13968
13969 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13970 Remove inline keyword.
13971 * include/rounding-mode.h (round_away): Likewise.
13972 * libio/wfileops.c (adjust_wide_data): Likewise.
13973 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13974 (__m128i_strloadu_tolower): Likewise.
13975 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13976 (__m128i_strloadu_tolower): Likewise.
13977 * time/mktime.c (ydhms_diff): Likewise.
13978 * locale/elem-hash.h (elem_hash): Likewise.
13979 * locale/setlocale.c (setdata): Likewise.
13980 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13981 (re_string_wchar_at): Likewise.
13982 (bitset_not, bitset_merge, bitset_mask): Likewise.
13983 [!(__GNUC__ > 3)] (inline): Remove macro.
13984 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13985 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13986 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13987 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13988 * string/memcmp.c (memcmp_bytes): Likewise.
13989 * locale/programs/locarchive.c (compute_hashval): Likewise.
13990 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13991 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13992 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13993 * nss/getent.c (print_rpc, print_protocols): Likewise.
13994 (print_passwd, print_group, print_aliases): Likewise.
13995 * nis/nss-nisplus.h (niserr2nss): Likewise.
13996 * nscd/connections.c (restart_p): Likewise.
13997 Change return type to bool.
13998
13999 2013-02-05 Roland McGrath <roland@hack.frob.com>
14000
14001 * Makeconfig (all-Depend-files): Add existing
14002 $(sorted-subdirs:=/Depend) files.
14003 (all-subdirs): Remove nss.
14004 * sysdeps/unix/inet/Subdirs: Add it here instead.
14005 * hesiod/Depend: New file.
14006
14007 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14008 instead of calling alloca.
14009
14010 * io/lseek.c (__lseek): Rename to __libc_lseek.
14011 Define __lseek as an alias.
14012
14013 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14014
14015 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14016
14017 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14018 else clause and remove check for non-standard endianness.
14019
14020 2013-02-04 David S. Miller <davem@davemloft.net>
14021
14022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14023
14024 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14025
14026 [BZ #13550]
14027 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14028 (__ubp_memchr): Remove prototype.
14029 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14030 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14031 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14032 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14033 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14034 Remove alias.
14035 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14036 (__ubp_memchr): Likewise.
14037 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14038 (__ubp_memchr): Likewise.
14039 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14040 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14041 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14042 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14043 CHECK_STRING.
14044 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14045 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14046 (__getcwd): Do not use CHECK_STRING.
14047 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14048 <bp-checks.h>.
14049 (__real_chown): Do not use CHECK_STRING.
14050 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14051 <bp-checks.h>.
14052 (fchownat): Do not use CHECK_STRING.
14053 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14054 CHECK_STRING.
14055 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14056 <bp-checks.h>.
14057 (__lchown): Do not use CHECK_STRING.
14058 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14059 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14060 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14061 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14063 include <bp-checks.h>.
14064 (truncate64): Do not use CHECK_STRING.
14065 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14066 <bp-checks.h>.
14067 (__real_chown): Do not use CHECK_STRING.
14068 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14069 <bp-checks.h>.
14070 (__lchown): Do not use CHECK_STRING.
14071 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14072 <bp-checks.h>.
14073 (__chown): Do not use CHECK_STRING.
14074 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14075 <bp-checks.h>.
14076 (truncate64): Do not use CHECK_STRING.
14077 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14078 Likewise.
14079 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14080 (__xmknod): Do not use CHECK_STRING.
14081 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14082 <bp-checks.h>.
14083 (__xmknodat): Do not use CHECK_STRING.
14084 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14085 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14086
14087 2013-02-04 Andreas Schwab <schwab@suse.de>
14088
14089 [BZ #14142]
14090 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14091 * include/netdb.h: Likewise for h_errno.
14092 * elf/tst-stackguard1.c: Include <tls.h>.
14093
14094 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14095
14096 * elf/link.h (struct link_map): Extend the l_addr comment.
14097 * include/link.h (struct link_map): Likewise.
14098
14099 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14100
14101 [BZ #13550]
14102 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14103 (BOUNDED_1): Remove macro.
14104 * debug/backtrace.c: Don't include <bp-checks.h>.
14105 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14106 (__backtrace): Likewise.
14107 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14108 <bp-checks.h>.
14109 (__backtrace): Don't use BOUNDED_1.
14110 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14111 <bp-checks.h>.
14112 (__backtrace): Don't use BOUNDED_1.
14113 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14114 (__backtrace): Don't use BOUNDED_1.
14115 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14116 (shmat): Don't use BOUNDED_N.
14117
14118 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14119
14120 [BZ #13550]
14121 * sysdeps/generic/bp-start.h: Remove file.
14122 * csu/libc-start.c: Don't include <bp-start.h>.
14123 (LIBC_START_MAIN): Set up __environ directly instead of using
14124 INIT_ARGV_and_ENVIRON.
14125 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14126 <bp-start.h>.
14127
14128 [BZ #13550]
14129 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14130 definitions.
14131 (CHECK_FCNTL): Likewise.
14132 (CHECK_N_PAGES): Likewise.
14133
14134 [BZ #13550]
14135 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14136 definitions.
14137 (CHECK_SIGSET_NULL_OK): Likewise.
14138 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14139 <bp-checks.h>.
14140 (sigpending): Don't use CHECK_SIGSET.
14141 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14142 <bp-checks.h>.
14143 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14144 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14145 <bp-checks.h>.
14146 (do_sigsuspend): Don't use CHECK_SIGSET.
14147 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14148 use CHECK_SIGSET.
14149 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14150 (do_sigwait): Don't use CHECK_SIGSET.
14151 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14152 use CHECK_SIGSET.
14153 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14154 include <bp-checks.h>.
14155 (sigpending): Don't use CHECK_SIGSET.
14156 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14157 include <bp-checks.h>.
14158 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14159 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14160 <bp-checks.h>.
14161 (sigpending): Don't use CHECK_SIGSET.
14162 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14163 <bp-checks.h>.
14164 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14165
14166 [BZ #13550]
14167 * sysdeps/generic/bp-semctl.h: Remove file.
14168 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14169 <bp-checks.h> and <bp-semctl.h>.
14170 (__old_semctl): Don't use CHECK_SEMCTL.
14171 (__new_semctl): Likewise.
14172 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14173 and <bp-semctl.h>.
14174 (__old_semctl): Don't use CHECK_SEMCTL.
14175 (__new_semctl): Likewise.
14176 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14177 <bp-checks.h> and <bp-semctl.h>.
14178 (__old_semctl): Don't use CHECK_SEMCTL.
14179 (__new_semctl): Likewise.
14180 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14181 <bp-checks.h> and <bp-semctl.h>.
14182 (semctl): Don't use CHECK_SEMCTL.
14183
14184 [BZ #13550]
14185 * Makerules (elide-bp-thunks): Remove variable.
14186 (elide-routines.oS): Don't use $(elide-bp-thunks).
14187 (elide-routines.os): Likewise.
14188 (elide-routines.o): Likewise.
14189 (elide-routines.op): Likewise.
14190 (elide-routines.og): Likewise.
14191 (objects): Don't use $(bp-thunks).
14192 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14193 include.
14194 (common-generated): Do not add s-proto-bp.d.
14195 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14196 (int): Likewise.
14197 (typ): Likewise.
14198 Do not generate makefile rules for bounded-pointer thunks.
14199 * sysdeps/generic/bp-thunks.h: Remove file.
14200 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14201 * sysdeps/unix/s-proto-bp.S: Likewise.
14202
14203 [BZ #15062]
14204 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14205 parts of result separately when argument is not close to line from
14206 -i to i and one part of argument is small.
14207 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14208 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14209 * math/libm-test.inc (cacos_test): Add more tests.
14210 (casin_test): Likewise.
14211 (casinh_test): Likewise.
14212 * sysdeps/i386/fpu/libm-test-ulps: Update.
14213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14214
14215 2013-01-31 David S. Miller <davem@davemloft.net>
14216
14217 * po/de.po: Update from translation team.
14218
14219 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14220
14221 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14222
14223 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14224
14225 * configure.in (_AC_PROG_CC_C89): New definition.
14226 * configure: Regenerate.
14227
14228 * configure.in (AC_PROG_CPP): New definition.
14229 * configure: Regenerate.
14230
14231 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14232
14233 * debug/tst-backtrace.h: New file.
14234 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14235 (ret): Remove variable.
14236 (x): Likewise.
14237 (FAIL): Remove macro.
14238 (NO_INLINE): Likewise.
14239 (fn1): Use match function instead of strstr.
14240 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14241 (ret): Remove variable.
14242 (x): Likewise.
14243 (FAIL): Remove macro.
14244 (NO_INLINE): Likewise.
14245 (fn): Use match function instead of strstr.
14246 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14247 (ret): Remove variable.
14248 (x): Likewise.
14249 (FAIL): Remove macro.
14250 (NO_INLINE): Likewise.
14251 (handle_signal): Use match function instead of strstr.
14252 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14253 (ret): Remove variable.
14254 (x): Likewise.
14255 (FAIL): Remove macro.
14256 (NO_INLINE): Likewise.
14257 (handle_signal): Use match function instead of strstr.
14258
14259 2013-01-23 Roland McGrath <roland@hack.frob.com>
14260
14261 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14262
14263 2013-01-23 David S. Miller <davem@davemloft.net>
14264
14265 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14266 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14267 argument of CAS if possible.
14268 * sysdeps/sparc/sparc64/bits/atomic.h
14269 (__arch_compare_and_exchange_val_32_acq): Likewise.
14270 (__arch_compare_and_exchange_val_64_acq): Likewise.
14271
14272 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14273
14274 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14275 * sysdeps/posix/ulimit.c: ... this.
14276 Include <limits.h>.
14277 * sysdeps/unix/bsd/ulimit.c: Remove file.
14278
14279 2013-01-23 Adam Conrad <adconrad@0c3.net>
14280
14281 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14282 (LDFLAGS-tst-array5): Likewise.
14283
14284 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14285
14286 [BZ #15036]
14287 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14288 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14289 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14290 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14291
14292 2013-01-21 David S. Miller <davem@davemloft.net>
14293
14294 * sysdeps/sparc/backtrace.c: New file.
14295 * sysdeps/sparc/sparc32/backtrace.h: New file.
14296 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14297 * sysdeps/sparc/sparc64/backtrace.h: New file.
14298 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14299 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14300 -funwind-tables.
14301
14302 2013-01-21 Andreas Schwab <schwab@suse.de>
14303
14304 [BZ #15020]
14305 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14306 closed its stdout.
14307
14308 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14309
14310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14311 "mpa2.h".
14312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14313
14314 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14315 Mark Mitchell <mark@codesourcery.com>
14316 Tom de Vries <tom@codesourcery.com>
14317 Paul Pluzhnikov <ppluzhnikov@google.com>
14318
14319 * debug/tst-backtrace2.c: New file.
14320 * debug/tst-backtrace3.c: Likewise.
14321 * debug/tst-backtrace4.c: Likewise.
14322 * debug/tst-backtrace5.c: Likewise.
14323 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14324 (CFLAGS-tst-backtrace3.c): Likewise.
14325 (CFLAGS-tst-backtrace4.c): Likewise.
14326 (CFLAGS-tst-backtrace5.c): Likewise.
14327 (LDFLAGS-tst-backtrace2): Likewise.
14328 (LDFLAGS-tst-backtrace3): Likewise.
14329 (LDFLAGS-tst-backtrace4): Likewise.
14330 (LDFLAGS-tst-backtrace5): Likewise.
14331 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14332 tst-backtrace4 and tst-backtrace5.
14333
14334 2013-01-18 Anton Blanchard <anton@samba.org>
14335 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14336
14337 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14338 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14339 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14340 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14342 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14343 "+r" and remove output regs list as redundant. Add explicit inline
14344 asm to specify register of return val to work around compiler codegen
14345 bug. Remove (int) cast on return value. Add return type parameter to
14346 use in macro so that this macro does not truncate return value for
14347 64-bit values.
14348 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14349 pass to INTERNAL_VSYSCALL_NCS.
14350 (INLINE_VSYSCALL): Add 'long int' as return type to
14351 INTERNAL_VSYSCALL_NCS macro invocation.
14352 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14353 INTERNAL_VSYSCALL_NCS macro invocation.
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14355
14356 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14357
14358 [BZ #14496]
14359 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14360 Fix application of SIMD FP exception mask.
14361
14362 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14363 mp_no from a power of two.
14364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14365 __mpexp_twomm1. Use __pow_mp.
14366
14367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14368 multiplication.
14369
14370 2013-01-17 David S. Miller <davem@davemloft.net>
14371
14372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14373
14374 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14375
14376 [BZ #15023]
14377 * include/complex.h: Condition contents on [!_COMPLEX_H].
14378 (__kernel_casinhf): New prototype.
14379 (__kernel_casinh): Likewise.
14380 (__kernel_casinhl): Likewise.
14381 * math/Makefile (libm_calls): Add k_casinh.
14382 * math/k_casinh.c: New file.
14383 * math/k_casinhf.c: Likewise.
14384 * math/k_casinhl.c: Likewise.
14385 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14386 finite nonzero arguments.
14387 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14388 finite nonzero arguments.
14389 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14390 finite nonzero arguments.
14391 * math/s_casinh.c: Do not include <float.h>.
14392 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14393 * math/s_casinhf.c: Do not include <float.h>.
14394 (__casinhf): Move code for finite nonzero arguments to
14395 k_casinhf.c.
14396 * math/s_casinhl.c: Do not include <float.h>.
14397 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14398 redefine.
14399 (__casinhl): Move code for finite nonzero arguments to
14400 k_casinhl.c.
14401 * math/libm-test.inc (cacos_test): Add more tests.
14402 * sysdeps/i386/fpu/libm-test-ulps: Update.
14403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14404
14405 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14406
14407 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14408 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14409 [!HAVE_MREMAP]: Remove [defined linux] case.
14410 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14411
14412 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14413
14414 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14415
14416 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14417
14418 * elf/elf.h (R_386_SIZE32): New relocation.
14419 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14420 R_386_SIZE32.
14421 (elf_machine_rela): Likewise.
14422 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14423 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14424
14425 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14426
14427 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14428 (FP_FAST_FMA): Do not define.
14429 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14430 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14431 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14432 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14433 !_SOFT_FLOAT]: Likewise.
14434 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14435 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14436 value.
14437 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14438 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14440 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14441 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14442 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14443 file.
14444
14445 2013-01-16 Andreas Schwab <schwab@suse.de>
14446
14447 [BZ #14327]
14448 * include/stdlib.h (__mktemp): Add declaration.
14449 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14450 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14451
14452 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14453
14454 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14455 definitions.
14456 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14457 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14458 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14459 definitions here.
14460 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14461 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14462 definitions.
14463 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14464 and ONE.
14465 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14466 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14467 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14468 definitions.
14469 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14470 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14471 definitions.
14472 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14473
14474 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14475
14476 2013-01-15 David S. Miller <davem@davemloft.net>
14477
14478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14479 trunc{,f} to libm-sysdep_routes.
14480 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14482 file.
14483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14485 file.
14486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14487 file.
14488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14490 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14491 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14492 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14493 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14494 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14495 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14496
14497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14498 nearbyint{,f} to libm-sysdep_routes.
14499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14501 New file.
14502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14503 file.
14504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14505 New file.
14506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14507 file.
14508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14510 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14511 file.
14512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14513 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14514 file.
14515 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14516 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14517 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14518
14519 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14520 libc_feholdexcept and libc_fesetenv.
14521
14522 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14523
14524 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14525
14526 2013-01-14 David S. Miller <davem@davemloft.net>
14527
14528 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14529 (SPARC_ASM_VIS2_IFUNC): Likewise.
14530 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14532 use of 'siam' instruction.
14533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14534 Likewise.
14535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14536 Likewise.
14537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14538 Likewise.
14539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14544 file.
14545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14546 file.
14547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14548 file.
14549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14550 file.
14551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14556 new VIS2 routines.
14557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14560 Likewise.
14561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14566 routines to libm-sysdep_routines.
14567 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14568
14569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14570 fdim/fdimf to libm-sysdep_routines.
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14572 file.
14573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14575 file.
14576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14579 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14580 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14581 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14582 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14583
14584 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14585
14586 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14587 to optimize copies.
14588
14589 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14592
14593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14594 local variable MPTWO.
14595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14596 Likewise.
14597
14598 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14599
14600 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14601 GLOB_NOESCAPE.
14602
14603 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14604
14605 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14606
14607 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14608
14609 * manual/pattern.texi (glob_t): Document gl_flags.
14610 (glob64_t): Likewise.
14611
14612 2013-01-11 David S. Miller <davem@davemloft.net>
14613
14614 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14615 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14616 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14617 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14618 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14619 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14620 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14621 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14622 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14623 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14624 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14625 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14626 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14627
14628 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14629 sparc V9 rather than using V8 code.
14630 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14631 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14632
14633 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14634 Move to...
14635 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14636 Here.
14637
14638 2013-01-11 Roland McGrath <roland@hack.frob.com>
14639
14640 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14641 not in the main loop.
14642 * configure: Regenerated.
14643
14644 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14645
14646 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14647 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14648 to just #else.
14649 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14650 [!__GLIBC_HAVE_LONG_LONG] case.
14651 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14652 condition to just #else.
14653 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14654 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14655 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14656 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14657 unconditional.
14658 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14659 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14660 #elif condition to just #else.
14661 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14662 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14663 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14664 #elif condition to just #else.
14665
14666 2013-01-11 Steve Ellcey <sellcey@mips.com>
14667
14668 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14669 (EF_MIPS_ARCH_64): Fix value.
14670 (EF_MIPS_ARCH_32R2): New.
14671 (EF_MIPS_ARCH_64R2): New.
14672
14673 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14674
14675 * Makeconfig (+link-pie-before-libc): New.
14676 (+link-pie-after-libc): Likewise.
14677 (+link-pie-tests): Likewise.
14678 (+link-pie): Rewritten.
14679 (link-before-libc): Remove $(config-LDFLAGS).
14680 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14681 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14682 (config-LDFLAGS): Renamed to ...
14683 (rtld-LDFLAGS): This.
14684 (rtld-tests-LDFLAGS): New macro.
14685 (link-libc-rpath-link): Likewise.
14686 (link-libc-tests-rpath-link): Likewise.
14687 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14688 (link-libc): Prepand $(link-libc-rpath-link).
14689 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14690 (test-program-prefix): New macro.
14691 (test-via-rtld-prefix): Likewise.
14692 (test-program-cmd): Likewise.
14693 (host-test-program-cmd): Likewise.
14694 * Makefile ($(common-objpfx)testrun.sh): Replace
14695 $(run-program-prefix) with $(test-program-prefix).
14696 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14697 $(rtld-LDFLAGS).
14698 ($(common-objpfx)shlib.lds): Likewise.
14699 (build-module-helper): Likewise.
14700 ($(common-objpfx)format.lds): Likewise.
14701 * Rules (binaries-pie-tests): New.
14702 (binaries-pie-notests): Likewise.
14703 (binaries-pie): Rewritten.
14704 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14705 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14706 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14707 (make-test-out): Replace $(host-built-program-cmd) with
14708 $(host-test-program-cmd).
14709 * config.make.in (build-hardcoded-path-in-tests): New variable.
14710 * configure.in (--enable-hardcoded-path-in-tests): New configure
14711 option.
14712 (hardcoded_path_in_tests): New AC_SUBST.
14713 * configure: Regenerated.
14714 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14715 $(built-program-cmd) with $(test-program-cmd).
14716 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14717 (test_program_cmd): This.
14718 * elf/Makefile ($(objpfx)order.out): Run test with
14719 $(test-program-prefix).
14720 ($(objpfx)order2.out): Likewise.
14721 ($(objpfx)tst-initorder.out): Likewise.
14722 ($(objpfx)tst-initorder2.out): Likewise.
14723 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14724 $(test-program-cmd).
14725 ($(objpfx)tst-array1-static.out): Likewise.
14726 ($(objpfx)tst-array2.out): Likewise.
14727 ($(objpfx)tst-array3.out): Likewise.
14728 ($(objpfx)tst-array4.out): Likewise.
14729 ($(objpfx)tst-array5.out): Likewise.
14730 ($(objpfx)tst-array5-static.out): Likewise.
14731 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14732 $(test-program-cmd).
14733 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14734 $(run-program-prefix) with $(test-program-prefix).
14735 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14736 (test_program_prefix): This.
14737 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14738 $(run-program-prefix) with $(test-program-prefix).
14739 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14740 (test_program_prefix): This.
14741 * iconvdata/tst-tables.sh: Likewise.
14742 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14743 $(run-program-prefix) with $(test-program-prefix).
14744 ($(objpfx)tst-translit.out): Likewise.
14745 ($(objpfx)tst-gettext2.out): Likewise.
14746 ($(objpfx)tst-gettext4.out): Likewise.
14747 ($(objpfx)tst-gettext6.out): Likewise.
14748 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14749 (test_program_prefix): This.
14750 * intl/tst-gettext2.sh: Likewise.
14751 * intl/tst-gettext4.sh Likewise.
14752 * intl/tst-gettext6.sh: Likewise.
14753 * intl/tst-translit.sh: Likewise.
14754 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14755 with $(test-program-cmd).
14756 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14757 $(run-program-prefix) with $(test-program-prefix).
14758 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14759 (test_program_prefix): This.
14760 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14761 $(run-program-prefix) with $(test-program-prefix).
14762 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14763 (test_program_prefix): This.
14764 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14765 * posix/Makefile ($(objpfx)globtest.out): Replace
14766 $(run-via-rtld-prefix) and $(test-wrapper) with
14767 $(test-program-prefix) and $(test-via-rtld-prefix).
14768 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14769 $(test-program-prefix).
14770 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14771 $(host-test-program-cmd).
14772 (tst-spawn-ARGS): Likewise.
14773 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14774 $(test-program-prefix).
14775 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14776 (test_via_rtld_prefix): This.
14777 (test_wrapper): Renamed to ...
14778 (test_program_prefix): This.
14779 (run_program_prefix): Replaced by test_program_prefix.
14780 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14781 (test_program_prefix): This.
14782 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14783 with $(host-test-program-cmd).
14784 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14785 $(run-program-prefix) with $(test-program-prefix).
14786 ($(objpfx)tst-printf.out): Likewise.
14787 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14788 $(test-program-cmd).
14789 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14790 (test_program_prefix): This.
14791 * stdio-common/tst-unbputc.sh: Likewise.
14792 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14793 $(run-program-prefix) with $(test-program-prefix).
14794 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14795 (test_program_prefix): This.
14796 * string/Makefile ($(objpfx)tst-svc.out): Replace
14797 $(built-program-cmd) with $(test-program-cmd).
14798
14799 2013-01-11 Andreas Jaeger <aj@suse.de>
14800
14801 [BZ #15003]
14802 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14803 value. Sync with Linux 3.7.
14804
14805 2013-01-10 David S. Miller <davem@davemloft.net>
14806
14807 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14808 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14809 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14810
14811 2013-01-10 Roland McGrath <roland@hack.frob.com>
14812
14813 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14814 never set.
14815 * configure: Regenerated.
14816
14817 2013-01-10 David S. Miller <davem@davemloft.net>
14818
14819 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14820 sparc V9 rather than using V8 code.
14821 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14822 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14823
14824 2013-01-10 Roland McGrath <roland@hack.frob.com>
14825
14826 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14827 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14828 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14829 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14830 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14831 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14832 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14833 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14834 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14835 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14836 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14837 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14838 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14839 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14840 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14841 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14842 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14843 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14844 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14845 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14846 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14847 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14848 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14849 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14850 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14851 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14852 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14853
14854 2013-01-10 David S. Miller <davem@davemloft.net>
14855
14856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14857
14858 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14859
14860 * posix/Makefile (tests-static): New variable.
14861 (tests): Add $(tests-static).
14862 (tst-exec-static-ARGS): New variable.
14863 (tst-spawn-static-ARGS): Likewise.
14864 * posix/tst-exec-static.c: New file.
14865 * posix/tst-spawn-static.c: Likewise.
14866 * posix/tst-exec.c: Support run directly.
14867 * posix/tst-spawn.c: Likewise.
14868
14869 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14870
14871 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14872 long.
14873 * math/bits/mathcalls.h (llrint): Likewise.
14874 (llround): Likewise.
14875 * stdlib/stdlib.h (struct drand48_data): Likewise.
14876 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14877 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14878 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14879 Likewise.
14880 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14881 Likewise.
14882 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14883 (elf_greg_t): Likewise.
14884 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14885 (__jmp_buf): Likewise.
14886 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14887 definitions.
14888 (llrint): Likewise, for all definitions.
14889 (llrintl): Likewise.
14890
14891 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14892 Remove [__GNUC__] condition.
14893 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14894 condition to just [__USE_ISOC99].
14895 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14896
14897 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14898
14899 [BZ #14200]
14900 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14901 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14902 defined.
14903 (_POSIX_V6_ILP32_OFF32): Likewise.
14904 (_XBS5_ILP32_OFF32): Likewise.
14905 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14906 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14907
14908 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14909
14910 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14911
14912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14913 doubles __mpexp_twomm1. Adjust usage.
14914 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14915 Remove.
14916
14917 2013-01-10 Andreas Schwab <schwab@suse.de>
14918
14919 [BZ #14964]
14920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14921 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14922
14923 2013-01-09 David S. Miller <davem@davemloft.net>
14924
14925 [BZ #15003]
14926 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14927 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14928 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14929 TCP_FASTOPEN): Define.
14930 (tcp_repair_opt): New structure.
14931 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14932 enum values.
14933 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14934 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14935 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14936 (tcp_cookie_transactions): New structure.
14937
14938 2013-01-09 Anton Blanchard <anton@samba.org>
14939
14940 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14941 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14942 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14944
14945 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14946
14947 * include/features.h (__USE_ANSI): Remove.
14948
14949 2013-01-09 Roland McGrath <roland@hack.frob.com>
14950
14951 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14952
14953 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14954
14955 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14956
14957 * sysdeps/s390/fpu/libm-test-ulps: Update.
14958
14959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14960
14961 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14962 (__acr): Likewise.
14963 (__cpy): Likewise.
14964 (norm): Likewise.
14965 (denorm): Likewise.
14966 (__mp_dbl): Likewise.
14967 (__dbl_mp): Likewise.
14968 (add_magnitudes): Likewise.
14969 (sub_magnitudes): Likewise.
14970 (__add): Likewise.
14971 (__sub): Likewise.
14972 (__mul): Likewise.
14973 (__inv): Likewise.
14974 (__dvd): Likewise.
14975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14976 (__acr): Likewise.
14977 (__cpy): Likewise.
14978 (norm): Likewise.
14979 (denorm): Likewise.
14980 (__mp_dbl): Likewise.
14981 (__dbl_mp): Likewise.
14982 (add_magnitudes): Likewise.
14983 (sub_magnitudes): Likewise.
14984 (__add): Likewise.
14985 (__sub): Likewise.
14986 (__mul): Likewise.
14987 (__inv): Likewise.
14988 (__dvd): Likewise.
14989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14990 (__acr): Likewise.
14991 (__cpy): Likewise.
14992 (norm): Likewise.
14993 (denorm): Likewise.
14994 (__mp_dbl): Likewise.
14995 (__dbl_mp): Likewise.
14996 (add_magnitudes): Likewise.
14997 (sub_magnitudes): Likewise.
14998 (__add): Likewise.
14999 (__sub): Likewise.
15000 (__mul): Likewise.
15001 (__inv): Likewise.
15002 (__dvd): Likewise.
15003
15004 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15005
15006 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15007 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15008 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15009 2 && __USE_EXTERN_INLINES]: Likewise.
15010
15011 2013-01-08 Andreas Jaeger <aj@suse.de>
15012
15013 [BZ# 14985]
15014 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15015 Remove.
15016 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15017 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15018
15019 2013-01-07 Anton Blanchard <anton@samba.org>
15020
15021 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15022 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15023 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15024 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15025 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15026 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15027 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15028 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15030 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15031 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15032 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15033 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15034 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15035 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15036 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15037 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15038 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15039 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15040 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15041 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15042 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15043 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15044 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15045 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15046 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15047 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15048 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15049 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15050 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15051 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15053 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15054 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15055 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15056 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15057 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15059 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15060 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15061 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15062 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15063 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15064
15065 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15066
15067 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15068 (__MALLOC_PMT): Likewise.
15069 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15070 [__GNUC__], only on [_LIBC].
15071 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15072 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15073 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15074 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15075 forward declaration.
15076 (realloc_hook_ini): Likewise.
15077 (memalign_hook_ini): Likewise.
15078 (__libc_memalign): Do not use __MALLOC_PMT in variable
15079 declaration.
15080 (__libc_valloc): Likewise.
15081 (__libc_pvalloc): Likewise.
15082 (__libc_calloc): Likewise.
15083 (__posix_memalign): Likewise.
15084
15085 [BZ #14996]
15086 * math/s_casinh.c: Include <float.h>.
15087 (__casinh): Do not do computation with squaring and square root
15088 for large arguments.
15089 * math/s_casinhf.c: Include <float.h>.
15090 (__casinhf): Do not do computation with squaring and square root
15091 for large arguments.
15092 * math/s_casinhl.c: Include <float.h>.
15093 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15094 (__casinhl): Do not do computation with squaring and square root
15095 for large arguments.
15096 * math/libm-test.inc (casin_test): Add more tests.
15097 (casinh_test): Likewise.
15098 * sysdeps/i386/fpu/libm-test-ulps: Update.
15099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15100
15101 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15102
15103 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15104 (__x86_64_raw_data_cache_size): Likewise.
15105 (__x86_64_data_cache_size_half): Likewise.
15106 (__x86_64_raw_data_cache_size_half): Likewise.
15107 (__x86_64_shared_cache_size): Likewise.
15108 (__x86_64_raw_shared_cache_size): Likewise.
15109 (__x86_64_shared_cache_size_half): Likewise.
15110 (__x86_64_raw_shared_cache_size_half): Likewise.
15111 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15112 to ...
15113 (__x86_data_cache_size): This.
15114 (__x86_64_raw_data_cache_size): Renamed to ...
15115 (__x86_raw_data_cache_size): This.
15116 (__x86_64_data_cache_size_half): Renamed to ...
15117 (__x86_data_cache_size_half): This.
15118 (__x86_64_raw_data_cache_size_half): Renamed to ...
15119 (__x86_raw_data_cache_size_half): This.
15120 (__x86_64_shared_cache_size): Renamed to ...
15121 (__x86_shared_cache_size): This.
15122 (__x86_64_raw_shared_cache_size): Renamed to ...
15123 (__x86_raw_shared_cache_size): This.
15124 (__x86_64_shared_cache_size_half): Renamed to ...
15125 (__x86_shared_cache_size_half): This.
15126 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15127 (__x86_raw_shared_cache_size_half): This.
15128 * sysdeps/x86_64/memcpy.S: Updated.
15129 * sysdeps/x86_64/memset.S: Likewise.
15130 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15131 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15132 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15133
15134 2013-01-04 David S. Miller <davem@davemloft.net>
15135
15136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15137
15138 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15139
15140 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15141 1 to avoid redefinition warning.
15142 (__USE_GNU): Don't define.
15143 (init_signaling_nan): Protoize.
15144
15145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15146
15147 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15148
15149 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15151 (__cpymn): Likewise.
15152 (norm): Remove commented code.
15153 (denorm): Likewise.
15154 (__mp_dbl): Likewise.
15155 (__inv): Likewise.
15156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15157 (__cpymn): Likewise.
15158 (norm): Remove commented code.
15159 (denorm): Likewise.
15160 (__mp_dbl): Likewise.
15161 (__inv): Likewise.
15162
15163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15164 mp_no value for 1.0 and 2.0.
15165 (norm): Use RADIXI instead of radixi.d.
15166 (denorm): Likewise.
15167 (__mul): Use 0.0 instead of zero.d.
15168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15169 mp_no value for 1.0 and 2.0.
15170 (norm): Use RADIXI instead of radixi.d.
15171 (denorm): Likewise.
15172 (__mul): Use 0.0 instead of zero.d.
15173
15174 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15175
15176 [BZ #14994]
15177 * math/s_casinh.c (__casinh): Reduce finite argument to first
15178 quadrant then set signs of results at the end.
15179 * math/s_casinhf.c (__casinhf): Likewise.
15180 * math/s_casinhl.c (__casinhl): Likewise.
15181 * math/libm-test.inc (casin_test): Add more tests.
15182 (casinh_test): Likewise.
15183 * sysdeps/i386/fpu/libm-test-ulps: Update.
15184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15185
15186 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15187
15188 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15189
15190 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15191
15192 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15193 declarations.
15194 (denorm): Likewise.
15195 (__mp_dbl): Likewise.
15196 (__inv): Likewise.
15197
15198 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15199 and adjust the header comment.
15200
15201 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15202 variable name from declaration.
15203
15204 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15205
15206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15207 Initialize COMMON_CPUID_INDEX_7 element.
15208 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15209 (CPUID_RTM): Likewise.
15210 (HAS_RTM): Likewise.
15211 (COMMON_CPUID_INDEX_7): New enum.
15212
15213 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15214
15215 [BZ #14981]
15216 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15217 size is zero, record memory as freed.
15218
15219 2013-01-03 Andreas Jaeger <aj@suse.de>
15220
15221 * po/ia.po: Add new Interlingua translation.
15222
15223 2012-01-03 Allan McRae <allan@archlinux.org>
15224
15225 * locale/programs/localedef.c: Fix description of '--posix' flag.
15226
15227 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15228
15229 * NEWS: Update dates in second copyright notice.
15230 * README: Update copyright dates in example.
15231 * manual/libc.texinfo: Update copyright dates.
15232 * scripts/test-installation.pl: Update copyright date in --version
15233 output.
15234
15235 * hurd/ctty-input.c: Fix copyright notice formatting.
15236 * hurd/ctty-output.c: Likewise.
15237 * hurd/dtable.c: Likewise.
15238 * hurd/hurd-raise.c: Likewise.
15239 * hurd/hurdprio.c: Likewise.
15240 * hurd/msgportdemux.c: Likewise.
15241 * misc/sys/file.h: Likewise.
15242 * misc/sys/ioctl.h: Likewise.
15243 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15244 * sysdeps/mach/hurd/chdir.c: Likewise.
15245 * sysdeps/mach/hurd/fchdir.c: Likewise.
15246 * sysdeps/mach/hurd/rename.c: Likewise.
15247 * sysdeps/mach/hurd/rmdir.c: Likewise.
15248 * sysdeps/mach/hurd/seekdir.c: Likewise.
15249 * sysdeps/mach/hurd/setsid.c: Likewise.
15250 * sysdeps/posix/wait3.c: Likewise.
15251
15252 * All files with FSF copyright notices: Update copyright dates
15253 using scripts/update-copyrights.
15254 * intl/plural.c: Regenerated.
15255 * locale/programs/charmap-kw.h: Likewise.
15256 * locale/programs/locfile-kw.h: Likewise.
15257
15258 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15259
15260 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15261 four values.
15262
15263 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15264 calculation loop and add branch prediction.
15265
15266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15267 check access beyond bounds of m1np.
15268
15269 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15270 MPTWO.
15271 (__inv): Remove local variable MPTWO to use the global
15272 constant.
15273 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15274 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15275 variable MPTWO.
15276 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15277 MP3HALFS static const.
15278
15279 2013-01-01 David S. Miller <davem@davemloft.net>
15280
15281 * po/ca.po: Update from translation team.
15282
15283 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15284
15285 * scripts/update-copyrights: New file.
15286 * Makeconfig: Reformat copyright notice.
15287 * ctype/ctype.h: Likewise.
15288 * debug/swprintf_chk.c: Likewise.
15289 * elf/dl-cache.c: Likewise.
15290 * elf/dl-debug.c: Likewise.
15291 * elf/dl-object.c: Likewise.
15292 * grp/initgroups.c: Likewise.
15293 * hurd/Makefile: Likewise.
15294 * hurd/hurd/signal.h: Likewise.
15295 * hurd/hurdfault.c: Likewise.
15296 * hurd/hurdioctl.c: Likewise.
15297 * hurd/hurdlookup.c: Likewise.
15298 * hurd/intr-msg.c: Likewise.
15299 * iconv/gconv_open.c: Likewise.
15300 * libio/swprintf.c: Likewise.
15301 * locale/lc-ctype.c: Likewise.
15302 * locale/nl_langinfo.c: Likewise.
15303 * mach/Machrules: Likewise.
15304 * mach/Makefile: Likewise.
15305 * malloc/obstack.h: Likewise.
15306 * manual/Makefile: Likewise.
15307 * manual/tsort.awk: Likewise.
15308 * misc/bits/stab.def: Likewise.
15309 * nis/nis_print_group_entry.c: Likewise.
15310 * nis/nis_table.c: Likewise.
15311 * nis/nss_compat/compat-pwd.c: Likewise.
15312 * nis/nss_compat/compat-spwd.c: Likewise.
15313 * po/Makefile: Likewise.
15314 * posix/fnmatch.c: Likewise.
15315 * posix/regex.h: Likewise.
15316 * resolv/Makefile: Likewise.
15317 * resolv/nss_dns/dns-network.c: Likewise.
15318 * resolv/res_hconf.c: Likewise.
15319 * scripts/gen-sorted.awk: Likewise.
15320 * soft-fp/soft-fp.h: Likewise.
15321 * stdio-common/printf.h: Likewise.
15322 * stdlib/monetary.h: Likewise.
15323 * stdlib/random.c: Likewise.
15324 * stdlib/random_r.c: Likewise.
15325 * sysdeps/generic/Makefile: Likewise.
15326 * sysdeps/gnu/Makefile: Likewise.
15327 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15345 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15355 * sysdeps/mach/hurd/errnos.awk: Likewise.
15356 * sysdeps/mach/hurd/fork.c: Likewise.
15357 * sysdeps/mach/hurd/getcwd.c: Likewise.
15358 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15359 * sysdeps/mach/hurd/mmap.c: Likewise.
15360 * sysdeps/mach/hurd/utimes.c: Likewise.
15361 * sysdeps/mach/hurd/xmknod.c: Likewise.
15362 * sysdeps/posix/profil.c: Likewise.
15363 * sysdeps/posix/readdir_r.c: Likewise.
15364 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15365 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15366 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15367 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15369 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15370 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15371 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15373 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15374 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15375 * sysdeps/pthread/lio_listio.c: Likewise.
15376 * sysdeps/sparc/dl-procinfo.h: Likewise.
15377 * sysdeps/unix/i386/sysdep.S: Likewise.
15378 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15379 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15380 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15381 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15383 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15384 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15385 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15386 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15387 * sysdeps/wordsize-32/divdi3.c: Likewise.
15388 * time/sys/time.h: Likewise.
15389 * wcsmbs/Makefile: Likewise.
15390
15391 2013-01-01 David S. Miller <davem@davemloft.net>
15392
15393 * po/fr.po: Update from translation team.
15394
15395 * catgets/gencat.c: Update copyright year.
15396 * csu/version.c: Likewise.
15397 * debug/catchsegv.sh: Likewise.
15398 * debug/pcprofiledump.c: Likewise.
15399 * debug/xtrace.sh: Likewise.
15400 * elf/ldconfig.c: Likewise.
15401 * elf/ldd.bash.in: Likewise.
15402 * elf/pldd.c: Likewise.
15403 * elf/sotruss.ksh: Likewise.
15404 * elf/sprof.c: Likewise.
15405 * iconv/iconv_prog.c: Likewise.
15406 * iconv/iconvconfig.c: Likewise.
15407 * locale/programs/locale.c: Likewise.
15408 * locale/programs/localedef.c: Likewise.
15409 * login/programs/pt_chown.c: Likewise.
15410 * malloc/memusage.sh: Likewise.
15411 * malloc/memusagestat.c: Likewise.
15412 * malloc/mtrace.pl: Likewise.
15413 * nscd/nscd.c: Likewise.
15414 * nss/getent.c: Likewise.
15415 * nss/makedb.c: Likewise.
15416 * posix/getconf.c: Likewise.
15417
15418 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15419
15420 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15421 numbers.
15422
15423 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15424
15425 * math/bits/mathcalls.h (modf): Use __nonnull.
15426
15427 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15428
15429 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15430 (split): Use macro CN instead of the bare value.
15431 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15432 could be used.
15433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15434 instead of the bare value.
15435 (power1): Likewise.
15436
15437 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15438
15439 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15440 __ATAN_TWOM.
15441 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15442
15443 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15444 their values.
15445 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15446 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15447 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15448 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15449
15450 2012-12-28 Andreas Jaeger <aj@suse.de>
15451
15452 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15453 values are from Linux 3.7.
15454
15455 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15456 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15457
15458 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15459
15460 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15461 TRUE case.
15462
15463 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15464 (norm): Likewise.
15465 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15466 variables with preprocessor constants.
15467 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15468 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15469 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15470
15471 2012-12-27 Bruno Haible <bruno@clisp.org>
15472
15473 [BZ #14317]
15474 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15475 only if needed.
15476
15477 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15478
15479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15480 and use variable directly.
15481 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15482
15483 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15484 MPONE.
15485 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15486 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15487 variable MPONE.
15488 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15490 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15491 include directive. Remove local variable MPONE.
15492 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15493 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15494 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15495
15496 2012-12-25 David S. Miller <davem@davemloft.net>
15497
15498 * version.h (RELEASE): Set to "development".
15499 (VERSION): Set to "2.17.90".
15500 * NEWS: Add 2.18 section.
15501
15502 2012-12-21 David S. Miller <davem@davemloft.net>
15503
15504 * po/hr.po: Update from translation team.
15505
15506 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15507
15508 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15509
15510 2012-12-19 Steve Ellcey <sellcey@mips.com>
15511
15512 * NEWS: Mention new memcpy for MIPS.
15513
15514 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15515
15516 * manual/contrib.texi (Contributors): Spelling correction.
15517
15518 2012-12-15 David S. Miller <davem@davemloft.net>
15519
15520 * po/ru.po: Update from translation team.
15521
15522 2012-12-13 David S. Miller <davem@davemloft.net>
15523
15524 * NEWS: Mention IFUNC testsuite enhancements.
15525
15526 * po/pl.po: Update from translation team.
15527 * po/bg.po: Likewise.
15528
15529 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15530 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15531
15532 2012-12-11 David S. Miller <davem@davemloft.net>
15533
15534 * po/sv.po: Update from translation team.
15535
15536 * po/vi.po: Update from translation team.
15537
15538 * po/cs.po: Update from translation team.
15539
15540 * po/de.po: Update from translation team.
15541 * po/eo.po: Likewise.
15542 * po/nl.po: Likewise.
15543
15544 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15545
15546 [BZ #14246]
15547 * manual/argp.texi (Argp Helper Functions): Move node to follow
15548 Argp Parsing State.
15549
15550 [BZ #14872]
15551 * manual/conf.texi (Limits on File System Capacity): Mention if
15552 terminating null is included in the max size.
15553
15554 2012-12-10 Andreas Jaeger <aj@suse.de>
15555
15556 * po/cs.po: Update from translation team.
15557
15558 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15559
15560 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15561 void pointer and cast to uintptr_t.
15562 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15563 path.
15564 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15565 * sysdeps/s390/s390-64/memset.S: Likewise.
15566
15567 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15568
15569 [BZ #14833]
15570 * menual/message.texi (Message Translation): Fix typos.
15571 (Helper programs for gettext): Likewise.
15572
15573 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15574
15575 [BZ #14898]
15576 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15577 Change to -1.
15578
15579 2012-12-07 David S. Miller <davem@davemloft.net>
15580
15581 * po/libc.pot: Update.
15582
15583 2012-12-07 Richard Henderson <rth@redhat.com>
15584
15585 [BZ #10114]
15586 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15587 normal/normal case to before the switch.
15588 (_FP_DIV): Likewise.
15589
15590 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15591 Mike Frysinger <vapier@gentoo.org>
15592
15593 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15594 check for __NR_fadvise64_64.
15595
15596 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15597
15598 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15599 0, not just to plain "0" as a statement.
15600 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15601 with cw.
15602
15603 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15604
15605 * NEWS: Use sourceware.org in Bugzilla URL.
15606
15607 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15608
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15610 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15611
15612 * stdio-common/tst-put-error.c (do_test): Add newline to the
15613 padded test to ensure flush.
15614
15615 2012-12-05 Jeff Law <law@redhat.com>
15616
15617 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15618
15619 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15620
15621 * README: Don't refer to ports add-on as distributed separately.
15622 Mention AArch64 in list of systems supported in the ports add-on.
15623
15624 * LICENSES: Add more non-FSF copyright and license notices.
15625
15626 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15627 ((unused)).
15628
15629 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15630
15631 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15632 10000 as width of padded output.
15633
15634 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15635
15636 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15637
15638 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15639 variable LX with __attribute__ ((unused)).
15640 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15641 Likewise.
15642 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15644 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15645 with __attribute__ ((unused)).
15646
15647 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15648
15649 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15650
15651 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15652
15653 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15654 (CFLAGS-nldbl-acos.c): New variable.
15655 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15656 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15657 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15658 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15659 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15660 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15661 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15662 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15663 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15664 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15665 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15666 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15667 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15668 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15669 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15670 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15671 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15672 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15673 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15674 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15675 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15676 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15677 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15678 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15679 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15680 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15681 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15682 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15683 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15684 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15685 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15686 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15687 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15688 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15689 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15690 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15691 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15692 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15693 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15694 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15695 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15696 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15697 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15698 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15699 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15700 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15701 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15702 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15703 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15704 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15705 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15706 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15707 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15708 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15709 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15710 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15711 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15712 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15713 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15714 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15715 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15716 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15717 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15718 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15719 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15720 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15721 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15722 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15723 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15724 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15725 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15726 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15727 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15728 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15729 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15730 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15731 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15732 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15733 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15734 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15735 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15736 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15737 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15738 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15739 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15740 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15741 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15742 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15743 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15744 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15745 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15746 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15747 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15748 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15749 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15750 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15751 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15752
15753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15754 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15755
15756 [BZ #14914]
15757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15758 whole low double instead of just low 47 bits when splitting values
15759 into two parts.
15760
15761 2012-12-03 Allan McRae <allan@archlinux.org>
15762
15763 * manual/stdio.texi (Predefined Printf Handlers): Remove
15764 @hsep and @vsep usage.
15765
15766 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15767
15768 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15769 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15770
15771 2012-12-03 Jeff Law <law@redhat.com>
15772
15773 * time/sys/time.h (settimeofday): Do not mark TV argument
15774 as __nonnull.
15775
15776 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15777
15778 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15779 when currently writing and seek to current position when not.
15780 * libio/Makefile (tests): Remove bug-fclose1.
15781 * libio/bug-fclose1.c: Delete.
15782
15783 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15784
15785 * manual/arith.texi (feenableexcept): Fix typo.
15786 (fedisableexcept): Likewise.
15787
15788 2012-11-30 Roland McGrath <roland@hack.frob.com>
15789
15790 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15791 second, differently-typed declaration, rather than a cast.
15792
15793 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15794
15795 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15796 * include/rpc/svc.h: ... here.
15797
15798 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15799
15800 [BZ #13013]
15801 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15802 depending n and resplen2 to catch cases where answer
15803 equals answerp2.
15804
15805 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15806
15807 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15808 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15809
15810 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15811
15812 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15813
15814 2012-11-29 Roland McGrath <roland@hack.frob.com>
15815
15816 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15817
15818 2012-11-28 Jeff Law <law@redhat.com>
15819
15820 [BZ #13761]
15821 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15822 dataset_temporary. Track alloca usage into alloca_used.
15823 If dataset is large allocate and release it via malloc/free.
15824
15825 2012-06-04 Florian Weimer <fweimer@redhat.com>
15826
15827 [BZ #14197]
15828 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15829
15830 2012-11-28 David S. Miller <davem@davemloft.net>
15831
15832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15833
15834 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15835
15836 [BZ #14803]
15837 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15838 of pi/2 rounded to nearest to 64 bits.
15839 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15840 nearest to 64 bits.
15841 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15842 bits.
15843
15844 2012-11-28 Jeff Law <law@redhat.com>
15845 Martin Osvald <mosvald@redhat.com>
15846
15847 [BZ #14889]
15848 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15849 * sunrpc/svc.c: Include time.h.
15850 (__svc_accept_failed): New function.
15851 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15852 any reason other than EINTR, call __svc_accept_failed.
15853 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15854 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15855
15856 2012-11-28 Andreas Schwab <schwab@suse.de>
15857
15858 * scripts/abilist.awk: Also handle indirect functions in .opd
15859 section.
15860
15861 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15862
15863 [BZ #13881]
15864 * sysdeps/x86/fpu/powl_helper.c: New file.
15865 * sysdeps/x86/fpu/Makefile: Likewise.
15866 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15867 (p3): New object.
15868 (__ieee754_powl): Use __powl_helper for finite arguments except
15869 integer exponents below 8.
15870 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15871 (p3): New object.
15872 (__ieee754_powl): Use __powl_helper for finite arguments except
15873 integer exponents below 8.
15874 * math/libm-test.inc (pow_test): Add more tests and enable some
15875 previously disabled tests.
15876 * sysdeps/i386/fpu/libm-test-ulps: Update.
15877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15878
15879 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15880 Carlos O'Donell <carlos_odonell@mentor.com>
15881
15882 * nss/makedb.c (is_prime): Assert that input is odd and greater
15883 than 4. Note that fact in a comment too.
15884 (next_prime): Add 4 to input.
15885
15886 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15887
15888 [BZ #11741]
15889 * libio/Makefile (tests): Add test case tst-fwrite-error.
15890 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15891 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15892 * libio/tst-fwrite-error.c: New test case.
15893
15894 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15895
15896 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15897 before casting to void *.
15898 * include/libc-internal.h (__pointer_type): New macro.
15899 (__integer_if_pointer_type_sub): Likewise.
15900 (__integer_if_pointer_type): Likewise.
15901 (cast_to_integer): Likewise.
15902 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15903 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15904 before casting to atomic64_t.
15905 (atomic_exchange_acq): Likewise.
15906 (__arch_exchange_and_add_body): Likewise.
15907 (__arch_add_body): Likewise.
15908 (atomic_add_negative): Likewise.
15909 (atomic_add_zero): Likewise.
15910
15911 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15912
15913 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15914 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15915 (add_fdes): Likewise.
15916 (linear_search_fdes): Likewise.
15917 (binary_search_unencoded_fdes): Likewise.
15918
15919 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15920
15921 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15922
15923 2012-11-24 Adam Conrad <adconrad@0c3.net>
15924
15925 * configure.in: Autodetect C++ header directories.
15926 * configure: Regenerated.
15927
15928 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15929
15930 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15931
15932 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15933
15934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15935
15936 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15937
15938 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15939 LDBL_MANT_DIG == 106]: Disable some tests.
15940 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15941 Likewise.
15942 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15943 Likewise.
15944
15945 [BZ #14871]
15946 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15947 input for small inputs. Return +/- pi/2 for large inputs.
15948 * math/libm-test.inc (atan_test): Add more tests.
15949
15950 * sysdeps/generic/unwind-dw2-fde-glibc.c
15951 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15952 __attribute__ ((unused)).
15953
15954 [BZ #14645]
15955 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15956 x * y if x and y are nonzero and z is zero.
15957
15958 [BZ #14811]
15959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15960 nonzero exponents with absolute value below 0x1p-117 to +/-
15961 0x1p-117.
15962
15963 [BZ #14869]
15964 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15965 up arguments below 2**-450, not just those below 2**-500.
15966 * math/libm-test.inc (hypot_test): Add another test.
15967
15968 [BZ #14868]
15969 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15970 Return a+b for ratio over 2**120, not 2**60.
15971 * math/libm-test.inc (hypot_test): Add another test.
15972
15973 * math/libm-test.inc (clog_test): Use
15974 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15975 (clog10_test): Likewise.
15976
15977 [BZ #6778]
15978 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15979
15980 2012-11-22 Andreas Schwab <schwab@suse.de>
15981
15982 * sysdeps/i386/fpu/libm-test-ulps: Update.
15983
15984 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15985
15986 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15987 printf output with newline.
15988
15989 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15990
15991 [BZ #14865]
15992 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15993 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15994 -z nodlopen, -z initfirst and -z execstack support.
15995 * configure: Regenerated.
15996
15997 * elf/elf.h (DF_1_NODIRECT): New macro.
15998 (DF_1_IGNMULDEF): Likewise.
15999 (DF_1_NOKSYMS): Likewise.
16000 (DF_1_NOHDR): Likewise.
16001 (DF_1_EDITED): Likewise.
16002 (DF_1_NORELOC): Likewise.
16003 (DF_1_SYMINTPOSE): Likewise.
16004 (DF_1_GLOBAUDIT): Likewise.
16005 (DF_1_SINGLETON): Likewise.
16006 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16007 DT_1_SUPPORTED_MASK bits.
16008 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16009
16010 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16011
16012 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16013
16014 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16015
16016 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16017 macro.
16018
16019 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16020 (sendmmsg): Move declarations...
16021 * socket/sys/socket.h: ... here.
16022 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16023 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16024 include it from...
16025 * socket/recvmmsg.c: ... this new file.
16026 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16027 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16028 definition of __sendmmsg hidden.
16029 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16030 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16031 Move ENOSYS stub into and include it from...
16032 * socket/sendmmsg.c: ... this new file.
16033 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16034 (sysdep_routines): Move recvmmsg and sendmmsg...
16035 * socket/Makefile (routines): ... here.
16036 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16037 (GLIBC_PRIVATE): Add __sendmmsg.
16038 * include/sys/socket.h (__sendmmsg): Add declarations.
16039 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16040 sendmmsg.
16041
16042 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16043
16044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16045 variable I1 with __attribute__ ((unused)).
16046 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16047
16048 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16049
16050 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16051 DUMMY variables with __attribute__ ((unused)).
16052
16053 * bits/byteswap.h: Include <bits/types.h>.
16054 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16055
16056 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16057
16058 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16059 string_t. Do not manually set errno.
16060 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16061 length with __strnlen. Make sure to both set errno and return it on
16062 failure.
16063
16064 2012-11-19 David S. Miller <davem@davemloft.net>
16065
16066 With help from Joseph Myers.
16067 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16068 very large arguments properly.
16069 * math/libm-test.inc (atan_test): New tests.
16070 (atan2_test): New tests.
16071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16073
16074 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16075
16076 [BZ #14856]
16077 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16078 Define to 3.
16079
16080 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16081 [POSIX] (EADDRNOTAVAIL): Likewise.
16082 [POSIX] (EAFNOSUPPORT): Likewise.
16083 [POSIX] (EALREADY): Likewise.
16084 [POSIX] (ECONNABORTED): Likewise.
16085 [POSIX] (ECONNREFUSED): Likewise.
16086 [POSIX] (ECONNRESET): Likewise.
16087 [POSIX] (EDESTADDRREQ): Likewise.
16088 [POSIX] (EDQUOT): Likewise.
16089 [POSIX] (EHOSTUNREACH): Likewise.
16090 [POSIX] (EIDRM): Likewise.
16091 [POSIX] (EISCONN): Likewise.
16092 [POSIX] (ELOOP): Likewise.
16093 [POSIX] (EMULTIHOP): Likewise.
16094 [POSIX] (ENETDOWN): Likewise.
16095 [POSIX] (ENETUNREACH): Likewise.
16096 [POSIX] (ENOBUFS): Likewise.
16097 [POSIX] (ENODATA): Likewise.
16098 [POSIX] (ENOLINK): Likewise.
16099 [POSIX] (ENOMSG): Likewise.
16100 [POSIX] (ENOPROTOOPT): Likewise.
16101 [POSIX] (ENOSR): Likewise.
16102 [POSIX] (ENOSTR): Likewise.
16103 [POSIX] (ENOTCONN): Likewise.
16104 [POSIX] (ENOTSOCK): Likewise.
16105 [POSIX] (EOPNOTSUPP): Likewise.
16106 [POSIX] (EOVERFLOW): Likewise.
16107 [POSIX] (EPROTO): Likewise.
16108 [POSIX] (EPROTONOSUPPORT): Likewise.
16109 [POSIX] (EPROTOTYPE): Likewise.
16110 [POSIX] (ESTALE): Likewise.
16111 [POSIX] (ETIME): Likewise.
16112 [POSIX] (ETXTBSY): Likewise.
16113 [POSIX] (EWOULDBLOCK): Likewise.
16114 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16115 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16116 [POSIX] (SEEK_CUR): Likewise.
16117 [POSIX] (SEEK_END): Likewise.
16118 [POSIX || UNIX98] (mode_t): Do not require.
16119 [POSIX] (off_t): Likewise.
16120 [POSIX] (pid_t): Likewise.
16121 [POSIX] (sys/stat.h): Do not allow header.
16122 [POSIX] (unistd.h): Likewise.
16123 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16124 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16125 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16126 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16127 require.
16128 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16129 sigevent): Specify elements.
16130 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16131 entry.
16132 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16133 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16134
16135 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16136 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16137 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16138 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16139 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16140 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16141 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16142 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16143 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16144 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16145 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16146 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16147 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16148 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16149 Likewise.
16150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16151 Likewise.
16152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16153 Likewise.
16154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16155 Likewise.
16156 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16157 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16158 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16159 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16160 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16161 Specify lower bound on value.
16162 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16163 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16164 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16165 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16166 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16167 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16168 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16169 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16170 value.
16171 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16172 as optional.
16173 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16174 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16175 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16176 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16177 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16178 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16179 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16180 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16181 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16182 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16183 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16184 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16185 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16186 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16187 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16188 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16189 entry.
16190 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16191 optional.
16192 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16193 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16194 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16195 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16196 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16197 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16198 Likewise.
16199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16200 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16201 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16202 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16203 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16204 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16205 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16206 as optional.
16207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16208 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16210 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16211 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16212 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16213 specify as optional.
16214 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16215 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16216 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16217 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16218 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16219 [XPG3] (NL_LANGMAX): Likewise.
16220 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16221 [POSIX || XPG3] (NL_NMAX): Likewise.
16222 [POSIX || XPG3] (NL_SETMAX): Likewise.
16223 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16224 [XPG3] (NZERO): Likewise.
16225 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16226 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16227 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16228 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16229 (REG_ERANGE): Expect.
16230 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16231 optional-constant.
16232 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16233 Use (void) in prototype.
16234 [POSIX] (*_t): Allow.
16235 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16236 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16237 (WRDE_BADVAL): Expect.
16238
16239 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16240 expect.
16241 [XPG3 || XPG4] (O_RSYNC): Likewise.
16242 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16243 Likewise.
16244 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16245 [XPG3 || XPG4] (sigqueue): Likewise.
16246 [XPG3 || XPG4] (sigtimedwait): Likewise.
16247 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16248 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16249 [XPG3 || XPG4] (vsnprintf): Likewise.
16250 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16251 Likewise.
16252 [XPG3 || XPG4] (blksize_t): Likewise.
16253 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16254 Likewise.
16255 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16256 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16257 [XPG3 || XPG4] (struct itimerspec): Likewise.
16258 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16259 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16260 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16261 [XPG3 || XPG4] (clockid_t): Likewise.
16262 [XPG3 || XPG4] (timer_t): Likewise.
16263 [XPG3 || XPG4] (clock_getres): Likewise.
16264 [XPG3 || XPG4] (clock_gettime): Likewise.
16265 [XPG3 || XPG4] (clock_settime): Likewise.
16266 [XPG3 || XPG4] (nanosleep): Likewise.
16267 [XPG3 || XPG4] (timer_create): Likewise.
16268 [XPG3 || XPG4] (timer_delete): Likewise.
16269 [XPG3 || XPG4] (timer_gettime): Likewise.
16270 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16271 [XPG3 || XPG4] (timer_settime): Likewise.
16272 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16273 [XPG3 || XPG4] (getlogin_r): Likewise.
16274 [XPG3 || XPG4] (pread): Likewise.
16275 [XPG3 || XPG4] (pthread_atfork): Likewise.
16276 [XPG3 || XPG4] (pwrite): Likewise.
16277
16278 [BZ #14835]
16279 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16280 <bits/siginfo.h>.
16281
16282 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16283
16284 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16285 finalizing MALLSTREAM.
16286
16287 * sysdeps/mach/hurd/syncfs.c: New file.
16288
16289 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16290
16291 [BZ #14719]
16292 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16293 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16294 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16295 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16296 (_nss_dns_gethostbyname4_r): Likewise.
16297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16298 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16299
16300 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16301
16302 [BZ #13763]
16303 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16304
16305 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16306
16307 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16308 * elf/cache.c (print_entry): Print ",AArch64" for
16309 FLAG_AARCH64_LIB64
16310
16311 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16312 * elf/cache.c (print_entry): Print ",hard-float" for
16313 FLAG_ARM_LIBHF.
16314
16315 2012-11-18 David S. Miller <davem@davemloft.net>
16316
16317 With help from Joseph Myers.
16318 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16319 cutoff to 2**-13.
16320 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16321 cutoff to 2**-25.
16322 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16323 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16324 small.
16325 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16326 * math/libm-test.inc (y0_test): New tests.
16327 (y1_test): New tests.
16328 * sysdeps/i386/fpu/libm-test-ulps: Update.
16329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16331
16332 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16333
16334 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16335 64-bit targets.
16336 * configure: Regenerated.
16337
16338 2012-11-17 David S. Miller <davem@davemloft.net>
16339
16340 [BZ #14811]
16341 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16342 nonzero exponents with absolute value below 0x1p-128 to +/-
16343 0x1p-128.
16344
16345 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16346
16347 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16348
16349 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16350
16351 * posix/getconf-speclist.c: New file.
16352 * posix/posix-envs.def: Likewise.
16353 * posix/confstr.c (START_ENV_GROUP): New macro.
16354 (END_ENV_GROUP): Likewise.
16355 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16356 (KNOWN_PRESENT_ENV_STRING): Likewise.
16357 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16358 (UNKNOWN_ENVIRONMENT): Likewise.
16359 (confstr): Include posix-envs.def instead of handling
16360 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16361 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16362 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16363 (END_ENV_GROUP): Likewise.
16364 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16365 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16366 (UNKNOWN_ENVIRONMENT): Likewise.
16367 (__sysconf): Include posix-envs.def instead of handling associated
16368 cases directly here.
16369 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16370 preprocessing getconf-speclist.c rather than running getconf or
16371 generating empty file.
16372
16373 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16374
16375 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16376
16377 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16378
16379 [BZ #14672]
16380 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16381
16382 2012-11-16 David S. Miller <davem@davemloft.net>
16383
16384 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16385 smaller than LDBL_EPSILON/2.0L, just return xm1.
16386
16387 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16388
16389 * elf/tst-array1.c (init): Set constructor priority to 1000.
16390 (fini): Set destructor priority to 1000.
16391 * elf/tst-array2dep.c: Likewise.
16392
16393 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16394
16395 [BZ #11741]
16396 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16397 (_IO_new_file_xsputn): Also return EOF if none of the input
16398 data was written when overflow failed.
16399 * libio/iopadn.c (_IO_padn): Likewise.
16400 * libio/iowpadn.c (_IO_wpadn): Likewise.
16401 * stdio-common/tst-put-error.c: Add copyright notice.
16402 (do_test): Add case for printing padded string.
16403 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16404 _IO_padn returned error.
16405 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16406 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16407 return EOF.
16408
16409 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16410
16411 * libio/libioP.h: Add comment note that the references to C++
16412 bits are now obsolete.
16413
16414 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16415
16416 * math/libm-test.inc (check_complex): Use asprintf.
16417
16418 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16419
16420 * debug/pcprofiledump.c (print_version): Update copyright year.
16421 * malloc/memusagestat.c (print_version): Likewise.
16422
16423 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16424
16425 [BZ #14831]
16426 * elf/Makefile (tests): Add tst-audit8.
16427 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16428 ($(objpfx)tst-audit8.out): New target.
16429 (tst-audit8-ENV): New variable.
16430 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16431 audit if l_reloc_result is NULL.
16432 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16433 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16434 * elf/tst-audit8.c: New file.
16435
16436 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16437
16438 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16439 * misc/Makefile (CFLAGS-select.c): Define.
16440 * posix/Makefile (CFLAGS-pause.c): Define.
16441
16442 2012-11-13 David S. Miller <davem@davemloft.net>
16443
16444 * crypt/Makefile: Move test targets after toplevel Rules
16445 inclusion. Grab any necessary sysdep routines when linking.
16446 * crypt/md5.c (md5_process_block): Remove define, we will always
16447 name it __md5_process_block.
16448 (md5_finish_ctx): Update md5_process_block call.
16449 (md5_stream): Likewise.
16450 (md5_process_bytes): Likewise.
16451 (md5_process_block): Rename to __md5_process_block and move to ...
16452 * crypt/md5-block.c: ... here.
16453 * crypt/sha256.c (sha256_process_block): Move to ...
16454 * crypt/sha256-block.c: ... here.
16455 * crypt/sha512.c (sha512_process_block): Move to ...
16456 * crypt/sha512-block.c: ... here.
16457 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16458 path.
16459 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16460 * sysdeps/sparc/sparc64/multiarch/Makefile
16461 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16462 crypt subdir.
16463 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16464 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16465 multiarch changes.
16466 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16467 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16468 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16469 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16470 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16471 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16472 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16473 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16474 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16475 file.
16476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16477 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16478 file.
16479 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16480
16481 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16482
16483 * timezone/tzselect.ksh: Update from tzcode git revision
16484 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16485 * timezone/zdump.c: Likewise.
16486 * timezone/zic.c: Likewise.
16487 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16488 in TZVERSION setting, not $(PKGVERSION).
16489 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16490 REPORT_BUGS_TO settings.
16491
16492 [BZ #14838]
16493 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16494 macro.
16495
16496 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16497
16498 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16499 detection to immediately after _FP_ROUND().
16500 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16501 bits are 0.
16502
16503 2012-11-11 David S. Miller <davem@davemloft.net>
16504
16505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16506 inttypes.h
16507 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16508 __close rather than their public counterparts.
16509
16510 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16511
16512 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16513 file.
16514 [UNIX98] (sem_timedwait): Do not expect.
16515 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16516 [XPG4 || UNIX98] (sockatmark): Do not expect.
16517 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16518 (clock_getcpuclockid): Do not expect.
16519 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16520 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16521 Do not expect.
16522 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16523 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16524 [UNIX98] (vwscanf): Likewise.
16525 [UNIX98] (vswscanf): Likewise.
16526
16527 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16528
16529 * timezone/version.h: Remove file.
16530 * timezone/README: Do not refer to version.h.
16531 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16532 $(objpfx)version.h.
16533 ($(objpfx)zdump.o): Likewise.
16534 ($(objpfx)version.h): New target.
16535
16536 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16537 2012i.
16538 * timezone/README: Don't mention modification to tzselect.ksh.
16539 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16540 work on unmodified tzselect.ksh. Substitute version numbers in
16541 tzselect.ksh.
16542
16543 * Makefile (format-me): Remove.
16544 (INSTALL): Adjust indentation. Use commands directly instead of
16545 using $(format-me).
16546
16547 * aclocal.m4 (ACX_PKGVERSION): New macro.
16548 (ACX_BUGURL): Likewise.
16549 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16550 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16551 (REPORT_BUGS_TO): Likewise.
16552 * configure: Regenerated.
16553 * config.h.in (PKGVERSION): New macro.
16554 (REPORT_BUGS_TO): Likewise.
16555 * config.make.in (PKGVERSION): New variable.
16556 (PKGVERSION_TEXI): Likewise.
16557 (REPORT_BUGS_TO): Likewise.
16558 (REPORT_BUGS_TEXI): Likewise.
16559 * Makefile (format-me): Use -I$(common-objpfx)manual.
16560 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16561 ($(common-objpfx)manual/%): New target.
16562 (manual/%): Remove target.
16563 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16564 (print_version): Use PKGVERSION.
16565 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16566 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16567 and REPORT_BUGS_TO.
16568 ($(objpfx)xtrace): Likewise.
16569 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16570 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16571 (print_version): Use PKGVERSION.
16572 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16573 (do_version): Use PKGVERSION.
16574 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16575 REPORT_BUGS_TO.
16576 (common-ldd-rewrite): Likewise.
16577 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16578 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16579 (print_version): Use PKGVERSION.
16580 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16581 * elf/pldd.c (argp_program_bug_address): Remove variable.
16582 (more_help): New function.
16583 (argp): Use more_help.
16584 (print_version): Use PKGVERSION.
16585 * elf/sln.c (main): Use PKGVERSION.
16586 (usage): Use REPORT_BUGS_TO.
16587 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16588 (top level): Use PKGVERSION.
16589 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16590 (print_version): Use PKGVERSION.
16591 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16592 (print_version): Use PKGVERSION.
16593 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16594 (print_version): Use PKGVERSION.
16595 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16596 (print_version): Use PKGVERSION.
16597 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16598 (print_version): Use PKGVERSION.
16599 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16600 (print_version): Use PKGVERSION.
16601 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16602 and BUGURL.
16603 ($(objpfx)memusage): Likewise.
16604 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16605 (do_version): Use PKGVERSION.
16606 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16607 (print_version): Use PKGVERSION.
16608 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16609 ($PKGVERSION): New variable.
16610 ($REPORT_BUGS_TO): Likewise.
16611 (usage): Use $REPORT_BUGS_TO.
16612 (top level): Use $PKGVERSION.
16613 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16614 ($(objpfx)pkgvers.texi): New rule.
16615 ($(objpfx)stamp-pkgvers): Likewise.
16616 * manual/install.texi: Include pkgvers.texi.
16617 (--with-pkgversion): Document new configure option.
16618 (--with-bugurl): Likewise.
16619 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16620 than necessarily for this particular distribution. Use
16621 REPORT_BUGS_TO for where to report bugs.
16622 * INSTALL: Regenerated.
16623 * manual/libc.texinfo: Include pkgvers.texi.
16624 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16625 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16626 (print_version): Use PKGVERSION.
16627 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16628 (print_version): Use PKGVERSION.
16629 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16630 (print_version): Use PKGVERSION.
16631 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16632 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16633 macro.
16634 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16635 (print_version): Use PKGVERSION.
16636 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16637 (print_version): Use PKGVERSION.
16638 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16639 and PKGVERSION.
16640
16641 * timezone/checktab.awk: Update from tzcode 2012i.
16642 * timezone/ialloc.c: Likewise.
16643 * timezone/private.h: Likewise.
16644 * timezone/scheck.c: Likewise.
16645 * timezone/tzfile.h: Likewise.
16646 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16647 (TZVERSION): Hardcode tzcode version number.
16648 * timezone/zdump.c: Update from tzcode 2012i.
16649 * timezone/zic.c: Likewise.
16650 * timezone/version.h: New file.
16651 * timezone/README: Describe version.h. Update upstream location.
16652
16653 [BZ #14824]
16654 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16655 (mktemp): Enable declaration.
16656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16660 Likewise.
16661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16662 Likewise.
16663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16664 Likewise.
16665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16666 Likewise.
16667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16668 Likewise.
16669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16670 Likewise.
16671
16672 [BZ #14821]
16673 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16674 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16675 for copies of such integer values.
16676 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16677 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16678
16679 2012-11-09 Andreas Jaeger <aj@suse.de>
16680
16681 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16682 definitions and declarations that are provided by
16683 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16684
16685 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16686
16687 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16688 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16689 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16690 definition.
16691
16692 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16693
16694 * elf/elf.h: Update comment before AArch64 relocations.
16695
16696 2012-11-07 David S. Miller <davem@davemloft.net>
16697
16698 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16699 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16700 (__start_context): Declare.
16701 (__makecontext_ret): Delete.
16702 (__makecontext): Hook up __start_context instead of
16703 __makecontext_ret.
16704 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16705 (sysdep_routines): Add __start_context when in stdlib.
16706
16707 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16708
16709 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16710 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16711 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16712 hardcoded "nm".
16713 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16714 (READELF): New variable. Use it instead of hardcoded "readelf".
16715
16716 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16717
16718 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16719 * sysdeps/x86/Makefile: Here.
16720 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16721 * sysdeps/x86/tst-xmmymm.sh: This.
16722
16723 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16724
16725 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16726 expectations.
16727 [UNIX98] (pthread_barrier_t): Do not expect.
16728 [UNIX98] (pthread_barrierattr_t): Likewise.
16729 [UNIX98] (pthread_spinlock_t): Likewise.
16730 [UNIX98] (pthread_barrier_destroy): Likewise.
16731 [UNIX98] (pthread_barrier_init): Likewise.
16732 [UNIX98] (pthread_barrier_wait): Likewise.
16733 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16734 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16735 [UNIX98] (pthread_barrierattr_init): Likewise.
16736 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16737 [UNIX98] (pthread_getcpuclockid): Likewise.
16738 [UNIX98] (pthread_mutex_timedlock): Likewise.
16739 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16740 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16741 [UNIX98] (pthread_sigmask): Likewise.
16742 [UNIX98] (pthread_spin_destroy): Likewise.
16743 [UNIX98] (pthread_spin_init): Likewise.
16744 [UNIX98] (pthread_spin_lock): Likewise.
16745 [UNIX98] (pthread_spin_trylock): Likewise.
16746 [UNIX98] (pthread_spin_unlock): Likewise.
16747 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16748 Do not expect.
16749 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16750 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16751 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16752 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16753 [XPG3 || XPG4] (pthread_key_t): Likewise.
16754 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16755 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16756 [XPG3 || XPG4] (pthread_once_t): Likewise.
16757 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16758 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16759 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16760 [XPG3 || XPG4] (pthread_t): Likewise.
16761
16762 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16763 not expect.
16764 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16765
16766 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16767 Change function return type to int.
16768
16769 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16770 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16771 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16772 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16773 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16774 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16775 [!POSIX] (posix_madvise): Likewise.
16776 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16777 && !UNIX98].
16778 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16779 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16780 (mode_t): Likewise.
16781 (posix_mem_offset): Likewise.
16782 (posix_typed_mem_get_info): Likewise.
16783 (posix_typed_mem_open): Likewise.
16784
16785 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16786 Change condition to [XOPEN2K8].
16787
16788 * conform/conformtest.pl: Preprocess allow-header data with -x c
16789 instead of from stdin.
16790 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16791 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16792 [C99-based standards] (cerfc): Likewise.
16793 [C99-based standards] (cexp2): Likewise.
16794 [C99-based standards] (cexpm1): Likewise.
16795 [C99-based standards] (clog10): Likewise.
16796 [C99-based standards] (clog1p): Likewise.
16797 [C99-based standards] (clog2): Likewise.
16798 [C99-based standards] (clgamma): Likewise.
16799 [C99-based standards] (ctgamma): Likewise.
16800 [C99-based standards] (cerff): Likewise.
16801 [C99-based standards] (cerfcf): Likewise.
16802 [C99-based standards] (cexp2f): Likewise.
16803 [C99-based standards] (cexpm1f): Likewise.
16804 [C99-based standards] (clog10f): Likewise.
16805 [C99-based standards] (clog1pf): Likewise.
16806 [C99-based standards] (clog2f): Likewise.
16807 [C99-based standards] (clgammaf): Likewise.
16808 [C99-based standards] (ctgammaf): Likewise.
16809 [C99-based standards] (cerfl): Likewise.
16810 [C99-based standards] (cerfcl): Likewise.
16811 [C99-based standards] (cexp2l): Likewise.
16812 [C99-based standards] (cexpm1l): Likewise.
16813 [C99-based standards] (clog10l): Likewise.
16814 [C99-based standards] (clog1pl): Likewise.
16815 [C99-based standards] (clog2l): Likewise.
16816 [C99-based standards] (clgammal): Likewise.
16817 [C99-based standards] (ctgammal): Likewise.
16818 * conform/data/inttypes.h-data [C99-based standards]: Include
16819 stdint.h-data. Remove all expectations for stdint.h contents.
16820 [C99-based standards] (PRI*): Do not allow.
16821 [C99-based standards] (SCN*): Likewise.
16822 [C99-based standards] (*_t): Likewise.
16823 [C99-based-standards] (PRId8): Expect macro.
16824 [C99-based-standards] (PRIi8): Likewise.
16825 [C99-based-standards] (PRIo8): Likewise.
16826 [C99-based-standards] (PRIu8): Likewise.
16827 [C99-based-standards] (PRIx8): Likewise.
16828 [C99-based-standards] (PRIX8): Likewise.
16829 [C99-based-standards] (SCNd8): Likewise.
16830 [C99-based-standards] (SCNi8): Likewise.
16831 [C99-based-standards] (SCNo8): Likewise.
16832 [C99-based-standards] (SCNu8): Likewise.
16833 [C99-based-standards] (SCNx8): Likewise.
16834 [C99-based-standards] (PRIdLEAST8): Likewise.
16835 [C99-based-standards] (PRIiLEAST8): Likewise.
16836 [C99-based-standards] (PRIoLEAST8): Likewise.
16837 [C99-based-standards] (PRIuLEAST8): Likewise.
16838 [C99-based-standards] (PRIxLEAST8): Likewise.
16839 [C99-based-standards] (PRIXLEAST8): Likewise.
16840 [C99-based-standards] (SCNdLEAST8): Likewise.
16841 [C99-based-standards] (SCNiLEAST8): Likewise.
16842 [C99-based-standards] (SCNoLEAST8): Likewise.
16843 [C99-based-standards] (SCNuLEAST8): Likewise.
16844 [C99-based-standards] (SCNxLEAST8): Likewise.
16845 [C99-based-standards] (PRIdFAST8): Likewise.
16846 [C99-based-standards] (PRIiFAST8): Likewise.
16847 [C99-based-standards] (PRIoFAST8): Likewise.
16848 [C99-based-standards] (PRIuFAST8): Likewise.
16849 [C99-based-standards] (PRIxFAST8): Likewise.
16850 [C99-based-standards] (PRIXFAST8): Likewise.
16851 [C99-based-standards] (SCNdFAST8): Likewise.
16852 [C99-based-standards] (SCNiFAST8): Likewise.
16853 [C99-based-standards] (SCNoFAST8): Likewise.
16854 [C99-based-standards] (SCNuFAST8): Likewise.
16855 [C99-based-standards] (SCNxFAST8): Likewise.
16856 [C99-based-standards] (PRId16): Likewise.
16857 [C99-based-standards] (PRIi16): Likewise.
16858 [C99-based-standards] (PRIo16): Likewise.
16859 [C99-based-standards] (PRIu16): Likewise.
16860 [C99-based-standards] (PRIx16): Likewise.
16861 [C99-based-standards] (PRIX16): Likewise.
16862 [C99-based-standards] (SCNd16): Likewise.
16863 [C99-based-standards] (SCNi16): Likewise.
16864 [C99-based-standards] (SCNo16): Likewise.
16865 [C99-based-standards] (SCNu16): Likewise.
16866 [C99-based-standards] (SCNx16): Likewise.
16867 [C99-based-standards] (PRIdLEAST16): Likewise.
16868 [C99-based-standards] (PRIiLEAST16): Likewise.
16869 [C99-based-standards] (PRIoLEAST16): Likewise.
16870 [C99-based-standards] (PRIuLEAST16): Likewise.
16871 [C99-based-standards] (PRIxLEAST16): Likewise.
16872 [C99-based-standards] (PRIXLEAST16): Likewise.
16873 [C99-based-standards] (SCNdLEAST16): Likewise.
16874 [C99-based-standards] (SCNiLEAST16): Likewise.
16875 [C99-based-standards] (SCNoLEAST16): Likewise.
16876 [C99-based-standards] (SCNuLEAST16): Likewise.
16877 [C99-based-standards] (SCNxLEAST16): Likewise.
16878 [C99-based-standards] (PRIdFAST16): Likewise.
16879 [C99-based-standards] (PRIiFAST16): Likewise.
16880 [C99-based-standards] (PRIoFAST16): Likewise.
16881 [C99-based-standards] (PRIuFAST16): Likewise.
16882 [C99-based-standards] (PRIxFAST16): Likewise.
16883 [C99-based-standards] (PRIXFAST16): Likewise.
16884 [C99-based-standards] (SCNdFAST16): Likewise.
16885 [C99-based-standards] (SCNiFAST16): Likewise.
16886 [C99-based-standards] (SCNoFAST16): Likewise.
16887 [C99-based-standards] (SCNuFAST16): Likewise.
16888 [C99-based-standards] (SCNxFAST16): Likewise.
16889 [C99-based-standards] (PRId32): Likewise.
16890 [C99-based-standards] (PRIi32): Likewise.
16891 [C99-based-standards] (PRIo32): Likewise.
16892 [C99-based-standards] (PRIu32): Likewise.
16893 [C99-based-standards] (PRIx32): Likewise.
16894 [C99-based-standards] (PRIX32): Likewise.
16895 [C99-based-standards] (SCNd32): Likewise.
16896 [C99-based-standards] (SCNi32): Likewise.
16897 [C99-based-standards] (SCNo32): Likewise.
16898 [C99-based-standards] (SCNu32): Likewise.
16899 [C99-based-standards] (SCNx32): Likewise.
16900 [C99-based-standards] (PRIdLEAST32): Likewise.
16901 [C99-based-standards] (PRIiLEAST32): Likewise.
16902 [C99-based-standards] (PRIoLEAST32): Likewise.
16903 [C99-based-standards] (PRIuLEAST32): Likewise.
16904 [C99-based-standards] (PRIxLEAST32): Likewise.
16905 [C99-based-standards] (PRIXLEAST32): Likewise.
16906 [C99-based-standards] (SCNdLEAST32): Likewise.
16907 [C99-based-standards] (SCNiLEAST32): Likewise.
16908 [C99-based-standards] (SCNoLEAST32): Likewise.
16909 [C99-based-standards] (SCNuLEAST32): Likewise.
16910 [C99-based-standards] (SCNxLEAST32): Likewise.
16911 [C99-based-standards] (PRIdFAST32): Likewise.
16912 [C99-based-standards] (PRIiFAST32): Likewise.
16913 [C99-based-standards] (PRIoFAST32): Likewise.
16914 [C99-based-standards] (PRIuFAST32): Likewise.
16915 [C99-based-standards] (PRIxFAST32): Likewise.
16916 [C99-based-standards] (PRIXFAST32): Likewise.
16917 [C99-based-standards] (SCNdFAST32): Likewise.
16918 [C99-based-standards] (SCNiFAST32): Likewise.
16919 [C99-based-standards] (SCNoFAST32): Likewise.
16920 [C99-based-standards] (SCNuFAST32): Likewise.
16921 [C99-based-standards] (SCNxFAST32): Likewise.
16922 [C99-based-standards] (PRId64): Likewise.
16923 [C99-based-standards] (PRIi64): Likewise.
16924 [C99-based-standards] (PRIo64): Likewise.
16925 [C99-based-standards] (PRIu64): Likewise.
16926 [C99-based-standards] (PRIx64): Likewise.
16927 [C99-based-standards] (PRIX64): Likewise.
16928 [C99-based-standards] (SCNd64): Likewise.
16929 [C99-based-standards] (SCNi64): Likewise.
16930 [C99-based-standards] (SCNo64): Likewise.
16931 [C99-based-standards] (SCNu64): Likewise.
16932 [C99-based-standards] (SCNx64): Likewise.
16933 [C99-based-standards] (PRIdLEAST64): Likewise.
16934 [C99-based-standards] (PRIiLEAST64): Likewise.
16935 [C99-based-standards] (PRIoLEAST64): Likewise.
16936 [C99-based-standards] (PRIuLEAST64): Likewise.
16937 [C99-based-standards] (PRIxLEAST64): Likewise.
16938 [C99-based-standards] (PRIXLEAST64): Likewise.
16939 [C99-based-standards] (SCNdLEAST64): Likewise.
16940 [C99-based-standards] (SCNiLEAST64): Likewise.
16941 [C99-based-standards] (SCNoLEAST64): Likewise.
16942 [C99-based-standards] (SCNuLEAST64): Likewise.
16943 [C99-based-standards] (SCNxLEAST64): Likewise.
16944 [C99-based-standards] (PRIdFAST64): Likewise.
16945 [C99-based-standards] (PRIiFAST64): Likewise.
16946 [C99-based-standards] (PRIoFAST64): Likewise.
16947 [C99-based-standards] (PRIuFAST64): Likewise.
16948 [C99-based-standards] (PRIxFAST64): Likewise.
16949 [C99-based-standards] (PRIXFAST64): Likewise.
16950 [C99-based-standards] (SCNdFAST64): Likewise.
16951 [C99-based-standards] (SCNiFAST64): Likewise.
16952 [C99-based-standards] (SCNoFAST64): Likewise.
16953 [C99-based-standards] (SCNuFAST64): Likewise.
16954 [C99-based-standards] (SCNxFAST64): Likewise.
16955 [C99-based-standards] (PRIdMAX): Likewise.
16956 [C99-based-standards] (PRIiMAX): Likewise.
16957 [C99-based-standards] (PRIoMAX): Likewise.
16958 [C99-based-standards] (PRIuMAX): Likewise.
16959 [C99-based-standards] (PRIxMAX): Likewise.
16960 [C99-based-standards] (PRIXMAX): Likewise.
16961 [C99-based-standards] (SCNdMAX): Likewise.
16962 [C99-based-standards] (SCNiMAX): Likewise.
16963 [C99-based-standards] (SCNoMAX): Likewise.
16964 [C99-based-standards] (SCNuMAX): Likewise.
16965 [C99-based-standards] (SCNxMAX): Likewise.
16966 [C99-based-standards] (PRIdPTR): Likewise.
16967 [C99-based-standards] (PRIiPTR): Likewise.
16968 [C99-based-standards] (PRIoPTR): Likewise.
16969 [C99-based-standards] (PRIuPTR): Likewise.
16970 [C99-based-standards] (PRIxPTR): Likewise.
16971 [C99-based-standards] (PRIXPTR): Likewise.
16972 [C99-based-standards] (SCNdPTR): Likewise.
16973 [C99-based-standards] (SCNiPTR): Likewise.
16974 [C99-based-standards] (SCNoPTR): Likewise.
16975 [C99-based-standards] (SCNuPTR): Likewise.
16976 [C99-based-standards] (SCNxPTR): Likewise.
16977 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16978 allow.
16979 * conform/data/stdint.h-data: Update comments to clarify
16980 requirements.
16981 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16982 type.
16983 [C99-based standards] (INT8_MAX): Likewise.
16984 [C99-based standards] (INT16_MIN): Likewise.
16985 [C99-based standards] (INT16_MAX): Likewise.
16986 [C99-based standards] (INT32_MIN): Likewise.
16987 [C99-based standards] (INT32_MAX): Likewise.
16988 [C99-based standards] (INT64_MIN): Likewise.
16989 [C99-based standards] (INT64_MAX): Likewise.
16990 [C99-based standards] (UINT8_MAX): Likewise.
16991 [C99-based standards] (UINT16_MAX): Likewise.
16992 [C99-based standards] (UINT32_MAX): Likewise.
16993 [C99-based standards] (UINT64_MAX): Likewise.
16994 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16995 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16996 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16997 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16998 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16999 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17000 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17001 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17002 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17003 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17004 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17005 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17006 [C99-based standards] (INT_FAST8_MIN): Likewise.
17007 [C99-based standards] (INT_FAST8_MAX): Likewise.
17008 [C99-based standards] (INT_FAST16_MIN): Likewise.
17009 [C99-based standards] (INT_FAST16_MAX): Likewise.
17010 [C99-based standards] (INT_FAST32_MIN): Likewise.
17011 [C99-based standards] (INT_FAST32_MAX): Likewise.
17012 [C99-based standards] (INT_FAST64_MIN): Likewise.
17013 [C99-based standards] (INT_FAST64_MAX): Likewise.
17014 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17015 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17016 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17017 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17018 [C99-based standards] (INTPTR_MIN): Likewise.
17019 [C99-based standards] (INTPTR_MAX): Likewise.
17020 [C99-based standards] (UINTPTR_MAX): Likewise.
17021 [C99-based standards] (INTMAX_MIN): Likewise.
17022 [C99-based standards] (INTMAX_MAX): Likewise.
17023 [C99-based standards] (UINTMAX_MAX): Likewise.
17024 [C99-based standards] (PTRDIFF_MIN): Likewise.
17025 [C99-based standards] (PTRDIFF_MAX): Likewise.
17026 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17027 [C99-based standards] (SIZE_MAX): Likewise.
17028 [C99-based standards] (WCHAR_MAX): Likewise.
17029 [C99-based standards] (WINT_MAX): Likewise.
17030 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17031 constraint on value.
17032 [C99-based standards] (WCHAR_MIN): Likewise.
17033 [C99-based standards] (WINT_MIN): Likewise.
17034 [C99-based standards] (*_t): Allow.
17035 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17036 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17037 Include math.h-data and complex.h-data. Remove all expectations
17038 of math.h and complex.h contents.
17039 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17040 at end of line.
17041 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17042 (struct tm): Expect tag.
17043 [C99-based-standards] (wcstof): Expect function.
17044 [C99-based-standards] (wcstold): Likewise.
17045 [C99-based-standards] (wcstoll): Likewise.
17046 [C99-based-standards] (wcstoull): Likewise.
17047 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17048 macro-int-constant. Specify type.
17049 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17050 constraint on value.
17051 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17052 Specify type.
17053 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17054 Specify value.
17055 [ISO C standards]: Do not allow headers.
17056 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17057 wcs[abcdefghijklmnopqrstuvwxyz]*.
17058 [ISO C standards] (*_t): Do not allow.
17059 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17060 Expect function.
17061 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17062 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17063 Specify type.
17064 [ISO C standards]: Do not allow headers.
17065 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17066 is[abcdefghijklmnopqrstuvwxyz]*.
17067 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17068 to[abcdefghijklmnopqrstuvwxyz]*.
17069 [ISO C standards] (*_t): Do not allow.
17070 * conform/data/stdalign.h-data: New file.
17071 * conform/data/stdbool.h-data: Likewise.
17072 * conform/data/stdnoreturn.h-data: Likewise.
17073
17074 2012-11-07 Roland McGrath <roland@hack.frob.com>
17075
17076 [BZ #14815]
17077 * manual/filesys.texi (Directory Entries): Typo fix.
17078 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17079
17080 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17081
17082 * elf/elf.h (EM_AARCH64): New macro.
17083 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17084 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17085 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17086 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17087 (R_AARCH64_TLSDESC): Likewise.
17088 (NT_ARM_TLS): Likewise.
17089 (NT_ARM_HW_BREAK): Likewise.
17090 (NT_ARM_HW_WATCH): Likewise.
17091
17092 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17093
17094 [BZ #14811]
17095 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17096 (__ieee754_powl): Saturate nonzero exponents with absolute value
17097 below 0x1p-79 to +/- 0x1p-79.
17098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17099 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17100 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17101 nonzero exponents with absolute value below 0x1p-32 to +/-
17102 0x1p-32.
17103 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17104 (__ieee754_powl): Saturate nonzero exponents with absolute value
17105 below 0x1p-79 to +/- 0x1p-79.
17106 * math/libm-test.inc (pow_test): Add more tests.
17107
17108 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17109
17110 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17111 _dl_s390_cap_flags with kernel. Increase string length.
17112 (_dl_s390_platforms): Add z196 and zEC12.
17113
17114 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17115
17116 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17117 Change XOPEN21K to XOPEN2K.
17118
17119 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17120
17121 * string/memmove.c: Use memcpy when possible.
17122
17123 2012-11-06 Andreas Jaeger <aj@suse.de>
17124
17125 * po/eo.po: Update from translation team.
17126
17127 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17128
17129 [BZ #14793]
17130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17131 exponent and small x and y exponents, scale x or y up. Increase
17132 by 2 the exponent used in scaling up.
17133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17134 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17135 * math/libm-test.inc (fma_test): Add more tests.
17136 (fma_test_towardzero): Likewise.
17137 (fma_test_downward): Likewise.
17138 (fma_test_upward): Likewise.
17139
17140 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17141
17142 [BZ #14805]
17143 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17144 fenv_t *.
17145
17146 [BZ #14801]
17147 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17148 namespace for names of struct fields.
17149 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17150 fenv_t fields.
17151 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17152 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17153
17154 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17155
17156 [BZ #3665]
17157 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17158
17159 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17160
17161 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17162 PTR_DEMANGLE.
17163
17164 [BZ #5246]
17165 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17166 PTR_DEMANGLE.
17167
17168 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17169
17170 [BZ #14797]
17171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17172 definitely overflow as x * y not x * y + z.
17173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17174 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17175 * math/libm-test.inc (fma_test): Add more tests.
17176 (fma_test_towardzero): Likewise.
17177 (fma_test_downward): Likewise.
17178 (fma_test_upward): Likewise.
17179
17180 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17181
17182 [BZ #157]
17183
17184 * include/stub-tag.h: Remove file.
17185 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17186 '#include' of it.
17187 * manual/maint.texi (Porting): Don't reference it.
17188 * Makerules ($(objpfx)stubs): Likewise.
17189 * dirent/closedir.c: Don't include <stub-tag.h>.
17190 * dirent/dirfd.c: Likewise.
17191 * dirent/fdopendir.c: Likewise.
17192 * dirent/getdents.c: Likewise.
17193 * dirent/getdents64.c: Likewise.
17194 * dirent/opendir.c: Likewise.
17195 * dirent/readdir.c: Likewise.
17196 * dirent/readdir64.c: Likewise.
17197 * dirent/readdir64_r.c: Likewise.
17198 * dirent/readdir_r.c: Likewise.
17199 * dirent/rewinddir.c: Likewise.
17200 * dirent/seekdir.c: Likewise.
17201 * dirent/telldir.c: Likewise.
17202 * gmon/profil.c: Likewise.
17203 * grp/setgroups.c: Likewise.
17204 * inet/if_index.c: Likewise.
17205 * io/access.c: Likewise.
17206 * io/chdir.c: Likewise.
17207 * io/chmod.c: Likewise.
17208 * io/chown.c: Likewise.
17209 * io/close.c: Likewise.
17210 * io/dup.c: Likewise.
17211 * io/dup2.c: Likewise.
17212 * io/dup3.c: Likewise.
17213 * io/euidaccess.c: Likewise.
17214 * io/faccessat.c: Likewise.
17215 * io/fchdir.c: Likewise.
17216 * io/fchmod.c: Likewise.
17217 * io/fchmodat.c: Likewise.
17218 * io/fchown.c: Likewise.
17219 * io/fchownat.c: Likewise.
17220 * io/fcntl.c: Likewise.
17221 * io/flock.c: Likewise.
17222 * io/fstatfs.c: Likewise.
17223 * io/fstatfs64.c: Likewise.
17224 * io/fstatvfs.c: Likewise.
17225 * io/fstatvfs64.c: Likewise.
17226 * io/futimens.c: Likewise.
17227 * io/fxstat.c: Likewise.
17228 * io/fxstat64.c: Likewise.
17229 * io/fxstatat.c: Likewise.
17230 * io/fxstatat64.c: Likewise.
17231 * io/getcwd.c: Likewise.
17232 * io/isatty.c: Likewise.
17233 * io/lchmod.c: Likewise.
17234 * io/lchown.c: Likewise.
17235 * io/link.c: Likewise.
17236 * io/linkat.c: Likewise.
17237 * io/lseek.c: Likewise.
17238 * io/lseek64.c: Likewise.
17239 * io/lxstat64.c: Likewise.
17240 * io/mkdir.c: Likewise.
17241 * io/mkdirat.c: Likewise.
17242 * io/mkfifo.c: Likewise.
17243 * io/mkfifoat.c: Likewise.
17244 * io/open.c: Likewise.
17245 * io/open64.c: Likewise.
17246 * io/openat.c: Likewise.
17247 * io/openat64.c: Likewise.
17248 * io/pipe.c: Likewise.
17249 * io/pipe2.c: Likewise.
17250 * io/poll.c: Likewise.
17251 * io/posix_fadvise.c: Likewise.
17252 * io/posix_fadvise64.c: Likewise.
17253 * io/posix_fallocate.c: Likewise.
17254 * io/posix_fallocate64.c: Likewise.
17255 * io/read.c: Likewise.
17256 * io/readlink.c: Likewise.
17257 * io/readlinkat.c: Likewise.
17258 * io/rmdir.c: Likewise.
17259 * io/sendfile.c: Likewise.
17260 * io/sendfile64.c: Likewise.
17261 * io/statfs.c: Likewise.
17262 * io/statfs64.c: Likewise.
17263 * io/statvfs.c: Likewise.
17264 * io/statvfs64.c: Likewise.
17265 * io/symlink.c: Likewise.
17266 * io/symlinkat.c: Likewise.
17267 * io/ttyname.c: Likewise.
17268 * io/ttyname_r.c: Likewise.
17269 * io/umask.c: Likewise.
17270 * io/unlink.c: Likewise.
17271 * io/unlinkat.c: Likewise.
17272 * io/utime.c: Likewise.
17273 * io/utimensat.c: Likewise.
17274 * io/write.c: Likewise.
17275 * io/xmknod.c: Likewise.
17276 * io/xmknodat.c: Likewise.
17277 * io/xstat.c: Likewise.
17278 * io/xstat64.c: Likewise.
17279 * login/getpt.c: Likewise.
17280 * login/grantpt.c: Likewise.
17281 * login/unlockpt.c: Likewise.
17282 * math/e_acoshl.c: Likewise.
17283 * math/e_acosl.c: Likewise.
17284 * math/e_asinl.c: Likewise.
17285 * math/e_atan2l.c: Likewise.
17286 * math/e_atanhl.c: Likewise.
17287 * math/e_coshl.c: Likewise.
17288 * math/e_expl.c: Likewise.
17289 * math/e_fmodl.c: Likewise.
17290 * math/e_gammal_r.c: Likewise.
17291 * math/e_hypotl.c: Likewise.
17292 * math/e_j0l.c: Likewise.
17293 * math/e_j1l.c: Likewise.
17294 * math/e_jnl.c: Likewise.
17295 * math/e_lgammal_r.c: Likewise.
17296 * math/e_log10l.c: Likewise.
17297 * math/e_log2l.c: Likewise.
17298 * math/e_logl.c: Likewise.
17299 * math/e_powl.c: Likewise.
17300 * math/e_rem_pio2l.c: Likewise.
17301 * math/e_sinhl.c: Likewise.
17302 * math/e_sqrtl.c: Likewise.
17303 * math/fclrexcpt.c: Likewise.
17304 * math/fedisblxcpt.c: Likewise.
17305 * math/feenablxcpt.c: Likewise.
17306 * math/fegetenv.c: Likewise.
17307 * math/fegetexcept.c: Likewise.
17308 * math/fegetround.c: Likewise.
17309 * math/feholdexcpt.c: Likewise.
17310 * math/fesetenv.c: Likewise.
17311 * math/fesetround.c: Likewise.
17312 * math/feupdateenv.c: Likewise.
17313 * math/fgetexcptflg.c: Likewise.
17314 * math/fraiseexcpt.c: Likewise.
17315 * math/fsetexcptflg.c: Likewise.
17316 * math/ftestexcept.c: Likewise.
17317 * math/k_cosl.c: Likewise.
17318 * math/k_rem_pio2l.c: Likewise.
17319 * math/k_sinl.c: Likewise.
17320 * math/k_tanl.c: Likewise.
17321 * math/s_asinhl.c: Likewise.
17322 * math/s_atanl.c: Likewise.
17323 * math/s_cbrtl.c: Likewise.
17324 * math/s_erfl.c: Likewise.
17325 * math/s_expm1l.c: Likewise.
17326 * math/s_log1pl.c: Likewise.
17327 * math/s_tanhl.c: Likewise.
17328 * misc/acct.c: Likewise.
17329 * misc/brk.c: Likewise.
17330 * misc/chflags.c: Likewise.
17331 * misc/chroot.c: Likewise.
17332 * misc/fchflags.c: Likewise.
17333 * misc/fgetxattr.c: Likewise.
17334 * misc/flistxattr.c: Likewise.
17335 * misc/fremovexattr.c: Likewise.
17336 * misc/fsetxattr.c: Likewise.
17337 * misc/fsync.c: Likewise.
17338 * misc/ftruncate.c: Likewise.
17339 * misc/futimes.c: Likewise.
17340 * misc/futimesat.c: Likewise.
17341 * misc/getdomain.c: Likewise.
17342 * misc/getdtsz.c: Likewise.
17343 * misc/gethostid.c: Likewise.
17344 * misc/gethostname.c: Likewise.
17345 * misc/getloadavg.c: Likewise.
17346 * misc/getpagesize.c: Likewise.
17347 * misc/getsysstats.c: Likewise.
17348 * misc/getxattr.c: Likewise.
17349 * misc/gtty.c: Likewise.
17350 * misc/ioctl.c: Likewise.
17351 * misc/lgetxattr.c: Likewise.
17352 * misc/listxattr.c: Likewise.
17353 * misc/llistxattr.c: Likewise.
17354 * misc/lremovexattr.c: Likewise.
17355 * misc/lsetxattr.c: Likewise.
17356 * misc/lutimes.c: Likewise.
17357 * misc/madvise.c: Likewise.
17358 * misc/mincore.c: Likewise.
17359 * misc/mlock.c: Likewise.
17360 * misc/mlockall.c: Likewise.
17361 * misc/mmap.c: Likewise.
17362 * misc/mprotect.c: Likewise.
17363 * misc/msync.c: Likewise.
17364 * misc/munlock.c: Likewise.
17365 * misc/munlockall.c: Likewise.
17366 * misc/munmap.c: Likewise.
17367 * misc/preadv.c: Likewise.
17368 * misc/preadv64.c: Likewise.
17369 * misc/ptrace.c: Likewise.
17370 * misc/pwritev.c: Likewise.
17371 * misc/pwritev64.c: Likewise.
17372 * misc/readv.c: Likewise.
17373 * misc/reboot.c: Likewise.
17374 * misc/remap_file_pages.c: Likewise.
17375 * misc/removexattr.c: Likewise.
17376 * misc/revoke.c: Likewise.
17377 * misc/select.c: Likewise.
17378 * misc/setdomain.c: Likewise.
17379 * misc/setegid.c: Likewise.
17380 * misc/seteuid.c: Likewise.
17381 * misc/sethostid.c: Likewise.
17382 * misc/sethostname.c: Likewise.
17383 * misc/setregid.c: Likewise.
17384 * misc/setreuid.c: Likewise.
17385 * misc/setxattr.c: Likewise.
17386 * misc/sstk.c: Likewise.
17387 * misc/stty.c: Likewise.
17388 * misc/swapoff.c: Likewise.
17389 * misc/swapon.c: Likewise.
17390 * misc/sync.c: Likewise.
17391 * misc/syncfs.c: Likewise.
17392 * misc/syscall.c: Likewise.
17393 * misc/truncate.c: Likewise.
17394 * misc/ualarm.c: Likewise.
17395 * misc/usleep.c: Likewise.
17396 * misc/ustat.c: Likewise.
17397 * misc/utimes.c: Likewise.
17398 * misc/vhangup.c: Likewise.
17399 * misc/writev.c: Likewise.
17400 * posix/_exit.c: Likewise.
17401 * posix/alarm.c: Likewise.
17402 * posix/execve.c: Likewise.
17403 * posix/fexecve.c: Likewise.
17404 * posix/fork.c: Likewise.
17405 * posix/fpathconf.c: Likewise.
17406 * posix/getaddrinfo.c: Likewise.
17407 * posix/getegid.c: Likewise.
17408 * posix/geteuid.c: Likewise.
17409 * posix/getgid.c: Likewise.
17410 * posix/getgroups.c: Likewise.
17411 * posix/getlogin.c: Likewise.
17412 * posix/getlogin_r.c: Likewise.
17413 * posix/getpgid.c: Likewise.
17414 * posix/getpid.c: Likewise.
17415 * posix/getppid.c: Likewise.
17416 * posix/getresgid.c: Likewise.
17417 * posix/getresuid.c: Likewise.
17418 * posix/getsid.c: Likewise.
17419 * posix/getuid.c: Likewise.
17420 * posix/glob64.c: Likewise.
17421 * posix/nanosleep.c: Likewise.
17422 * posix/pathconf.c: Likewise.
17423 * posix/pause.c: Likewise.
17424 * posix/posix_madvise.c: Likewise.
17425 * posix/pread.c: Likewise.
17426 * posix/pread64.c: Likewise.
17427 * posix/pwrite.c: Likewise.
17428 * posix/pwrite64.c: Likewise.
17429 * posix/sched_getaffinity.c: Likewise.
17430 * posix/sched_getp.c: Likewise.
17431 * posix/sched_gets.c: Likewise.
17432 * posix/sched_primax.c: Likewise.
17433 * posix/sched_primin.c: Likewise.
17434 * posix/sched_rr_gi.c: Likewise.
17435 * posix/sched_setaffinity.c: Likewise.
17436 * posix/sched_setp.c: Likewise.
17437 * posix/sched_sets.c: Likewise.
17438 * posix/sched_yield.c: Likewise.
17439 * posix/setgid.c: Likewise.
17440 * posix/setlogin.c: Likewise.
17441 * posix/setpgid.c: Likewise.
17442 * posix/setresgid.c: Likewise.
17443 * posix/setresuid.c: Likewise.
17444 * posix/setsid.c: Likewise.
17445 * posix/setuid.c: Likewise.
17446 * posix/sleep.c: Likewise.
17447 * posix/spawni.c: Likewise.
17448 * posix/sysconf.c: Likewise.
17449 * posix/times.c: Likewise.
17450 * posix/wait.c: Likewise.
17451 * posix/wait3.c: Likewise.
17452 * posix/wait4.c: Likewise.
17453 * posix/waitpid.c: Likewise.
17454 * resolv/gai_sigqueue.c: Likewise.
17455 * resource/getpriority.c: Likewise.
17456 * resource/getrlimit.c: Likewise.
17457 * resource/getrusage.c: Likewise.
17458 * resource/nice.c: Likewise.
17459 * resource/setpriority.c: Likewise.
17460 * resource/setrlimit.c: Likewise.
17461 * resource/ulimit.c: Likewise.
17462 * rt/aio_cancel.c: Likewise.
17463 * rt/aio_fsync.c: Likewise.
17464 * rt/aio_read.c: Likewise.
17465 * rt/aio_sigqueue.c: Likewise.
17466 * rt/aio_suspend.c: Likewise.
17467 * rt/aio_write.c: Likewise.
17468 * rt/clock_getres.c: Likewise.
17469 * rt/clock_gettime.c: Likewise.
17470 * rt/clock_nanosleep.c: Likewise.
17471 * rt/clock_settime.c: Likewise.
17472 * rt/lio_listio.c: Likewise.
17473 * rt/mq_close.c: Likewise.
17474 * rt/mq_getattr.c: Likewise.
17475 * rt/mq_notify.c: Likewise.
17476 * rt/mq_open.c: Likewise.
17477 * rt/mq_receive.c: Likewise.
17478 * rt/mq_send.c: Likewise.
17479 * rt/mq_setattr.c: Likewise.
17480 * rt/mq_timedreceive.c: Likewise.
17481 * rt/mq_timedsend.c: Likewise.
17482 * rt/mq_unlink.c: Likewise.
17483 * rt/shm_open.c: Likewise.
17484 * rt/shm_unlink.c: Likewise.
17485 * rt/timer_create.c: Likewise.
17486 * rt/timer_delete.c: Likewise.
17487 * rt/timer_getoverr.c: Likewise.
17488 * rt/timer_gettime.c: Likewise.
17489 * rt/timer_settime.c: Likewise.
17490 * setjmp/__longjmp.c: Likewise.
17491 * setjmp/setjmp.c: Likewise.
17492 * signal/kill.c: Likewise.
17493 * signal/killpg.c: Likewise.
17494 * signal/raise.c: Likewise.
17495 * signal/sigaction.c: Likewise.
17496 * signal/sigaltstack.c: Likewise.
17497 * signal/sigblock.c: Likewise.
17498 * signal/sigignore.c: Likewise.
17499 * signal/sigintr.c: Likewise.
17500 * signal/signal.c: Likewise.
17501 * signal/sigpause.c: Likewise.
17502 * signal/sigpending.c: Likewise.
17503 * signal/sigqueue.c: Likewise.
17504 * signal/sigreturn.c: Likewise.
17505 * signal/sigset.c: Likewise.
17506 * signal/sigsetmask.c: Likewise.
17507 * signal/sigstack.c: Likewise.
17508 * signal/sigsuspend.c: Likewise.
17509 * signal/sigtimedwait.c: Likewise.
17510 * signal/sigvec.c: Likewise.
17511 * signal/sigwait.c: Likewise.
17512 * signal/sigwaitinfo.c: Likewise.
17513 * signal/sysv_signal.c: Likewise.
17514 * socket/accept.c: Likewise.
17515 * socket/accept4.c: Likewise.
17516 * socket/bind.c: Likewise.
17517 * socket/connect.c: Likewise.
17518 * socket/getpeername.c: Likewise.
17519 * socket/getsockname.c: Likewise.
17520 * socket/getsockopt.c: Likewise.
17521 * socket/isfdtype.c: Likewise.
17522 * socket/listen.c: Likewise.
17523 * socket/recv.c: Likewise.
17524 * socket/recvfrom.c: Likewise.
17525 * socket/recvmsg.c: Likewise.
17526 * socket/send.c: Likewise.
17527 * socket/sendmsg.c: Likewise.
17528 * socket/sendto.c: Likewise.
17529 * socket/setsockopt.c: Likewise.
17530 * socket/shutdown.c: Likewise.
17531 * socket/sockatmark.c: Likewise.
17532 * socket/socket.c: Likewise.
17533 * socket/socketpair.c: Likewise.
17534 * stdio-common/ctermid.c: Likewise.
17535 * stdio-common/cuserid.c: Likewise.
17536 * stdio-common/remove.c: Likewise.
17537 * stdio-common/rename.c: Likewise.
17538 * stdio-common/renameat.c: Likewise.
17539 * stdio-common/tempname.c: Likewise.
17540 * stdlib/getcontext.c: Likewise.
17541 * stdlib/makecontext.c: Likewise.
17542 * stdlib/setcontext.c: Likewise.
17543 * stdlib/swapcontext.c: Likewise.
17544 * stdlib/system.c: Likewise.
17545 * streams/fattach.c: Likewise.
17546 * streams/fdetach.c: Likewise.
17547 * streams/getmsg.c: Likewise.
17548 * streams/getpmsg.c: Likewise.
17549 * streams/putmsg.c: Likewise.
17550 * streams/putpmsg.c: Likewise.
17551 * sysdeps/unix/bsd/getpt.c: Likewise.
17552 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17553 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17554 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17556 Likewise.
17557 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17558 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17559 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17560 * sysvipc/msgctl.c: Likewise.
17561 * sysvipc/msgget.c: Likewise.
17562 * sysvipc/msgrcv.c: Likewise.
17563 * sysvipc/msgsnd.c: Likewise.
17564 * sysvipc/semctl.c: Likewise.
17565 * sysvipc/semget.c: Likewise.
17566 * sysvipc/semop.c: Likewise.
17567 * sysvipc/semtimedop.c: Likewise.
17568 * sysvipc/shmat.c: Likewise.
17569 * sysvipc/shmctl.c: Likewise.
17570 * sysvipc/shmdt.c: Likewise.
17571 * sysvipc/shmget.c: Likewise.
17572 * termios/tcdrain.c: Likewise.
17573 * termios/tcflow.c: Likewise.
17574 * termios/tcflush.c: Likewise.
17575 * termios/tcgetattr.c: Likewise.
17576 * termios/tcgetpgrp.c: Likewise.
17577 * termios/tcsendbrk.c: Likewise.
17578 * termios/tcsetattr.c: Likewise.
17579 * termios/tcsetpgrp.c: Likewise.
17580 * time/adjtime.c: Likewise.
17581 * time/clock.c: Likewise.
17582 * time/getitimer.c: Likewise.
17583 * time/gettimeofday.c: Likewise.
17584 * time/setitimer.c: Likewise.
17585 * time/settimeofday.c: Likewise.
17586 * time/stime.c: Likewise.
17587 * time/time.c: Likewise.
17588
17589 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17590
17591 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17592 /usr/old/bin.
17593
17594 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17595 instead of spaces.
17596 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17597
17598 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17599
17600 [BZ #14796]
17601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17602 FE_TONEAREST before applying Dekker multiplication and Knuth
17603 addition. Clear inexact exceptions and check for exact zero
17604 results afterwards.
17605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17606 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17608 * math/libm-test.inc (fma_test): Add more tests.
17609 (fma_test_towardzero): Likewise.
17610 (fma_test_downward): Likewise.
17611 (fma_test_upward): Likewise.
17612 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17613 function.
17614 (libc_fesetround): New macro.
17615 (libc_fesetroundf): Likewise.
17616 (libc_fesetroundl): Likewise.
17617 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17618 function.
17619 (libc_fesetround_387): Likewise.
17620 (libc_fesetroundf): New macro.
17621 (libc_fesetround): Likewise.
17622 (libc_fesetroundl): Likewise.
17623 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17624 function.
17625 (libc_fesetroundf): New macro.
17626 (libc_fesetround): Likewise.
17627 (libc_fesetroundl): Likewise.
17628 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17629 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17630 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17631 libm_hidden_ver.
17632 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17633 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17634 libm_hidden_def.
17635 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17636 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17637 libm_hidden_ver.
17638 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17639 libm_hidden_def.
17640
17641 [BZ #3439]
17642 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17643 integer constant usable in #if and use that to give value to enum
17644 constant.
17645 (FE_DIVBYZERO): Likewise.
17646 (FE_UNDERFLOW): Likewise.
17647 (FE_OVERFLOW): Likewise.
17648 (FE_INVALID): Likewise.
17649 (FE_INVALID_SNAN): Likewise.
17650 (FE_INVALID_ISI): Likewise.
17651 (FE_INVALID_IDI): Likewise.
17652 (FE_INVALID_ZDZ): Likewise.
17653 (FE_INVALID_IMZ): Likewise.
17654 (FE_INVALID_COMPARE): Likewise.
17655 (FE_INVALID_SOFTWARE): Likewise.
17656 (FE_INVALID_SQRT): Likewise.
17657 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17658 (FE_TONEAREST): Likewise.
17659 (FE_TOWARDZERO): Likewise.
17660 (FE_UPWARD): Likewise.
17661 (FE_DOWNWARD): Likewise.
17662 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17663 (FE_DIVBYZERO): Likewise.
17664 (FE_OVERFLOW): Likewise.
17665 (FE_UNDERFLOW): Likewise.
17666 (FE_INEXACT): Likewise.
17667 (FE_TONEAREST): Likewise.
17668 (FE_DOWNWARD): Likewise.
17669 (FE_UPWARD): Likewise.
17670 (FE_TOWARDZERO): Likewise.
17671 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17672 (FE_UNDERFLOW): Likewise.
17673 (FE_OVERFLOW): Likewise.
17674 (FE_DIVBYZERO): Likewise.
17675 (FE_INVALID): Likewise.
17676 (FE_TONEAREST): Likewise.
17677 (FE_TOWARDZERO): Likewise.
17678 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17679 (FE_OVERFLOW): Likewise.
17680 (FE_UNDERFLOW): Likewise.
17681 (FE_DIVBYZERO): Likewise.
17682 (FE_INEXACT): Likewise.
17683 (FE_TONEAREST): Likewise.
17684 (FE_TOWARDZERO): Likewise.
17685 (FE_UPWARD): Likewise.
17686 (FE_DOWNWARD): Likewise.
17687 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17688 (FE_DIVBYZERO): Likewise.
17689 (FE_OVERFLOW): Likewise.
17690 (FE_UNDERFLOW): Likewise.
17691 (FE_INEXACT): Likewise.
17692 (FE_TONEAREST): Likewise.
17693 (FE_DOWNWARD): Likewise.
17694 (FE_UPWARD): Likewise.
17695 (FE_TOWARDZERO): Likewise.
17696
17697 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17698
17699 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17700
17701 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17702
17703 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17704 commands. Quote $PWD.
17705 (blacklist_exports): Don't use remove_newlines. Replace "declare
17706 -x" by "export".
17707 (remove_newlines): Remove.
17708
17709 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17710
17711 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17712 * stdlib/stdlib.h (atof): Moved to ...
17713 * include/bits/stdlib-float.h: Here. New file.
17714 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17715 * stdlib/bits/stdlib-float.h: New file.
17716 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17717 -mno-sse -mno-mmx.
17718 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17719 <xmmintrin.h>.
17720
17721 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17722
17723 * conform/conformtest.pl (@headers): Add fenv.h.
17724 * conform/data/fenv.h-data: New file.
17725 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17726 include of <math/fenv.h>.
17727
17728 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17729 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17730 && !UNIX98]. Enables tests for XOPEN2K8.
17731 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17732 POSIX2008]: Likewise.
17733
17734 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17735 (struct rusage): Do not expect type or its members.
17736
17737 [BZ #3439]
17738 * math/math.h (FP_NAN): Define macro to integer constant usable in
17739 #if and use that to give value to enum constant.
17740 (FP_INFINITE): Likewise.
17741 (FP_ZERO): Likewise.
17742 (FP_SUBNORMAL): Likewise.
17743 (FP_NORMAL): Likewise.
17744
17745 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17746
17747 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17748 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17749 arguments.
17750
17751 2012-11-02 Roland McGrath <roland@hack.frob.com>
17752
17753 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17754 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17755 autoconf-time if not.
17756 * configure.in: Remove AC_PREREQ.
17757
17758 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17759
17760 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17761 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17762 of the internal implementation.
17763
17764 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17765
17766 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17767 except include of <misc/sys/syslog.h>.
17768
17769 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17770
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17772 function returns with a NULL context exit with zero.
17773
17774 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17775
17776 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17777
17778 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17779
17780 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17781 (run_program_cmd): This.
17782 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17783 (tst_langinfo): New variable. Use it.
17784
17785 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17786
17787 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17788 floating point opcodes.
17789
17790 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17791
17792 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17793 variable.
17794
17795 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17796
17797 * sysdeps/mach/hurd/powerpc: Remove directory.
17798 * sysdeps/mach/powerpc: Likewise.
17799
17800 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17801
17802 * scripts/check-local-headers.sh: Ignore c++ headers.
17803
17804 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17805
17806 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17807 __libc_cleanup_region_start argument.
17808
17809 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17810
17811 [BZ #14784]
17812 [BZ #14785]
17813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17814 x * y using scaling, not as x * y + z.
17815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17816 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17817 * math/libm-test.inc (fma_test): Add more tests.
17818 (fma_test_towardzero): Likewise.
17819 (fma_test_downward): Likewise.
17820 (fma_test_upward): Likewise.
17821
17822 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17823
17824 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17825
17826 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17827
17828 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17829 New variable.
17830
17831 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17832
17833 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17834
17835 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17836
17837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17838 Fix sort order.
17839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17840 Likewise.
17841
17842 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17843
17844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17845 Fix the order of the list for glibc 2.17.
17846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17847 Likewise.
17848
17849 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17850
17851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17852
17853 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17854
17855 [BZ #14610]
17856 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17857 for low part of x being zero before using __atanl (y).
17858 * math/libm-test.inc (atan2_test): Add another test.
17859
17860 * manual/install.texi (Configuring and compiling): Document
17861 general use of test-wrapper and test-wrapper-env.
17862 * INSTALL: Regenerated.
17863
17864 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17865 (__fma): Do not extract and scale down low bits on after-rounding
17866 systems when result rounded to normal precision would have normal
17867 exponent.
17868 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17869 (__fmal): Do not extract and scale down low bits on after-rounding
17870 systems when result rounded to normal precision would have normal
17871 exponent.
17872 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17873 (__fmal): Do not extract and scale down low bits on after-rounding
17874 systems when result rounded to normal precision would have normal
17875 exponent.
17876 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17877 macro.
17878 (fma_test): Add more tests.
17879 (fma_test_towardzero): Likewise.
17880 (fma_test_downward): Likewise.
17881 (fma_test_upward): Likewise.
17882
17883 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17884
17885 * sysdeps/i386/tininess.h: Renamed to ...
17886 * sysdeps/x86/tininess.h: This.
17887 * sysdeps/x86_64/tininess.h: Removed.
17888
17889 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17890
17891 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17892 input. Use $(build-program-cmd).
17893 ($(objpfx)tst-array1-static.out): Likewise.
17894 ($(objpfx)tst-array2.out): Likewise.
17895 ($(objpfx)tst-array3.out): Likewise.
17896 ($(objpfx)tst-array4.out): Likewise.
17897 ($(objpfx)tst-array5.out): Likewise.
17898 ($(objpfx)tst-array5-static.out): Likewise.
17899
17900 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17901
17902 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17903 if defined.
17904
17905 * nss/nsswitch.h (nss_interface_function): Provide new
17906 macro for use with NSS functions.
17907 * grp/initgroups.c: Use new macro.
17908 * nss/getXXbyYY.c: Likewise.
17909 * nss/getXXbyYY_r.c: Likewise.
17910 * nss/getXXent.c: Likewise.
17911 * nss/getXXent_r.c: Likewise.
17912 * sysdeps/posix/getaddrinfo.c: Likewise.
17913
17914 2012-10-30 Andreas Jaeger <aj@suse.de>
17915
17916 * po/ru.po: Update Russion translation from translation project.
17917
17918 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17919
17920 [BZ #14152]
17921 [BZ #14783]
17922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17923 result and shift together with sticky bit instead of replicating
17924 round-to-nearest rounding.
17925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17926 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17927 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17928 missing underflow exceptions.
17929 (fma_test_towardzero): Add more tests.
17930 (fma_test_downward): Likewise.
17931 (fma_test_upward): Likewise.
17932
17933 [BZ #14047]
17934 * sysdeps/generic/tininess.h: New file.
17935 * sysdeps/i386/tininess.h: Likewise.
17936 * sysdeps/sh/tininess.h: Likewise.
17937 * sysdeps/x86_64/tininess.h: Likewise.
17938 * stdlib/tst-strtod-underflow.c: Likewise.
17939 * stdlib/tst-tininess.c: Likewise.
17940 * stdlib/strtod_l.c: Include <tininess.h>.
17941 (round_and_return): Do not set errno for exact underflow cases.
17942 Force an underflow exception when setting errno for underflow.
17943 Determine underflow based on rounding to normal precision if
17944 TININESS_AFTER_ROUNDING.
17945 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17946 ERANGE for exact underflow cases.
17947 * stdlib/Makefile (tests): Add tst-tininess and
17948 tst-strtod-underflow.
17949 ($(objpfx)tst-tininess): Use $(link-libm).
17950 ($(objpfx)tst-strtod-underflow): Likewise.
17951
17952 2012-10-30 Andreas Jaeger <aj@suse.de>
17953
17954 [BZ#14767]
17955 * elf/Makefile (tests): Remove conditional for have-initfini-array
17956 since this is now always required and the variable does not exist
17957 anymore.
17958 (tests-static): Likewise.
17959 (modules-names): Likewise.
17960
17961 * po/eo.po: Add Esperanto translation from translation project.
17962
17963 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17964 merged with constructor/destructor.
17965 (init_array): Likewise.
17966 * elf/tst-array2dep.c (fini_array): Likewise.
17967 (init_array): Likewise.
17968
17969 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17970
17971 * manual/message.texi: Delete @cartouche tags.
17972
17973 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17974
17975 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17976 EOPNOTSUPP.
17977 * sysdeps/mach/hurd/fsync.c: Likewise.
17978
17979 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17980 [_POSIX_REALTIME_SIGNALS]: Change condition to
17981 [_POSIX_REALTIME_SIGNALS > 0].
17982
17983 2012-10-27 Andreas Jaeger <aj@suse.de>
17984
17985 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17986 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17988 [__WORDSIZE != 64]: Likewise.
17989
17990 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17991
17992 * iconvdata/tst-table.sh: Remove ${SHELL}.
17993 * iconvdata/tst-tables.sh: Likewise.
17994
17995 2012-10-25 David S. Miller <davem@davemloft.net>
17996
17997 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17998 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17999 of strtoull.
18000
18001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18002 ifunc-impl-list.c
18003 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18004 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18005 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18006 file.
18007
18008 2012-10-25 Roland McGrath <roland@hack.frob.com>
18009
18010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18011 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18012 __getdirentries.
18013
18014 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18015 Jim Blandy <jimb@codesourcery.com>
18016
18017 * scripts/cross-test-ssh.sh: New file.
18018 * manual/install.texi (Configuring and compiling): Document use of
18019 cross-test-ssh.sh.
18020 * INSTALL: Regenerated.
18021
18022 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18023
18024 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18025 EOPNOTSUPP.
18026
18027 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18028
18029 * Makeconfig (run-program-prefix): Fix comment.
18030
18031 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18032 Jim Blandy <jimb@codesourcery.com>
18033
18034 * Makeconfig (test-wrapper): New variable,
18035 (test-wrapper-env): Likewise.
18036 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18037 (run-built-tests): Define to yes.
18038 (run-program-prefix): Use $(test-wrapper).
18039 (built-program-cmd): Likewise.
18040 * Rules (make-test-out): Use $(test-wrapper-env) and
18041 $(host-built-program-cmd).
18042 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18043 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18044 tst-pathopt.sh.
18045 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18046 $(test-wrapper-env) to tst-rtld-load-self.sh.
18047 ($(objpfx)order2.out): Use $(test-wrapper).
18048 ($(objpfx)tst-initorder.out): Likewise.
18049 ($(objpfx)tst-initorder2.out): Likewise.
18050 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18051 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18052 (test_wrapper_env): New variable. Use it to run ld.so.
18053 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18054 Use it to run ld.so.
18055 (test_wrapper_env): Likewise.
18056 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18057 $(test-wrapper) to run-iconv-test.sh.
18058 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18059 (ICONV): Use $test_wrapper.
18060 * posix/Makefile ($(objpfx)globtest.out): Pass
18061 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18062 globtest.sh, not $(run-program-prefix).
18063 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18064 (test_wrapper): Likewise.
18065 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18066 set together with run_via_rtld_prefix.
18067 (run_program_prefix): Define in terms of test_wrapper and
18068 run_via_rtld_prefix.
18069
18070 2012-10-24 Roland McGrath <roland@hack.frob.com>
18071
18072 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18073 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18074 Targets removed.
18075
18076 [BZ #14743]
18077 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18078 Declare __clock_getres, __clock_gettime, __clock_settime,
18079 __clock_nanosleep, and __clock_getcpuclockid.
18080 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18081 Remove librt_hidden_def (clock_gettime).
18082 * sysdeps/unix/clock_gettime.c: Likewise.
18083 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18084 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18085 * rt/clock_getres.c: Define __clock_getres as an alias.
18086 * sysdeps/posix/clock_getres.c: Likewise.
18087 * rt/clock_settime.c: Define __clock_settime as an alias.
18088 * sysdeps/unix/clock_settime.c: Likewise.
18089 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18090 * sysdeps/unix/clock_nanosleep.c: Likewise.
18091 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18092 * rt/clock-compat.c: New file.
18093 * rt/Makefile (librt-routines): Add clock-compat and move
18094 $(clock-routines) to ...
18095 (routines): ... here, new variable.
18096 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18097 Don't add get_clockfreq here.
18098 * rt/Versions (libc: GLIBC_2.17): New version set.
18099 Add clock_* symbols here.
18100 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18101 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18102 (GLIBC_2.17): Add clock_* symbols.
18103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18107 Likewise.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18109 Likewise.
18110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18114 * NEWS: Mention the move.
18115
18116 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18117 Use __open, __read, __close rather than their public counterparts.
18118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18119 (__get_clockfreq_via_cpuinfo): Likewise.
18120 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18121 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18122
18123 * config.h.in (HAVE_IFUNC): New #undef.
18124 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18125 was successful.
18126 * configure: Regenerated.
18127
18128 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18129
18130 * configure.in: Move READELF check to start of file.
18131 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18132 libc_cv_asm_gnu_indirect_function in the process.
18133 * configure: Regenerated.
18134
18135 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18136
18137 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18138 send the output to /dev/null.
18139 (libc_cv_cc_with_libunwind): Likewise.
18140 (libc_cv_as_noexecstack): Likewise.
18141 * configure: Regenerate.
18142
18143 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18144
18145 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18146
18147 * posix/globtest.sh (TMPDIR): Do not set.
18148 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18149 (testout): Likewise.
18150
18151 2012-10-24 Andreas Jaeger <aj@suse.de>
18152
18153 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18154 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18155 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18156 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18157 posix_fadvise64, posix_fallocate64.
18158
18159 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18160 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18161 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18162 Likewise.
18163 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18164 Likewise.
18165 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18166
18167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18168 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18169 <bits/fcntl-linux.h>.
18170 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18171
18172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18173 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18174 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18175 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18176 [__WORDSIZE != 64]: Likewise.
18177
18178 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18179
18180 * Makeconfig (run-built-tests): New variable.
18181 * Rules [$(cross-compiling) = yes]: Change condition to
18182 [$(run-built-tests) = no].
18183 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18184 to [$(run-built-tests) = yes].
18185 * elf/Makefile [$(cross-compiling) = no]: Likewise
18186 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18187 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18188 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18189 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18190 * io/Makefile [$(cross-compiling) = no]: Likewise.
18191 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18192 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18193 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18194 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18195 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18196 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18197 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18198 * string/Makefile [$(cross-compiling) = no]: Likewise.
18199
18200 * posix/Makefile ($(objpfx)globtest.out): Pass
18201 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18202 $(rtld-installed-name).
18203 * posix/globtest.sh (elf_objpfx): Remove variable.
18204 (rtld_installed_name): Likewise.
18205 (library_path): Likewise.
18206 (run_program_prefix): New variable. Use for running globtest
18207 binary.
18208
18209 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18210 Joseph Myers <joseph@codesourcery.com>
18211
18212 * Makeconfig (host-built-program-cmd): New variable.
18213 * elf/Makefile (tst-stackguard1-ARGS): Use
18214 $(host-built-program-cmd).
18215 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18216 (tst-spawn-ARGS): Likewise.
18217 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18218
18219 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18220 Jim Blandy <jimb@codesourcery.com>
18221
18222 * Makeconfig (run-via-rtld-prefix): New variable.
18223 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18224 (built-program-cmd): Likewise.
18225
18226 2012-10-22 Andreas Jaeger <aj@suse.de>
18227
18228 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18229 __O_RSYNC if it exists, otherwise to O_SYNC.
18230
18231 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18232 Joseph Myers <joseph@codesourcery.com>
18233
18234 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18235 /dev/null.
18236 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18237 from /dev/null
18238 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18239 /dev/null.
18240
18241 2012-10-22 Andreas Jaeger <aj@suse.de>
18242
18243 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18244 Define always.
18245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18246
18247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18248 bits/fcntl-linux.h.
18249
18250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18251 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18252
18253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18254 to __O_LARGEFILE.
18255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18256 to __O_LARGEFILE.
18257
18258 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18259 Joseph Myers <joseph@codesourcery.com>
18260
18261 * config.make.in (NM): New variable.
18262
18263 2012-10-21 Andreas Jaeger <aj@suse.de>
18264
18265 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18266 definitions and declarations that are provided by
18267 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18268
18269 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18270
18271 [BZ #14683]
18272 * elf/Makefile (tests-static): Add tst-leaks1-static.
18273 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18274 ($(objpfx)tst-leaks1-static): New rule.
18275 ($(objpfx)tst-leaks1-static-mem): Likewise.
18276 (tst-leaks1-static-ENV): New macro.
18277 * elf/dl-open.c (dl_open_worker): Check the main application
18278 only if SHARED is defined.
18279 * elf/tst-leaks1-static.c: New file.
18280
18281 2012-10-20 Andreas Jaeger <aj@suse.de>
18282
18283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18284 generic values for Linux.
18285 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18286 and declarations that are provided by <bits/fcntl-linux.h> and
18287 include <bits/fcntl-linux.h>.
18288 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18290
18291 2012-10-20 Roland McGrath <roland@hack.frob.com>
18292
18293 * io/fcntl.h: Move include of <bits/types.h> to the top and
18294 include it unconditionally.
18295
18296 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18297
18298 * wcsmbs/Makefile (tests-ifunc): New variable.
18299 (tests): Add $(tests-ifunc).
18300 * wcsmbs/test-wcschr-ifunc.c: New file.
18301 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18302 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18303 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18304 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18305 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18306
18307 * string/Makefile (tests-ifunc): New variable.
18308 (tests): Add $(tests-ifunc).
18309 * string/test-memccpy.c (TEST_NAME): New macro.
18310 * string/test-memchr.c (TEST_NAME): Likewise.
18311 * string/test-memcmp.c (TEST_NAME): Likewise.
18312 * string/test-memcpy.c (TEST_NAME): Likewise.
18313 * string/test-memmem.c (TEST_NAME): Likewise.
18314 * string/test-memmove.c (TEST_NAME): Likewise.
18315 * string/test-memset.c (TEST_NAME): Likewise.
18316 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18317 * string/test-stpcpy.c (TEST_NAME): Likewise.
18318 * string/test-stpncpy.c (TEST_NAME): Likewise.
18319 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18320 * string/test-strcasestr.c (TEST_NAME): Likewise.
18321 * string/test-strcat.c (TEST_NAME): Likewise.
18322 * string/test-strchr.c (TEST_NAME): Likewise.
18323 * string/test-strcmp.c(TEST_NAME): Likewise.
18324 * string/test-strcpy.c (TEST_NAME): Likewise.
18325 * string/test-strcspn.c (TEST_NAME): Likewise.
18326 * string/test-strlen.c (TEST_NAME): Likewise.
18327 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18328 * string/test-strncmp.c (TEST_NAME): Likewise.
18329 * string/test-strncpy.c (TEST_NAME): Likewise.
18330 * string/test-strnlen.c (TEST_NAME): Likewise.
18331 * string/test-strpbrk.c (TEST_NAME): Likewise.
18332 * string/test-strrchr.c (TEST_NAME): Likewise.
18333 * string/test-strspn.c (TEST_NAME): Likewise.
18334 * string/test-strstr.c (TEST_NAME): Likewise.
18335 * string/test-bcopy-ifunc.c: New file.
18336 * string/test-bzero-ifunc.c: Likewise.
18337 * string/test-memccpy-ifunc.c: Likewise.
18338 * string/test-memchr-ifunc.c: Likewise.
18339 * string/test-memcmp-ifunc.c: Likewise.
18340 * string/test-memcpy-ifunc.c: Likewise.
18341 * string/test-memmem-ifunc.c: Likewise.
18342 * string/test-memmove-ifunc.c: Likewise.
18343 * string/test-mempcpy-ifunc.c: Likewise.
18344 * string/test-memset-ifunc.c: Likewise.
18345 * string/test-rawmemchr-ifunc.c: Likewise.
18346 * string/test-stpcpy-ifunc.c: Likewise.
18347 * string/test-stpncpy-ifunc.c: Likewise.
18348 * string/test-strcasecmp-ifunc.c: Likewise.
18349 * string/test-strcasestr-ifunc.c: Likewise.
18350 * string/test-strcat-ifunc.c: Likewise.
18351 * string/test-strchr-ifunc.c: Likewise.
18352 * string/test-strchrnul-ifunc.c: Likewise.
18353 * string/test-strcmp-ifunc.c: Likewise.
18354 * string/test-strcpy-ifunc.c: Likewise.
18355 * string/test-strcspn-ifunc.c: Likewise.
18356 * string/test-strlen-ifunc.c: Likewise.
18357 * string/test-strncasecmp-ifunc.c: Likewise.
18358 * string/test-strncat-ifunc.c: Likewise.
18359 * string/test-strncmp-ifunc.c: Likewise.
18360 * string/test-strncpy-ifunc.c: Likewise.
18361 * string/test-strnlen-ifunc.c: Likewise.
18362 * string/test-strpbrk-ifunc.c: Likewise.
18363 * string/test-strrchr-ifunc.c: Likewise.
18364 * string/test-strspn-ifunc.c: Likewise.
18365 * string/test-strstr-ifunc.c: Likewise.
18366
18367 * debug/Makefile (tests-ifunc): New variable.
18368 (tests): Add $(tests-ifunc).
18369 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18370 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18371 * debug/test-stpcpy_chk-ifunc.c: New file.
18372 * debug/test-strcpy_chk-ifunc.c: Likewise.
18373
18374 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18375
18376 [BZ #13601]
18377 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18378 header is not read in.
18379
18380 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18381
18382 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18383 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18384 directly. Pass built executable to script as
18385 $(built-program-cmd).
18386 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18387 $testprogram without using LD_LIBRARY_PATH and $ldso.
18388
18389 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18390 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18391 $(rtld-installed-name).
18392 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18393 (rtld_installed_name): Likewise.
18394 (library_path): Likewise.
18395 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18396 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18397 $(run-program-prefix) to tst-tables.sh.
18398 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18399 it to run tst-table-from and tst-table-to.
18400 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18401 Pass it to tst-table.sh.
18402 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18403 $(run-program-prefix) to tst-gettext.sh.
18404 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18405 tst-translit.sh.
18406 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18407 tst-gettext2.sh.
18408 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18409 to run tst-gettext.
18410 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18411 to run tst-gettext2.
18412 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18413 to run tst-translit.
18414 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18415 $(run-program-prefix) to tst-mtrace.sh.
18416 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18417 to run tst-mtrace.
18418 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18419 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18420 $(rtld-installed-name).
18421 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18422 (rtld_installed_name): Likewise.
18423 (run_program_prefix): New variable. Use it to run wordexp-test.
18424
18425 * Makeconfig (ARCH): Remove all definitions.
18426 (machine): Likewise.
18427 [ARCH]: Remove conditional code.
18428 [!objdir]: Give error.
18429 [!objdir] (objpfx): Remove.
18430 [!objdir] (common-objpfx): Likewise.
18431 [!objdir] (common-objdir): Likewise.
18432 * configure.in (config_makefile): Remove. Hardcode Makefile in
18433 AC_CONFIG_FILES call.
18434 * configure: Regenerated.
18435
18436 [BZ #13888]
18437 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18438 or TMPDIR.
18439 (testout): Likewise.
18440
18441 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18442 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18443 $(rtld-installed-name).
18444 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18445 (rtld_installed_name): Likwise.
18446 (runit): Remove function.
18447 (run_getconf): New variable, Use it for running getconf binary.
18448
18449 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18450
18451 [BZ #14716]
18452 * string/test-memmem.c (check_result): New function.
18453 (do_one_test): Use it.
18454 (check1): New function.
18455 (test_main): Use it.
18456
18457 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18458
18459 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18460
18461 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18462
18463 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18464 (_G_LSEEK64): Likewise.
18465 (_G_MMAP64): Likewise.
18466 (_G_FSTAT64): Likewise.
18467 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18468 (_G_LSEEK64): Likewise.
18469 (_G_MMAP64): Likewise.
18470 (_G_FSTAT64): Likewise.
18471 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18472 unconditional. Call __mmap64 directly.
18473 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18474 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18475 __lseek64 directly.
18476 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18477 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18478 __mmap64 directly.
18479 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18480 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18481 __lseek64 directly.
18482 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18483 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18484 __lseek64 directly.
18485 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18486 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18487 __lseek64 directly.
18488 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18489 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18490 __fxstat64 directly.
18491 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18492 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18493 unconditional.
18494 (freopen64) [!_G_OPEN64]: Remove conditional code.
18495 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18496 unconditional.
18497 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18498 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18499 unconditional.
18500 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18501 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18502 unconditional.
18503 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18504 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18505 unconditional.
18506 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18507 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18508 unconditional.
18509 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18510 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18511 unconditional.
18512 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18513 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18514 unconditional.
18515 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18516
18517 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18518
18519 [BZ #12140]
18520 * manual/memory.texi (Malloc Tunable Parameters): Add note
18521 about free list pointers overwriting some perturb bytes.
18522 Wording suggested by Roland McGrath.
18523
18524 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18525
18526 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18527 (lgamma_test): Likewise.
18528 (tgamma_test): Likewise.
18529
18530 2012-10-16 Florian Weimer <fweimer@redhat.com>
18531
18532 [BZ #14700]
18533 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18534 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18535
18536 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18537
18538 * NEWS: Mention BZ #14716.
18539 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18540 when removing AVAILABLE1_USES_J macro.
18541
18542 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18543
18544 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18545 (__bswap_64): __uint64_t for unsigned 64-bit int.
18546
18547 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18548
18549 * include/string.h (memmem): Declare libc hidden alias.
18550 * string/memmem.c (memmem): Define libc hidden alias.
18551 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18552 __read, __close instead of open, read, close.
18553
18554 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18555
18556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18557 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18558 global and hidden.
18559 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18560 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18561 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18562 Likewise.
18563 (__rawmemchr_sse2): Likewise.
18564 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18565 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18566 (__strchr_sse2): Likewise.
18567 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18568 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18569 (__strcasecmp_sse2): Likewise.
18570 (__strncasecmp_sse2): Likewise.
18571 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18572 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18573 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18574 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18575 (__strrchr_sse2): Likewise.
18576 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18577 ifunc-impl-list.c.
18578 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18579 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18580 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18581 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18582 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18583 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18584 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18585 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18586 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18587 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18588 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18589 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18590 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18591 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18592 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18593 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18594 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18595 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18596 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18597 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18598 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18599 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18600 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18601 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18602 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18603 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18604 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18605 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18606 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18607 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18608
18609 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18610 global and hidden.
18611 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18612 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18613 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18614 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18615 Likewise.
18616 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18617 Likewise.
18618 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18619 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18620 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18621 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18622 ifunc-impl-list.c.
18623 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18624 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18625 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18626 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18627 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18628 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18629 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18630 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18631 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18632 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18633 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18634 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18635 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18636 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18637 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18638 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18639 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18640 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18641 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18642 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18643 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18644 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18645 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18646 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18647 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18648 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18649 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18650 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18651 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18652 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18653 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18654 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18655 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18656 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18657 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18658 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18659 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18660 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18661 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18662 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18663 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18664
18665 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18666 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18667 * include/ifunc-impl-list.h: New file.
18668 * misc/ifunc-impl-list.c: Likewise.
18669 * misc/Makefile (routines): Add ifunc-impl-list.
18670 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18671 * string/test-string.h: Include <ifunc-impl-list.h>.
18672 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18673 impl_array): New variables.
18674 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18675 are defined.
18676 (test_init): Call __libc_ifunc_impl_list to initialize
18677 func_list if TEST_IFUNC and TEST_NAME are defined.
18678
18679 * string/Makefile (strop-tests): Add bcopy and bzero.
18680 * string/test-bcopy.c: New file.
18681 * string/test-bzero.c: Likewise.
18682 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18683 defined.
18684 * string/test-memset.c: Support bzero test if TEST_BZERO is
18685 defined.
18686 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18687 __libc_memmove.
18688 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18689 __libc_memset.
18690 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18691 of memset.
18692
18693 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18694
18695 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18696 * configure: Regenerated.
18697
18698 * Makeconfig (+link-static-before-libc): Don't include
18699 $(link-static-libc).
18700
18701 * libio/libio.h (_IO_pos_t): Remove.
18702
18703 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18704
18705 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18706 McGrath.
18707
18708 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18709
18710 * crypt/crypt-entry.c: Include fips-private.h.
18711 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18712 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18713 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18714 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18715
18716 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18717
18718 * crypt/crypt-private.h: Include stdbool.h.
18719 (_ufc_setup_salt_r): Return bool.
18720 * crypt/crypt-entry.c: Include errno.h.
18721 (__crypt_r): Return NULL with EINVAL for bad salt.
18722 * crypt/crypt_util.c (bad_for_salt): New.
18723 (_ufc_setup_salt_r): Check that salt is long enough and within
18724 the specified alphabet.
18725 * crypt/badsalttest.c: New file.
18726 * crypt/Makefile (tests): Add it.
18727 ($(objpfx)badsalttest): New.
18728
18729 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18730
18731 * NEWS: Add entry for BZ #14602.
18732
18733 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18734
18735 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18736 type-generic.
18737 * math/libm-test.inc: Update comment listing what functions and
18738 macros are tested.
18739 (isgreater_test): New function.
18740 (isgreaterequal_test): Likewise.
18741 (isless_test): Likewise.
18742 (islessequal_test): Likewise.
18743 (islessgreater_test): Likewise.
18744 (isunordered_test): Likewise.
18745 (main): Call the new functions.
18746
18747 2012-10-09 Roland McGrath <roland@hack.frob.com>
18748
18749 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18750 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18751 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18752 * sysdeps/i386/configure: Regenerated.
18753 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18754 * sysdeps/mach/configure: Regenerated.
18755 * sysdeps/mach/hurd/configure: Regenerated.
18756 * sysdeps/powerpc/configure: Regenerated.
18757 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18758 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18759 * sysdeps/s390/s390-32/configure: Regenerated.
18760 * sysdeps/s390/s390-64/configure: Regenerated.
18761 * sysdeps/sh/configure: Regenerated.
18762 * sysdeps/sparc/configure: Regenerated.
18763 * sysdeps/unix/sysv/linux/configure: Regenerated.
18764 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18765 * sysdeps/x86_64/configure: Regenerated.
18766
18767 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18768 defined. Don't check if MAP is NULL.
18769
18770 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18771
18772 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18773 (_G_stat64): Likewise.
18774 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18775 (_G_stat64): Likewise.
18776 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18777 instead of struct _G_stat64.
18778 * libio/fileops.c (mmap_remap_check): Likewise.
18779 (decide_maybe_mmap): Likewise.
18780 (_IO_new_file_seekoff): Likewise.
18781 (_IO_file_stat): Likewise.
18782 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18783 _G_off64_t.
18784 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18785 instead of struct _G_stat64.
18786 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18787
18788 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18789
18790 [BZ #14602]
18791 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18792 Replace with ...
18793 (CHECK_EOL): New macro.
18794 (two_way_short_needle): Check beginning of haystack for EOL. Use
18795 CHECK_EOL.
18796 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18797 Replace with CHECK_EOL.
18798 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18799 Replace with CHECK_EOL.
18800
18801 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18802
18803 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18804 type-generic.
18805 * math/libm-test.inc: Update comment listing what functions and
18806 macros are tested.
18807 (finite_test): New function.
18808 (isinf_test): Likewise.
18809 (isnan_test): Likewise.
18810 (fpclassify_test): Test subnormal input.
18811 (isfinite_test): Likewise.
18812 (isnormal_test): Likewise.
18813 (main): Call the new functions.
18814
18815 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18816
18817 [BZ #14660]
18818 * Makerules (%.dynsym): Force C locale when running
18819 $(OBJDUMP) --dynamic-syms.
18820
18821 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18822
18823 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18824 <stdint.h>.
18825
18826 2012-10-06 David S. Miller <davem@davemloft.net>
18827
18828 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18829 upper 32-bits of the length value in %o2 since we use branch-on-register
18830 tests which consider the entire 64-bit register.
18831
18832 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18833
18834 * string/test-strstr.c (check2): Add a test for page boundary.
18835
18836 2012-10-05 David S. Miller <davem@davemloft.net>
18837
18838 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18839 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18840 file.
18841 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18842 sysdep_routines.
18843 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18844 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18845 and bzero when HWCAP_SPARC_CRYPTO is present.
18846
18847 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18848
18849 [BZ #14602]
18850 * string/test-strstr.c (check2): New function.
18851 (test_main): Call check2.
18852
18853 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18854 and bug-strchr1.
18855 * string/bug-strcasestr1.c (do_test): Moved to ...
18856 * string/test-strcasestr.c (check1): Here. New function.
18857 (do_one_test): Break out result checking code into ...
18858 (check_result): This. New function.
18859 (do_one_test): Call check_result.
18860 (test_main): Call check1.
18861 * string/bug-strchr1.c (do_test): Moved to ...
18862 * string/test-strchr.c (check1): Here. New function.
18863 (do_one_test): Break out result checking code into ...
18864 (check_result): This. New function.
18865 (do_one_test): Call check_result.
18866 (test_main): Call check1.
18867 * string/bug-strstr1.c (main): Moved to ...
18868 * string/test-strstr.c (check1): Here. New function.
18869 (do_one_test): Break out result checking code into ...
18870 (check_result): This. New function.
18871 (do_one_test): Call check_result.
18872 (test_main): Call check1.
18873 * string/bug-strcasestr1.c: Removed.
18874 * string/bug-strchr1.c: Likewise.
18875 * string/bug-strstr1.c: Likewise.
18876
18877 * elf/Makefile (dl-routines): Add hwcaps.
18878 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18879 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18880 (_dl_important_hwcaps): Moved to ...
18881 * elf/dl-hwcaps.c: Here. New file.
18882 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18883
18884 [BZ #14557]
18885 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18886 if IS_IN_rtld isn't defined.
18887
18888 * elf/dl-support.c (_dl_sysinfo_map): New.
18889 Include "get-dynamic-info.h" and "setup-vdso.h".
18890 (_dl_non_dynamic_init): Call setup_vdso.
18891 * elf/dynamic-link.h: Don't include <assert.h>.
18892 (elf_get_dynamic_info): Moved to ...
18893 * elf/get-dynamic-info.h: Here. New file.
18894 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18895 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18896 * elf/setup-vdso.h: Here. New file.
18897 * elf/rtld.c: Include "setup-vdso.h".
18898 (dl_main): Call setup_vdso.
18899
18900 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18901
18902 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18903 creal in comment listing functions tested. List finite, isinf,
18904 isnan, isless, islessequal, isgreater, isgreaterequal,
18905 islessgreater, isunordered, lgamma_r and pow10 as functions and
18906 macros not tested. Mention which functions not tested are aliases
18907 for other functions. Fix typo. Note that signs of NaNs are not
18908 tested.
18909
18910 * scripts/config.guess: Update from config.git.
18911 * scripts/config.sub: Likewise.
18912
18913 2012-10-04 Roland McGrath <roland@hack.frob.com>
18914
18915 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18916 * misc/madvise.c (madvise): Renamed to __madvise.
18917 Make madvise a weak alias.
18918 * include/sys/mman.h: Declare __madvise.
18919 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18920 * sysdeps/unix/syscalls.list
18921 (madvise): Make __madvise the strong name, and madvise a weak alias.
18922 * sysdeps/unix/sysv/linux/syscalls.list
18923 (madvise, mmap): Remove redundant entries.
18924 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18925 * malloc/malloc.c (mtrim): Likewise.
18926 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18927
18928 2012-10-03 Roland McGrath <roland@hack.frob.com>
18929
18930 * sysdeps/mach/hurd/dl-cache.c: File removed.
18931 * config.h.in (USE_LDCONFIG): New #undef.
18932 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18933 * configure: Regenerated.
18934 * elf/Makefile (dl-routines): Add dl-cache only under
18935 [$(use-ldconfig) = yes].
18936 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18937 cache on [USE_LDCONFIG].
18938 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18939 [USE_LDCONFIG].
18940 * elf/rtld.c (dl_main): Likewise.
18941
18942 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18943
18944 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18945 _SC_LEVEL4_CACHE_LINESIZE.
18946
18947 2012-10-03 Roland McGrath <roland@hack.frob.com>
18948
18949 * sysdeps/unix/bsd/confstr.h: File removed.
18950
18951 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18952
18953 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18954 sys/sdt-config.h.
18955
18956 2012-10-02 Roland McGrath <roland@hack.frob.com>
18957
18958 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18959 Make 'mapoff' field ElfW(Off) rather than off_t.
18960
18961 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18962
18963 * nscd/Makefile: Remove nscd-cflags and all its users.
18964 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18965 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18966
18967 [BZ #10631]
18968 * malloc.c (malloc_printerr): Clarify error message.
18969
18970 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18971
18972 [BZ #14648]
18973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18974 Set bit_FMA_Usable if FMA is supported.
18975 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18976 macro.
18977 (bit_FMA4_Usable): Updated.
18978 (index_FMA_Usable): New macro.
18979 (CPUID_FMA): Likewise
18980 (HAS_FMA): Defined with bit_FMA_Usable.
18981
18982 2012-10-01 Roland McGrath <roland@hack.frob.com>
18983
18984 * bits/types.h (__swblk_t): Type removed.
18985 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18986 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18988 (__SWBLK_T_TYPE): Likewise.
18989 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18990 (__SWBLK_T_TYPE): Likewise.
18991 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18992 (__SWBLK_T_TYPE): Likewise.
18993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18994 (__SWBLK_T_TYPE): Likewise.
18995
18996 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18997 Honza Horak <hhorak@redhat.com>
18998
18999 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19000 (xdr_mapname): Use YPMAXMAP as maxsize.
19001 (xdr_peername): Use YPMAXPEER as maxsize.
19002 (xdr_keydat): Use YPAXRECORD as maxsize.
19003 (xdr_valdat): Use YPMAXRECORD as maxsize.
19004
19005 2012-10-01 Roland McGrath <roland@hack.frob.com>
19006
19007 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19008
19009 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19010 * csu/init-first.c: ... here.
19011 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19012 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19013 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19014 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19015 * sysdeps/i386/init-first.c: File removed.
19016 * sysdeps/sh/init-first.c: File removed.
19017
19018 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19019
19020 [BZ #14645]
19021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19022 if x * y might underflow to zero and z is zero.
19023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19024 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19025 * math/libm-test.inc (min_subnorm_value): New variable.
19026 (fma_test): Add more tests.
19027 (fma_test_towardzero): Likewise.
19028 (fma_test_downward): Likewise
19029 (fma_test_upward): Likewise.
19030 (initialize): Set min_subnorm_value.
19031
19032 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19033
19034 [BZ #14638]
19035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19036 0 + 0.
19037 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19038 mode for addition resulting in exact zero.
19039 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19041 exact 0 + 0.
19042 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19044 * math/libm-test.inc (fma_test): Add more tests.
19045 (fma_test_towardzero): New function.
19046 (fma_test_downward): Likewise.
19047 (fma_test_upward): Likewise.
19048 (main): Call the new functions.
19049
19050 2012-09-28 David S. Miller <davem@davemloft.net>
19051
19052 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19053
19054 2012-09-28 Roland McGrath <roland@hack.frob.com>
19055
19056 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19057 instead of SIGALRM.
19058
19059 * sysdeps/gnu/_G_config.h: Moved to ...
19060 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19061 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19062 * sysdeps/generic/_G_config.h: ... here.
19063
19064 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19065
19066 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19067
19068 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19069 Conditionalize target on [libnss_test1.so-version].
19070
19071 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19072
19073 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19074 (elfobjdir): Move out of conditionals.
19075
19076 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19077 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19078 (__nss_lookup_function): Conditionalize label remove_from_tree on
19079 [!DO_STATIC_NSS || SHARED], matching its only use.
19080
19081 2012-09-28 David S. Miller <davem@davemloft.net>
19082
19083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19084 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19085 file.
19086 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19087 sysdep_routines.
19088 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19090 when HWCAP_SPARC_CRYPTO is present.
19091
19092 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19093
19094 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19095
19096 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19097
19098 [BZ #6530]
19099 * stdio-common/vfprintf.c (process_string_arg): Revert
19100 2000-07-22 change.
19101
19102 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19103
19104 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19105 for testcase.
19106 * stdio-common/tst-sprintf.c: Include <locale.h>
19107 (main): Test sprintf's handling of incomplete multibyte
19108 characters.
19109
19110 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19111
19112 * elf/dl-runtime.c (VERSYMIDX): Removed.
19113 * elf/dl-version.c (VERSYMIDX): Likewise.
19114 * elf/do-rel.h (VERSYMIDX): Likewise.
19115 (VALIDX): Likewise.
19116 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19117 * elf/rtld.c (VALIDX): Likewise.
19118 (ADDRIDX): Likewise.
19119 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19120 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19121 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19122 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19123 (VALIDX): Likewise.
19124 (ADDRIDX): Likewise.
19125
19126 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19127
19128 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19129
19130 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19131
19132 [BZ #11438]
19133 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19134 to global scope.
19135 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19136 addresses are in the same scope as 192.0.2/24.
19137 * posix/gai.conf: Document new scope table defaults.
19138
19139 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19140
19141 [BZ #5298]
19142 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19143 for ftell. Compute offsets from write pointers instead.
19144 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19145
19146 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19147
19148 [BZ #14543]
19149 * libio/Makefile (tests): New test case tst-fseek.
19150 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19151 combination works in wide mode.
19152 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19153 state when the external buffer state changes.
19154
19155 2012-09-27 David S. Miller <davem@davemloft.net>
19156
19157 [BZ #14376]
19158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19159 pass reloc->r_addend in as the 'high' argument to
19160 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19161
19162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19163
19164 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19165
19166 * rt/tst-aio2.c: Include <pthread.h>.
19167 * rt/tst-aio3.c: Likewise.
19168
19169 2012-09-27 Steve Ellcey <sellcey@mips.com>
19170
19171 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19172
19173 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19174
19175 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19176 contents on [SHARED].
19177
19178 2012-09-26 Marek Polacek <polacek@redhat.com>
19179
19180 [BZ #14530]
19181 [BZ #13741]
19182 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19183 for C++ and GCC <4.3 as well as for non GCC compilers.
19184
19185 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19186
19187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19188
19189 2012-09-25 Roland McGrath <roland@hack.frob.com>
19190
19191 * Makefile.in (all, install): Declare with .PHONY.
19192 Reported by Michael Hope <michael.hope@linaro.org>.
19193
19194 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19195
19196 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19197 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19198 system header.
19199 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19200 Likewise.
19201 (sydep_routines): Add the new and the internal functions.
19202 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19203 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19205 (GLIBC_2.17): Add the new function.
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19207 (GLIBC_2.17): Likewise.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19209 (GLIBC_2.17): Likewise.
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19211 (GLIBC_2.17): Likewise.
19212 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19213
19214 2012-09-25 Alan Modra <amodra@gmail.com>
19215
19216 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19217 Add release barrier before setting once_control to say
19218 initialisation is done. Add hints on lwarx. Use macro in
19219 place of isync.
19220 (clear_once_control): Add release barrier.
19221
19222 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19223
19224 [BZ #13629]
19225 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19226 specially.
19227 * math/s_clog10.c (__clog10): Likewise.
19228 * math/s_clog10f.c (__clog10f): Likewise.
19229 * math/s_clog10l.c (__clog10l): Likewise.
19230 * math/s_clogf.c (__clogf): Likewise.
19231 * math/s_clogl.c (__clogl): Likewise.
19232 * math/Makefile (libm-calls): Add x2y2m1.
19233 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19234 (__x2y2m1): Likewise.
19235 (__x2y2m1l): Likewise.
19236 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19237 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19238 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19239 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19240 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19241 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19242 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19243 * sysdeps/i386/fpu/libm-test-ulps: Update.
19244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19245
19246 [BZ #14621]
19247 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19248 int as type of variable DEPTH.
19249 (glob): Use size_t instead of int as type of variables NEWCOUNT
19250 and OLD_PATHC.
19251
19252 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19253
19254 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19255 Add s_sincosf-sse2.
19256 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19257 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19258 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19259 macros for using routine as __sincosf_ia32.
19260 Use macro for function declaration and weak_alias.
19261 * sysdeps/i386/fpu/libm-test-ulps: Update.
19262
19263 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19265
19266 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19267 subnormal argument.
19268 * math/s_cexpf.c (__cexpf): Likewise.
19269 * math/s_csinf.c (__csinf): Likewise.
19270 * math/s_csinhf.c (__csinhf): Likewise.
19271 * math/s_ctanf.c (__ctanf): Likewise.
19272 * math/s_ctanhf.c (__ctanhf): Likewise.
19273 * math/s_ccosh.c (__ccoshf): Likewise.
19274 * math/s_cexp.c (__cexpl): Likewise.
19275 * math/s_csin.c (__csin): Likewise.
19276 * math/s_csinh.c (__csinh): Likewise.
19277 * math/s_ctan.c (__ctan): Likewise.
19278 * math/s_ctanh.c (ctanh): Likewise.
19279 * math/s_ccoshl.c (__ccoshl): Likewise.
19280 * math/s_cexpl.c (__cexpl): Likewise.
19281 * math/s_csinl.c (__csinl): Likewise.
19282 * math/s_csinhl.c (__csinhl): Likewise.
19283 * math/s_ctanl.c (__ctanl): Likewise.
19284 * math/s_ctanhl.c (__ctanhl): Likewise.
19285
19286 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19287
19288 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19289 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19290 (_IO_off_t): Define to __off_t, not _G_off_t.
19291 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19292 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19293 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19294 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19295 type of __dummy and __dummy2 fields.
19296 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19297 (_G_ssize_t): Likewise.
19298 (_G_off_t): Likewise.
19299 (_G_pid_t): Likewise.
19300 (_G_uid_t): Likewise.
19301 (_G_wchar_t): Likewise.
19302 (_G_wint_t): Likewise.
19303 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19304 (_G_ssize_t): Likewise.
19305 (_G_off_t): Likewise.
19306 (_G_pid_t): Likewise.
19307 (_G_uid_t): Likewise.
19308 (_G_wchar_t): Likewise.
19309 (_G_wint_t): Likewise.
19310 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19311 (_G_ssize_t): Likewise.
19312 (_G_off_t): Likewise.
19313 (_G_pid_t): Likewise.
19314 (_G_uid_t): Likewise.
19315 (_G_wchar_t): Likewise.
19316 (_G_wint_t): Likewise.
19317
19318 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19319
19320 * malloc/arena.c: Include malloc-sysdep.h.
19321 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19322 is sufficient to shrink the heap or an unmap is needed.
19323 * sysdeps/generic/malloc-sysdep.h: New file. Define
19324 new function check_may_shrink_heap.
19325 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19326 new function check_may_shrink_heap.
19327
19328 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19329
19330 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19331 comments.
19332
19333 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19334
19335 * catgets/test-gencat.sh: Add "set -e".
19336 * elf/tst-pathopt.sh: Likewise.
19337 * grp/tst_fgetgrent.sh: Likewise.
19338 * iconvdata/run-iconv-test.sh: Likewise.
19339 * intl/tst-gettext.sh: Likewise.
19340 * intl/tst-gettext2.sh: Likewise.
19341 * intl/tst-gettext4.sh: Likewise.
19342 * intl/tst-gettext6.sh: Likewise.
19343 * intl/tst-translit.sh: Likewise.
19344 * io/ftwtest-sh: Likewise.
19345 * libio/test-freopen.sh: Likewise.
19346 * malloc/tst-mtrace.sh: Likewise.
19347 * posix/globtest.sh: Likewise.
19348 * posix/tst-getconf.sh: Likewise.
19349 * posix/wordexp-tst.sh: Likewise.
19350 * stdio-common/tst-printf.sh: Likewise.
19351 * stdio-common/tst-unbputc.sh: Likewise.
19352 * stdlib/tst-fmtmsg.sh: Likewise.
19353 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19354 * catgets/Makefile: Do not specify -e option when running
19355 testsuite shell scripts.
19356 * elf/Makefile: Likewise.
19357 * grp/Makefile: Likewise.
19358 * iconvdata/Makefile: Likewise.
19359 * intl/Makefile: Likewise.
19360 * io/Makefile: Likewise.
19361 * libio/Makefile: Likewise.
19362 * malloc/Makefile: Likewise.
19363 * posix/Makefile: Likewise.
19364 * stdio-common/Makefile: Likewise.
19365 * stdlib/Makefile: Likewise.
19366 * sysdeps/x86_64/Makefile: Likewise.
19367
19368 * io/ftwtest-sh: Add copyright header.
19369 * posix/globtest.sh: Likewise.
19370 * posix/tst-getconf.sh: Likewise.
19371 * posix/wordexp-tst.sh: Likewise.
19372 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19373
19374 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19375
19376 [BZ #13679]
19377 * Makeconfig (+link): Defined as $(+link-static) if
19378 $(build-shared) isn't yes.
19379 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19380 isn't yes.
19381 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19382
19383 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19384
19385 [BZ #14562]
19386 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19387 new chunk size with MALLOC_ALIGN_MASK.
19388
19389 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19390
19391 [BZ #5044]
19392 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19393 <rounding-mode.h>.
19394 (__printf_fphex): Determine rounding using get_rounding_mode and
19395 round_away.
19396 * stdio-common/tst-printf-round.c (struct hex_test): New
19397 structure.
19398 (hex_tests): New variable.
19399 (test_hex_in_one_mode): New function.
19400 (do_test): Also run tests for hex float output.
19401
19402 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19403
19404 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19405 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19406 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19407 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19408 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19409 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19410 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19411 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19412
19413 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19414
19415 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19416 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19417 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19418 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19419
19420 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19421
19422 [BZ #14579]
19423 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19424 mode only.
19425 * elf/tst-rtld-load-self.sh: New test.
19426 * elf/Makefile: Run it.
19427
19428 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19429
19430 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19431 (tst-writev-ENV): Remove.
19432 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19433
19434 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19435
19436 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19437
19438 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19439
19440 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19441 unconditional.
19442 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19443 Likewise.
19444 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19445 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19446 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19447 Likewise.
19448
19449 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19450
19451 [BZ #14587]
19452 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19453 * config.make.in (have-cpp-asm-debuginfo): Removed.
19454 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19455 * configure: Regenerated.
19456
19457 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19458
19459 [BZ #5044]
19460 * stdio-common/printf_fp.c: Include <stdbool.h> and
19461 <rounding-mode.h>.
19462 (___printf_fp): Determine rounding using get_rounding_mode and
19463 round_away.
19464 * stdio-common/tst-printf-round.c: New file.
19465 * stdio-common/Makefile (tests): Add tst-printf-round.
19466 (link-libm): New variable.
19467 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19468
19469 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19470
19471 [BZ #14576]
19472 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19473 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19474 Likewise.
19475 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19476 Likewise.
19477
19478 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19479
19480 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19481 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19482 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19483 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19484
19485 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19486
19487 [BZ #14518]
19488 * include/rounding-mode.h: New file.
19489 * sysdeps/generic/get-rounding-mode.h: Likewise.
19490 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19491 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19492 (MAX_VALUE): New macro.
19493 (MIN_VALUE): Likewise.
19494 (overflow_value): New function.
19495 (underflow_value): Likewise.
19496 (round_and_return): Use overflow_value and underflow_value to
19497 determine return values in overflow and underflow cases. Use
19498 round_away to determine rounding depending on rounding mode.
19499 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19500 determine return values in overflow and underflow cases.
19501 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19502 (struct test_results): New structure.
19503 (struct test): Use struct test_results to store expected results
19504 for all rounding modes.
19505 (TEST): Include expected results for all rounding modes.
19506 (test_in_one_mode): New function.
19507 (do_test): Use test_in_one_mode to compute and check results.
19508 Check results for all rounding modes.
19509 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19510 $(link-libm).
19511
19512 2012-12-09 Allan McRae <allan@archlinux.org>
19513
19514 * sysdeps/i386/fpu/libm-test-ulps: Update
19515
19516 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19517
19518 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19519 (_G_int32_t): Likewise.
19520 (_G_uint16_t): Likewise.
19521 (_G_uint32_t): Likewise.
19522 (_G_HAVE_BOOL): Likewise.
19523 (_G_HAVE_ATEXIT): Likewise.
19524 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19525 (_G_HAVE_IO_FILE_OPEN): Likewise.
19526 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19527 (_G_int32_t): Likewise.
19528 (_G_uint16_t): Likewise.
19529 (_G_uint32_t): Likewise.
19530 (_G_HAVE_BOOL): Likewise.
19531 (_G_HAVE_ATEXIT): Likewise.
19532 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19533 (_G_HAVE_IO_FILE_OPEN): Likewise.
19534 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19535 (_G_int32_t): Likewise.
19536 (_G_uint16_t): Likewise.
19537 (_G_uint32_t): Likewise.
19538 (_G_HAVE_BOOL): Likewise.
19539 (_G_HAVE_ATEXIT): Likewise.
19540 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19541 (_G_HAVE_IO_FILE_OPEN): Likewise.
19542
19543 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19544
19545 * csu/libc-tls.c: Update copyright years.
19546
19547 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19548
19549 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19550 [!_G_USING_THUNKS]: Remove conditional code.
19551 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19552 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19553
19554 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19555 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19556 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19557 (_G_VTABLE_LABEL_PREFIX): Likewise.
19558 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19559 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19561 (_G_VTABLE_LABEL_PREFIX): Likewise.
19562 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19563 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19564 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19565 (_G_VTABLE_LABEL_PREFIX): Likewise.
19566 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19567
19568 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19569
19570 * libio/Makefile: Include ../Makeconfig before tests.
19571 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19572 only if $(build-shared) is yes.
19573
19574 * iconv/gconv_db.c: Update copyright years.
19575
19576 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19577
19578 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19579 unwind info if defined PIC. Fix special cases description.
19580 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19581
19582 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19583 DP_HI_MASK entry.
19584 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19585
19586 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19587
19588 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19589
19590 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19591 is NULL.
19592
19593 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19594 (LDLIBS-tst-chk4): This.
19595 (LDFLAGS-tst-chk5): Renamed to ...
19596 (LDLIBS-tst-chk5): This.
19597 (LDFLAGS-tst-chk6): Renamed to ...
19598 (LDLIBS-tst-chk6): This.
19599 (LDFLAGS-tst-lfschk4): Renamed to ...
19600 (LDLIBS-tst-lfschk4): This.
19601 (LDFLAGS-tst-lfschk5): Renamed to ...
19602 (LDLIBS-tst-lfschk5): This.
19603 (LDFLAGS-tst-lfschk6): Renamed to ...
19604 (LDLIBS-tst-lfschk6): This.
19605
19606 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19607 on $(common-objpfx)soversions.mk.
19608
19609 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19610
19611 [BZ #10014]
19612 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19613 example host name.
19614
19615 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19616
19617 * malloc/arena.c (arena_get_retry): New function that gets
19618 another arena for the caller to try its request on.
19619 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19620 current arena cannot fulfill the request.
19621 (__libc_memalign): Likewise.
19622 (__libc_memalign): Likewise.
19623 (__libc_pvalloc): Likewise.
19624 (__libc_calloc): Likewise.
19625
19626 2012-09-05 John Tobey <john.tobey@gmail.com>
19627
19628 [BZ #13542]
19629 * manual/arith.texi (Operations on Complex): Fix description
19630 of carg branch cut.
19631
19632 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19633
19634 [BZ #10014]
19635 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19636 host name.
19637
19638 [BZ #10038]
19639 * manual/memory.texi (Memory): Make order of menu items match
19640 order of sections.
19641
19642 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19643
19644 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19645 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19646 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19647
19648 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19649
19650 * csu/libc-tls.c (static_dtv): Renamed to ...
19651 (_dl_static_dtv): This. Make it global.
19652 (_dl_initial_dtv): Removed.
19653 (__libc_setup_tls): Updated.
19654 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19655 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19656 DL_INITIAL_DTV.
19657
19658 2012-09-06 Petr Machata <pmachata@redhat.com>
19659
19660 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19661 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19662 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19663 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19664
19665 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19666
19667 [BZ #14545]
19668 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19669 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19670 freeing dtv[-1].
19671
19672 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19673
19674 [BZ #14544]
19675 * Makeconfig (link-static-before-libc): Replace $(+prector)
19676 with $(+prectorT).
19677 (link-static-after-libc): Replace $(+postctor) with
19678 $(+postctorT).
19679 (link-bounded): Replace $(+prector)/$(+postctor) with
19680 $(+prectorT)/$(+postctorT).
19681 (+prectorT): New macro.
19682 (+postctorT): Likewise.
19683
19684 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19685
19686 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19687 (round_str): Handle values above the maximum for IBM long double
19688 as inexact.
19689 * stdlib/tst-strtod-round.c (tests): Regenerated.
19690
19691 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19692
19693 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19694 assembler flag.
19695 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19696 zarch_nohighgprs around the zarch optimized routines.
19697 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19698 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19699 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19700 for zarch.
19701
19702 2012-09-05 David S. Miller <davem@davemloft.net>
19703
19704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19705
19706 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19707 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19708 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19709 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19710 entries.
19711
19712 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19713
19714 * malloc/arena.c: Fold copyright years.
19715 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19716
19717 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19718
19719 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19720
19721 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19722
19723 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19724
19725 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19726
19727 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19728 change internal state upon failure.
19729
19730 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19731
19732 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19733 * malloc/memusage.c (mmap): Likewise.
19734 (mmap64, mremap): Likewise. Adjust name in comment.
19735
19736 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19737
19738 * libio/fileops.c: Fix typos in comments.
19739 * libio/oldfileops.c: Likewise.
19740 * libio/wfileops.c: Likewise.
19741
19742 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19743
19744 [BZ #1349]
19745 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19746 (tst-malloc-usable-ENV): Set environment for test case.
19747 * malloc/hooks.c (malloc_check_get_size): New function to get
19748 requested size.
19749 * malloc/malloc.c (musable): Use malloc_check_get_size.
19750 * malloc/tst-malloc-usable.c: New test case.
19751
19752 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19753
19754 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19755
19756 2012-09-05 Allan McRae <allan@archlinux.org>
19757
19758 [BZ #13966]
19759 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19760 determine header location.
19761 * configure: Regenerated.
19762
19763 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19764
19765 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19766 float format.
19767 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19768 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19769 format.
19770 (test): Regenerate.
19771
19772 2012-09-04 David S. Miller <davem@davemloft.net>
19773
19774 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19775 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19776 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19777
19778 2012-09-04 Florian Weimer <fweimer@redhat.com>
19779
19780 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19781 failures.
19782
19783 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19784
19785 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19786
19787 [BZ #9914]
19788 * libio/iogetdelim.c: Include <limits.h>.
19789 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19790 + len + 1 would overflow.
19791
19792 2012-09-03 Andreas Jaeger <aj@suse.de>
19793
19794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19795 * sysdeps/i386/fpu/libm-test-ulps: Update.
19796
19797 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19798
19799 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19800 Add s_sinf-sse2, s_conf-sse2.
19801
19802 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19803 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19804 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19805 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19806
19807 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19808 for using routine as __sinf_ia32.
19809 Use macro for function declaration and weak_alias.
19810 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19811 for using routine as __cosf_ia32.
19812 Use macro for function declaration and weak_alias.
19813
19814 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19815 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19816
19817 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19818 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19820
19821 * math/libm-test.inc (cos_test): Add more test cases.
19822 (sin_test): Likewise.
19823 (sincos_test): Likewise.
19824
19825 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19826
19827 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19828 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19829 hidden.
19830 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19831
19832 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19833
19834 [BZ #14538]
19835 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19836 first element of the GOT.
19837 (elf_machine_load_address): Return the difference between
19838 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19839
19840 2012-09-01 Allan McRae <allan@archlinux.org>
19841
19842 [BZ #13412]
19843 * configure.in (AWK): Require gawk version 3.0 or later.
19844 * configure: Regenerated.
19845
19846 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19847
19848 * sysdeps/unix/sysv/linux/kernel-features.h
19849 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19850 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19851 [__NR_clock_getres]: Make code unconditional.
19852 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19853 (clock_getcpuclockid): Remove code left unreachable by removal of
19854 conditionals.
19855 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19856 code unconditional.
19857 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19858 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19859 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19860 Make code unconditional.
19861 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19862 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19863 * sysdeps/unix/sysv/linux/clock_settime.c
19864 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19865 conditional code.
19866 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19867 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19868
19869 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19870
19871 [BZ #14476]
19872 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19873 scripts/test-installation.pl.
19874
19875 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19876 and $ld_so_version if it is set.
19877
19878 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19879
19880 [BZ #14516]
19881 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19882 failure if reading from procfs failed.
19883 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19884
19885 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19886
19887 * sysdeps/unix/sysv/linux/kernel-features.h
19888 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19889 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19890 Remove conditional code.
19891 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19892 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19893 Remove conditional code.
19894 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19895 * sysdeps/unix/sysv/linux/i386/fxstat.c
19896 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19898 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19899 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19901 * sysdeps/unix/sysv/linux/i386/lxstat.c
19902 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19904 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19905 Remove conditional code.
19906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19907 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19908 Remove conditional code.
19909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19910 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19911 <kernel-features.h>.
19912 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19913 Remove.
19914 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19915 Remove conditional code.
19916 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19917 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19918 Remove conditional.
19919
19920 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19921
19922 [BZ #5400]
19923 * NEWS: Add fixed bug number.
19924
19925 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19926
19927 [BZ #14519]
19928 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19929 underflowing exponent in case of negative sign.
19930 * stdlib/tst-strtod-round-data: Add more tests.
19931 * stdlib/tst-strtod-round.c (tests): Regenerated.
19932
19933 [BZ #3479]
19934 * stdlib/strtod_l.c (NDIG): Remove.
19935 (HEXNDIG): Likewise.
19936 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19937 smallest representable value.
19938 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19939 lie within an exact representation of 1/2 ulp of the result.
19940 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19941 unconditionally.
19942 (TENS_P9_IDX): Define unconditionally.
19943 (TENS_P9_SIZE): Likewise.
19944 (TENS_P10_IDX): Likewise.
19945 (TENS_P10_SIZE): Likewise.
19946 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19947 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19948 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19949 entries for 10^2^13 and 10^2^14.
19950 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19951 (TENS_P13_IDX): Define.
19952 (TENS_P13_SIZE): Likewise.
19953 (TENS_P14_IDX): Likewise.
19954 (TENS_P14_SIZE): Likewise.
19955 (_fpioconst_pow10): Change array size to
19956 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19957 unconditional.
19958 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19959 1024]: Add entries for 10^2^13 and 10^2^14.
19960 [LAST_POW10 > _LAST_POW10]: Remove #error.
19961 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19962 (_fpioconst_pow10): Change array size to
19963 FPIOCONST_POW10_ARRAY_SIZE.
19964 * stdlib/gen-fpioconst.c: New file.
19965 * stdlib/gen-tst-strtod-round.c: Likewise.
19966 * stdlib/tst-strtod-round-data: Likewise.
19967 * stdlib/tst-strtod-round.c: Likewise.
19968 * stdlib/Makefile (tests): Add tst-strtod-round.
19969
19970 [BZ #14459]
19971 * stdlib/strtod_l.c: Include <stdint.h>.
19972 (NDEBUG): Do not define.
19973 (round_and_return): Change EXPONENT parameter to type intmax_t.
19974 Rearrange calculations to avoid internal overflow possibilities.
19975 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19976 Rearrange calculations to avoid internal overflow possibilities.
19977 Assert that number fits inside MPNSIZE limbs.
19978 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19979 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19980 calculations and add assertions to avoid internal overflow
19981 possibilities. Add casts to avoid signed/unsigned operations.
19982 * stdlib/tst-strtod-overflow.c: New file.
19983 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19984
19985 2012-08-25 Marek Polacek <polacek@redhat.com>
19986
19987 * time/time.h: Fix some typos in comments.
19988
19989 2012-08-23 Roland McGrath <roland@hack.frob.com>
19990
19991 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19992 * posix/tst-rfc3484-2.c: Likewise.
19993 * posix/tst-rfc3484-3.c: Likewise.
19994
19995 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19996
19997 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19998 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19999
20000 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20001
20002 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20003 #include of fxstatat64.c.
20004
20005 2012-08-22 Roland McGrath <roland@hack.frob.com>
20006
20007 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20008 * shadow/getspent_r.c: Likewise.
20009 * shadow/getspnam.c: Likewise.
20010 * shadow/getspnam_r.c: Likewise.
20011 * gshadow/getsgent.c: Likewise.
20012 * gshadow/getsgent_r.c: Likewise.
20013 * gshadow/getsgnam.c: Likewise.
20014 * gshadow/getsgnam_r.c: Likewise.
20015 * inet/getnetbyad.c: Likewise.
20016 * inet/getnetbyad_r.c: Likewise.
20017 * inet/getnetbynm.c: Likewise.
20018 * inet/getnetbynm_r.c: Likewise.
20019 * inet/getnetent.c: Likewise.
20020 * inet/getnetent_r.c: Likewise.
20021 * inet/getproto.c: Likewise.
20022 * inet/getproto_r.c: Likewise.
20023 * inet/getprtent.c: Likewise.
20024 * inet/getprtent_r.c: Likewise.
20025 * inet/getprtname.c: Likewise.
20026 * inet/getprtname_r.c: Likewise.
20027 * inet/getrpcbyname.c: Likewise.
20028 * inet/getrpcbyname_r.c: Likewise.
20029 * inet/getrpcbynumber.c: Likewise.
20030 * inet/getrpcbynumber_r.c: Likewise.
20031 * inet/getrpcent.c: Likewise.
20032 * inet/getrpcent_r.c: Likewise.
20033 * inet/getaliasent.c: Likewise.
20034 * inet/getaliasent_r.c: Likewise.
20035 * inet/getaliasname.c: Likewise.
20036 * inet/getaliasname_r.c: Likewise.
20037 * nscd/getgrgid_r.c: Likewise.
20038 * nscd/getgrnam_r.c: Likewise.
20039 * nscd/gethstbyad_r.c: Likewise.
20040 * nscd/gethstbynm3_r.c: Likewise.
20041 * nscd/getpwnam_r.c: Likewise.
20042 * nscd/getpwuid_r.c: Likewise.
20043 * nscd/getsrvbynm_r.c: Likewise.
20044 * nscd/getsrvbypt_r.c: Likewise.
20045 * nscd/gai.c: Likewise.
20046
20047 * configure.in (build_nscd): New substituted variable, set
20048 by --disable-build-nscd and defaults to $use_nscd.
20049 * configure: Regenerated.
20050 * config.make.in (build-nscd): New substituted variable.
20051 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20052 Change conditional to require [$(build-nscd) = yes] as well.
20053 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20054
20055 [BZ# 13696]
20056 * configure.in (use_nscd): New substituted variable, set by
20057 --disable-nscd. If enabled, define USE_NSCD.
20058 * configure: Regenerated.
20059 * config.h.in: Add USE_NSCD.
20060 * config.make.in (use-nscd): New substituted variable.
20061 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20062 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20063 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20064 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20065 (CFLAGS-getgrnam_r.c): Likewise.
20066 (CFLAGS-initgroups.c): Likewise.
20067 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20068 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20069 Variables removed.
20070 * inet/getnetgrent_r.c
20071 (nscd_setnetgrent): New function, broken out of ...
20072 (setnetgrent): ... here. Call it.
20073 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20074 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20075 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20076 * nscd/Makefile (routines, aux): Move definitions after include of
20077 Makeconfig. Conditionalize on [$(use-nscd) != no].
20078 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20079 Conditionalize on [USE_NSCD].
20080 (is_nscd, nscd_init_cb): Likewise.
20081 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20082 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20083 * nss/nss_db/db-init.c: Likewise.
20084 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20085 [USE_NSCD].
20086 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20087 (make_request): Use it.
20088 (cache_valid_p): New function.
20089 (__check_pf): Use it.
20090 * NEWS: Add item for --disable-nscd.
20091
20092 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20093
20094 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20095 to support sed >= 4.2.1-20-ga9bf076.
20096 * configure: Regenerated.
20097
20098 2012-08-22 Roland McGrath <roland@hack.frob.com>
20099
20100 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20101 Conditionalize whole body on [IREL].
20102
20103 2012-08-22 Jeff Law <law@redhat.com>
20104
20105 [BZ #14505]
20106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20107 if the family is PF_UNSPEC.
20108
20109 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20110
20111 * Makerules (lib-version): Rename from V.
20112 (install-lib-nosubdir): Change V to lib-version.
20113
20114 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20115
20116 [BZ #14252]
20117 * powerpc32/power6/wcschr.c: New file.
20118 * powerpc32/power6/wcscpy.c: New file.
20119 * powerpc32/power6/wcsrchr.c: New file.
20120 * powerpc64/power6/wcschr.c: New file.
20121 * powerpc64/power6/wcscpy.c: New file.
20122 * powerpc64/power6/wcsrchr.c: New file.
20123
20124 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20125
20126 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20127 (two_way_short_needle): Use it.
20128 * string/strstr.c (AVAILABLE1_USES_J): Define.
20129 * string/strcasestr.c: Likewise.
20130
20131 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20132 array references.
20133 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20134
20135 [BZ #11607]
20136 * NEWS: Add an entry.
20137 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20138 define their defaults.
20139 (two_way_short_needle): Detect end-of-string on-the-fly.
20140 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20141 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20142 * string/bug-strcasestr1.c: New test.
20143 * string/Makefile: Run it.
20144
20145 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20146
20147 [BZ #11607]
20148 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20149 the first character.
20150
20151 2012-08-21 Roland McGrath <roland@hack.frob.com>
20152
20153 * csu/elf-init.c (__libc_csu_irel): Function removed.
20154 * csu/libc-start.c (apply_irel): New function.
20155 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20156
20157 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20158
20159 * sysdeps/unix/sysv/linux/kernel-features.h
20160 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20161 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20162 <kernel-features.h>.
20163 [__NR_fadvise64_64]: Make code unconditional.
20164 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20165 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20166 !__NR_fadvise64_64)]: Likewise.
20167 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20168 !__NR_fadvise64_64))]: Likewise.
20169 [__NR_fadvise64]: Make code unconditional.
20170 [!__NR_fadvise64]: Remove conditional code.
20171 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20172 <kernel-features.h>.
20173 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20174 unconditional.
20175 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20176 conditional code.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20178 not include <kernel-features.h>.
20179 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20180 unconditional.
20181 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20182 conditional code.
20183 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20184 include <kernel-features.h>.
20185 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20186 unconditional.
20187 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20188 conditional code.
20189
20190 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20191
20192 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20193 slight instruction rearrangements per scrollpipe analysis.
20194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20195
20196 2012-08-20 Roland McGrath <roland@hack.frob.com>
20197
20198 * manual/syslog.texi (syslog; vsyslog, closelog):
20199 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20200 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20201
20202 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20203 DSOCAPS to match condition on defining it.
20204
20205 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20206
20207 * sysdeps/unix/sysv/linux/kernel-features.h
20208 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20210 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20211 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20213 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20214 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20216 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20217 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20218
20219 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20220 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20221
20222 * sysdeps/unix/sysv/linux/kernel-features.h
20223 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20224 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20225 unconditional.
20226 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20227 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20228 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20229 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20230 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20231 Make code unconditional.
20232 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20233 (__mmap64) [!__NR_mmap2]: Likewise.
20234 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20235 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20236 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20237 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20238 [__NR_mmap2]: Make code unconditional.
20239 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20240 (__mmap64) [!__NR_mmap2]: Likewise.
20241
20242 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20243
20244 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20245
20246 2012-08-18 Andreas Jaeger <aj@suse.de>
20247
20248 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20249
20250 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20251
20252 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20253 * include/unistd.h (__have_sock_cloexec): Likewise.
20254 (__have_pipe2): Likewise.
20255 (__have_dup3): Likewise.
20256
20257 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20258
20259 [BZ #9685]
20260 * include/unistd.h (__have_pipe2): Change define into an extern int.
20261 (__have_dup3): Likewise.
20262 * socket/have_sock_cloexec.c: Include fcntl.h.
20263 (__have_pipe2): New variable.
20264 (__have_dup3): Likewise.
20265
20266 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20267
20268 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20269
20270 2012-08-17 Marek Polacek <polacek@redhat.com>
20271
20272 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20273 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20274
20275 2012-08-17 Roland McGrath <roland@hack.frob.com>
20276
20277 * configure.in: Add AC_SUBST for sysheaders.
20278 * configure: Regenerated.
20279 * config.make.in (sysheaders): New substituted variable.
20280
20281 * sysdeps/unix/mkfifo.c: Moved ...
20282 * sysdeps/posix/mkfifo.c: ... here.
20283 * sysdeps/unix/mkfifoat.c: Moved ...
20284 * sysdeps/posix/mkfifoat.c: ... here.
20285
20286 * sysdeps/unix/utime.c: Moved ...
20287 * sysdeps/posix/utime.c: ... here.
20288
20289 * sysdeps/unix/time.c: Moved ...
20290 * sysdeps/posix/time.c: ... here.
20291 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20292 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20293
20294 * sysdeps/unix/nice.c: Moved ...
20295 * sysdeps/posix/nice.c: ... here.
20296
20297 * sysdeps/unix/alarm.c: Moved ...
20298 * sysdeps/posix/alarm.c: ... here.
20299
20300 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20301
20302 2012-08-17 Jeff Law <law@redhat.com>
20303
20304 * intl/Makefile (codeset_mo): New variable.
20305 ($(codeset_mo)): New target.
20306 (tst-codeset.out): Depend on that. Remove explicit rule.
20307 (tst-gettext3.out, tst-gettext5.out): Likewise.
20308 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20309 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20310 * intl/tst-codeset.sh: Remove.
20311 * intl/tst-gettext3.sh: Likewise.
20312 * intl/tst-gettext5.sh: Likewise.
20313
20314 2012-08-17 Roland McGrath <roland@hack.frob.com>
20315
20316 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20317 * sysdeps/unix/syscalls.list: ... here.
20318
20319 * sysdeps/posix/getaddrinfo.c
20320 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20321 (gaiconf_init, gaiconf_reload): Use them.
20322 [!_STATBUF_ST_NSEC]
20323 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20324 Define using time_t rather than struct timespec.
20325
20326 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20327 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20328 Macros removed.
20329 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20330 [!NO_THREADS].
20331 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20332 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20333 Likewise.
20334
20335 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20336 __libc_cleanup_push argument.
20337
20338 * bits/param.h: New file.
20339 * misc/sys/param.h: New file.
20340 * include/sys/param.h: New file.
20341 * misc/Makefile (headers): Add bits/param.h.
20342 * sysdeps/generic/sys/param.h: File removed.
20343 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20344 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20345 * sysdeps/mach/hurd/bits/param.h: New file.
20346 * sysdeps/mach/hurd/sys/param.h: File removed.
20347
20348 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20349 last change.
20350
20351 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20352 [_IO_MTSAFE_IO].
20353 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20354 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20355 New macros.
20356
20357 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20358 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20359 rather than -D_IO_MTSAFE_IO conditionally.
20360 * stdio-common/Makefile (CPPFLAGS): Likewise.
20361 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20362 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20363 Use $(libio-mtsafe).
20364 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20365 of -D_IO_MTSAFE_IO.
20366 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20367 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20368 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20369 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20370 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20371 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20372 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20373 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20374 (CFLAGS-fread_u_chk.c): Likewise.
20375 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20376 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20377 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20378 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20379 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20380 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20381 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20382 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20383 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20384
20385 * libio/Makefile: Test [$(libc-reentrant) = yes]
20386 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20387
20388 * Makeconfig
20389 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20390 * sysdeps/pthread/configure: File removed.
20391 * sysdeps/pthread/Makeconfig: New file.
20392 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20393 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20394
20395 2012-08-16 Gary Benson <gbenson@redhat.com>
20396
20397 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20398 unmapping the first object in a namespace.
20399
20400 2012-08-16 Roland McGrath <roland@hack.frob.com>
20401
20402 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20403 (__internal_setnetgrent): ... this. Add internal_function to
20404 definition. Add libc_hidden_def.
20405 (setnetgrent): Update caller.
20406 (internal_endnetgrent): Renamed to ...
20407 (__internal_endnetgrent): ... this. Add internal_function to
20408 definition. Add libc_hidden_def.
20409 (endnetgrent): Update caller.
20410 (internal_getnetgrent_r): Renamed to ...
20411 (__internal_getnetgrent_r): ... this. Add internal_function to
20412 definition. Add libc_hidden_def.
20413 (__getnetgrent_r): Update caller.
20414 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20415
20416 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20417
20418 * stdlib/longlong.h: Update from GCC.
20419
20420 2012-08-16 Roland McGrath <roland@hack.frob.com>
20421
20422 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20423 on _QL, which is set by umul_ppmm but never used.
20424 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20425 variables, which are set by GMP macros but never used.
20426 * stdio-common/_itowa.c (_itowa): Likewise.
20427 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20428 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20429
20430 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20431
20432 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20433 struct La_sh_regs is not constant.
20434 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20435 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20436 and struct La_sparc64_regs are not constant.
20437
20438 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20439
20440 * sysdeps/unix/sysv/linux/kernel-features.h
20441 (__ASSUME_POSIX_TIMERS): Remove.
20442 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20443 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20444 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20445 Make code unconditional.
20446 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20447 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20448 Make code unconditional.
20449 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20450 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20451 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20452 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20453 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20454 Make code unconditional.
20455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20456 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20457 (__libc_missing_posix_timers): Remove.
20458
20459 2012-08-15 Roland McGrath <roland@hack.frob.com>
20460
20461 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20462 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20463
20464 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20465
20466 * elf/dl-sym.c: Include <stdlib.h>.
20467
20468 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20469 constants, which avoids warnings in 32-bit builds.
20470
20471 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20472 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20473
20474 * misc/lseek.c: File moved to ...
20475 * io/lseek.c: ... here.
20476
20477 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20478
20479 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20480 shifting LEN more than 31 bits at once.
20481
20482 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20483
20484 [BZ #14195]
20485 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20486 segmentation fault for a case of two empty input strings.
20487 * string/test-strncasecmp.c (check1): Renamed to...
20488 (bz12205): ...this.
20489 (bz14195): Add new testcase for two empty input strings and N > 0.
20490 (test_main): Call new testcase, adapt for renamed function.
20491
20492 2012-08-15 Andreas Jaeger <aj@suse.de>
20493
20494 [BZ #14090]
20495 * crypt/md5test2.c: New test, based on test supplied by Serge
20496 Belyshev <belyshev@depni.sinp.msu.ru>.
20497 * crypt/Makefile (xtests): Add md5test-giant..
20498 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20499
20500 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20501
20502 [BZ #14090]
20503 * crypt/md5.c (md5_process_block): Don't assume the buffer
20504 length is less than 2**32.
20505 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20506 length is less than 2**64.
20507
20508 2012-08-15 Roland McGrath <roland@hack.frob.com>
20509
20510 * string/str-two-way.h: Include <sys/param.h>.
20511 (MAX): Macro removed.
20512
20513 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20514 Move #define and #undef of memmove to just before and after
20515 including <string.h>.
20516
20517 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20518 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20519 and after including <string.h>. Move declarations of
20520 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20521 to before #include "string/memmove.c".
20522
20523 * include/dirent.h: Declare __getdirentries.
20524
20525 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20526 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20527
20528 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20529
20530 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20531 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20532 * sysdeps/i386/configure: Regenerated.
20533 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20534 STABS_CURRENT_FILE, and STABS_FUN.
20535 (END): Remove call to STABS_FUN_END.
20536 (STABS_CURRENT_FILE1): Delete.
20537 (STABS_CURRENT_FILE): Likewise.
20538 (STABS_FUN): Likewise.
20539 (STABS_FUN_END): Likewise.
20540 (STABS_FUN2): Likewise.
20541 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20542 * sysdeps/x86_64/configure: Regenerated.
20543
20544 2012-08-14 Roland McGrath <roland@hack.frob.com>
20545
20546 * elf/dl-open.c: Include <atomic.h>.
20547 * elf/dl-lookup.c: Likewise.
20548
20549 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20550
20551 * sysdeps/unix/sysv/linux/kernel-features.h
20552 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20553 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20554 unconditionally.
20555 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20556 unconditionally.
20557 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20558 condition on __ASSUME_CLONE_THREAD_FLAGS.
20559
20560 2012-08-14 Andreas Jaeger <aj@suse.de>
20561
20562 * sysdeps/i386/fpu/libm-test-ulps: Update.
20563
20564 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20565
20566 * include/atomic.h (atomic_exchange_and_add): Split into ...
20567 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20568 New atomic macros.
20569
20570 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20571
20572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20573
20574 2012-08-13 Jeff Law <law@redhat.com>
20575
20576 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20577 null byte in the output string.
20578
20579 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20580
20581 * sysdeps/unix/sysv/linux/kernel-features.h
20582 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20583 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20584 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20585 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20586 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20587 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20588 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20589
20590 2012-08-09 Jeff Law <law@redhat.com>
20591
20592 [BZ #13939]
20593 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20594 When avoid_arena is set, don't retry in the that arena. Pick the
20595 next one, whatever it might be.
20596 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20597 (arena_lock): Pass in new parameter to arena_get2.
20598 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20599 arena_get2.
20600 (__libc_malloc): Unify retrying after main arena failure with
20601 __libc_memalign version.
20602 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20603
20604 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20605
20606 [BZ #14166]
20607 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20608 to __redirect_strstr.
20609 (__strstr_sse42): Use typeof __redirect_strstr.
20610 (__strstr_ia32): Likewise.
20611 (__libc_strstr): New prototype.
20612 (strstr): Renamed to ...
20613 (__libc_strstr): This.
20614 (strstr): New strong alias of __libc_strstr.
20615 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20616 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20617 __redirect_time.
20618 Include <time.h>.
20619 (__libc_time): New prototype.
20620 (time_ifunc): Replace time with __libc_time.
20621 (time): New strong alias and hidden definition of __libc_time.
20622 (__GI_time): Remove strong alias.
20623 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20624 Include <stddef.h>.
20625 (memmove): Redefined to __redirect_memmove.
20626 (__memmove_sse2): Use typeof __redirect_memmove.
20627 (__memmove_ssse3): Likewise.
20628 (__memmove_ssse3_back): Likewise.
20629 (__libc_memmove): New prototype.
20630 (memmove): Renamed to ...
20631 (__libc_memmove): This.
20632 (memmove): New strong alias of __libc_memmove.
20633
20634 2012-08-08 Mark Salter <msalter@redhat.com>
20635
20636 * elf/elf.h
20637 (R_MN10300_TLS_GD): Define.
20638 (R_MN10300_TLS_LD): Likewise.
20639 (R_MN10300_TLS_LDO): Likewise.
20640 (R_MN10300_TLS_GOTIE): Likewise.
20641 (R_MN10300_TLS_IE): Likewise.
20642 (R_MN10300_TLS_LE): Likewise.
20643 (R_MN10300_TLS_DTPMOD): Likewise.
20644 (R_MN10300_TLS_DTPOFF): Likewise.
20645 (R_MN10300_TLS_TPOFF): Likewise.
20646 (R_MN10300_SYM_DIFF): Likewise.
20647 (R_MN10300_ALIGN): Likewise.
20648 (R_MN10300_NUM): Update.
20649
20650 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20651
20652 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20653 Remove.
20654
20655 2012-08-08 Roland McGrath <roland@hack.frob.com>
20656
20657 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20658
20659 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20660 sysdeps/unix -> sysdeps/posix move.
20661 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20662
20663 2012-08-07 Allan McRae <allan@archlinux.org>
20664
20665 [BZ #14303]
20666 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20667 (SUNOS_CPP): Likewise.
20668 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20669 not found.
20670 (open_input): Call CPP using execvp.
20671
20672 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20673
20674 * sysdeps/unix/sysv/linux/kernel-features.h
20675 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20676 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20677 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20678 (__ASSUME_WAITID_SYSCALL): Likewise.
20679 * sysdeps/unix/sysv/linux/dl-execstack.c
20680 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20681 code unconditional.
20682 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20683 conditional code.
20684 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20685 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20686 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20687 code.
20688 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20689 unconditional.
20690 [__ASSUME_WAITID_SYSCALL]: Likewise.
20691 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20692
20693 2012-08-07 Roland McGrath <roland@hack.frob.com>
20694
20695 * sysdeps/unix/closedir.c: Renamed to ...
20696 * sysdeps/posix/closedir.c: ... here.
20697 * sysdeps/unix/dirfd.c: Renamed to ...
20698 * sysdeps/posix/dirfd.c: ... here.
20699 * sysdeps/unix/dirstream.h: Renamed to ...
20700 * sysdeps/posix/dirstream.h: ... here.
20701 * sysdeps/unix/fdopendir.c: Renamed to ...
20702 * sysdeps/posix/fdopendir.c: ... here.
20703 * sysdeps/unix/opendir.c: Renamed to ...
20704 * sysdeps/posix/opendir.c: ... here.
20705 * sysdeps/unix/readdir.c: Renamed to ...
20706 * sysdeps/posix/readdir.c: ... here.
20707 * sysdeps/unix/readdir_r.c: Renamed to ...
20708 * sysdeps/posix/readdir_r.c: ... here.
20709 * sysdeps/unix/rewinddir.c: Renamed to ...
20710 * sysdeps/posix/rewinddir.c: ... here.
20711 * sysdeps/unix/seekdir.c: Renamed to ...
20712 * sysdeps/posix/seekdir.c: ... here.
20713 * sysdeps/unix/telldir.c: Renamed to ...
20714 * sysdeps/posix/telldir.c: ... here.
20715 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20716 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20717 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20718 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20719
20720 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20721 * bits/fcntl.h: ... here.
20722
20723 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20724 not 0.
20725 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20726 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20727 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20728 (struct flock): Move l_start, l_len to the beginning.
20729 Use __pid_t for l_pid.
20730 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20731 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20732 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20733 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20734 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20735 [__USE_LARGEFILE64] (struct flock64): New type.
20736 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20737
20738 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20739 * bits/dirent.h: ... here.
20740
20741 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20742 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20743
20744 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20745
20746 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20747 Change from 2.6.0 to 2.6.16.
20748 * sysdeps/unix/sysv/linux/configure: Regenerated.
20749 * sysdeps/unix/sysv/linux/kernel-features.h
20750 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20751 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20752 version.
20753 (__ASSUME_UTIMES): Likewise.
20754 (__ASSUME_CLONE_STOPPED): Remove.
20755 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20756 architectures, not kernel version.
20757 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20758 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20759 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20760 (__ASSUME_WAITID_SYSCALL): Likewise.
20761 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20762 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20763 * README: State 2.6.16 as minimum Linux kernel version. Do not
20764 refer to older versions.
20765
20766 2012-08-06 Roland McGrath <roland@hack.frob.com>
20767
20768 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20769 Define alphasort64 as an alias.
20770 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20771 Define versionsort64 as an alias.
20772 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20773 Define scandir64 as an alias.
20774 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20775 Define scandirat64 as an alias.
20776 * dirent/alphasort64.c (alphasort64):
20777 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20778 * dirent/versionsort64.c: Likewise.
20779 * dirent/scandir64.c: Likewise.
20780 * dirent/scandirat64.c: Likewise.
20781 * sysdeps/wordsize-64/alphasort.c: File removed.
20782 * sysdeps/wordsize-64/alphasort64.c: File removed.
20783 * sysdeps/wordsize-64/scandir.c: File removed.
20784 * sysdeps/wordsize-64/scandir64.c: File removed.
20785 * sysdeps/wordsize-64/scandirat.c: File removed.
20786 * sysdeps/wordsize-64/scandirat64.c: File removed.
20787 * sysdeps/wordsize-64/versionsort.c: File removed.
20788 * sysdeps/wordsize-64/versionsort64.c: File removed.
20789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20790 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20791 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20792 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20793 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20794 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20797
20798 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20799 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20800 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20802 [defined __arch64__ || defined __sparcv9]
20803 (__INO_T_MATCHES_INO64_T): New macro.
20804 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20805 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20806 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20807 * sysdeps/unix/sysv/linux/bits/dirent.h
20808 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20809 (_DIRENT_MATCHES_DIRENT64): New macro.
20810
20811 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20812 Define lockf64 as an alias.
20813 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20814 Define fseeko64 as an alias.
20815 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20816 Define ftello64 as an alias.
20817 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20818 Define _IO_fgetpos64 and fgetpos64 as aliases.
20819 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20820 Define _IO_fsetpos64 and fsetpos64 as aliases.
20821 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20822 Conditionalize body on this.
20823 * libio/fseeko64.c: Likewise.
20824 * libio/ftello64.c: Likewise.
20825 * libio/iofgetpos64.c: Likewise.
20826 * libio/iofsetpos64.c: Likewise.
20827 * sysdeps/wordsize-64/lockf.c: File removed.
20828 * sysdeps/wordsize-64/lockf64.c: File removed.
20829 * sysdeps/wordsize-64/fseeko.c: File removed.
20830 * sysdeps/wordsize-64/fseeko64.c: File removed.
20831 * sysdeps/wordsize-64/ftello.c: File removed.
20832 * sysdeps/wordsize-64/ftello64.c: File removed.
20833 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20834 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20835 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20836 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20837 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20838 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20839 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20840 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20841 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20842 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20843 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20844 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20845 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20846 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20847
20848 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20850 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20852 [defined __arch64__ || defined __sparcv9]
20853 (__OFF_T_MATCHES_OFF64_T): New macro.
20854 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20855 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20857 (__OFF_T_MATCHES_OFF64_T): New macro.
20858
20859 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20860
20861 * stdlib/secure-getenv.c (__secure_getenv): Replace
20862 GLIBC_2_16 with GLIBC_2_17.
20863
20864 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20865
20866 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20867 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20868
20869 2012-08-03 David S. Miller <davem@davemloft.net>
20870
20871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20872
20873 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20874
20875 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20876 Remove.
20877 (__ASSUME_CORRECT_SI_PID): Likewise.
20878 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20879 (__ASSUME_TMPFS_NAME): Likewise.
20880 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20881 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20882 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20883 (HAVE_AUX_SECURE): Make definition unconditional.
20884 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20885 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20886
20887 2012-08-03 Roland McGrath <roland@hack.frob.com>
20888
20889 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20890 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20891 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20892 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20893 __eloop_threshold instead of SYMLOOP_MAX.
20894
20895 * sysdeps/generic/eloop-threshold.h: New file.
20896 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20897 of MAXSYMLINKS.
20898 * elf/chroot_canon.c (chroot_canon): Likewise.
20899
20900 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20901
20902 [BZ #13717]
20903 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20904 Change to 2.6.0 everywhere.
20905 * sysdeps/unix/sysv/linux/configure: Regenerated.
20906 * sysdeps/unix/sysv/linux/kernel-features.h
20907 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20908 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20909 kernel versions.
20910 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20911 (__ASSUME_FUTEX_REQUEUE): Remove.
20912 (__ASSUME_STATFS64): Define unconditionally.
20913 (__ASSUME_AT_SECURE): Likewise.
20914 (__ASSUME_CORRECT_SI_PID): Likewise.
20915 (__ASSUME_TGKILL): Define without depending on kernel version for
20916 i386.
20917 (__ASSUME_UTIMES): Likewise.
20918 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20919 kernel version.
20920 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20921 (__ASSUME_TMPFS_NAME): Likewise.
20922 * README: Update reference to Linux kernel versions.
20923
20924 2012-08-02 Marek Polacek <polacek@redhat.com>
20925
20926 [BZ# 14150]
20927 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20928 libc_cv_asm_type_prefix with %.
20929 * configure: Regenerated.
20930 * include/libc-symbols.h: Remove comment about
20931 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20932 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20933 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20934 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20935 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20936 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20937 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20938 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20939 * elf/tst-unique2mod1.c: Likewise.
20940 * elf/tst-unique1mod2.c: Likewise.
20941 * elf/tst-unique1mod1.c: Likewise.
20942 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20943 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20944 Replace ASM_TYPE_DIRECTIVE with .type.
20945 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20946 * sysdeps/i386/sysdep.h: Likewise.
20947 * sysdeps/x86_64/sysdep.h: Likewise.
20948 * sysdeps/sh/sysdep.h: Likewise.
20949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20950 Do not define ASM_TYPE_DIRECTIVE.
20951 * sysdeps/powerpc/sysdep.h: Likewise.
20952 * sysdeps/powerpc/powerpc32/sysdep.h:
20953 Replace ASM_TYPE_DIRECTIVE with .type.
20954 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20955 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20956 * sysdeps/i386/fpu/e_powf.S: Likewise.
20957 * sysdeps/i386/fpu/e_expl.S: Likewise.
20958 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20959 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20960 * sysdeps/i386/fpu/e_pow.S: Likewise.
20961 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20962 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20963 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20964 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20965 * sysdeps/i386/fpu/e_log2.S: Likewise.
20966 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20967 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20968 * sysdeps/i386/fpu/e_powl.S: Likewise.
20969 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20970 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20971 * sysdeps/i386/fpu/e_logl.S: Likewise.
20972 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20973 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20974 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20975 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20976 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20977 * sysdeps/i386/fpu/e_log.S: Likewise.
20978 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20979 * sysdeps/i386/fpu/e_logf.S: Likewise.
20980 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20981 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20982 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20983 * sysdeps/i386/fpu/e_log10.S: Likewise.
20984 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20985 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20986 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20987 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20988 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20989 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20990 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20991 * sysdeps/i386/i686/strtok.S: Likewise.
20992 * sysdeps/i386/i386-mcount.S: Likewise.
20993 * sysdeps/i386/strtok.S: Likewise.
20994 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20995 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20996 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20997 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20998 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20999 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21000 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21001 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21002 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21003 * sysdeps/x86_64/_mcount.S: Likewise.
21004 * sysdeps/x86_64/strtok.S: Likewise.
21005 * sysdeps/sh/_mcount.S: Likewise.
21006
21007 2012-08-01 Roland McGrath <roland@hack.frob.com>
21008
21009 * libio/iofopen.c: Include <fcntl.h>.
21010 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21011 (_IO_fopen64, fopen64): Define as aliases.
21012 * libio/iofopen64.c: Include <fcntl.h>.
21013 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21014 Conditionalize body on this.
21015 * sysdeps/wordsize-64/iofopen.c: File removed.
21016 * sysdeps/wordsize-64/iofopen64.c: File removed.
21017
21018 2012-08-01 Marek Polacek <polacek@redhat.com>
21019
21020 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21021 Use dlfcn directly instead of a variable.
21022 (binfmt-subdir): Do not define.
21023 (dlfcn): Likewise.
21024
21025 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21026
21027 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21028 Remove all definitions.
21029 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21030 <kernel-features.h>.
21031 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21032 (miss_F_GETOWN_EX): Remove all definitions.
21033 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21034 macro definition.
21035 [!__ASSUME_FCNTL64]: Remove conditional code.
21036 [__ASSUME_FCNTL64]: Make code unconditional.
21037 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21038 <kernel-features.h>.
21039 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21040 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21041 (lockf64) [__NR_fcntl64]: Make code unconditional.
21042 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21043
21044 * sysdeps/unix/sysv/linux/kernel-features.h
21045 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21046 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21047 Make code unconditional.
21048 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21049 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21051 [__NR_vfork]: Make code unconditional.
21052 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21053 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21055 [__NR_vfork]: Make code unconditional.
21056 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21057 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21058
21059 2012-08-01 Roland McGrath <roland@hack.frob.com>
21060
21061 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21062 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21063
21064 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21065 Define mkstemp64 as an alias.
21066 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21067 Define mkstemps64 as an alias.
21068 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21069 Define mkostemp64 as an alias.
21070 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21071 Define mkostemps64 as an alias.
21072 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21073 Conditionalize body on this.
21074 * misc/mkostemp64.c: Likewise.
21075 * misc/mkostemps64.c: Likewise.
21076 * misc/mkstemps64.c: Likewise.
21077 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21078 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21079 * sysdeps/wordsize-64/mkostemp.c: File removed.
21080 * sysdeps/wordsize-64/mkstemp.c: File removed.
21081 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21082 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21083 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21084 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21085
21086 [BZ #14138]
21087 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21088 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21089 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21090 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21091
21092 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21093 compat_symbol macros from <shlib-compat.h> rather than the underlying
21094 default_symbol_version and symbol_version macros, so that DEFAULT
21095 lines in shlib-versions are respected.
21096 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21097
21098 2012-08-01 Florian Weimer <fweimer@redhat.com>
21099
21100 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21101 Declare with warn_unused_result.
21102 (setgid, setregid, setegid, setresgid): Likewise.
21103 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21104 Likewise.
21105 * WUR-REPORT: Remove set*id functions.
21106
21107 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21108
21109 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21110
21111 2012-07-31 Roland McGrath <roland@hack.frob.com>
21112
21113 [BZ #10191]
21114 * include/sys/socket.h (__libc_accept, __libc_accept4):
21115 Add attribute_hidden.
21116 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21117
21118 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21119 use of PTR_MANGLE.
21120 * inet/getnetgrent_r.c (setup): Likewise.
21121
21122 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21123
21124 2012-07-31 David S. Miller <davem@davemloft.net>
21125
21126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21127
21128 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21129
21130 [BZ #13629]
21131 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21132 value between 1.0 and 2.0 and smaller part has absolute value less
21133 than 1.0.
21134 * math/s_clog10.c (__clog10): Likewise.
21135 * math/s_clog10f.c (__clog10f): Likewise.
21136 * math/s_clog10l.c (__clog10l): Likewise.
21137 * math/s_clogf.c (__clogf): Likewise.
21138 * math/s_clogl.c (__clogl): Likewise.
21139 * math/libm-test.inc (clog_test): Add more tests.
21140 (clog10_test): Likewise.
21141 * sysdeps/i386/fpu/libm-test-ulps: Update.
21142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21143
21144 2012-07-31 Florian Weimer <fweimer@redhat.com>
21145
21146 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21147 Exit with zero in case no suitable GID is found, and write a
21148 message to standard error.
21149
21150 2012-07-30 Roland McGrath <roland@hack.frob.com>
21151
21152 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21153 rather than to 1.
21154 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21155 (MAXPATHLEN): Removed.
21156 (NOGROUP, NODEV): New macros.
21157 (setbit, clrbit, isset, isclr): New macros.
21158 (howmany, roundup, powerof2): New macros.
21159 (DEV_BSIZE): New macro.
21160
21161 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21162 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21163
21164 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21165 definition on [!__NO_LONG_DOUBLE_MATH].
21166
21167 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21168 PTR_MANGLE and PTR_DEMANGLE.
21169
21170 * socket/accept4.c (accept4): Rename to __libc_accept4.
21171 Define accept4 as a weak alias.
21172
21173 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21174 on [_DIRENT_HAVE_D_TYPE].
21175 * io/ftw.c (ftw_dir): Likewise.
21176
21177 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21178
21179 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21180
21181 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21182 Use the BSD numbers rather than the arbitrary ones we had.
21183 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21184 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21185 (SIGXCPU, SIGXFSZ): New macros.
21186 (_NSIG): Now 32.
21187
21188 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21189 initializer on [_LIBC_REENTRANT].
21190
21191 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21192 definitions inside [_POSIX_MAPPED_FILES].
21193
21194 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21195
21196 * dirent/opendir.c: Include <fcntl.h>.
21197
21198 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21199 (__libc_getspecific): Likewise.
21200 (__libc_key_create): Likewise.
21201
21202 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21203 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21204 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21205 (tmpfile64): Define as alias.
21206 * sysdeps/wordsize-64/tmpfile.c: File removed.
21207 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21208 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21209 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21210
21211 * stdio-common/vfscanf.c: Include <stdbool.h>.
21212 * nss/makedb.c: Likewise.
21213 * stdio-common/_i18n_number.h: Likewise.
21214 * argp/argp-help.c: Likewise.
21215 * posix/wordexp.c: Likewise.
21216 * sysdeps/posix/spawni.c: Likewise.
21217 * nss/nss_files/files-initgroups.c: Likewise.
21218 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21219 * nss/nss_files/files-initgroups.c: Likewise.
21220 * nss/nss_db/db-netgrp.c: Likewise.
21221 * nss/nss_db/db-initgroups.c: Likewise.
21222 * io/fchmodat.c: Include <sys/stat.h>.
21223
21224 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21225 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21226
21227 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21228 [HAVE_MMAP].
21229
21230 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21231 Add multiple inclusion protection.
21232
21233 2012-07-27 David S. Miller <davem@davemloft.net>
21234
21235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21236
21237 2012-07-27 Gary Benson <gbenson@redhat.com>
21238
21239 [BZ #14298]
21240 * elf/rtld.c: Include <stap-probe.h>.
21241 (dl_main): Added static probes "init_start" and "init_complete".
21242 * elf/dl-load.c: Include <stap-probe.h>.
21243 (lose): Take new parameter "nsid".
21244 Added static probe "map_failed".
21245 (_dl_map_object_from_fd): Pass namespace id to lose.
21246 Added static probe "map_start".
21247 (open_verify): Pass namespace id to lose.
21248 * elf/dl-open.c: Include <stap-probe.h>.
21249 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21250 and "reloc_complete".
21251 * elf/dl-close.c: Include <stap-probe.h>.
21252 (_dl_close_worker): Added static probes "unmap_start" and
21253 "unmap_complete".
21254 * elf/rtld-debugger-interface.txt: New file documenting the above.
21255
21256 2012-07-26 Roland McGrath <roland@hack.frob.com>
21257
21258 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21259 rather than a string variable.
21260 * sunrpc/rpc_main.c (h_output): Likewise.
21261 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21262
21263 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21264
21265 * inet/check_native.c: New file.
21266
21267 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21268
21269 [BZ #13629]
21270 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21271 if larger part has absolute value 1.0.
21272 * math/s_clog10.c (__clog10): Likewise.
21273 * math/s_clog10f.c (__clog10f): Likewise.
21274 * math/s_clog10l.c (__clog10l): Likewise.
21275 * math/s_clogf.c (__clogf): Likewise.
21276 * math/s_clogl.c (__clogl): Likewise.
21277 * math/libm-test.inc (clog_test): Add more tests.
21278 (clog10_test): Likewise.
21279 * sysdeps/i386/fpu/libm-test-ulps: Update.
21280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21281
21282 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21283 (pltexit): Likewise.
21284 (La_regs): Likewise.
21285 (La_retval): Likewise.
21286 (int_retval): Likewise.
21287 Update #error for removed macros to refer only to definitions in
21288 tst-audit.h.
21289 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21290 macro.
21291 (pltexit): Likewise.
21292 (La_regs): Likewise.
21293 (La_retval): Likewise.
21294 (int_retval): Likewise.
21295 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21296 macro.
21297 (pltexit): Likewise.
21298 (La_regs): Likewise.
21299 (La_retval): Likewise.
21300 (int_retval): Likewise.
21301 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21302 macro.
21303 (pltexit): Likewise.
21304 (La_regs): Likewise.
21305 (La_retval): Likewise.
21306 (int_retval): Likewise.
21307 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21308 macro.
21309 (pltexit): Likewise.
21310 (La_regs): Likewise.
21311 (La_retval): Likewise.
21312 (int_retval): Likewise.
21313 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21314 macro.
21315 (pltexit): Likewise.
21316 (La_regs): Likewise.
21317 (La_retval): Likewise.
21318 (int_retval): Likewise.
21319 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21320 macro.
21321 (pltexit): Likewise.
21322 (La_regs): Likewise.
21323 (La_retval): Likewise.
21324 (int_retval): Likewise.
21325 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21326 macro definitions in tst-audit.h.
21327 * sysdeps/i386/tst-audit.h: New file.
21328 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21329 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21330 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21331 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21332 * sysdeps/sh/tst-audit.h: Likewise.
21333 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21334 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21335 * sysdeps/x86_64/tst-audit.h: Likewise.
21336
21337 2012-07-26 Andreas Jaeger <aj@suse.de>
21338
21339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21340 ptrace.
21341
21342 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21343 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21344 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21345 PTRACE_O_MASK.
21346 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21347 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21348 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21349
21350 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21351 value.
21352
21353 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21354 _sigsys.
21355 (si_call_addr, si_syscall, si_arch): Define new macro.
21356 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21357 _sigsys.
21358 (si_call_addr, si_syscall, si_arch): Define new marcro.
21359 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21360 _sigsys.
21361 (si_call_addr, si_syscall, si_arch): Define new macro.
21362 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21363 _sigsys.
21364 (si_call_addr, si_syscall, si_arch): Define new macro.
21365
21366 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21367
21368 [BZ #13717]
21369 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21370 Change to 2.4.21 where previously 2.4.1.
21371 * sysdeps/unix/sysv/linux/configure: Regenerated.
21372 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21373 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21374 Linux kernel version.
21375 (__ASSUME_STD_AUXV): Remove.
21376 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21377 kernel version.
21378 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21379 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21380 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21381 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21382 (__ASSUME_NETLINK_SUPPORT): Likewise.
21383 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21384 (__no_netlink_support): Remove conditional definition.
21385 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21386 Remove.
21387 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21388 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21389 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21390 (if_nameindex_ioctl): Remove.
21391 (if_nameindex_netlink): Do not handle __no_netlink_support.
21392 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21393 code.
21394 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21395 Remove conditional code.
21396 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21397 code.
21398 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21399 unconditional.
21400 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21401 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21402 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21403 Remove.
21404 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21405 [!__ASSUME_STD_AUXV]: Remove conditional code.
21406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21407 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21408 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21410 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21411 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21412 code.
21413 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21415 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21416 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21417 conditional code.
21418 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21420 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21421 code.
21422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21423 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21424 conditional code.
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21426 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21427 code unconditional.
21428 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21429 conditional code.
21430 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21431 unconditional.
21432 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21433 conditional code.
21434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21435 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21436 unconditional.
21437 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21438 conditional code.
21439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21440 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21441 code unconditional.
21442 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21443 conditional code.
21444 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21445 unconditional.
21446 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21447 conditional code.
21448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21449 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21450 code unconditional.
21451 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21452 conditional code.
21453 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21454 unconditional.
21455 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21456 conditional code.
21457
21458 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21459
21460 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21461 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21462 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21463 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21464 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21465 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21466 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21467 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21468 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21469 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21470 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21471 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21472 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21473 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21474 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21475 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21476 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21477 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21478 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21480 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21481 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21482 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21483
21484 2012-07-25 Florian Weimer <fweimer@redhat.com>
21485
21486 * Versions.def: Add GLIBC_2.17.
21487 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21488 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21489 Introduce __libc_secure_getenv.
21490 * stdlib/Versions (2.17): Add secure_getenv
21491 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21492 * stdlib/secure-getenv.c: Rename __secure_getenv to
21493 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21494 symbol __secure_getenv for GLIBC_2.0.
21495 * stdlib/tst-secure-getenv.c: New.
21496 * stdlib/Makefile (tests): Add testcase.
21497 * manual/startup.texi (Environment Access): Document
21498 secure_getenv.
21499 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21500 __libc_secure_getenv.
21501 * inet/ruserpass.c (ruserpass): Likewise.
21502 * malloc/mtrace.c (mtrace): Likewise.
21503 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21504 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21505 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21506 * sysdeps/posix/tempname.c: Likewise. Evaluate
21507 HAVE_SECURE_GETENV.
21508 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21509 __secure_getenv to __libc_secure_getenv.
21510 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21512 Likewise.
21513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21514 Likewise.
21515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21522
21523 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21524
21525 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21526 (struct La_i86_retval): Likewise.
21527 (struct La_x86_64_regs): Likewise.
21528 (struct La_x86_64_retval): Likewise.
21529 (struct La_x32_regs): Likewise.
21530 (struct La_x32_retval): Likewise.
21531 (struct La_ppc32_regs): Likewise.
21532 (struct La_ppc32_retval): Likewise.
21533 (struct La_ppc64_regs): Likewise.
21534 (struct La_ppc64_retval): Likewise.
21535 (struct La_sh_regs): Likewise.
21536 (struct La_sh_retval): Likewise.
21537 (struct La_s390_32_regs): Likewise.
21538 (struct La_s390_32_retval): Likewise.
21539 (struct La_s390_64_regs): Likewise.
21540 (struct La_s390_64_retval): Likewise.
21541 (struct La_sparc32_regs): Likewise.
21542 (struct La_sparc32_retval): Likewise.
21543 (struct La_sparc64_regs): Likewise.
21544 (struct La_sparc64_retval): Likewise.
21545 (struct audit_ifaces): Remove architecture-specific pltenter and
21546 pltexit members.
21547 * sysdeps/i386/ldsodefs.h: New file.
21548 * sysdeps/powerpc/ldsodefs.h: Likewise.
21549 * sysdeps/s390/ldsodefs.h: Likewise.
21550 * sysdeps/sh/ldsodefs.h: Likewise.
21551 * sysdeps/sparc/ldsodefs.h: Likewise.
21552 * sysdeps/x86_64/ldsodefs.h: Likewise.
21553
21554 2012-07-25 Marek Polacek <polacek@redhat.com>
21555
21556 [BZ #6808]
21557 * math/libm-test.inc (yn_test): Add another test.
21558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21559 to ERANGE when the result is +-Inf.
21560 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21561 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21562 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21563 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21564
21565 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21566
21567 * conform/data/time.h-data (NULL): Use macro-constant. Require
21568 equal to 0.
21569 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21570 clock_t.
21571 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21572
21573 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21574
21575 * configure.in <sysdeps resolving>: Correct printing
21576 Implies_before.
21577 * configure: Regenerate.
21578
21579 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21580
21581 * math/w_ilogb.c: Include <limits.h>.
21582 * math/w_ilogbl.c: Likewise.
21583
21584 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21585
21586 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21587 va_copy. Document allowing for unavailable va_copy only as
21588 pre-C99 compatibility.
21589 * manual/string.texi (Copying and Concatenation): Use va_copy
21590 instead of __va_copy in concat example.
21591
21592 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21593
21594 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21595 (__sendto): Use create_address_port. Initialize APORT and deallocate
21596 it if not null.
21597
21598 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21599 with O_NOLINK passed to __file_name_lookup.
21600
21601 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21602 with O_NOLINK passed to __file_name_lookup.
21603
21604 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21605 negative N or less than NGIDS.
21606
21607 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21608 type to string_t. Set ERANGE as errno and return it if NAME is not big
21609 enough. Use memcpy instead of strncpy.
21610
21611 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21612
21613 * elf/Makefile (check-data): Remove.
21614 (localplt.data): New vpath directive.
21615 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21616 instead of $(check-data).
21617 * scripts/data/localplt-generic.data: Move to ...
21618 * sysdeps/generic/localplt.data: ... here.
21619 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21620 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21621 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21623 ... here.
21624 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21626 ... here.
21627 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21629 ... here.
21630 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21632 ... here.
21633 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21635 ... here.
21636 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21638 ... here.
21639
21640 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21641
21642 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21643 PPC32 and PPC64 files.
21644 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21645 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21646
21647 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21648
21649 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21650 __makecontext_ret to ...
21651 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21652 ... here and call exit if uc_link is NULL. New file.
21653 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21654 __makecontext_ret.S.
21655 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21656 __makecontext_ret to ...
21657 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21658 ... here and call exit if uc_link is NULL. New file.
21659 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21660 __makecontext_ret.S.
21661
21662 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21663
21664 * elf/elf.h (R_390_IRELATIVE): New definition.
21665 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21666 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21667 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21668 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21669 (elf_machine_lazy_rel): Likewise.
21670 * sysdeps/s390/dl-irel.h: New file.
21671 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21672 * sysdeps/s390/s390-64/memset.S: New asm code.
21673 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21674 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21675 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21676 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21677 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21678 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21679 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21680 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21681 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21682 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21683 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21684 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21685 * sysdeps/s390/s390-32/memset.S: New asm code.
21686 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21687
21688 2012-07-17 Marek Polacek <polacek@redhat.com>
21689
21690 [BZ #14349]
21691 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21692 * sysdeps/s390/s390-64/configure.in: Likewise.
21693 * sysdeps/sparc/configure.in: Likewise.
21694 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21695 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21696 * sysdeps/i386/configure.in: Likewise.
21697 * sysdeps/x86_64/configure.in: Likewise.
21698 * sysdeps/sh/configure.in: Likewise.
21699 * sysdeps/s390/s390-32/configure: Regenerated.
21700 * sysdeps/s390/s390-64/configure: Likewise.
21701 * sysdeps/x86_64/configure: Likewise.
21702 * sysdeps/sh/configure: Likewise.
21703 * sysdeps/powerpc/powerpc64/configure: Likewise.
21704 * sysdeps/powerpc/powerpc32/configure: Likewise.
21705 * sysdeps/sparc/configure: Likwise.
21706 * sysdeps/i386/configure: Likewise.
21707
21708 * elf/dl-open.c: Comment fixes.
21709
21710 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21711
21712 * Makefile [CXX] (check-data): Remove.
21713 [CXX] (c++-types.data): New vpath directive.
21714 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21715 vpath. Do not allow for C++ type data being missing.
21716 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21717 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21718 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21719 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21720 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21721 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21722 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21724 ... here.
21725 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21727 ... here.
21728 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21730 ... here.
21731 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21733 ... here.
21734 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21736 ... here.
21737 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21739 ... here.
21740 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21742 ... here.
21743 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21745
21746 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21747 definitions to architecture-specific files.
21748 (TLS_IE): Likewise.
21749 (TLS_LD): Likewise.
21750 (TLS_GD): Likewise.
21751 * sysdeps/i386/tls-macros.h: New file.
21752 * sysdeps/powerpc/tls-macros.h: Likewise.
21753 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21754 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21755 * sysdeps/sh/tls-macros.h: Likewise.
21756 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21757 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21758 * sysdeps/x86_64/tls-macros.h: Likewise.
21759
21760 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21761
21762 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21763 zero value for regular exit case.
21764
21765 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21766 (__start_context): Preserve zero value for regular exit case.
21767
21768 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21769 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21770
21771 * manual/setjmp.texi (setcontext): Clarify normal process
21772 termination when uc_link is the null pointer.
21773 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21774 exit call.
21775
21776 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21777
21778 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21779 preprocessor. Test for each exception mask separately.
21780
21781 2012-07-16 Andreas Jaeger <aj@suse.de>
21782
21783 * po/ru.po: Update from translation team.
21784
21785 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21786
21787 * conform/data/string.h-data (NULL): Use macro-constant. Require
21788 equal to 0.
21789 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21790 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21791 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21792 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21794
21795 2012-07-13 Andreas Jaeger <aj@suse.de>
21796
21797 * po/fr.po: Update from translation team.
21798
21799 2012-07-12 Marek Polacek <polacek@redhat.com>
21800
21801 [BZ #14173]
21802 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21803 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21804 loop condition.
21805
21806 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21807
21808 [BZ #13717]
21809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21810 Change to 2.4.1 where previously 2.4.0.
21811 * sysdeps/unix/sysv/linux/configure: Regenerated.
21812 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21813 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21814 version.
21815 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21816 (__ASSUME_AT_CLKTCK): Remove.
21817 (__ASSUME_AT_PAGESIZE): Likewise.
21818 (__ASSUME_AT_XID): Likewise.
21819 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21820 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21821 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21822 unconditionally.
21823 (HAVE_AUX_PAGESIZE): Likewise.
21824 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21825 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21826 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21827
21828 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21829
21830 [BZ #14307]
21831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21832 the temporary buffer used to invoke __gethostbyname2_r,
21833 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21834 host_data / struct gaih_addrtuple.
21835 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21836 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21837 header file nss/nsswitch.h.
21838 * nss/nsswitch.h (global scope): Add definition of implementation
21839 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21840 resolv/nss_dns/dns-host.c).
21841
21842 2012-07-11 Andreas Jaeger <aj@suse.de>
21843
21844 * po/fr.po: Update from translation team.
21845
21846 * po/sv.po: Update from translation team
21847 * po/fr.po: Another update from translation team.
21848
21849 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21850
21851 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21852 for subnormals or multiply small sinh result by itself.
21853 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21855
21856 2012-07-11 David S. Miller <davem@davemloft.net>
21857
21858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21859
21860 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21861
21862 [BZ #14347]
21863 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21864 (INTERNAL_MARK): Shift it here.
21865
21866 2012-07-10 Marek Polacek <polacek@redhat.com>
21867
21868 [BZ #14151]
21869 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21870 libc_cv_asm_global_directive with .globl.
21871 * configure: Regenerated.
21872 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21873 with .globl.
21874 * sysdeps/i386/configure: Regenerated.
21875 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21876 with .globl.
21877 * sysdeps/x86_64/configure: Regenerated.
21878 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21879 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21880 * elf/tst-unique2mod2.c: Likewise.
21881 * elf/tst-unique2mod1.c: Likewise.
21882 * elf/tst-unique1mod2.c: Likewise.
21883 * elf/tst-unique1mod1.c: Likewise.
21884 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21885 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21887 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21888 * sysdeps/mach/sysdep.h: Likewise.
21889 * sysdeps/i386/sysdep.h: Likewise.
21890 * sysdeps/i386/i386-mcount.S: Likewise.
21891 * sysdeps/x86_64/_mcount.S: Likewise.
21892 * sysdeps/x86_64/sysdep.h: Likewise.
21893 * sysdeps/sh/_mcount.S: Likewise.
21894 * sysdeps/sh/sysdep.h: Likewise.
21895 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21896 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21897 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21898 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21899 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21900 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21901 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21902 * locale/localeinfo.h: Likewise.
21903 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21904 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21905
21906 2012-07-09 Roland McGrath <roland@hack.frob.com>
21907
21908 [BZ #14336]
21909 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21910 system".
21911 * manual/message.texi (The Uniforum approach): Likewise.
21912 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21913 (glibc iconv Implementation): Likewise.
21914
21915 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21916
21917 [BZ #14337]
21918 * math/s_clog.c (__clog): Avoid scaling a value down where that
21919 could result in underflow.
21920 * math/s_clog10.c (__clog10): Likewise.
21921 * math/s_clog10f.c (__clog10f): Likewise.
21922 * math/s_clog10l.c (__clog10l): Likewise.
21923 * math/s_clogf.c (__clogf): Likewise.
21924 * math/s_clogl.c (__clogl): Likewise.
21925 * math/libm-test.inc (clog_test): Add more tests.
21926 (clog10_test): Likewise.
21927 * sysdeps/i386/fpu/libm-test-ulps: Update.
21928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21929
21930 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21931
21932 [BZ #14283]
21933 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21934 by 7 not 8 to examine high bit of fractional part.
21935
21936 [BZ #14042]
21937 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21938 for call to __mcount_internal.
21939 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21940 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21941 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21942
21943 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21944
21945 [BZ #14154]
21946 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21947 approximation for values within 0x1p-13f of an odd multiple of
21948 pi/4.
21949 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21950 exception. Add more tests.
21951 * sysdeps/i386/fpu/libm-test-ulps: Update.
21952
21953 [BZ #6778]
21954 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21955 inputs and return -1 for them. Do not check for +Inf in case not
21956 reachable for +Inf.
21957 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21958 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21959 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21960 and return -1 for them. Do not check for +Inf in case not
21961 reachable for +Inf.
21962 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21963 define.
21964 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21965 and return -1 for them. Do not check for +Inf in case not
21966 reachable for +Inf.
21967 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21968 spurious underflow.
21969 * sysdeps/i386/fpu/libm-test-ulps: Update.
21970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21971
21972 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21973
21974 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21975
21976 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21977
21978 [BZ #14157]
21979 [BZ #14331]
21980 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21981 could result in spurious underflow. Scale down values above
21982 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21983 * math/s_csqrtf.c (__csqrtf): Likewise.
21984 * math/s_csqrtl.c (__csqrtl): Likewise.
21985 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21986 spurious underflow.
21987 * sysdeps/i386/fpu/libm-test-ulps: Update.
21988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21989
21990 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21991
21992 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21993 xopen-msg.sed.
21994 * catgets/xopen-msg.awk: New file.
21995 * catgets/xopen-msg.sed: Removed.
21996
21997 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21998 po2text.sed.
21999 * intl/po2test.awk: New file.
22000 * intl/po2test.sed: Removed.
22001
22002 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22003
22004 [BZ #14328]
22005 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22006 or multiply small sinh result by itself.
22007 * math/s_ctanf.c (__ctanf): Likewise.
22008 * math/s_ctanh.c (__ctanh): Likewise.
22009 * math/s_ctanhf.c (__ctanhf): Likewise.
22010 * math/s_ctanhl.c (__ctanhl): Likewise.
22011 * math/s_ctanl.c (__ctanl): Likewise.
22012 * math/libm-test.inc (ctan_test_tonearest): New function.
22013 (ctan_test_towardzero): Likewise.
22014 (ctan_test_downward): Likewise.
22015 (ctan_test_upward): Likewise.
22016 (ctanh_test_tonearest): Likewise.
22017 (ctanh_test_towardzero): Likewise.
22018 (ctanh_test_downward): Likewise.
22019 (ctanh_test_upward): Likewise.
22020 (main): Call these new functions.
22021 * sysdeps/i386/fpu/libm-test-ulps: Update.
22022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22023
22024 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22025
22026 * .gitignore: Delete /ports entry.
22027
22028 2012-07-03 Andreas Jaeger <aj@suse.de>
22029
22030 * po/bg.po: Update from translation team.
22031 * po/cs.po: Likewise.
22032 * po/de.po: Likewise.
22033 * po/hr.po: Likewise.
22034 * po/nl.pl: Likewise.
22035 * po/pl.po: Likewise.
22036 * po/vi.po: Likewise.
22037
22038 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22039
22040 * Makeconfig [!+link] (+link-before-libc): New variable.
22041 [!+link] (+link-after-libc): Likewise.
22042 [!+link] (+link-tests): Likewise.
22043 [!+link] (+link): Define in terms of $(+link-before-libc) and
22044 $(+link-after-libc).
22045 [!+link-static] (+link-static-before-libc): New variable.
22046 [!+link-static] (+link-static-after-libc): Likewise.
22047 [!+link-static] (+link-static-tests): Likewise.
22048 [!+link-static] (+link-static): Define in terms of
22049 $(+link-static-before-libc) and $(+link-static-after-libc).
22050 [build-shared] (link-libc-before-gnulib): New variable.
22051 [build-shared] (link-libc-tests): Likewise.
22052 [build-shared] (link-libc): Define in terms of
22053 $(link-libc-before-gnulib).
22054 [!build-shared] (link-libc-tests): New variable.
22055 (link-libc-static-tests): New variable.
22056 [!gnulib] (gnulib-arch): New variable.
22057 [!gnulib] (gnulib-tests): Likewise.
22058 [!gnulib] (static-gnulib-arch): Likewise.
22059 [!gnulib] (static-gnulib-tests): Likewise.
22060 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22061 Define with "=" instead of ":=".
22062 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22063 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22064 * Rules (binaries-all-notests): New variable.
22065 (binaries-all-tests): Likewise.
22066 (binaries-static-notests): Likewise.
22067 (binaries-static-tests): Likewise.
22068 (binaries-all): Define using $(binaries-all-notests) and
22069 $(binaries-all-tests).
22070 (binaries-static): Define using $(binaries-static-notests) and
22071 $(binaries-static-tests).
22072 (binaries-shared-tests): New variable.
22073 (binaries-shared-notests): Likewise.
22074 (binaries-shared): Remove variable.
22075 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22076 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22077 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22078 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22079 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22080 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22081 * elf/Makefile (sln-modules): New variable.
22082 (extra-objs): Add $(sln-modules:=.o).
22083 (ldconfig-modules): Add static-stubs.
22084 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22085 * elf/static-stubs.c: New file.
22086
22087 [BZ #14283]
22088 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22089 by 7 not 8 to examine high bit of fractional part. Use volatile
22090 variables when splitting into final array of floats if
22091 __FLT_EVAL_METHOD__ != 0.
22092 * math/libm-test.inc (cos_test): Add another test.
22093 (sin_test): Likewise.
22094 * sysdeps/i386/fpu/libm-test-ulps: Update.
22095
22096 [BZ #14273]
22097 * math/libm-test.inc (cosh_test): Add more tests.
22098
22099 * version.h (RELEASE): Set to "development".
22100 (VERSION): Set to "2.16.90".
22101
22102 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22103
22104 * NEWS: Update copyright. Remove last-updated date.
22105 Mention math library bug fixes and timezone data changes.
22106 * README: Mention GNU/Hurd, x32, and HPPA support status.
22107
22108 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22109
22110 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22111
22112 2012-06-27 Andreas Jaeger <aj@suse.de>
22113
22114 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22115
22116 2012-06-25 Andreas Jaeger <aj@suse.de>
22117
22118 * sysdeps/s390/fpu/libm-test-ulps: Update.
22119
22120 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22121 Thomas Schwinge <thomas@codesourcery.com>
22122
22123 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22124 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22126 fanotify_mark.
22127
22128 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22129
22130 * sysdeps/mach/start.c: Remove file.
22131 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22132 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22133 * sysdeps/sh/init-first.c: Likewise.
22134
22135 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22136 registers for frame unwinding purposes, add CFI directives.
22137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22138 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22139 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22140 Likewise.
22141
22142 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22143 __fortify_fail returning.
22144 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22145
22146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22147 sysdeps/sh/____longjmp_chk.S.
22148 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22149 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22150 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22151 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22152
22153 * sysdeps/sh/abort-instr.h: New file.
22154 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22155 process in case exit returns.
22156
22157 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22158 initialize the GOT register before use.
22159
22160 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22161 calculation of ARGC > 4.
22162
22163 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22164 meaningful names to some local labels.
22165
22166 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22167 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22168
22169 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22170 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22171 (__arch_compare_and_exchange_val_16_acq): Likewise.
22172 (__arch_compare_and_exchange_val_32_acq): Likewise.
22173 (atomic_exchange_and_add): Fix gUSA sequence.
22174 (atomic_add): Likewise.
22175 (atomic_add_negative): Likewise.
22176 (atomic_add_zero): Likewise.
22177 (atomic_bit_test_set): Likewise.
22178
22179 2012-06-22 Andreas Schwab <schwab@redhat.com>
22180
22181 [BZ #13579]
22182 * include/link.h (struct link_map): Add l_free_initfini.
22183 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22184 l_initfini.
22185 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22186 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22187 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22188 set.
22189
22190 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22191
22192 * configure.in: Use AC_LANG_SOURCE.
22193 * configure: Regenerate.
22194
22195 2012-06-22 Roland McGrath <roland@hack.frob.com>
22196
22197 * configure.in (libc_cv_localstatedir): New substituted variable.
22198 * configure: Regenerated.
22199 * config.make.in (localstatedir): New variable, substituted from
22200 libc_cv_localstatedir.
22201 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22202 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22203 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22204 * sysdeps/gnu/configure: Regenerated.
22205
22206 2012-06-21 Jeff Law <law@redhat.com>
22207
22208 [BZ #14277]
22209 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22210 free. Simplify list management for _LIBC case.
22211
22212 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22213
22214 [BZ #14273]
22215 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22216 Clear sign bit of 64-bit integer value before comparing against
22217 overflow value.
22218
22219 * sysdeps/mach/configure: Regenerated.
22220
22221 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22222
22223 [BZ #14278]
22224 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22225
22226 2012-06-21 Jeff Law <law@redhat.com>
22227
22228 [BZ #13882]
22229 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22230 uint16_t for elements in the "seen" array to avoid char overflows.
22231 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22232 * elf/dl-open.c (dl_open_worker): Likewise.
22233
22234 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22235
22236 * scripts/list-sources.sh: Scan PORTS for translations.
22237 * po/libc.pot: Regenerated.
22238
22239 2012-06-21 Andreas Jaeger <aj@suse.de>
22240
22241 [BZ #12194]
22242 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22243 warning.
22244 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22245 * bits/byteswap-16.h (__bswap_16): Likewise.
22246 * bits/byteswap.h (__bswap_constant_16): Likewise.
22247
22248 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22249
22250 [BZ #14117]
22251 * sysdeps/i386/fpu_control.h: Removed.
22252 * sysdeps/x86_64/fpu_control.h: Moved to ...
22253 * sysdeps/x86/fpu_control.h: Here.
22254
22255 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22256 (_FPU_SETCW): Likewise.
22257
22258 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22259
22260 [BZ #14117]
22261 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22262 * sysdeps/x86/fpu/bits/mathinline.h: This.
22263 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22264
22265 [BZ #14050]
22266 [BZ #14117]
22267 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22268 functions if __x86_64__ is defined.
22269
22270 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22271
22272 * string/endian.h: Add !__ASSEMBLER__ condition for including
22273 conversion interfaces.
22274
22275 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22276
22277 [BZ #14241]
22278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22279 of ABS(x) in calculating zero to negative powers other than odd
22280 integers.
22281 * math/libm-test.inc (pow_test): Add more tests.
22282
22283 2012-06-15 Andreas Jaeger <aj@suse.de>
22284
22285 * manual/contrib.texi (Contributors): Update entry of Liubov
22286 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22287 Machado Filho.
22288
22289 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22290
22291 * string/string.h: Add __wur to GNU version of strerror_r.
22292
22293 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22294
22295 [BZ #14229]
22296 * string/Makefile (tests): Add tst-strtok_r.
22297 * string/tst-strtok_r.c: New file.
22298 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22299 RAX_LP/RDX_LP on SAVE_PTR.
22300
22301 2012-06-14 Roland McGrath <roland@hack.frob.com>
22302
22303 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22304
22305 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22306
22307 * libm_test.inc (csqrt_test): Allow more spurious underflow
22308 exceptions.
22309 (j0_test): Likewise.
22310 (j1_test): Likewise.
22311 (y0_test): Likewise.
22312 (y1_test): Likewise.
22313
22314 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22315
22316 * po/Makefile (libc.pot): Use UTF-8 charset.
22317
22318 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22319
22320 [BZ #14210]
22321 Suppress sign-conversion warning from FD_SET.
22322 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22323 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22324 not unsigned long int.
22325 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22326
22327 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22328
22329 [BZ #14050]
22330 [BZ #14117]
22331 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22332 __extern_always_inline instead of __extern_inline.
22333 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22334 (__signbit): Likewise.
22335 (__signbitl): Support C++ namespace.
22336 (lrintf): New inline function.
22337 (lrint): Likewise.
22338 (llrintf): Likewise.
22339 (llrint): Likewise.
22340 (fmaxf): Likewise.
22341 (fmax): Likewise.
22342 (fminf): Likewise.
22343 (fmin): Likewise.
22344 (rint): Likewise.
22345 (rintf): Likewise.
22346 (ceil): Likewise.
22347 (ceilf): Likewise.
22348 (floor): Likewise.
22349 (floorf): Likewise.
22350 (nearbyint): Likewise.
22351 (nearbyintf): Likewise.
22352
22353 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22354
22355 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22356 non-default versions.
22357
22358 2012-06-11 Roland McGrath <roland@hack.frob.com>
22359
22360 [BZ #14218]
22361 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22362
22363 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22364
22365 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22366 (FE_UPWARD, FE_DOWNWARD): Don't define.
22367 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22368 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22369
22370 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22371 reading it.
22372 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22373 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22374
22375 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22376
22377 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22379 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22380 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22381
22382 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22383
22384 [BZ #14117]
22385 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22386 * sysdeps/i386/fpu/Implies: New file.
22387 * sysdeps/x86_64/fpu/Implies: Likewise.
22388 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22389 * sysdeps/x86/fpu/bits/fenv.h: This.
22390
22391 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22392 __SSE_MATH__.
22393
22394 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22395
22396 [BZ #14134]
22397 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22398 character 0xffff that matches the last element of the
22399 conversion table.
22400
22401 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22402
22403 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22404 fmodl commit.
22405
22406 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22407
22408 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22409 values higher than 25.6283.
22410
22411 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22412
22413 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22414 subnormal exponent extraction and add some __builtin_expect.
22415 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22416 Fix for subnormal mantissa calculation.
22417
22418 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22419
22420 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22421 cpu2 is -1 and errno is not ENOSYS.
22422
22423 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22424
22425 [BZ #14117]
22426 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22427 * sysdeps/x86/bits/string.h: This.
22428 * sysdeps/x86_64/bits/string.h: Removed.
22429
22430 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22431 if not compiling for x86-64, but compiling for >= i486.
22432
22433 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22434 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22435
22436 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22437 New macro from Linux kernel 3.4.0.
22438 (FP_XSTATE_MAGIC2): Likewise.
22439 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22440 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22441 (struct _fpx_sw_bytes): New struct.
22442 (struct _xsave_hdr): Likewise.
22443 (struct _ymmh_state): Likewise.
22444 (struct _xstate): Likewise.
22445
22446 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22447 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22448 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22449 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22450 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22451 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22452
22453 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22454 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22455 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22456 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22457 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22458 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22459
22460 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22461
22462 [BZ #13743]
22463 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22464 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22465 (sysdep_headers): Include sys/platform/ppc.h.
22466 * sysdeps/powerpc/test-gettimebase.c: Test for
22467 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22468 * manual/Makefile (appendices): Include platform.texi.
22469 * manual/contrib.texi (Contributors): Update @node pointers.
22470 * manual/maint.texi (Maintenance): Likewise.
22471 (Platform): New node.
22472 * manual/platform.texi: New file. Document the new features.
22473
22474 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22475 Jakub Jelinek <jakub@redhat.com>
22476
22477 [BZ #14188]
22478 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22479 where __builtin_expect is unavailable.
22480
22481 2012-06-03 David S. Miller <davem@davemloft.net>
22482
22483 * stdlib/longlong.h: Updated from GCC.
22484
22485 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22486
22487 [BZ #14042]
22488 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22489 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22490 __mcount_internal.
22491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22492 (GLIBC_2.16): Likewise.
22493
22494 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22495
22496 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22497
22498 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22499
22500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22501 (default-abi): New variable.
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22503 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22504 variable.
22505 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22506 Likewise.
22507 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22508 Likewise.
22509 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22510 Likewise.
22511
22512 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22513 definition. Document in comment.
22514
22515 2012-06-01 David S. Miller <davem@davemloft.net>
22516
22517 * stdlib/longlong.h: Updated from GCC.
22518
22519 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22520
22521 [BZ #14117]
22522 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22523 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22524 sys/debugreg.h sys/io.h here.
22525 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22526 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22527 sys/io.h.
22528 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22529 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22530 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22531 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22532 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22533 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22534
22535 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22536 Define only if __x86_64__ is defined.
22537
22538 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22539
22540 [BZ #14048]
22541 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22542 Use int64_t for variable i.
22543 * math/libm-test.inc (fmod_test): Add more tests.
22544
22545 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22546 z computation is not scheduled after fetestexcept.
22547 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22548 Use math_force_eval instead of asm to ensure calculation scheduled
22549 before exception test.
22550 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22551 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22552
22553 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22554
22555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22556 computation is not scheduled after fetestexcept.
22557
22558 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22559
22560 [BZ #14117]
22561 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22562 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22563
22564 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22565
22566 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22567 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22568
22569 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22570
22571 [BZ #14117]
22572 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22573 <bits/wordsize.h>.
22574 (__WCHAR_MIN): Support __WORDSIZE == 64.
22575 (__WCHAR_MAX): Likewise.
22576
22577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22579
22580 [BZ #14183]
22581 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22582 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22583
22584 [BZ #14117]
22585 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22586 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22587
22588 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22589 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22590
22591 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22592 Defined to 1 if __x86_64__ isn't defined.
22593 (_STAT_VER_LINUX_OLD): New.
22594 (st_atime): Remove duplicate.
22595 (st_mtime): Likewise.
22596 (st_ctime): Likewise.
22597
22598 2012-05-31 David S. Miller <davem@davemloft.net>
22599
22600 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22601 entries.
22602
22603 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22604
22605 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22606 gen-libm-test.pl.
22607
22608 [BZ #14132]
22609 * elf/dl-reloc.c: Include <_itoa.h>.
22610 (_dl_reloc_bad_type): Remove use of INTUSE.
22611 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22612 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22613 * stdio-common/psiginfo.c (psiginfo): Likewise.
22614 * stdio-common/psignal.c (psignal): Likewise.
22615 * string/strsignal.c (strsignal): Likewise.
22616 * include/signal.h (_sys_siglist): Declare hidden proto.
22617 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22618 INTVARDEF with libc_hidden_data_def.
22619 * stdio-common/itoa-udigits.c: Likewise.
22620 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22621 (_itoa_lower_digits_internal): Remove declaration.
22622 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22623 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22624 (_sys_sigabbrev_internal): Remove aliases.
22625 (_sys_siglist): Define hidden alias.
22626
22627 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22628
22629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22630 bits/sysctl.h.
22631
22632 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22633
22634 [BZ #14117]
22635 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22636 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22637
22638 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22639 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22640 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22641 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22643 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22644
22645 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22646 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22647 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22648
22649 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22650 with __addr.
22651 (insw): Likewise.
22652 (insl): Likewise.
22653 (outsb): Likewise.
22654 (outsw): Likewise.
22655 (outsl): Likewise.
22656
22657 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22658 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22659 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22660
22661 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22662 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22663 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22664 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22665 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22666 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22667
22668 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22669 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22670
22671 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22672 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22673
22674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22676 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22677
22678 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22679 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22680 to ...
22681 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22682
22683 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22684 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22685 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22686
22687 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22688 for x86-64.
22689 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22690
22691 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22692
22693 * math/math.h (M_El): Use two more decimal places.
22694 (M_LOG2El): Likewise.
22695 (M_LOG10El): Likewise.
22696 (M_LN2l): Likewise.
22697 (M_LN10l): Likewise.
22698 (M_PIl): Likewise.
22699 (M_PI_2l): Likewise.
22700 (M_PI_4l): Likewise.
22701 (M_1_PIl): Likewise.
22702 (M_2_PIl): Likewise.
22703 (M_2_SQRTPIl): Likewise.
22704 (M_SQRT2l): Likewise.
22705 (M_SQRT1_2l): Likewise.
22706
22707 2012-05-31 David S. Miller <davem@davemloft.net>
22708
22709 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22710 values between float registers.
22711 * sysdeps/sparc/sparc64/memset.S: Likewise.
22712 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22713
22714 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22715
22716 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22717 -D_FORTIFY_SOURCE=1.
22718 (CPPFLAGS-tst-longjmp_chk.c): Define.
22719 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22720 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22721 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22722 CFLAGS-tst-wchar-h.c.
22723
22724 2012-05-31 Marek Polacek <polacek@redhat.com>
22725
22726 [BZ #14132]
22727 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22728 __endmntent_internal): Remove declaration.
22729 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22730 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22731 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22732
22733 2012-05-30 David S. Miller <davem@davemloft.net>
22734
22735 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22736 (___Q_simulate_exceptions): Use real FP ops rather than writing
22737 into the %fsr.
22738 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22739 Likewise.
22740
22741 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22742
22743 [BZ #14117]
22744 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22745 * sysdeps/x86/bits/xtitypes.h: This.
22746
22747 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22748 * sysdeps/x86/bits/wordsize.h: This.
22749
22750 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22751 * sysdeps/x86/bits/huge_vall.h: This.
22752
22753 * sysdeps/i386/bits/select.h: Removed.
22754 * sysdeps/x86_64/bits/select.h: Renamed to ...
22755 * sysdeps/x86/bits/select.h: This.
22756
22757 * sysdeps/i386/bits/setjmp.h: Removed.
22758 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22759 * sysdeps/x86/bits/setjmp.h: This.
22760
22761 * sysdeps/i386/bits/mathdef.h: Removed.
22762 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22763 * sysdeps/x86/bits/mathdef.h: This.
22764
22765 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22766
22767 [BZ #14132]
22768 * include/sys/socket.h (__connect_internal)
22769 (__libc_sa_len_internal): Remove declaration.
22770 (__connect, __libc_sa_len): Declare hidden_proto.
22771 (SA_LEN): Remove use of INTUSE.
22772 * socket/connect.c: Add libc_hidden_def.
22773 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22774 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22775 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22776 alias.
22777 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22778 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22779 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22780 of adding _internal alias.
22781
22782 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22783
22784 [BZ #14117]
22785 * sysdeps/i386/bits/link.h: Removed.
22786 * sysdeps/i386/bits/linkmap.h: Likewise.
22787 * sysdeps/x86_64/bits/link.h: Renamed to ...
22788 * sysdeps/x86/bits/link.h: This.
22789 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22790 * sysdeps/x86/bits/linkmap.h: This.
22791
22792 * sysdeps/i386/bits/endian.h: Removed.
22793 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22794 * sysdeps/x86/bits/endian.h: This.
22795
22796 * sysdeps/i386/bits/byteswap.h: Removed.
22797 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22798 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22799 * sysdeps/x86/bits/byteswap.h: This.
22800 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22801 * sysdeps/x86/bits/byteswap-16.h: This.
22802 * sysdeps/i386/Implies: Add x86.
22803 * sysdeps/x86_64/Implies: Likewise.
22804
22805 2012-05-30 David S. Miller <davem@davemloft.net>
22806
22807 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22808 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22809 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22810 (FP_TRAPPING_EXCEPTIONS): Define.
22811 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22812 (FP_TRAPPING_EXCEPTIONS): Define.
22813 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22814 subnormals only when inexact has been signalled or underflow
22815 exceptions are enabled.
22816 (_FP_PACK_CANONICAL): Likewise.
22817
22818 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22819
22820 [BZ #14183]
22821 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22822 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22823
22824 2012-05-30 Richard Henderson <rth@twiddle.net>
22825
22826 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22827 with #ifndef NOT_IN_libc.
22828
22829 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22830 marked to avoid plt entry.
22831
22832 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22833
22834 [BZ #14112]
22835 * Makeconfig (default-abi): New macro.
22836 (abi-includes): Likewise.
22837 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22838 $(abi-$(default-abi)-lib-soname) for soname if defined.
22839 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22840 abi-variants.
22841 * Makefile (installed-stubs): Likewise.
22842 * include/stubs-biarch.h: Removed.
22843 * scripts/lib-names.awk: Only handle one library at a time.
22844 * scripts/soversions.awk: Remove WORDSIZE support.
22845 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22846 entries.
22847 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22848 Removed.
22849 (syscall-list-default-condition): Likewise.
22850 (syscall-list-default-condition): Likewise.
22851 (syscall-list-includes): Likewise.
22852 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22853 syscall-list-* with abi-*. Handle undefined abi-variants.
22854 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22855 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22856 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22857 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22858 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22859 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22860 Removed.
22861 (syscall-list-32-options): Likewise.
22862 (syscall-list-32-condition): Likewise.
22863 (syscall-list-64-options): Likewise.
22864 (syscall-list-64-condition): Likewise.
22865 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22866 macro.
22867 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22868 Renamed to ...
22869 (abi-*): This.
22870 (abi-64-ld-soname): New macro.
22871 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22872 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22873 Renamed to ...
22874 (abi-*): This.
22875 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22876 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22877
22878 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22879
22880 * sysdeps/unix/sysv/linux/kernel-features.h
22881 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22882 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22883 include <kernel-features.h>.
22884 [!__NR_ftruncate64]: Remove conditional code.
22885 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22886 [__NR_ftruncate64]: Make code unconditional.
22887 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22888 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22889 include <kernel-features.h>.
22890 [!__NR_ftruncate64]: Remove conditional code.
22891 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22892 [__NR_ftruncate64]: Make code unconditional.
22893 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22895 include <kernel-features.h>.
22896 [!__NR_ftruncate64]: Remove conditional code.
22897 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22898 [__NR_ftruncate64]: Make code unconditional.
22899 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22901 include <kernel-features.h>.
22902 [!__NR_ftruncate64]: Remove conditional code.
22903 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22904 [__NR_ftruncate64]: Make code unconditional.
22905 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22906
22907 * configure.in (libc_cv_fpie): Weaken to a compile test using
22908 LIBC_TRY_CC_OPTION.
22909 * configure: Regenerated.
22910
22911 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22912
22913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22917 Refreshed.
22918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22924 Refreshed.
22925
22926 2012-05-27 David S. Miller <davem@davemloft.net>
22927
22928 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22929 (___Q_zero): New.
22930 (__Q_simulate_exceptions): Return void. Change to simulate
22931 exceptions by writing into the %fsr.
22932 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22933 (__Qp_handle_exceptions): Likewise.
22934 (numbers): Delete.
22935 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22936 __Qp_handle_exceptions.
22937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22938 __Qp_handle_exceptions.
22939 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22940 as unused and give dummy FP_RND_NEAREST initializer.
22941 (FP_INHIBIT_RESULTS): Define.
22942 (___Q_simulate_exceptions): Update declaration.
22943 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22944 formatting.
22945 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22946 as unused and give dummy FP_RND_NEAREST initializer.
22947 (__Qp_handle_exceptions): Update declaration.
22948 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22949 formatting.
22950
22951 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22952
22953 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22954 the temporary FPU control word.
22955 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22956 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22957 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22958 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22959 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22960 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22961 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22962 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22963 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22964 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22965 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22966
22967 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22968
22969 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22970 fields.
22971
22972 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22973
22974 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22975 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22976 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22977 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22978 Likewise.
22979 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22980 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22981 Likewise.
22982
22983 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22984
22985 * po/h.po: Update from translation team.
22986
22987 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22988
22989 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22990
22991 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22992 handling of denormals.
22993 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22994 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22995 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22996 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22997 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22999 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23000 Likewise.
23001
23002 2012-05-26 Marek Polacek <polacek@redhat.com>
23003
23004 [BZ #14152]
23005 * math/libm-test.inc (fma_test): Don't always expect underflow
23006 exception.
23007
23008 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23009
23010 [BZ #12416]
23011 * elf/tst-execstack.c: Include stackinfo.h.
23012 (do_test): Adjust test case to ensure that pthread_getattr_np
23013 behaviour remains the same after marking stack executable.
23014
23015 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23016
23017 * sysdeps/unix/sysv/linux/kernel-features.h
23018 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23019 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23020 kernel-features.h.
23021 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23022 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23023 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23024 kernel-features.h.
23025 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23026 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23027
23028 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23029
23030 * configure.in: Define the default includes to being none.
23031 * configure: Regenerated.
23032
23033 2012-05-25 Roland McGrath <roland@hack.frob.com>
23034
23035 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23036 * sysdeps/x86_64/setjmp.S: Likewise.
23037 * sysdeps/i386/bsd-setjmp.S: Likewise.
23038 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23039 * sysdeps/i386/setjmp.S: Likewise.
23040 * sysdeps/i386/__longjmp.S: Likewise.
23041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23042 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23043
23044 * include/stap-probe.h: New file.
23045 * configure.in: Handle --enable-systemtap.
23046 * configure: Regenerated.
23047 * config.h.in (USE_STAP_PROBE): New #undef.
23048 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23049 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23050 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23051
23052 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23053
23054 [BZ #13717]
23055 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23056 to 2.4.0 where earlier.
23057 * sysdeps/unix/sysv/linux/configure: Regenerated.
23058 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23059 <kernel-features.h>.
23060 [__ASSUME_32BITUIDS]: Make code unconditional.
23061 [!__ASSUME_32BITUIDS]: Remove conditional code.
23062 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23063 <kernel-features.h>.
23064 [__ASSUME_32BITUIDS]: Make code unconditional.
23065 [!__ASSUME_32BITUIDS]: Remove conditional code.
23066 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23067 [__ASSUME_32BITUIDS]: Make code unconditional.
23068 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23069 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23070 <kernel-features.h>.
23071 [__ASSUME_32BITUIDS]: Make code unconditional.
23072 [!__ASSUME_32BITUIDS]: Remove conditional code.
23073 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23074 <kernel-features.h>.
23075 [__ASSUME_32BITUIDS]: Make code unconditional.
23076 [!__ASSUME_32BITUIDS]: Remove conditional code.
23077 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23078 <kernel-features.h>.
23079 [__ASSUME_32BITUIDS]: Make code unconditional.
23080 [!__ASSUME_32BITUIDS]: Remove conditional code.
23081 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23082 <kernel-features.h>.
23083 [__ASSUME_32BITUIDS]: Make code unconditional.
23084 [!__ASSUME_32BITUIDS]: Remove conditional code.
23085 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23086 <kernel-features.h>.
23087 [__ASSUME_32BITUIDS]: Make code unconditional.
23088 [!__ASSUME_32BITUIDS]: Remove conditional code.
23089 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23090 <kernel-features.h>.
23091 [__ASSUME_32BITUIDS]: Make code unconditional.
23092 [!__ASSUME_32BITUIDS]: Remove conditional code.
23093 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23094 <kernel-features.h>.
23095 [__ASSUME_32BITUIDS]: Make code unconditional.
23096 [!__ASSUME_32BITUIDS]: Remove conditional code.
23097 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23098 <kernel-features.h>.
23099 [__ASSUME_32BITUIDS]: Make code unconditional.
23100 [!__ASSUME_32BITUIDS]: Remove conditional code.
23101 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23102 <kernel-features.h>.
23103 [__ASSUME_32BITUIDS]: Make code unconditional.
23104 [!__ASSUME_32BITUIDS]: Remove conditional code.
23105 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23106 <kernel-features.h>.
23107 [__ASSUME_32BITUIDS]: Make code unconditional.
23108 [!__ASSUME_32BITUIDS]: Remove conditional code.
23109 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23110 <kernel-features.h>.
23111 [__NR_setresgid] (__setresgid): Do not declare.
23112 [__ASSUME_32BITUIDS]: Make code unconditional.
23113 [!__ASSUME_32BITUIDS]: Remove conditional code.
23114 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23115 <kernel-features.h>.
23116 [__NR_setresuid] (__setresuid): Do not declare.
23117 [__ASSUME_32BITUIDS]: Make code unconditional.
23118 [!__ASSUME_32BITUIDS]: Remove conditional code.
23119 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23120 <kernel-features.h>.
23121 [__ASSUME_32BITUIDS]: Make code unconditional.
23122 [!__ASSUME_32BITUIDS]: Remove conditional code.
23123 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23124 <kernel-features.h>.
23125 [__ASSUME_32BITUIDS]: Make code unconditional.
23126 [!__ASSUME_32BITUIDS]: Remove conditional code.
23127 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23128 <kernel-features.h>.
23129 [__ASSUME_32BITUIDS]: Make code unconditional.
23130 [!__ASSUME_32BITUIDS]: Remove conditional code.
23131 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23132 <kernel-features.h>.
23133 [__ASSUME_32BITUIDS]: Make code unconditional.
23134 [!__ASSUME_32BITUIDS]: Remove conditional code.
23135 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23136 <kernel-features.h>.
23137 [__ASSUME_32BITUIDS]: Make code unconditional.
23138 [!__ASSUME_32BITUIDS]: Remove conditional code.
23139 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23140 <kernel-features.h>.
23141 [__ASSUME_32BITUIDS]: Make code unconditional.
23142 [!__ASSUME_32BITUIDS]: Remove conditional code.
23143 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23144 <kernel-features.h>.
23145 [__ASSUME_32BITUIDS]: Make code unconditional.
23146 [!__ASSUME_32BITUIDS]: Remove conditional code.
23147 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23148 <kernel-features.h>.
23149 [__ASSUME_32BITUIDS]: Make code unconditional.
23150 [!__ASSUME_32BITUIDS]: Remove conditional code.
23151 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23152 <kernel-features.h>.
23153 [__ASSUME_32BITUIDS]: Make code unconditional.
23154 [!__ASSUME_32BITUIDS]: Remove conditional code.
23155 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23156 <kernel-features.h>.
23157 [__ASSUME_32BITUIDS]: Make code unconditional.
23158 [!__ASSUME_32BITUIDS]: Remove conditional code.
23159 * sysdeps/unix/sysv/linux/kernel-features.h
23160 (__ASSUME_SETRESUID_SYSCALL): Remove.
23161 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23162 (__ASSUME_32BITUIDS): Likewise.
23163 (__ASSUME_LDT_WORKS): Likewise.
23164 (__ASSUME_O_DIRECTORY): Likewise.
23165 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23166 architecture but not kernel version.
23167 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23168 (__ASSUME_MMAP2_SYSCALL): Likewise.
23169 (__ASSUME_STAT64_SYSCALL): Likewise.
23170 (__ASSUME_IPC64): Likewise.
23171 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23172 <kernel-features.h>.
23173 [__ASSUME_32BITUIDS]: Make code unconditional.
23174 [!__ASSUME_32BITUIDS]: Remove conditional code.
23175 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23176 <kernel-features.h>.
23177 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23178 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23179 132096]: Remove conditional code.
23180 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23181 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23182 <kernel-features.h>.
23183 [__ASSUME_32BITUIDS]: Make code unconditional.
23184 [!__ASSUME_32BITUIDS]: Remove conditional code.
23185 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23186 <kernel-features.h>.
23187 [__ASSUME_32BITUIDS]: Make code unconditional.
23188 [!__ASSUME_32BITUIDS]: Remove conditional code.
23189 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23190 <kernel-features.h>.
23191 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23192 unconditional.
23193 (__setresgid): Do not declare.
23194 [__ASSUME_32BITUIDS]: Make code unconditional.
23195 [!__ASSUME_32BITUIDS]: Remove conditional code.
23196 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23197 <kernel-features.h>.
23198 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23199 unconditional.
23200 (__setresuid): Do not declare.
23201 [__ASSUME_32BITUIDS]: Make code unconditional.
23202 [!__ASSUME_32BITUIDS]: Remove conditional code.
23203 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
23208 <kernel-features.h>.
23209 [__ASSUME_32BITUIDS]: Make code unconditional.
23210 [!__ASSUME_32BITUIDS]: Remove conditional code.
23211
23212 2012-05-25 Richard Henderson <rth@twiddle.net>
23213
23214 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23215 dl_hwcap to ifunc resolver.
23216 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23217 elf_ifunc_invoke.
23218 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23219 dl_hwcap to ifunc resolver.
23220 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23221
23222 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23223
23224 [BZ #14153]
23225 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23226 for |x| <= 2**-26, not 2**-57.
23227 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23228 exception.
23229
23230 2012-05-24 Jeff Law <law@redhat.com>
23231
23232 * stdio-common/Makefile (tests): Add bug25.
23233 * stdio-common/bug25.c: New test.
23234
23235 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23236
23237 [BZ #13576]
23238 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23239 multiple of MALLOC_ALIGNMENT in size.
23240 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23241
23242 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23243
23244 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23245 Require >= 256.
23246 (FILENAME_MAX): Use macro-int-constant.
23247 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23248 (_IOFBF): Use macro-int-constant.
23249 (_IOLBF): Likewise.
23250 (_IONBF): Likewise.
23251 (SEEK_CUR): Likewise.
23252 (SEEK_END): Likewise.
23253 (SEEK_SET): Likewise.
23254 (TMP_MAX): Likewise.
23255 (EOF): Use macro-int-constant. Require < 0.
23256 (NULL): Use macro-constant. Require == 0.
23257 (stdin): Require type to be FILE *.
23258 (stdout): Likewise.
23259 (stderr): Likewise.
23260 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23261 macro-int-constant.
23262 (EXIT_SUCCESS): Likewise.
23263 (NULL): Use macro-constant. Require == 0.
23264 (RAND_MAX): Use macro-int-constant.
23265 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23266 [C99-based standards] (strtof): Require function.
23267 [C99-based standards] (strtold): Likewise.
23268 [C99-based standards] (strtoll): Likewise.
23269 [C99-based standards] (strtoull): Likewise.
23270 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23271 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23272 [ISO || ISO99 || ISO11] (math.h): Likewise.
23273 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23274 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23276
23277 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23278
23279 [BZ #14132]
23280 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23281 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23282 * intl/dgettext.c (DCGETTEXT): Likewise.
23283 * intl/gettext.c (DCGETTEXT): Likewise.
23284 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23285 * posix/regex_internal.h (gettext): Likewise.
23286 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23287 Remove declaration.
23288 * include/argz.h (__argz_count_internal)
23289 (__argz_stringify_internal): Remove declaration.
23290 (__argz_count, __argz_stringify): Declare hidden proto.
23291 * intl/dcgettext.c: Remove use of INTDEF.
23292 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23293 * string/argz-stringify.c: Likewise.
23294 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23295 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23296 Declare hidden proto.
23297 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23298 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23299 Declare hidden proto.
23300 * include/stdio.h (__asprintf_internal): Don't declare.
23301 (__asprintf): Don't define as macro. Declare hidden proto.
23302 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23303 (__fsetlocking): Declare hidden proto.
23304 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23305 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23306 hidden proto.
23307 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23308 (_IO_setlinebuf): Remove use of INTUSE.
23309 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23310 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23311 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23312 Remove declaration.
23313 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23314 (_IO_do_flush): Remove use of INTUSE.
23315 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23316 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23317 (_IO_adjust_column, _IO_least_wmarker)
23318 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23319 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23320 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23321 (_IO_default_doallocate, _IO_wdefault_doallocate)
23322 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23323 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23324 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23325 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23326 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23327 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23328 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23329 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23330 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23331 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23332 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23333 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23334 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23335 proto.
23336 (_IO_flush_all_internal, _IO_adjust_column_internal)
23337 (_IO_default_uflow_internal, _IO_default_finish_internal)
23338 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23339 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23340 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23341 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23342 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23343 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23344 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23345 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23346 (_IO_file_close_internal, _IO_file_close_it_internal)
23347 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23348 (_IO_file_init_internal, _IO_file_attach_internal)
23349 (_IO_file_fopen_internal, _IO_file_read_internal)
23350 (_IO_file_sync_internal, _IO_file_seek_internal)
23351 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23352 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23353 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23354 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23355 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23356 (_IO_list_all_internal, _IO_link_in_internal)
23357 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23358 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23359 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23360 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23361 (_IO_do_write_internal, _IO_padn_internal)
23362 (_IO_getline_info_internal, _IO_getline_internal)
23363 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23364 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23365 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23366 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23367 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23368 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23369 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23370 with libc_hidden_ver, remove use of INTUSE.
23371 * libio/genops.c: Likewise.
23372 * libio/freopen.c: Likewise.
23373 * libio/freopen64.c: Likewise.
23374 * libio/iofclose.c: Likewise.
23375 * libio/iofdopen.c: Likewise.
23376 * libio/iofflush.c: Likewise.
23377 * libio/iofflush_u.c: Likewise.
23378 * libio/iofgets.c: Likewise.
23379 * libio/iofgets_u.c: Likewise.
23380 * libio/iofopen.c: Likewise.
23381 * libio/iofopncook.c: Likewise.
23382 * libio/iofread.c: Likewise.
23383 * libio/iofread_u.c: Likewise.
23384 * libio/ioftell.c: Likewise.
23385 * libio/iofwrite.c: Likewise.
23386 * libio/iogetline.c: Likewise.
23387 * libio/iogets.c: Likewise.
23388 * libio/iogetwline.c: Likewise.
23389 * libio/iopadn.c: Likewise.
23390 * libio/iopopen.c: Likewise.
23391 * libio/ioseekoff.c: Likewise.
23392 * libio/ioseekpos.c: Likewise.
23393 * libio/iosetbuffer.c: Likewise.
23394 * libio/iosetvbuf.c: Likewise.
23395 * libio/ioungetc.c: Likewise.
23396 * libio/ioungetwc.c: Likewise.
23397 * libio/iovdprintf.c: Likewise.
23398 * libio/iovsprintf.c: Likewise.
23399 * libio/iovsscanf.c: Likewise.
23400 * libio/memstream.c: Likewise.
23401 * libio/obprintf.c: Likewise.
23402 * libio/oldfileops.c: Likewise.
23403 * libio/oldiofclose.c: Likewise.
23404 * libio/oldiofdopen.c: Likewise.
23405 * libio/oldiofopen.c: Likewise.
23406 * libio/oldiopopen.c: Likewise.
23407 * libio/oldstdfiles.c: Likewise.
23408 * libio/putc.c: Likewise.
23409 * libio/setbuf.c: Likewise.
23410 * libio/setlinebuf.c: Likewise.
23411 * libio/stdfiles.c: Likewise.
23412 * libio/strops.c: Likewise.
23413 * libio/vasprintf.c: Likewise.
23414 * libio/vscanf.c: Likewise.
23415 * libio/vsnprintf.c: Likewise.
23416 * libio/vswprintf.c: Likewise.
23417 * libio/wfiledoalloc.c: Likewise.
23418 * libio/wfileops.c: Likewise.
23419 * libio/wgenops.c: Likewise.
23420 * libio/wmemstream.c: Likewise.
23421 * libio/wstrops.c: Likewise.
23422 * libio/__fpurge.c: Likewise.
23423 * libio/__fsetlocking.c: Likewise.
23424 * assert/assert.c: Likewise.
23425 * debug/fgets_chk.c: Likewise.
23426 * debug/fgets_u_chk.c: Likewise.
23427 * debug/fread_chk.c: Likewise.
23428 * debug/fread_u_chk.c: Likewise.
23429 * debug/gets_chk.c: Likewise.
23430 * debug/obprintf_chk.c: Likewise.
23431 * debug/vasprintf_chk.c: Likewise.
23432 * debug/vdprintf_chk.c: Likewise.
23433 * debug/vsnprintf_chk.c: Likewise.
23434 * debug/vsprintf_chk.c: Likewise.
23435 * malloc/mtrace.c: Likewise.
23436 * misc/error.c: Likewise.
23437 * misc/syslog.c: Likewise.
23438 * stdio-common/asprintf.c: Likewise.
23439 * stdio-common/fxprintf.c: Likewise.
23440 * stdio-common/getw.c: Likewise.
23441 * stdio-common/isoc99_fscanf.c: Likewise.
23442 * stdio-common/isoc99_scanf.c: Likewise.
23443 * stdio-common/isoc99_vfscanf.c: Likewise.
23444 * stdio-common/isoc99_vscanf.c: Likewise.
23445 * stdio-common/isoc99_vsscanf.c: Likewise.
23446 * stdio-common/printf-prs.c: Likewise.
23447 * stdio-common/printf_fp.c: Likewise.
23448 * stdio-common/printf_fphex.c: Likewise.
23449 * stdio-common/printf_size.c: Likewise.
23450 * stdio-common/putw.c: Likewise.
23451 * stdio-common/scanf.c: Likewise.
23452 * stdio-common/sprintf.c: Likewise.
23453 * stdio-common/tmpfile.c: Likewise.
23454 * stdio-common/vfprintf.c: Likewise.
23455 * stdio-common/vfscanf.c: Likewise.
23456 * stdlib/strfmon_l.c: Likewise.
23457 * sunrpc/openchild.c: Likewise.
23458 * sunrpc/xdr_stdio.c: Likewise.
23459 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23460 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23461
23462 2012-05-24 Roland McGrath <roland@hack.frob.com>
23463
23464 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23465
23466 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23467 in the third column, to generate for the shared library an IFUNC
23468 that uses _dl_vdso_vsym.
23469 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23470 * Makeconfig (object-suffixes-noshared): New variable.
23471
23472 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23473 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23474 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23475 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23476
23477 [BZ #14132]
23478 * include/sys/time.h (__gettimeofday): Remove macro.
23479 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23480 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23481 Remove INTDEF.
23482 (__gettimeofday): Add libc_hidden_def.
23483 (gettimeofday): Add libc_hidden_weak.
23484 * sysdeps/mach/gettimeofday.c: Likewise.
23485 * sysdeps/posix/gettimeofday.c: Likewise.
23486 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23487 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23488 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23489 (__gettimeofday_internal): Remove strong_alias.
23490 (__gettimeofday): Add libc_hidden_def.
23491 (gettimeofday): Add libc_hidden_weak.
23492 * sysdeps/unix/syscalls.list (gettimeofday):
23493 Remove __gettimeofday_internal alias.
23494
23495 2012-05-24 Daniel Jacobowitz <drow@false.org>
23496 H.J. Lu <hongjiu.lu@intel.com>
23497
23498 [BZ #12495]
23499 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23500 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23501 (largebin_index_32_big): New.
23502 (largebin_index): Use it for 16-byte alignment.
23503 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23504 correction with front_misalign.
23505
23506 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23507
23508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23510 Likewise.
23511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23512 Likewise.
23513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23514 Likewise.
23515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23516 Likewise.
23517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23518 Likewise.
23519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23520 Likewise.
23521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23522 Likewise.
23523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23524 Likewise.
23525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23526 Likewise.
23527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23528 Likewise.
23529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23530 Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23532 Likewise.
23533
23534 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23535 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23536
23537 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23538
23539 [BZ #10846]
23540 [BZ #14036]
23541 * math/libm-test.inc (exp_test): Add test from bug 14036.
23542 (pow_test): Add test from bug 10846.
23543
23544 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23545 and other flags.
23546 (special_function): Do not include flags in test name.
23547 (parse_args): Likewise.
23548 * sysdeps/i386/fpu/libm-test-ulps: Update.
23549 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23550 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23551 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23553
23554 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23555 exceptions.
23556 * math/libm-test.inc ("Philosophy"): Update comment about
23557 exception testing.
23558 (UNDERFLOW_EXCEPTION): New macro.
23559 (UNDERFLOW_EXCEPTION_OK): Likewise.
23560 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23561 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23562 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23563 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23564 (INVALID_EXCEPTION_OK): Update value.
23565 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23566 (OVERFLOW_EXCEPTION_OK): Likewise.
23567 (IGNORE_ZERO_INF_SIGN): Likewise.
23568 (test_exceptions): Handle underflow exceptions.
23569 (acos_test): Update for underflow exception expectations.
23570 (cexp_test): Likewise.
23571 (clog_test): Likewise.
23572 (clog10_test): Likewise.
23573 (csqrt_test): Likewise.
23574 (ctan_test): Likewise.
23575 (ctanh_test): Likewise.
23576 (exp_test): Likewise.
23577 (exp10_test): Likewise.
23578 (exp2_test): Likewise.
23579 (expm1_test): Likewise.
23580 (fma_test): Likewise.
23581 (j0_test): Likewise.
23582 (jn_test): Likewise.
23583 (nexttoward_test): Likewise.
23584 (pow_test): Likewise.
23585 (scalbn_test): Likewise.
23586 (scalbln_test): Likewise.
23587 (tan_test): Likewise.
23588 (y1_test): Likewise.
23589 * sysdeps/i386/fpu/libm-test-ulps: Update.
23590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23591
23592 2012-05-23 David S. Miller <davem@davemloft.net>
23593
23594 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23595 (__libc_sigaction): Remove unused local variables.
23596
23597 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23598
23599 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23600
23601 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23602
23603 mktime: avoid signed integer overflow
23604 * time/mktime.c (__mktime_internal): Do not mishandle the case
23605 where diff == INT_MIN.
23606
23607 mktime: simplify computation of average
23608 * time/mktime.c (ranged_convert): Use new time_t_avg function
23609 instead of rolling our own (probably-slower) code.
23610
23611 mktime: do not assume signed right shift propagates sign bit
23612 * time/mktime.c (isdst_differ): New static function.
23613 (__mktime_internal): No need to normalize tm_isdst now.
23614 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23615 tm_isdst values.
23616
23617 mktime: merge another wrapv change from gnulib
23618 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23619 from some compilers.
23620
23621 mktime: remove incorrect attempt at unusual arithmetics
23622 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23623 The code didn't really work on such machines anyway.
23624 (TYPE_MINIMUM): Assume two's complement.
23625 (twos_complement_arithmetic): Verify that long_int and time_t
23626 are two's complement (or unsigned, in the latter case).
23627
23628 mktime: check signed shifts on long_int and time_t, too
23629 * time/mktime.c (SHR): Check that shifts work as desired
23630 on the types long_int and time_t too, as SHR is used on
23631 such types.
23632
23633 mktime: do not assume 'long' is wide enough
23634 * time/mktime.c (verify): Move decl up.
23635 (long_int): New type.
23636 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23637 to remove assumption in the code that 'long' is wide enough to
23638 store year values. This assumption is not true on x32 and on
23639 some non-glibc platforms.
23640
23641 mktime: merge wrapv change from gnulib
23642 * time/mktime.c (WRAPV): New macro.
23643 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23644 (guess_time_tm, __mktime_internal): Do not assume that signed
23645 integer overflow wraps around; modern compilers generate code
23646 where this assumption is no longer valid.
23647
23648 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23649
23650 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23651 Replace "jmp L(pseudo_end)" with "ret".
23652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23653 Likewise.
23654
23655 2012-05-23 Andreas Jaeger <aj@suse.de>
23656
23657 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23658 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23659
23660 2012-05-23 Andreas Jaeger <aj@suse.de>
23661 Maximilian Attems <max@stro.at>
23662
23663 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23664 New macros.
23665
23666 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23667
23668 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23669 code so that pseudo_end is just ret and the stack pointer is
23670 correct also for static library in error case.
23671
23672 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23673
23674 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23675 move to syscalls.list.
23676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23680
23681 * manual/install.texi (Running make install): Do not mention Linux
23682 kernel version for which pt_chown is not needed.
23683 (Linux): Do not mention problems with nscd with 2.0 kernels.
23684 * INSTALL: Regenerated.
23685
23686 2012-05-23 Andreas Jaeger <aj@suse.de>
23687
23688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23689 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23690 macro.
23691 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23693 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23695 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23697 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23699 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23701 * sysdeps/unix/sysv/linux/bits/in.h
23702 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23703
23704 2012-05-22 Roland McGrath <roland@hack.frob.com>
23705
23706 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23707 (PREPARE_VERSION): Just use assert instead, it will be elided
23708 under [NDEBUG] anyway.
23709
23710 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23711
23712 * sysdeps/unix/sysv/linux/Makefile: Include
23713 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23714 (sysdep_routines): Remove sysctl.
23715 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23716 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23717 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23718 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23719 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23720
23721 2012-05-22 Andreas Jaeger <aj@suse.de>
23722
23723 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23724 that pseudo_end is just ret and the stack pointer is correct also
23725 for static library in error case.
23726
23727 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23728
23729 [BZ #14122]
23730 * nss/nsswitch.c (defconfig_entries): New variable.
23731 (__nss_database_lookup): Don't leak defconfig entries.
23732 (nss_parse_service_list): Don't leak on error paths.
23733 (free_database_entries): New function.
23734 (free_defconfig): New function.
23735 (free_mem): Move common code to free_database_entries.
23736
23737 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23738
23739 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23740 Add arch_prctl.
23741 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23742
23743 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23744 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23746 New macro.
23747 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23748 (INTERNAL_SYSCALL_TYPES): Likewise.
23749 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23750 (LOAD_REGS_TYPES_[1-6]): Likewise.
23751 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23752 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23753
23754 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23755
23756 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23757 copysignl for GLIBC_2_0.
23758 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23759 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23760 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23761 logbl for GLIBC_2_0.
23762 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23763 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23764
23765 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23766
23767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23768 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23769
23770 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23771 Use "neg %eax".
23772
23773 * time/mktime.c: Update copyright years.
23774
23775 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23776
23777 mktime: merge comment-quoting-style change from gnulib
23778 * time/mktime.c: Quote 'like this' in comments.
23779 The GNU coding standards suggest that we no longer quote `like this',
23780 as "`" and "'" are typically rendered asymmetrically nowadays.
23781 The typical gnulib style is to quote 'like this' when quoting
23782 code, and "like this" when quoting English.
23783
23784 * time/mktime.c (compile-command): Add "-I.".
23785
23786 mktime: merge mktime-internal.h change from gnulib
23787 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23788
23789 mktime: merge time_r change from gnulib
23790 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23791
23792 mktime: merge DEBUG change from gnulib
23793 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23794 case system <time.h> has a #define.
23795
23796 mktime: merge <sys/types.h> change from gnulib
23797 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23798 since <time.t> is now guaranteed to define time_t.
23799
23800 mktime: merge HAVE_CONFIG_H change from gnulib
23801 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23802
23803 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23804
23805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23806 Use "neg %eax".
23807
23808 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23809 __rlim_t cast.
23810 (struct rusage): Use anonymous union to pad each field to
23811 __syscall_slong_t.
23812
23813 2012-05-21 David S. Miller <davem@davemloft.net>
23814
23815 * Makefules (o-iterator): Remove .s cases.
23816 (compile-command.s): Delete.
23817 (COMPILE.s): Delete.
23818 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23819
23820 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23821
23822 * configure.in (libc_cv_predef_stack_protector): Only consider
23823 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23824 * configure: Regenerated.
23825
23826 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23827
23828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23829 New macro. Use R*LP on int and pointer.
23830 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23831 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23832 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23833 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23834
23835 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23836 [__WORDSIZE_TIME64_COMPAT32] instead of
23837 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23838 (struct utmp): Likewise.
23839 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23840 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23841 Renamed to ...
23842 (__WORDSIZE_TIME64_COMPAT32): This.
23843 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23844 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23845 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23846 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23847 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23848 (__WORDSIZE_TIME64_COMPAT32): New macro.
23849
23850 2012-05-21 Andreas Jaeger <aj@suse.de>
23851
23852 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23853 only if [SHARED]. Add prototype for __wcschr_ia32.
23854
23855 2012-05-21 Roland McGrath <roland@hack.frob.com>
23856
23857 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23858 of %rbp unmolested in the jmp_buf while mangling the low bits.
23859 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23860 unmolested high bits of %rbp while demangling the low bits.
23861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23862
23863 2012-05-21 Andreas Jaeger <aj@suse.de>
23864
23865 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23866 * sunrpc/svc_simple.c: Use it for registerrpc.
23867 * sunrpc/xcrypt.c: Use it for passwd2des.
23868
23869 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23870
23871 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23872
23873 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23874 Don't define if [__SYSCALL_WORDSIZE != 32].
23875 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23876 New macro.
23877
23878 2012-05-21 Bruno Haible <bruno@clisp.org>
23879 Andreas Jaeger <aj@suse.de>
23880
23881 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23882 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23883 inptr and inend for must_buffer_ch.
23884 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23885 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23886 * stdio-common/Makefile (tests): Remove bug15.
23887 (bug15-ENV): Remove macro.
23888 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23889 anymore.
23890
23891 2012-05-19 Andreas Jaeger <aj@suse.de>
23892 Roland McGrath <roland@hack.frob.com>
23893
23894 * manual/contrib.texi: Completely rewritten. It contains now an
23895 alphabetical list of contributors and their contributions.
23896
23897 2012-05-21 Richard Henderson <rth@twiddle.net>
23898
23899 * misc/getauxval.c (__getauxval): Use unsigned long int.
23900 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23901 (getauxval): Use unsigned long int.
23902
23903 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23904
23905 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23906
23907 2012-05-21 Roland McGrath <roland@hack.frob.com>
23908
23909 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23910 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23911 __alignof__ (long double).
23912
23913 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23914
23915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23916
23917 2012-05-20 Richard Henderson <rth@twiddle.net>
23918
23919 * misc/getauxval.c: New file.
23920 * misc/sys/auxv.h: New file.
23921 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23922 (routines): Add getauxval.
23923 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23924 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23925 * elf/dl-sysdep.c (_dl_auxv): Remove.
23926 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23927 * elf/dl-support.c (_dl_auxv): New variable.
23928 (_dl_aux_init): Initialize it.
23929 * manual/startup.texi (Auxiliary Vector): New node.
23930 * sysdeps/generic/bits/hwcap.h: New file.
23931 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23932 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23933 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23934 * sysdeps/sparc/sysdep.h: ... here. Include it.
23935 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23936 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23938 Update.
23939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23942 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23947
23948 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23949
23950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23951
23952 2012-05-19 David S. Miller <davem@davemloft.net>
23953
23954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23955
23956 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23957
23958 [BZ #14123]
23959 * math/s_ccosh.c: Include <float.h>
23960 (__ccosh): Avoid internal overflow calculating sinh and cosh
23961 values before multiplying by sin and cos values.
23962 * math/s_ccoshf.c: Likewise.
23963 * math/s_ccoshl.c: Likewise.
23964 * math/s_csin.c: Likewise.
23965 * math/s_csinf.c: Likewise.
23966 * math/s_csinl.c: Likewise.
23967 * math/s_csinh.c: Likewise.
23968 * math/s_csinhf.c: Likewise.
23969 * math/s_csinhl.c: Likewise.
23970 * math/libm-test.inc (ccos_test): Add more tests.
23971 (ccosh_test): Likewise.
23972 (csin_test): Likewise.
23973 (csinh_test): Likewise.
23974 * sysdeps/i386/fpu/libm-test-ulps: Update.
23975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23976
23977 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23978
23979 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23980 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23981
23982 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23983
23984 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23985
23986 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23987 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23988 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23989 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23990 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23991 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23992 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23993 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23994 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23995 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23996 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23997 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23998 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23999 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24000 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24001 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24002 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24003 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24004 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24005 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24006 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24007 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24008 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24009 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24010 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24011 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24012 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24013 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24014 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24015 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24016 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24017
24018 2012-05-18 Andreas Jaeger <aj@suse.de>
24019
24020 * csu/.gitignore: Delete.
24021
24022 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24023
24024 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24025 (timex): Use __syscall_slong_t.
24026
24027 2012-05-18 Andreas Jaeger <aj@suse.de>
24028 Carlos O'Donell <carlos_odonell@mentor.com>
24029
24030 * manual/install.texi (Configuring and compiling): Update
24031 description about files modified in the source directory.
24032 * INSTALL: Regenerated.
24033
24034 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24035
24036 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24037 value. Use "or" to set return value to -1.
24038 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24039 negate return value.
24040
24041 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24042
24043 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24044 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24045 failure if the compiler has Graphite support disabled.
24046 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24047 Likewise.
24048 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24049 CFLAGS-memmove.c): Likewise.
24050 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24051 Likewise.
24052
24053 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24054
24055 * sysdeps/x86_64/x32/_itoa.h: New file.
24056
24057 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24058 getdents system call only if kernel and user dirents have the
24059 same d_ino and d_off.
24060
24061 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24062 LLONG_MAX != LONG_MAX.
24063 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24064 (_fitoa_word): Likewise.
24065
24066 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24067 years.
24068 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24069 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24070 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24071
24072 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24073 include <bits/wordsize.h>. Check __x86_64__ instead of
24074 __WORDSIZE.
24075 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24076 if __x86_64__ is defined. Use anonymous union on fpstate.
24077
24078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24079 anonymous union.
24080
24081 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24082
24083 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24084 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24085 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24086 Refer to _rtld_local_ro instead of _rtld_global_ro.
24087 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24088 Likewise.
24089 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24090 Likewise.
24091 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24092 Likewise.
24093 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24094 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24095 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24096
24097 * sysdeps/powerpc/powerpc32/dl-machine.c
24098 (__elf_machine_runtime_setup) [PROF]: Don't reference
24099 _dl_prof_resolve.
24100
24101 2012-05-18 Andreas Jaeger <aj@suse.de>
24102
24103 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24104 function only available for GCCs before 3.4 since GCC 3.4
24105 introduced a builtin.
24106 (lrint): Likewise.
24107 (llrintf): Likewise.
24108 (llrint): Likewise.
24109 (fmaxf): Likewise.
24110 (fmax): Likewise.
24111 (fminf): Likewise.
24112 (fmin): Likewise.
24113 (rint): Likewise.
24114 (rintf): Likewise.
24115 (nearbyint): Likewise.
24116 (nearbyintf): Likewise.
24117 (ceil): Likewise.
24118 (ceilf): Likewise.
24119 (floor): Likewise.
24120 (floorf): Likewise.
24121
24122 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24123
24124 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24125 on both fields and cast pointer to __syscall_ulong_t.
24126
24127 * bits/types.h (__fsword_t): New type.
24128 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24129 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24131 (__FSWORD_T_TYPE): Likewise.
24132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24133 (__FSWORD_T_TYPE): Likewise.
24134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24135 (__FSWORD_T_TYPE): Likewise.
24136 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24137 (__FSWORD_T_TYPE): Likewise.
24138 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24139 __SWORD_TYPE with __fsword_t.
24140 (statfs64): Likewise.
24141
24142 2012-05-17 David S. Miller <davem@davemloft.net>
24143
24144 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24145
24146 2012-05-17 Andreas Jaeger <aj@suse.de>
24147
24148 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24149 warning.
24150
24151 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24152
24153 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24154
24155 2012-05-17 Andreas Jaeger <aj@suse.de>
24156
24157 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24158 when it is used.
24159
24160 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24161
24162 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24163
24164 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24165
24166 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24167 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24168
24169 2012-05-17 Andreas Jaeger <aj@suse.de>
24170 Carlos O'Donell <carlos_odonell@mentor.com>
24171
24172 [BZ #14059]
24173 * sysdeps/x86_64/multiarch/init-arch.h
24174 (bit_YMM_Usable): Rename to...
24175 (bit_AVX_Usable): ... this.
24176 (bit_FMA4_Usable): New macro.
24177 (bit_XMM_state): New macro.
24178 (bit_YMM_state): New macro.
24179 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24180 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24181 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24182 (CPUID_OSXSAVE): New macro.
24183 (CPUID_AVX): New macro.
24184 (CPUID_FMA4): New macro.
24185 (index_YMM_Usable): Rename to...
24186 (index_AVX_Usable): ... this.
24187 (HAS_AVX): Use HAS_ARCH_FEATURE.
24188 (HAS_FMA4): Likewise.
24189 (HAS_YMM_USABLE): Remove.
24190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24191 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24192 are present.
24193 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24194 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24195 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24196 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24197 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24198
24199 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24200
24201 * math/libm-test.c: Support platforms without multiple rounding modes.
24202 * math/bug-nextafter.c: Support platforms without FP exceptions.
24203 * math/bug-nexttoward.c: Likewise.
24204 * math/test-fenv.c: Likewise.
24205 * math/test-misc.c: Likewise.
24206 * stdlib/bug-getcontext.c: Likewise.
24207
24208 2012-05-17 Andreas Jaeger <aj@suse.de>
24209
24210 * manual/examples/search.c (critter_cmp): Change signature to
24211 avoid warnings.
24212 * manual/string.texi (Collation Functions): Likewise.
24213
24214 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 * bits/types.h: Fold copyright years.
24217 * bits/typesizes.h: Likewise.
24218 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24221 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24222 * time/time.h: Likewise.
24223
24224 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24225
24226 [BZ #208]
24227 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24228 in instead of returning them. Return void.
24229 (__libc_mallinfo): Accumulate over all arenas.
24230 (__malloc_stats): Adjust for change in int_mallinfo interface.
24231
24232 2012-05-16 Roland McGrath <roland@hack.frob.com>
24233
24234 [BZ #10375]
24235 * configure.in (NM): Add AC_CHECK_TOOL for it.
24236 (libc_extra_cflags): New substituted variable.
24237 Check for -fstack-protector being used implicitly.
24238 * configure: Regenerated.
24239 * config.make.in (config-extra-cflags): New variable,
24240 gets @libc_extra_cflags@.
24241 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24242
24243 [BZ #10375]
24244 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24245 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24246 * configure: Regenerated.
24247 * config.make.in (CPPUNDEFS): New substituted variable.
24248 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24249 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24250 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24251
24252 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24253
24254 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24255 (mq_attr): Use __syscall_slong_t.
24256
24257 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24258
24259 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24260 Check __x86_64__ instead of __WORDSIZE.
24261 (_STAT_VER_LINUX): Likewise.
24262 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24263 __syscall_ulong_t and __syscall_slong_t.
24264 (stat64): Likewise.
24265
24266 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24267
24268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24269
24270 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24271
24272 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24273
24274 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24275
24276 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24277 __syscall_ulong_t.
24278
24279 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24280 include <bits/wordsize.h>. Check __x86_64__ instead of
24281 __WORDSIZE.
24282 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24283 defined.
24284 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24285
24286 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24287 include <bits/wordsize.h>. Check __x86_64__ instead of
24288 __WORDSIZE.
24289 (user_regs_struct): Use "__extension__ unsigned long long"
24290 instead of "unsigned long" if __x86_64__ is defined.
24291 (user): Likewise. Pad after pointer field if __ILP32__ is
24292 defined.
24293
24294 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24295
24296 * configure.in (makeinfo): Require version 4.5 or later. Allow
24297 versions 5 to 9.
24298 * configure: Regenerated.
24299 * manual/install.texi (texinfo): Increase version requirement to
24300 4.5 or later.
24301 * INSTALL: Regenerated.
24302
24303 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24304
24305 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24306
24307 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24308
24309 * sysdeps/x86_64/x32/ffs.c: New file.
24310
24311 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24312 __syscall_ulong_t.
24313 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24314 defined. Use __syscall_ulong_t.
24315 (shminfo): Use __syscall_ulong_t.
24316 (shm_info): Likewise.
24317
24318 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24319 __syscall_ulong_t.
24320
24321 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24322 <bits/wordsize.h>.
24323 (msgqnum_t): Use __syscall_ulong_t.
24324 (msglen_t): Likewise.
24325 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24326 __syscall_ulong_t.
24327
24328 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24329 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24330
24331 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24332
24333 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24334 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24335
24336 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24337 __syscall_slong_t.
24338
24339 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24340 include <bits/wordsize.h>. Check __x86_64__ instead of
24341 __WORDSIZE.
24342
24343 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24344 "unsigned long long int" if __x86_64__ is defined.
24345 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24346
24347 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24348 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24349 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24350
24351 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24352 <stdint.h>.
24353 (GET_PC): Cast to uintptr_t first.
24354 (GET_FRAME): Likewise.
24355 (GET_STACK): Likewise.
24356
24357 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24358 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24360 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24362 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24363 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24364 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24365 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24366 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24367 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24368 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24369 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24370 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24371 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24372 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24373 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24375 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24376 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24377 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24378 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24379 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24380 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24381 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24382 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24383 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24384 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24385 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24386
24387 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24388
24389 * Makerules (+depfiles): Also collect depfiles from .oS in
24390 $(extra-objs).
24391 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24392 .oS, $(libnldbl-routines)).
24393
24394 * Makerules (native-compile-mkdep-flags): Define.
24395 * sunrpc/Makefile (extra-objs): Add $(addprefix
24396 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24397 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24398 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24399 calling $(make-target-directory).
24400
24401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24402
24403 * bits/types.h (__snseconds_t): Removed.
24404 * time/time.h (struct timespec): Replace __snseconds_t with
24405 __syscall_slong_t.
24406 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24407 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24408 Likewise.
24409 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24410 (__SNSECONDS_T_TYPE): Likewise.
24411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24412 (__SNSECONDS_T_TYPE): Likewise.
24413 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24414 (__SNSECONDS_T_TYPE): Likewise.
24415
24416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24417
24418 * sysdeps/mach/hurd/bits/typesizes.h
24419 (__SYSCALL_SLONG_TYPE): New macro.
24420 (__SYSCALL_ULONG_TYPE): Likewise.
24421
24422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24423
24424 * bits/types.h (__syscall_slong_t): New type.
24425 (__syscall_ulong_t): Likewise.
24426
24427 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24428 (__SYSCALL_ULONG_TYPE): Likewise.
24429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24430 (__SYSCALL_SLONG_TYPE): Likewise.
24431 (__SYSCALL_ULONG_TYPE): Likewise.
24432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24433 (__SYSCALL_SLONG_TYPE): Likewise.
24434 (__SYSCALL_ULONG_TYPE): Likewise.
24435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24436 (__SYSCALL_SLONG_TYPE): Likewise.
24437 (__SYSCALL_ULONG_TYPE): Likewise.
24438
24439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24440
24441 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24442 Add sigaltstack-offsets.sym.
24443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24444 <sigaltstack-offsets.h>.
24445 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24446 longjmp_msg pointer.
24447 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24448 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24449 signal stack.
24450 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24451
24452 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24453
24454 * elf/stackguard-macros.h: Remove file.
24455 * sysdeps/generic/stackguard-macros.h: New file.
24456 * sysdeps/i386/stackguard-macros.h: Likewise.
24457 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24458 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24459 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24460 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24461 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24462 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24463 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24464 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24465 <elf/stackguard-macros.h>.
24466
24467 [BZ #14109]
24468 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24469 __aligned__ in attribute.
24470 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24471 (gregset_t): Likewise.
24472
24473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24474
24475 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24476 * sysdeps/x86_64/64/Implies-after: Here. New file.
24477 * sysdeps/x86_64/x32/Implies-after: New file.
24478
24479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24480
24481 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24482 and access return value for _dl_profile_fixup. Use R10_LP to
24483 load frame size.
24484
24485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24486
24487 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24488
24489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24490
24491 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24492 * sysdeps/x86_64/x32/sysdep.h: New file.
24493
24494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24495
24496 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24497 * sysdeps/x86_64/setjmp.S: Likewise.
24498
24499 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24500
24501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24502 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24503 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24504 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24505 remove unused global constant.
24506
24507 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24508
24509 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24510 include of <not-cancel.h>.
24511
24512 2012-05-15 Roland McGrath <roland@hack.frob.com>
24513
24514 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24515
24516 2012-05-15 Jeff Law <law@redhat.com>
24517 Andreas Jaeger <aj@suse.de>
24518
24519 [BZ #13594]
24520 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24521 out from...
24522 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24523 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24524 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24525 code changing __hst_map_handle.map.
24526
24527 2012-05-15 Roland McGrath <roland@hack.frob.com>
24528
24529 * configure.in (sysnames): Look for Implies-before and Implies-after
24530 files.
24531 * configure: Regenerated.
24532
24533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24534
24535 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24536 8-byte data alignment with LP_SIZE alignment.
24537
24538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24539
24540 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24541 into R10_LP.
24542
24543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24544
24545 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24546
24547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24548
24549 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24550 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24551 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24552 Likewise.
24553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24554
24555 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24556
24557 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24558 (stackinfo_sub_sp): Likewise.
24559
24560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24561
24562 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24563 RAX_LP.
24564
24565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24566
24567 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24568 into R*_LP.
24569
24570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24571
24572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24573 sizes into R*_LP.
24574
24575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24576
24577 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24578
24579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24580
24581 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24582 into R11_LP and load __x86_64_shared_cache_size_half into
24583 R8_LP.
24584
24585 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24586
24587 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24588 R8_LP.
24589
24590 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24591
24592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24593 logb for POWER7.
24594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24595 logbf for POWER7.
24596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24597 logbl for POWER7.
24598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24599 powerpc32/power7/fpu/s_logb.c via #include.
24600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24601 powerpc32/power7/fpu/s_logbf.c via #include.
24602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24603 powerpc32/power7/fpu/s_logbl.c via #include.
24604
24605 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24606
24607 * README.libm: Remove file.
24608
24609 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24610
24611 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24612 count for x32. Use R*_LP and omit operand-size suffix.
24613
24614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24615
24616 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24617 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24618 * sysdeps/x86_64/x32/shlib-versions: New file.
24619
24620 2012-05-14 Roland McGrath <roland@hack.frob.com>
24621
24622 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24623 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24624 Use _dl_fatal_printf instead.
24625
24626 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24627
24628 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24629 set if not set by the user. Do not allow for being unset.
24630 * sysdeps/unix/sysv/linux/configure: Regenerated.
24631
24632 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24633
24634 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24635 the `q' suffix from lea and replace .quad with ASM_ADDR.
24636
24637 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24638
24639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24640 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24641 instead of $17.
24642 (PTR_DEMANGLE): Likewise.
24643
24644 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24645
24646 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24647 (LP_OP): Likewise.
24648 (ASM_ADDR): Likewise.
24649 (RAX_LP): Likewise.
24650 (RBP_LP): Likewise.
24651 (RBX_LP): Likewise.
24652 (RCX_LP): Likewise.
24653 (RDI_LP): Likewise.
24654 (RSI_LP): Likewise.
24655 (RSP_LP): Likewise.
24656 (R8_LP): Likewise.
24657 (R9_LP): Likewise.
24658 (R10_LP): Likewise.
24659 (R10_LP): Likewise.
24660 (R11_LP): Likewise.
24661 (R12_LP): Likewise.
24662 (R13_LP): Likewise.
24663 (R14_LP): Likewise.
24664 (R15_LP): Likewise.
24665
24666 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24667
24668 * sysdeps/x86_64/x32/dl-machine.h: New file.
24669
24670 2012-05-14 Andreas Jaeger <aj@suse.de>
24671
24672 * manual/Makefile (subdir): Remove export of subdir.
24673 (all): Remove target.
24674 (.PHONY): Remove all from list.
24675 (mkinstalldirs): Remove.
24676 (.PHONY): Remove installdirs from list.
24677 ($(inst_infodir)/libc.info): Use make-target-directory.
24678 (installdirs): Remove.
24679 (subdir_%): Remove.
24680 (glibc-targets): Remove.
24681 (lib): Remove.
24682 (stubs): Remove.
24683 ($(objpfx)stubs ../po/manual.pot): Remove.
24684 ($(objpfx)stamp%): Remove.
24685 (make-target-directory): Remove.
24686 (subdir_install): Remove.
24687 (routines): Remove.
24688 (aux): Remove.
24689 (sources): Remove.
24690 (objects): Remove.
24691 (headers): Remove.
24692
24693 [BZ #13750]
24694 * manual/.gitignore: Remove, it's not needed anymore.
24695 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24696 all files in it.
24697 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24698 directory.
24699 (texis): Renamed to $(objpfx)texis.
24700 (texis-path): New, contains path to generated files.
24701 (chapters.%): Use texis-path for complete path, add extra argument
24702 libc-texinfo.sh.
24703 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24704 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24705 (summary,texi, stamp-summary): Use complete path of
24706 files. Generate files in build dir.
24707 (dir-add.texi): Build in build dir.
24708 (libm-err.texi,stamp-libm-err): Likewise.
24709 (version.texi, stamp-version): Likewise.
24710 (.%c.texi): Likewise.
24711 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24712 (mostlyclean): Remove target.
24713 (realclean): Remove target.
24714 (generated): Add new variable with contents from mostlyclean and
24715 realclean, remove entries duplicated in common-mostlyclean, add
24716 stamp-libm-err and stamp-version.
24717 (generated-dirs): Add libc directory.
24718 ($(inst_infodir)/libc.info): Install files from build dir.
24719
24720 * manual/install.texi (Configuring and compiling): Adjust since
24721 the info files are not part of the tar ball anymore.
24722
24723 2012-05-14 Andreas Jaeger <aj@suse.de>
24724
24725 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24726 variable.
24727
24728 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24729
24730 [BZ #13717]
24731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24732 to 2.2.0 where earlier.
24733 * sysdeps/unix/sysv/linux/configure: Regenerated.
24734 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24735 Remove conditional code.
24736 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24737 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24738 Remove conditional code.
24739 [!__NR_lchown]: Likewise.
24740 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24741 [__NR_lchown]: Likewise.
24742 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24743 comment referencing __ASSUME_LCHOWN_SYSCALL.
24744 * sysdeps/unix/sysv/linux/i386/sigaction.c
24745 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24746 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24747 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24748 Remove conditional code.
24749 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24750 (__protocol_available): Remove #if 0 code.
24751 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24752 conditional code.
24753 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24754 * sysdeps/unix/sysv/linux/kernel-features.h
24755 (__ASSUME_GETCWD_SYSCALL): Don't define.
24756 (__ASSUME_REALTIME_SIGNALS): Likewise.
24757 (__ASSUME_PREAD_SYSCALL): Likewise.
24758 (__ASSUME_PWRITE_SYSCALL): Likewise.
24759 (__ASSUME_POLL_SYSCALL): Likewise.
24760 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24761 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24762 non-SPARC.
24763 (__ASSUME_SIOCGIFNAME): Don't define.
24764 (__ASSUME_MSG_NOSIGNAL): Likewise.
24765 (__ASSUME_SENDFILE): Define unconditionally.
24766 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24767 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24768 conditional code.
24769 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24770 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24771 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24772 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24773 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24774 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24775 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24777 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24778 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24780 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24783 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24784 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24786 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24789 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24790 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24795 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24800 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24801 Remove conditional code.
24802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24803 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24804 Remove conditional code.
24805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24806 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24807 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24808 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24809 Remove conditional code.
24810 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24811 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24812 Remove conditional code.
24813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24814 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24815 Remove conditional code.
24816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24817 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24818 Remove conditional code.
24819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24820 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24821 Remove conditional code.
24822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24823 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24824 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24826 * sysdeps/unix/sysv/linux/sigaction.c
24827 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24828 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24829 * sysdeps/unix/sysv/linux/sigpending.c
24830 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24831 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24832 * sysdeps/unix/sysv/linux/sigprocmask.c
24833 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24834 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24835 * sysdeps/unix/sysv/linux/sigsuspend.c
24836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24838 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24839 (__libc_missing_rt_sigs): Remove.
24840 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24841 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24842 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24843 Remove conditional code.
24844 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24845 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24846 return 1.
24847 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24848 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24849 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24850 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24851
24852 2012-05-14 Andreas Jaeger <aj@suse.de>
24853
24854 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24855 it's not used in glibc.
24856 (__coshm1): Likewise.
24857 (__acosh1p): Likewise.
24858 (__sgn): Likewise.
24859
24860 * manual/string.texi (Copying and Concatenation): Add missing
24861 variable in concat example.
24862 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24863
24864 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24865
24866 [BZ #14103]
24867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24868 __builtin_clzl with __builtin_clzll.
24869
24870 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24871
24872 [BZ #14104]
24873 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24874 libc_freeres_ptr.
24875
24876 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24877
24878 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24879 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24880 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24881 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24882
24883 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24884
24885 * NEWS: Update ia64 info.
24886
24887 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24888
24889 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24890 used as bcopy.
24891
24892 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24893
24894 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24895 * sysdeps/unix/syscalls.list (dup3): Likewise.
24896 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24897 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24898
24899 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24900
24901 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24902 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24903
24904 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24905
24906 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24907 thread pointer.
24908 (TLS_IE): Use mov/add instead of movq/addq to load thread
24909 pointer.
24910 (TLS_GD_PREFIX): New.
24911 (TLS_GD): Use it.
24912
24913 2012-05-11 David S. Miller <davem@davemloft.net>
24914
24915 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24916 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24917 (_FPU_SETCW): Likewise.
24918
24919 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24920
24921 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24922 is 32-byte aligned.
24923
24924 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24925
24926 [BZ #11837]
24927 * iconvdata/gb18030.c: Update tables.
24928 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24929 characters specially.
24930 (BODY for TO_LOOP): Add encoding of missing ranges.
24931
24932 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24933
24934 [BZ #13673]
24935 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24936 * sysdeps/mach/hurd/dup3.c: Likewise.
24937 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24938 * sysdeps/powerpc/memmove.c:: Likewise.
24939
24940 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24941
24942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24943 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24944
24945 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24946
24947 * elf/elf.h (R_X86_64_RELATIVE64): New.
24948 (R_X86_64_NUM): Updated.
24949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24950 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24951 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24952 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24953 tst-quad1pie tst-quad2pie
24954 (modules-names): Add tst-quadmod1 tst-quadmod2.
24955 ($(objpfx)tst-quad1): New dependency.
24956 ($(objpfx)tst-quad2): Likewise.
24957 ($(objpfx)tst-quad1pie): Likewise.
24958 ($(objpfx)tst-quad2pie): Likewise.
24959 * sysdeps/x86_64/tst-quad1.c: New file.
24960 * sysdeps/x86_64/tst-quad1pie.c: New file.
24961 * sysdeps/x86_64/tst-quad2.c: Likewise.
24962 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24963 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24964 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24965 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24966 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24967
24968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24969
24970 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24971 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24972 * streams/stropts.h (t_scalar_t): Define type.
24973
24974 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24975 (_PATH_PRESERVE): Set to "/var/lib".
24976 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24977
24978 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24979 instead of int.
24980
24981 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24982 if __dir_mkfile succeeded.
24983
24984 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24985 checking for _hurd_dtablesize. Unlock it right after having
24986 finished _hurd_dtable allocation.
24987
24988 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24989
24990 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24991 * sysdeps/mach/hurd/configure: Regenerated.
24992 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24993 special-casing to...
24994 * sysdeps/gnu/configure.in: ... this new file.
24995 * sysdeps/unix/sysv/linux/configure: Regenerated.
24996 * sysdeps/gnu/configure: New generated file.
24997
24998 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24999 for Linux: use nsec instead of usec, as well as:
25000 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25001 members of type struct timespec.
25002 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25003 New macros.
25004 (struct stat64): Likewise.
25005 (_STATBUF_ST_NSEC): New macro.
25006 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25007
25008 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25009 __strtoul_internal rather than strtoul.
25010
25011 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25012
25013 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25014 and reject them.
25015
25016 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25017
25018 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25019 which preserves existing values.
25020 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25021
25022 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25023
25024 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25025 TIMEOUT values. Return EINVAL for NFDS values either negative or
25026 greater than FD_SETSIZE.
25027
25028 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25029
25030 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25031 allocated, call __vm_protect to finish enabling the existing space, and
25032 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25033 allocate the remainder.
25034
25035 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25036
25037 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25038 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25039
25040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25041
25042 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25043 sysdeps/mach/hurd/readlink.c.
25044
25045 * posix/tst-sysconf.c (posix_options): Only use
25046 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25047 _POSIX_SYNCHRONIZED_IO when they are defined
25048 * sysdeps/mach/hurd/bits/posix_opt.h:
25049 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25050 (_XOPEN_REALTIME): Undefine macro.
25051 (_XOPEN_REALTIME_THREADS): Undefine macro.
25052 (_XOPEN_SHM): Undefine macro.
25053 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25054 macro to -1.
25055 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25056 macro to -1.
25057 (_POSIX_ASYNC_IO): Undefine macro.
25058 (_POSIX_PRIORITIZED_IO): Undefine macro.
25059 (_POSIX_SPIN_LOCKS): Define macro to -1.
25060
25061 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25062 SA_NODEFER, SA_RESETHAND.
25063 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25064 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25065 F_DUPFD_CLOEXEC.
25066
25067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25068
25069 * elf/Makefile (pldd-modules): Define unconditionally.
25070
25071 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25072
25073 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25074
25075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25076
25077 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25078 Return ENOENT when name is empty.
25079 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25080
25081 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25082
25083 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25084
25085 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25086
25087 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25088
25089 Fix mlock in all cases except non-readable pages.
25090 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25091 instead of VM_PROT_ALL as parameter to __vm_wire function.
25092
25093 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25094 (__mkdir): When path is `/', just fail with EEXIST.
25095 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25096
25097 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25098
25099 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25100 <sys/uio.h> (for writev).
25101 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25102 and <sys/param.h> (for MIN).
25103
25104 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25105
25106 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25107 REQUESTED_TIME. Properly set the remaining time and return EINTR
25108 if interrupted.
25109
25110 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25111
25112 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25113 Depend on against $(link-rpcuserlibs).
25114
25115 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25116
25117 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25118 (__libc_stack_end): Do not use attribute_relro.
25119 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25120 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25121 to libthread-provided value.
25122 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25123 attribute_relro.
25124
25125 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25126
25127 [BZ #3748]
25128 * bits/libc-lock.h (__libc_once_get): New macro.
25129 * sysdeps/mach/bits/libc-lock.h: Likewise.
25130 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25132 instead of using implementation details.
25133
25134 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25135 * libio/freopen.c: Likewise.
25136 * libio/freopen64.c: Likewise.
25137 * misc/syslog.c: Likewise.
25138 * nscd/connections.c: Likewise.
25139 * nscd/netgroupcache.c: Likewise.
25140 * sysdeps/posix/getcwd.c: Likewise.
25141
25142 2012-05-10 Roland McGrath <roland@hack.frob.com>
25143
25144 * math/w_ilogbf.c: Add #include <limits.h>.
25145
25146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25147
25148 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25149 path instead of returning without unlocking.
25150
25151 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25152 immediate-write ioctls.
25153 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25154
25155 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25156
25157 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25158 __builtin_frame_address instead of making assumptions about the
25159 location of the return address relative to DATA. Force early load of
25160 the return address.
25161 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25162 __builtin_frame_address.
25163
25164 dup3 for GNU Hurd.
25165 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25166 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25167 implement dup3 and do some further code clean-ups.
25168 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25169 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25170
25171 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25172
25173 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25174
25175 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25176 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25177 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25178 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25179 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25180 d->port.lock.
25181
25182 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25183 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25184 when handler == SIG_ERR, not when handler != SIG_ERR.
25185
25186 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25187
25188 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25189 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25190 definitions.
25191
25192 accept4 for GNU Hurd.
25193 * include/sys/socket.h (__libc_accept4): New prototype.
25194 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25195 to implement __libc_accept4.
25196 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25197 __libc_accept4.
25198 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25199
25200 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25201 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25202 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25203 signal-defines.sym.
25204
25205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25206
25207 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25208
25209 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25210
25211 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25212 assertion on O_CLOEXEC flag.
25213 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25214 * hurd/intern-fd.c: Likewise.
25215 * hurd/port2fd.c: Likewise.
25216
25217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25218
25219 [BZ #3906]
25220 * bits/in.h (IPV6_PKTINFO): Define new macro.
25221 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25222
25223 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25224
25225 [BZ #13954]
25226 [BZ #13955]
25227 [BZ #13956]
25228 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25230 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25231 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25233 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25234 * math/libm-test.inc (logb_test) : Additional logb tests.
25235
25236 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25237 Andreas Jaeger <aj@suse.de>
25238
25239 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25240 * configure: Regenerated.
25241 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25242 * config.make.in (link-obsolete-rpc): New substituted variable.
25243 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25244 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25245 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25246 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25247 so that libc.a contains the symbols.
25248 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25249 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25250 * sunrpc/auth_none.c: Likewise.
25251 * sunrpc/auth_unix.c: Likewise.
25252 * sunrpc/authdes_prot.c: Likewise.
25253 * sunrpc/authuxprot.c: Likewise.
25254 * sunrpc/clnt_gen.c: Likewise.
25255 * sunrpc/clnt_perr.c: Likewise.
25256 * sunrpc/clnt_raw.c: Likewise.
25257 * sunrpc/clnt_simp.c: Likewise.
25258 * sunrpc/clnt_tcp.c: Likewise.
25259 * sunrpc/clnt_udp.c: Likewise.
25260 * sunrpc/clnt_unix.c: Likewise.
25261 * sunrpc/des_crypt.c: Likewise.
25262 * sunrpc/des_soft.c: Likewise.
25263 * sunrpc/get_myaddr.c: Likewise.
25264 * sunrpc/key_call.c: Likewise.
25265 * sunrpc/key_prot.c: Likewise.
25266 * sunrpc/netname.c: Likewise.
25267 * sunrpc/pm_getmaps.c: Likewise.
25268 * sunrpc/pm_getport.c: Likewise.
25269 * sunrpc/pmap_clnt.c: Likewise.
25270 * sunrpc/pmap_prot.c: Likewise.
25271 * sunrpc/pmap_prot2.c: Likewise.
25272 * sunrpc/pmap_rmt.c: Likewise.
25273 * sunrpc/publickey.c: Likewise.
25274 * sunrpc/rpc_cmsg.c: Likewise.
25275 * sunrpc/rpc_common.c: Likewise.
25276 * sunrpc/rpc_dtable.c: Likewise.
25277 * sunrpc/rpc_prot.c: Likewise.
25278 * sunrpc/rpc_thread.c: Likewise.
25279 * sunrpc/rtime.c: Likewise.
25280 * sunrpc/svc.c: Likewise.
25281 * sunrpc/svc_auth.c: Likewise.
25282 * sunrpc/svc_raw.c: Likewise.
25283 * sunrpc/svc_run.c: Likewise.
25284 * sunrpc/svc_tcp.c: Likewise.
25285 * sunrpc/svc_udp.c: Likewise.
25286 * sunrpc/svc_unix.c: Likewise.
25287 * sunrpc/svcauth_des.c: Likewise.
25288 * sunrpc/xcrypt.c: Likewise.
25289 * sunrpc/xdr.c: Likewise.
25290 * sunrpc/xdr_array.c: Likewise.
25291 * sunrpc/xdr_float.c: Likewise.
25292 * sunrpc/xdr_intXX_t.c: Likewise.
25293 * sunrpc/xdr_mem.c: Likewise.
25294 * sunrpc/xdr_rec.c: Likewise.
25295 * sunrpc/xdr_ref.c: Likewise.
25296 * sunrpc/xdr_sizeof.c: Likewise.
25297 * sunrpc/xdr_stdio.c: Likewise.
25298
25299 2012-05-10 Roland McGrath <roland@hack.frob.com>
25300
25301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25302 change. Update copyright years.
25303
25304 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25305
25306 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25307
25308 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25309 Joseph Myers <joseph@codesourcery.com>
25310 Paul Pluzhnikov <ppluzhnikov@google.com>
25311
25312 [BZ #14012]
25313 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25314 requiring rpcgen.
25315 [cross-compiling] (extra-libs): Likewise.
25316 [cross-compiling] (extra-libs-others): Likewise.
25317 [cross-compiling] (librpcsvc-routines): Likewise.
25318 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25319 [cross-compiling] (omit-deps): Likewise.
25320 (sunrpc-CPPFLAGS): New variable.
25321 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25322 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25323 (cross-rpcgen-objs): New variable.
25324 (extra-objs): Append $(cross-rpcgen-objs).
25325 ($(cross-rpcgen-objs)): New rule.
25326 ($(objpfx)cross-rpcgen): Likewise.
25327 (rpcgen-cmd): Define to use $(built-program-file). Expand
25328 comment.
25329 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25330 ($(objpfx)x%.stmp): Likewise.
25331 * sunrpc/proto.h [IS_IN_build] (_): Define.
25332 [IS_IN_build] (_libc_intl_domainname): Likewise.
25333
25334 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25335
25336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25337 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25338 and R_X86_64_TPOFF64.
25339
25340 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25341
25342 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25343 sysdeps/unix/sysv/syscalls.list.
25344 (stime): Likewise.
25345 (utime): Likewise.
25346 * sysdeps/unix/sysv/syscalls.list: Remove file.
25347
25348 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25349
25350 [BZ #3440]
25351 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25352 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25353 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25354 (__LC_IDENTIFICATION): Make these macros useful in #if
25355 expressions, as required by C99.
25356
25357 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25358
25359 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25360 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25361 after this.
25362
25363 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25364
25365 * stdlib/longlong.h: Updated from GCC.
25366
25367 2012-05-09 Andreas Jaeger <aj@suse.de>
25368
25369 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25370 default is first entry.
25371 (run_mode): Set type.
25372 (main): Remove informal message about syslog.
25373 (options): Fix typo.
25374
25375 [BZ #14053]
25376 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25377 to asm.
25378 (lrint): Likewise.
25379 (llrintf): Likewise.
25380 (llrint): Likewise.
25381 (rint): Likewise.
25382 (rintf): Likewise.
25383 (nearbyint): Likewise.
25384 (nearbyintf): Likewise.
25385
25386 2012-05-09 Andreas Jaeger <aj@suse.de>
25387 Pedro Alves <palves@redhat.com>
25388
25389 * nscd/nscd.c (run_mode): Use enum.
25390 (main): Cleanup coding style issue.
25391
25392 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25393 Andreas Jaeger <aj@suse.de>
25394
25395 * nscd/nscd.c (go_background): Replaced with...
25396 (run_mode): ... this.
25397 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25398 (options): Add -F --foreground.
25399 (main): Implement it.
25400 (parse_opt): Parse it.
25401
25402 2012-05-09 Andreas Jaeger <aj@suse.de>
25403
25404 [BZ #14083]
25405 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25406 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25407 -Wconversion warning.
25408 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25409 Likewise.
25410
25411 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25412
25413 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25414 == 0.
25415 (LC_ALL): Use macro-int-constant.
25416 (LC_COLLATE): Likewise.
25417 (LC_CTYPE): Likewise.
25418 (LC_MESSAGES): Likewise.
25419 (LC_MONETARY): Likewise.
25420 (LC_NUMERIC): Likewise.
25421 (LC_TIME): Likewise.
25422 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25423 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25425 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25426 Specify type.
25427 [C99-based standards] (float_t): Expect type.
25428 [C99-based standards] (double_t): Expect type.
25429 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25430 type.
25431 [C99-based standards] (HUGE_VALL): Likewise.
25432 [C99-based standards] (INFINITY): Likewise.
25433 [C99-based standards] (NAN): Likewise.
25434 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25435 [C99-based standards] (FP_NAN): Likewise.
25436 [C99-based standards] (FP_NORMAL): Likewise.
25437 [C99-based standards] (FP_SUBNORMAL): Likewise.
25438 [C99-based standards] (FP_ZERO): Likewise.
25439 [C99-based standards] (FP_FAST_FMA): Use
25440 optional-macro-int-constant. Specify type. Require == 1.
25441 [C99-based standards] (FP_FAST_FMAF): Likewise.
25442 [C99-based standards] (FP_FAST_FMAL): Likewise.
25443 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25444 [C99-based standards] (FP_ILOGBNAN): Likewise.
25445 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25446 Specify type.
25447 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25448 [C99-based standards] (math_errhandling): Specify type.
25449 [ISO99 || ISO11] (signgam): Do not allow.
25450 [non-C99-based standards] (copysignf): Do not allow.
25451 [non-C99-based standards] (exp2f): Likewise.
25452 [non-C99-based standards] (log2f): Likewise.
25453 [non-C99-based standards] (modff): Allow.
25454 [non-C99-based standards] (erff): Do not allow.
25455 [non-C99-based standards] (erfcf): Likewise.
25456 [non-C99-based standards] (gammaf): Likewise.
25457 [non-C99-based standards] (hypotf): Likewise.
25458 [non-C99-based standards] (j0f): Likewise.
25459 [non-C99-based standards] (j1f): Likewise.
25460 [non-C99-based standards] (jnf): Likewise.
25461 [non-C99-based standards] (lgammaf): Likewise.
25462 [non-C99-based standards] (tgammaf): Likewise.
25463 [non-C99-based standards] (y0f): Likewise.
25464 [non-C99-based standards] (y1f): Likewise.
25465 [non-C99-based standards] (ynf): Likewise.
25466 [non-C99-based standards] (isnanf): Likewise.
25467 [non-C99-based standards] (acoshf): Likewise.
25468 [non-C99-based standards] (asinhf): Likewise.
25469 [non-C99-based standards] (atanhf): Likewise.
25470 [non-C99-based standards] (cbrtf): Likewise.
25471 [non-C99-based standards] (expm1f): Likewise.
25472 [non-C99-based standards] (ilogbf): Likewise.
25473 [non-C99-based standards] (log1pf): Likewise.
25474 [non-C99-based standards] (logbf): Likewise.
25475 [non-C99-based standards] (nextafterf): Likewise.
25476 [non-C99-based standards] (remainderf): Likewise.
25477 [non-C99-based standards] (rintf): Likewise.
25478 [non-C99-based standards] (scalbf): Likewise.
25479 [non-C99-based standards] (copysignl): Likewise.
25480 [non-C99-based standards] (exp2l): Likewise.
25481 [non-C99-based standards] (log2l): Likewise.
25482 [non-C99-based standards] (modfl): Allow.
25483 [non-C99-based standards] (erfl): Do not allow.
25484 [non-C99-based standards] (erfcl): Likewise.
25485 [non-C99-based standards] (gammal): Likewise.
25486 [non-C99-based standards] (hypotl): Likewise.
25487 [non-C99-based standards] (j0l): Likewise.
25488 [non-C99-based standards] (j1l): Likewise.
25489 [non-C99-based standards] (jnl): Likewise.
25490 [non-C99-based standards] (lgammal): Likewise.
25491 [non-C99-based standards] (tgammal): Likewise.
25492 [non-C99-based standards] (y0l): Likewise.
25493 [non-C99-based standards] (y1l): Likewise.
25494 [non-C99-based standards] (ynl): Likewise.
25495 [non-C99-based standards] (isnanl): Likewise.
25496 [non-C99-based standards] (acoshl): Likewise.
25497 [non-C99-based standards] (asinhl): Likewise.
25498 [non-C99-based standards] (atanhl): Likewise.
25499 [non-C99-based standards] (cbrtl): Likewise.
25500 [non-C99-based standards] (expm1l): Likewise.
25501 [non-C99-based standards] (ilogbl): Likewise.
25502 [non-C99-based standards] (log1pl): Likewise.
25503 [non-C99-based standards] (logbl): Likewise.
25504 [non-C99-based standards] (nextafterl): Likewise.
25505 [non-C99-based standards] (remainderl): Likewise.
25506 [non-C99-based standards] (rintl): Likewise.
25507 [non-C99-based standards] (scalbl): Likewise.
25508 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25509 [non-C99-based standards] (FP_*): Do not allow.
25510 [C99-based standards] (FP_*): Change to
25511 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25512 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25513 allow.
25514 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25515 (SIG_ERR): Likewise.
25516 [X/Open-based standards] (SIG_HOLD): Likewise.
25517 (SIG_IGN): Likewise.
25518 (SIGABRT): Use macro-int-constant. Specify type. Require
25519 positive value.
25520 (SIGFPE): Likewise.
25521 (SIGILL): Likewise.
25522 (SIGINT): Likewise.
25523 (SIGSEGV): Likewise.
25524 (SIGTER): Likewise.
25525 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25526 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25527 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25528 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25529 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25530 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25531 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25532 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25533 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25534 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25535 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25536 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25537 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25538 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25539 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25540 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25541 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25542 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25543 [X/Open-based standards] (SIGTRAP): Likewise.
25544 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25545 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25546 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25547 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25548 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25549 allow.
25550
25551 2012-05-08 Ian Wienand <ianw@vmware.com>
25552
25553 [BZ #14080]
25554 * time/tzset.c (__tzset_parse_tz): Update default rules for
25555 daylight time changes in the Energy Policy Act of 2005.
25556
25557 2012-05-09 Andreas Jaeger <aj@suse.de>
25558
25559 [BZ #13983]
25560 * elf/ldconfig.c (parse_conf): Change string to make clear that
25561 ldconfig only issued a warning if ld.so.conf does not exist.
25562
25563 2012-05-08 David S. Miller <davem@davemloft.net>
25564
25565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25566 movxtod instead of popping the value on the stack.
25567
25568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25569
25570 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25571
25572 * config.h.in: Add HAVE_ARM_PCS_VFP.
25573
25574 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25575
25576 [BZ #13979]
25577 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25578 checking but the checks are disabled for any reason.
25579
25580 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25581
25582 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25583 and ELF64_R_TYPE with ELFW(R_TYPE).
25584
25585 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25586
25587 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25588 (ulimit): Likewise.
25589
25590 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25591 (settimeofday): Likewise.
25592
25593 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25594
25595 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25596 a struct th_u2 inside the union, and move tu_block/tu_code into
25597 a new th_u3 union of tu_block/tu_code inside of that. Move
25598 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25599 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25600 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25601 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25602 (th_stuff): Change to th_u1.tu_stuff.
25603 (th_data): Define.
25604 (th_msg): Change to th_u1.th_u2.tu_data.
25605
25606 2012-05-07 David S. Miller <davem@davemloft.net>
25607
25608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25609
25610 [BZ #14074]
25611 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25612 (SETUP_PIC_REG): Use it.
25613 (SETUP_PIC_REG_LEAF): Use it.
25614
25615 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25616
25617 [BZ #13885]
25618 [BZ #13923]
25619 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25620 USE_AS_EXPM1L.
25621 (EXPL_FINITE): Likewise.
25622 (FLDLOG): Likewise.
25623 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25624 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25625 e_expl.S.
25626 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25627 USE_AS_EXPM1L.
25628 (EXPL_FINITE): Likewise.
25629 (FLDLOG): Likewise.
25630 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25631 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25632 e_expl.S.
25633 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25634 test of -max_value argument for long double.
25635 * sysdeps/i386/fpu/libm-test-ulps: Update.
25636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25637
25638 2012-05-06 David S. Miller <davem@davemloft.net>
25639
25640 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25641 quad soft-float symbols whose references which are compiler
25642 generated.
25643 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25644
25645 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25646
25647 [BZ #13884]
25648 [BZ #13914]
25649 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25650 USE_AS_EXP10L.
25651 (EXPL_FINITE): Likewise.
25652 (FLDLOG): Likewise.
25653 (c0): Likewise.
25654 (c1): Likewise.
25655 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25656 Adjust comments for base varying.
25657 (__expl_finite): Change alias to EXPL_FINITE.
25658 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25659 e_expl.S.
25660 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25661 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25663 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25664 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25665 USE_AS_EXP10L.
25666 (EXPL_FINITE): Likewise.
25667 (FLDLOG): Likewise.
25668 (c0): Likewise.
25669 (c1): Likewise.
25670 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25671 Adjust comments for base varying.
25672 (__expl_finite): Change alias to EXPL_FINITE.
25673 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25674 tests for bugs.
25675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25676
25677 [BZ #14064]
25678 * math/libm-test.inc (check_float_internal): Correct ulp
25679 calculation for subnormal expected results.
25680
25681 2012-05-06 Andreas Jaeger <aj@suse.de>
25682
25683 * Makeconfig (+math-flags): New, set to -frounding-math.
25684 (+cflags): Add +math-flags so that all of glibc gets compiled with
25685 it.
25686
25687 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25688
25689 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25690
25691 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25692 Disable one test.
25693
25694 [BZ #13787]
25695 [BZ #13922]
25696 [BZ #14036]
25697 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25698 (__ieee754_expl): Allow for and saturate large arguments.
25699 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25700 (u_threshold): Likewise.
25701 (__exp): Call __ieee754_exp before checking for overflow and
25702 underflow.
25703 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25704 (u_threshold): Likewise.
25705 (__expf): Call __ieee754_expf before checking for overflow and
25706 underflow.
25707 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25708 (u_threshold): Likewise.
25709 (__expl): Call __ieee754_expl before checking for overflow and
25710 underflow.
25711 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25712 (__ieee754_expl): Allow for and saturate large arguments.
25713 * math/libm-test.inc (exp_test): Add another test. Do not allow
25714 missing overflow exception on overflow.
25715 (expm1_test): Do not allow missing overflow exception on overflow.
25716
25717 * sysdeps/i386/fpu/e_expl.c: Move to ...
25718 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25719 rather than using inline asm.
25720 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25721 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25722 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25723
25724 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25725 (nice): Likewise.
25726 (poll): Likewise.
25727 (signal): Likewise.
25728 (time): Likewise.
25729 (times): Likewise.
25730
25731 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25732
25733 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25734 sysdeps/unix/common/syscalls.list.
25735 (fchmod): Likewise.
25736 (fchown): Likewise.
25737 (ftruncate): Likewise.
25738 (getrusage): Likewise.
25739 (gettimeofday): Likewise.
25740 (setpgid): Likewise.
25741 (setregid): Likewise.
25742 (setreuid): Likewise.
25743 (sigaction): Likewise.
25744 (truncate): Likewise.
25745 (vhangup): Likewise.
25746 * sysdeps/unix/common/syscalls.list: Remove file.
25747 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25748 * sysdeps/unix/sysv/linux/Implies: Likewise.
25749
25750 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25751
25752 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25754 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25755 Moved to ...
25756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25757 Here.
25758 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25759 to ...
25760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25761 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25762 to ...
25763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25764 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25765 to ...
25766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25767 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25768 to ...
25769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25770 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25771 to ...
25772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25773 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25774 to ...
25775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25776 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25777 to ...
25778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25779 Here.
25780 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25781 to ...
25782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25783 Here.
25784 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25785 to ...
25786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25787 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25788 Moved to ...
25789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25790 Here.
25791 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25792 to ...
25793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25794
25795 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25796
25797 * sysdeps/unix/common/bits/dirent.h: Remove file.
25798 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25799
25800 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25801 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25802 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25803 * sysdeps/unix/bsd/isatty.c: Likewise.
25804 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25805 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25806 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25807
25808 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25809
25810 [BZ #13563]
25811 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25812 long double comparison inaccuracies.
25813 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25815
25816 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25817
25818 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25820
25821 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25822
25823 [BZ #14049]
25824 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25825 nonzero digits before rounding a hex value.
25826 * stdlib/tst-strtod.c (tests): Add another test.
25827
25828 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25829
25830 * sysdeps/s390/fpu/libm-test-ulps: Update.
25831
25832 2012-05-03 Andreas Jaeger <aj@suse.de>
25833
25834 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25835 does not get optimized out.
25836 (malloc_opt_barrier): New.
25837
25838 2012-05-03 Andreas Jaeger <aj@suse.de>
25839 Roland McGrath <roland@hack.frob.com>
25840
25841 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25842 intermediate file deletion.
25843 (generated): Add .symlist files.
25844
25845 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25846
25847 [BZ #13775]
25848 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25849 Redirect under this condition.
25850 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25851 [__USE_GNU] (__dprintf_chk): Not under this condition.
25852 [__USE_GNU] (__vdprintf_chk): Likewise.
25853 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25854 under this condition.
25855 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25856 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25857 [__USE_XOPEN2K8] (vdprintf): Likewise.
25858 [__USE_GNU] (__dprintf_chk): Not under this condition.
25859 [__USE_GNU] (__vdprintf_chk): Likewise.
25860 [__USE_GNU] (dprintf): Likewise.
25861 [__USE_GNU] (vdprintf): Likewise.
25862
25863 2012-05-03 Roland McGrath <roland@hack.frob.com>
25864
25865 * elf/Makefile (common-generated): Set this instead of generated for
25866 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25867 $(all-built-dso)-derived lists.
25868
25869 2012-05-03 Andreas Jaeger <aj@suse.de>
25870
25871 * sysdeps/i386/fpu/libm-test-ulps: Update.
25872
25873 * FAQ: Removed.
25874 * FAQ.in: Likewise.
25875 * scripts/gen-FAQ.pl: Likewise.
25876 * manual/install.texi (Installation): Point to online location of
25877 FAQ.
25878 * Makefile (files-for-dist): Remove FAQ.
25879 (FAQ): Remove.
25880
25881 2012-05-02 Allan McRae <allan@archlinux.org>
25882
25883 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25884 (LDFLAGS-reldepmod5.so): Likewise.
25885 (LDFLAGS-reldep6mod1.so): Likewise.
25886 (LDFLAGS-reldep6mod4.so): Likewise.
25887 (LDFLAGS-reldep8mod3.so): Likewise.
25888 (LDFLAGS-unload4mod1.so): Likewise.
25889 (LDFLAGS-unload4mod2.so): Likewise.
25890 (LDFLAGS-tst-initorder): Likewise.
25891 (LDFLAGS-tst-initordera2.so): Likewise.
25892 (LDFLAGS-tst-initordera3.so): Likewise.
25893 (LDFLAGS-tst-initordera4.so): Likewise.
25894 (LDFLAGS-tst-initorderb2.so): Likewise.
25895 (LDFLAGS-noload): Likewise.
25896 (LDFLAGS-next): Likewise.
25897 (LDFLAGS-order2mod1.so): Likewise.
25898 (LDFLAGS-order2mod2.so): Likewise.
25899 (LDFLAGS-tst-initorder2): Likewise.
25900 (LDFLAGS-tst-initorder2a.so): Likewise.
25901 (LDFLAGS-tst-initorder2b.so): Likewise.
25902 (LDFLAGS-tst-initorder2c.so): Likewise.
25903 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25904
25905 2012-05-02 David S. Miller <davem@davemloft.net>
25906
25907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25908
25909 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25910
25911 [BZ #14055]
25912 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25913
25914 2012-05-02 Andreas Jaeger <aj@suse.de>
25915
25916 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25917 since we manipulate rounding mode.
25918 (CPPFLAGS-test-idouble.c): Likewise.
25919 (CPPFLAGS-test-ifloat.c): Likewise.
25920 (CFLAGS-test-ldouble.c): Likewise.
25921 (CFLAGS-test-double.c): Likewise.
25922 (CFLAGS-test-float.c): Likewise.
25923 (CFLAGS-test-misc.c): Likewise.
25924 (CFLAGS-test-test-fenv.c): Likewise.
25925
25926 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25927
25928 [BZ #2550]
25929 [BZ #2570]
25930 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25931 comparisons to determine direction to adjust input.
25932
25933 2012-05-01 Roland McGrath <roland@hack.frob.com>
25934
25935 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25936 output to the target.
25937
25938 * scripts/localplt.awk: New file.
25939 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25940 (check-localplt-CFLAGS): Variable removed.
25941 ($(all-built-dso:=.jmprel)): New static pattern rule.
25942 (generated): Add those targets.
25943 (localplt-built-dso): New variable.
25944 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25945
25946 * elf/check-localplt.c: File removed.
25947
25948 * scripts/check-execstack.awk: New file.
25949 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25950 (check-execstack-CFLAGS): Variable removed.
25951 ($(objpfx)check-execstack.h): Target removed.
25952 ($(objpfx)execstack-default): New target.
25953 (generated): Add that instead of check-execstack.h.
25954 ($(all-built-dso:=.phdr)): New static pattern rule.
25955 (generated): Add those targets.
25956 * elf/check-execstack.c: File removed.
25957
25958 * scripts/check-textrel.awk: New file.
25959 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25960 (check-textrel-CFLAGS): Variable removed.
25961 (all-built-dso): Use := to define.o
25962 ($(all-built-dso:=.dyn)): New static pattern rule.
25963 (generated): Add those targets.
25964 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25965 * config.make.in (READELF): New substituted variable.
25966 * elf/check-textrel.c: File removed.
25967
25968 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25969
25970 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25971 allow.
25972 * conform/data/ctype.h-data [C99-based standards] (isblank):
25973 Expect function.
25974 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25975 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25976 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25977 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25978 Specify type. Require positive value.
25979 (EILSEQ): Likewise.
25980 (ERANGE): Likewise.
25981 [ISO || POSIX] (EILSEQ): Do not expect.
25982 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25983 Specify type. Require positive value.
25984 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25985 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25986 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25987 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25988 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25989 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25990 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25991 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25992 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25993 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25994 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25995 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25996 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25997 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25998 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25999 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26000 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26001 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26002 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26003 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26004 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26005 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26006 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26007 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26008 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26009 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26010 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26011 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26012 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26013 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26014 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26015 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26016 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26017 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26018 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26019 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26020 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26021 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26022 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26023 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26024 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26025 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26026 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26027 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26028 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26029 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26030 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26031 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26032 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26033 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26034 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26035 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26036 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26037 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26038 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26039 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26040 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26041 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26042 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26043 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26044 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26045 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26046 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26047 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26048 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26049 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26050 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26051 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26052 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26053 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26054 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26055 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26056 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26057 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26058 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26059 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26060 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26061 Require >= 2.
26062 (FLT_ROUNDS): Expect as macro, not constant.
26063 (FLT_MANT_DIG): Use macro-int-constant.
26064 (DBL_MANT_DIG): Likewise.
26065 (LDBL_MANT_DIG): Likewise.
26066 (FLT_DIG): Likewise.
26067 (DBL_DIG): Likewise.
26068 (LDBL_DIG): Likewise.
26069 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26070 (DBL_MIN_EXP): Likewise.
26071 (LDBL_MIN_EXP): Likewise.
26072 (FLT_MAX_EXP): Use macro-int-constant.
26073 (DBL_MAX_EXP): Likewise.
26074 (LDBL_MAX_EXP): Likewise.
26075 (FLT_MAX_10_EXP): Likewise.
26076 (DBL_MAX_10_EXP): Likewise.
26077 (LDBL_MAX_10_EXP): Likewise.
26078 (FLT_MAX): Use macro-constant.
26079 (DBL_MAX): Likewise.
26080 (LDBL_MAX): Likewise.
26081 (FLT_EPSILON): Use macro-constant. Give upper bound.
26082 (DBL_EPSILON): Likewise.
26083 (LDBL_EPSILON): Likewise.
26084 (FLT_MIN): Likewise.
26085 (DBL_MIN): Likewise.
26086 (LDBL_MIN): Likewise.
26087 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26088 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26089 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26090 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26091 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26092 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26093 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26094 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26095 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26096 [ISO11] (FLT_TRUE_MIN): Likewise.
26097 [ISO11] (LDBL_TRUE_MIN): Likewise.
26098 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26099 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26100 (SCHAR_MIN): Use macro-int-constant. Specify type.
26101 (SCHAR_MAX): Likewise.
26102 (UCHAR_MAX): Likewise.
26103 (CHAR_MIN): Likewise.
26104 (CHAR_MAX): Likewise.
26105 (MB_LEN_MAX): Use macro-int-constant.
26106 (SHRT_MIN): Use macro-int-constant. Specify type.
26107 (SHRT_MAX): Likewise.
26108 (USHRT_MAX): Likewise.
26109 (INT_MAX): Likewise.
26110 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26111 bound negative.
26112 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26113 bound with "U".
26114 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26115 bound with "L".
26116 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26117 bound negative. Suffix upper bound with "L".
26118 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26119 bound with "UL".
26120 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26121 Specify type.
26122 [C99-based standards] (LLONG_MAX): Likewise.
26123 [C99-based standards] (ULLONG_MAX): Likewise.
26124 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26125 == 0.
26126 [ISO11] (max_align_t): Require type.
26127 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26128
26129 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26130 from $CFLAGS, without defining away __attribute__ calls.
26131 (checknamespace): Use $CFLAGS_namespace.
26132
26133 * conform/conformtest.pl (@keywords): Only include C99 keywords
26134 for standards based on C99 or C11.
26135
26136 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26137 Disable tests.
26138 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26139 UNIX98]: Likewise.
26140
26141 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26142 usability of symbols in #if.
26143
26144 * conform/conformtest.pl: If macro or constant types start
26145 "promoted:", expect the symbol to be of the following type
26146 promoted by the integer promotions.
26147
26148 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26149 in one place. Also handle "macro-constant".
26150
26151 * conform/conformtest.pl: Only accept expected macro values with
26152 "==". Parse all "macro" lines in one place.
26153 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26154
26155 * conform/conformtest.pl: Handle braced types on "constant" lines
26156 instead of handling "typed-constant".
26157 * conform/data/signal.h-data: Use "constant" instead of
26158 "typed-constant".
26159
26160 * conform/conformtest.pl: Handle "optional-" at start of lines in
26161 one place rather than duplicating several cases. Handle each
26162 format of "macro" line with initial "optional-".
26163
26164 * conform/conformtest.pl: Only accept expected constant or
26165 optional-constant values with "==". Parse all "constant" lines in
26166 one place. Parse all "optional-constant" lines in one place.
26167 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26168 * conform/data/fmtmsg.h-data: Likewise.
26169 * conform/data/netinet/in.h-data: Likewise.
26170 * conform/data/tar.h-data: Likewise.
26171 * conform/data/limits.h-data: Use "==" form on "constant" and
26172 "optional-constant" lines.
26173
26174 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26175 Use -std=c99 for XOPEN2K.
26176 (@knownproblems): Remove.
26177 (newtoken): Don't check %isknown.
26178
26179 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26180 Do not expect macro.
26181 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26193 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26194 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26211 [XPG3] (acosh): Likewise.
26212 [XPG3] (asinh): Likewise.
26213 [XPG3] (atanh): Likewise.
26214 [XPG3] (cbrt): Likewise.
26215 [XPG3] (expm1): Likewise.
26216 [XPG3] (ilogb): Likewise.
26217 [XPG3] (log1p): Likewise.
26218 [XPG3] (logb): Likewise.
26219 [XPG3] (nextafter): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26222 [XPG3] (remainder): Likewise.
26223 [XPG3] (rint): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26231 [UNIX98 || XOPEN2K] (scalb): Expect.
26232 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26233 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26279 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26291 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26306 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26309 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26310 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26311 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26312 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26313 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26314 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26315 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26316 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26317 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26318 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26319 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26320 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26321 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26322 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26323 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26324 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26325 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26326 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26327 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26328 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26329 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26330 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26331 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26332 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26333 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26334 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26335 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26336 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26337 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26338 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26339 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26340 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26341 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26342 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26343 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26344 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26345 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26346 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26347 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26348 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26349 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26350 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26351 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26352 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26353 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26354 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26355 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26356 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26357 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26358 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26359 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26360 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26361 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26362 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26363 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26364 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26365 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26366 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26367 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26368 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26369
26370 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26371 _XOPEN_SOURCE_EXTENDED for XPG4.
26372
26373 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26374
26375 * Makeconfig (localtime): Remove variable.
26376 (inst_localtime-file): Likewise.
26377
26378 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26379
26380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26381 Update.
26382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26383 Update.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26385 Update.
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26387 Update.
26388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26389 Update.
26390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26391 Update.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26393 Update.
26394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26395 Update.
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26397 Update.
26398
26399 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26400
26401 [BZ #2550]
26402 [BZ #2570]
26403 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26404 comparisons to determine direction to adjust input.
26405 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26406 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26407 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26408 Likewise.
26409 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26410 Likewise.
26411 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26412 Likewise.
26413 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26414 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26415 Likewise.
26416 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26417 Likewise.
26418 * math/libm-test.inc (nexttoward_test): Add more tests.
26419
26420 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26421
26422 [BZ #14040]
26423 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26424 in version GLIBC_2.1, not GLIBC_2.0.
26425 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26426 Likewise.
26427
26428 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26429
26430 [BZ #13942]
26431 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26432 (1 - x) * (1 + x).
26433 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26434 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26435 * math/libm-test.inc (acos_test): Add more tests.
26436 (asin_test): Likewise.
26437 * sysdeps/i386/fpu/libm-test-ulps: Update.
26438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26439
26440 [BZ #14034]
26441 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26442 of square root.
26443 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26444 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26445 * math/libm-test.inc (acos_test_tonearest): New function.
26446 (acos_test_towardzero): Likewise.
26447 (acos_test_downward): Likewise.
26448 (acos_test_upward): Likewise.
26449 (asin_test_tonearest): Likewise.
26450 (asin_test_towardzero): Likewise.
26451 (asin_test_downward): Likewise.
26452 (asin_test_upward): Likewise.
26453 (main): Call the new functions.
26454 * sysdeps/i386/fpu/libm-test-ulps: Update.
26455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26456
26457 [BZ #13884]
26458 [BZ #13924]
26459 * math/e_exp10.c: Include <float.h>.
26460 (__ieee754_exp10): Handle underflow here rather than multiplying
26461 large negative argument by M_LN10.
26462 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26463 of __ieee754_expf.
26464 * math/e_exp10l.c: Include <float.h>.
26465 (__ieee754_exp10l): Handle underflow here rather than multiplying
26466 large negative argument by M_LN10l.
26467 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26468 spurious overflow exception on underflow.
26469
26470 2012-04-29 Marek Polacek <polacek@redhat.com>
26471
26472 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26473 (__fortify_function): New macro.
26474 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26475 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26476 __extern_always_inline.
26477 * libio/bits/stdio2.h: Likewise.
26478 * libio/bits/stdio.h: Likewise.
26479 * string/string.h: Likewise.
26480 * string/bits/string3.h: Likewise.
26481 * include/stdio.h: Likewise.
26482 * stdlib/bits/stdlib.h: Likewise.
26483 * stdlib/stdlib.h: Likewise.
26484 * rt/bits/mqueue2.h: Likewise.
26485 * rt/mqueue.h: Likewise.
26486 * posix/bits/unistd.h: Likewise.
26487 * posix/unistd.h: Likewise.
26488 * io/bits/poll2.h: Likewise.
26489 * io/bits/fcntl2.h: Likewise.
26490 * io/fcntl.h: Likewise.
26491 * io/sys/poll.h: Likewise.
26492 * misc/bits/syslog.h: Likewise.
26493 * misc/bits/syslog-ldbl.h: Likewise.
26494 * misc/sys/syslog.h: Likewise.
26495 * socket/bits/socket2.h: Likewise.
26496 * socket/sys/socket.h: Likewise.
26497 * debug/tst-chk1.c: Likewise.
26498 * wcsmbs/bits/wchar2.h: Likewise.
26499 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26500 * wcsmbs/wchar.h: Likewise.
26501
26502 2012-04-29 Andreas Jaeger <aj@suse.de>
26503
26504 * Makerules (tests): Remove enable-check-abi protection.
26505 (check-abi-warn): Remove.
26506 (check-abi-%): Remove check-abi-warn usage.
26507
26508 * configure.in: Remove check-abi configure option.
26509 * configure: Regenerated.
26510 * config.make.in (enable-check-abi): Remove.
26511
26512 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26513
26514 [BZ #14033]
26515 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26516 double functions to double *_finite functions.
26517
26518 [BZ #13941]
26519 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26520 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26521 LDBL_MIN_EXP.
26522 * stdio-common/Makefile (tests): Add tst-sprintf3.
26523 * stdio-common/tst-sprintf3.c: New file.
26524
26525 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26526 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26527
26528 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26529
26530 * conform/conformtest.pl: Remove duplicate typed-constant
26531 handling.
26532
26533 2012-04-28 David S. Miller <davem@davemloft.net>
26534
26535 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26536 (check-abi-%): Remove AWK script prerequisite and explicit
26537 abilist directory.
26538 (check-abi): Rewrite to just diff the symlist with the abilist.
26539 (config-tls, config-abi-config): Delete, no longer used.
26540 (update-abi-%): Remove AWK script and explicit abilist directory.
26541 (update-abi): Rewrite to simply compare and conditionally copy the
26542 symlist and the sysdep abilist file. Remove update-abi-config
26543 checks.
26544 * abilist/ld.abilist: Remove.
26545 * abilist/libBrokenLocale.abilist: Remove.
26546 * abilist/libanl.abilist: Remove.
26547 * abilist/libcrypt.abilist: Remove.
26548 * abilist/libdl.abilist: Remove.
26549 * abilist/librt.abilist: Remove.
26550 * abilist/libthread_db.abilist: Remove.
26551 * abilist/libutil.abilist: Remove.
26552 * scripts/extract-abilist.awk: Remove.
26553 * scripts/merge-abilist.awk: Remove.
26554 * sysdeps/generic/libcidn.abilist: New file.
26555 * sysdeps/generic/libnss_compat.abilist: New file.
26556 * sysdeps/generic/libnss_db.abilist: New file.
26557 * sysdeps/generic/libnss_dns.abilist: New file.
26558 * sysdeps/generic/libnss_files.abilist: New file.
26559 * sysdeps/generic/libnss_hesiod.abilist: New file.
26560 * sysdeps/generic/libnss_nis.abilist: New file.
26561 * sysdeps/generic/libnss_nisplus.abilist: New file.
26562 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26563 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26564 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26565 file.
26566 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26567 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26568 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26569 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26570 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26571 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26572 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26573 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26574 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26575 file.
26576 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26577 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26578 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26579 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26580 file.
26581 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26582 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26583 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26584 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26585 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26586 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26587 file.
26588 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26589 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26590 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26591 file.
26592 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26594 New file.
26595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26596 New file.
26597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26598 New file.
26599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26600 New file.
26601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26602 New file.
26603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26604 New file.
26605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26606 New file.
26607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26608 New file.
26609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26610 New file.
26611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26612 New file.
26613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26614 New file.
26615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26616 New file.
26617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26618 New file.
26619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26620 file.
26621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26622 New file.
26623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26624 New file.
26625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26626 file.
26627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26628 New file.
26629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26630 New file.
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26632 file.
26633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26634 New file.
26635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26636 New file.
26637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26638 New file.
26639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26640 New file.
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26642 New file.
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26644 New file.
26645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26647 file.
26648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26649 New file.
26650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26651 file.
26652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26653 file.
26654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26655 file.
26656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26657 file.
26658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26659 file.
26660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26661 New file.
26662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26663 file.
26664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26665 file.
26666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26667 New file.
26668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26669 file.
26670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26672 file.
26673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26674 New file.
26675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26676 file.
26677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26678 file.
26679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26680 file.
26681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26682 file.
26683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26684 file.
26685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26686 New file.
26687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26688 file.
26689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26690 file.
26691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26692 New file.
26693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26694 file.
26695 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26696 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26697 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26698 file.
26699 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26700 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26701 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26702 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26703 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26704 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26705 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26706 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26707 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26708 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26711 file.
26712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26713 New file.
26714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26715 file.
26716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26717 file.
26718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26719 file.
26720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26721 file.
26722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26723 file.
26724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26725 New file.
26726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26727 New file.
26728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26729 file.
26730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26731 New file.
26732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26733 file.
26734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26736 file.
26737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26738 New file.
26739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26740 file.
26741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26742 file.
26743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26744 file.
26745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26746 file.
26747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26748 file.
26749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26750 New file.
26751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26752 New file.
26753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26754 file.
26755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26756 New file.
26757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26758 file.
26759
26760 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26761
26762 * conform/conformtest.pl: Fix typo in handling typed-constant from
26763 allow-header.
26764
26765 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26766
26767 * README: Cut down references to pre-2.6 Linux kernels and
26768 Linuxthreads. Update lists of configurations in libc and ports
26769 and sort alphabetically. Say "or newer" with Linux kernel version
26770 requirements.
26771
26772 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26773
26774 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26775
26776 [BZ #887]
26777 * math/libm-test.inc (logb_test_downward): New test to expose
26778 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26779 rounding mode.
26780
26781 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26782
26783 [BZ #14027]
26784 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26785 to be done.
26786 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26787 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26788
26789 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26790
26791 * sysdeps/unix/i386/brk.S: Remove file.
26792 * sysdeps/unix/i386/dl-brk.S: Likewise.
26793 * sysdeps/unix/i386/pipe.S: Likewise.
26794 * sysdeps/unix/i386/sigreturn.S: Likewise.
26795 * sysdeps/unix/i386/syscall.S: Likewise.
26796 * sysdeps/unix/i386/vfork.S: Likewise.
26797 * sysdeps/unix/i386/wait.S: Likewise.
26798
26799 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26800 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26801
26802 * configure.in (arm*-none*): Do not allow without
26803 --enable-hacker-mode.
26804 (netbsd*): Remove case setting base_os.
26805 (386bsd*): Likewise.
26806 (freebsd*): Likewise.
26807 (bsdi*): Likewise.
26808 (osf*): Likewise.
26809 (sunos*): Likewise.
26810 (ultrix*): Likewise.
26811 (newsos*): Likewise.
26812 (dynix*): Likewise.
26813 (*bsd*): Likewise.
26814 (sysv*): Likewise.
26815 (isc*): Likewise.
26816 (esix*): Likewise.
26817 (sco*): Likewise.
26818 (minix*): Likewise.
26819 (irix4*): Likewise.
26820 (irix6*): Likewise.
26821 (solaris[2-9]*): Likewise.
26822 (none): Likewise.
26823 * configure: Regenerated.
26824
26825 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26826
26827 [BZ #11521]
26828 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26829 overflow or cancellation in calculating denominator.
26830 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26831 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26832 down expression to avoid unexpected rounding in newer GCCs.
26833 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26834
26835 2012-04-26 David S. Miller <davem@davemloft.net>
26836
26837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26838 long-double compat symbols.
26839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26852
26853 2012-04-25 David S. Miller <davem@davemloft.net>
26854
26855 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26856 HWCAP_* values only after the memory barriers have been defined.
26857 (atomic_full_barrier): Define.
26858 (atomic_read_barrier): Define.
26859 (atomic_write_barrier): Define.
26860
26861 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26862
26863 * shlib-versions: Add libgcc_s version information.
26864 * sysdeps/generic/libgcc_s.h: Remove.
26865 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26866 libgcc_s.h.
26867 * sysdeps/gnu/unwind-resume.c: Likewise.
26868 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26869
26870 2012-04-25 David S. Miller <davem@davemloft.net>
26871
26872 * sysdeps/unix/sparc/brk.S: Delete.
26873 * sysdeps/unix/sparc/dl-brk.S: Delete.
26874 * sysdeps/unix/sparc/pipe.S: Delete.
26875 * sysdeps/unix/sparc/sysdep.S: Delete.
26876 * sysdeps/unix/sparc/sysdep.h: Delete.
26877 * sysdeps/unix/sparc/vfork.S: Delete.
26878 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26879 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26880 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26881 ret_ERRVAL, r0, r1, MOVE): Define.
26882 (JUMPTARGET): Remove.
26883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26884 sysdeps/unix/sparc/sysdep.h
26885 (ENTRY, END): Remove.
26886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26887
26888 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26889
26890 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26891 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26892 -DIS_IN_build.
26893
26894 * timezone/README: Update upstream location and email address for
26895 tzcode and tzdata.
26896 * timezone/zdump.c: Update from tzcode 2012b.
26897 * timezone/zic.c: Likewise.
26898
26899 * configure.in (libc_cv_as_needed): Remove test.
26900 * configure: Regenerated.
26901 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26902 conditional definition.
26903 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26904 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26905 * config.make.in (have-as-needed): Remove variable.
26906
26907 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26908 Paul Pluzhnikov <ppluzhnikov@google.com>
26909
26910 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26911 strings correctly.
26912
26913 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26914
26915 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26916 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26917 * sysdeps/sh/strlen.S: Likewise.
26918
26919 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26920
26921 * sysdeps/unix/fork.S: Remove file.
26922 * sysdeps/unix/i386/fork.S: Likewise.
26923 * sysdeps/unix/sparc/fork.S: Likewise.
26924
26925 * sysdeps/unix/system.c: Remove file.
26926 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26927
26928 * sysdeps/unix/getegid.S: Remove file.
26929 * sysdeps/unix/geteuid.S: Likewise.
26930
26931 2012-04-24 Roland McGrath <roland@hack.frob.com>
26932
26933 * scripts/check-localplt.awk: New file.
26934 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26935 of diff.
26936 * scripts/data/localplt-generic.data: Add a comment.
26937
26938 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26939 NODE when __dir_mkfile failed.
26940 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26941 Reported by Ludovic Courtès <ludo@gnu.org>.
26942
26943 2012-04-24 Andreas Jaeger <aj@suse.de>
26944
26945 * Makerules (common-clean): Also remove gen-as-const-headers
26946 files.
26947
26948 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26949
26950 * Makerules (native-compile): Do not change working directory for
26951 build. Use $(OUTPUT_OPTION) in command.
26952 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26953
26954 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26955
26956 [BZ #13886]
26957 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26958 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26959 * math/libm-test.inc (floor_test): Add more tests.
26960 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26961
26962 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26963
26964 * sysdeps/unix/getdents.c: Remove file.
26965 * sysdeps/unix/sysv/getdents.c: Likewise.
26966 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26967
26968 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26969 sysdeps/unix/mman/syscalls.list.
26970 (mmap): Likewise.
26971 (mprotect): Likewise.
26972 (msync): Likewise.
26973 (munmap): Likewise.
26974 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26975 * sysdeps/unix/mman/syscalls.list: Remove.
26976 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26977
26978 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26979 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26980 * configure: Regenerated.
26981 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26982 $(libgcc_s_suffix).
26983 * config.make.in (libgcc_s_suffix): Remove variable.
26984
26985 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26986
26987 * sysdeps/unix/sysv/gethostname.c: Move to ...
26988 * sysdeps/posix/gethostname.c: ... here.
26989
26990 * sysdeps/unix/execve.S: Remove file.
26991
26992 * sysdeps/unix/_exit.S: Remove file.
26993
26994 2012-04-23 Andreas Jaeger <aj@suse.de>
26995
26996 [BZ #13739]
26997 * manual/Makefile: Remove make dist support, there's no
26998 need for a stand-alone documentation tar ball.
26999 (TEXI2DVI): Define always, it's not in Makeconfig.
27000 (dist): Removed.
27001 (tar-it): Removed.
27002 (edition): Removed.
27003 (glibc-doc-$(edition).tar): Removed
27004 (%.Z): Removed.
27005 (%.gz): Removed.
27006 (%.uu): Removed.
27007 (ETAGS): Remove, it's in Makeconfig.
27008 (move-if-change): Remove, it's in Makeconfig.
27009
27010 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27011
27012 [BZ #13970]
27013 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27014 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27015 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27016 (strtod_l, strtof_l, strtold_l): Remove __wur.
27017 It is not necessarily an error to ignore strtol's return value.
27018 One can reliably look at the stored endptr to decide whether
27019 the number had valid syntax.
27020
27021 2012-04-21 Andreas Jaeger <aj@suse.de>
27022
27023 [BZ #13739]
27024 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27025
27026 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27027
27028 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27029 * sysdeps/unix/sysv/Versions: Remove file.
27030
27031 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27032
27033 [BZ #13927]
27034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27035
27036 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27037
27038 [BZ #7064]
27039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27040 version from __vm86.
27041
27042 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27043
27044 * sysdeps/unix/common/lxstat.c: Remove file.
27045 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27046
27047 * sysdeps/unix/sysv/Makefile: Remove file.
27048
27049 * sysdeps/unix/sysv/direct.h: Remove file.
27050
27051 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27052 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27053 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27054 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27055 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27056 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27057 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27058
27059 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27060
27061 * sysdeps/unix/xmknod.c: Remove file.
27062 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27063
27064 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27065
27066 * sysdeps/unix/sysv/i386/time.S: Remove file.
27067
27068 * sysdeps/unix/fxstat.c: Remove file.
27069 * sysdeps/unix/xstat.c: Likewise.
27070 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27071
27072 * sysdeps/unix/sysv/sigaction.c: Remove file.
27073
27074 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27075 (sysdep_headers): Remove variable.
27076 [termio.h not in sysdep_headers] (generated): Likewise.
27077 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27078 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27079 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27080 * sysdeps/unix/sysv/tcflow.c: Likewise.
27081 * sysdeps/unix/sysv/tcflush.c: Likewise.
27082 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27083 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27084 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27085 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27086 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27087
27088 * sysdeps/unix/siglist.c: Remove file.
27089
27090 * sysdeps/unix/getppid.S: Remove file.
27091
27092 * sysdeps/unix/mkdir.c: Remove file.
27093 * sysdeps/unix/rmdir.c: Likewise.
27094
27095 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27096
27097 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27098 ERR_MAX value.
27099 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27100 errlist-compat value.
27101
27102 2012-04-18 David S. Miller <davem@davemloft.net>
27103
27104 * sysdeps/generic/memcopy.h (reg_char): Delete.
27105 * debug/strcat_chk.c: Use char, not reg_char.
27106 * debug/strcpy_chk.c: Likewise.
27107 * debug/strncat_chk.c: Likewise.
27108 * debug/strncpy_chk.c: Likewise.
27109 * string/memchr.c: Likewise.
27110 * string/memrchr.c: Likewise.
27111 * string/rawmemchr.c: Likewise.
27112 * string/strcat.c: Likewise.
27113 * string/strchr.c: Likewise.
27114 * string/strchrnul.c: Likewise.
27115 * string/strcmp.c: Likewise.
27116 * string/strcpy.c: Likewise.
27117 * string/strncat.c: Likewise.
27118 * string/strncmp.c: Likewise.
27119 * string/strncpy.c: Likewise.
27120
27121 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27122
27123 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27124 __builtin_memcopy is called when src and dest ranges are known to not
27125 overlap.
27126
27127 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27128
27129 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27130 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27131 fwd_align_merge macro call.
27132 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27133 bwd_align_merge macro call.
27134 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27135
27136 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27137
27138 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27139 bwd_align_merge macros.
27140 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27141 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27142 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27143
27144 2012-04-18 David S. Miller <davem@davemloft.net>
27145
27146 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27147
27148 2012-04-18 Andreas Jaeger <aj@suse.de>
27149
27150 [BZ# 6794]
27151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27152 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27153 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27154
27155 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27156 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27157 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27158
27159 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27160 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27161 Adjust for changed ldbl-128 files.
27162
27163 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27164 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27165 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27166
27167 2012-04-17 David S. Miller <davem@davemloft.net>
27168
27169 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27170
27171 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27172
27173 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27174 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27175 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27176 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27177 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27178 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27179
27180 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27181
27182 [BZ #6794]
27183 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27184 * math/libm-test.inc: Add ilogb errno and exception tests.
27185 * math/w_ilogb.c: New file: ilogb wrapper.
27186 * math/w_ilogbf.c: New file: ilogbf wrapper.
27187 * math/w_ilogbl.c: New file: ilogbl wrapper.
27188 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27189 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27190 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27191 exception being thrown with 0.0 as argument.
27192 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27193 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27194 exception being thrown with 0.0 as argument.
27195 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27196 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27197 exception being thrown with 0.0 as argument.
27198 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27199 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27200 exception being thrown with 0.0 as argument.
27201 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27202 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27203 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27204 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27205 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27206 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27207 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27208 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27209 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27210
27211 2012-04-17 Petr Baudis <pasky@ucw.cz>
27212
27213 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27214 with altivec.
27215
27216 2012-04-16 Marek Polacek <polacek@redhat.com>
27217
27218 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27219
27220 2012-04-16 Marek Polacek <polacek@redhat.com>
27221
27222 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27223 operands of fdivp instruction.
27224
27225 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27226
27227 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27228 * elf/tst-auditmod3b.c: Likewise.
27229 * elf/tst-auditmod4b.c: Likewise.
27230 * elf/tst-auditmod5b.c: Likewise.
27231 * elf/tst-auditmod6b.c: Likewise.
27232 * elf/tst-auditmod6c.c: Likewise.
27233 * elf/tst-auditmod7b.c: Likewise.
27234 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27235 * sysdeps/x86_64/preconfigure.in: Likewise.
27236 * sysdeps/x86_64/preconfigure: Regenerated.
27237
27238 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27239
27240 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27241 __ILP32__.
27242
27243 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27244
27245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27246 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27247
27248 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27249
27250 [BZ #13973]
27251 * locale/iso-639.def: Fix gl language name. Spotted by
27252 Yaron Shahrabani.
27253
27254 2012-04-12 Roland McGrath <roland@hack.frob.com>
27255
27256 [BZ #2074]
27257 * libio/libio.h (__io_write_fn): Update comment.
27258
27259 2012-04-12 Petr Baudis <pasky@ucw.cz>
27260
27261 [BZ #2074]
27262 * stdio.texi (Hook Functions): The user provided writer function
27263 is not allowed to return -1.
27264
27265 2012-04-11 David S. Miller <davem@davemloft.net>
27266
27267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27268
27269 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27270
27271 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27272 Add a leading slash to rtkaio.
27273
27274 2012-04-11 Jim Meyering <meyering@redhat.com>
27275
27276 [BZ #11959]
27277 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27278 It is not necessarily an error to ignore fwrite's return
27279 value. One can reliably use ferror to test for errors after
27280 the fact.
27281
27282 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27283
27284 * bits/types.h (__snseconds_t): New type.
27285 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27286
27287 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27289 (__SNSECONDS_T_TYPE): Likewise.
27290 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27291 (__SNSECONDS_T_TYPE): Likewise.
27292 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27293 (__SNSECONDS_T_TYPE): Likewise.
27294
27295 2012-04-10 Andreas Jaeger <aj@suse.de>
27296
27297 [BZ #2636]
27298 * manual/time.texi (Processor Time): Return type of times is
27299 elapsed real time since an arbitrary point in the past.
27300 (CPU Time): Move CLK_TCK from here...
27301 (Processor Time): ...to here. Correct description.
27302 * manual/conf.texi (Constants for Sysconf): Correct description of
27303 _SC_CLK_TCK.
27304
27305 2012-04-10 David S. Miller <davem@davemloft.net>
27306
27307 [BZ #13967]
27308 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27309 where the is a gap between DT_REL(A) and DT_JMPREL.
27310
27311 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27312
27313 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27314 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27315 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27316
27317 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27318
27319 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27320 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27321 (dl_main): Handle --inhibit-cache.
27322 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27323 _dl_inhibit_cache.
27324 * elf/dl-load.c (_dl_map_object): Use it.
27325 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27326
27327 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27328
27329 [BZ #13872]
27330 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27331 (__ieee754_powl): Saturate large exponents rather than testing for
27332 overflow of y*log2(x).
27333 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27334 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27335 exceptions.
27336
27337 [BZ #11521]
27338 * math/s_ctan.c: Include <float.h>.
27339 (__ctan): Avoid internal overflow or cancellation in calculating
27340 denominator.
27341 * math/s_ctanf.c: Likewise.
27342 * math/s_ctanl.c: Likewise.
27343 * math/s_ctanh.c: Likewise.
27344 * math/s_ctanhf.c: Likewise.
27345 * math/s_ctanhl.c: Likewise.
27346 * math/libm-test.inc (ctan_test): Add more tests.
27347 (ctanh_test): Likewise.
27348 * sysdeps/i386/fpu/libm-test-ulps: Update.
27349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27350
27351 2012-04-09 Andreas Jaeger <aj@suse.de>
27352
27353 [BZ #6894]
27354 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27355 is an optional BSD extension.
27356
27357 [BZ #10254]
27358 * manual/stdio.texi (Opening Streams): Document additional fopen
27359 parameters.
27360
27361 2012-04-09 Roland McGrath <roland@hack.frob.com>
27362
27363 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27364 %eax without telling the compiler.
27365
27366 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27367
27368 [BZ # 13963]
27369 * manual/install.texi: Use sourceware.org.
27370
27371 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27372
27373 [BZ #13873]
27374 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27375 (__ieee754_pow): Generate overflow and underflow using huge*huge
27376 and tiny*tiny rather than just returning constant infinity or zero
27377 for large exponents.
27378 * math/libm-test.inc (pow_test): Require overflow exceptions for
27379 applicable cases of large exponents.
27380
27381 [BZ #706]
27382 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27383 (__ieee754_pow): Use iterative multiplication algorithm only for
27384 integer exponents with absolute value below 1024. Check for odd
27385 integer exponents when using algorithm for real exponents.
27386 * math/libm-test.inc (pow_test): Add more tests.
27387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27388
27389 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27390
27391 [BZ #13705]
27392 * math/libm-test.inc (exp_test): Do not allow overflow exception
27393 on underflow test.
27394
27395 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27396
27397 [BZ #13705]
27398 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27399 instead of __kernel_standard_f.
27400
27401 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27402
27403 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27404 * sysdeps/x86_64/memset_chk.S: Likewise.
27405
27406 2012-04-08 Andreas Jaeger <aj@suse.de>
27407
27408 [BZ #10153]
27409 * manual/startup.texi (Environment Access): Describe return value
27410 for putenv and setenv.
27411
27412 [BZ #6895]
27413 * manual/filesys.texi (Directory Entries): Add description for
27414 DT_LNK.
27415
27416 [BZ #6890]
27417 * manual/filesys.texi (Directory Entries): Clarify that it's file
27418 system not operating system in the description of DT_UNKNOWN.
27419
27420 [BZ #6578]
27421 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27422
27423 2012-04-08 Stephen Compall <s11@member.fsf.org>
27424
27425 [BZ #6649]
27426 * manual/llio.texi (Opening and Closing Files): Add cross
27427 reference to explain mode argument.
27428
27429 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27430
27431 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27432 * sysdeps/x86_64/memset_chk.S: Likewise.
27433
27434 2012-04-07 David S. Miller <davem@davemloft.net>
27435
27436 * elf/elf.h (R_SPARC_WDISP10): Define.
27437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27438 R_SPARC_SIZE32.
27439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27440 R_SPARC_SIZE64 and R_SPARC_H34.
27441
27442 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27443
27444 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27445 conditions and remove no longer applicable assertion.
27446
27447 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27448
27449 * bits/byteswap.h: Include <features.h>.
27450 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27451 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27452
27453 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27454
27455 * bits/byteswap.h (__bswap_16): Removed.
27456 Include <bits/byteswap-16.h> to get __bswap_16.
27457 * sysdeps/i386/bits/byteswap.h: Likewise.
27458 * sysdeps/s390/bits/byteswap.h: Likewise.
27459 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27460 * bits/byteswap-16.h: New file.
27461 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27462 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27463 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27464 * string/Makefile (headers): Add bits/byteswap-16.h.
27465
27466 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27467
27468 [BZ #13895]
27469 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27470 extra indirection.
27471 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27472 * nss/tst-nss-static.c: New.
27473
27474 2012-04-06 Robert Millan <rmh@gnu.org>
27475
27476 [BZ #6486]
27477 * manual/llio.texi (File Position Primitive): lseek
27478 refers to WHENCE when it really means OFFSET.
27479
27480 2012-04-06 Andreas Jaeger <aj@suse.de>
27481
27482 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27483 strncmp declarations.
27484
27485 * abilist/libc.abilist: Add __poll and __ppoll.
27486
27487 2012-04-05 David S. Miller <davem@davemloft.net>
27488
27489 * scripts/check-local-headers.sh: Accept a host triplet in the
27490 path matched by the exclude regexp.
27491
27492 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27493 definition.
27494 * sysdeps/powerpc/powerpc32/dl-machine.h
27495 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27496 * sysdeps/s390/s390-32/dl-machine.h
27497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27498 * sysdeps/sparc/sparc32/dl-machine.h
27499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27500 * sysdeps/sparc/sparc64/dl-machine.h
27501 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27502
27503 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27504 lazy binding.
27505 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27506 undefined symbol errors.
27507
27508 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27509 DT_NEEDED entries.
27510
27511 2012-04-05 Michael Matz <matz@suse.de>
27512
27513 [BZ #13592]
27514 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27515
27516 2012-04-05 Andreas Jaeger <aj@suse.de>
27517
27518 [BZ #13908]
27519 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27520 comment.
27521
27522 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27523
27524 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27525 which ROUND is no valid rounding mode.
27526
27527 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27528
27529 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27530 read again.
27531 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27532
27533 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27534
27535 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27536 an exception using FPU order intentionally.
27537
27538 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27539
27540 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27541 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27542 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27543 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27544
27545 2012-04-05 Simon Josefsson <simon@josefsson.org>
27546
27547 [BZ #12340]
27548 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27549 EINVAL when BUFLEN is too smal.
27550
27551 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27552
27553 [BZ #13553]
27554 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27555 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27556
27557 2012-04-03 Andreas Jaeger <aj@suse.de>
27558
27559 [BZ #13938]
27560 * manual/setjmp.texi (System V contexts): Fix sentence.
27561
27562 [BZ #13926]
27563 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27564 New macro for this case.
27565 [!__GNUC__] (__bswap_64): New inline function for this case.
27566 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27567 * bits/byteswap.h: Likewise.
27568 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27569 ull, guard with __GLIBC_HAVE_LONG_LONG.
27570
27571 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27572 __GLIBC_HAVE_LONG_LONG.
27573
27574 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27575 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27576
27577 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27578
27579 [BZ #13691]
27580 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27581 inptr and inend, rather than using last_ch.
27582
27583 2012-04-02 David S. Miller <davem@davemloft.net>
27584
27585 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27586 * stdio-common/printf-parse.h (read_int): Change return type to
27587 'int', return -1 on INT_MAX overflow.
27588 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27589 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27590 overflows INT_MAX. Check for overflow of in-format-string precision
27591 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27592 SIZE_MAX not INT_MAX for integer overflow test.
27593 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27594 skip the construct in the format string but do not record anything.
27595 * stdio-common/bug22.c: Adjust to test both width/prevision
27596 INT_MAX overflow as well as total length INT_MAX overflow. Check
27597 explicitly for proper errno values.
27598
27599 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27600
27601 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27602 CHAR_MAX.
27603 * string/test-strcmp.c [! WIDE]: Likewise.
27604 * time/tst-mktime2.c: Likewise for INT_MAX.
27605 * string/test-string.h: #include <sys/param.h> for MIN.
27606
27607 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27608 * sysdeps/i386/init-first.c (init): Likewise.
27609 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27610 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27611 * sysdeps/sh/init-first.c (init): Likewise.
27612
27613 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27614
27615 * po/ru.po: Update from translation team.
27616 * po/vi.po: Likewise.
27617
27618 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27619
27620 * resolv/nss_dns/dns-host.c: Merge copyright years.
27621
27622 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27623
27624 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27625 Optimize memcpy with prefetch if
27626 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27627 src, dst pointers have unequal 16 byte alignments.
27628
27629 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27630
27631 [BZ #13928]
27632 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27633 from a CNAME entry and return the minimum ttl for the query.
27634 (gaih_getanswer_slice): Likewise.
27635
27636 2012-03-30 Jeff Law <law@redhat.com>
27637
27638 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27639 due to long keys.
27640 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27641 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27642
27643 * resolv/nss_dns/dns-host.c: Update copyright year.
27644
27645 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27646
27647 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27648 requests to save a system call. Fix check that all bytes are sent.
27649
27650 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27651 comments for sendmmsg.
27652
27653 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27654
27655 [BZ #13691]
27656 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27657 with only 1 character between 0x0041 and 0x01b0.
27658 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27659 * wcsmbs/tst-mbsnrtowcs.c: New file.
27660
27661 2012-03-29 David S. Miller <davem@davemloft.net>
27662
27663 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27664 small copies by hand.
27665
27666 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27667
27668 [BZ #13761]
27669 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27670 _nss_compat_initgroups_dyn): Fall back to malloc/free
27671 for large group memberships.
27672
27673 2012-03-28 David S. Miller <davem@davemloft.net>
27674
27675 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27676 that branches into memcpy.
27677 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27680 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27682 bits.
27683 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27684 implementation too.
27685 * sysdeps/sparc/mempcpy.S: New file.
27686
27687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27688 the IFUNC routine in the libc case.
27689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27690
27691 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27692 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27693 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27694 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27695 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27696 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27697 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27698 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27699
27700 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27701 loop to 256 bytes instead of 64 bytes and fix test signedness.
27702
27703 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27704 * sysdeps/sparc/sparc32/Makefile: rather than here...
27705 * sysdeps/sparc/sparc64/Makefile: and here.
27706
27707 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27708
27709 * malloc/mallocbug.c: Avoid warnings about unused variables.
27710
27711 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27712
27713 [BZ #13760]
27714 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27715 in the right place. Discard and retry query if response is
27716 larger than input buffer size.
27717
27718 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27719
27720 [BZ #369]
27721 [BZ #2678]
27722 [BZ #3866]
27723 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27724 x for large integer exponent.
27725 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27726 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27727 sign of result as needed afterwards.
27728 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27729 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27730 result for underflowing pow the same as for overflow.
27731 (__kernel_standard_l): Handle powl overflow and underflow here
27732 rather than calling __kernel_standard.
27733 * math/libm-test.inc (pow_test): Add more tests.
27734
27735 [BZ #3868]
27736 [BZ #13879]
27737 [BZ #13910]
27738 [BZ #13911]
27739 [BZ #13912]
27740 [BZ #13913]
27741 [BZ #13915]
27742 [BZ #13916]
27743 [BZ #13917]
27744 [BZ #13918]
27745 [BZ #13919]
27746 [BZ #13920]
27747 [BZ #13921]
27748 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27749 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27750 (__kernel_standard_l): New function.
27751 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27752 __kernel_standard.
27753 * math/w_acosl.c (__acosl): Likewise.
27754 * math/w_asinl.c (__asinl): Likewise.
27755 * math/w_atan2l.c (__atan2l): Likewise.
27756 * math/w_atanhl.c (__atanhl): Likewise.
27757 * math/w_coshl.c (__coshl): Likewise.
27758 * math/w_exp10l.c (__exp10l): Likewise.
27759 * math/w_exp2l.c (__exp2l): Likewise.
27760 * math/w_fmodl.c (__fmodl): Likewise.
27761 * math/w_hypotl.c (__hypotl): Likewise.
27762 * math/w_j0l.c (__j0l, __y0l): Likewise.
27763 * math/w_j1l.c (__j1l, __y1l): Likewise.
27764 * math/w_jnl.c (__jnl, __ynl): Likewise.
27765 * math/w_lgammal.c (__lgammal): Likewise.
27766 * math/w_log10l.c (__log10l): Likewise.
27767 * math/w_log2l.c (__log2l): Likewise.
27768 * math/w_logl.c (__logl): Likewise.
27769 * math/w_powl.c (__powl): Likewise.
27770 * math/w_remainderl.c (__remainderl): Likewise.
27771 * math/w_scalbl.c (sysv_scalbl): Likewise.
27772 * math/w_sinhl.c (__sinhl): Likewise.
27773 * math/w_sqrtl.c (__sqrtl): Likewise.
27774 * math/w_tgammal.c (__tgammal): Likewise.
27775 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27776 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27777 * math/libm-test.inc (acos_test): Add more tests.
27778 (acosh_test): Likewise.
27779 (asin_test): Likewise.
27780 (atanh_test): Likewise.
27781 (exp_test): Likewise.
27782 (exp10_test): Likewise.
27783 (exp2_test): Likewise.
27784 (expm1_test): Likewise.
27785 (lgamma_test): Likewise.
27786 (log_test): Likewise.
27787 (log10_test): Likewise.
27788 (log1p_test): Likewise.
27789 (log2_test): Likewise.
27790 (pow_test): Do not allow some spurious overflow exceptions.
27791 (sqrt_test): Add more tests.
27792 (tgamma_test): Likewise.
27793 (y0_test): Likewise.
27794 (y1_test): Likewise.
27795 (yn_test): Likewise.
27796
27797 2012-03-27 Anton Blanchard <anton@samba.org>
27798
27799 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27800 MAP_HUGETLB.
27801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27803 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27804
27805 2012-03-27 David S. Miller <davem@davemloft.net>
27806
27807 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27808
27809 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27810 have-as-vis3 check.
27811
27812 2012-03-27 Andreas Jaeger <aj@suse.de>
27813
27814 * sysdeps/x86_64/elf/configure.in: Moved to ...
27815 * sysdeps/x86_64/configure.in: ... here.
27816 * sysdeps/x86_64/elf/start.S: Moved to ...
27817 * sysdeps/x86_64/start.S: ... here.
27818 * sysdeps/x86_64/elf/configure: Delete.
27819
27820 * sysdeps/x86_64/configure.in: Merge contents from
27821 sysdeps/i386/configure.in (without i686 check).
27822
27823 * sysdeps/i386/elf/Versions: Merge into ...
27824 * sysdeps/i386/Versions: ... this.
27825 * sysdeps/i386/elf/Versions: Delete file.
27826 * sysdeps/i386/elf/start.S: Moved to ...
27827 * sysdeps/i386/start.S: ...here.
27828 * sysdeps/i386/elf/configure.in: Merge into...
27829 * sysdeps/i386/configure.in: ...here.
27830 * sysdeps/i386/elf/configure.in: Delete file.
27831 * sysdeps/i386/elf/configure: Delete file.
27832
27833 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27834 * debug/backtracesyms.c: ... here.
27835 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27836 * debug/backtracesymsfd.c: ... here.
27837 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27838 * sysdeps/generic/ifunc-sel.h: ... here.
27839
27840 * sysdeps/unix/i386/start.c: Delete file.
27841 * sysdeps/unix/sparc/start.c: Delete file.
27842 * sysdeps/unix/start.c: Delete file.
27843
27844 * sysdeps/sh/elf/configure.in: Moved to ...
27845 * sysdeps/sh/configure.in: ... here.
27846 * sysdeps/sh/elf/start.S: Moved to ...
27847 * sysdeps/sh/start.S: ... here.
27848 * sysdeps/sh/elf/configure: Delete file.
27849
27850 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27851 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27852 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27853 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27854 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27855 * sysdeps/powerpc/powerpc64/start.S: here.
27856 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27857 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27858 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27859 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27860 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27861
27862 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27863 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27864 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27865 * sysdeps/powerpc/powerpc32/start.S: ... here.
27866 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27867 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27868 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27869
27870 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27871 * sysdeps/powerpc/ifunc-sel.h: ... here.
27872 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27873 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27874
27875 * sysdeps/sparc/elf/configure.in: Moved to ...
27876 * sysdeps/sparc/configure.in: ... here.
27877 * sysdeps/sparc/elf/configure: Delete file.
27878 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27879 * sysdeps/sparc/sparc32/start.S: ... here.
27880 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27881 * sysdeps/sparc/sparc64/start.S: ... here.
27882 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27883 * sysdeps/sparc/sparc32/Makefile: ... this.
27884 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27885 * sysdeps/sparc/sparc64/Makefile: ... this.
27886
27887 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27888 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27889 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27890 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27891 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27892 * sysdeps/s390/s390-32/setjmp.S: ... here.
27893 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27894 * sysdeps/s390/s390-32/configure.in: ... here.
27895 * sysdeps/s390/s390-32/elf/configure: Delete file.
27896 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27897 * sysdeps/s390/s390-32/start.S: ... here.
27898
27899 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27900 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27901 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27902 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27903 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27904 * sysdeps/s390/s390-64/setjmp.S: ... here.
27905 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27906 * sysdeps/s390/s390-64/configure.in: ... here
27907 * sysdeps/s390/s390-64/elf/configure: Delete file.
27908 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27909 * sysdeps/s390/s390-64/start.S: ... here.
27910 * sysdeps/s390/s390-64/elf/configure: Delete.
27911
27912 * configure.in: Remove support for elf directories in sysdeps.
27913
27914 * configure: Regenerated.
27915 * sysdeps/i386/configure: Regenerated.
27916 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27917 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27918 * sysdeps/s390/s390-32/configure: Regenerated.
27919 * sysdeps/s390/s390-64/configure: Regenerated.
27920 * sysdeps/sh/configure: Regenerated.
27921 * sysdeps/sparc/configure: Regenerated.
27922 * sysdeps/x86_64/configure: Regenerated.
27923
27924 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27925
27926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27927
27928 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27929 denormal result into account.
27930
27931 2012-03-25 Roland McGrath <roland@hack.frob.com>
27932
27933 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27934 Reported by Allan McRae <allan@archlinux.org>.
27935
27936 2012-03-23 Jeff Law <law@redhat.com>
27937
27938 * nss/getnssent.c (__nss_getent): Fix typo.
27939
27940 2012-03-23 David S. Miller <davem@davemloft.net>
27941
27942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27943
27944 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27945
27946 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27947 to pad to uint64_t for each field.
27948 (dl_tls_index): Replace unsigned long with uint64_t.
27949
27950 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27951 Paul Pluzhnikov <ppluzhnikov@google.com>
27952
27953 [BZ #6528]
27954 * grp/Makefile (otherlibs): Don't set it.
27955 * inet/Makefile (otherlibs): Likewise.
27956 * login/Makefile (otherlibs): Likewise.
27957 * nscd/Makefile (otherlibs): Likewise.
27958 * posix/Makefile (otherlibs): Likewise.
27959 * pwd/Makefile (otherlibs): Likewise.
27960 * rt/Makefile (otherlibs): Likewise.
27961 * sunrpc/Makefile (otherlibs): Likewise.
27962 * nss/Makefile (otherlibs): Likewise.
27963 Add libnss_files to routines and static-only-routines.
27964 ($(objpfx)getent): Remove rule.
27965 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27966 static-only-routines.
27967
27968 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27969
27970 [BZ #13892]
27971 * math/s_cexp.c: Include <float.h>.
27972 (__cexp): Handle exp result overflowing not necessarily
27973 overflowing both real and imaginary parts of result.
27974 * math/s_cexpf.c: Likewise.
27975 * math/s_cexpl.c: Likewise.
27976 * math/libm-test.inc (cexp_test): Add more tests.
27977 * sysdeps/i386/fpu/libm-test-ulps: Update.
27978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27979
27980 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27981
27982 * include/link.h (ELFW): New macro.
27983 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27984 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27985
27986 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27987
27988 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27989 with uint64_t.
27990
27991 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27992
27993 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27994 declaration.
27995 (struct La_x32_retval): Likewise.
27996
27997 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27998
27999 * sysdeps/x86_64/preconfigure.in: New file.
28000 * sysdeps/x86_64/preconfigure: New generated file.
28001
28002 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28003
28004 [BZ #13824]
28005 * math/e_exp2l.c: Include <float.h>.
28006 (__ieee754_exp2l): Handle overflow and underflow cases
28007 separately. Only pass fractional part of argument to
28008 __ieee754_expl.
28009 * math/libm-test.inc (exp2_test): Add more tests.
28010
28011 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28012 negating x to take absolute value.
28013 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28014 Likewise.
28015 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28016 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28017 Likewise.
28018 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28019 computing low part if x was negated.
28020 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28021
28022 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28023
28024 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28025 la_x32_gnu_pltexit.
28026 (pltexit): Cast int_retval to ptrdiff_t.
28027 * elf/tst-auditmod3b.c: Likewise.
28028 * elf/tst-auditmod4b.c: Likewise.
28029 * elf/tst-auditmod5b.c: Likewise.
28030 * elf/tst-auditmod6b.c: Likewise.
28031 * elf/tst-auditmod6c.c: Likewise.
28032 * elf/tst-auditmod7b.c: Likewise.
28033
28034 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28035 and x32_gnu_pltexit.
28036
28037 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28038 __ELF_NATIVE_CLASS.
28039 (La_x32_regs): New macro.
28040 (La_x32_retval): Likewise.
28041 (la_x32_gnu_pltenter): New function prototype.
28042 (la_x32_gnu_pltexit): Likewise.
28043
28044 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28045
28046 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28047 exponent.
28048
28049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28050
28051 * configure.in (libc_cv_cc_nofma): Check for option to disable
28052 generation of FMA instructions.
28053 * configure: Regenerate.
28054 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28055 * sysdeps/ieee754/dbl-64/Makefile: New file.
28056 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28057 Remove brandred-fma4.
28058 (CFLAGS-brandred-fma4.c): Remove.
28059 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28060 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28061 define.
28062 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28063 define.
28064
28065 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28066
28067 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28068 LLONG_MAX != LONG_MAX.
28069 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28070 (_fitoa_word): Likewise.
28071 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28072 LLONG_MAX != LONG_MAX.
28073 * stdio-common/_itowa.h: Include <_itoa.h>.
28074 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28075 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28076 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28077 only if not defined.
28078 (_ITOA_WORD_TYPE): Likewise.
28079 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28080 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28081
28082 2012-03-21 David S. Miller <davem@davemloft.net>
28083
28084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28085
28086 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28087
28088 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28089 of x86_64 when setting libc_cv_slibdir, libdir and
28090 libc_cv_localedir.
28091 * sysdeps/unix/sysv/linux/configure: Regenerated.
28092
28093 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28094
28095 * manual/lang.texi (Old Varargs): Remove section.
28096 (How Variadic): Update menu.
28097 (va_start): Do not mention varargs.h.
28098
28099 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28100 Joseph Myers <joseph@codesourcery.com>
28101
28102 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28103 link test.
28104 * configure: Regenerated.
28105
28106 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28107
28108 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28109 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28110 conformtest.pl
28111
28112 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28113
28114 * NOTES: Remove.
28115 * Makefile (files-for-dist): Remove NOTES.
28116 (NOTES): Remove rule.
28117 * README: Don't refer to NOTES.
28118 * manual/creature.texi: Don't include macros.texi.
28119 * manual/intro.texi (creature.texi): Remove comment referring to
28120 NOTES.
28121
28122 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28123 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28124 * configure: Regenerated.
28125 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28126 LIBC_TRY_CC_OPTION.
28127 (libc_cv_as_i686): Likewise.
28128 (libc_cv_cc_avx): Likewise.
28129 (libc_cv_cc_sse2avx): Likewise.
28130 (libc_cv_cc_fma4): Likewise.
28131 (libc_cv_cc_novzeroupper): Likewise.
28132 * sysdeps/i386/configure: Regenerated.
28133
28134 [BZ #13883]
28135 * sysdeps/i386/fpu/s_cexp.S: Remove.
28136 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28137 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28138 * math/libm-test.inc (cexp_test): Add more tests.
28139 * sysdeps/i386/fpu/libm-test-ulps: Update.
28140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28141
28142 2012-03-21 Allan McRae <allan@archlinux.org>
28143
28144 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28145
28146 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28147
28148 [BZ #13871]
28149 * math/w_exp2.c: Do not include <float.h>.
28150 (o_threshold, u_threshold): Remove.
28151 (__exp2): Calculate result before checking finiteness and calling
28152 __kernel_standard.
28153 * math/w_exp2f.c: Likewise.
28154 * math/w_exp2l.c: Likewise.
28155 * math/libm-test.inc (exp2_test): Require overflow exception for
28156 1e6 input.
28157
28158 [BZ #3866]
28159 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28160 range of signed 64-bit integers before using fistpll. Remove
28161 checks for whether integers fit in mantissa bits.
28162 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28163 the range of signed 32-bit integers before using fistpl. Remove
28164 checks for whether integers fit in mantissa bits.
28165 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28166 (__ieee754_powl): Test for y outside the range of signed 64-bit
28167 integers before using fistpll. Reduce 64-bit values to 63-bit
28168 ones as needed.
28169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28170 divide-by-zero is raised for zero to large negative powers.
28171 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28172 (__ieee754_powl): Test for y outside the range of signed 64-bit
28173 integers before using fistpll. Reduce 64-bit values to 63-bit
28174 ones as needed.
28175 * math/libm-test.inc (pow_test): Add more tests.
28176
28177 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28178
28179 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28180 <stdio-common/_itoa.h>.
28181 * debug/segfault.c: Likewise.
28182 * elf/dl-cache.c: Likewise.
28183 * elf/dl-minimal.c: Likewise.
28184 * elf/dl-misc.c: Likewise.
28185 * elf/dl-sysdep.c: Likewise.
28186 * elf/dl-version.c: Likewise.
28187 * elf/rtld.c: Likewise.
28188 * hurd/hurdsock.c: Likewise.
28189 * hurd/lookup-retry.c: Likewise.
28190 * malloc/malloc.c: Likewise.
28191 * malloc/mtrace.c: Likewise.
28192 * nscd/nscd_getgr_r.c: Likewise.
28193 * nscd/nscd_getpw_r.c: Likewise.
28194 * nscd/nscd_getserv_r.c: Likewise.
28195 * posix/getopt_init.c: Likewise.
28196 * posix/wordexp.c: Likewise.
28197 * stdio-common/_itoa.c: Likewise.
28198 * stdio-common/printf_fphex.c: Likewise.
28199 * stdio-common/vfprintf.c: Likewise.
28200 * string/_strerror.c: Likewise.
28201 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28202 * sysdeps/i386/i686/hp-timing.h: Likewise.
28203 * sysdeps/mach/_strerror.c: Likewise.
28204 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28205 * sysdeps/mach/hurd/sethostid.c: Likewise.
28206 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28207 * sysdeps/mach/xpg-strerror.c: Likewise.
28208 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28209 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28210 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28211 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28212 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28213 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28214 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28215 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28216 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28217 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28218 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28219 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28220 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28221 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28222 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28223 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28224 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28225 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28226 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28227 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28228 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28229
28230 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28231
28232 * stdio-common/_itoa.h: Moved to ...
28233 * sysdeps/generic/_itoa.h: Here.
28234
28235 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28236
28237 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28238 instead of "_itoa.h" and "_itowa.h".
28239 * stdio-common/vfprintf.: Likewise.
28240
28241 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28242
28243 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28244 <bits/wordsize.h>.
28245 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28246 (__signbit): Likwise.
28247 (llrintf): Likwise.
28248 (llrint): Likwise.
28249
28250 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28251
28252 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28253 __WORDSIZE != 64.
28254
28255 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28256
28257 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28258 OVERFLOW_EXCEPTION_OK.
28259 * math/libm-test.inc ("Philosophy"): Update comment about
28260 exception testing.
28261 (OVERFLOW_EXCEPTION): Define.
28262 (OVERFLOW_EXCEPTION_OK): Likewise.
28263 (INVALID_EXCEPTION_OK): Renumber.
28264 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28265 (IGNORE_ZERO_INF_SIGN): Likewise.
28266 (test_exceptions): Handle FE_OVERFLOW.
28267 (exp10_test): Expect overflow exceptions.
28268 (exp2_test): Likewise.
28269 (expm1_test): Likewise.
28270 (nextafter_test): Likewise.
28271 (pow_test): Likewise.
28272 (scalbn_test): Likewise.
28273 (scalbln_test): Likewise.
28274
28275 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 * sysdeps/x86_64/bits/atomic.h
28278 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28279 64bit integer.
28280 (atomic_exchange_acq): Likewise.
28281 (__arch_exchange_and_add_body): Likewise.
28282 (__arch_add_body): Likewise.
28283 (atomic_add_negative): Likewise.
28284 (atomic_add_zero): Likewise.
28285
28286 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28287
28288 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28289 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28290
28291 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28292
28293 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28294 Check __x86_64__ instead of __WORDSIZE.
28295
28296 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28297
28298 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28299
28300 2012-03-19 David S. Miller <davem@davemloft.net>
28301
28302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28303
28304 * sysdeps/sparc/fpu/fenv_private.h: New file.
28305 * sysdeps/sparc/fpu/math_private.h: Use it.
28306 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28307 Remove.
28308 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28309 (libc_feholdexcept_setroundl): Remove.
28310 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28311 Remove.
28312 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28313 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28314
28315 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28316
28317 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28318 int64_t instead of long int.
28319 (INSERT_WORDS64): Likwise.
28320
28321 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28322
28323 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28324 _Unwind_GetCFA return to _Unwind_Ptr first.
28325
28326 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28327
28328 [BZ #13629]
28329 * math/s_clog.c: Include <float.h>.
28330 (__clog): Scale large or subnormal inputs.
28331 * math/s_clogf.c: Likewise.
28332 * math/s_clogl.c: Likewise.
28333 * math/s_clog10.c: Include <float.h>.
28334 (M_LOG10_2): Define.
28335 (__clog10): Scale large or subnormal inputs.
28336 * math/s_clog10f.c: Likewise.
28337 * math/s_clog10l.c: Likewise.
28338 * math/libm-test.inc (clog_test): Add more tests.
28339 (clog10_test): Likewise.
28340 * sysdeps/i386/fpu/libm-test-ulps: Update.
28341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28342
28343 [BZ #11451]
28344 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28345 x and y.
28346 * math/libm-test.inc (atan2_test): Add another test.
28347
28348 * Makerules (common-objdir-compile): Remove.
28349 * sysdeps/unix/Makefile (config-generated): Do not add
28350 $(unix-generated) to variable.
28351 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28352 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28353 Remove rule.
28354 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28355 Likewise.
28356 [generic bits/local_lim.h] (before-compile): Do not append to
28357 variable.
28358 [generic bits/local_lim.h] (common-generated): Likewise.
28359 [generic sys/param.h] (before-compile): Do not append to variable.
28360 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28361 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28362 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28363 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28364 include.
28365 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28366 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28367 [generic sys/param.h] ($(addprefix
28368 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28369 [generic sys/param.h] (common-generated): Do not append to
28370 variable.
28371 [generic sys/param.h] (sysdep_headers): Likewise.
28372 [generic bits/errno.h] (before-compile): Do not append to
28373 variable.
28374 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28375 rule.
28376 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28377 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28378 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28379 [generic bits/errno.h] (common-generated): Do not append to
28380 variable.
28381 [generic bits/ioctls.h] (before-compile): Do not append to
28382 variable.
28383 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28384 rule.
28385 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28386 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28387 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28388 rule.
28389 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28390 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28391 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28392 [generic bits/ioctls.h] (common-generated): Do not append to
28393 variable.
28394 [generic sys/syscall.h] (syscall.h): Remove variable.
28395 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28396 rule.
28397 [generic sys/syscall.h] (before-compile): Do not append to
28398 variable.
28399 [generic sys/syscall.h] (common-generated): Likewise.
28400 * sysdeps/unix/errnos-tmpl.c: Remove file.
28401 * sysdeps/unix/errnos.awk: Likewise.
28402 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28403 * sysdeps/unix/ioctls.awk: Likewise.
28404 * sysdeps/unix/mk-local_lim.c: Likewise.
28405 * sysdeps/unix/snarf-ioctls: Likewise.
28406
28407 2012-03-19 Richard Henderson <rth@twiddle.net>
28408
28409 * sysdeps/i386/fpu/fenv_private.h: New file.
28410 * sysdeps/i386/fpu/math_private.h: Use it.
28411 (math_opt_barrier, math_force_eval): Remove.
28412 (libc_feholdexcept_setround_53bit): Remove.
28413 (libc_feupdateenv_53bit): Remove.
28414 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28415 (math_opt_barrier, math_force_eval): Remove.
28416 (libc_feholdexcept): Remove.
28417 (libc_feholdexcept_setround): Remove.
28418 (libc_fetestexcept, libc_fesetenv): Remove.
28419 (libc_feupdateenv_test): Remove.
28420 (libc_feupdateenv, libc_feholdsetround): Remove.
28421 (libc_feresetround): Remove.
28422
28423 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28424 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28425
28426 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28427 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28428 (libc_feupdateenv_testl): New.
28429 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28430 (libc_feupdateenv_testf): New.
28431 (libc_feupdateenv): Use libc_feupdateenv_test.
28432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28433 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28434
28435 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28436 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28437 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28438 (libc_feresetround_noex): New.
28439 (libc_feresetround_noexf): New.
28440 (libc_feresetround_noexl): New.
28441 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28442 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28443 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28444 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28445 SET_RESTORE_ROUND.
28446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28448 (__cos): Likewise.
28449 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28450 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28451 SET_RESTORE_ROUND_NOEX.
28452 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28453 SET_RESTORE_ROUND_NOEXF.
28454 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28455 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28456 (libc_feholdsetroundf): New.
28457 (libc_feresetround, libc_feresetroundf): New.
28458
28459 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28460 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28461 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28462
28463 * sysdeps/generic/math_private.h: Include <fenv.h>.
28464 (default_libc_feholdexcept): New.
28465 (default_libc_feholdexcept_setround): New.
28466 (default_libc_fesetenv, default_libc_feupdateenv): New.
28467 (libc_feholdexcept): Only define if undefined.
28468 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28469 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28470 (libc_feholdexcept_setroundl): Likewise.
28471 (libc_feholdexcept_setround_53bit): Likewise.
28472 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28473 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28474 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28475 (libc_feupdateenv_53bit): Likewise.
28476 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28477 (libc_feholdexcept): Convert from macro to inline function.
28478 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28479 (libc_fesetenv, libc_feupdateenv): Likewise.
28480
28481 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28482 not previously defined.
28483 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28484 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28485 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28486 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28487 * sysdeps/ieee754/flt-32/math_private.h: New file.
28488 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28489 math_private.h below SET_FLOAT_WORD.
28490 (__isnan, __isinf_ns, __finite): Remove.
28491 (__isnanf, __isinf_nsf, __finitef): Remove.
28492
28493 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28494
28495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28496
28497 2012-03-17 David S. Miller <davem@davemloft.net>
28498
28499 [BZ #6471]
28500 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28501 for 2.16.
28502
28503 2012-03-16 David S. Miller <davem@davemloft.net>
28504
28505 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28506 warnings.
28507
28508 [BZ #6471]
28509 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28510 properly.
28511 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28512 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28513 sysdep_routines when subdir is sysvipc.
28514 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28515 __getshmlba helper.
28516
28517 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28518
28519 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28520
28521 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28522 [__LP64__].
28523
28524 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28525
28526 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28527 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28528 (__lround): Renamed to ...
28529 (__llround): This. Replace long int with long long int.
28530 Define lround functions as aliases of llround functions.
28531 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28532
28533 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28534
28535 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28536 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28537 adresses to uintptr_t. Replace "long int" and "unsigned long
28538 int" with "greg_t" on va_arg.
28539
28540 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28541
28542 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28543 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28544
28545 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28546 Move e_machine check before EI_CLASS check. Handle x32
28547 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28548 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28549 SKIP_EM_IA_64 and include
28550 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28551
28552 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28553 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28554 (add_system_dir): New macro.
28555
28556 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28557 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28558
28559 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28560
28561 [BZ #2551]
28562 [BZ #2552]
28563 [BZ #2553]
28564 [BZ #2554]
28565 [BZ #2562]
28566 [BZ #2563]
28567 [BZ #2565]
28568 [BZ #2566]
28569 [BZ #2576]
28570 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28571 (y0): Likewise.
28572 * math/w_j0f.c (j0f): Likewise.
28573 (y0f): Likewise.
28574 * math/w_j0l.c (__j0l): Likewise.
28575 (__y0l): Likewise.
28576 * math/w_j1.c (j1): Likewise.
28577 (y1): Likewise.
28578 * math/w_j1f.c (j1f): Likewise.
28579 (y1f): Likewise.
28580 * math/w_j1l.c (__j1l): Likewise.
28581 (__y1l): Likewise.
28582 * math/w_jn.c (jn): Likewise.
28583 (yn): Likewise.
28584 * math/w_jnf.c (jnf): Likewise.
28585 (ynf): Likewise.
28586 * math/w_jnl.c (__jnl): Likewise.
28587 (__ynl): Likewise.
28588 * math/libm-test.inc (j0_test): Add more tests.
28589 (j1_test): Likewise.
28590 (jn_test): Likewise. Add trailing semicolon to existing test.
28591 (y0_test): Likewise.
28592 (y1_test): Likewise.
28593 * sysdeps/i386/fpu/libm-test-ulps: Update.
28594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28595
28596 [BZ #13851]
28597 [BZ #13854]
28598 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28599 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28600 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28601 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28602 (__tanl): Set errno for infinite argument.
28603 * sysdeps/i386/fpu/mptan.c: Remove.
28604 * sysdeps/i386/fpu/s_tan.S: Likewise.
28605 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28606 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28607 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28608 * math/libm-test.inc (tan_test): Add more tests and enable more
28609 tests for double and long double.
28610 * sysdeps/i386/fpu/libm-test-ulps: Update.
28611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28612
28613 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28614
28615 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28616 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28617
28618 2012-03-16 Roland McGrath <roland@hack.frob.com>
28619
28620 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28621 * configure.in: Use it for both main tree and add-ons.
28622 * configure: Regenerated.
28623
28624 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28625
28626 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28627
28628 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28629
28630 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28631 in comment.
28632
28633 [BZ #13851]
28634 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28635 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28639 infinite argument.
28640 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28642 != 0 for prec == 2.
28643 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28644 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28645 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28646 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28647 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28648 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28649 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28650 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28651 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28652 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28653 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28654 * math/libm-test.inc (cos_test): Add more tests and enable more
28655 tests for long double.
28656 (sin_test): Likewise.
28657 (sincos_test): Likewise.
28658 * sysdeps/i386/fpu/libm-test-ulps: Update.
28659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28660
28661 2012-03-16 David S. Miller <davem@davemloft.net>
28662
28663 * sysdeps/sparc/fpu/math_private.h: New file.
28664
28665 2012-03-15 David S. Miller <davem@davemloft.net>
28666
28667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28668 file.
28669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28671 file.
28672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28678 sysdep routines.
28679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28680
28681 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28682 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28683
28684 * sysdeps/sparc/sparc-ifunc.h: New file.
28685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28686 sparc-ifunc.h
28687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28689 Likewise.
28690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28691 Likewise.
28692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28696 Likewise.
28697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28702 Likewise.
28703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28704 Likewise.
28705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28728 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28729
28730 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28731
28732 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28733 scaling.
28734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28735
28736 2012-03-15 Andreas Jaeger <aj@suse.de>
28737
28738 [BZ #13852]
28739 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28740 ieee754/flt-32 implementation for sin, cos and sincos.
28741 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28742 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28743 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28744 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28745 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28746 ieee754/flt-32 implementation for tan.
28747
28748 * math/libm-test.inc (cos_test): Enable some large input tests for
28749 float as well
28750 (sin_test): Likewise.
28751 (sincos_test): Likewise.
28752 (tan_test): Add tests for large input.
28753
28754 * sysdeps/i386/fpu/libm-test-ulps: Update.
28755
28756 2012-03-15 Andreas Jaeger <aj@suse.de>
28757
28758 [BZ #13658]
28759 * math/libm-test.inc (cos_test): Add more test cases.
28760 (sin_test): Likewise.
28761 (sincos_test): Likewise.
28762
28763 2012-03-15 Andreas Jaeger <aj@suse.de>
28764
28765 [BZ #13837]
28766 * math/libm-test.inc (cos_test): Add a test case for large input
28767 value.
28768 (sin_test): Likewise.
28769 (sincos_test): Likewise.
28770
28771 2012-03-15 Andreas Jaeger <aj@suse.de>,
28772 Joseph Myers <joseph@codesourcery.com>
28773
28774 [BZ #13658]
28775 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28776 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28777 * sysdeps/i386/fpu/branred.c: Likewise.
28778 * sysdeps/i386/fpu/dosincos.c: Likewise.
28779 * sysdeps/i386/fpu/mpa.c: Likewise.
28780 * sysdeps/i386/fpu/s_cos.S: Likewise.
28781 * sysdeps/i386/fpu/s_sin.S: Likewise.
28782 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28783 * sysdeps/i386/fpu/sincos32.c: Likewise.
28784
28785 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28786 Define.
28787 (libc_feupdateenv_53bit): Define.
28788 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28789 Define.
28790 (libc_feupdateenv_53bit): Define.
28791
28792 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28793 53 bit (without extend i386 double precision).
28794
28795 * math/libm-test.inc (sincos_test): Add tests for large input.
28796 (sin): Likewise.
28797 (cos): Likewise.
28798
28799 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28800
28801 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28802
28803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28804
28805 2012-03-15 David S. Miller <davem@davemloft.net>
28806
28807 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28808 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28809 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28810 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28823 file.
28824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28826 file.
28827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28829 file.
28830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28832 file.
28833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28835 fmin/fmax sysdep routines.
28836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28837
28838 2012-03-14 David S. Miller <davem@davemloft.net>
28839
28840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28869 routines.
28870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28871 file.
28872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28874 file.
28875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28877 file.
28878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28880 file.
28881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28883 file.
28884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28886 file.
28887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28888 file.
28889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28890 file.
28891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28892 file.
28893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28894 New file.
28895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28896 file.
28897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28898 file.
28899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28901 file.
28902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28904 file.
28905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28907 file.
28908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28910 VIS3 routines.
28911
28912 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28913 New file.
28914
28915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28916
28917 * sysdeps/sparc/configure.in: New file.
28918 * sysdeps/sparc/configure: Generate.
28919 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28920 * configure: Regenerate.
28921 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28922 * config.make.in (have-as-vis3): New.
28923 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28924 available use -Av9d instead of -Av9a.
28925 * sysdeps/sparc/sparc64/Makefile: Likewise.
28926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28928 New file.
28929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28930 file.
28931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28932 New file.
28933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28934 file.
28935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28940
28941 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28942 fzeros/fnegs to load 0x80000000 into a float register instead of
28943 using the stack.
28944 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28945
28946 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28947
28948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28949 bits/syscall.h.
28950 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28951 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28952 ($(inst_includedir)/bits/syscall.h): Remove rule.
28953 ($(objpfx)bits/syscall.d): Include instead of
28954 $(objpfx)syscall-list.d.
28955 (generated): Change syscall-list.h and syscall-list.d to
28956 bits/syscall.h and bits/syscall.d.
28957
28958 2012-03-14 Roland McGrath <roland@hack.frob.com>
28959
28960 [BZ #13846]
28961 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28962
28963 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28964
28965 [BZ #13841]
28966 * math/s_csqrt.c: Include <float.h>.
28967 (__csqrt): Scale large or subnormal inputs.
28968 * math/s_csqrtf.c: Likewise.
28969 * math/s_csqrtl.c: Likewise.
28970 * math/libm-test.inc (csqrt_test): Add more tests.
28971 * sysdeps/i386/fpu/libm-test-ulps: Update.
28972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28973
28974 [BZ #13840]
28975 * math/libm-test.inc (hypot_test): Add more tests.
28976
28977 2012-03-13 David S. Miller <davem@davemloft.net>
28978
28979 [BZ #13840]
28980 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28981 double-precision for the calculation instead of scaling.
28982
28983 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28984
28985 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28986 manipulate bits before adding and subtracting TWO52[sx].
28987 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28988 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28989 Likewise.
28990 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28991
28992 2012-03-13 David S. Miller <davem@davemloft.net>
28993
28994 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28995 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28997 rtld-global-offsets.h
28998 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28999
29000 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29001 large parameters.
29002
29003 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29004
29005 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29006 'err' in the ifdef scope in which it is actually used.
29007
29008 * nss/nss_db/db-init.c: Include string.h
29009
29010 2012-03-12 David S. Miller <davem@davemloft.net>
29011
29012 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29013 masking out of the most significant byte of random value used.
29014 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29015 Fix coding style in previous change.
29016
29017 * sysdeps/unix/sysv/linux/kernel-features.h
29018 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29019 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29020 expression.
29021 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29022 later.
29023
29024 2012-03-11 David S. Miller <davem@davemloft.net>
29025
29026 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29027 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29028 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29029 for 'resultvar' otherwise things get truncated on 64-bit.
29030
29031 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29032 Fix masking out of the most significant byte of random value used.
29033
29034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29035
29036 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29037
29038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29039
29040 2012-03-09 David S. Miller <davem@davemloft.net>
29041
29042 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29043 variables with appropriate CPP guards.
29044 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29045 frame pointer, not the stack pointer. Correct layout comments. Fix test
29046 on resulting framesize and the management of the outregs buffer for pltexit.
29047 Preserve floating point return values across _dl_call_pltexit call.
29048 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29049 framesize and the management of the outregs buffer for pltexit.
29050 Preserve floating point return values across _dl_call_pltexit
29051 call.
29052 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29053 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29054 (print_exit): Fix format string for return register value.
29055
29056 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29057
29058 * sunrpc/Makefile (others): Add rpcgen.
29059 ($(objpfx)rpcgen): Remove special build rule and dependency on
29060 libc.
29061 * sunrpc/rpcgen.c: New file.
29062
29063 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29064
29065 [BZ #13673]
29066 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29067 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29068 * sysdeps/i386/crti.S: Likewise.
29069 * sysdeps/i386/crtn.S: Likewise.
29070 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29071 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29072 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29073 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29074 * sysdeps/sh/crti.S: Likewise.
29075 * sysdeps/sh/crtn.S: Likewise.
29076 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29077
29078 [BZ #13673]
29079 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29080 with URL.
29081 * locale/programs/locfile-kw.gperf: Likewise.
29082 * locale/programs/charmap-kw.h: Regenerated.
29083 * locale/programs/locfile-kw.h: Likewise.
29084
29085 [BZ #13673]
29086 * intl/plural.y: Replace FSF snail mail address with URL.
29087 * intl/plural.c: Regenerated.
29088
29089 2012-03-09 Richard Henderson <rth@twiddle.net>
29090
29091 * include/math_private.h: Remove file.
29092 * math/math_private.h: Move file ...
29093 * sysdeps/generic/math_private.h: ... here.
29094
29095 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29096 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29097 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29098
29099 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29100 and <math_private.h>.
29101 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29102 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29103 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29104 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29105 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29127 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29128 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29133 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29135 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29136 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29165 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29169 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29170 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29171 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29172 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29173 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29174 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29175 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29180 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29181 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29183 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29184 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29185 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29187 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29188 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29189 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29192 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29193 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29194 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29195 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29196 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29198 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29199 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29200 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29201 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29202 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29203 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29204 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29205 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29206 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29207 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29208 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29213 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29214 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29215 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29216 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29217 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29218 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29219 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29220 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29221 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29222 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29223 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29224 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29225 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29226 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29227 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29228 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29229 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29230 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29231 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29232 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29233 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29234 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29235 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29236 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29237 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29238 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29239 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29240 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29241 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29242 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29243 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29244 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29245 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29246 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29247 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29248 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29249 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29250 * sysdeps/ieee754/k_standard.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29280 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29282 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29301 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29302 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29303 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29304 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29318 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29324 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29325 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29328 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29330 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29331 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29332 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29334 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29335 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29337 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29342 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29344 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29347 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29348 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29359 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29361 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29362 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29363 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29365 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29366 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29367 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29369 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29370 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29371 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29372 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29373 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29374 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29375 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29376 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29377 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29378 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29379 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29380 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29382 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29383 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29384 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29387 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29388 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29389 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29390 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29391 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29393 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29394 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29395 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29396 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29397 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29398 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29399 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29400 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29401 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29402 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29403 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29405 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29406 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29407 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29411 * sysdeps/ieee754/s_lib_version.c: Likewise.
29412 * sysdeps/ieee754/s_matherr.c: Likewise.
29413 * sysdeps/ieee754/s_signgam.c: Likewise.
29414 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29415 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29416 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29417 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29418 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29419 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29420 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29421 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29422 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29423 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29424 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29425 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29426 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29428 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29429 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29430 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29431 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29432 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29434 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29435
29436 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29437
29438 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29439 * sunrpc/rpc_main.c: Likewise.
29440 * sunrpc/rpc_svcout.c: Likewise.
29441
29442 2012-03-09 David S. Miller <davem@davemloft.net>
29443
29444 * include/math_private.h: New file.
29445
29446 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29447
29448 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29449 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29450 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29451 from <bits/socket_type.h>.
29452 (enum __socket_type): Don't define here.
29453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29455 bits/socket_type.h.
29456
29457 [BZ #13566]
29458 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29459 checking __USE_GNU.
29460
29461 * Makerules ($(inst_includedir)/%.h): New rule.
29462 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29463 (install-others): Remove variable setting.
29464 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29465
29466 2012-03-08 Richard Henderson <rth@twiddle.net>
29467
29468 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29469 from macro to inline function; merge with the
29470 !__LIBC_INTERNAL_MATH_INLINES version.
29471 (__ieee754_sqrtf): Likewise.
29472
29473 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29474 to inline function.
29475 (__rintf, __floor, __floorf): Likewise.
29476
29477 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29478 macro to inline function.
29479 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29480
29481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29482 not <math/math_private.h>.
29483
29484 2012-03-08 David S. Miller <davem@davemloft.net>
29485
29486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29487 copyright year.
29488 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29489
29490 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29491
29492 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29493 normalization.
29494 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29495 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29496
29497 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29498
29499 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29500 be defined individually, they must be defined as a block. Define
29501 S for printing a string instead of hidint the different by using a
29502 macro for adding the 'l'.
29503 * stdio-common/tst-fphex-wide.c: Adjust.
29504
29505 2012-03-07 Marek Polacek <polacek@redhat.com>
29506
29507 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29508
29509 2012-03-08 Marek Polacek <polacek@redhat.com>
29510
29511 [BZ #13806]
29512 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29513 * stdio-common/tst-fphex.c: Define a few macros to make the
29514 test reusable. Use them.
29515 * stdio-common/tst-fphex-wide.c: New file.
29516
29517 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29518
29519 [BZ #6911]
29520 * manual/macros.texi (gnusystems): New macro.
29521 (nongnusystems): Likewise.
29522 (gnulinuxhurdsystems): Likewise.
29523 (gnuhurdsystems): Likewise..
29524 (gnulinuxsystems): Likewise.
29525 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29526 variants of the GNU system, not "GNU system".
29527 * manual/conf.texi: Likewise.
29528 * manual/errno.texi: Likewise. Update example of errno macro
29529 expansion.
29530 * manual/filesys.texi: Likewise.
29531 (getumask): Document as specific to GNU/Hurd.
29532 * manual/install.texi: Likewise. Reword some references to
29533 GNU/Linux.
29534 * manual/intro.texi: Likewise.
29535 * manual/io.texi: Likewise.
29536 (File Name Portability): Detail which constraints are inapplicable
29537 to all GNU systems and which are only inapplicable to GNU/Hurd.
29538 * manual/job.texi: Likewise.
29539 * manual/llio.texi: Likewise.
29540 (O_NOCTTY): Document as present on GNU/Linux.
29541 * manual/maint.texi: Likewise.
29542 * manual/memory.texi: Likewise.
29543 * manual/pattern.texi: Likewise.
29544 * manual/pipe.texi: Likewise.
29545 * manual/process.texi: Likewise.
29546 * manual/resource.texi: Likewise.
29547 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29548 child on GNU/Hurd.
29549 * manual/setjmp.texi: Likewise.
29550 * manual/signal.texi: Likewise.
29551 * manual/startup.texi: Likewise.
29552 * manual/stdio.texi: Likewise.
29553 * manual/terminal.texi: Likewise.
29554 (ONLCR): Document as POSIX.
29555 (OXTABS): Document availability on GNU/Linux as XTABS.
29556 (ONOEOT): Document availability separately from other bits.
29557 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29558 * manual/time.texi: Likewise.
29559 * manual/users.texi: Likewise.
29560 * INSTALL: Regenerated.
29561 * sysdeps/gnu/errlist.c: Regenerated.
29562
29563 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29564 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29565 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29566 puts.
29567 * configure: Regenerated.
29568
29569 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29570
29571 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29572 default includes instead of AC_HEADER_CHECK.
29573 * sysdeps/i386/configure: Regenerated.
29574
29575 [BZ #10716]
29576 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29577 * math/s_cacoshf.c (__cacoshf): Likewise.
29578 * math/s_cacoshl.c (__cacoshl): Likewise.
29579 * math/s_casinh.c (__casinh): Set signs of result from argument.
29580 * math/s_casinhf.c (__casinhf): Likewise.
29581 * math/s_casinhl.c (__casinhl): Likewise.
29582 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29583 (casinh_test): Add more tests.
29584 * sysdeps/i386/fpu/libm-test-ulps: Update.
29585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29586
29587 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29588
29589 * po/zh_TW.po: Update from translation team.
29590
29591 * login/Makefile (distribute): Remove variable.
29592 * catgets/Makefile: Likewise.
29593 * mach/Makefile: Likewise.
29594 * malloc/Makefile: Likewise.
29595 * misc/Makefile: Likewise.
29596 * iconv/Makefile: Likewise.
29597 * nscd/Makefile: Likewise.
29598 * hurd/Makefile: Likewise.
29599 * manual/Makefile: Likewise.
29600 * locale/Makefile: Likewise.
29601 * intl/Makefile: Likewise.
29602 * conform/Makefile: Likewise.
29603 * nss/Makefile: Likewise.
29604 * time/Makefile: Likewise.
29605 * soft-fp/Makefile: Likewise.
29606 * dirent/Makefile: Likewise.
29607 * gmon/Makefile: Likewise.
29608 * po/Makefile: Likewise.
29609 * rt/Makefile: Likewise.
29610 * socket/Makefile: Likewise.
29611 * math/Makefile: Likewise.
29612 * signal/Makefile: Likewise.
29613 * debug/Makefile: Likewise.
29614 * elf/Makefile: Likewise.
29615 * timezone/Makefile: Likewise.
29616 * stdlib/Makefile: Likewise.
29617 * iconvdata/Makefile: Likewise.
29618 * sunrpc/Makefile: Likewise.
29619 * io/Makefile: Likewise.
29620 * argp/Makefile: Likewise.
29621 * inet/Makefile: Likewise.
29622 * hesiod/Makefile: Likewise.
29623 * grp/Makefile: Likewise.
29624 * csu/Makefile: Likewise.
29625 * wctype/Makefile: Likewise.
29626 * crypt/Makefile: Likewise.
29627 * libio/Makefile: Likewise.
29628 * string/Makefile: Likewise.
29629 * nis/Makefile: Likewise.
29630 * resolv/Makefile: Likewise.
29631 * stdio-common/Makefile: Likewise.
29632 * wcsmbs/Makefile: Likewise.
29633 * dlfcn/Makefile: Likewise.
29634 * posix/Makefile: Likewise.
29635
29636 [BZ #6959]
29637 * timezone/Makefile: Don't install timezone files, just the programs
29638 and scripts.
29639
29640 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29641
29642 * nss/databases.def: Add missing gshadow entry.
29643
29644 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29645
29646 2012-03-06 Marek Polacek <polacek@redhat.com>
29647
29648 [BZ #13726]
29649 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29650 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29651 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29652 * stdio-common/tst-long-dbl-fphex.c: New file.
29653
29654 2012-03-06 David S. Miller <davem@davemloft.net>
29655
29656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29657 (set_obp_int): New function.
29658 (get_obp_int): New function.
29659 (__get_clockfreq_via_dev_openprom): Likewise.
29660 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29661 Avoid unused variable warnings on 'val' and use builtin_expect.
29662 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29663 __builtin_expect.
29664 (INLINE_CLONE_SYSCALL): Likewise.
29665
29666 2012-03-05 David S. Miller <davem@davemloft.net>
29667
29668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29669
29670 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29671
29672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29673
29674 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29675 only for |x| >= 40.
29676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29677
29678 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29679
29680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29681 Replace gettimeofday with __vdso_gettimeofday.
29682
29683 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29684 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29685 __vdso_clock_gettime and __vdso_getcpu.
29686
29687 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29688 time with __vdso_time.
29689
29690 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29691
29692 * manual/lang.texi (size_t): Note types to which size_t may be
29693 equivalent with the GNU C Library, but do not describe when
29694 differences between them are significant.
29695
29696 2012-03-05 Andreas Jaeger <aj@suse.de>
29697
29698 * sysdeps/i386/fpu/libm-test-ulps: Update.
29699
29700 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29701
29702 [BZ #3976]
29703 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29704 (__ieee754_pow): Save and restore rounding mode and use
29705 round-to-nearest for main computations.
29706 * math/libm-test.inc (pow_test_tonearest): New function.
29707 (pow_test_towardzero): Likewise.
29708 (pow_test_downward): Likewise.
29709 (pow_test_upward): Likewise.
29710 (main): Call the new functions.
29711 * sysdeps/i386/fpu/libm-test-ulps: Update.
29712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29713
29714 [BZ #3976]
29715 * math/libm-test.inc (cosh_test_tonearest): New function.
29716 (cosh_test_towardzero): Likewise.
29717 (cosh_test_downward): Likewise.
29718 (cosh_test_upward): Likewise.
29719 (sinh_test_tonearest): Likewise.
29720 (sinh_test_towardzero): Likewise.
29721 (sinh_test_downward): Likewise.
29722 (sinh_test_upward): Likewise.
29723 (main): Call the new functions.
29724 * sysdeps/i386/fpu/libm-test-ulps: Update.
29725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29726
29727 2012-03-05 Tom de Vries <tom@codesourcery.com>
29728
29729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29730 default stack guard is set in last bytes.
29731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29732
29733 2012-03-05 Kees Cook <keescook@chromium.org>
29734
29735 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29736
29737 [BZ #13656]
29738 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29739 possibly allocate from heap instead of stack.
29740 * stdio-common/bug-vfprintf-nargs.c: New file.
29741 * stdio-common/Makefile (tests): Add nargs overflow test.
29742
29743 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29744
29745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29746
29747 2012-03-03 Marek Polacek <polacek@redhat.com>
29748
29749 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29750 * math/math_private.h: Likewise.
29751 * stdlib/tst-strtod.c: Likewise.
29752 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29753 * sysdeps/x86_64/bits/atomic.h: Likewise.
29754
29755 2012-03-02 David S. Miller <davem@davemloft.net>
29756
29757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29761 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29762 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29763 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29764 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29765
29766 2012-03-02 Roland McGrath <roland@hack.frob.com>
29767
29768 [BZ #13792]
29769 * manual/examples/README: New file, says the example source files
29770 can be used under GPL>=2.
29771 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29772 line containing just "*/".
29773 * manual/examples/add.c: Add copyright header (GPL>=2).
29774 * manual/examples/argp-ex1.c: Likewise.
29775 * manual/examples/argp-ex2.c: Likewise.
29776 * manual/examples/argp-ex3.c: Likewise.
29777 * manual/examples/argp-ex4.c: Likewise.
29778 * manual/examples/atexit.c: Likewise.
29779 * manual/examples/db.c: Likewise.
29780 * manual/examples/dir.c: Likewise.
29781 * manual/examples/dir2.c: Likewise.
29782 * manual/examples/execinfo.c: Likewise.
29783 * manual/examples/filecli.c: Likewise.
29784 * manual/examples/filesrv.c: Likewise.
29785 * manual/examples/fmtmsgexpl.c: Likewise.
29786 * manual/examples/genpass.c: Likewise.
29787 * manual/examples/inetcli.c: Likewise.
29788 * manual/examples/inetsrv.c: Likewise.
29789 * manual/examples/isockad.c: Likewise.
29790 * manual/examples/longopt.c: Likewise.
29791 * manual/examples/memopen.c: Likewise.
29792 * manual/examples/memstrm.c: Likewise.
29793 * manual/examples/mkfsock.c: Likewise.
29794 * manual/examples/mkisock.c: Likewise.
29795 * manual/examples/mygetpass.c: Likewise.
29796 * manual/examples/pipe.c: Likewise.
29797 * manual/examples/popen.c: Likewise.
29798 * manual/examples/rprintf.c: Likewise.
29799 * manual/examples/search.c: Likewise.
29800 * manual/examples/select.c: Likewise.
29801 * manual/examples/setjmp.c: Likewise.
29802 * manual/examples/sigh1.c: Likewise.
29803 * manual/examples/sigusr.c: Likewise.
29804 * manual/examples/stpcpy.c: Likewise.
29805 * manual/examples/strdupa.c: Likewise.
29806 * manual/examples/strftim.c: Likewise.
29807 * manual/examples/strncat.c: Likewise.
29808 * manual/examples/subopt.c: Likewise.
29809 * manual/examples/swapcontext.c: Likewise.
29810 * manual/examples/termios.c: Likewise.
29811 * manual/examples/testopt.c: Likewise.
29812 * manual/examples/testpass.c: Likewise.
29813 * manual/examples/timeval_subtract.c: Likewise.
29814
29815 [BZ #13792]
29816 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29817 function to ...
29818 * manual/timeval_subtract.c.texi: ... here, new file.
29819
29820 2012-03-02 David S. Miller <davem@davemloft.net>
29821
29822 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29823
29824 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29825
29826 [BZ #3976]
29827 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29828 (__sin): Save and restore rounding mode and use round-to-nearest
29829 for all computations.
29830 (__cos): Save and restore rounding mode and use round-to-nearest
29831 for all computations.
29832 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29833 <fenv.h>.
29834 (tan): Save and restore rounding mode and use round-to-nearest for
29835 all computations.
29836 * math/libm-test.inc (cos_test_tonearest): New function.
29837 (cos_test_towardzero): Likewise.
29838 (cos_test_downward): Likewise.
29839 (cos_test_upward): Likewise.
29840 (sin_test_tonearest): Likewise.
29841 (sin_test_towardzero): Likewise.
29842 (sin_test_downward): Likewise.
29843 (sin_test_upward): Likewise.
29844 (tan_test_tonearest): Likewise.
29845 (tan_test_towardzero): Likewise.
29846 (tan_test_downward): Likewise.
29847 (tan_test_upward): Likewise.
29848 (main): Call the new functions.
29849 * sysdeps/i386/fpu/libm-test-ulps: Update.
29850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29851
29852 [BZ #10135]
29853 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29854 small n, then large n, before computing and testing k+n.
29855 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29857 Likewise.
29858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29859 Likewise.
29860 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29861 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29862 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29863 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29866 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29867 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29868 * math/libm-test.inc (scalbn_test): Add more tests.
29869 (scalbln_test): Likewise.
29870
29871 * manual/filesys.texi (mode_t): Describe constraints on size and
29872 signedness, not exact equivalence to a particular type.
29873 (ino_t): Likewise.
29874 (ino64_t): Likewise.
29875 (dev_t): Likewise.
29876 (nlink_t): Likewise.
29877 (blkcnt_t): Likewise.
29878 (blkcnt64_t): Likewise.
29879 * manual/llio.texi (off_t): Likewise.
29880
29881 [BZ #3976]
29882 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29883 (__ieee754_exp): Save and restore rounding mode and use
29884 round-to-nearest for all computations.
29885 * math/libm-test.inc (exp_test_tonearest): New function.
29886 (exp_test_towardzero): Likewise.
29887 (exp_test_downward): Likewise.
29888 (exp_test_upward): Likewise.
29889 (main): Call the new functions.
29890 * sysdeps/i386/fpu/libm-test-ulps: Update.
29891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29892
29893 2012-03-01 Chris Demetriou <cgd@google.com>
29894
29895 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29896 have predictable order.
29897
29898 2012-03-01 David S. Miller <davem@davemloft.net>
29899
29900 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29901
29902 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29903 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29904 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29905 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29906
29907 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29908 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29909 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29911 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29912 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29913 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29914 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29915 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29916
29917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29918
29919 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29920 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29921 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29922
29923 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29924 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29925 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29926 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29927 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29929 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29930 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29931 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29932 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29933 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29935 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29936 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29937 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29939 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29940 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29941 * sysdeps/sparc/elf/configure: Regenerated.
29942
29943 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29944
29945 * configure.in (AS, LD): Require binutils 2.20 or later.
29946 * configure: Regenerated.
29947 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29948 as required minimum version.
29949 * INSTALL: Regenerated.
29950
29951 [BZ #2541]
29952 [BZ #4108]
29953 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29954 before squaring exponent.
29955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29956 bottom long double and 27 bits of top long double before squaring
29957 exponent.
29958 * math/libm-test.inc (erfc_test): Add more tests.
29959 * sysdeps/i386/fpu/libm-test-ulps: Update.
29960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29962
29963 2012-03-01 Kai Tietz <ktietz@redhat.com>
29964
29965 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29966 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29967 containing bit-fields.
29968 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29969 * soft-fp/single.h (_FP_UNION_S): Likewise.
29970 * soft-fp/double.h (_FP_UNION_D): Likewise.
29971
29972 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29973
29974 [BZ #13786]
29975 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29976 not include ../strcmp.S.
29977 [USE_AS_STRNCASECMP_L]: Likewise.
29978 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29979 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29980 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29981 (__strncasecmp_l_ia32): Define as alias to
29982 __strncasecmp_l_nonascii.
29983
29984 [BZ #5794]
29985 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29986 * sysdeps/i386/fpu/libm-test-ulps: Update.
29987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29988
29989 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29991
29992 2012-02-29 Jeff Law <law@redhat.com>
29993
29994 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29995 out of bounds read.
29996
29997 2012-02-29 Marek Polacek <polacek@redhat.com>
29998
29999 [BZ #13706]
30000 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30001 * elf/Makefile: Add rules to run tst-unused-dep.out.
30002
30003 2012-02-28 David S. Miller <davem@davemloft.net>
30004
30005 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30006 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30009 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30010 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30011
30012 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30013
30014 * math/libm-test.inc (llround_test): Move one test from
30015 lround_test. Use TEST_f_L in moved test.
30016 (lround_test): Move misplaced test to llround_test. Add testcase
30017 from bug 2561.
30018
30019 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30020
30021 * sysdeps/x86_64/fpu/e_expf.S: New file.
30022 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30023
30024 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30025
30026 [BZ #13637]
30027 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30028 of remain_len that may cause incomplete multi-byte character and
30029 false match.
30030 * posix/bug-regex33.c: New file.
30031 * posix/Makefile (tests): Add bug-regex33.
30032
30033 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30034
30035 * manual/macros.texi: New file.
30036 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30037 * manual/libc.texinfo: Include macros.texi.
30038 * manual/creatute.texi: Likewise.
30039 * manual/install.texi: Likewise.
30040 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30041 @glibcadj{} in references to the GNU C Library.
30042 * manual/charset.texi: Likewise.
30043 * manual/conf.texi: Likewise.
30044 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30045 when not using those macros.
30046 * manual/creature.texi: Likewise.
30047 * manual/crypt.texi: Likewise.
30048 * manual/errno.texi: Likewise.
30049 * manual/filesys.texi: Likewise.
30050 * manual/header.texi: Likewise.
30051 * manual/install.texi: Likewise.
30052 * manual/intro.texi: Likewise.
30053 * manual/io.texi: Likewise.
30054 * manual/job.texi: Likewise.
30055 * manual/lang.texi: Likewise.
30056 * manual/libc.texiinfo: Likewise.
30057 * manual/llio.texi: Likewise.
30058 * manual/locale.texi: Likewise.
30059 * manual/maint.texi: Likewise.
30060 * manual/math.texi: Likewise.
30061 * manual/memory.texi: Likewise.
30062 * manual/message.texi: Likewise.
30063 * manual/nss.texi: Likewise.
30064 * manual/pattern.texi: Likewise.
30065 * manual/process.texi: Likewise.
30066 * manual/resource.texi: Likewise.
30067 * manual/search.texi: Likewise.
30068 * manual/setjmp.texi: Likewise.
30069 * manual/signal.texi: Likewise.
30070 * manual/socket.texi: Likewise.
30071 * manual/startup.texi: Likewise.
30072 * manual/stdio.texi: Likewise.
30073 * manual/string.texi: Likewise.
30074 * manual/sysinfo.texi: Likewise.
30075 * manual/syslog.texi: Likewise.
30076 * manual/terminal.texi: Likewise.
30077 * manual/time.texi: Likewise.
30078 * manual/users.texi: Likewise.
30079 * INSTALL: Regenerated.
30080 * NOTES: Regenerated.
30081 * sysdeps/gnu/errlist.c: Regenerated.
30082
30083 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30084
30085 * include/dirent.h: Include <dirstream.h> before
30086 <dirent/dirent.h>.
30087
30088 2012-02-28 David S. Miller <davem@davemloft.net>
30089
30090 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30091 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30092 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30093 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30094
30095 2012-02-27 David S. Miller <davem@davemloft.net>
30096
30097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30099 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30100 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30101
30102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30103 frame pointer instead of stack pointer relative arg slot.
30104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30105 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30106 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30107
30108 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30109
30110 [BZ #3992]
30111 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30112
30113 2012-02-27 David S. Miller <davem@davemloft.net>
30114
30115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30121 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30122 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30123
30124 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30125
30126 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30127 later. Allow versions 5-9.
30128 * configure: Regenerated.
30129 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30130 required minimum version and 4.6 as recommended version. Do not
30131 mention bugs in GCC 2.7 and 2.8.
30132 * INSTALL: Regenerated.
30133
30134 2012-02-27 David S. Miller <davem@davemloft.net>
30135
30136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30140 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30141 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30142 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30143 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30144
30145 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30146 manipulate bits before adding and subtracting TWO112[sx].
30147 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30148
30149 2012-02-27 Roland McGrath <roland@hack.frob.com>
30150
30151 [BZ #13775]
30152 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30153 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30154 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30155 being in POSIX, because they are in 1003.1-2008.
30156
30157 * rt/tst-aio.c: Include <fcntl.h>.
30158 * rt/tst-aio7.c: Likewise.
30159 * rt/tst-aio64.c: Likewise.
30160
30161 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30162
30163 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30164
30165 * manual/install.texi (--with-headers): Describe headers as
30166 interface headers, not private headers.
30167 (Specific advice for GNU/Linux systems): Describe use of headers
30168 from "make headers_install", not private headers from older
30169 kernels.
30170 * INSTALL: Regenerated.
30171 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30172 Change to 2.6.19.
30173 * sysdeps/unix/sysv/linux/configure: Regenerated.
30174
30175 * manual/llio.texi (fclean): Remove documentation.
30176
30177 * manual/Makefile (libc-texi-generated): New variable. Include
30178 version.texi.
30179 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30180 $(libc-texi-generated), not duplicated list of files.
30181 (version.texi, stamp-version): New rules.
30182 (realclean): Remove $(libc-texi-generated), not individual files
30183 from that list. Do not remove dir-add.texinfo.
30184 * manual/libc.texinfo: Comment out uses of edition numbers and
30185 references to printed manual. Remove last-updated dates.
30186 (EDITION): Comment out.
30187 (ISBN): Likewise.
30188 (VERSION, UPDATED): Remove.
30189 (version.texi): Include.
30190
30191 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30192
30193 * sysdeps/posix/spawni.c: Include <signal.h>.
30194 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30195 * sysdeps/pthread/aio_fsync.c: Likewise.
30196
30197 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30198
30199 * conform/Makefile (tests): Run only when not cross-compiling and
30200 when fast-check is not defined.
30201
30202 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30203 * conform/data/limits.h-data: Fixes for POSIX2008.
30204 * conform/run-conformtest.sh: Run all tests.
30205 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30206 headers.
30207 * include/bits/dlfcn.h: Likewise.
30208 * include/langinfo.h: Likewise.
30209 * include/monetary.h: Likewise.
30210 * include/sys/poll.h: Likewise.
30211
30212 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30213 for __USE_GNU.
30214 * posix/spawn.h: Define __need_sigset_t.
30215 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30216 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30217 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30218 to get sigevent_t only.
30219 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30220 only for __USE_GNU.
30221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30222 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30223 process_vm_writev only for __USE_GNU.
30224 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30225
30226 * conform/Makefile: For now ignore errors from run-conformtest.
30227 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30228 POSIX to avoid namespace pollution. Don't prepend headers.
30229 * conform/data/aio.h-data: Fixes for POSIX testing.
30230 * conform/data/fcntl.h-data: Likewise.
30231 * conform/data/glob.h-data: Likewise.
30232 * conform/data/grp.h-data: Likewise.
30233 * conform/data/pthread.h-data: Likewise.
30234 * conform/data/pwd.h-data: Likewise.
30235 * conform/data/signal.h-data: Likewise.
30236 * conform/data/spawn.h-data: Likewise.
30237 * conform/data/stdio.h-data: Likewise.
30238 * conform/data/stdlib.h-data: Likewise.
30239 * conform/data/stropts.h-data: Likewise.
30240 * conform/data/sys/mman.h-data: Likewise.
30241 * conform/data/sys/stat.h-data: Likewise.
30242 * conform/data/sys/types.h-data: Likewise.
30243 * conform/data/sys/wait.h-data: Likewise.
30244 * conform/data/time.h-data: Likewise.
30245 * conform/data/unistd.h-data: Likewise.
30246 * conform/data/utime.h-data: Likewise.
30247
30248 * io/sys/stat.h: fchmod was always in POSIX.
30249 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30250 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30251 * rt/aio.h: Define __need_timespec before including <time.h>.
30252 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30253 struct. Add forward declaration of pthread_attr_t and use it in
30254 sigevent.
30255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30257 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30258 always remove CLK_TCK definition.
30259
30260 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30261
30262 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30263
30264 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30265
30266 * conform/run-conformtest.sh: New file.
30267 * conform/Makefile: Run run-conformtest for tests.
30268 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30269 support.
30270
30271 * conform/data/uchar.h-data: New file.
30272 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30273 * conform/data/arpa/inet.h-data: Likewise.
30274 * conform/data/assert.h-data: Likewise.
30275 * conform/data/complex.h-data: Likewise.
30276 * conform/data/cpio.h-data: Likewise.
30277 * conform/data/ctype.h-data: Likewise.
30278 * conform/data/dirent.h-data: Likewise.
30279 * conform/data/dlfcn.h-data: Likewise.
30280 * conform/data/errno.h-data: Likewise.
30281 * conform/data/fcntl.h-data: Likewise.
30282 * conform/data/float.h-data: Likewise.
30283 * conform/data/fmtmsg.h-data: Likewise.
30284 * conform/data/fnmatch.h-data: Likewise.
30285 * conform/data/ftw.h-data: Likewise.
30286 * conform/data/glob.h-data: Likewise.
30287 * conform/data/grp.h-data: Likewise.
30288 * conform/data/iconv.h-data: Likewise.
30289 * conform/data/inttypes.h-data: Likewise.
30290 * conform/data/langinfo.h-data: Likewise.
30291 * conform/data/libgen.h-data: Likewise.
30292 * conform/data/limits.h-data: Likewise.
30293 * conform/data/locale.h-data: Likewise.
30294 * conform/data/math.h-data: Likewise.
30295 * conform/data/monetary.h-data: Likewise.
30296 * conform/data/mqueue.h-data: Likewise.
30297 * conform/data/ndbm.h-data: Likewise.
30298 * conform/data/net/if.h-data: Likewise.
30299 * conform/data/netdb.h-data: Likewise.
30300 * conform/data/netinet/in.h-data: Likewise.
30301 * conform/data/nl_types.h-data: Likewise.
30302 * conform/data/poll.h-data: Likewise.
30303 * conform/data/pthread.h-data: Likewise.
30304 * conform/data/pwd.h-data: Likewise.
30305 * conform/data/regex.h-data: Likewise.
30306 * conform/data/sched.h-data: Likewise.
30307 * conform/data/search.h-data: Likewise.
30308 * conform/data/semaphore.h-data: Likewise.
30309 * conform/data/setjmp.h-data: Likewise.
30310 * conform/data/signal.h-data: Likewise.
30311 * conform/data/spawn.h-data: Likewise.
30312 * conform/data/stdarg.h-data: Likewise.
30313 * conform/data/stdio.h-data: Likewise.
30314 * conform/data/stdlib.h-data: Likewise.
30315 * conform/data/string.h-data: Likewise.
30316 * conform/data/strings.h-data: Likewise.
30317 * conform/data/stropts.h-data: Likewise.
30318 * conform/data/sys/ipc.h-data: Likewise.
30319 * conform/data/sys/mman.h-data: Likewise.
30320 * conform/data/sys/msg.h-data: Likewise.
30321 * conform/data/sys/resource.h-data: Likewise.
30322 * conform/data/sys/select.h-data: Likewise.
30323 * conform/data/sys/sem.h-data: Likewise.
30324 * conform/data/sys/shm.h-data: Likewise.
30325 * conform/data/sys/socket.h-data: Likewise.
30326 * conform/data/sys/stat.h-data: Likewise.
30327 * conform/data/sys/statvfs.h-data: Likewise.
30328 * conform/data/sys/time.h-data: Likewise.
30329 * conform/data/sys/timeb.h-data: Likewise.
30330 * conform/data/sys/times.h-data: Likewise.
30331 * conform/data/sys/types.h-data: Likewise.
30332 * conform/data/sys/uio.h-data: Likewise.
30333 * conform/data/sys/un.h-data: Likewise.
30334 * conform/data/sys/utsname.h-data: Likewise.
30335 * conform/data/sys/wait.h-data: Likewise.
30336 * conform/data/syslog.h-data: Likewise.
30337 * conform/data/tar.h-data: Likewise.
30338 * conform/data/termios.h-data: Likewise.
30339 * conform/data/utime.h-data: Likewise.
30340 * conform/data/utmpx.h-data: Likewise.
30341 * conform/data/varargs.h-data: Likewise.
30342 * conform/data/wchar.h-data: Likewise.
30343 * conform/data/wctype.h-data: Likewise.
30344 * conform/data/wordexp.h-data: Likewise.
30345
30346 * include/stropts.h: New file.
30347 * include/uchar.h: New file.
30348 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30349 * include/assert.h: Likewise.
30350 * include/ctype.h: Likewise.
30351 * include/dirent.h: Likewise.
30352 * include/dlfcn.h: Likewise.
30353 * include/fcntl.h: Likewise.
30354 * include/fnmatch.h: Likewise.
30355 * include/glob.h: Likewise.
30356 * include/grp.h: Likewise.
30357 * include/libio.h: Likewise.
30358 * include/locale.h: Likewise.
30359 * include/math.h: Likewise.
30360 * include/net/if.h: Likewise.
30361 * include/netdb.h: Likewise.
30362 * include/netinet/in.h: Likewise.
30363 * include/pthread.h: Likewise.
30364 * include/pwd.h: Likewise.
30365 * include/regex.h: Likewise.
30366 * include/sched.h: Likewise.
30367 * include/search.h: Likewise.
30368 * include/setjmp.h: Likewise.
30369 * include/signal.h: Likewise.
30370 * include/stdio.h: Likewise.
30371 * include/stdlib.h: Likewise.
30372 * include/string.h: Likewise.
30373 * include/sys/cdefs.h: Likewise.
30374 * include/sys/mman.h: Likewise.
30375 * include/sys/msg.h: Likewise.
30376 * include/sys/resource.h: Likewise.
30377 * include/sys/select.h: Likewise.
30378 * include/sys/socket.h: Likewise.
30379 * include/sys/stat.h: Likewise.
30380 * include/sys/statvfs.h: Likewise.
30381 * include/sys/time.h: Likewise.
30382 * include/sys/times.h: Likewise.
30383 * include/sys/uio.h: Likewise.
30384 * include/sys/utsname.h: Likewise.
30385 * include/sys/wait.h: Likewise.
30386 * include/termios.h: Likewise.
30387 * include/time.h: Likewise.
30388 * include/ulimit.h: Likewise.
30389 * include/unistd.h: Likewise.
30390 * include/utime.h: Likewise.
30391 * include/wchar.h: Likewise.
30392 * include/wctype.h: Likewise.
30393 * include/wordexp.h: Likewise.
30394
30395 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30396
30397 * time/time.h: TIME_UTC must be a macro.
30398 Make timespec_get available for ISO C11 only as well.
30399
30400 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30401
30402 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30403 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30404
30405 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30406
30407 * configure.in: Use -o not -a in test for unsupported multi-arch.
30408
30409 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30410
30411 * manual/texinfo.tex: Update to version 2012-01-19.16.
30412
30413 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30414
30415 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30416
30417 2012-02-24 Roland McGrath <roland@hack.frob.com>
30418
30419 [BZ #13738]
30420 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30421 * manual/fdl-1.3.texi: New file.
30422 * manual/fdl-1.1.texi: File removed.
30423
30424 [BZ #13738]
30425 * manual/libc.texinfo (FDL_VERSION): New @set.
30426 Use it for mention of FDL in cover text.
30427 (Documentation License): Use it in @include file name.
30428
30429 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30430 Roland McGrath <roland@hack.frob.com>
30431
30432 [BZ #5461]
30433 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30434 not LONG_LONG_MAX and LONG_LONG_MIN.
30435 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30436 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30437 name.
30438 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30439
30440 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30441
30442 [BZ #2547]
30443 [BZ #11365]
30444 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30445 manipulate bits before adding and subtracting TWO23[sx].
30446 * math/libm-test.inc (nearbyint_test): Add more tests.
30447
30448 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30449
30450 [BZ #2548]
30451 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30452 bits before adding and subtracting TWO23[sx].
30453 * math/libm-test.inc (rint_test): Add more tests.
30454 (rint_test_tonearest): Likewise.
30455 (rint_test_towardzero): Likewise.
30456 (rint_test_downward): Likewise.
30457 (rint_test_upward: Likewise.
30458
30459 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30460
30461 [BZ #10110]
30462 * include/stdc-predef.h: New file. Extracted from features.h.
30463 * include/features.h: Include stdc-predef.h.
30464 * Makefile (headers): Add stdc-predef.h.
30465 * CONFORMANCE (Compiler limitations): Update.
30466
30467 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30468
30469 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30470
30471 2012-02-21 David S. Miller <davem@davemloft.net>
30472
30473 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30474 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30475
30476 2012-02-20 David S. Miller <davem@davemloft.net>
30477
30478 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30479 using a normal save/restore sequence, rather than allocating a
30480 dummy stack frame just to store a frame pointer and restore.
30481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30482
30483 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30484
30485 * manual/install.texi: Fix stray word in line-wrapped comment.
30486
30487 2012-02-20 David S. Miller <davem@davemloft.net>
30488
30489 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30490 both binutils and gcc support GOTDATA.
30491
30492 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30493 "rd %pc" in the PIC register setup sequences.
30494
30495 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30496 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30497 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30498 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30499 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30501 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30502 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30504 (SYSCALL_ERROR_HANDLER): Likewise.
30505 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30506 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30507 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30508 (SYSCALL_ERROR_HANDLER): Likewise.
30509
30510 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30511 (HAVE_GCC_GOTDATA): New.
30512 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30513 relocation support in both binutils and gcc.
30514 * sysdeps/sparc/elf/configure: Regenerate.
30515
30516 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30517 * sysdeps/sparc/sparc32/elf/configure: Delete.
30518 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30519 * sysdeps/sparc/sparc64/elf/configure: Delete.
30520 * sysdeps/sparc/elf/configure.in: New file.
30521 * sysdeps/sparc/elf/configure: Generate.
30522
30523 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30524 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30525 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30526 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30527 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30528
30529 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30530
30531 * manual/install.texi: Do not mention specific glibc version
30532 numbers.
30533 * manual/libc.texinfo (VERSION, UPDATED): Update.
30534 (@copying): Use @copyright{} and range of years.
30535
30536 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30537
30538 [BZ #13695]
30539 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30540 [crti.S not in sysdirs] (generated): Do not append.
30541 [crti.S not in sysdirs] (omit-deps): Likewise.
30542 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30543 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30544 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30545 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30546 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30547 Likewise.
30548 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30549 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30550 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30551 * csu/defs.awk: Remove file.
30552 * sysdeps/generic/initfini.c: Likewise.
30553 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30554 variable.
30555 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30556 Likewise.
30557
30558 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30559
30560 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30561 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30562 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30564 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30565 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30566 <bits/epoll.h>.
30567 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30568 (__EPOLL_PACKED): Define to empty if not defined by
30569 <bits/epoll.h>.
30570 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30572 bits/epoll.h.
30573
30574 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30575
30576 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30577 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30578 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30579 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30580 <bits/timerfd.h>.
30581 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30583 bits/timerfd.h.
30584
30585 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30586
30587 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30588 in C locale.
30589 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30590 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30593
30594 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30595
30596 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30597 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30598
30599 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30600
30601 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30602 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30603 defined.
30604 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30605 Likewise.
30606 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30607 entry for 2.16.
30608
30609 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30610
30611 * math/w_acos.c: Use non-signaling floating-point comparisons.
30612 * math/w_acosf.c: Likewise.
30613 * math/w_acosh.c: Likewise.
30614 * math/w_acoshf.c: Likewise.
30615 * math/w_acoshl.c: Likewise.
30616 * math/w_acosl.c: Likewise.
30617 * math/w_asin.c: Likewise.
30618 * math/w_asinf.c: Likewise.
30619 * math/w_asinl.c: Likewise.
30620 * math/w_atanh.c: Likewise.
30621 * math/w_atanhf.c: Likewise.
30622 * math/w_atanhl.c: Likewise.
30623 * math/w_exp2.c: Likewise.
30624 * math/w_exp2f.c: Likewise.
30625 * math/w_exp2l.c: Likewise.
30626 * math/w_j0.c: Likewise.
30627 * math/w_j0f.c: Likewise.
30628 * math/w_j0l.c: Likewise.
30629 * math/w_j1.c: Likewise.
30630 * math/w_j1f.c: Likewise.
30631 * math/w_j1l.c: Likewise.
30632 * math/w_jn.c: Likewise.
30633 * math/w_jnf.c: Likewise.
30634 * math/w_log.c: Likewise.
30635 * math/w_log10.c: Likewise.
30636 * math/w_log10f.c: Likewise.
30637 * math/w_log10l.c: Likewise.
30638 * math/w_log2.c: Likewise.
30639 * math/w_log2f.c: Likewise.
30640 * math/w_log2l.c: Likewise.
30641 * math/w_logf.c: Likewise.
30642 * math/w_logl.c: Likewise.
30643 * math/w_sqrt.c: Likewise.
30644 * math/w_sqrtf.c: Likewise.
30645 * math/w_sqrtl.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30649 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30650 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30651
30652 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30653
30654 [BZ #9739]
30655 * manual/string.texi (strnlen): Use correct parameter name in
30656 equivalent expression.
30657
30658 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30659
30660 [BZ #11174]
30661 * manual/users.texi (seteuid): Consistently use neweuid for
30662 argument name.
30663
30664 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30665
30666 [BZ #13704]
30667 * manual/nss.texi (Services in the NSS configuration): Correct
30668 list of services in example configuration file.
30669
30670 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30671
30672 [BZ #11322]
30673 * manual/arith.texi: Remove statements about negative zero
30674 behaving identically to zero.
30675
30676 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30677
30678 [BZ #5993]
30679 * manual/install.texi: Do not document upgrading from libc5.
30680
30681 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30682
30683 [BZ #4596]
30684 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30685
30686 2012-02-18 David S. Miller <davem@davemloft.net>
30687
30688 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30689 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30690 %o7 across the call.
30691 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30692 instead.
30693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30694 SETUP_PIC_REG_LEAF.
30695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30696 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30697 * sysdeps/sparc/crtn.S: Likewise.
30698
30699 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30700
30701 * aout/Makefile: Remove.
30702
30703 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30704
30705 [BZ #13058]
30706 * manual/examples/argp-ex1.c (main): Format definition in GNU
30707 style.
30708 * manual/examples/argp-ex2.c (main): Likewise.
30709 * manual/examples/argp-ex3.c (main): Likewise.
30710 * manual/examples/argp-ex4.c (main): Likewise.
30711 * manual/examples/longopt.c (main): Use new-style prototype
30712 definition.
30713 * manual/examples/strncat.c (main): Specify return type and use
30714 (void) for arguments.
30715 * manual/examples/subopt.c (main): Use char **argv argument.
30716
30717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30718
30719 [BZ #5077]
30720 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30721 rounding modes.
30722
30723 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30724
30725 [BZ #6907]
30726 * manual/string.texi (strchr): Change when strchrnul is
30727 recommended.
30728
30729 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30730
30731 [BZ #174]
30732 * manual/locale.texi (setlocale): Document LOCPATH.
30733
30734 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30735
30736 [BZ #10210]
30737 * manual/process.texi (execle): Move @dots{} before last argument.
30738
30739 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30740
30741 [BZ #12047]
30742 * manual/charset.texi (Generic Charset Conversion): Fix typo
30743 (LC_TYPE -> LC_CTYPE).
30744
30745 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30746
30747 [BZ #5805]
30748 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30749 (scalbnf): Likewise.
30750 (scalbnl): Likewise.
30751 (scalbln): Likewise.
30752 (scalblnf): Likewise.
30753 (scalblnl): Likewise.
30754 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30755 (vwarnx): Likewise.
30756 (verr): Likewise.
30757 (verrx): Likewise.
30758 * manual/filesys.texi (telldir): Use braces around return type.
30759 * manual/llio.texi (mmap): Add space after comma.
30760 (mmap64): Likewise.
30761 * manual/math.texi (jn): Use @var{} on parameter names.
30762 (jnf): Likewise.
30763 (jnl): Likewise.
30764 (yn): Likewise.
30765 (ynf): Likewise.
30766 (ynl): Likewise.
30767 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30768 line.
30769 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30770 "...".
30771 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30772 (sched_get_priority_max): Likewise.
30773 * manual/signal.texi (sigvec): Add space after comma.
30774 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30775 names.
30776 (if_indextoname): Likewise.
30777 (if_freenameindex): Likewise.
30778 (sendto): Use ',' instead of '.' in prototype.
30779 * manual/startup.texi (syscall): Use @dots{} instead of literal
30780 "...".
30781 * manual/stdio.texi (__fpending): Separate initial words of
30782 paragraph from @deftypefun line.
30783 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30784 "...".
30785 (vsyslog): Use @var{} on parameter names.
30786 * manual/terminal.texi (stty): Use @var{} on parameter names.
30787 * manual/users.texi (getutmp): Use @var{} on parameter names.
30788 (getutmpx): Likewise.
30789
30790 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30791
30792 [BZ #6884]
30793 * manual/stdio.texi (fopen): Fix typos in description of
30794 ",ccs=STRING".
30795
30796 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30797
30798 [BZ #4026]
30799 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30800 get clock_id definition.
30801
30802 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30803
30804 [BZ #4822]
30805 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30806 (madvise): Cast every argument to void on its own.
30807
30808 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30809
30810 [BZ #9902]
30811 * manual/startup.texi (Exit Status): Fix typo.
30812
30813 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30814
30815 [BZ #10140]
30816 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30817 * manual/examples/argp-ex2.c: Likewise.
30818 * manual/examples/argp-ex3.c: Likewise.
30819
30820 2012-02-16 Richard Henderson <rth@redhat.com>
30821
30822 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30823 * sysdeps/s390/s390-32/initfini.c: Remove.
30824 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30825 * sysdeps/s390/s390-64/initfini.c: Remove.
30826
30827 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30828
30829 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30830 compiler output for sysdeps/generic/initfini.c.
30831 * sysdeps/sh/elf/initfini.c: Remove file.
30832
30833 2012-02-16 David S. Miller <davem@davemloft.net>
30834
30835 [BZ #11494]
30836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30837
30838 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30839 * sysdeps/sparc/crti.S: New file.
30840 * sysdeps/sparc/crtn.S: New file.
30841 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30842 * sysdeps/sparc/sparc64/Makefile: Likewise.
30843
30844 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30845
30846 [BZ #3335]
30847 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30848
30849 2012-02-15 Roland McGrath <roland@hack.frob.com>
30850
30851 [BZ #4822]
30852 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30853
30854 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30855 (write, read, close): Likewise.
30856 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30857
30858 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30859
30860 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30861 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30862 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30863 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30864 <bits/signalfd.h>.
30865 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30867 bits/signalfd.h.
30868
30869 2012-02-14 Marek Polacek <polacek@redhat.com>
30870
30871 * sysdeps/x86_64/crti.S: New file.
30872 * sysdeps/x86_64/crtn.S: New file.
30873 * sysdeps/x86_64/elf/initfini.c: Remove file.
30874
30875 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30876
30877 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30878 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30879 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30880 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30881 <bits/inotify.h>.
30882 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30884 bits/inotify.h.
30885
30886 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30887
30888 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30889 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30890 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30891 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30892 <bits/eventfd.h>.
30893 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30895 bits/eventfd.h.
30896
30897 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30898
30899 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30900 __feraiseexcept instead of feraiseexcept.
30901
30902 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30903 nanosleep invocations.
30904 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30905 strings, and add error checking for a nanosleep invocations.
30906
30907 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30908
30909 Replace FSF snail mail address with URLs, as per GNU coding standards.
30910 Most of the snail mail addresses were wrong anyway, and omitting
30911 them makes the source code easier to maintain. Almost all of the
30912 changes are to license notices and to locale LC_IDENTIFICATION
30913 addresses, except for this one:
30914 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30915 not its snail mail address.
30916
30917 2012-02-09 Richard Henderson <rth@twiddle.net>
30918
30919 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30920 of kernel-features.h.
30921
30922 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30923
30924 2012-02-08 Marek Polacek <polacek@redhat.com>
30925
30926 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30927 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30928 * sysdeps/gnu/_G_config.h: Likewise.
30929 * sysdeps/generic/_G_config.h: Likewise.
30930
30931 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30932
30933 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30934 tests.
30935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30936
30937 * sysdeps/powerpc/powerpc32/crti.S: New file.
30938 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30939 * sysdeps/powerpc/powerpc64/crti.S: New file.
30940 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30941
30942 * Makeconfig (have-initfini): Don't set.
30943 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30944 * configure.in (nopic_initfini): Don't substitute.
30945 * config.h.in (HAVE_INITFINI): Don't #undef.
30946 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30947 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30948
30949 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30950
30951 Support crti.S and crtn.S provided directly by architectures.
30952 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30953 [crti.S in sysdirs] (omit-deps): Likewise.
30954 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30955 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30956 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30957 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30958 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30959 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30960 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30961 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30962 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30963 compiler output for sysdeps/generic/initfini.c.
30964 * sysdeps/i386/elf/Makefile: Remove file.
30965 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30966
30967 2012-02-07 Marek Polacek <polacek@redhat.com>
30968
30969 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30970 * sysdeps/gnu/_G_config.h: Likewise.
30971 * sysdeps/mach/hurd/_G_config.h: Likewise.
30972
30973 2012-02-07 Marek Polacek <polacek@redhat.com>
30974
30975 * math/Makefile (tests): Add tst-CMPLX2.
30976 * math/tst-CMPLX2.c: New file.
30977
30978 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30979
30980 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30981
30982 * math/libm-test.inc (jn_test): Add missing L suffix.
30983
30984 2012-02-06 Marek Polacek <polacek@redhat.com>
30985
30986 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30987 * sysdeps/i386/fpu/e_powf.S: Likewise.
30988 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30989 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30990 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30991 * sysdeps/i386/fpu/e_pow.S: Likewise.
30992 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30993 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30994 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30995 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30996 * sysdeps/i386/fpu/e_log2.S: Likewise.
30997 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30998 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30999 * sysdeps/i386/fpu/e_powl.S: Likewise.
31000 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31002 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31003 * sysdeps/i386/fpu/e_logl.S: Likewise.
31004 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31005 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31006 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31007 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31008 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31009 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31010 * sysdeps/i386/fpu/e_log.S: Likewise.
31011 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31012 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31013 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31014 * sysdeps/i386/fpu/e_logf.S: Likewise.
31015 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31016 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31017 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31018 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31019 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31020 * sysdeps/i386/fpu/e_log10.S: Likewise.
31021 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31022 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31023 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31024 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31025 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31026 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31027 * sysdeps/i386/asm-syntax.h: Likewise.
31028 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31029 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31030 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31031 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31032 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31033 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31034 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31035 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31036 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31037 * sysdeps/powerpc/sysdep.h: Likewise.
31038 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31039 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31040
31041 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31042
31043 [BZ #411]
31044 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31045
31046 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31047
31048 * sysdeps/i386/sysdep.h: Include <features.h>.
31049 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31050 version.
31051
31052 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31053
31054 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31055 Define.
31056 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31057 LOAD_PIC_REG_STR.
31058
31059 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31060
31061 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31062 (SETUP_PIC_REG): Use GET_PC_THUNK.
31063 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31064 macro.
31065
31066 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31067
31068 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31069 for non-PIC compilation.
31070 (SETUP_PIC_REG): Add .p2align directive.
31071 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31072 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31073 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31074 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31075 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31076 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31077 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31079 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31080 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31081 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31082 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31083 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31084 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31085 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31086 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31087 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31088 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31089 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31090 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31091 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31092 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31093 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31094 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31095 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31096 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31097 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31098 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31099 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31100 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31101 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31102 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31103 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31104 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31105 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31106 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31107 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31108 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31109 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31110 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31111 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31112
31113 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31114
31115 * math/tst-CMPLX.c: Include <stdio.h>.
31116
31117 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31118
31119 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31120 float.
31121 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31122 * sysdeps/sparc/bits/mathdef.h: Likewise.
31123
31124 2012-01-31 Marek Polacek <polacek@redhat.com>
31125
31126 * libio/libio.h: Don't define _PARAMS.
31127 * locale/programs/config.h: Don't define PARAMS.
31128 * stdlib/strtol_l.c: Likewise.
31129 (__strtol_l): Remove PARAMS from the prototype.
31130
31131 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31132
31133 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31134 names. Just use the correct names. Remove unnecessary wrapper
31135 functions.
31136 * malloc/arena.c: Likewise.
31137 * malloc/hooks.c: Likewise.
31138
31139 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31140 ARENA_TEST says not to. Simplify test for creation of a new arena.
31141 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31142
31143 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31144
31145 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31146 into tail calls.
31147 (update_get_addr): New function.
31148 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31149 GET_ADDR_MODULE parameter.
31150
31151 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31152
31153 * crypt/cert.c: Remove __STDC__ conditionals.
31154 * crypt/crypt-entry.c: Likewise.
31155 * crypt/crypt_util.c: Likewise.
31156 * libio/filedoalloc.c: Likewise.
31157 * libio/fileops.c: Likewise.
31158 * libio/genops.c: Likewise.
31159 * libio/iofclose.c: Likewise.
31160 * libio/iofdopen.c: Likewise.
31161 * libio/iofopen.c: Likewise.
31162 * libio/iofopen64.c: Likewise.
31163 * libio/iogetdelim.c: Likewise.
31164 * libio/iopopen.c: Likewise.
31165 * libio/obprintf.c: Likewise.
31166 * libio/oldfileops.c: Likewise.
31167 * libio/oldiofclose.c: Likewise.
31168 * libio/oldiofdopen.c: Likewise.
31169 * libio/oldiofopen.c: Likewise.
31170 * libio/oldiopopen.c: Likewise.
31171 * libio/wfiledoalloc.c: Likewise.
31172 * libio/wgenops.c: Likewise.
31173 * locale/programs/xmalloc.c: Likewise.
31174 * misc/syslog.c: Likewise.
31175 * stdio-common/xbug.c: Likewise.
31176 * string/memchr.c: Likewise.
31177 * string/memcmp.c: Likewise.
31178 * string/memrchr.c: Likewise.
31179 * string/rawmemchr.c: Likewise.
31180 * sysdeps/posix/getcwd.c: Likewise.
31181 * time/strftime_l.c: Likewise.
31182
31183 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31184
31185 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31186 * config.make.in (config-cflags-sse2avx): Define.
31187 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31188 Fix typo.
31189
31190 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31191
31192 * scripts/config.guess: Update from upstream config git repository.
31193 * scripts/config.sub: Likewise.
31194
31195 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31196
31197 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31198 (EM_NUM): Update.
31199 (R_TILEPRO_*, R_TILEGX_*): New macros.
31200
31201 * scripts/firstversions.awk: Fix bug in version range handling.
31202
31203 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31204
31205 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31206
31207 * include/sys/epoll.h: New file.
31208 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31209 libc_hidden_def.
31210
31211 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31212
31213 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31214 Avoid unnecessary __WORDSIZE == 64 test.
31215 (fmaxf): Use VEX format if possible.
31216 (fmax): Likewise.
31217 (fminf): Likewise.
31218 (fmin): Likewise.
31219
31220 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31221 * math/math_private.h: Remove libc_fegetround* and
31222 libc_fesetround*.
31223 * sysdeps/i386/configure.in: Check for -msse2avx.
31224 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31225 also if SSE2AVX is defined.
31226 Remove libc_fegetround* and libc_fesetround*.
31227 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31228 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31229 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31230 of HAS_YMM_USABLE.
31231 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31232 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31233 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31234 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31235 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31236
31237 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31238
31239 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31240
31241 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31242 size is not set.
31243 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31244
31245 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31246
31247 [BZ #13618]
31248 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31249 relocation.
31250 * Makeconfig (libm): Define.
31251 * elf/Makefile: Add rules to build and run tst-relsort1.
31252 * elf/tst-relsort1.c: New file.
31253 * elf/tst-relsort1mod1.c: New file.
31254 * elf/tst-relsort1mod2.c: New file.
31255
31256 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31257
31258 * math/s_ldexp.c: Remove __STDC__ conditionals.
31259 * math/s_ldexpf.c: Likewise.
31260 * math/s_ldexpl.c: Likewise.
31261 * math/s_nextafter.c: Likewise.
31262 * math/s_nexttowardf.c: Likewise.
31263 * math/s_significand.c: Likewise.
31264 * math/s_significandf.c: Likewise.
31265 * math/s_significandl.c: Likewise.
31266 * math/w_jnl.c: Likewise.
31267 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31268 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31269 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31270 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31271 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31273 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31274 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31275 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31276 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31277 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31279 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31280 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31281 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31282 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31283 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31284 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31286 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31287 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31288 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31289 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31290 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31291 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31292 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31293 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31294 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31295 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31296 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31297 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31298 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31299 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31300 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31301 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31302 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31303 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31304 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31305 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31306 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31307 * sysdeps/ieee754/k_standard.c: Likewise.
31308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31309 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31310 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31311 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31312 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31313 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31314 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31315 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31316 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31317 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31318 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31319 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31320 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31321 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31322 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31323 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31324 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31326 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31327 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31328 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31329 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31330 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31331 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31332 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31333 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31337 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31338 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31339 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31340 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31341 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31343 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31344 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31347 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31348 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31350 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31351 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31352 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31353 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31354 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31357 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31358 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31361 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31362 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31363 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31364 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31365 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31368 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31369 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31370 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31371 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31372 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31373 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31374 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31375 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31376 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31377 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31378 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31379 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31380 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31383 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31384 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31385 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31386 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31387 * sysdeps/ieee754/s_matherr.c: Likewise.
31388 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31389 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31391 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31392
31393 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31394
31395 * crypt/md5.h: Remove __STDC__ conditionals.
31396 * libio/libioP.h: Likewise.
31397 * locale/programs/config.h: Likewise.
31398 * sysdeps/generic/sysdep.h: Likewise.
31399 * sysdeps/i386/asm-syntax.h: Likewise.
31400 * sysdeps/s390/asm-syntax.h: Likewise.
31401 * sysdeps/unix/sysdep.h: Likewise.
31402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31404
31405 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31406
31407 * libio/libio.h: Remove __STDC__ conditionals.
31408 * malloc/obstack.h: Likewise.
31409 * math/complex.h: Likewise.
31410 * math/math.h: Likewise.
31411 * sysdeps/generic/_G_config.h: Likewise.
31412 * sysdeps/gnu/_G_config.h: Likewise.
31413 * sysdeps/mach/hurd/_G_config.h: Likewise.
31414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31415 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31416 * sysdeps/sparc/bits/mathdef.h: Likewise.
31417
31418 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31419
31420 [BZ #13583]
31421 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31422 Clean up HAS_* macros.
31423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31424 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31425 possible.
31426 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31427 HAS_AVX.
31428 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31429 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31430 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31432 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31433
31434 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31435
31436 * elf/tst-unique3.cc (gets): Remove declaration.
31437 * elf/tst-unique3lib.cc (gets): Likewise.
31438 * elf/tst-unique3lib2.cc (gets): Likewise.
31439 * elf/tst-unique4.cc (gets): Likewise.
31440
31441 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31442
31443 * include/stdio.h: Add C++ protection. Add gets declarations and
31444 definitions.
31445 * debug/tst-chk1.c: Don't declare gets here.
31446 * stdio-common/tst-gets.c: Likewise.
31447
31448 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31449
31450 * posix/glob: Remove directory.
31451
31452 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31453
31454 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31455
31456 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31457
31458 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31459 of the non-standard EPFNOSUPPORT.
31460
31461 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31462
31463 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31464 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31465 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31466
31467 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31468
31469 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31470
31471 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31472
31473 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31474 transient errors.
31475 * nscd/grpcache.c (cache_addgr): Likewise.
31476 * nscd/hstcache.c (cache_addhst): Likewise.
31477 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31478 * nscd/pwdcache.c (cache_addpw): Likewise.
31479 * nscd/servicescache.c (cache_addserv): Likewise.
31480
31481 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31482
31483 * malloc/malloc.c: Various cleanups.
31484 * malloc/hooks.c: Likewise.
31485
31486 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31487 * stdlib/bug-fmtmsg1.c: New file.
31488
31489 * stdlib/fmtmsg.c (init): Add missing unlock.
31490 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31491
31492 2012-01-12 Marek Polacek <polacek@redhat.com>
31493
31494 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31495 and _GNU_SOURCE.
31496
31497 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31498
31499 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31500 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31501 macro to ensure uniqueness of label name.
31502 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31503 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31504
31505 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31506
31507 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31508
31509 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31510 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31511 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31513
31514 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31515
31516 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31517
31518 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31519 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31520 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31521
31522 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31523
31524 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31525 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31526 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31528
31529 * math/bits/math-finite.h: Add ldexp support.
31530
31531 2012-01-10 Marek Polacek <polacek@redhat.com>
31532
31533 * locale/programs/localedef.h (show_archive_content): Add noreturn
31534 attribute.
31535
31536 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31537
31538 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31539
31540 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31541
31542 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31543
31544 * io/Makefile (headers): Add bits/poll2.h.
31545
31546 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31547
31548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31549 typo #include statement.
31550
31551 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31552
31553 * include/sys/cdefs.h: Define __attribute_alloc_size.
31554 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31555 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31556 * elf/pldd.c: Likewise.
31557 * iconv/iconv_charmap.c: Likewise.
31558 * iconv/iconvconfig.c: Likewise.
31559 * iconv/strtab.c: Likewise.
31560 * locale/programs/locale.c: Likewise.
31561 * locale/programs/localedef.h: Likewise.
31562 * locale/programs/simple-hash.c: Likewise.
31563 * nscd/nscd.h: Likewise.
31564 * nss/makedb.c: Likewise.
31565 * sysdeps/generic/ldconfig.h: Likewise.
31566 * locale/programs/localedef.c: Remove xmalloc prototype.
31567 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31568
31569 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31570
31571 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31572 appropriate.
31573
31574 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31575
31576 * math/Makefile (tests): Add tst-CMPLX.
31577 * math/tst-CMPLX.c: New file.
31578
31579 * math/complex.h (CMPLXL): Fix typo.
31580
31581 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31582 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31583 GLIBC_2.16.
31584 * debug/tst-chk1.c: Add poll and ppoll tests.
31585 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31586 * include/sys/poll.h: Add hidden proto for ppoll.
31587 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31588 * sysdeps/mach/hurd/ppoll.c: Likewise.
31589 * io/ppoll.c: Likewise.
31590 * debug/poll_chk.c: New file.
31591 * debug/ppoll_chk.c: New file.
31592 * include/bits/poll2.h: New file.
31593 * io/bits/poll2.h: New file.
31594
31595 [BZ #1350]
31596 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31597
31598 * configure.in: static is always set to yes. Remove.
31599 * config.make.in: Don't set build-static.
31600 * Makeconfig: Remove use of build-static.
31601 * dlfcn/Makefile: Likewise.
31602 * elf/Makefile: Likewise.
31603 * math/Makefile: Likewise.
31604 * misc/Makefile: Likewise.
31605 * nptl/Makefile: Likewise.
31606 * sysdeps/mach/hurd/Makefile: Likewise.
31607
31608 * configure.in: PWD_P is not used anymore.
31609 * config.make.in: Remove PWD_P entry.
31610
31611 * configure.in: Remove last remnants of RANLIB.
31612 No need to check for signed size_t anymore.
31613 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31614 and IA-64.
31615 Remove __builtin_expect test because we require at least gcc 3.4.
31616 * aclocal.m4: Likewise.
31617
31618 * wcsmbs/mbrtoc16.c: Implement using towc function.
31619 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31620 * wcsmbs/wcsmbsload.c: Likewise.
31621 * iconv/gconv_simple.c: Likewise.
31622 * iconv/gconv_int.h: Likewise.
31623 * iconv/gconv_builtin.h: Likewise.
31624 * iconv/iconv_prog.c: Remove CHAR16 handling.
31625
31626 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31627
31628 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31629
31630 * configure.in: Remove --with-elf and --enable-bounded options.
31631 Dont set base_machine for ia64. More non-ELF conditions removed.
31632 Remove testing and setting of leading underscore information.
31633 * config.make.in (build-bounded): Set to no.
31634 * config.h.in: Remove NO_UNDERSCORES entry.
31635 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31636 them.
31637 * csu/start.c: Remove !NO_UNDERSCORE code.
31638 * locale/localeinfo.h: Likewise.
31639 * sysdeps/generic/machine-gmon.h: Likewise.
31640 * sysdeps/generic/sysdep.h: Likewise.
31641 * sysdeps/i386/sysdep.h: Likewise.
31642 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31643 * sysdeps/mach/sysdep.h: Likewise.
31644 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31645 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31646 * sysdeps/sh/sysdep.h: Likewise.
31647 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31648 * sysdeps/unix/i386/sysdep.S: Likewise.
31649 * sysdeps/unix/sparc/start.c: Likewise.
31650 * sysdeps/unix/sparc/sysdep.S: Likewise.
31651 * sysdeps/unix/sparc/sysdep.h: Likewise.
31652 * sysdeps/unix/start.c: Likewise.
31653 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31654 * sysdeps/x86_64/sysdep.h: Likewise.
31655
31656 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31657
31658 [BZ #13553]
31659 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31660 for non-gcc.
31661 * argp/argp-fmtstream.h: Use const instead __const.
31662 * argp/argp.h: Likewise.
31663 * assert/assert.h: Likewise.
31664 * bits/fenv.h: Likewise.
31665 * bits/sched.h: Likewise.
31666 * bits/sigset.h: Likewise.
31667 * bits/sigthread.h: Likewise.
31668 * catgets/nl_types.h: Likewise.
31669 * conform/data/pthread.h-data: Likewise.
31670 * crypt/crypt-private.h: Likewise.
31671 * crypt/crypt.h: Likewise.
31672 * crypt/crypt_util.c: Likewise.
31673 * ctype/ctype.h: Likewise.
31674 * debug/execinfo.h: Likewise.
31675 * debug/mbsnrtowcs_chk.c: Likewise.
31676 * debug/mbsrtowcs_chk.c: Likewise.
31677 * debug/wcsnrtombs_chk.c: Likewise.
31678 * debug/wcsrtombs_chk.c: Likewise.
31679 * debug/wcstombs_chk.c: Likewise.
31680 * dirent/dirent.h: Likewise.
31681 * dlfcn/dlfcn.h: Likewise.
31682 * elf/neededtest4.c: Likewise.
31683 * grp/grp.h: Likewise.
31684 * gshadow/gshadow.h: Likewise.
31685 * iconv/gconv.h: Likewise.
31686 * iconv/gconv_int.h: Likewise.
31687 * iconv/gconv_simple.c: Likewise.
31688 * iconv/iconv.h: Likewise.
31689 * iconv/loop.c: Likewise.
31690 * iconv/skeleton.c: Likewise.
31691 * include/aio.h: Likewise.
31692 * include/aliases.h: Likewise.
31693 * include/argz.h: Likewise.
31694 * include/arpa/inet.h: Likewise.
31695 * include/assert.h: Likewise.
31696 * include/dirent.h: Likewise.
31697 * include/dlfcn.h: Likewise.
31698 * include/execinfo.h: Likewise.
31699 * include/fcntl.h: Likewise.
31700 * include/fenv.h: Likewise.
31701 * include/glob.h: Likewise.
31702 * include/grp.h: Likewise.
31703 * include/libintl.h: Likewise.
31704 * include/mntent.h: Likewise.
31705 * include/netdb.h: Likewise.
31706 * include/pwd.h: Likewise.
31707 * include/rpc/netdb.h: Likewise.
31708 * include/sched.h: Likewise.
31709 * include/search.h: Likewise.
31710 * include/shadow.h: Likewise.
31711 * include/signal.h: Likewise.
31712 * include/stdio.h: Likewise.
31713 * include/stdlib.h: Likewise.
31714 * include/string.h: Likewise.
31715 * include/sys/socket.h: Likewise.
31716 * include/sys/stat.h: Likewise.
31717 * include/sys/statfs.h: Likewise.
31718 * include/sys/statvfs.h: Likewise.
31719 * include/sys/syslog.h: Likewise.
31720 * include/sys/time.h: Likewise.
31721 * include/sys/uio.h: Likewise.
31722 * include/time.h: Likewise.
31723 * include/unistd.h: Likewise.
31724 * include/utmp.h: Likewise.
31725 * include/wchar.h: Likewise.
31726 * include/wctype.h: Likewise.
31727 * inet/aliases.h: Likewise.
31728 * inet/arpa/inet.h: Likewise.
31729 * inet/netinet/ether.h: Likewise.
31730 * inet/netinet/in.h: Likewise.
31731 * intl/libintl.h: Likewise.
31732 * io/bits/fcntl2.h: Likewise.
31733 * io/fcntl.h: Likewise.
31734 * io/ftw.h: Likewise.
31735 * io/sys/poll.h: Likewise.
31736 * io/sys/stat.h: Likewise.
31737 * io/sys/statfs.h: Likewise.
31738 * io/sys/statvfs.h: Likewise.
31739 * io/utime.h: Likewise.
31740 * libio/bits/stdio.h: Likewise.
31741 * libio/bits/stdio2.h: Likewise.
31742 * libio/libio.h: Likewise.
31743 * libio/libioP.h: Likewise.
31744 * libio/stdio.h: Likewise.
31745 * locale/lc-ctype.c: Likewise.
31746 * locale/locale.h: Likewise.
31747 * login/utmp.h: Likewise.
31748 * malloc/arena.c: Likewise.
31749 * malloc/malloc.c: Likewise.
31750 * malloc/malloc.h: Likewise.
31751 * malloc/mcheck.c: Likewise.
31752 * malloc/mtrace.c: Likewise.
31753 * math/bits/mathcalls.h: Likewise.
31754 * math/fenv.h: Likewise.
31755 * math/math_private.h: Likewise.
31756 * misc/bits/error.h: Likewise.
31757 * misc/bits/syslog.h: Likewise.
31758 * misc/err.h: Likewise.
31759 * misc/error.h: Likewise.
31760 * misc/fstab.h: Likewise.
31761 * misc/mntent.h: Likewise.
31762 * misc/regexp.h: Likewise.
31763 * misc/search.h: Likewise.
31764 * misc/sgtty.h: Likewise.
31765 * misc/sys/mman.h: Likewise.
31766 * misc/sys/syslog.h: Likewise.
31767 * misc/sys/uio.h: Likewise.
31768 * misc/sys/xattr.h: Likewise.
31769 * misc/ttyent.h: Likewise.
31770 * nis/rpcsvc/ypclnt.h: Likewise.
31771 * nss/nss.h: Likewise.
31772 * posix/bits/unistd.h: Likewise.
31773 * posix/fnmatch.h: Likewise.
31774 * posix/glob.h: Likewise.
31775 * posix/sched.h: Likewise.
31776 * posix/spawn.h: Likewise.
31777 * posix/sys/wait.h: Likewise.
31778 * posix/unistd.h: Likewise.
31779 * posix/wordexp.h: Likewise.
31780 * pwd/pwd.h: Likewise.
31781 * resolv/netdb.h: Likewise.
31782 * resource/sys/resource.h: Likewise.
31783 * rt/aio.h: Likewise.
31784 * rt/bits/mqueue2.h: Likewise.
31785 * rt/mqueue.h: Likewise.
31786 * shadow/shadow.h: Likewise.
31787 * signal/signal.h: Likewise.
31788 * socket/send.c: Likewise.
31789 * socket/sendto.c: Likewise.
31790 * socket/sys/socket.h: Likewise.
31791 * stdio-common/printf.h: Likewise.
31792 * stdlib/bits/stdlib.h: Likewise.
31793 * stdlib/fmtmsg.h: Likewise.
31794 * stdlib/monetary.h: Likewise.
31795 * stdlib/stdlib.h: Likewise.
31796 * stdlib/ucontext.h: Likewise.
31797 * streams/stropts.h: Likewise.
31798 * string/argz.h: Likewise.
31799 * string/bits/string2.h: Likewise.
31800 * string/string.h: Likewise.
31801 * string/strings.h: Likewise.
31802 * sunrpc/rpc/auth.h: Likewise.
31803 * sunrpc/rpc/auth_des.h: Likewise.
31804 * sunrpc/rpc/clnt.h: Likewise.
31805 * sunrpc/rpc/netdb.h: Likewise.
31806 * sunrpc/rpc/pmap_clnt.h: Likewise.
31807 * sunrpc/rpc/xdr.h: Likewise.
31808 * sysdeps/generic/inttypes.h: Likewise.
31809 * sysdeps/generic/net/if.h: Likewise.
31810 * sysdeps/generic/sys/swap.h: Likewise.
31811 * sysdeps/gnu/net/if.h: Likewise.
31812 * sysdeps/gnu/utmpx.h: Likewise.
31813 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31814 * sysdeps/i386/i486/bits/string.h: Likewise.
31815 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31816 * sysdeps/s390/bits/string.h: Likewise.
31817 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31818 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31819 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31820 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31821 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31822 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31823 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31824 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31825 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31826 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31827 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31828 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31829 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31830 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31831 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31832 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31833 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31835 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31836 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31837 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31838 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31839 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31840 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31841 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31842 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31843 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31844 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31845 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31846 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31847 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31848 * sysvipc/sys/ipc.h: Likewise.
31849 * sysvipc/sys/msg.h: Likewise.
31850 * sysvipc/sys/sem.h: Likewise.
31851 * sysvipc/sys/shm.h: Likewise.
31852 * termios/termios.h: Likewise.
31853 * time/sys/time.h: Likewise.
31854 * time/time.h: Likewise.
31855 * wcsmbs/bits/wchar2.h: Likewise.
31856 * wcsmbs/uchar.h: Likewise.
31857 * wcsmbs/wchar.h: Likewise.
31858 * wctype/wctype.h: Likewise.
31859
31860 [BZ #13551]
31861 * Makeconfig: Remove all but ELF support including AIX support.
31862 * Makerules: Likewise.
31863 * config.h.in: Likewise.
31864 * config.make.in: Likewise.
31865 * configure: Likewise.
31866 * configure.in: Likewise.
31867 * csu/Makefile: Likewise.
31868 * csu/version.c: Likewise.
31869 * debug/Makefile: Likewise.
31870 * dlfcn/Makefile: Likewise.
31871 * elf/Makefile: Likewise.
31872 * extra-lib.mk: Likewise.
31873 * iconv/Makefile: Likewise.
31874 * include/libc-symbols.h: Likewise.
31875 * include/shlib-compat.h: Likewise.
31876 * resolv/Makefile: Likewise.
31877 * resolv/res_libc.c: Likewise.
31878 * rt/Makefile: Likewise.
31879 * sysdeps/i386/asm-syntax.h: Likewise.
31880 * sysdeps/i386/sysdep.h: Likewise.
31881 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31882 * sysdeps/mach/sysdep.h: Likewise.
31883 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31884 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31885 * sysdeps/s390/asm-syntax.h: Likewise.
31886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31887 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31888 * sysdeps/sh/sysdep.h: Likewise.
31889 * sysdeps/unix/sparc/sysdep.h: Likewise.
31890 * sysdeps/wordsize-32/divdi3.c: Likewise.
31891 * sysdeps/x86_64/sysdep.h: Likewise.
31892
31893 * argp/Versions: Remove _argp_unlock_xxx.
31894
31895 [BZ #13559]
31896 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31897 * abilist/libBrokenLocale.abilist: Likewise.
31898 * abilist/libanl.abilist: Likewise.
31899 * abilist/libc.abilist: Likewise.
31900 * abilist/libcrypt.abilist: Likewise.
31901 * abilist/libdl.abilist: Likewise.
31902 * abilist/libm.abilist: Likewise.
31903 * abilist/libnsl.abilist: Likewise.
31904 * abilist/libpthread.abilist: Likewise.
31905 * abilist/libresolv.abilist: Likewise.
31906 * abilist/librt.abilist: Likewise.
31907 * abilist/libthread_db.abilist: Likewise.
31908 * abilist/libutil.abilist: Likewise.
31909 * abilist/libnss_db.abilist: New file.
31910
31911 * scripts/abilist.awk: Add support for indirect functions.
31912
31913 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31914
31915 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31916
31917 * shlib-versions: Remove entries for ports architectures.
31918
31919 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31920 files in ports.
31921 * elf/stackguard-macros.h: Remove support for IA-64.
31922 * elf/tst-auditmod1.c: Likewise.
31923 * sysdeps/generic/ldsodefs.h: Likewise.
31924
31925 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31926 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31927 configure files.
31928
31929 [BZ #13552]
31930 * configure.in: Remove --enable-omitfp support.
31931 * FAQ.in: Adjust.
31932 * config.make.in: Likewise.
31933 * Makeconfig: Likewise.
31934 * manual/install.texi: Likewise.
31935
31936 In case anyone cares, the IA-64 architecture could move to ports.
31937 * sysdeps/ia64/*: Removed.
31938 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31939 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31940
31941 [BZ #13555]
31942 * configure.in: Remove entries for unsupported architectures.
31943
31944 [BZ #13533]
31945 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31946 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31947 routines.
31948 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31949 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31950 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31951 fall back to using wcrtomb.
31952 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31953 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31954 renaming.
31955 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31956 * wcsmbs/tst-c16c32-1.c: New file.
31957
31958 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31959 local variable.
31960
31961 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31962
31963 * elf/tst-unique3.cc: Add explicit declaration of gets.
31964 * elf/tst-unique3lib.cc: Likewise.
31965 * elf/tst-unique3lib2.cc: Likewise.
31966 * elf/tst-unique4.cc: Likewise.
31967
31968 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31969
31970 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31971
31972 [BZ #13566]
31973 * assert/assert.h (static_assert): Don't define for C++.
31974 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31975 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31976
31977 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31978
31979 * iconv/loop.c (single loop): Fix assertion in storing of
31980 remaining bytes.
31981
31982 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31983
31984 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31985
31986 * posix/getconf.c: Update copyright year.
31987 * nss/getent.c: Likewise.
31988 * nss/makedb.c: Likewise.
31989 * iconv/iconvconfig.c: Likewise.
31990 * iconv/iconv_prog.c: Likewise.
31991 * elf/ldconfig.c: Likewise.
31992 * elf/pldd.c: Likewise.
31993 * elf/sotruss.ksh: Likewise.
31994 * catgets/gencat.c: Likewise.
31995 * csu/version.c: Likewise.
31996 * elf/ldd.bash.in: Likewise.
31997 * elf/sprof.c (print_version): Likewise.
31998 * locale/programs/locale.c: Likewise.
31999 * locale/programs/localedef.c: Likewise.
32000 * login/programs/pt_chown.c: Likewise.
32001 * nscd/nscd.c (print_version): Likewise.
32002 * debug/xtrace.sh: Likewise.
32003 * malloc/memusage.sh: Likewise.
32004 * malloc/mtrace.pl: Likewise.
32005 * debug/catchsegv.sh: Likewise.
32006
32007 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32008
32009 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32010 pure attribute.
32011
32012 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32013
32014 [BZ #13533]
32015 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32016 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32017 transformations.
32018 * iconv/gconv_int.h: Likewise.
32019 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32020 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32021 from libc for GLIBC_2.16.
32022 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32023 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32024 * wcsmbs/uchar.h: Really define mbstate_t.
32025 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32026 * wcsmbs/c16rtomb.c: New file.
32027 * wcsmbs/mbrtoc16.c: New file.
32028 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32029 for C/POSIX locale.
32030 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32031 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32032
32033 * wcsmbs/wchar.h: Add missing __restrict.
32034
32035 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32036
32037 [BZ #13532]
32038 * time/Makefile (routines): Add timespec_get.
32039 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32040 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32041 timespec for ISO C11.
32042 * time/timespec_get.c: New file.
32043 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32044 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32045
32046 [BZ #13531]
32047 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32048 * stdlib/stdlib.h: Declare aligned_alloc.
32049 * Versions.def: Add GLIBC_2.16 for libc.
32050 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32051
32052 [BZ 13527]
32053 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32054 ISO C11.
32055
32056 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32057 code.
32058
32059 [BZ #13528]
32060 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32061
32062 [BZ #13529]
32063 * assert/assert.h (static_assert): Define.
32064
32065 * version.h: Update for 2.16 development version.
32066
32067 [BZ #13526]
32068 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32069 _ISOC11_SOURCE.
32070
32071 * version.h (RELEASE): Bump for 2.15 release.
32072 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32073
32074 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32075 Patch by Marek Polacek <mpolacek@redhat.com>.
32076
32077 * bits/byteswap.h: Protect long long constants with __extension__.
32078 * sysdeps/i386/bits/byteswap.h: Likewise.
32079 * sysdeps/ia64/bits/byteswap.h: Likewise.
32080 * sysdeps/s390/bits/byteswap.h: Likewise.
32081 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32082
32083 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32084
32085 [BZ #13540]
32086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32087 destination buffer.
32088 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32089
32090 2011-12-23 Marek Polacek <polacek@redhat.com>
32091
32092 * elf/dl-addr.c (determine_info): Add inline keyword.
32093 * elf/tst-auditmod4b.c (check_avx): Likewise.
32094 * elf/tst-auditmod6b.c (check_avx): Likewise.
32095 * elf/tst-auditmod6c.c (check_avx): Likewise.
32096 * elf/tst-auditmod7b.c (check_avx): Likewise.
32097
32098 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32099
32100 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32101 !__SSE_MATH__.
32102
32103 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32104
32105 [BZ #13540]
32106 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32107 processing for last bytes.
32108
32109 2011-08-06 Bruno Haible <bruno@clisp.org>
32110
32111 [BZ #13061]
32112 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32113 U+0385, not to U+1FEE.
32114
32115 [BZ #13062]
32116 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32117 entry for U+00A5 U+0301.
32118
32119 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32120
32121 [BZ #13166]
32122 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32123 buffer for the output is too small.
32124
32125 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32126 optimization.
32127
32128 [BZ #13185]
32129 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32130 SSE flags if possible.
32131
32132 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32133
32134 [BZ #13540]
32135 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32136 processing for last bytes.
32137
32138 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32139
32140 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32141 (syscall-list-default-options, syscall-list-default-condition)
32142 (syscall-list-includes): Define.
32143 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32144 list of ABIs and options and #if conditions for each ABI. Do not
32145 handle common syscalls between ABIs specially.
32146 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32147 Remove.
32148 (syscall-list-variants, syscall-list-32bit-options)
32149 (syscall-list-32bit-condition, syscall-list-64bit-options)
32150 (syscall-list-64bit-condition): Define.
32151 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32152 (syscall-list-variants, syscall-list-32bit-options)
32153 (syscall-list-32bit-condition, syscall-list-64bit-options)
32154 (syscall-list-64bit-condition): Define.
32155 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32156 Remove.
32157 (syscall-list-variants, syscall-list-32bit-options)
32158 (syscall-list-32bit-condition, syscall-list-64bit-options)
32159 (syscall-list-64bit-condition): Define.
32160 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32161 Remove.
32162 (syscall-list-variants, syscall-list-32bit-options)
32163 (syscall-list-32bit-condition, syscall-list-64bit-options)
32164 (syscall-list-64bit-condition): Define.
32165
32166 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32167
32168 * locale/iso-639.def: Add brx entry.
32169
32170 [BZ #13328]
32171 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32172 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32173
32174 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32175 __feraiseexcept_renamed.
32176
32177 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32178
32179 [BZ #13538]
32180 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32181 EPOLLET with unsigned values.
32182 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32183 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32184
32185 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32186 to large cancellation.
32187 * math/s_cacoshf.c: Likewise.
32188 * math/s_cacoshl.c: Likewise.
32189
32190 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32191
32192 [BZ #13305]
32193 [BZ #12786]
32194 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32195 * math/s_cacoshf.c: Likewise.
32196 * math/s_cacoshl.c: Likewise.
32197
32198 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32199
32200 [BZ #13439]
32201 * iconv/gconv.h: Define __GCONV_SWAP.
32202 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32203 * iconvdata/utf-16.c: Likewise.
32204 * iconvdata/utf-32.c: Likewise.
32205
32206 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32207
32208 [BZ #13524]
32209 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32210 numerator after shifting it by one limb.
32211
32212 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32213
32214 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32215 under [__USE_EXTERN_INLINES].
32216
32217 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32218
32219 [BZ #13446]
32220 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32221
32222 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32223
32224 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32225 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32226 optimized code.
32227 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32228 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32229 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32230 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32231 for strncasecmp/strncasecmp_l compilation.
32232 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32233 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32234
32235 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32236
32237 [BZ #13484]
32238 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32239 of __asm__.
32240
32241 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32242
32243 [BZ #13506]
32244 * time/tzfile.c (__tzfile_read): Check values from file header.
32245
32246 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32247
32248 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32249 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32250 * powerpc/powerpc32/dl-start.S: Likewise.
32251 * powerpc/powerpc32/elf/start.S: Likewise.
32252 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32253 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32254 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32255 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32256 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32257 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32258 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32259 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32260 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32261 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32262 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32263 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32264 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32265 * powerpc/powerpc32/memset.S: Likewise.
32266 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32267 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32268 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32269 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32270 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32271 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32272 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32273 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32274 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32275 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32276 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32277 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32278 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32279
32280 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32281
32282 * math/libm-test.inc: Added more nearbyint tests.
32283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32284 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32285 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32286 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32287
32288 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32289
32290 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32291 FD_CLOEXEC.
32292
32293 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32294
32295 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32296 Add wcscpy-ssse3 wcscpy-c.
32297 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32298 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32299 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32300 * sysdeps/x86_64/wcschr.S: New file.
32301 * sysdeps/x86_64/wcsrchr.S: New file.
32302 * string/test-strcmp.c: Remove checking of wcscmp function for
32303 wrong alignments.
32304 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32305 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32306 wcsrchr-sse2 wcsrchr-c.
32307 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32308 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32309 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32310 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32311 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32312 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32313 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32314 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32315 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32316 * wcsmbc/wcschr.c (WCSCHR): New macro.
32317
32318 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32319
32320 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32321 * wcsmbs/test-wcsrchr.c: New file.
32322 * string/test-strrchr.c: Add wcsrchr support.
32323 (WIDE): New macro.
32324 * wcsmbs/test-wcscpy.c: New file.
32325 * string/test-strcpy.c: Add wcscpy support.
32326 (WIDE): New macro.
32327
32328 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32329
32330 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32331 the inner loop.
32332
32333 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32334
32335 [BZ #13472]
32336 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32337
32338 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32339
32340 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32341 Minor optimizations.
32342
32343 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32344 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32345 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32346
32347 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32348
32349 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32350 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32351 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32352 for gcc to avoid warnings.
32353 * inet/Makefile (tests): Add tst-checks.
32354 * inet/tst-checks.c: New file.
32355
32356 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32357 warning.
32358
32359 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32360 __wmemcmp_sse2.
32361
32362 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32363 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32364
32365 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32366
32367 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32368
32369 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32370 problem.
32371
32372 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32373
32374 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32375
32376 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32377 conditional on GCC version.
32378 (__arch_compare_and_exchange_val_8_acq)
32379 (__arch_compare_and_exchange_val_16_acq)
32380 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32381 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32382 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32383
32384 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32385
32386 * sysdeps/sh/backtrace.c: New file.
32387
32388 2011-12-02 Andreas Schwab <schwab@redhat.com>
32389
32390 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32391 parenthesis.
32392
32393 2011-12-01 Andreas Schwab <schwab@redhat.com>
32394
32395 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32396 falling back to utime.
32397
32398 2011-11-30 Andreas Schwab <schwab@redhat.com>
32399
32400 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32401 expectations for float.
32402
32403 2011-11-29 Andreas Schwab <schwab@redhat.com>
32404
32405 * locale/weight.h (findidx): Add parameter len.
32406 * locale/weightwc.h (findidx): Likewise.
32407 * posix/fnmatch_loop.c (FCT): Adjust caller.
32408 * posix/regcomp.c (build_equiv_class): Likewise.
32409 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32410 * posix/regexec.c (check_node_accept_bytes): Likewise.
32411 * string/strcoll_l.c (STRCOLL): Likewise.
32412 * string/strxfrm_l.c (STRXFRM): Likewise.
32413
32414 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32415
32416 * Makefile.in: Remove CVSOPT handling.
32417 * configure.in: Remove use of AC_REVISION.
32418 * iconvdata/Makefile (distribute): No need to filter out CVS.
32419 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32420 handling.
32421
32422 2011-11-16 Andreas Schwab <schwab@redhat.com>
32423
32424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32425 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32426 [USE_AS_STRNCASECMP_L]: Likewise.
32427 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32428 NO_TLS_DIRECT_SEG_REFS.
32429 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32430 Fix argument offsets for non-PIC.
32431 [USE_AS_STRNCASECMP_L]: Likewise.
32432 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32433 NO_TLS_DIRECT_SEG_REFS.
32434
32435 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32436
32437 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32438 O_CLOEXEC.
32439 * locale/loadlocale.c (_nl_load_locale): Likewise.
32440
32441 2011-11-15 Andreas Schwab <schwab@redhat.com>
32442
32443 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32444 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32445 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32446 (SYSCALL_GETTIME): Set errno on error.
32447
32448 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32449 count references to noai6ai_cached.
32450
32451 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32452
32453 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32454
32455 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32456 FD_CLOEXEC for /proc/self/maps.
32457
32458 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32459 FD_CLOEXEC for /proc/meminfo.
32460
32461 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32462 gai.conf.
32463
32464 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32465 FD_CLOEXEC for given file.
32466
32467 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32468
32469 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32470 FD_CLOEXEC for /etc/hosts.
32471 (_gethtent): Likewise.
32472
32473 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32474
32475 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32476 cancellation and set FD_CLOEXEC for /etc/netgroup.
32477
32478 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32479 reading /etc/publickey.
32480
32481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32482 allow cancellation when reading /etc/group.
32483
32484 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32485 cancellation.
32486 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32487
32488 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32489 when using data file.
32490
32491 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32492
32493 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32494 (write_nis_obj): Use "c" and "e" in fopen.
32495
32496 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32497
32498 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32499
32500 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32501
32502 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32503
32504 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32505 locale.alias.
32506
32507 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32508
32509 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32510
32511 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32512
32513 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32514 file parsing and set FD_CLOEXEC.
32515
32516 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32517
32518 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32519
32520 2011-11-14 Andreas Schwab <schwab@redhat.com>
32521
32522 * malloc/arena.c (arena_get2): Don't call reused_arena when
32523 _int_new_arena failed.
32524
32525 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32526
32527 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32528 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32529 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32530 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32533 to compile strcasecmp and strncasecmp.
32534 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32535 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32536
32537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32538
32539 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32540
32541 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32542 locale-defines.sym to gen-as-const-headers.
32543 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32544 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32546 to compile strcasecmp and strncasecmp.
32547 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32548 strcasecmp_l and strncasecmp_l.
32549 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32550 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32551 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32552 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32553 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32554 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32555 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32556 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32557 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32558 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32559 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32560
32561 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32562
32563 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32564 result of SYSDEP_GETTIME_CPU to retval.
32565 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32566 parameter list to macro. Remove trailing semicolon. Adjust users.
32567
32568 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32569 variable.
32570
32571 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32572 mantissa words.
32573 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32574
32575 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32576 from unused variable.
32577
32578 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32579 DWARF definitions.
32580 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32581 for assembling.
32582
32583 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32584 over namespaces.
32585
32586 * sunrpc/rpc_prot.c (rejected): Fix case value.
32587
32588 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32589 unsigned long long int to avoid warnings in shift.
32590
32591 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32592 of use of trans.
32593 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32594 variable tmp.
32595
32596 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32597 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32598 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32599
32600 * nis/nis_table.c (nis_list): Use variable of correct type for
32601 result of __follow_path call.
32602
32603 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32604
32605 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32606 of math functions ceil, trunc, floor, round, and sqrt, when
32607 avaliable on the platform.
32608 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32609 name clash.
32610 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32611 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32612 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32613
32614 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32615
32616 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32617 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32618
32619 2011-11-11 Roland McGrath <roland@hack.frob.com>
32620
32621 * include/unistd.h: Fix __readlink return type.
32622 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32623
32624 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32625
32626 * stdlib/ucontext.h: Undo last change for makecontext.
32627
32628 2011-11-11 Andreas Schwab <schwab@redhat.com>
32629
32630 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32631
32632 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32633 * setjmp/setjmp.h: Mark functions as non-leaf.
32634 * setjmp/bits/setjmp2.h: Likewise.
32635 * stdlib/ucontext.h: Likewise.
32636
32637 2011-11-10 Andreas Schwab <schwab@redhat.com>
32638
32639 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32640 (reused_arena): Don't check arena limit.
32641 (arena_get2): Atomically check arena limit.
32642
32643 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32644
32645 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32646 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32647
32648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32649 instructions.
32650
32651 2011-11-07 Andreas Schwab <schwab@redhat.com>
32652
32653 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32654 handler when locking.
32655
32656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32657 Fix size of allocated buffer.
32658
32659 2011-11-04 Andreas Schwab <schwab@redhat.com>
32660
32661 [BZ #10103]
32662 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32663 declarations for long double functions.
32664 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32665
32666 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32667
32668 2011-11-03 Andreas Schwab <schwab@redhat.com>
32669
32670 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32671 installed.
32672
32673 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32674 is disabled.
32675
32676 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32677
32678 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32679
32680 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32681
32682 * include/alloca.h (stackinfo_alloca_round): Define.
32683 (extend_alloca): Use it.
32684 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32685 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32686 here.
32687
32688 * scripts/check-local-headers.sh: Ignore libaudit.h.
32689
32690 * nscd/Makefile (extra-objs): Make recursively expanded.
32691
32692 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32693
32694 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32695 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32696
32697 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32698 * posix/tst-rfc3484-2.c: Likewise.
32699 * posix/tst-rfc3484-3.c: Likewise.
32700
32701 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32702 process_vm_writev.
32703 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32704 process_vm_writev.
32705 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32706 process_vm_writev from libc using GLIBC_2.15 version.
32707
32708 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32709
32710 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32711
32712 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32713 stack usage.
32714
32715 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32716
32717 [BZ #13367]
32718 * nss/getent.c (initgroups_keys): Show error message in case no group
32719 names are given.
32720
32721 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32722 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32723 __bump_nl_timestamp.
32724 * nscd/connections (nscd_init): When host database is served open
32725 netlink socket and request notification about configuration changes.
32726 (main_loop_poll): Track netlink file descriptor and bump timestamp
32727 in case data becomes available.
32728 (main_loop_epoll): Likewise.
32729 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32730 (database_pers_head): Add extra_data fileds.
32731 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32732 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32733 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32734 Adjust caller.
32735 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32736 in6ai data, call __free_in6ai.
32737 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32738 Add -DHAVE_NETLINK.
32739 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32740 interface information. Reuse previous data if netlink timestamp
32741 is not changed.
32742 (__bump_nl_timestamp): New function.
32743 (__free_in6ai): New function.
32744
32745 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32746
32747 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32748 close_not_cancel_no_status here.
32749 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32750
32751 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32752
32753 [BZ #13276]
32754 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32755 return value.
32756
32757 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32758 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32759 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32760
32761 2011-07-03 Andreas Jaeger <aj@suse.de>
32762
32763 [BZ #10709]
32764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32765 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32766 * math/libm-test.inc (sin_test): Add test case.
32767
32768 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32769
32770 [BZ #13337]
32771 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32772 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32773
32774 * elf/chroot_canon.c (chroot_canon): Cleanups.
32775
32776 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32777
32778 [BZ #13335]
32779 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32780 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32781
32782 * string/test-strchr.c: Make usable for strchrnul testing.
32783 * string/test-strchrnul.c: New file.
32784 * string/Makefile (strop-tests): Add strchrnul.
32785
32786 * po/it.po: Update from translation team.
32787 * po/es.po: Likewise.
32788
32789 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32790
32791 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32792 the three constants needed as parameters. Drop the others.
32793 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32794 __m128i_strloadu_tolower.
32795 Create and initialize variable zero and use it in all the places
32796 where _mm_setzero_si128 was used.
32797
32798 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32799 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32800 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32801 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32802 anymore.
32803 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32804 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32805 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32806 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32807 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32808 __mpranred, __mptan.
32809 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32810 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32811 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32812 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32813 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32814 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32816 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32817 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32818
32819 2011-10-28 Andreas Schwab <schwab@redhat.com>
32820
32821 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32822 redefine if SHARED.
32823 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32824
32825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32826 wide char related routines to wcsmbs subdir.
32827
32828 2011-10-27 Andreas Schwab <schwab@redhat.com>
32829
32830 [BZ #13344]
32831 * misc/sys/cdefs.h (__THROWNL): Define.
32832 * posix/unistd.h: Use __THREADNL instead of __THREAD
32833 for memory synchronization functions.
32834
32835 2011-10-26 Roland McGrath <roland@hack.frob.com>
32836
32837 [BZ #13349]
32838 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32839 doesn't exist.
32840 * manual/stdio.texi (Obstack Streams): Node removed.
32841
32842 2011-10-26 Andreas Schwab <schwab@redhat.com>
32843
32844 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32845 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32846 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32847
32848 * math/math_private.h (math_force_eval): Allow non-addressable
32849 arguments.
32850 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32851
32852 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32853
32854 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32855 file is not needed.
32856
32857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32858 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32859 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32860 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32863 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32864 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32865 Add AVX variants.
32866 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32867 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32868 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32869 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32870 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32871 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32872 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32873 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32874 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32875 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32876 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32877 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32878 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32879 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32880 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32881 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32882 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32883 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32884 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32885
32886 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32887 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32888
32889 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32890 place. Use VEX encoding when compiling for AVX.
32891
32892 2011-10-25 Andreas Schwab <schwab@redhat.com>
32893
32894 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32895 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32896
32897 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32898
32899 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32900
32901 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32902 useless if() expression.
32903 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32904 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32905 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32909 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32913 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32914 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32915 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32916 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32917 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32918 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32919 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32920 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32921 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32922
32923 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32924
32925 2011-10-25 Andreas Schwab <schwab@redhat.com>
32926
32927 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32928 condition.
32929 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32930
32931 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32932
32933 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32934 .text section. Avoid duplicate constants.
32935 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32937 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32943 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32944 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32945 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32946 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32947 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32948 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32949 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32950 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32951 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32952 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32958 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32959 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32960 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32961 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32962 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32963 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32964 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32965 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32966 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32968 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32969 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32970 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32971 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32972 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32973 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32974 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32975 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32976 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32977 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32978 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32979 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32980
32981 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32982
32983 * sysdeps/x86_64/dla.h: Move to ...
32984 * sysdeps/x86_64/fpu/dla.h: ...here.
32985 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32986 situations. Use __builtin_fma only for gcc 4.6 and up.
32987
32988 * config.make.in: Add have-mfma4 entry.
32989 * configure.in: Substitute libc_cv_cc_fma4.
32990 * math/Makefile (dbl-only-routines): Add sincostab.
32991 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32992 Use __sincostab not sincos.
32993 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32994 name is a macro.
32995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32999 using __copysign.
33000 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33001 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33002 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33003 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33004 and __inv.
33005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33006 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33007 __copysign.
33008 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33009 define aliases when function name is a macro.
33010 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33011 sysdeps/ieee754/dbl-64/sincos.tbl.
33012 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33013 fma4-enabled routines.
33014 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33015 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33016 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33017 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33018 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33019 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33020 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33021 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33022 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33023 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33024 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33025 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33026 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33027 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33028 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33029 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33030 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33031 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33032 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33033 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33034 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33035 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33036 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33037 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33039 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33041 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33042 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33043 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33044
33045 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33046 rename.
33047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33055
33056 2011-10-24 Andreas Schwab <schwab@redhat.com>
33057
33058 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33059
33060 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33061
33062 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33063
33064 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33065 prediction.
33066 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33067
33068 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33069 Remove unused variable magic_bits.
33070 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33071
33072 * string/strnlen.c: Define and use STRNLEN macro.
33073 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33074 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33076 * wcsmbs/wcslen.c: Define and use WCSLEN.
33077 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33078 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33079 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33080 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33081 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33082 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33083 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33084
33085 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33086
33087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33088 strnlen-sse2-no-bsf.
33089 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33090 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33091 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33092 Add strnlen support.
33093 (USE_AS_STRNLEN): New macro.
33094 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33095 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33096 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33097 * sysdeps/x86_64/wcslen.S: New file.
33098
33099 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33100
33101 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33102 XMM-moves are used for copying on small sizes.
33103
33104 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33105
33106 * wcsmbs/Makefile (strop-tests): Add wcschr.
33107 * wcsmbs/test-wcschr.c: New file.
33108 * string/test-strchr.c: Update.
33109 Add wcschr support.
33110 (WIDE): New macro.
33111
33112 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33113
33114 * wcsmbs/Makefile (strop-tests): Add wcslen.
33115 * wcsmbs/test-wcslen.c: New file.
33116 * string/test-strlen.c: Update.
33117 Add wcslen support.
33118 (WIDE): New macro.
33119
33120 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33121
33122 * po/it.po: Update from translation team.
33123
33124 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33125
33126 * sysdeps/x86_64/wcscmp.S: Update.
33127 Fix wrong comparison semantics.
33128 wcscmp shall use signed comparison not unsigned.
33129 Don't use substraction to avoid overflow bug.
33130 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33131 * wcsmbc/wcscmp.c: Likewise.
33132 * string/test-strcmp.c: Likewise.
33133 Add new tests to check cases with negative values.
33134
33135 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33136
33137 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33138 * sysdeps/x86_64/dla.h: ...here. New file.
33139 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33148
33149 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33150
33151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33152 __ynl_finite aliases.
33153
33154 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33155
33156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33157
33158 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33159 define DLA_FMA.
33160 [DLA_FMA] (EMULV): Use DLA_FMA.
33161 [DLA_FMA] (MUL12): Use EMULV.
33162 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33163 that are not needed.
33164 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33165 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33169 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33171
33172 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33173
33174 * math/s_nan.c: Undef __nan.
33175 * math/s_nanf.c: Undef __nanf.
33176 * math/s_nanl.c: Undef __nanl.
33177 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33178 "math_private.h".
33179
33180 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33181
33182 * math/s_catan.c: Add branch predictions.
33183 * math/s_catanf.c: Likewise.
33184 * math/s_catanh.c: Likewise.
33185 * math/s_catanhf.c: Likewise.
33186 * math/s_catanhl.c: Likewise.
33187 * math/s_catanl.c: Likewise.
33188 * math/s_cexp.c: Likewise.
33189 * math/s_cexpf.c: Likewise.
33190 * math/s_cexpl.c: Likewise.
33191 * math/s_clog.c: Likewise.
33192 * math/s_clog10.c: Likewise.
33193 * math/s_clog10f.c: Likewise.
33194 * math/s_clog10l.c: Likewise.
33195 * math/s_clogf.c: Likewise.
33196 * math/s_clogl.c: Likewise.
33197 * math/s_csqrt.c: Likewise.
33198 * math/s_csqrtf.c: Likewise.
33199 * math/s_csqrtl.c: Likewise.
33200 * math/s_ctanf.c: Likewise.
33201 * math/s_ctanh.c: Likewise.
33202 * math/s_ctanhf.c: Likewise.
33203 * math/s_ctanhl.c: Likewise.
33204 * math/s_ctanl.c: Likewise.
33205
33206 * math/math_private.h: Define __nan, __nanf, __nanl.
33207 * math/s_cacosh.c: Include <math_private.h>.
33208 * math/s_cacoshl.c: Likewise.
33209 * math/s_casinh.c: Likewise.
33210 * math/s_casinhf.c: Likewise.
33211 * math/s_casinhl.c: Likewise.
33212 * math/s_ccos.c: Rely entire on ccosh.
33213 * math/s_ccosf.c: Rely entire on ccoshf.
33214 * math/s_ccosl.c: Rely entirely on ccoshl.
33215 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33216 Remove tests for FE_INVALID.
33217 * math/s_ccoshf.c: Likewise.
33218 * math/s_ccoshl.c: Likewise.
33219 * math/s_csin.c: Likewise.
33220 * math/s_csinf.c: Likewise.
33221 * math/s_csinh.c Likewise.
33222 * math/s_csinhf.c: Likewise.
33223 * math/s_csinhl.c: Likewise.
33224 * math/s_csinl.c: Likewise.
33225 * math/s_ctan.c: Likewise.
33226 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33227 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33229
33230 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33231
33232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33233 compilation problems.
33234
33235 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33236 __builtin_expect.
33237
33238 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33239
33240 * sysdeps/i386/configure.in: Test for -mfma4 option.
33241 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33242 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33243 COMMON_CPUID_INDEX_80000001.
33244 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33245 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33246 use it if FMA3 is not supported.
33247 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33248
33249 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33250 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33251
33252 2011-10-20 Andreas Schwab <schwab@redhat.com>
33253
33254 [BZ #12892]
33255 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33256 it would create a cycle with a link time dependency.
33257
33258 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33259
33260 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33261 instruction.
33262 * string/Makefile (strop-tests): Add rawmemchr.
33263 * string/test-rawmemchr.c: New file.
33264
33265 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33266 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33267 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33268 when compiling str{,n}casecmp and when AVX is available. Hook up
33269 new optimized code in initializers.
33270
33271 2011-10-19 Andreas Schwab <schwab@redhat.com>
33272
33273 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33274 __feraiseexcept instead of feraiseexcept.
33275
33276 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33277
33278 * math/math_private.h: Define defaults for libc_fetestexcept and
33279 libc_feupdateenv.
33280 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33281 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33282 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33283 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33284 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33285 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33286 libc_fetestexcept and libc_feupdateenv.
33287
33288 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33289 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33290 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33291 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33292 libc_feholdexcept_setround.
33293
33294 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33295 Add s_nearbyint-c and s_nearbyintf-c.
33296 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33297 nearbyintf inlines.
33298 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33299 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33300 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33301 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33302
33303 * math/math_private.h: Define defaults for libc_fegetround,
33304 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33305 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33306 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33307 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33308 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33309 standard functions.
33310 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33311 Remove comments and hacks for old compiler versions.
33312 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33313 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33314 libc_feholdexceptl.
33315
33316 2011-10-18 Andreas Schwab <schwab@redhat.com>
33317
33318 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33319 (__feraiseexcept_renamed): Add __NTH.
33320 (feraiseexcept): Add __NTH. Rename local variables to fix
33321 namespace violations.
33322
33323 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33324
33325 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33326
33327 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33328
33329 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33330 recently added interfaces.
33331 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33332
33333 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33334 about macro parameter expansion.
33335
33336 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33337 __NO_MATH_INLINES is defined. Cleanups.
33338
33339 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33340 and __floorf is target has SSE4.1.
33341 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33342 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33343 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33344 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33345
33346 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33347 name.
33348 (floorf): Likewise.
33349
33350 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33351
33352 2011-10-17 Andreas Schwab <schwab@redhat.com>
33353
33354 * misc/sys/cdefs.h: Fix last change.
33355
33356 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33357 database lookup.
33358
33359 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33360
33361 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33362
33363 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33365 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33366 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33367 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33368 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33369 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33370 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33371 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33372 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33373 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33374 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33375 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33376 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33377 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33378 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33379 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33380 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33381 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33382 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33383 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33384 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33385
33386 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33387 ceil, ceilf, floor, floorf.
33388
33389 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33390 Perform IRELATIVE relocations last.
33391
33392 * elf/do-rel.h: Add another parameter nrelative, replacing the
33393 local variable with the same name. Change name of the function
33394 to end in Rel or Rela (uppercase).
33395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33396 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33397 elf_dynamic_do_##reloc function.
33398
33399 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33400
33401 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33402 is sufficient, at least on modern CPUs.
33403
33404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33405
33406 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33407 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33408
33409 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33410 __expl_finite.
33411 * math/bits/math-finite.h: Add entries for exp.
33412 * math/e_expl.c: Add __*_finite alias.
33413 * sysdeps/i386/fpu/e_exp.S: Likewise.
33414 * sysdeps/i386/fpu/e_expf.S: Likewise.
33415 * sysdeps/i386/fpu/e_expl.c: Likewise.
33416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33417 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33418 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33420 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33421 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33422 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33423
33424 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33425 is sufficient, at least on modern CPUs.
33426
33427 * ctype/ctype-info.c (__ctype_init): Define.
33428 * include/ctype.h (__ctype_init): Declare.
33429 (__ctype_b_loc): The variable is always initialized.
33430 (__ctype_toupper_loc): Likewise.
33431 (__ctype_tolower_loc): Likewise.
33432 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33433 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33434
33435 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33436
33437 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33438
33439 * configure.in: Also look in $cxxmachine/include for C++ system
33440 headers.
33441
33442 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33443
33444 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33445 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33446 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33447 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33448 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33449 (USE_AS_WMEMCMP): New macro.
33450 Fixing indents.
33451 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33452 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33453 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33454 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33456 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33457 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33458 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33459 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33460 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33461 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33462 (USE_AS_WMEMCMP): New macro.
33463 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33464 * sysdeps/string/test-memcmp.c: Update.
33465 Fix simple_wmemcmp.
33466 Add new tests.
33467 * wcsmbs/wmemcmp.c: Update.
33468 (WMEMCMP): New macro.
33469 Fix overflow bug.
33470
33471 2011-10-12 Andreas Jaeger <aj@suse.de>
33472
33473 [BZ #13268]
33474 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33475
33476 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33477
33478 * libio/iofwide.c (do_length): Avoid warning.
33479
33480 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33481
33482 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33483
33484 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33485
33486 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33487 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33488 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33489 * sysdeps/i386/i686/fpu/e_log.S: New file.
33490 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33491 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33492
33493 * ctype/ctype.h: Add support for inlined isXXX functions when
33494 compiling C++ code.
33495
33496 2011-10-14 Andreas Schwab <schwab@redhat.com>
33497
33498 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33499
33500 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33501
33502 2011-10-13 Roland McGrath <roland@hack.frob.com>
33503
33504 [BZ #13291]
33505 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33506
33507 2011-10-13 Andreas Schwab <schwab@redhat.com>
33508
33509 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33510 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33511 feraiseexcept.
33512
33513 * sysdeps/x86_64/memrchr.S: Check for zero size.
33514
33515 * string/stratcliff.c: Add memrchr tests.
33516
33517 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33518
33519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33520 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33521 rawmemchr-sse2 rawmemchr-sse2-bsf.
33522 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33523 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33524 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33525 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33526 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33527 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33528 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33529 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33530 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33531 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33532 * string/memrchr.c (MEMRCHR): New macro.
33533
33534 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33535
33536 Add integration with gcc's -ffinite-math-only and optimize wrapper
33537 functions in libm.
33538 * Versions.def: Define GLIBC_2.15 version for libm.
33539 * math/Makefile (headers): Add bits/math-finite.h.
33540 * math/bits/math-finite.h: New file.
33541 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33542 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33543 * math/e_acoshl.c: Add __*_finite alias.
33544 * math/e_acosl.c: Likewise.
33545 * math/e_asinl.c: Likewise.
33546 * math/e_atan2l.c: Likewise.
33547 * math/e_atanhl.c: Likewise.
33548 * math/e_coshl.c: Likewise.
33549 * math/e_exp10.c: Likewise.
33550 * math/e_exp10f.c: Likewise.
33551 * math/e_exp10l.c: Likewise.
33552 * math/e_exp2l.c: Likewise.
33553 * math/e_fmodl.c: Likewise.
33554 * math/e_gammal_r.c: Likewise.
33555 * math/e_hypotl.c: Likewise.
33556 * math/e_j0l.c: Likewise.
33557 * math/e_j1l.c: Likewise.
33558 * math/e_jnl.c: Likewise.
33559 * math/e_lgammal_r.c: Likewise.
33560 * math/e_log10l.c: Likewise.
33561 * math/e_log2l.c: Likewise.
33562 * math/e_logl.c: Likewise.
33563 * math/e_powl.c: Likewise.
33564 * math/e_sinhl.c: Likewise.
33565 * math/e_sqrtl.c: Likewise.
33566 * math/e_scalb.c: Completely rewritten and optimized.
33567 * math/e_scalbf.c: Likewise.
33568 * math/e_scalbl.c: Likewise.
33569 * math/w_acos.c: Likewise.
33570 * math/w_acosf.c: Likewise.
33571 * math/w_acosl.c: Likewise.
33572 * math/w_acosh.c: Likewise.
33573 * math/w_acoshf.c: Likewise.
33574 * math/w_acoshl.c: Likewise.
33575 * math/w_asin.c: Likewise.
33576 * math/w_asinf.c: Likewise.
33577 * math/w_asinl.c: Likewise.
33578 * math/w_atan2.c: Likewise.
33579 * math/w_atan2f.c: Likewise.
33580 * math/w_atan2l.c: Likewise.
33581 * math/w_atanh.c: Likewise.
33582 * math/w_atanhf.c: Likewise.
33583 * math/w_atanhl.c: Likewise.
33584 * math/w_exp10.c: Likewise.
33585 * math/w_exp10f.c: Likewise.
33586 * math/w_exp10l.c: Likewise.
33587 * math/w_fmod.c: Likewise.
33588 * math/w_fmodf.c: Likewise.
33589 * math/w_fmodl.c: Likewise.
33590 * math/w_j0.c: Likewise.
33591 * math/w_j0f.c: Likewise.
33592 * math/w_j0l.c: Likewise.
33593 * math/w_j1.c: Likewise.
33594 * math/w_j1f.c: Likewise.
33595 * math/w_j1l.c: Likewise.
33596 * math/w_jn.c: Likewise.
33597 * math/w_jnf.c: Likewise.
33598 * math/w_log.c: Likewise.
33599 * math/w_logf.c: Likewise.
33600 * math/w_logl.c: Likewise.
33601 * math/w_log10.c: Likewise.
33602 * math/w_log10f.c: Likewise.
33603 * math/w_log10l.c: Likewise.
33604 * math/w_log2.c: Likewise.
33605 * math/w_log2f.c: Likewise.
33606 * math/w_log2l.c: Likewise.
33607 * math/w_pow.c: Likewise.
33608 * math/w_powf.c: Likewise.
33609 * math/w_powl.c: Likewise.
33610 * math/w_remainder.c: Likewise.
33611 * math/w_remainderf.c: Likewise.
33612 * math/w_remainderl.c: Likewise.
33613 * math/w_scalb.c: Likewise.
33614 * math/w_scalbf.c: Likewise.
33615 * math/w_scalbl.c: Likewise.
33616 * math/w_sqrt.c: Likewise.
33617 * math/w_sqrtf.c: Likewise.
33618 * math/w_sqrtl.c: Likewise.
33619 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33620 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33621 used.
33622 * math/math_private.h: Declare __kernel_standard_f.
33623 * math/w_cosh.c: Remove cruft and optimize a bit.
33624 * math/w_coshf.c: Likewise.
33625 * math/w_coshl.c: Likewise.
33626 * math/w_exp2.c: Likewise.
33627 * math/w_exp2f.c: Likewise.
33628 * math/w_exp2l.c: Likewise.
33629 * math/w_hypot.c: Likewise.
33630 * math/w_hypotf.c: Likewise.
33631 * math/w_hypotl.c: Likewise.
33632 * math/w_lgamma.c: Likewise.
33633 * math/w_lgamma_r.c: Likewise.
33634 * math/w_lgammaf.c: Likewise.
33635 * math/w_lgammaf_r.c: Likewise.
33636 * math/w_lgammal.c: Likewise.
33637 * math/w_lgammal_r.c: Likewise.
33638 * math/w_sinh.c: Likewise.
33639 * math/w_sinhf.c: Likewise.
33640 * math/w_sinhl.c: Likewise.
33641 * math/w_tgamma.c: Likewise.
33642 * math/w_tgammaf.c: Likewise.
33643 * math/w_tgammal.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33645 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33646 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33647 Minor optimizations. Pretty printing. Remove cruft.
33648 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33649 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33650 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33651 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33652 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33653 * sysdeps/i386/fpu/e_asin.S: Likewise.
33654 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33655 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33656 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33657 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33658 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33659 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33660 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33661 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33662 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33663 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33664 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33665 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33666 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33667 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33668 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33669 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33670 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33671 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33672 * sysdeps/i386/fpu/e_log.S: Likewise.
33673 * sysdeps/i386/fpu/e_log10.S: Likewise.
33674 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33675 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33676 * sysdeps/i386/fpu/e_log2.S: Likewise.
33677 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33678 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33679 * sysdeps/i386/fpu/e_logf.S: Likewise.
33680 * sysdeps/i386/fpu/e_logl.S: Likewise.
33681 * sysdeps/i386/fpu/e_pow.S: Likewise.
33682 * sysdeps/i386/fpu/e_powf.S: Likewise.
33683 * sysdeps/i386/fpu/e_powl.S: Likewise.
33684 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33685 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33686 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33687 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33688 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33689 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33690 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33691 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33692 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33714 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33715 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33716 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33717 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33718 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33719 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33720 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33721 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33722 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33723 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33724 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33725 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33726 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33727 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33728 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33729 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33730 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33731 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33732 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33733 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33734 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33778 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33781 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33784 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33785 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33786 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33787 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33788 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33789 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33790 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33791 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33792 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33793 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33794 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33795 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33796 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33797 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33798 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33799 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33800 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33801 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33802 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33803 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33804 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33805 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33806 (__isnanf): Likewise.
33807 (__isinf_ns): Likewise.
33808 (__isinf_nsf): Likewise.
33809 (__finite): Likewise.
33810 (__finitef): Likewise.
33811 (__ieee754_sqrt): Define as macro.
33812 (__ieee754_sqrtf): Define as macro.
33813 (__ieee754_sqrtl): Define as macro.
33814 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33815 inlined copy.
33816 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33817 __FINITE_MATH_ONLY__ consistent.
33818 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33819
33820 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33821
33822 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33823 of rawmemchr.
33824
33825 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33826
33827 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33828
33829 * po/ja.po: Update from translation team.
33830
33831 2011-10-08 Roland McGrath <roland@hack.frob.com>
33832
33833 * locale/programs/locarchive.c (prepare_address_space): New function.
33834 (create_archive, enlarge_archive, open_archive): Use it.
33835
33836 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33837 inside [SHARED], where it is used.
33838
33839 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33840
33841 * nss/getent.c (netgroup_keys): Remove unused variable.
33842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33843
33844 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33845
33846 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33847 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33849 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33850 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33851 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33852 * math/Makefile (libm-calls): Add s_isinf_ns.
33853 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33854 * math/multc3.c: Likewise.
33855 * math/s_casin.c: Likewise.
33856 * math/s_casinf.c: Likewise.
33857 * math/s_casinl.c: Likewise.
33858 * math/s_ccos.c: Likewise.
33859 * math/s_ccosf.c: Likewise.
33860 * math/s_ccosl.c: Likewise.
33861 * math/s_ctan.c: Likewise.
33862 * math/s_ctanf.c: Likewise.
33863 * math/s_ctanh.c: Likewise.
33864 * math/s_ctanhf.c: Likewise.
33865 * math/s_ctanhl.c: Likewise.
33866 * math/s_ctanl.c: Likewise.
33867 * math/w_fmod.c: Likewise.
33868 * math/w_fmodf.c: Likewise.
33869 * math/w_fmodl.c: Likewise.
33870 * math/w_remainder.c: Likewise.
33871 * math/w_remainderf.c: Likewise.
33872 * math/w_remainderl.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33874 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33875 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33877 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33878 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33879 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33880 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33881
33882 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33883 of the number.
33884 * stdio-common/printf_fphex.c: Likewise.
33885 * stdio-common/printf_size.c: Likewise.
33886
33887 * math/e_exp10.c: Include math_private.h using <...> not "...".
33888 * math/e_exp10f.c: Likewise.
33889 * math/e_exp10l.c: Likewise.
33890 * math/e_exp2l.c: Likewise.
33891 * math/e_j0l.c: Likewise.
33892 * math/e_j1l.c: Likewise.
33893 * math/e_jnl.c: Likewise.
33894 * math/e_lgammal_r.c: Likewise.
33895 * math/e_rem_pio2l.c: Likewise.
33896 * math/e_scalb.c: Likewise.
33897 * math/e_scalbf.c: Likewise.
33898 * math/e_scalbl.c: Likewise.
33899 * math/k_cosl.c: Likewise.
33900 * math/k_sinl.c: Likewise.
33901 * math/k_tanl.c: Likewise.
33902 * math/s_cacoshf.c: Likewise.
33903 * math/s_catan.c: Likewise.
33904 * math/s_catanf.c: Likewise.
33905 * math/s_catanh.c: Likewise.
33906 * math/s_catanhf.c: Likewise.
33907 * math/s_catanhl.c: Likewise.
33908 * math/s_catanl.c: Likewise.
33909 * math/s_ccosh.c: Likewise.
33910 * math/s_ccoshf.c: Likewise.
33911 * math/s_ccoshl.c: Likewise.
33912 * math/s_cexp.c: Likewise.
33913 * math/s_cexpf.c: Likewise.
33914 * math/s_cexpl.c: Likewise.
33915 * math/s_clog.c: Likewise.
33916 * math/s_clog10.c: Likewise.
33917 * math/s_clog10f.c: Likewise.
33918 * math/s_clog10l.c: Likewise.
33919 * math/s_clogf.c: Likewise.
33920 * math/s_clogl.c: Likewise.
33921 * math/s_csin.c: Likewise.
33922 * math/s_csinf.c: Likewise.
33923 * math/s_csinh.c: Likewise.
33924 * math/s_csinhf.c: Likewise.
33925 * math/s_csinhl.c: Likewise.
33926 * math/s_csinl.c: Likewise.
33927 * math/s_csqrt.c: Likewise.
33928 * math/s_csqrtf.c: Likewise.
33929 * math/s_csqrtl.c: Likewise.
33930 * math/s_ctan.c: Likewise.
33931 * math/s_ctanf.c: Likewise.
33932 * math/s_ctanh.c: Likewise.
33933 * math/s_ctanhf.c: Likewise.
33934 * math/s_ctanhl.c: Likewise.
33935 * math/s_ctanl.c: Likewise.
33936 * math/s_ldexp.c: Likewise.
33937 * math/s_ldexpf.c: Likewise.
33938 * math/s_ldexpl.c: Likewise.
33939 * math/s_significand.c: Likewise.
33940 * math/s_significandf.c: Likewise.
33941 * math/s_significandl.c: Likewise.
33942 * math/w_acos.c: Likewise.
33943 * math/w_acosf.c: Likewise.
33944 * math/w_acosh.c: Likewise.
33945 * math/w_acoshf.c: Likewise.
33946 * math/w_acoshl.c: Likewise.
33947 * math/w_acosl.c: Likewise.
33948 * math/w_asin.c: Likewise.
33949 * math/w_asinf.c: Likewise.
33950 * math/w_asinl.c: Likewise.
33951 * math/w_atan2.c: Likewise.
33952 * math/w_atan2f.c: Likewise.
33953 * math/w_atan2l.c: Likewise.
33954 * math/w_atanh.c: Likewise.
33955 * math/w_atanhf.c: Likewise.
33956 * math/w_atanhl.c: Likewise.
33957 * math/w_cosh.c: Likewise.
33958 * math/w_coshf.c: Likewise.
33959 * math/w_coshl.c: Likewise.
33960 * math/w_dremf.c: Likewise.
33961 * math/w_exp10.c: Likewise.
33962 * math/w_exp10f.c: Likewise.
33963 * math/w_exp10l.c: Likewise.
33964 * math/w_exp2.c: Likewise.
33965 * math/w_exp2f.c: Likewise.
33966 * math/w_fmod.c: Likewise.
33967 * math/w_fmodf.c: Likewise.
33968 * math/w_fmodl.c: Likewise.
33969 * math/w_hypot.c: Likewise.
33970 * math/w_hypotf.c: Likewise.
33971 * math/w_hypotl.c: Likewise.
33972 * math/w_j0.c: Likewise.
33973 * math/w_j0f.c: Likewise.
33974 * math/w_j0l.c: Likewise.
33975 * math/w_j1.c: Likewise.
33976 * math/w_j1f.c: Likewise.
33977 * math/w_j1l.c: Likewise.
33978 * math/w_jn.c: Likewise.
33979 * math/w_jnf.c: Likewise.
33980 * math/w_jnl.c: Likewise.
33981 * math/w_lgamma.c: Likewise.
33982 * math/w_lgamma_r.c: Likewise.
33983 * math/w_lgammaf.c: Likewise.
33984 * math/w_lgammaf_r.c: Likewise.
33985 * math/w_lgammal.c: Likewise.
33986 * math/w_lgammal_r.c: Likewise.
33987 * math/w_log.c: Likewise.
33988 * math/w_log10.c: Likewise.
33989 * math/w_log10f.c: Likewise.
33990 * math/w_log10l.c: Likewise.
33991 * math/w_log2.c: Likewise.
33992 * math/w_log2f.c: Likewise.
33993 * math/w_log2l.c: Likewise.
33994 * math/w_logf.c: Likewise.
33995 * math/w_logl.c: Likewise.
33996 * math/w_pow.c: Likewise.
33997 * math/w_powf.c: Likewise.
33998 * math/w_powl.c: Likewise.
33999 * math/w_remainder.c: Likewise.
34000 * math/w_remainderf.c: Likewise.
34001 * math/w_remainderl.c: Likewise.
34002 * math/w_scalb.c: Likewise.
34003 * math/w_scalbf.c: Likewise.
34004 * math/w_scalbl.c: Likewise.
34005 * math/w_sinh.c: Likewise.
34006 * math/w_sinhf.c: Likewise.
34007 * math/w_sinhl.c: Likewise.
34008 * math/w_sqrt.c: Likewise.
34009 * math/w_sqrtf.c: Likewise.
34010 * math/w_sqrtl.c: Likewise.
34011 * math/w_tgamma.c: Likewise.
34012 * math/w_tgammaf.c: Likewise.
34013 * math/w_tgammal.c: Likewise.
34014
34015 * po/ja.po: Update from translation team.
34016
34017 2011-09-29 Andreas Jaeger <aj@suse.de>
34018
34019 [BZ #13179]
34020 * sunrpc/netname.c (netname2host): Fix logic.
34021
34022 [BZ #6779]
34023 [BZ #6783]
34024 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34025 correctly.
34026 * math/w_remainder.c (__remainder): Likewise.
34027 * math/w_remainderf.c (__remainderf): Likewise.
34028 * math/libm-test.inc (remainder_test): Add test cases.
34029
34030 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34031
34032 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34033 sdiv_qrnnd.
34034
34035 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34036
34037 * string/test-memcmp.c: Avoid unncessary #defines.
34038 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34039
34040 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34041
34042 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34043 Use new sse2 version for core i3 - i7 as it's faster
34044 than sse42 version.
34045 (bit_Prefer_PMINUB_for_stringop): New.
34046 * sysdeps/x86_64/rawmemchr.S: Update.
34047 Replace with faster SSE2 version.
34048 * sysdeps/x86_64/memrchr.S: New file.
34049 * sysdeps/x86_64/memchr.S: Update.
34050 Replace with faster SSE2 version.
34051
34052 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34053
34054 * elf/dl-load.c (lose): Add cast to avoid warning.
34055
34056 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34057
34058 * po/ca.po: Update from translation team.
34059
34060 * inet/getnetgrent_r.c: Hook up nscd.
34061 * nscd/Makefile (routines): Add nscd_netgroup.
34062 (nscd-modules): Add netgroupcache.
34063 (CFLAGS-netgroupcache.c): Define.
34064 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34065 (cache_search): Add const to second parameter.
34066 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34067 INNETGR.
34068 (dbs): Add netgrdb entry.
34069 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34070 (verify_persistent_db): Handle netgrdb.
34071 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34072 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34073 GETFDNETGR.
34074 (netgroup_response_header): Define.
34075 (innetgroup_response_header): Define.
34076 (datahead): Add netgroup_response_header and innetgroup_response_header
34077 elements.
34078 * nscd/nscd.conf: Add entries for netgroup cache.
34079 * nscd/nscd.h (dbtype): Add netgrdb.
34080 (_PATH_NSCD_NETGROUP_DB): Define.
34081 (netgroup_iov_disabled): Declare.
34082 (xmalloc, xcalloc, xrealloc): Move declarations here.
34083 (cache_search): Adjust prototype.
34084 Add netgroup-related prototypes.
34085 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34086 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34087 (__nscd_innetgr): Declare.
34088 * nscd/selinux.c (perms): Use access_vector_t as element type and
34089 add netgroup-related initializers.
34090 * nscd/netgroupcache.c: New file.
34091 * nscd/nscd_netgroup.c: New file.
34092 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34093 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34094 For four parameters use innetgr.
34095 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34096 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34097 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34098 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34099
34100 * nscd/connections.c (register_traced_file): Don't register file
34101 for disabled databases.
34102
34103 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34104
34105 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34106
34107 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34108 from tree and freeing node.
34109
34110 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34111
34112 * nss/nsswitch.c (__nss_database_lookup): Handle
34113 nss_parse_service_list out of memory case.
34114
34115 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34116
34117 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34118 out of memory case.
34119
34120 2011-10-04 Andreas Schwab <schwab@redhat.com>
34121
34122 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34123 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34124 pass it down.
34125 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34126 elf_machine_rela, elf_machine_lazy_rel.
34127 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34128 (ELF_DYNAMIC_DO_REL): Likewise.
34129 (ELF_DYNAMIC_DO_RELA): Likewise.
34130 (ELF_DYNAMIC_RELOCATE): Likewise.
34131 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34132 to ELF_DYNAMIC_DO_REL.
34133 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34134 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34135 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34136 elf_machine_rela.
34137 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34138 skip_ifunc, don't call ifunc function if non-zero.
34139 (elf_machine_rela): Likewise.
34140 (elf_machine_lazy_rel): Likewise.
34141 (elf_machine_lazy_rela): Likewise.
34142 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34143 (elf_machine_lazy_rel): Likewise.
34144 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34145 Likewise.
34146 (elf_machine_lazy_rel): Likewise.
34147 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34148 Likewise.
34149 (elf_machine_lazy_rel): Likewise.
34150 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34151 (elf_machine_lazy_rel): Likewise.
34152 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34153 (elf_machine_lazy_rel): Likewise.
34154 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34155 (elf_machine_lazy_rel): Likewise.
34156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34157 (elf_machine_lazy_rel): Likewise.
34158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34159 (elf_machine_lazy_rel): Likewise.
34160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34161 (elf_machine_lazy_rel): Likewise.
34162
34163 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34164
34165 * nss/nss_files/files-init.c (_nss_files_init): Use static
34166 initialization for all the *_traced_file variables.
34167
34168 2011-09-28 Andreas Schwab <schwab@redhat.com>
34169
34170 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34171
34172 2011-09-27 Roland McGrath <roland@hack.frob.com>
34173
34174 [BZ #13226]
34175 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34176
34177 2011-09-27 Andreas Schwab <schwab@redhat.com>
34178
34179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34180 Reread the line before reparsing it.
34181
34182 2011-09-26 Andreas Schwab <schwab@redhat.com>
34183
34184 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34185
34186 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34187 Maxim Kuvyrkov <maxim@codesourcery.com>
34188 Joseph Myers <joseph@codesourcery.com>
34189
34190 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34191 if needed for __stack_chk_guard.
34192
34193 2011-09-19 Roland McGrath <roland@hack.frob.com>
34194
34195 * sysdeps/posix/spawni.c (script_execute): Always define it.
34196 It will be optimized away if unused.
34197 (maybe_script_execute): New function.
34198 (__spawni): Call it.
34199
34200 * Makerules: Don't include tls.make.
34201 (config-tls): Always set to thread.
34202 * tls.make.c: File removed.
34203
34204 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34205
34206 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34207 * config.make.in (CPPFLAGS-config): New substituted variable.
34208
34209 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34210
34211 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34212
34213 [BZ #13192]
34214 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34215 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34216
34217 2011-09-15 Roland McGrath <roland@hack.frob.com>
34218
34219 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34220 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34221 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34222 (CALL_FAIL): Likewise.
34223 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34224 (CALL_FAIL): Macro removed.
34225 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34226
34227 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34228
34229 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34230 for __FINITE_MATH_ONLY__ == 1.
34231
34232 2011-09-15 Andreas Schwab <schwab@redhat.com>
34233
34234 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34235 __ieee754_sqrt instead of sqrt.
34236 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34237 __ieee754_sqrtf instead of sqrtf.
34238 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34239 __floorf instead of floorf.
34240 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34241 __floorf, __truncf instead of floorf, truncf.
34242
34243 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34244
34245 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34246
34247 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34248 __extern_always_inline.
34249 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34250 32-bit.
34251
34252 2011-09-14 Andreas Schwab <schwab@redhat.com>
34253
34254 * elf/rtld.c (dl_main): Also relocate in dependency order when
34255 doing symbol dependency testing.
34256
34257 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34258
34259 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34260 Always define `refsym'.
34261
34262 2011-09-13 Andreas Schwab <schwab@redhat.com>
34263
34264 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34265 (__FD_ELT): Renamed from __FDELT.
34266 * misc/bits/select2.h (__FD_ELT): Likewise.
34267 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34268 __FD_MASK instead of __FDELT, __FDMASK.
34269 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34270 Likewise.
34271 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34272 Likewise.
34273
34274 * elf/Makefile (gen-ldd): Fix pattern.
34275
34276 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34277 (init_tls): Likewise.
34278
34279 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34280
34281 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34282
34283 2011-09-12 Andreas Schwab <schwab@redhat.com>
34284
34285 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34286 `struct cmsghdr *' instead of `void *'.
34287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34288 Likewise.
34289
34290 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34291
34292 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34293 if non-absolute.
34294 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34295 ldd_rewrite_script.
34296
34297 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34298
34299 * configure.in: Remove --with-tls option.
34300 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34301 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34302 out in case it is missing.
34303 * sysdeps/ia64/elf/configure.in: Likewise.
34304 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34305 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34306 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34307 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34308 * sysdeps/sh/elf/configure.in: Likewise.
34309 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34310 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34311 * sysdeps/x86_64/elf/configure.in: Likewise.
34312 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34313 * sysdeps/mach/hurd/tls.h: Likewise.
34314
34315 [BZ #13067]
34316 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34317
34318 [BZ #13090]
34319 * configure.in: Fix use of AC_INIT.
34320
34321 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34322
34323 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34324
34325 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34326 __set_errno.
34327 * malloc/hooks.c: Likewise.
34328
34329 [BZ #11929]
34330 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34331 variables statically.
34332 (narenas): Initialize.
34333 (list_lock): Initialize.
34334 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34335 initializtion of main_arena and list_lock. Small cleanups.
34336 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34337 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34338 Add initializers to main_arena and mp_.
34339 (malloc_state): Remove pagesize member. Change all users to use
34340 GLRO(dl_pagesize).
34341
34342 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34343 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34344 is always initialized.
34345
34346 * malloc/malloc.c: Removed unused configurations and dead code.
34347 * malloc/arena.c: Likewise.
34348 * malloc/hooks.c: Likewise.
34349 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34350
34351 * include/tls.h: Removed. USE___THREAD must always be defined.
34352 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34353 * elf/dl-libc.c: Likewise.
34354 * elf/dl-tsd.c: Likewise.
34355 * include/errno.h: Likewise.
34356 * include/netdb.h: Likewise.
34357 * include/resolv.h: Likewise.
34358 * inet/herrno-loc.c: Likewise.
34359 * inet/herrno.c: Likewise.
34360 * malloc/arena.c: Likewise.
34361 * malloc/hooks.c: Likewise.
34362 * malloc/malloc.c: Likewise.
34363 * resolv/res-state.c: Likewise.
34364 * resolv/res_libc.c: Likewise.
34365 * sysdeps/i386/dl-machine.h: Likewise.
34366 * sysdeps/ia64/dl-machine.h: Likewise.
34367 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34368 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34369 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34370 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34371 * sysdeps/sh/dl-machine.h: Likewise.
34372 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34373 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34374 * sysdeps/unix/i386/sysdep.S: Likewise.
34375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34376 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34378 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34379 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34381 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34383 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34385 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34386 * sysdeps/x86_64/dl-machine.h: Likewise.
34387 * tls.make.c: Likewise.
34388
34389 * configure.in: Remove --with-__thread option. Make tests for
34390 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34391 tls_model attribute fail if no support is available. Remove
34392 USE_IN_LIBIO.
34393 * Makeconfig: Adjust for dropped configure option. All features are
34394 now mandatory.
34395 * Makerules: Likewise.
34396 * Versions.def: Likewise.
34397 * argp/argp-fmtstream.c: Likewise.
34398 * argp/argp-fmtstream.h: Likewise.
34399 * argp/argp-help.c: Likewise.
34400 * assert/assert.c: Likewise.
34401 * config.h.in: Likewise.
34402 * config.make.in: Likewise.
34403 * configure: Likewise.
34404 * configure.in: Likewise.
34405 * csu/Versions: Likewise.
34406 * csu/init.c: Likewise.
34407 * elf/tst-audit2.c: Likewise.
34408 * elf/tst-tls10.c: Likewise.
34409 * elf/tst-tls10.h: Likewise.
34410 * elf/tst-tls11.c: Likewise.
34411 * elf/tst-tls12.c: Likewise.
34412 * elf/tst-tls14.c: Likewise.
34413 * elf/tst-tlsmod11.c: Likewise.
34414 * elf/tst-tlsmod12.c: Likewise.
34415 * elf/tst-tlsmod13.c: Likewise.
34416 * elf/tst-tlsmod13a.c: Likewise.
34417 * elf/tst-tlsmod14a.c: Likewise.
34418 * elf/tst-tlsmod15b.c: Likewise.
34419 * elf/tst-tlsmod16a.c: Likewise.
34420 * elf/tst-tlsmod16b.c: Likewise.
34421 * elf/tst-tlsmod7.c: Likewise.
34422 * elf/tst-tlsmod8.c: Likewise.
34423 * elf/tst-tlsmod9.c: Likewise.
34424 * gmon/gmon.c: Likewise.
34425 * grp/fgetgrent_r.c: Likewise.
34426 * grp/putgrent.c: Likewise.
34427 * hurd/fopenport.c: Likewise.
34428 * include/libc-symbols.h: Likewise.
34429 * include/tls.h: Likewise.
34430 * intl/gettextP.h: Likewise.
34431 * intl/loadinfo.h: Likewise.
34432 * locale/global-locale.c: Likewise.
34433 * locale/localeinfo.h: Likewise.
34434 * mach/devstream.c: Likewise.
34435 * malloc/arena.c: Likewise.
34436 * malloc/set-freeres.c: Likewise.
34437 * misc/err.c: Likewise.
34438 * misc/getttyent.c: Likewise.
34439 * misc/mntent_r.c: Likewise.
34440 * posix/getopt.c: Likewise.
34441 * posix/wordexp.c: Likewise.
34442 * pwd/fgetpwent_r.c: Likewise.
34443 * resolv/Versions: Likewise.
34444 * resolv/res_hconf.c: Likewise.
34445 * shadow/fgetspent_r.c: Likewise.
34446 * shadow/putspent.c: Likewise.
34447 * stdio-common/printf_fphex.c: Likewise.
34448 * stdio-common/tmpfile.c: Likewise.
34449 * stdlib/abort.c: Likewise.
34450 * stdlib/fmtmsg.c: Likewise.
34451 * sunrpc/auth_unix.c: Likewise.
34452 * sunrpc/clnt_perr.c: Likewise.
34453 * sunrpc/clnt_tcp.c: Likewise.
34454 * sunrpc/clnt_udp.c: Likewise.
34455 * sunrpc/clnt_unix.c: Likewise.
34456 * sunrpc/openchild.c: Likewise.
34457 * sunrpc/svc_simple.c: Likewise.
34458 * sunrpc/svc_tcp.c: Likewise.
34459 * sunrpc/svc_udp.c: Likewise.
34460 * sunrpc/svc_unix.c: Likewise.
34461 * sunrpc/xdr.c: Likewise.
34462 * sunrpc/xdr_array.c: Likewise.
34463 * sunrpc/xdr_rec.c: Likewise.
34464 * sunrpc/xdr_ref.c: Likewise.
34465 * sunrpc/xdr_stdio.c: Likewise.
34466
34467 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34468
34469 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34470
34471 2011-07-03 Andreas Jaeger <aj@suse.de>
34472
34473 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34474 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34475 regenerate with gen-libm-tests.pl.
34476
34477 2010-05-12 Petr Baudis <pasky@suse.cz>
34478
34479 [BZ #11589]
34480 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34481 around j0() zero points by switching to j1().
34482 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34486
34487 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34488
34489 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34490 instead of 0.
34491 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34492 instead of 0.
34493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34494 Patch in part by Pavel Roskin <proski@gnu.org>.
34495
34496 [BZ #13138]
34497 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34498 realloc.
34499 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34500 Free memory block if necessary.
34501
34502 [BZ #12847]
34503 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34504 be NULL. Don't lock in this case.
34505
34506 2011-09-09 Roland McGrath <roland@hack.frob.com>
34507
34508 * elf/elf.h (ELFOSABI_GNU): New macro.
34509 (ELFOSABI_LINUX): Define to that.
34510
34511 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34512
34513 * string/strncat.c (strncat): Undef the symbol in case it has been
34514 defined in bits/string.h.
34515
34516 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34517
34518 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34519
34520 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34521 link map.
34522
34523 2011-08-17 Andreas Jaeger <aj@suse.de>
34524
34525 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34526
34527 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34528 Ian Lance Taylor <iant@google.com>
34529
34530 * math/libm-test.inc (lround_test): New testcase.
34531 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34532
34533 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34534
34535 * Makefile: Remove support for automatic cvs check-ins.
34536 * Makerules: Likewise.
34537 * config.make.in: Likewise.
34538 * configure.in: Likewise.
34539 * intl/Makefile: Likewise.
34540 * locale/Makefile: Likewise.
34541 * po/Makefile: Likewise.
34542 * posix/Makefile: Likewise.
34543 * sysdeps/gnu/Makefile: Likewise.
34544 * sysdeps/mach/hurd/Makefile: Likewise.
34545 * sysdeps/sparc/sparc32/Makefile: Likewise.
34546
34547 [BZ #13118]
34548 * posix/Makefile (bug-regex32-ENV): Define.
34549 Patch by John Stanley <jpsinthemix@verizon.net>.
34550
34551 * misc/Makefile (headers): Add bits/select2.h.
34552 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34553 * misc/bits/select2.h: New file.
34554 * include/bits/select2.h: New file.
34555 * debug/Makefile (routines): Add fdelt_chk.
34556 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34557 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34558 FD_ISSET.
34559 * debug/fdelt_chk.c: New file.
34560
34561 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34562 * wcsmbs/test-wmemcmp.c: Likewise.
34563 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34564 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34565
34566 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34567
34568 * string/Makefile (strop-tests): Add memcmp.
34569 * string/test-wmemcmp.c: New file.
34570 * string/test-memcmp.c: Add wmemcmp support.
34571
34572 2011-09-08 Roland McGrath <roland@hack.frob.com>
34573
34574 [BZ #13153]
34575 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34576 2011-07-19 change.
34577
34578 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34579 garbage value in a __mach_port_mod_refs call in the cases of the
34580 task-self and thread-self ports.
34581
34582 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34583
34584 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34585
34586 2011-09-08 Andreas Schwab <schwab@redhat.com>
34587
34588 * elf/dl-load.c (lose): Check for non-null L.
34589
34590 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34591
34592 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34593
34594 * elf/dl-libc.c (dlerror_run): Pass back error code from
34595 dl_catch_error.
34596
34597 [BZ #13123]
34598 * elf/dl-load.c (lose): Free l_origin if it is valid.
34599
34600 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34601 names.
34602 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34603 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34604 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34605 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34606 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34607 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34608
34609 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34610
34611 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34612 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34613 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34614 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34615 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34616 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34617 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34618 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34619 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34620 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34621
34622 2011-08-15 Alan Modra <amodra@gmail.com>
34623
34624 [BZ #13092]
34625 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34626 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34627 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34628 ppc_mcount to static-only-routines.
34629 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34630 __mcount_internal.
34631 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34632 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34633
34634 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34635
34636 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34637 for finite and infinity parameters.
34638
34639 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34640
34641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34642 and add nop instructions for throughput optimization.
34643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34644
34645 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34646
34647 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34648 aligned copy for power7 with vector-scalar instructions.
34649 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34650
34651 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34652
34653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34654 AVX check.
34655
34656 2011-09-07 Andreas Schwab <schwab@redhat.com>
34657
34658 [BZ #13144]
34659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34660 last change.
34661
34662 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34663
34664 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34665 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34666 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34667 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34668 clock_gettime.
34669
34670 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34671
34672 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34673 Forgot to demangle the pointer.
34674
34675 * sysdeps/i386/sysdep.h: Define atom_text_section.
34676 * sysdeps/x86_64/sysdep.h: Likewise.
34677 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34678 section with atom_text_section.
34679 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34680 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34681 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34682 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34683 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34684
34685 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34686 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34687 already be defined. Change to take two parameters and don't assign
34688 result to variable. Adjust all users.
34689 Define INTERNAL_GETTIME if not already defined.
34690 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34691 call.
34692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34693 HAVE_CLOCK_GETTIME_VSYSCALL.
34694 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34695
34696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34697 gettimeofday vsyscall, just use time.
34698
34699 2011-09-06 Andreas Schwab <schwab@redhat.com>
34700
34701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34702 <errno.h>.
34703
34704 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34705
34706 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34707 syscall on x86-64.
34708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34709 syscall.
34710 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34711 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34712 syscall if possible.
34713
34714 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34715
34716 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34717 e_ident. Don't pass to find_mapsXX.
34718 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34719
34720 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34721
34722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34723 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34724 * sysdeps/x86_64/multiarch/strchr.S: Update.
34725 Check bit_slow_BSF bit.
34726 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34727 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34728 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34729
34730 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34731
34732 [BZ #13134]
34733 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34734 before glibc 2.15.
34735 (tryshell): Define.
34736 (__spawni): Change last parameter to be flag. Test
34737 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34738 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34739 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34740 * posix/spawni.c: Likewise.
34741 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34742 * posix/spawnp.c: Likewise. Change normal version to use
34743 SPAWN_XFLAGS_USE_PATH.
34744 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34745 SPAWN_XFLAGS_TRY_SHELL.
34746
34747 [BZ #13150]
34748 * posix/glob.h: Remove gcc 1.x support.
34749
34750 [BZ #13068]
34751 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34752
34753 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34754
34755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34756 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34757 strrchr-sse2-bsf
34758 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34759 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34760 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34761 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34762 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34763 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34764
34765 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34766
34767 * sysdeps/x86_64/wcscmp.S: New file.
34768
34769 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34770 wcscmp-c wcscmp-sse2
34771 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34772 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34773 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34774 * wcsmbs/wcscmp.c: Allow renaming.
34775
34776 2011-09-05 David S. Miller <davem@davemloft.net>
34777
34778 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34779 stack slot, rather than the struct return pointer slot.
34780 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34781 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34783 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34784
34785 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34786
34787 * po/ja.po: Update from translation team.
34788
34789 [BZ #13144]
34790 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34791 kernel in 64-bit binaries.
34792
34793 2011-09-01 David S. Miller <davem@davemloft.net>
34794
34795 * elf/elf.h (HWCAP_SPARC_*): Move to..
34796 * sysdeps/sparc/sysdep.h: this new file and add new values.
34797 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34798 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34799 _DL_HWCAP_COUNT to 24.
34800 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34801 entries.
34802 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34803 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34804 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34806 instead of magic constants.
34807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34808
34809 2011-08-31 David S. Miller <davem@davemloft.net>
34810
34811 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34813 Reimplement to do errno handling inline.
34814 (SYSCALL_ERROR_HANDLER): New macro.
34815 (__SYSCALL_STRING): Do not do errno handling in asm.
34816 (__CLONE_SYSCALL_STRING): Delete.
34817 (__INTERNAL_SYSCALL_STRING): Delete.
34818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34819 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34820 (PSEUDO): Reimplement to do errno handling inline.
34821 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34822 (SYSCALL_ERROR_HANDLER): New macro.
34823 (__SYSCALL_STRING): Do not do errno handling in asm.
34824 (__CLONE_SYSCALL_STRING): Delete.
34825 (__INTERNAL_SYSCALL_STRING): Delete.
34826 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34827 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34828 i386.
34829 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34830 (inline_syscall*): Add 'err' argument.
34831 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34832 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34833 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34834 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34835
34836 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34837 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34838
34839 2011-08-30 Andreas Schwab <schwab@redhat.com>
34840
34841 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34842
34843 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34844
34845 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34846 directive.
34847
34848 2011-08-24 David S. Miller <davem@davemloft.net>
34849
34850 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34851
34852 2011-08-24 Andreas Schwab <schwab@redhat.com>
34853
34854 * elf/Makefile: Add rules to build and run unload8 test.
34855 * elf/unload8.c: New file.
34856 * elf/unload8mod1.c: New file.
34857 * elf/unload8mod1x.c: New file.
34858 * elf/unload8mod2.c: New file.
34859 * elf/unload8mod3.c: New file.
34860
34861 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34862 it wasn't used.
34863
34864 2011-08-23 David S. Miller <davem@davemloft.net>
34865
34866 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34867 subtract stack bias.
34868 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34869 %sp not %fp in calculations.
34870 (_JMPBUF_UNWINDS_ADJ): Likewise.
34871
34872 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34873 (aio_suspend): Call it to force an exception region around the
34874 AIO_MISC_WAIT() invocation.
34875
34876 2011-08-23 Andreas Schwab <schwab@redhat.com>
34877
34878 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34879 backslash.
34880
34881 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34882
34883 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34884 protection macro.
34885 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34886 and <dl-machine.h>.
34887 (Elf64_FuncDesc): Remove.
34888
34889 2011-08-22 David S. Miller <davem@davemloft.net>
34890
34891 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34892 sigaltstack check, add missing cfi directives.
34893 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34894 missing cfi directives, and sigaltstack handling.
34895
34896 2011-08-16 Andreas Schwab <schwab@redhat.com>
34897
34898 [BZ #11724]
34899 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34900 object is seen twice.
34901 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34902
34903 * elf/Makefile (distribute): Add tst-initorder2.c.
34904 (tests): Add tst-initorder2.
34905 (modules-names): Add tst-initorder2a tst-initorder2b
34906 tst-initorder2c tst-initorder2d. Add rules to build them.
34907 ($(objpfx)tst-initorder2.out): New rule.
34908 * elf/tst-initorder2.c: New file.
34909 * elf/tst-initorder2.exp: New file.
34910
34911 2011-08-22 Andreas Schwab <schwab@redhat.com>
34912
34913 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34914
34915 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34916 dependencies back to end of function.
34917
34918 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34919 $(elfobjdir)/ld.so.
34920
34921 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34922
34923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34924 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34926 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34927 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34928 of __vdso_gettimeofday.
34929 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34930 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34931 attribute_hidden.
34932 (_libc_vdso_platform_setup): Remove initialization of
34933 __vdso_gettimeofday and __vdso_time.
34934
34935 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34936
34937 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34938 and fgetc_unlocked.
34939 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34940 getc_unlocked.
34941
34942 * elf/dl-open.c (add_to_global): Report additions to the global scope
34943 for LD_DEBUG=scopes.
34944 (dl_open_worker): Also print scope of newly loaded dependencies.
34945 (_dl_show_scope): Indicate if there is no scope.
34946
34947 [BZ #13114]
34948 * stdio-common/Makefile (tests): Add bug24.
34949 * stdio-common/bug24.c: New file.
34950
34951 2011-08-19 Andreas Jaeger <aj@suse.de>
34952
34953 [BZ #13114]
34954 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34955 non-existant file when using close-on-exec mode.
34956
34957 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34958
34959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34960 the very first instruction.
34961
34962 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34963 the CFI state in the end.
34964 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34965 inclusion of dl-trampoline.h.
34966 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34967
34968 2011-08-19 Andreas Schwab <schwab@redhat.com>
34969
34970 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34971 expectations for long double.
34972
34973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34974 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34975
34976 2011-08-14 David S. Miller <davem@davemloft.net>
34977
34978 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34979 artificual limit depends upon the system page size.
34980
34981 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34982
34983 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34984 * resolv/Makefile: Define CFLAGS-libresolv.
34985
34986 2011-08-17 Andreas Schwab <schwab@redhat.com>
34987
34988 * nss/makedb.c (compute_tables): Make variables used in nested
34989 function static.
34990
34991 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34992
34993 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34994 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34995 if buffer was too small.
34996
34997 * elf/pldd.c (main): Attach to all threads in the process.
34998 Rewrite /proc handling to use *at functions.
34999
35000 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35001
35002 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35003 specifies first scope to show.
35004 (dl_open_worker): Update callers. Move printing scope of new
35005 object to before the relocation.
35006 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35007 * sysdeps/generic/ldsodefs.h: Update declaration.
35008
35009 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35010 string for the scope number.
35011
35012 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35013
35014 * nscd/servicescache.c (cache_addserv): Make sure written is always
35015 initialized.
35016
35017 2011-08-14 Roland McGrath <roland@hack.frob.com>
35018
35019 * sysdeps/i386/i486/bits/atomic.h
35020 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35021 statement expression, so as to suppress "set but not used" warning.
35022 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35023
35024 * string/strncat.c (STRNCAT): Use prototype definition.
35025
35026 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35027 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35028 -Iprograms here.
35029 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35030 (localedef-modules): Add localedef.
35031 (locale-modules): Add locale.
35032
35033 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35034 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35035 to avoid a warning.
35036
35037 2011-08-14 David S. Miller <davem@davemloft.net>
35038
35039 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35040 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35041
35042 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35043
35044 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35045 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35046 * elf/rtld.c (dl_main): Set l_name of vDSO.
35047 Call _dl_show_scope when DL_DEBUG_SCOPES.
35048 (process_dl_debug): Recognize scopes flag and also set it for all.
35049 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35050 Declare _dl_show_scope.
35051
35052 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35053 (do_dlopen): Pass caller_dlopen to dl_open.
35054 (__libc_dlopen_mode): Initialize caller_dlopen.
35055
35056 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35057 of libc. Make tolower call locale-independent. Optimize a bit by
35058 using isdigit instead of isalnum.
35059 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35060
35061 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35062
35063 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35064 was a dependency or dynamically loaded.
35065
35066 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35067
35068 * intl/l10nflist.c: Allow architecture-specific pop function.
35069 * sysdeps/x86_64/l10nflist.c: New file.
35070
35071 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35072 classification.
35073
35074 2011-08-10 Andreas Schwab <schwab@redhat.com>
35075
35076 * include/dirent.h: Add libc_hidden_proto for scandirat and
35077 scandirat64. Don't declare __scandirat64.
35078 * dirent/scandirat.c: Add libc_hidden_def.
35079 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35080 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35081
35082 2011-08-10 David S. Miller <davem@davemloft.net>
35083
35084 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35085 enum.
35086 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35087 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35088 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35089
35090 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35091
35092 * Versions.def [libc]: Add GLIBC_2.15.
35093 * dirent/Makefile (routines): Add scandirat and scandirat64.
35094 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35095 GLIBC_2.15.
35096 * dirent/dirent.h: Declare scandirat and scandirat64.
35097 * dirent/scandirat.c: New file.
35098 * dirent/scandirat64.c: New file.
35099 * sysdeps/wordsize-64/scandirat.c: New file.
35100 * sysdeps/wordsize-64/scandirat64.c: New file.
35101 * dirent/opendir.c: Define opendirat.
35102 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35103 using scandirat.
35104 * dirent/scandir64.c: Adjust for scandir.c change.
35105 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35106 __scandirat64, and __scandir_cancel_handler.
35107 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35108 additional parameter and use openat instead of open (outside of ld.so).
35109 Add new __opendir as wrapper around __opendirat.
35110 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35111 here without requiring old scandirat implementation.
35112
35113 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35114
35115 * dirent/scandir.c (cancel_handler): Renamed to
35116 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35117 defined. Adjust users.
35118 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35119 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35120
35121 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35122
35123 * string/test-string.h (IMPL): Use __STRING to expand name and then
35124 stringify it.
35125
35126 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35127 of cleanups.
35128
35129 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35130
35131 * string/Makefile: Update.
35132 (strop-tests): Append strncat.
35133 * string/test-wcscmp.c: New file.
35134 New comprehensive test for wcscmp.
35135 * string/test-strcmp.c: Update.
35136 (WIDE): New define.
35137
35138 2011-07-22 Andreas Schwab <schwab@redhat.com>
35139
35140 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35141 line.
35142
35143 2011-07-26 Andreas Schwab <schwab@redhat.com>
35144
35145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35146 encoding to ACE if AI_IDN.
35147
35148 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35149
35150 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35151 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35152
35153 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35154
35155 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35156 Fix overflow bug in strncat.
35157 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35158
35159 * string/test-strncat.c: Update.
35160 Add new tests for checking overflow bugs.
35161
35162 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35163
35164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35165 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35166 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35167 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35168 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35169 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35170 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35171 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35172 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35173
35174 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35175 (USE_AS_STRCAT): Define.
35176 Add strcat and strncat support.
35177 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35178
35179 2011-07-25 Andreas Schwab <schwab@redhat.com>
35180
35181 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35182 __n bigger than INT_MAX+1.
35183 (__strncmp_g): Likewise.
35184
35185 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35186
35187 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35188 * libio/stido.h: Likewise.
35189
35190 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35191 (AF_NFC): Define.
35192 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35193 (AF_NFC): Define.
35194
35195 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35196 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35197 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35198 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35199 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35200
35201 [BZ #13021]
35202 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35203 installed.
35204
35205 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35206 typo.
35207 (_dl_x86_64_save_sse): Likewise.
35208
35209 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35210
35211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35212 OSXSAVE.
35213 (_dl_x86_64_save_sse): Likewise.
35214
35215 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35216
35217 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35218
35219 2011-07-21 Andreas Schwab <schwab@redhat.com>
35220
35221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35222 change.
35223 (_dl_x86_64_save_sse): Use correct AVX check.
35224
35225 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35226
35227 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35228 bug in strncpy/strncat.
35229 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35230
35231 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35232
35233 * string/tester.c (test_strcat): Add tests for different alignments
35234 of source and destination.
35235 (test_strncat): Likewise.
35236
35237 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35238
35239 [BZ #12852]
35240 * posix/glob.c (glob): Check passed in values before using them in
35241 expressions to avoid some overflows.
35242 (glob_in_dir): Likewise.
35243
35244 [BZ #13007]
35245 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35246 check for AVX enablement so that we don't crash with old kernels and
35247 new hardware.
35248 * elf/tst-audit4.c: Add same checks here.
35249 * elf/tst-audit6.c: Likewise.
35250
35251 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35252
35253 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35254
35255 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35256
35257 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35258
35259 * po/cs.po: Update from translation team.
35260 * po/bg.po: Likewise.
35261
35262 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35263
35264 * misc/sys/cdefs.h: Add support for const attribute.
35265 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35266 to gnu_dev_{major,minor,makedev} functions.
35267
35268 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35269
35270 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35271
35272 2011-07-20 Andreas Schwab <schwab@redhat.com>
35273
35274 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35275 strlen results.
35276
35277 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35278
35279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35280 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35281 register in order to avoid conflicts with the soft frame pointer
35282 being held in r11 when necessary.
35283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35284 (INTERNAL_VSYSCALL_NCS): Likewise.
35285
35286 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35287
35288 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35289 * elf/dl-fini.c (_dl_fini): Adjust caller.
35290 * elf/dl-close.c (_dl_close_worker): Likewise.
35291 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35292
35293 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35294
35295 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35296 "aux_cache->nlibs < 0".
35297
35298 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35299 in the reload-count case.
35300
35301 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35302
35303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35304 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35305 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35306 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35307 * sysdeps/x86_64/multiarch/strcat.S: New file.
35308 * sysdeps/x86_64/multiarch/strncat.S: New file.
35309 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35310 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35311 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35312 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35314 (USE_AS_STRCAT): Define.
35315 Add strcat and strncat support.
35316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35318 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35319 * string/strncat.c: Update.
35320 (USE_AS_STRNCAT): Define.
35321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35322 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35323 and i7.
35324 * sysdeps/x86_64/multiarch/init-arch.h
35325 (bit_Prefer_PMINUB_for_stringop): New.
35326 (index_Prefer_PMINUB_for_stringop): Likewise.
35327 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35328 bit_Prefer_PMINUB_for_stringop.
35329
35330 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35331
35332 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35333 buffer64.
35334 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35335 of casting of buffer.
35336 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35337 buffer32 and buffer64.
35338 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35339 writes instead of casting of buffer.
35340 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35341 buffer32.
35342 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35343 casting of buffer.
35344
35345 2011-07-19 Andreas Schwab <schwab@redhat.com>
35346
35347 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35348
35349 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35350
35351 * nscd/nscd.c (termination_handler): Don't do anything for a database
35352 if it has not yet been initialized.
35353
35354 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35355
35356 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35357
35358 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35359
35360 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35361
35362 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35363
35364 * po/nl.po: Update from translation team.
35365 * po/sv.po: Likewise.
35366
35367 2011-07-16 Roland McGrath <roland@hack.frob.com>
35368
35369 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35370 now disallowed by GCC.
35371
35372 * configure.in (use-default-link): Default to yes if a test -shared
35373 link meets our qualifications.
35374 * configure: Regenerated.
35375
35376 * config.make.in (output-format): New variable.
35377 * configure.in: Check for ld --print-output-format support.
35378 * configure: Regenerated.
35379 * Makerules ($(common-objpfx)format.lds)
35380 [$(output-format) != unknown]: Just use $(output-format),
35381 instead of the linker-script munging.
35382
35383 2011-07-14 Roland McGrath <roland@hack.frob.com>
35384
35385 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35386 of $(common-objpfx)shlib.lds.
35387 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35388
35389 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35390 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35391
35392 * configure.in (-z relro check): Adjust test code to add a large
35393 writable data section after it.
35394 * configure: Regenerated.
35395
35396 2011-07-11 Roland McGrath <roland@hack.frob.com>
35397
35398 * configure.in (-z relro check): Fix test code to make the variable
35399 truly const.
35400 * configure: Regenerated.
35401
35402 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35403
35404 * nscd/nscd.h (struct traced_file): Define.
35405 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35406 elements. Add traced_files.
35407 (inotify_fd): Declare.
35408 (register_traced_file): Declare.
35409 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35410 (inotify_fd): Export.
35411 (resolv_conf_descr): Remove.
35412 (nscd_init): Move inotify descriptor creation to main.
35413 Don't register files for notification here.
35414 (register_traced_file): New function.
35415 (invalidate_cache): Don't use reset_res to determine whether to call
35416 res_init, go through the list of registered files.
35417 (main_loop_poll): The inotify descriptors are now stored in the
35418 structures for the traced files.
35419 (main_loop_epoll): Likewise
35420 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35421 to __nss_disable_nscd.
35422 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35423 for a database anymore. Check the records for all the registered
35424 files instead.
35425 * nss/Makefile (libnss_files-routines): Add files-init.
35426 (libnss_db-routines): Add db-init.
35427 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35428 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35429 * nss/nss_db/db-init.c: New file.
35430 * nss/nss_files/files-init.c: New file.
35431 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35432 __nss_lookup_function.
35433 (__nss_lookup_function): Call nss_load_library.
35434 (nss_load_all_libraries): New function.
35435 (__nss_disable_nscd): Take parameter with callback function for files
35436 to register. Set is_nscd. Load all the DSOs for the NSS modules
35437 used for the cached services.
35438 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35439 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35440 options for features to all the files in nscd.
35441
35442 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35443
35444 2011-07-10 Roland McGrath <roland@hack.frob.com>
35445
35446 * csu/elf-init.c (__libc_csu_init): Comment typo.
35447
35448 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35449
35450 * po/pl.po: Update from translation team.
35451 * po/ja.po: Likewise.
35452 * po/ru.po: Likewise.
35453 * po/ko.po: Likewise.
35454 * po/fr.po: Likewise.
35455
35456 2011-07-09 Roland McGrath <roland@hack.frob.com>
35457
35458 * configure.in (.ctors/.dtors header and trailer check):
35459 Use an empirical test on a built program.
35460 * configure: Regenerated.
35461
35462 * configure.in (-z relro check): Use an empirical test on a built DSO.
35463 Detect, but do not require, on ia64.
35464 * configure: Regenerated.
35465
35466 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35467 Update tests that use readelf to use $READELF instead.
35468 * configure: Regenerated.
35469
35470 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35471
35472 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35473 if the result is not used.
35474
35475 2011-07-05 Andreas Jaeger <aj@suse.de>
35476
35477 [BZ#9696]
35478 * stdlib/tst-strtod.c: Add testcase.
35479
35480 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35481
35482 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35483 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35484 The latter has a higher limit. Take additional parameter to pass to
35485 the new function.
35486 (__pathconf): Pass file to __statfs_link_max.
35487 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35488 __statfs_link_max.
35489 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35490 __statfs_link_max.
35491
35492 [BZ #12868]
35493 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35494 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35495 Handle Lustre.
35496 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35497 (__statfs_filesize_max): Likewise.
35498 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35499
35500 2011-07-05 Andreas Jaeger <aj@suse.de>
35501
35502 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35503
35504 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35505
35506 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35507 `status' variable.
35508 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35509 Likewise.
35510
35511 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35512
35513 * Makefile (strop-tests): Add strncat.
35514 * string/test-strncat.c: New file.
35515
35516 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35517
35518 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35519
35520 2011-06-21 Andreas Jaeger <aj@suse.de>
35521
35522 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35523 Copy rule from iconvdata/Makefile.
35524
35525 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35526
35527 [BZ #12922]
35528 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35529 but no long options are defined, just return 'W'.
35530
35531 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35532
35533 [BZ #9696]
35534 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35535
35536 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35537
35538 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35539 netgroups to read.
35540 (innetgr): Likewise.
35541
35542 2011-07-05 Roland McGrath <roland@hack.frob.com>
35543
35544 * config.make.in (install_root): Default to $(DESTDIR).
35545
35546 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35547
35548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35549
35550 2011-07-02 Roland McGrath <roland@hack.frob.com>
35551
35552 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35553
35554 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35555 containing directory rather than embedding absolute directory names.
35556
35557 * scripts/check-local-headers.sh: Rewritten using awk.
35558 Match by word, not by line. Print error messages for matches.
35559 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35560
35561 * Makerules [shlib-lds-flags empty]:
35562 ($(common-objpfx)libc_pic.opts): New target.
35563 ($(common-objpfx)libc_pic.os.clean): New target.
35564 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35565
35566 * config.make.in (OBJCOPY): New variable.
35567 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35568 * configure: Regenerated.
35569
35570 * config.make.in (use-default-link): New variable.
35571 * configure.in (use_default_link): Grok --with-default-link to set it.
35572 * configure: Regenerated.
35573 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35574 (shlib-lds, shlib-lds-flags): Define to empty.
35575
35576 * Makerules (shlib-lds): New variable.
35577 (shlib-lds-flags): New variable.
35578 (build-shlib, build-moduile, build-module-asneeded): Use it.
35579 ($(common-objpfx)libc.so): Use $(shlib-lds).
35580 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35581 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35582
35583 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35584 DT_FLAGS/DT_FLAGS_1 with zero flags.
35585
35586 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35587 linker script munging.
35588
35589 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35590
35591 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35592 as 128-bit value.
35593 * crypt/sha512.c (sha512_process_block): Perform total addition using
35594 128-bit if possible.
35595 (__sha512_finish_ctx): Likewise.
35596 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35597 as 64-bit value.
35598 * crypt/sha256.c (SWAP64): Define.
35599 (sha256_process_block): Perform total addition using 64-bit if
35600 possible.
35601 (__sha256_finish_ctx): Likewise.
35602
35603 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35604
35605 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35607 * nscd/hstcache.c (cache_addhst): Likewise.
35608 * nscd/grpcache.c (cache_addgr): Likewise.
35609 * nscd/aicache.c (addhstaiX): Likewise
35610 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35611
35612 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35613
35614 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35616 * nscd/hstcache.c (cache_addhst): Likewise.
35617 * nscd/grpcache.c (cache_addgr): Likewise.
35618 * nscd/aicache.c (addhstaiX): Likewise
35619
35620 2011-07-01 Andreas Schwab <schwab@redhat.com>
35621
35622 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35623 domain only when needed.
35624
35625 2011-06-30 Andreas Schwab <schwab@redhat.com>
35626
35627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35628 is always restored.
35629
35630 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35631
35632 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35633 are re-adding the entry.
35634 * nscd/servicescache.c (cache_addserv): Likewise.
35635
35636 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35637
35638 * sysdeps/generic/dl-irel.h: fix protection against multiple
35639 inclusions.
35640 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35641
35642 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35643
35644 [BZ #12935]
35645 * malloc/memusage.sh: Fix quoting in message.
35646 * debug/xtrace.sh: Likewise.
35647
35648 * configure.in: Remove support for --experimental-malloc option, make
35649 it the default.
35650 * config.make.in: Likewise.
35651 * malloc/Makefile: Likewise.
35652
35653 2011-06-27 Andreas Schwab <schwab@redhat.com>
35654
35655 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35656 two-byte characters.
35657
35658 2011-06-27 Roland McGrath <roland@hack.frob.com>
35659
35660 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35661 AC_CACHE_CHECK invocation.
35662 * configure: Regenerated.
35663
35664 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35665
35666 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35667
35668 [BZ #12350]
35669 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35670 bit from old_res_options.
35671
35672 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35673
35674 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35675 value type for setfct.
35676
35677 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35678
35679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35680 __gettimeofday instead of gettimeofday.
35681
35682 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35683
35684 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35685
35686 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35687
35688 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35689
35690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35691 info.
35692
35693 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35694
35695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35696 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35697 strcpy-sse2-unaligned strncpy-sse2-unaligned
35698 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35699 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35700 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35701 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35702 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35703 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35704 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35705 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35706 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35707 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35708 (STRCPY): Support SSE2 and SSSE3 versions.
35709
35710 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35711
35712 [BZ #12874]
35713 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35714 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35715 kernels which artificially limit size of requests.
35716
35717 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35718
35719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35720 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35721 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35722 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35723 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35724 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35725 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35726 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35727 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35729 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35730 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35731 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35732 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35733 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35735 Enable unaligned load optimization for Intel Core i3, i5 and i7
35736 processors.
35737 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35738 Define.
35739 (index_Fast_Unaligned_Load): Define.
35740 (HAS_FAST_UNALIGNED_LOAD): Define.
35741
35742 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35743
35744 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35745
35746 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35747
35748 [BZ #12907]
35749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35750 until it is clear that the information is realy needed.
35751 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35752
35753 2011-06-22 Andreas Schwab <schwab@redhat.com>
35754
35755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35756
35757 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35758
35759 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35760 /sys/devices/system/cpu/online if it is usable.
35761
35762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35763 reading the information from the /proc filesystem to once a second.
35764
35765 2011-06-21 Andreas Jaeger <aj@suse.de>
35766
35767 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35768 NULL after inclusion of kernel headers.
35769
35770 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35771
35772 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35773 calls to internal_setent.
35774
35775 [BZ #12885]
35776 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35777 addresses using gethostbyname4_r ignore IPv4 addresses.
35778
35779 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35780 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35781
35782 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35783
35784 2011-06-20 David S. Miller <davem@davemloft.net>
35785
35786 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35787 inclusions.
35788 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35789
35790 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35791 (elf_irel): Use it.
35792 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35793 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35794 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35795 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35796 * sysdeps/x86_64/dl-irel.h: Likewise.
35797
35798 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35799 * elf/dl-sym.c: Likewise.
35800
35801 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35802
35803 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35804 need to dereference resplen2.
35805
35806 2011-06-14 Andreas Schwab <schwab@redhat.com>
35807
35808 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35809
35810 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35811
35812 * Makeconfig: Define vardbdir and inst_vardbdir.
35813 * nss/Makefile: Add rules to install db-Makefile.
35814
35815 * nss/nss_db/db-XXX.c: Cleanup.
35816
35817 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35818 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35819 GLIBC_PRIVATE.
35820 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35821 * nss/makedb.c: Implement -g option to specify that value strings
35822 are generated and should not be added to table iterated over for
35823 get*ent calls.
35824 * nss/nss_db/db-initgroups.c: New file.
35825
35826 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35827 interface.
35828
35829 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35830 (internal_getgrouplist): Adjust to name change.
35831 Update use_initgroups_entry if this is not the first call.
35832 * nss/databases.def: Add initgroups entry.
35833
35834 * nss/makedb.c (compute_tables): Check result of multiple hash table
35835 sizes to minimize maximum chain length.
35836
35837 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35838
35839 * Versions.def: Add entry for libnss_db.
35840 * shlib-versions: Likewise.
35841 * nss/Makefile: Add rules to build libnss_db.
35842 * nss/Versions: Add libnss_db information. Organize libnss_files
35843 entries better.
35844 * nss/db-Makefile: Add gshadow support. Change rules for the new
35845 makedb progra. Some minor improvements to generate smaller files.
35846 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35847 here from...
35848 * nss/makedb.c: ...here.
35849 Improve database format to be smaller and require less memory at
35850 runtime.
35851 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35852 db anymore.
35853 * nss/nss_db/db-netgrp.c: Likewise.
35854 * nss/nss_db/db-open.c: Likewise.
35855 * nss/nss_files/flies-XXX.x: Adjust comments.
35856 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35857 * nss/nss_files/files-grp.c: Likewise.
35858 * nss/nss_files/files-hosts.c: Likewise.
35859 * nss/nss_files/files-network.c: Likewise.
35860 * nss/nss_files/files-proto.c: Likewise.
35861 * nss/nss_files/files-pwd.c: Likewise.
35862 * nss/nss_files/files-rpc.c: Likewise.
35863 * nss/nss_files/files-service.c: Likewise.
35864 * nss/nss_files/files-sgrp.c: Likewise.
35865 * nss/nss_files/files-spwd.c: Likewise.
35866 * nss/nss_db/db-alias.c: Removed.
35867 * nss/nss_db/dummy-db.h: Removed.
35868
35869 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35870
35871 * nss/makedb.c: Rewritten to not use database library.
35872 * nss/Makefile: Update to build new makedb program.
35873
35874 2011-06-14 Andreas Jaeger <aj@suse.de>
35875
35876 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35877 memset declaration.
35878
35879 2011-06-10 Andreas Schwab <schwab@redhat.com>
35880
35881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35882 tmpbuf.
35883
35884 2011-06-10 Roland McGrath <roland@hack.frob.com>
35885
35886 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35887 * elf/Makefile ($(objpfx)ld.so): Likewise.
35888
35889 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35890 Don't list ld.so twice in dependencies.
35891
35892 * posix/bug-regex31.c: Include <stdlib.h>.
35893
35894 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35895
35896 * nis/nss_compat/compat-spwd.c
35897 (getspent_next_nss_netgr): Remove unused variable.
35898 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35899
35900 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35901 nonmembers" output to use the right array.
35902
35903 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35904
35905 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35906
35907 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35908 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35909 * catgets/gencat.c (read_input_file): Likewise.
35910 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35911
35912 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35913 variable definition inside #if's controlling its use.
35914
35915 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35916
35917 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35918
35919 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35920
35921 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35922 unreachable code.
35923
35924 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35925
35926 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35927 * configure: Regenerated.
35928
35929 * Makerules: Revert last change.
35930 * elf/Makefile: Likewise.
35931
35932 2011-06-09 Roland McGrath <roland@hack.frob.com>
35933
35934 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35935 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35936 (reloc-link): Likewise.
35937
35938 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35939
35940 * elf/Makefile: Add rules to build pldd.
35941 * elf/pldd.c: New file.
35942 * elf/pldd-xx.c: New file.
35943
35944 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35945
35946 * version.h: Update for 2.15 development version.
35947
35948 2011-06-07 David S. Miller <davem@davemloft.net>
35949
35950 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35951 ifuncs.
35952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35953 elf_machine_lazy_rel): Likewise.
35954 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35956 elf_machine_lazy_rel): Likewise.
35957 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35958 dl_hwcap via passed in argument.
35959 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35960 Likewise.
35961
35962 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35963
35964 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35965
35966 2011-06-06 Roland McGrath <roland@hack.frob.com>
35967
35968 [BZ #12849]
35969 * manual/fdl-1.1.texi: New file, verbatim from:
35970 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35971 * manual/lgpl-2.1.texi: New file, verbatim from:
35972 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35973 * manual/Makefile (licenses): New variable, list those new file names.
35974 (texis): Use it.
35975 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35976
35977 * manual/fdl.texi: File removed.
35978 * manual/lesser.texi: File removed.
35979 * manual/libc.texinfo (Copying, Documentation License):
35980 Use new @include file names, put @appendix directive before @include.
35981
35982 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35983
35984 [BZ #12841]
35985 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35986 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35987 (mq_open): Add __NTH.
35988
35989 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35990
35991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35992 Assume Intel Core i3/i5/i7 processor if AVX is available.
35993
35994 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35995
35996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35997 typo.
35998
35999 2011-05-31 Andreas Schwab <schwab@redhat.com>
36000
36001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36002 memory. Use alloca_account. Fix memory leak when retrying.
36003
36004 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36005
36006 * version.h (RELEASE): Bump for 2.14 release.
36007 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36008
36009 * config.make.in (RANLIB): Remove entry.
36010
36011 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36012
36013 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36014 (libc.pot): Work around missing support for .ksh extension in xgettext.
36015
36016 [BZ #12684]
36017 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36018 if both request failed.
36019 (send_dg): In case of server errors clear resplen or *resplen2.
36020
36021 [BZ #12454]
36022 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36023 when there are multiple maps.
36024 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36025 (_dl_fini): Remove test here.
36026
36027 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36028
36029 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36030
36031 [BZ #12350]
36032 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36033 bit from old_res_options.
36034 (gaih_inet): Likewise.
36035
36036 [BZ #11099]
36037 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36038 as signed.
36039
36040 * resolv/res_init.c (res_setoptions): Make the code more compact.
36041
36042 [BZ #11558]
36043 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36044 set RES_USEVC.
36045
36046 [BZ #11634]
36047 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36048
36049 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36050
36051 [BZ #11781]
36052 * malloc/malloc.h: Declare malloc hook variables as volatile.
36053
36054 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36055 in last patch.
36056
36057 [BZ #11799]
36058 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36059 raise in the comment.
36060 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36061 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36062 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36063
36064 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36065
36066 [BZ #12811]
36067 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36068 grow the buffers more if it already has to be sufficient.
36069 (build_wcs_upper_buffer): Likewise.
36070 * posix/regexec.c (check_matching): Likewise.
36071 (clean_state_log_if_needed): Likewise.
36072 (extend_buffers): Don't enlarge buffers beyond size of the input
36073 buffer.
36074 Patches mostly by Emil Wojak <emil@wojak.eu>.
36075 * posix/bug-regex32.c: New file.
36076 * posix/Makefile (tests): Add bug-regex32.
36077
36078 * locale/findlocale.c (_nl_find_locale): Return right away if
36079 _nl_explode_name failed.
36080 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36081
36082 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36083
36084 * debug/xtrace.sh: Unify messages.
36085 * malloc/memusage.sh: Likewise.
36086
36087 [BZ #12813]
36088 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36089 time symbol from vDSO. Substitute with vsyscall if not available.
36090 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36091 __vdso_time.
36092
36093 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36094 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36095 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36096 Add sendmmsg and internal_sendmmsg.
36097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36098 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36099 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36100
36101 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36102 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36103 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36104
36105 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36106
36107 [BZ #12813]
36108 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36109 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36110 available.
36111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36112 __vdso_getcpu.
36113
36114 [BZ #12814]
36115 * iconvdata/Makefile (tests): Add bug-iconv9.
36116 * iconvdata/bug-iconv9.c: New file.
36117
36118 2011-05-27 Andreas Schwab <schwab@redhat.com>
36119
36120 [BZ #12814]
36121 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36122
36123 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36124
36125 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36126 (struct user_regs_struct): Change intcs field back to cs.
36127
36128 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36129
36130 * po/ja.po: Update from translation team.
36131
36132 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36133
36134 [BZ #12795]
36135 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36136 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36137
36138 2011-05-20 Andreas Schwab <schwab@redhat.com>
36139
36140 * stdlib/longlong.h: Update from GCC.
36141
36142 2011-05-23 Andreas Schwab <schwab@redhat.com>
36143
36144 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36145 parameter name.
36146 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36147 Add parameter name.
36148 (__sysconf): Pass it down.
36149
36150 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36151
36152 [BZ #12671]
36153 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36154 some situations.
36155 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36156 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36157 add in in __libc_use_alloca calls. Adjust callers.
36158 (glob): Use malloc in some situations.
36159
36160 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36161 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36162 pltexit.
36163
36164 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36165
36166 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36167 and CLOCK_BOOTTIME_ALARM.
36168
36169 [BZ #12782]
36170 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36171 is returned.
36172
36173 * string/_strerror.c (__strerror_r): Print negative errors as signed
36174 numbers.
36175
36176 [BZ #12777]
36177 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36178 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36179 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36180
36181 * configure.in: Fix typo in redirection and correct removal of test
36182 files in two cases.
36183
36184 [BZ #12788]
36185 * locale/setlocale.c (new_composite_name): Fix test to check for
36186 identical name of all categories.
36187
36188 [BZ #12792]
36189 * libio/filedoalloc.c (local_isatty): New function.
36190 (_IO_file_doallocate): Use local_isatty.
36191 * stdio-common/perror.c (perror): In case a new stream is used
36192 forward the stream error.
36193 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36194 error flag.
36195
36196 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36197
36198 [BZ #11869]
36199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36200 alloca.
36201 * include/alloca.h (extend_alloca_account): Define.
36202
36203 [BZ #11857]
36204 * posix/regex.h: Fix comments with documentation of user-accessible
36205 fields after compilation and describe correct free'ing of pattern
36206 after re_compile_pattern.
36207 Patch by Reuben Thomas <rrt@sc3d.org>.
36208
36209 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36210
36211 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36212 and -mno-altivec to prevent the compiler from using Altivec and/or
36213 VSX instructions when the corresponding registers are not available.
36214
36215 2011-05-19 Andreas Schwab <schwab@redhat.com>
36216
36217 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36218
36219 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36220
36221 * libio/freopen.c (freopen): Use __dup2, not dup2.
36222 * libio/freopen64.c (freopen64): Likewise.
36223
36224 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36225
36226 [BZ #12775]
36227 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36228 * math/Makefile (tests): Add test-powl.
36229 (CFLAGS-test-powl.c): Define.
36230 * math/test-powl.c: New file.
36231
36232 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36233
36234 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36235
36236 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36237
36238 [BZ #11837]
36239 * iconvdata/gb18030.c: Update to GB18020-2005.
36240
36241 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36242
36243 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36244 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36245 Patch by Aharon Robbins <arnold@skeeve.com>.
36246
36247 [BZ #11892]
36248 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36249 on the stack.
36250
36251 [BZ #11895]
36252 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36253 through underflows.
36254
36255 [BZ #12766]
36256 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36257 point to strings before performing equality test for error_one_per_line
36258 mode.
36259
36260 [BZ #11697]
36261 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36262
36263 [BZ #11820]
36264 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36265 (struct user_fpregs_struct): Avoid __uint*_t types.
36266
36267 [BZ #6420]
36268 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36269 symbol info. Use it instead of calling _dl_addr locally.
36270 (lock_and_info): New function.
36271 (tr_freehook): Call lock_and_info and pass symbol info as additional
36272 parameter to tr_where.
36273 (tr_mallochook): Likewise.
36274 (tr_reallochook): Likewise.
36275 (tr_memalignhook): Likewise.
36276
36277 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36278 used and couldn't be at all thread-safe.
36279
36280 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36281
36282 * libio/freopen.c (freopen): Don't close old file descriptor
36283 before the new one is opened. Instead dup the new file descriptor
36284 to the old one after the new stream is created.
36285 * libio/freopen64.c (freopen64): Likewise.
36286 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36287 * libio/fileops.c (_IO_new_file_close_it): Handle new
36288 _IO_FLAGS2_NOCLOSE flag.
36289 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36290 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36291 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36292 _IO_FLAGS2_NOCLOSE flag.
36293 * include/unistd.h: Add hidden_proto for dup3.
36294 Define __have_dup3.
36295 * io/dup3.c: Define hidden symbol.
36296 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36297
36298 [BZ #7101]
36299 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36300 when an incomplete long option is used.
36301 * posix/tst-getopt_long1.c: New file.
36302 * posix/Makefile (tests): Add tst-getopt_long1.
36303
36304 [BZ #10138]
36305 * scripts/config.guess: Update from autoconf-2.68.
36306 * scripts/config.sub: Likewise.
36307
36308 [BZ #10157]
36309 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36310 tests into ...
36311 (has_cpuclock): ...this. New function.
36312 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36313 macro here based on has_cpuclock code.
36314
36315 [BZ #10149]
36316 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36317 First byte (not low byte) is now always NUL.
36318 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36319
36320 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36321 Use non-cancelable interfaces.
36322
36323 [BZ #9809]
36324 * locale/iso-639.def: Add entry for Sorani.
36325
36326 [BZ #11901]
36327 * include/stdlib.h: Move include protection to the right place.
36328 Define abort_msg_s. Declare __abort_msg with it.
36329 * stdlib/abort.c (__abort_msg): Adjust type.
36330 * assert/assert.c (__assert_fail_base): New function. Majority
36331 of code from __assert_fail. Allocate memory for __abort_msg with
36332 mmap.
36333 (__assert_fail): Now call __assert_fail_base.
36334 * assert/assert-perr.c: Remove bulk of implementation. Use
36335 __assert_fail_base.
36336 * include/assert.hL Declare __assert_fail_base.
36337 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36338 mmap.
36339 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36340
36341 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36342
36343 [BZ #11952]
36344 [BZ #12453]
36345 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36346 until all modules are registered in the DTV.
36347 * elf/Makefile: Add rules to build and run tst-tls19.
36348 * elf/tst-tls19.c: New file.
36349 * elf/tst-tls19mod1.c: New file.
36350 * elf/tst-tls19mod2.c: New file.
36351 * elf/tst-tls19mod3.c: New file.
36352 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36353
36354 [BZ #12083]
36355 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36356 correctly.
36357
36358 [BZ #12601]
36359 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36360 two-byte sequence errors.
36361 * iconvdata/Makefile (tests): Add bug-iconv8.
36362 * iconvdata/bug-iconv8.c: New file.
36363
36364 [BZ #12626]
36365 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36366 buf2 definition.
36367
36368 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36369
36370 [BZ #12432]
36371 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36372 (dummy_getcfa): New function.
36373 (init): Get _Unwind_GetCFA address, use dummy if not found.
36374 (backtrace_helper): In recursion check, also check whether CFA changes.
36375 (__backtrace): Completely initialize arg.
36376
36377 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36378 storing incomplete byte sequence in state object. Avoid testing for
36379 guaranteed too small input if we know there is enough data available.
36380
36381 2011-05-11 Andreas Schwab <schwab@redhat.com>
36382
36383 * Makeconfig (+link-pie): Indent.
36384 * Rules (binaries-pie): Define if $(have-fpie) and
36385 $(build-shared).
36386 (binaries-shared): Also filter out $(binaries-pie).
36387 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36388 * nscd/Makefile (others-pie): Add nscd.
36389 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36390 ($(objpfx)nscd): Remove command override.
36391 * login/Makefile (others-pie): Add pt_chown.
36392 ($(objpfx)pt_chown): Remove command override.
36393 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36394 remove command overrides.
36395
36396 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36397
36398 * libio/tst_putwc.c: Fix error messages.
36399
36400 [BZ #12724]
36401 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36402 currently writing and seek to current position when not.
36403 * libio/Makefile (tests): Add bug-fclose1.
36404 * libio/bug-fclose1.c: New file.
36405
36406 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36407
36408 [BZ #12511]
36409 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36410 don't set DF_1_NODELETE here.
36411 (do_lookup_x): When entering new entry test for copy relocation
36412 and if necessary set DF_1_NODELETE flag.
36413 * elf/tst-unique4.cc: New file.
36414 * elf/tst-unique4.h: New file.
36415 * elf/tst-unique4lib.cc: New file.
36416 * elf/Makefile: Add rules to build and run tst-unique4.
36417 Patch by Piotr Bury <pbury@goahead.com>.
36418
36419 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36420
36421 [BZ #12052]
36422 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36423
36424 [BZ #12625]
36425 * misc/mntent_r.c (addmntent): Flush the stream after the output
36426
36427 [BZ #12393]
36428 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36429 (is_trusted_path_normalize): Skip initial colon. Append slash
36430 to empty buffer. Duplicate is_trusted_path code but allow
36431 constructed patch to be prefix.
36432 (is_dst): Allow $ORIGIN followed by /.
36433 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36434 Correct testing of result of is_trusted_path_normalize
36435 (decompose_rpath): Fix warning.
36436
36437 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36438
36439 [BZ #11257]
36440 * grp/initgroups.c (internal_getgrouplist): When we found the service
36441 list through the initgroups entry in nsswitch.conf do not always
36442 continue on a successful lookup. Don't always use the
36443 __nss_group_database value if it is set.
36444 * nss/nsswitch.conf (initgroups): Change action for successful db
36445 lookup to continue for compatibility.
36446
36447 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36448
36449 [BZ #11532]
36450 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36451 and CP774 modules.
36452 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36453 and CP774 modules.
36454 * iconvdata/tst-tables.sh: Likewise.
36455 * iconvdata/cp770.c: New file.
36456 * iconvdata/cp771.c: New file.
36457 * iconvdata/cp772.c: New file.
36458 * iconvdata/cp773.c: New file.
36459 * iconvdata/cp774.c: New file.
36460 * iconvdata/testdata/CP770: New file.
36461 * iconvdata/testdata/CP770..UTF8: New file.
36462 * iconvdata/testdata/CP771: New file.
36463 * iconvdata/testdata/CP771..UTF8: New file.
36464 * iconvdata/testdata/CP772: New file.
36465 * iconvdata/testdata/CP772..UTF8: New file.
36466 * iconvdata/testdata/CP773: New file.
36467 * iconvdata/testdata/CP773..UTF8: New file.
36468 * iconvdata/testdata/CP774: New file.
36469 * iconvdata/testdata/CP774..UTF8: New file.
36470
36471 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36472 END CHARMAP line.
36473 * iconvdata/gen-8bit-gap.sh: Likewise.
36474 * iconvdata/gen-8bit.sh: Likewise.
36475
36476 * locale/iso-639.def: Add ary entry.
36477
36478 [BZ #11258]
36479 * locale/C-translit.h.in: Add U20A1 transliteration.
36480
36481 [BZ #12178]
36482 * locale/iso-639.def: Add wae entry.
36483 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36484
36485 [BZ #12545]
36486 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36487 for n.
36488
36489 [BZ #12711]
36490 * locale/C-translit.h.in: Add entry for U20B9.
36491 Patch by pravin.d.s@gmail.com.
36492
36493 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36494
36495 [BZ #12713]
36496 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36497 ENAMETOOLONG use generic getcwd.
36498 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36499 in rtld. Use *stat64.
36500 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36501 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36502 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36503 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36504 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36505 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36506 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36507 __fstatat64 macros.
36508 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36509 * dirent/rewinddir.c: Add libc_hidden_def.
36510 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36511 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36512
36513 * include/dirent.h (__alloc_dir): Add flags parameter.
36514 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36515 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36516 __alloc_dir.
36517 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36518 from fdopendir if O_CLOEXEC is already set.
36519
36520 2011-03-15 Alan Modra <amodra@gmail.com>
36521
36522 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36523 l_tls_firstbyte_offset non-zero. Save padding offset in
36524 l_tls_firstbyte_offset for later use.
36525 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36526 freeing static tls block.
36527
36528 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36529
36530 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36531 where #ifdef was intended. The intent is to prevent ARG_MAX from
36532 being defined by the kernel headers.
36533
36534 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36535
36536 [BZ #12734]
36537 * resolv/resolv.h: Define RES_NOTLDQUERY.
36538 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36539 no-tld-query and set RES_NOTLDQUERY.
36540 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36541 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36542 modern BIND to search name as TLD unless forbidden.
36543
36544 2011-05-07 Petr Baudis <pasky@suse.cz>
36545 Ulrich Drepper <drepper@gmail.com>
36546
36547 [BZ #12393]
36548 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36549 (is_trusted_path): ...to here.
36550 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36551 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36552 using is_trusted_path_normalize() in setuid scripts.
36553
36554 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36555
36556 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36557 __BEGIN/__END_DECLS.
36558
36559 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36560
36561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36562 NSS_STATUS_NOTFOUND if no record was found.
36563
36564 2011-05-05 Andreas Schwab <schwab@redhat.com>
36565
36566 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36567 (headers-not-in-tirpc): Remove rpc/netdb.h
36568 * resolv/netdb.h: Revert last change.
36569
36570 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36571
36572 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36573 circular dependency between libgcc.a and libc.a.
36574
36575 2011-05-05 Andreas Schwab <schwab@redhat.com>
36576
36577 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36578 * nis/Makefile: Don't install rpcsvc/*.
36579 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36580 instead of <rpc/types.h>.
36581 (MAXHOSTNAMELEN): Define.
36582
36583 2011-05-03 Andreas Schwab <schwab@redhat.com>
36584
36585 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36586
36587 2011-04-28 Maciej Babinski <mbabinski@google.com>
36588
36589 [BZ #12714]
36590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36591 gethostbyname4_r when IPv6 results are possible.
36592
36593 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36594
36595 [BZ #12723]
36596 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36597 _PC_PIPE_BUF handling.
36598
36599 2011-04-30 Bruno Haible <bruno@clisp.org>
36600
36601 [BZ #12717]
36602 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36603 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36604 to 'int'.
36605 * inet/getnameinfo.c (getnameinfo): Likewise.
36606
36607 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36608
36609 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36610 to groups setting in database lookup.
36611 * nss/nsswitch.conf: Add initgroups entry.
36612
36613 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36614
36615 [BZ #12685]
36616 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36617 mode string.
36618 Patch by Eric Blake <eblake@redhat.com>.
36619
36620 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36621
36622 * sunrpc/Makefile (need-export-routines): Add svc_run.
36623 (routines): Remove svc_run.
36624 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36625 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36626 * sunrpc/svc_run.c (svc_run): Likewise.
36627 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36628
36629 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36630
36631 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36632 problem in reallocation in last patch.
36633
36634 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36635
36636 * sunrpc/Makefile: Move inclusion of Rules.
36637
36638 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36639
36640 * nss/nss_files/files-initgroups.c: New file.
36641 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36642 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36643 _nss_files_initgroups_dyn.
36644
36645 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36646
36647 * elf/elf.h (R_ARM_IRELATIVE): Define.
36648
36649 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36650
36651 * po/ru.po: Update from translation team.
36652
36653 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36654
36655 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36656 dependencies.
36657
36658 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36659
36660 [BZ #12653]
36661 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36662 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36663 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36664 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36666
36667 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36668
36669 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36670 differing bytes.
36671 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36673 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36674
36675 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36676
36677 [BZ #12420]
36678 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36679 storing it.
36680 * stdlib/bug-getcontext.c: New file.
36681 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36682
36683 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36684
36685 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36686 instructions into .machine "z9-109".
36687 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36688 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36689
36690 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36691
36692 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36693 between environment variables and auxiliary vector.
36694
36695 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36696
36697 * Makefile: Add rules to build linkobj/libc.so.
36698 * include/libc-symbols.h: Define libc_hidden_nolink.
36699 * include/rpc/auth.h: Mark functions which are to be hidden.
36700 * include/rpc/auth_des.h: Likewise.
36701 * include/rpc/auth_unix.h: Likewise.
36702 * include/rpc/clnt.h: Likewise.
36703 * include/rpc/des_crypt.h: Likewise.
36704 * include/rpc/key_prot.h: Likewise.
36705 * include/rpc/pmap_clnt.h: Likewise.
36706 * include/rpc/pmap_prot.h: Likewise.
36707 * include/rpc/pmap_rmt.h: Likewise.
36708 * include/rpc/rpc_msg.h: Likewise.
36709 * include/rpc/svc.h: Likewise.
36710 * include/rpc/svc_auth.h: Likewise.
36711 * include/rpc/xdr.h: Likewise.
36712 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36713 * nss/Makefile: Likewise.
36714 * sunrpc/Makefile: Don't install headers. Build library with normal
36715 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36716 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36717 for the compat linking library. Remove use of INTDEF/INTUSE.
36718 * sunrpc/auth_none.c: Likewise.
36719 * sunrpc/auth_unix.c: Likewise.
36720 * sunrpc/authdes_prot.c: Likewise.
36721 * sunrpc/authuxprot.c: Likewise.
36722 * sunrpc/clnt_gen.c: Likewise.
36723 * sunrpc/clnt_perr.c: Likewise.
36724 * sunrpc/clnt_raw.c: Likewise.
36725 * sunrpc/clnt_simp.c: Likewise.
36726 * sunrpc/clnt_tcp.c: Likewise.
36727 * sunrpc/clnt_udp.c: Likewise.
36728 * sunrpc/clnt_unix.c: Likewise.
36729 * sunrpc/des_crypt.c: Likewise.
36730 * sunrpc/des_soft.c: Likewise.
36731 * sunrpc/get_myaddr.c: Likewise.
36732 * sunrpc/key_call.c: Likewise.
36733 * sunrpc/key_prot.c: Likewise.
36734 * sunrpc/netname.c: Likewise.
36735 * sunrpc/pm_getmaps.c: Likewise.
36736 * sunrpc/pm_getport.c: Likewise.
36737 * sunrpc/pmap_clnt.c: Likewise.
36738 * sunrpc/pmap_prot.c: Likewise.
36739 * sunrpc/pmap_prot2.c: Likewise.
36740 * sunrpc/pmap_rmt.c: Likewise.
36741 * sunrpc/publickey.c: Likewise.
36742 * sunrpc/rpc_cmsg.c: Likewise.
36743 * sunrpc/rpc_common.c: Likewise.
36744 * sunrpc/rpc_dtable.c: Likewise.
36745 * sunrpc/rpc_prot.c: Likewise.
36746 * sunrpc/rpc_thread.c: Likewise.
36747 * sunrpc/rtime.c: Likewise.
36748 * sunrpc/svc.c: Likewise.
36749 * sunrpc/svc_auth.c: Likewise.
36750 * sunrpc/svc_authux.c: Likewise.
36751 * sunrpc/svc_raw.c: Likewise.
36752 * sunrpc/svc_run.c: Likewise.
36753 * sunrpc/svc_simple.c: Likewise.
36754 * sunrpc/svc_tcp.c: Likewise.
36755 * sunrpc/svc_udp.c: Likewise.
36756 * sunrpc/svc_unix.c: Likewise.
36757 * sunrpc/svcauth_des.c: Likewise.
36758 * sunrpc/xcrypt.c: Likewise.
36759 * sunrpc/xdr.c: Likewise.
36760 * sunrpc/xdr_array.c: Likewise.
36761 * sunrpc/xdr_float.c: Likewise.
36762 * sunrpc/xdr_intXX_t.c: Likewise.
36763 * sunrpc/xdr_mem.c: Likewise.
36764 * sunrpc/xdr_rec.c: Likewise.
36765 * sunrpc/xdr_ref.c: Likewise.
36766 * sunrpc/xdr_sizeof.c: Likewise.
36767 * sunrpc/xdr_stdio.c: Likewise.
36768
36769 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36770
36771 [BZ #12650]
36772 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36773 * sysdeps/ia64/dl-tls.h: Likewise.
36774 * sysdeps/powerpc/dl-tls.h: Likewise.
36775 * sysdeps/s390/dl-tls.h: Likewise.
36776 * sysdeps/sh/dl-tls.h: Likewise.
36777 * sysdeps/sparc/dl-tls.h: Likewise.
36778 * sysdeps/x86_64/dl-tls.h: Likewise.
36779 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36780
36781 2011-03-14 Andreas Schwab <schwab@redhat.com>
36782
36783 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36784 rpath element also skip the following colon.
36785 (expand_dynamic_string_token): Add is_path parameter and pass
36786 down to DL_DST_REQUIRED and _dl_dst_substitute.
36787 (decompose_rpath): Call expand_dynamic_string_token with
36788 non-zero is_path. Ignore empty rpaths.
36789 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36790 with zero is_path.
36791
36792 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36793
36794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36795 Make cancelable.
36796
36797 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36798
36799 [BZ #12655]
36800 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36801 Patch by Filipe David Manana <fdmanana@apache.org>.
36802
36803 2011-04-07 Andreas Schwab <schwab@redhat.com>
36804
36805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36806 Maintain aligned stack.
36807 (CHECK_RSP): Remove unused macro.
36808
36809 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36810
36811 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36812 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36813
36814 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36815
36816 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36817
36818 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36819
36820 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36821
36822 [BZ #12518]
36823 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36824 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36825 * sysdeps/x86_64/memmove.c: New file.
36826 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36827 (memcpy): Renamed to ...
36828 (__new_memcpy): This.
36829 (memcpy): Provide GLIBC_2_14 memcpy.
36830 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36831 (memcpy): Provide GLIBC_2_2_5 memcpy.
36832
36833 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36834
36835 [BZ #12631]
36836 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36837
36838 2011-03-30 Andreas Schwab <schwab@redhat.com>
36839
36840 * misc/syncfs.c: New file.
36841 * misc/Makefile (routines): Add syncfs.
36842 * posix/unistd.h: Declare syncfs.
36843 * sysdeps/unix/syscalls.list: Add syncfs.
36844
36845 2011-04-01 Andreas Schwab <schwab@redhat.com>
36846
36847 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36848 open_by_handle_at.
36849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36850 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36854 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36855 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36856
36857 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36858
36859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36860 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36861 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36866
36867 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36868 sync_file_range.c with -fexceptions.
36869 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36870 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36871 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36872 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36873 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36874 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36876 sync_file_range as cancellation point
36877 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36878 now a wrapper around __call_sync_file_range with cancellation handling.
36879 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36880 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36881 function name to __call_sync_file_range.
36882 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36883 Add call_sync_file_range.
36884
36885 2011-04-01 Andreas Schwab <schwab@redhat.com>
36886
36887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36888 bits/timex.h.
36889
36890 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36891
36892 * iconv/iconv.h: Fix typo in comment.
36893 * io/fcntl.h: Likewise.
36894 * libio/stdio.h: Likewise.
36895 * posix/spawn.h: Likewise.
36896 * posix/unistd.h: Likewise.
36897 * stdlib/stdlib.h: Likewise.
36898 * time/time.h: Likewise.
36899 * wcsmbs/wchar.h: Likewise.
36900
36901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36902 open_by_handle): Add.
36903 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36904 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36905 Augment a few comments.
36906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36908 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36911 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36912 open_by_handle.
36913
36914 * io/fcntl.h (AT_EMPTY_PATH): Define.
36915
36916 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36917
36918 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36919 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36920 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36921 to...
36922 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36923 * Versions.def: Add GLIBC_2.14.
36924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36925 Export.
36926
36927 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36928
36929 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36930 round counter.
36931 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36932
36933 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36934
36935 [BZ #12597]
36936 * string/test-strncmp.c (do_page_test): New function.
36937 (check2): Likewise.
36938 (test_main): Call check2.
36939 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36940
36941 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36942
36943 [BZ #12587]
36944 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36945 Handle cache information in CPU leaf 4.
36946 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36947
36948 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36949
36950 [BZ #12583]
36951 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36952 character representation.
36953 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36954
36955 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36956
36957 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36958 END(__isnan) to END(__isnanf) to match function entry point/label
36959 EALIGN(__isnanf,...).
36960
36961 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36962
36963 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36964
36965 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36966
36967 [BZ #12510]
36968 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36969 copy from the symbol referenced in the relocation to initialize the
36970 used variable.
36971 Patch by Piotr Bury <pbury@goahead.com>.
36972 * elf/Makefile: Add rules to build and tst-unique3.
36973 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36974 * elf/tst-unique3.cc: New file.
36975 * elf/tst-unique3.h: New file.
36976 * elf/tst-unique3lib.cc: New file.
36977 * elf/tst-unique3lib2.cc: New file.
36978
36979 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36980
36981 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36982
36983 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36984 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36985 to _start.
36986
36987 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36988
36989 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36990 to-be-loaded object along a path to loader is ld.so.
36991
36992 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36993 Ulrich Drepper <drepper@gmail.com>
36994
36995 * sysdeps/x86_64/memset.S: After aligning destination, code
36996 branches to different locations depending on the value of
36997 misalignment, when multiarch is enabled. Fix this.
36998
36999 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37000
37001 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37002 Set _x86_64_preferred_memory_instruction for AMD processsors.
37003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37004 Set bit_Prefer_SSE_for_memop for AMD processors.
37005
37006 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37007
37008 * libio/fmemopen.c (fmemopen): Optimize a bit.
37009
37010 2011-03-03 Andreas Schwab <schwab@redhat.com>
37011
37012 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37013
37014 2011-03-03 Roland McGrath <roland@redhat.com>
37015
37016 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37017
37018 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37019
37020 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37021 __bzero_ultra1 instead of __memset_ultra1.
37022
37023 2011-02-23 Andreas Schwab <schwab@redhat.com>
37024 Ulrich Drepper <drepper@gmail.com>
37025
37026 [BZ #12509]
37027 * include/link.h (struct link_map): Add l_orig_initfini.
37028 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37029 returning unsuccessfully.
37030 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37031 close of a file loaded at startup, restore the original l_initfini
37032 list.
37033 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37034 list, store the pointer.
37035 * elf/Makefile ($(objpfx)noload-mem): New rule.
37036 (noload-ENV): Define.
37037 (tests): Add $(objpfx)noload-mem.
37038 * elf/noload.c: Include <memcheck.h>.
37039 (main): Call mtrace. Close all opened handles.
37040
37041 2011-02-17 Andreas Schwab <schwab@redhat.com>
37042
37043 [BZ #12454]
37044 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37045 dependencies are missing.
37046
37047 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37048
37049 Fix __if_freereq crash: Unlike the generic version which uses free,
37050 Hurd needs munmap.
37051 * sysdeps/mach/hurd/ifreq.h: New file.
37052
37053 2011-01-27 Petr Baudis <pasky@suse.cz>
37054 Ulrich Drepper <drepper@gmail.com>
37055
37056 [BZ 12445]#
37057 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37058 to extend_alloca().
37059 * stdio-common/bug23.c: New file.
37060 * stdio-common/Makefile (tests): Add bug23.
37061
37062 2010-09-28 Andreas Schwab <schwab@redhat.com>
37063 Ulrich Drepper <drepper@gmail.com>
37064
37065 [BZ #12489]
37066 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37067 before performing relro protection. At old place add assertion
37068 to make sure nothing changed.
37069
37070 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37071 Glauber de Oliveira Costa <glommer@gmail.com>
37072
37073 * elf/elf.h: Add new ARM TLS relocs.
37074
37075 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37076
37077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37078 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37079 cast from r3.
37080 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37081 'tests' variable.
37082 * sysdeps/wordsize-64/tst-writev.c: New file.
37083
37084 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37085
37086 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37087 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37088 insns in _dl_start to prevent a TOC reference before relocs are
37089 resolved.
37090
37091 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37092
37093 [BZ #12469]
37094 * Makeconfig: Remove RANLIB definition.
37095 * Makerules: Don't use RANLIB.
37096 * aclocal.m4: Remove ranlib test.
37097 * configure.in: No need to check for ranlib.
37098 * elf/rtld-Rules: Don't use RANLIB.
37099
37100 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37101
37102 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37103 protection macro.
37104 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37105 inclusion protection macro.
37106
37107 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37108 SIGRTMIN and SIGRTMAX and print information in that case only when
37109 SIGRTMIN is defined.
37110
37111 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37112
37113 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37114 arginfo fn returning -1.
37115
37116 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37117 and thousands string is zero terminated.
37118
37119 2011-02-03 Andreas Schwab <schwab@redhat.com>
37120
37121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37122 sysdeps/unix/sysv/linux/bits/socket.h.
37123
37124 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37125
37126 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37127 (__CPU_COUNT): Remove old macros.
37128 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37129 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37130 (__CPU_ALLOC, __CPU_FREE): Add macros.
37131 (__sched_cpualloc, __sched_cpufree): Add declarations.
37132
37133 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37134
37135 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37136 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37137 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37138 (readdhstai): Return value of addhstaiX call.
37139 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37140 (addgrbyX): Return value returned by cache_addgr.
37141 (readdgrbyname): Return value returned by addgrbyX.
37142 (readdgrbygid): Likewise.
37143 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37144 (addpwbyX): Return value returned by cache_addpw.
37145 (readdpwbyname): Return value returned by addhstbyX.
37146 (readdpwbyuid): Likewise.
37147 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37148 (addservbyX): Return value returned by cache_addserv.
37149 (readdservbyname): Return value returned by addservbyX:
37150 (readdservbyport): Likewise.
37151 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37152 (addhstbyX): Return value returned by cache_addhst.
37153 (readdhstbyname): Return value returned by addhstbyX.
37154 (readdhstbyaddr): Likewise.
37155 (readdhstbynamev6): Likewise.
37156 (readdhstbyaddrv6): Likewise.
37157 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37158 (readdinitgroups): Return value returned by addinitgroupsX.
37159 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37160 (prune_cache): Keep track of timeout value of re-added entries.
37161 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37162 * nscd/nscd.h: Adjust prototypes of readd* functions.
37163
37164 2011-02-04 Roland McGrath <roland@redhat.com>
37165
37166 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37167 (nis_stats): Likewise.
37168 * nis/nis_modify.c (nis_modify): Likewise.
37169 * nis/nis_remove.c (nis_remove): Likewise.
37170 * nis/nis_add.c (nis_add): Likewise.
37171
37172 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37173
37174 * posix/fnmatch_loop.c: Add some consts.
37175
37176 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37177
37178 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37179
37180 [BZ #12460]
37181 * config.make.in (config-cflags-novzeroupper): Define.
37182 * configure.in: Substitute libc_cv_cc_novzeroupper.
37183 * elf/Makefile (AVX-CFLAGS): Define.
37184 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37185 (CFLAGS-tst-auditmod4a.c): Likewise.
37186 (CFLAGS-tst-auditmod4b.c): Likewise.
37187 (CFLAGS-tst-auditmod6b.c): Likewise.
37188 (CFLAGS-tst-auditmod6c.c): Likewise.
37189 (CFLAGS-tst-auditmod7b.c): Likewise.
37190 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37191
37192 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37193
37194 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37195 function to the callback.
37196 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37197
37198 2011-02-02 Andreas Schwab <schwab@redhat.com>
37199
37200 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37201 of errno.
37202
37203 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37204
37205 [BZ #11724]
37206 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37207 of constructors.
37208 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37209 of destructors.
37210 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37211
37212 [BZ #11724]
37213 * elf/Makefile: Add rules to build and run new test.
37214 * elf/tst-initorder.c: New file.
37215 * elf/tst-initorder.exp: New file.
37216 * elf/tst-initordera1.c: New file.
37217 * elf/tst-initordera2.c: New file.
37218 * elf/tst-initordera3.c: New file.
37219 * elf/tst-initordera4.c: New file.
37220 * elf/tst-initorderb1.c: New file.
37221 * elf/tst-initorderb2.c: New file.
37222 * elf/tst-order-a1.c: New file.
37223 * elf/tst-order-a2.c: New file.
37224 * elf/tst-order-a3.c: New file.
37225 * elf/tst-order-a4.c: New file.
37226 * elf/tst-order-b1.c: New file.
37227 * elf/tst-order-b2.c: New file.
37228 * elf/tst-order-main.c: New file.
37229 New test case by George Gensure <werkt0@gmail.com>.
37230
37231 2010-10-01 Andreas Schwab <schwab@redhat.com>
37232
37233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37234 decoding ACE if AI_CANONIDN.
37235
37236 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37237
37238 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37239
37240 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37241
37242 * version.h (RELEASE): Bump for 2.13 release.
37243 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37244
37245 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37246
37247 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37248 MADV_NOHUGEPAGE.
37249 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37251 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37252 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37253 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37254 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37255
37256 * posix/getconf.c: Update copyright year.
37257 * catgets/gencat.c: Likewise.
37258 * csu/version.c: Likewise.
37259 * debug/catchsegv.sh: Likewise.
37260 * debug/xtrace.sh: Likewise.
37261 * elf/ldconfig.c: Likewise.
37262 * elf/ldd.bash.in: Likewise.
37263 * elf/sprof.c (print_version): Likewise.
37264 * iconv/iconv_prog.c: Likewise.
37265 * iconv/iconvconfig.c: Likewise.
37266 * locale/programs/locale.c: Likewise.
37267 * locale/programs/localedef.c: Likewise.
37268 * malloc/memusage.sh: Likewise.
37269 * malloc/mtrace.pl: Likewise.
37270 * nscd/nscd.c (print_version): Likewise.
37271 * nss/getent.c: Likewise.
37272
37273 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37274 PF_CAIF, and PF_ALG.
37275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37276
37277 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37278
37279 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37280 (modules-names): Use them.
37281 (ifunc-test-modules, ifunc-pie-tests): Define.
37282 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37283 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37284 (test-extras): Likewise.
37285 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37286 $(compile-command.c).
37287 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37288 (all-built-dso): Define.
37289 (check-textrel.out, check-execstack.out): Depend on it.
37290
37291 * configure.in: Don't override --enable-multi-arch.
37292
37293 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37294
37295 [BZ #6812]
37296 * nscd/hstcache.c (tryagain): Define.
37297 (cache_addhst): Return tryagain not notfound for temporary errors.
37298 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37299 failed.
37300
37301 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37302
37303 [BZ #10563]
37304 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37305 to make the syscall.
37306 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37307
37308 [BZ #12378]
37309 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37310 and fall back to matching as normal character if the string ends before
37311 the matching ']' is found. This is what POSIX requires.
37312 * posix/testfnm.c: Adjust test result.
37313 * posix/globtest.sh: Adjust test result. Add new test.
37314 * posix/tst-fnmatch.input: Likewise.
37315 * posix/tst-fnmatch2.c: Add new test.
37316
37317 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37318
37319 * elf/Makefile (check-execstack): Revert last change. Depend on
37320 check-execstack.h.
37321 (check-execstack.h): New target.
37322 (generated): Add check-execstack.h.
37323 * elf/check-execstack.c: Include "check-execstack.h".
37324 (main): Revert last change.
37325 (handle_file): Return zero if GNU_STACK is absent and
37326 DEFAULT_STACK_PERMS doesn't include PF_X.
37327
37328 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37329
37330 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37331 in child fails because the descriptor is already closed.
37332 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37333 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37334 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37335
37336 [BZ #12397]
37337 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37338 syscall.
37339
37340 [BZ #10484]
37341 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37342 temporary buffer used to handle multi lookups locally.
37343 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37344
37345 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37346
37347 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37348 loader is ld.so.
37349
37350 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37351
37352 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37353 alignment for SSE2.
37354
37355 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37356
37357 [BZ #12394]
37358 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37359 characters. When rounding increased number of integer digits recompute
37360 number of groups.
37361 * stdio-common/tst-grouping.c: New file.
37362 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37363
37364 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37365
37366 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37367 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37368
37369 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37370 void.
37371 * bits/select.h: Likewise.
37372
37373 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37374
37375 * po/ja.po: Update from translation team.
37376
37377 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37378
37379 [BZ #11155]
37380 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37381 implementation just like for lxstat, fxstatat, et al.
37382
37383 2010-12-27 Jim Meyering <meyering@redhat.com>
37384
37385 [BZ #12348]
37386 * posix/regexec.c (build_trtable): Return failure indication upon
37387 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37388
37389 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37390
37391 [BZ #12201]
37392 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37393 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37394 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37395 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37396
37397 [BZ #12207]
37398 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37399
37400 [BZ #12204]
37401 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37402 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37403
37404 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37405
37406 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37407 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37408 script has SORT_BY_INIT_PRIORITY.
37409 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37410 NO_CTORS_DTORS_SECTIONS is defined.
37411 * elf/soinit.c: Likewise.
37412 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37413 NO_CTORS_DTORS_SECTIONS is defined.
37414 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37415 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37416 * sysdeps/sh/init-first.c: Likewise.
37417 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37418
37419 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37420
37421 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37422 always use the slow path.
37423
37424 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37425
37426 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37427 similar rule which adds the sysdep directories to the header search in
37428 order to pick up the correct platform stackinfo.h.
37429 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37430 perform test if it is, otherwise return successfully without testing.
37431 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37432 DEFAULT_STACK_PERMS define in stackinfo.h.
37433 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37434 defined in stackinfo.h.
37435 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37436 DEFAULT_STACK_PERMS defined in stackinfo.h.
37437 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37438 * sysdeps/ia64/stackinfo.h: Likewise.
37439 * sysdeps/s390/stackinfo.h: Likewise.
37440 * sysdeps/sh/stackinfo.h: Likewise.
37441 * sysdeps/sparc/stackinfo.h: Likewise.
37442 * sysdeps/x86_64/stackinfo.h: Likewise.
37443 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37444 PF_X for powerpc64. Retain PF_X for powerpc32.
37445
37446 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37447
37448 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37449 accurately.
37450 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37451 GETDENTS_64BIT_ALIGNED.
37452
37453 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37454
37455 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37456
37457 2010-12-10 Andreas Schwab <schwab@redhat.com>
37458
37459 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37460 _GNU_SOURCE.
37461
37462 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37463 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37464 Remove __restrict.
37465 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37466 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37467
37468 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37469
37470 [BZ #11655]
37471 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37472 are initialized.
37473
37474 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37475
37476 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37477
37478 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37479
37480 * po/it.po: Update from translation team.
37481
37482 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37483
37484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37485 unused codes.
37486
37487 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37488
37489 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37490
37491 2010-11-24 Andreas Schwab <schwab@redhat.com>
37492
37493 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37494 specially.
37495 (gaih_getanswer_slice): Likewise.
37496
37497 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37498
37499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37500
37501 2010-05-31 Petr Baudis <pasky@suse.cz>
37502
37503 [BZ #11149]
37504 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37505 silently even in the chroot mode.
37506
37507 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37508
37509 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37510 last patch a bit. Pretty printing
37511
37512 2010-05-31 Petr Baudis <pasky@suse.cz>
37513
37514 [BZ #10085]
37515 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37516 initialization of skip_initgroups_dyn.
37517
37518 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37519
37520 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37522
37523 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37524
37525 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37526
37527 2010-11-11 Andreas Schwab <schwab@redhat.com>
37528
37529 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37530 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37531 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37532 ($(objpfx)tst-fnmatch-mem): New rule.
37533 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37534 * posix/tst-fnmatch.c (main): Call mtrace.
37535
37536 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37537
37538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37539 Support Intel processor model 6 and model 0x2c.
37540
37541 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37542
37543 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37544 signed comparison.
37545
37546 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37547
37548 [BZ #12205]
37549 * string/test-strncasecmp.c (check_result): New function.
37550 (do_one_test): Use it.
37551 (check1): New function.
37552 (test_main): Use it.
37553 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37554 Support strcasecmp and strncasecmp.
37555
37556 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37557
37558 [BZ #12194]
37559 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37560 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37561
37562 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37563
37564 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37565 IFUNC support.
37566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37567 memset-x86-64.
37568 * sysdeps/x86_64/multiarch/bzero.S: New file.
37569 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37570 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37571 * sysdeps/x86_64/multiarch/memset.S: New file.
37572 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37574 Set bit_Prefer_SSE_for_memop for Intel processors.
37575 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37576 Define.
37577 (index_Prefer_SSE_for_memop): Define.
37578 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37579
37580 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37581
37582 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37583 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37584
37585 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37586
37587 [BZ #12191]
37588 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37589 (__x86_64_raw_data_cache_size_half): Likewise.
37590 (__x86_64_raw_shared_cache_size): Likewise.
37591 (__x86_64_raw_shared_cache_size_half): Likewise.
37592
37593 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37594 (__x86_64_raw_data_cache_size_half): Likewise.
37595 (__x86_64_raw_shared_cache_size): Likewise.
37596 (__x86_64_raw_shared_cache_size_half): Likewise.
37597 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37598 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37599 and __x86_64_raw_shared_cache_size_half. Round
37600 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37601 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37602 to multiple of 256 bytes.
37603
37604 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37605
37606 [BZ #12167]
37607 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37608 of inacessible symlinks. Verify result of symlink before returning it.
37609 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37610 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37611
37612 2010-10-28 Erich Ritz <erichritz@gmail.com>
37613
37614 * math/math.h (isinf): Fix typo in comment.
37615
37616 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37617
37618 * po/da.po: Update from translation team.
37619
37620 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37621
37622 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37623 is added to the list.
37624
37625 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37626 Ulrich Drepper <drepper@gmail.com>
37627
37628 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37629 the global list here. Move code to...
37630 (_dl_add_to_namespace_list): ...here. New function.
37631 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37632 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37633 * elf/dl-load.c (lose): Don't remove the element from the list.
37634 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37635 (_dl_map_object): Likewise.
37636
37637 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37638
37639 [BZ #12159]
37640 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37641 into all bytes of SSE register.
37642 Patch by Richard Li <richardpku@gmail.com>.
37643
37644 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37645
37646 [BZ #12140]
37647 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37648 perturbing.
37649
37650 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37651
37652 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37653 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37654 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37655 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37657 submachine.
37658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37659
37660 2010-10-22 Andreas Schwab <schwab@redhat.com>
37661
37662 * include/dlfcn.h (__RTLD_SECURE): Define.
37663 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37664 mode & __RTLD_SECURE instead.
37665 (open_path): Rename preloaded parameter to secure.
37666 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37667 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37668 * elf/dl-deps.c (openaux): Likewise.
37669 * elf/rtld.c (struct map_args): Remove is_preloaded.
37670 (map_doit): Don't use it.
37671 (dl_main): Likewise.
37672 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37673 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37674
37675 2010-09-09 Andreas Schwab <schwab@redhat.com>
37676
37677 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37678 (sysd-rules-targets): Remove duplicates.
37679 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37680 rtld-%.$o dependency.
37681
37682 2010-10-18 Andreas Schwab <schwab@redhat.com>
37683
37684 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37685 _dl_map_object do it.
37686
37687 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37688
37689 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37690 fast fma builtins, define the macros in the C99 standard.
37691 (FP_FAST_FMAF): Likewise.
37692 (FP_FAST_FMAL): Likewise.
37693 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37694
37695 * bits/mathdef.h: Update copyright year.
37696 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37697
37698 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37699
37700 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37701 builtins, define the macros in the C99 standard.
37702 (FP_FAST_FMAF): Likewise.
37703 (FP_FAST_FMAL): Likewise.
37704 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37705 multiply/add.
37706 (FP_FAST_FMAF): Likewise.
37707
37708 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37709
37710 [BZ #3268]
37711 * math/libm-test.inc (fma_test): Some new testcases.
37712 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37713 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37714 y and infinite z. Do multiplication by C already in long double.
37715 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37717 y and infinite z. Do bitwise or of inexact bit into u.d.
37718 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37719 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37720 * sysdeps/i386/fpu/s_fma.S: Removed.
37721 * sysdeps/i386/fpu/s_fmal.S: Removed.
37722
37723 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37724
37725 [BZ #3268]
37726 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37728 computation is not scheduled after fetestexcept. Fix value
37729 of minimum denormal long double.
37730
37731 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37732
37733 [BZ #3268]
37734 * math/libm-test.inc (fma_test): Add some more tests.
37735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37736 correctly.
37737
37738 2010-10-15 Andreas Schwab <schwab@redhat.com>
37739
37740 * scripts/data/localplt-s390-linux-gnu.data: New file.
37741 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37742
37743 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37744
37745 [BZ #3268]
37746 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37747 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37748 instead of dbl-64.
37749 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37750 inlines.
37751 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37753 if one of x and y is very large and the other is subnormal.
37754 * sysdeps/s390/fpu/s_fmaf.c: New file.
37755 * sysdeps/s390/fpu/s_fma.c: New file.
37756 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37757 * sysdeps/powerpc/fpu/s_fma.S: New file.
37758 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37759 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37760 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37761
37762 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37763
37764 [BZ #3268]
37765 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37766 fma tests.
37767 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37768 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37769 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37770 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37771 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37772 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37774
37775 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37776
37777 [BZ #12078]
37778 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37779 * posix/bug-regex31.input: Add test case.
37780
37781 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37782
37783 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37784 * posix/bug-regex31.input: New file.
37785
37786 [BZ #12078]
37787 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37788 (parse_sub_exp): Fix last change, use postorder.
37789
37790 * posix/bug-regex31.c: New file.
37791 * posix/Makefile: Add rules to build and run bug-regex31.
37792
37793 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37794
37795 [BZ #12078]
37796 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37797
37798 [BZ #12108]
37799 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37800 to have entries in sys_siglist.
37801
37802 [BZ #12093]
37803 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37804 be NULL.
37805
37806 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37807
37808 [BZ #3268]
37809 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37810 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37811 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37812 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37813 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37814 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37815 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37816 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37817 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37818 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37819 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37820 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37821 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37822 * math/ftestexcept.c (fetestexcept): Likewise.
37823 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37824 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37825 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37826 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37827 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37828 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37829 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37830
37831 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37832
37833 [BZ #12107]
37834 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37835 newline.
37836
37837 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37838
37839 * string/bug-strstr1.c: New file.
37840 * string/Makefile: Add rules to build and run bug-strstr1.
37841
37842 2010-10-05 Eric Blake <eblake@redhat.com>
37843
37844 [BZ #12092]
37845 * string/str-two-way.h (two_way_long_needle): Always clear memory
37846 when skipping input due to the shift table.
37847
37848 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37849
37850 [BZ #12005]
37851 * malloc/mcheck.c: Handle large requests.
37852
37853 [BZ #12077]
37854 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37855 for strncmp and strncasecmp.
37856 * string/stratcliff.c: Add tests for strcmp and strncmp.
37857 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37858
37859 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37860
37861 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37862 __set_fpscr.
37863
37864 2010-09-30 Andreas Jaeger <aj@suse.de>
37865
37866 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37867 (CGROUP_SUPER_MAGIC): Define.
37868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37869 Handle btrfs and cgroup file systems.
37870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37871 Likewise.
37872
37873 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37874
37875 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37876 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37877
37878 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37879
37880 [BZ #12067]
37881 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37882 trying to locate the ELF header.
37883
37884 2010-09-27 Andreas Schwab <schwab@redhat.com>
37885
37886 [BZ #11611]
37887 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37888 Mask out sign-bit copies when constructing f_fsid.
37889
37890 2010-09-24 Petr Baudis <pasky@suse.cz>
37891
37892 * debug/stack_chk_fail_local.c: Add missing licence exception.
37893 * debug/warning-nop.c: Likewise.
37894
37895 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37896
37897 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37898 implementing getdents64 using getdents syscall, set d_type if
37899 __ASSUME_GETDENTS32_D_TYPE.
37900
37901 2010-09-16 Andreas Schwab <schwab@redhat.com>
37902
37903 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37904 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37905
37906 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37907
37908 [BZ #12037]
37909 * posix/unistd.h: Undo change of feature selection for ftruncate from
37910 2010-01-11.
37911
37912 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37913
37914 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37915 detection.
37916
37917 2010-09-20 Andreas Schwab <schwab@redhat.com>
37918
37919 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37920 fanotify_mark.
37921 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37922
37923 2010-09-14 Andreas Schwab <schwab@redhat.com>
37924
37925 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37926 variables after CHECK_SP call.
37927 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37928
37929 2010-09-13 Andreas Schwab <schwab@redhat.com>
37930 Ulrich Drepper <drepper@redhat.com>
37931
37932 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37933 re-relocationg ld.so.
37934 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37935 _dl_init_paths call.
37936 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37937 here anymore.
37938
37939 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37940
37941 * resolv/res_init.c (__res_vinit): Count the default server we added.
37942
37943 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37944 Ulrich Drepper <drepper@redhat.com>
37945
37946 [BZ #11968]
37947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37948 (____longjmp_chk): Use %ebx for saving value across system call.
37949 Add unwind info.
37950
37951 2010-09-06 Andreas Schwab <schwab@redhat.com>
37952
37953 * manual/Makefile: Don't mix pattern rules with normal rules.
37954
37955 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37956
37957 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37958 operation.
37959 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37960 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37961 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37962 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37964 Likewise.
37965
37966 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37967
37968 [BZ #11979]
37969 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37970 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37971
37972 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37973
37974 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37975 * sysdeps/x86_64/addmul_1.S: Likewise.
37976 * sysdeps/x86_64/lshift.S: Likewise.
37977 * sysdeps/x86_64/mul_1.S: Likewise.
37978 * sysdeps/x86_64/rshift.S: Likewise.
37979 * sysdeps/x86_64/sub_n.S: Likewise.
37980 * sysdeps/x86_64/submul_1.S: Likewise.
37981
37982 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37983
37984 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37985 Define __sched_param instead of SCHED_* and sched_param when
37986 <bits/sched.h> is included with __need_schedparam defined.
37987 * bits/sched.h [__need_schedparam]
37988 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37989 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37990 (__defined_schedparam): Define to 1.
37991 (__sched_param): New structure, identical to sched_param.
37992 (__need_schedparam): Undefine.
37993
37994 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37995
37996 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37997 (epoll_create1): Declare.
37998
37999 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38000
38001 2010-08-31 Andreas Schwab <schwab@redhat.com>
38002
38003 [BZ #7066]
38004 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38005 shifting retval into place.
38006
38007 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38008
38009 * nis/rpcsvc/nis.h: Update copyright notice.
38010 * nis/rpcsvc/nis.x: Likewise.
38011 * nis/rpcsvc/nis_callback.h: Likewise.
38012 * nis/rpcsvc/nis_callback.x: Likewise.
38013 * nis/rpcsvc/nis_object.x: Likewise.
38014 * nis/rpcsvc/nis_tags.h: Likewise.
38015 * nis/rpcsvc/yp.h: Likewise.
38016 * nis/rpcsvc/yp.x: Likewise.
38017 * nis/rpcsvc/ypupd.h: Likewise.
38018 * nis/yp_xdr.c: Likewise.
38019 * nis/ypupdate_xdr.c: Likewise.
38020
38021 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38022 mainly the body of pmap_getport. Add parameters to specify timeouts.
38023 (pmap_getport): Use __libc_rpc_getport.
38024 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38025 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38026 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38027
38028 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38029
38030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38031 fanotify_mark.
38032
38033 2010-08-27 Roland McGrath <roland@redhat.com>
38034
38035 * sysdeps/i386/i686/multiarch/Makefile
38036 (CFLAGS-varshift.c): New variable.
38037
38038 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38039
38040 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38041 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38042
38043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38044
38045 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38046
38047 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38048
38049 * sysdeps/x86_64/strlen.S: Unroll the loop.
38050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38051 strlen-sse2 strlen-sse2-bsf.
38052 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38053 __strlen_no_bsf if bit_Slow_BSF is set.
38054 (__strlen_sse42): Removed.
38055 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38056 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38057
38058 2010-08-25 Roland McGrath <roland@redhat.com>
38059
38060 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38061 * sysdeps/x86_64/multiarch/varshift.c: New file.
38062 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38063 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38064 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38065 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38066
38067 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38068
38069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38070 strlen-sse2 strlen-sse2-bsf.
38071 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38072 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38073 (__strlen_sse2): Removed.
38074 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38077 bit_Slow_BSF for Atom.
38078 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38079 (index_Slow_BSF): Define.
38080 (HAS_SLOW_BSF): Define.
38081
38082 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38083
38084 [BZ #10851]
38085 * resolv/res_init.c (__res_vinit): When no server address at all
38086 is given default to loopback.
38087
38088 2010-08-24 Roland McGrath <roland@redhat.com>
38089
38090 * configure.in: Remove config-name.h generation.
38091 * configure: Regenerated.
38092 * config-name.in: File removed.
38093 * scripts/config-uname.sh: New file.
38094 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38095 ($(objdir)config-name.h): New target.
38096
38097 * sunrpc/rpc_parse.h: Avoid nested comment.
38098
38099 2010-08-24 Richard Henderson <rth@redhat.com>
38100 Ulrich Drepper <drepper@redhat.com>
38101 H.J. Lu <hongjiu.lu@intel.com>
38102
38103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38105 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38106 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38107 _mm_alignr_epi8 with _mm_loadu_si128.
38108 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38109 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38110 (__m128i_shift_right): Removed.
38111 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38112 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38113 * sysdeps/x86_64/multiarch/varshift.h: New file.
38114 * sysdeps/x86_64/multiarch/varshift.S: New file.
38115
38116 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38117
38118 * configure.in: Move assembler checks to before sysdep dir checking.
38119
38120 2010-08-20 Petr Baudis <pasky@suse.cz>
38121
38122 * LICENSES: Sync the sunrpc license.
38123
38124 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38125
38126 * sunrpc/auth_des.c: Update copyright notice once again.
38127 * sunrpc/auth_none.c: Likewise.
38128 * sunrpc/auth_unix.c: Likewise.
38129 * sunrpc/authdes_prot.c: Likewise.
38130 * sunrpc/authuxprot.c: Likewise.
38131 * sunrpc/bindrsvprt.c: Likewise.
38132 * sunrpc/clnt_gen.c: Likewise.
38133 * sunrpc/clnt_perr.c: Likewise.
38134 * sunrpc/clnt_raw.c: Likewise.
38135 * sunrpc/clnt_simp.c: Likewise.
38136 * sunrpc/clnt_tcp.c: Likewise.
38137 * sunrpc/clnt_udp.c: Likewise.
38138 * sunrpc/clnt_unix.c: Likewise.
38139 * sunrpc/des_crypt.c: Likewise.
38140 * sunrpc/des_soft.c: Likewise.
38141 * sunrpc/get_myaddr.c: Likewise.
38142 * sunrpc/getrpcport.c: Likewise.
38143 * sunrpc/key_call.c: Likewise.
38144 * sunrpc/key_prot.c: Likewise.
38145 * sunrpc/openchild.c: Likewise.
38146 * sunrpc/pm_getmaps.c: Likewise.
38147 * sunrpc/pm_getport.c: Likewise.
38148 * sunrpc/pmap_clnt.c: Likewise.
38149 * sunrpc/pmap_prot.c: Likewise.
38150 * sunrpc/pmap_prot2.c: Likewise.
38151 * sunrpc/pmap_rmt.c: Likewise.
38152 * sunrpc/rpc/auth.h: Likewise.
38153 * sunrpc/rpc/auth_unix.h: Likewise.
38154 * sunrpc/rpc/clnt.h: Likewise.
38155 * sunrpc/rpc/des_crypt.h: Likewise.
38156 * sunrpc/rpc/key_prot.h: Likewise.
38157 * sunrpc/rpc/netdb.h: Likewise.
38158 * sunrpc/rpc/pmap_clnt.h: Likewise.
38159 * sunrpc/rpc/pmap_prot.h: Likewise.
38160 * sunrpc/rpc/pmap_rmt.h: Likewise.
38161 * sunrpc/rpc/rpc.h: Likewise.
38162 * sunrpc/rpc/rpc_des.h: Likewise.
38163 * sunrpc/rpc/rpc_msg.h: Likewise.
38164 * sunrpc/rpc/svc.h: Likewise.
38165 * sunrpc/rpc/svc_auth.h: Likewise.
38166 * sunrpc/rpc/types.h: Likewise.
38167 * sunrpc/rpc/xdr.h: Likewise.
38168 * sunrpc/rpc_clntout.c: Likewise.
38169 * sunrpc/rpc_cmsg.c: Likewise.
38170 * sunrpc/rpc_common.c: Likewise.
38171 * sunrpc/rpc_cout.c: Likewise.
38172 * sunrpc/rpc_dtable.c: Likewise.
38173 * sunrpc/rpc_hout.c: Likewise.
38174 * sunrpc/rpc_main.c: Likewise.
38175 * sunrpc/rpc_parse.c: Likewise.
38176 * sunrpc/rpc_parse.h: Likewise.
38177 * sunrpc/rpc_prot.c: Likewise.
38178 * sunrpc/rpc_sample.c: Likewise.
38179 * sunrpc/rpc_scan.c: Likewise.
38180 * sunrpc/rpc_scan.h: Likewise.
38181 * sunrpc/rpc_svcout.c: Likewise.
38182 * sunrpc/rpc_tblout.c: Likewise.
38183 * sunrpc/rpc_util.c: Likewise.
38184 * sunrpc/rpc_util.h: Likewise.
38185 * sunrpc/rpcinfo.c: Likewise.
38186 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38187 * sunrpc/rpcsvc/key_prot.x: Likewise.
38188 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38189 * sunrpc/rpcsvc/mount.x: Likewise.
38190 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38191 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38192 * sunrpc/rpcsvc/rex.x: Likewise.
38193 * sunrpc/rpcsvc/rstat.x: Likewise.
38194 * sunrpc/rpcsvc/rusers.x: Likewise.
38195 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38196 * sunrpc/rpcsvc/spray.x: Likewise.
38197 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38198 * sunrpc/rtime.c: Likewise.
38199 * sunrpc/svc.c: Likewise.
38200 * sunrpc/svc_auth.c: Likewise.
38201 * sunrpc/svc_authux.c: Likewise.
38202 * sunrpc/svc_raw.c: Likewise.
38203 * sunrpc/svc_run.c: Likewise.
38204 * sunrpc/svc_simple.c: Likewise.
38205 * sunrpc/svc_tcp.c: Likewise.
38206 * sunrpc/svc_udp.c: Likewise.
38207 * sunrpc/svc_unix.c: Likewise.
38208 * sunrpc/svcauth_des.c: Likewise.
38209 * sunrpc/xcrypt.c: Likewise.
38210 * sunrpc/xdr.c: Likewise.
38211 * sunrpc/xdr_array.c: Likewise.
38212 * sunrpc/xdr_float.c: Likewise.
38213 * sunrpc/xdr_mem.c: Likewise.
38214 * sunrpc/xdr_rec.c: Likewise.
38215 * sunrpc/xdr_ref.c: Likewise.
38216 * sunrpc/xdr_sizeof.c: Likewise.
38217 * sunrpc/xdr_stdio.c: Likewise.
38218
38219 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38220 handling.
38221
38222 2010-08-19 Andreas Schwab <schwab@redhat.com>
38223
38224 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38225
38226 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38227
38228 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38229 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38230 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38231 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38232 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38233 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38234 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38235 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38236 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38237 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38238 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38239 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38240 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38241 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38242
38243 2010-07-26 Anton Blanchard <anton@samba.org>
38244
38245 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38246 * malloc/arena.c (heap_trim): Likewise.
38247
38248 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38249
38250 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38251 here. Not...
38252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38253 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38254
38255 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38256
38257 * sysdeps/i386/elf/Makefile: New file.
38258
38259 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38260
38261 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38262 from fanotify_init.
38263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38265
38266 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38267
38268 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38269 of strncasecmp_l.
38270 * sysdeps/multiarch/strcmp.S: Likewise.
38271
38272 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38273
38274 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38275 strncase_l-nonascii.
38276 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38277 Add strncase_l-ssse3.
38278 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38279 * sysdeps/x86_64/strcmp.S: Likewise.
38280 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38281 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38282 * sysdeps/x86_64/strncase.S: New file.
38283 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38284 * sysdeps/x86_64/strncase_l.S: New file.
38285 * string/Makefile (strop-tests): Add strncasecmp.
38286 * string/test-strncasecmp.c: New file.
38287
38288 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38289 warning.
38290
38291 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38292 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38293
38294 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38295
38296 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38297
38298 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38299
38300 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38301 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38302 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38303
38304 2010-05-01 Alan Modra <amodra@gmail.com>
38305
38306 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38307 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38308 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38309 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38310 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38311 tidying. Don't tail-call __sigjmp_save for static lib.
38312 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38313 save location.
38314 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38315 (CALL_MCOUNT): Add eh info, and nop after bl.
38316 (TAIL_CALL_SYSCALL_ERROR): New macro.
38317 (PSEUDO_RET): Use it.
38318 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38319 Correct save location of integer regs and cr.
38320 (_dl_profile_resolve): Correct cr save location. Delete nops
38321 after bl when SHARED. Reduce cfi size a little by better
38322 placement of cfi directives.
38323 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38324 make a stack frame. Instead use parm save area as a temp.
38325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38326 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38328 Don't make a stack frame for parent, use parm save area.
38329 Increase child stack frame to 112 bytes. Don't save unused reg,
38330 and adjust reg usage. Set up cfi on error recovery and
38331 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38333 (__makecontext): Add dummy nop after jump to exit.
38334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38335 Use correct parm save area and cr save, reduce stack frame.
38336 Correct cfi for possible PSEUDO_RET frame setup.
38337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38338 Branch to local label emitted by PSEUDO_RET rather than
38339 __syscall_error.
38340
38341 2010-08-12 Andreas Schwab <schwab@redhat.com>
38342
38343 [BZ #11904]
38344 * locale/programs/locale.c (print_assignment): New function.
38345 (show_locale_vars): Use it.
38346
38347 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38348
38349 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38350 field.
38351 (struct statfs64): Likewise.
38352 (_STATFS_F_FLAGS): Define.
38353 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38354 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38355 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38356 (ST_VALID): Define locally.
38357 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38358 __statvfs_getflags, use the provided value.
38359 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38360 __ASSUME_STATFS_F_FLAGS.
38361
38362 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38363
38364 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38365 Add sys/fanotify.h.
38366 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38367 fanotify_mask for GLIBC_2.13.
38368 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38369 fanotify_init and fanotify_mark.
38370 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38371 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38372
38373 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38374 Add prlimit.
38375 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38376 prlimit64 for GLIBC_2.13.
38377 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38378 prlimit64.
38379 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38380 syscall.
38381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38383 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38384 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38385 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38386 add prlimit alias.
38387 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38388
38389 [BZ #11903]
38390 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38391 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38392
38393 * nss/Makefile: Add rules to build and run tst-nss-test1.
38394 * shlib-versions: Add entry for libnss_test1.
38395 * nss/nss_test1.c: New file.
38396 * nss/tst-nss-test1.c: New file.
38397
38398 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38399 (__nss_configure_lookup): Set appropriate entry in
38400 __nss_configure_lookup to true.
38401 * nss/nsswitch.h: Define enum with indeces of databases in
38402 databases and __nss_database_custom arrays. Declare
38403 __nss_database_custom.
38404 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38405 to avoid using nscd when custom rules are installed.
38406 * nss/getXXbyYY_r.c: Likewise.
38407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38408
38409 * nss/nss_files/files-parse.c: Whitespace fixes.
38410
38411 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38412
38413 [BZ #11883]
38414 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38415 * posix/fnmatch_loop.c: Likewise.
38416
38417 2010-07-17 Andi Kleen <ak@linux.intel.com>
38418
38419 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38420 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38421 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38422 * Versions.def [GLIBC_2.13]: Add.
38423
38424 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38425
38426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38427 Also fail if tpwd after pwuid call is NULL.
38428
38429 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38430
38431 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38432 when converting to ms.
38433
38434 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38435
38436 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38437 EOPNOTSUPP errors with ENOTTY.
38438 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38439 EOPNOTSUPP errors with ENOTTY.
38440
38441 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38442
38443 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38444 Add strcasecmp_l-ssse3.
38445 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38446 strcasecmp.
38447 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38448 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38449 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38450
38451 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38452
38453 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38454
38455 * string/Makefile (strop-tests): Add strcasecmp.
38456 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38457 strcasecmp_l-nonascii.
38458 (gen-as-const-headers): Add locale-defines.sym.
38459 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38460 * sysdeps/x86_64/strcasecmp.S: New file.
38461 * sysdeps/x86_64/strcasecmp_l.S: New file.
38462 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38463 * sysdeps/x86_64/locale-defines.sym: New file.
38464 * string/test-strcasecmp.c: New file.
38465
38466 * string/test-strcasestr.c: Test both ends of the range of characters.
38467 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38468
38469 2010-07-29 Roland McGrath <roland@redhat.com>
38470
38471 [BZ #11856]
38472 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38473
38474 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38475
38476 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38477 for ld.so.
38478
38479 2010-07-27 Andreas Schwab <schwab@redhat.com>
38480
38481 * manual/memory.texi (Malloc Tunable Parameters): Document
38482 M_PERTURB.
38483
38484 2010-07-26 Roland McGrath <roland@redhat.com>
38485
38486 [BZ #11840]
38487 * configure.in (-fgnu89-inline check): Set and substitute
38488 gnu89_inline, not libc_cv_gnu89_inline.
38489 * configure: Regenerated.
38490 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38491
38492 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38493
38494 * string/test-strnlen.c: New file.
38495 * string/Makefile (strop-tests): Add strnlen.
38496 * string/tester.c (test_strnlen): Add a few more test cases.
38497 * string/tst-strlen.c: Better error reporting.
38498
38499 * sysdeps/x86_64/strnlen.S: New file.
38500
38501 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38502
38503 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38504 lower-latency instructions.
38505
38506 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38507
38508 * string/test-strcasestr.c: New file.
38509 * string/test-strstr.c: New file.
38510 * string/Makefile (strop-tests): Add strstr and strcasestr.
38511 * string/str-two-way.h: Don't undefine MAX.
38512 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38513
38514 2010-07-21 Andreas Schwab <schwab@redhat.com>
38515
38516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38517 strcasestr-nonascii.
38518 (CFLAGS-strcasestr-nonascii.c): Define.
38519 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38520 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38521 Remove unused attribute.
38522
38523 2010-07-20 Roland McGrath <roland@redhat.com>
38524
38525 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38526 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38527 ld.so.cache was broken. With it, there is no way to disable dsocaps
38528 like LD_HWCAP_MASK can disable hwcaps.
38529
38530 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38531
38532 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38533
38534 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38535
38536 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38537 call in strcasestr.
38538 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38539 __strcasestr_sse42_nonascii.
38540 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38541 strcasestr-nonascii.c.
38542 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38543
38544 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38545
38546 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38547 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38548 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38549 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38550
38551 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38552
38553 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38554 fcntl.
38555
38556 2010-07-06 Andreas Schwab <schwab@redhat.com>
38557
38558 [BZ #11577]
38559 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38560 dl_signal_cerror.
38561
38562 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38563
38564 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38565 _PC_PIPE_BUF using F_GETPIPE_SZ.
38566
38567 2010-07-05 Roland McGrath <roland@redhat.com>
38568
38569 * manual/arith.texi (Rounding Functions): Fix rint description
38570 implicit in round description.
38571
38572 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38573
38574 * elf/Makefile: Fix linking for a few tests to make recent linker
38575 happy.
38576
38577 2010-06-30 Andreas Schwab <schwab@redhat.com>
38578
38579 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38580 $(common-objpfx)libc_nonshared.a.
38581
38582 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38583
38584 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38585 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38586 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38587 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38588 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38589 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38590 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38591 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38606 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38607 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38608 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38609 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38610 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38611 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38612 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38613 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38614 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38615 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38616 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38617 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38632
38633 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38634
38635 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38636 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38637 * string/memmove.c (memmove): Renamed to ...
38638 (MEMMOVE): ...this. Default to memmove.
38639 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38640 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38641 (END_CHK): Define.
38642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38643 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38644 mempcpy-ssse3-back memmove-ssse3-back.
38645 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38646 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38647 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38648 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38649 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38650 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38651 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38652 * sysdeps/x86_64/multiarch/memmove.c: New file.
38653 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38654 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38655 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38656 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38657 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38659 Define.
38660 (index_Fast_Copy_Backward): Define.
38661 (HAS_ARCH_FEATURE): Define.
38662 (HAS_FAST_REP_STRING): Define.
38663 (HAS_FAST_COPY_BACKWARD): Define.
38664
38665 2010-06-21 Andreas Schwab <schwab@redhat.com>
38666
38667 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38668 Restore proper fallback handling.
38669
38670 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38671
38672 [BZ #11701]
38673 * posix/group_member.c (__group_member): Correct checking loop.
38674
38675 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38676 OOM in getpwuid_r correctly. Return error number when the caller
38677 should return, otherwise -1.
38678 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38679 call returning > 0 value.
38680 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38681
38682 2010-06-07 Andreas Schwab <schwab@redhat.com>
38683
38684 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38685 libc_nonshared.a from targets in modules-names.
38686
38687 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38688
38689 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38690 requires it.
38691
38692 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38693
38694 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38695 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38696 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38697 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38698
38699 2010-06-02 Andreas Schwab <schwab@redhat.com>
38700
38701 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38702
38703 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38704
38705 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38706 and F_GETPIPE_SZ.
38707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38711 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38712 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38713
38714 2010-06-14 Roland McGrath <roland@redhat.com>
38715
38716 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38717
38718 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38719
38720 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38721 __REDIRECT followed by __THROW.
38722 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38723 * posix/getopt.h (getopt): Likewise.
38724
38725 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38726
38727 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38728 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38729 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38730 in AT_FLAGS.
38731 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38732 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38733
38734 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38735
38736 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38737
38738 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38739
38740 [BZ #11640]
38741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38742 Properly check family and model.
38743
38744 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38745
38746 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38747
38748 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38749
38750 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38751
38752 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38753
38754 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38755 symbol reference.
38756
38757 2010-05-19 Andreas Schwab <schwab@redhat.com>
38758
38759 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38760 symbol reference.
38761
38762 2010-05-21 Andreas Schwab <schwab@redhat.com>
38763
38764 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38765 and internal_recvmmsg.
38766 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38767 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38768 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38769 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38770
38771 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38772 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38773 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38774
38775 2010-05-20 Andreas Schwab <schwab@redhat.com>
38776
38777 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38778
38779 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38780
38781 POWER7 optimizations.
38782 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38783 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38784
38785 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38786
38787 * version.h: Update for 2.13 development version.
38788
38789 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38790
38791 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38792 exceptions. Return 0.
38793
38794 2010-05-07 Roland McGrath <roland@redhat.com>
38795
38796 * elf/ldconfig.c (main): Add a const.
38797
38798 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38799
38800 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38801 (args_options): Add no-idn option.
38802 (ahosts_keys_int): Add idn_flags to ai_flags.
38803 (parse_option): Handle 'i' option to clear idn_flags.
38804
38805 * malloc/malloc.c (_int_free): Possible race in the most recently
38806 added check. Only act on the data if no current modification
38807 happened.
38808
38809 See ChangeLog.17 for earlier changes.