]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Avoid duplicate MAP_ANONYMOUS definition for MIPS GNU/Linux.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7
82013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9
10 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11 macro to return vdso values correctly in IFUNC implementations.
12 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13 Optimization by using IFUNC.
14
152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16 Richard Henderson <rth@redhat.com>
17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18
19 * Makefile.in (bench): New target.
20 * NEWS: Mention the benchmark framework.
21 * Rules (bench): Likewise.
22 (binaries-bench): Generate binaries for functions to
23 benchmark.
24 * benchtests/Makefile: New makefile for benchmark tests.
25 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26 programs.
27 * benchtests/exp-inputs: New input file for EXP function.
28 * benchtests/pow-inputs: New input file for POW function.
29 * scripts/bench.pl: New script to generate source files for
30 benchmark programs.
31
322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33
34 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36 computations on mantissa. Use macros for rounding and
37 division.
38 (denorm): Likewise.
39 (__dbl_mp): Likewise.
40 (add_magnitudes): Likewise.
41 (sub_magnitudes): Likewise.
42 (__mul): Likewise.
43 (__sqr): Likewise.
44 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
45 powers of two in terms of TWOPOW macro.
46 (mp_no): Make type of mantissa as MANTISSA_T.
47 [!RADIXI]: Define RADIXI.
48 [!TWO52]: Define TWO52.
49 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50
51 * manual/nptl.texi (cindex): Modify threads to pthreads.
52
532013-03-15 Joseph Myers <joseph@codesourcery.com>
54
55 * sysdeps/x86_64/preconfigure: Regenerated.
56
572013-03-14 Joseph Myers <joseph@codesourcery.com>
58
59 [BZ #14155]
60 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
61 0x1p28 and above.
62 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
64 0x1p28 and above.
65 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66 * math/libm-test.inc (j0_test): Do not allow one spurious
67 underflow exception.
68 (y1_test): Likewise.
69
702013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71
72 * manual/Makefile (chapters): Add nptl.
73 * manual/debug.texi (Debugging Support): Add link to Threads
74 chapter.
75 * manual/nptl.texi: New file.
76
77 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
78
792013-03-14 Petr Baudis <pasky@ucw.cz>
80
81 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
82 for non-NULL pointer before the memory validity test. Pointed
83 out by Holger Brunck <holger.brunck@keymile.com>.
84
852013-03-13 Andreas Schwab <schwab@suse.de>
86
87 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
88 instead of .os.
89
902013-03-13 Joseph Myers <joseph@codesourcery.com>
91
92 * timezone/zic.c: Update from tzcode 2013b.
93
942013-03-12 Carlos O'Donell <carlos@redhat.com>
95
96 * manual/install.texi (Configuring and compiling):
97 Mention i686 and i586.
98 * INSTALL: Regenerate.
99
1002013-03-12 Roland McGrath <roland@hack.frob.com>
101
102 * sysdeps/init_array/elf-init.c: New file.
103 * csu/elf-init.c
104 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
105 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
106
107 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
108 __gmon_start__ as global, but as static with a .preinit_array pointer.
109 * sysdeps/init_array/gmon-start.c: New file. Use that.
110 * sysdeps/init_array/crti.S: New file, empty except for comments.
111 * sysdeps/init_array/crtn.S: Likewise.
112
1132013-03-11 Ondřej Bílka <neleai@seznam.cz>
114
115 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
116 definining bcopy.
117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
118 Remove Prefer_SSE_for_memop.
119 * sysdeps/x86_64/multiarch/init-arch.h: Remove
120 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
121 HAS_PREFER_SSE_FOR_MEMOP.
122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
123 memset-x86-64.
124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
125 Remove bzero, memset ifunc support.
126 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
127 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
128 * sysdeps/x86_64/multiarch/memset.S: Likewise.
129 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
130
1312013-03-11 Andreas Schwab <schwab@suse.de>
132
133 [BZ #15234]
134 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
135 by SHLIB_COMPAT.
136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
137 (GLIBC_2.16): Remove pthread_atfork.
138
1392013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
140
141 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
142 (ptestcases.h): Likewise.
143
1442013-03-08 Roland McGrath <roland@hack.frob.com>
145
146 * Makeconfig ($(common-objpfx)config.status): Depend on
147 sysdeps/*/preconfigure{,.in} too.
148
1492013-03-08 Joseph Myers <joseph@codesourcery.com>
150
151 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
152 (__free_hook): Use void * instead of __malloc_ptr_t.
153 (__malloc_hook): Likewise.
154 (__realloc_hook): Likewise.
155 (__memalign_hook): Likewise.
156 (__after_morecore_hook): Likewise.
157 * malloc/arena.c (save_malloc_hook): Likewise.
158 (save_free_hook): Likewise.
159 * malloc/hooks.c (malloc_hook_ini): Likewise.
160 (realloc_hook_ini): Likewise.
161 (memalign_hook_ini): Likewise.
162 * malloc/malloc.c (malloc_hook_ini): Likewise.
163 (realloc_hook_ini): Likewise.
164 (memalign_hook_ini): Likewise.
165 (__free_hook): Likewise.
166 (__malloc_hook): Likewise.
167 (__realloc_hook): Likewise.
168 (__memalign_hook): Likewise.
169 (__libc_malloc): Likewise.
170 (__libc_free): Likewise.
171 (__libc_realloc): Likewise.
172 (__libc_memalign): Likewise.
173 (__libc_valloc): Likewise.
174 (__libc_pvalloc): Likewise.
175 (__libc_calloc): Likewise.
176 (__posix_memalign): Likewise.
177 * malloc/morecore.c (__sbrk): Likewise.
178 (__default_morecore): Likewise.
179
180 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
181
182 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
183 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
184 __malloc_ptrdiff_t.
185
186 * malloc/malloc.h (__malloc_size_t): Remove macro.
187 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
188 __malloc_size_t.
189 (old_memalign_hook): Likewise.
190 (old_realloc_hook): Likewise.
191 (struct hdr): Likewise.
192 (flood): Likewise.
193 (mallochook): Likewise.
194 (memalignhook): Likewise.
195 (reallochook): Likewise.
196 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
197 (tr_old_realloc_hook): Likewise.
198 (tr_old_memalign_hook): Likewise.
199 (tr_mallochook): Likewise.
200 (tr_reallochook): Likewise.
201 (tr_memalignhook): Likewise.
202
2032013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
204
205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
206 default_ldbl_pack and using as default implementation.
207 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
208 implementation.
209 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
210 redundant definition.
211 (ldbl_insert_mantissa): Likewise.
212 (ldbl_canonicalize): Likewise.
213 (ldbl_nearbyint): Likewise.
214 (ldbl_pack): Rename to ldbl_pack_ppc.
215 (ldbl_unpack): Rename to ldbl_unpack_ppc.
216 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
217 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
218
2192013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
220
221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
222 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
223 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
224 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
226 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
227 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
228 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
229
2302013-03-07 Andreas Jaeger <aj@suse.de>
231
232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
233 bits/mman-linux.h.
234
2352013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
236
237 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
238 Include mpa.h and declare __MPEXP.
239 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
240 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
241 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
242 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
243 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
244 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
245 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
246
247 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
248 (__slowpow): Use long double EXPL and LOGL functions to
249 compute POW.
250 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
251 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
252 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
253 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
254 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
255 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
256
257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
258 intermediate variable to calculate exponent.
259 (__sqr): Likewise.
260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
261 Likewise.
262 (__sqr): Likewise.
263
264 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
265 [!NO__SQR]: Define __sqr.
266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
267 and NO__SQR. Remove all code except __mul and __sqr. Include
268 sysdeps/ieee754/dbl-64/mpa.c.
269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
270
271 [BZ #12723]
272 * posix/Makefile (tests): Add tst-pathconf.
273 * posix/tst-pathconf.c: New test case.
274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
275 _PC_PIPE_BUF.
276 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
277
2782013-03-06 Patsy Franklin <pfrankli@redhat.com>
279
280 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
281
2822013-03-06 Andreas Jaeger <aj@suse.de>
283
284 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
285 definition via __MAP_ANONYMOUS.
286
287 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
288 it's not part of Linux headers.
289
290 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
291 (MAP_HUGE_MASK): Define.
292
293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
294 Define.
295 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
297 Define.
298 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
299 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
300 Define.
301 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
303 Define.
304 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
305
306 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
307 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
308 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
309 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
310 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
311 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
312
313 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
314 Handle f2fs.
315
316 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
317 Handle f2fs and efivarfs.
318
319 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
320 f2fs.
321
322 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
323 (EFIVARFS_MAGIC): Add.
324 (F2FS_LINK_MAX): Add.
325
3262013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
327
328 * stdio-common/vfprintf.c: Replace __builtin_expect with
329 __glibc_unlikely.
330
3312013-03-06 Joseph Myers <joseph@codesourcery.com>
332
333 [BZ #13550]
334 * sysdeps/generic/bp-sym.h: Remove file.
335 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
336 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
337 <bp-sym.h> and <bp-asm.h>.
338 (__longjmp): Don't use BP_SYM.
339 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
340 and <bp-asm.h>.
341 (memcpy): Don't use BP_SYM.
342 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
343 <bp-sym.h> and <bp-asm.h>.
344 (memcpy): Don't use BP_SYM.
345 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
346 <bp-asm.h>.
347 (memcpy): Don't use BP_SYM.
348 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
349 <bp-asm.h>.
350 (memset): Don't use BP_SYM.
351 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
352 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
353 (__bzero): Don't use BP_SYM.
354 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
355 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
356 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
357 <bp-sym.h> and <bp-asm.h>.
358 (memcmp): Don't use BP_SYM. Remove comment about bounded
359 pointers.
360 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
361 <bp-sym.h> and <bp-asm.h>.
362 (memcpy): Don't use BP_SYM.
363 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
364 <bp-sym.h> and <bp-asm.h>.
365 (memset): Don't use BP_SYM.
366 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
367 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
368 (__bzero): Don't use BP_SYM.
369 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
370 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
371 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
372 <bp-sym.h> and <bp-asm.h>.
373 (strncmp): Don't use BP_SYM. Remove comment about bounded
374 pointers.
375 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
376 <bp-sym.h> and <bp-asm.h>.
377 (memcpy): Don't use BP_SYM.
378 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
379 <bp-sym.h> and <bp-asm.h>.
380 (memset): Don't use BP_SYM.
381 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
382 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
383 (__bzero): Don't use BP_SYM.
384 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
385 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
387 <bp-sym.h> and <bp-asm.h>.
388 (__memchr): Don't use BP_SYM.
389 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
390 <bp-sym.h> and <bp-asm.h>.
391 (memcmp): Don't use BP_SYM. Remove comment about bounded
392 pointers.
393 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
394 <bp-sym.h> and <bp-asm.h>.
395 (memcpy): Don't use BP_SYM.
396 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
397 <bp-sym.h> and <bp-asm.h>.
398 (__mempcpy): Don't use BP_SYM.
399 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
400 <bp-sym.h> and <bp-asm.h>.
401 (__memrchr): Don't use BP_SYM.
402 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
403 <bp-sym.h> and <bp-asm.h>.
404 (memset): Don't use BP_SYM.
405 (__bzero): Likewise.
406 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
407 <bp-sym.h> and <bp-asm.h>.
408 (__rawmemchr): Don't use BP_SYM.
409 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
410 <bp-sym.h> and <bp-asm.h>.
411 (__STRCMP): Don't use BP_SYM.
412 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
413 <bp-sym.h> and <bp-asm.h>.
414 (strchr): Don't use BP_SYM.
415 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
416 <bp-sym.h> and <bp-asm.h>.
417 (__strchrnul): Don't use BP_SYM.
418 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
419 <bp-sym.h> and <bp-asm.h>.
420 (strlen): Don't use BP_SYM.
421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
422 <bp-sym.h> and <bp-asm.h>.
423 (strncmp): Don't use BP_SYM. Remove comment about bounded
424 pointers.
425 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
426 <bp-sym.h> and <bp-asm.h>.
427 (__strnlen): Don't use BP_SYM.
428 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
429 <bp-sym.h> and <bp-asm.h>.
430 (__GI__setjmp): Don't use BP_SYM.
431 (_setjmp): Likewise.
432 (__sigsetjmp): Likewise.
433 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
434 (L(start_addresses)): Don't use BP_SYM.
435 (_start): Likewise.
436 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
437 <bp-asm.h>.
438 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
439 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
440 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
441 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
442 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
443 <bp-asm.h>.
444 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
445 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
446 about bounded pointers.
447 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
448 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
449 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
450 <bp-asm.h>.
451 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
452 about bounded pointers. Remove GKM FIXME comments.
453 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
454 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
455 <bp-asm.h>.
456 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
457 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
458 Remove GKM FIXME comments.
459 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
460 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
461 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
462 <bp-asm.h>.
463 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
464 about bounded pointers. Remove GKM FIXME comment.
465 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
466 and <bp-asm.h>.
467 (strncmp): Don't use BP_SYM. Remove comment about bounded
468 pointers.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
470 <bp-sym.h> and <bp-asm.h>.
471 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
473 <bp-sym.h> and <bp-asm.h>.
474 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
475 comment.
476
4772013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
478
479 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
480 call free(NULL).
481
4822013-03-05 David S. Miller <davem@davemloft.net>
483
484 * po/es.po: Update from translation team.
485
4862013-03-05 Andreas Jaeger <aj@suse.de>
487
488 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
489 <bits/mman-linux.h>.
490 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
491 is fine.
492 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
493 <bits/mman-linux.h> to end of file.
494 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
495 is fine.
496 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
497 <bits/mman-linux.h> to end of file.
498 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
499 is fine.
500 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
501 <bits/mman-linux.h> to end of file.
502
503 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
504 (MCL_CURRENT, MCL_FUTURE): Define here.
505
5062013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
507
508 [BZ #15232]
509 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
510 attribute_hidden.
511 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
512
5132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
514
515 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
516 fourth parameter needed for rt_sigprocmask syscall.
517 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
518 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
519 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
520 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
521 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
522 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
523
5242013-03-04 Joseph Myers <joseph@codesourcery.com>
525
526 [BZ #13550]
527 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
528 comment about bounded pointers.
529 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
530 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
531
5322013-03-04 Andreas Jaeger <aj@suse.de>
533
534 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
535 common definitions.
536
537 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
538 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
539 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
540 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
542 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
543
5442013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
545
546 [BZ #15055]
547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
548 __ieee754_sqrl instead of __sqrl.
549
5502013-03-01 Joseph Myers <joseph@codesourcery.com>
551
552 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
553 * sysdeps/powerpc/fpu_control.h: ... here.
554 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
555 * sysdeps/powerpc/bits/fenvinline.h: ... here.
556 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
557 * sysdeps/powerpc/bits/mathinline.h: ... here.
558
5592013-03-01 Roland McGrath <roland@hack.frob.com>
560
561 * elf/dl-hwcaps.c (_dl_important_hwcaps):
562 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
563 to just [NEED_DL_SYSINFO_DSO].
564 * elf/dl-support.c: Likewise.
565 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
566 * elf/rtld.c (dl_main): Likewise.
567 * elf/setup-vdso.h (setup_vdso): Likewise.
568 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
569 * sysdeps/unix/sysv/linux/dl-sysdep.c
570 (_dl_discover_osversion): Likewise.
571
5722013-03-01 Carlos O'Donell <carlos@redhat.com>
573
574 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
575 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
576
5772013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
578
579 * NEWS: Mention libm performance improvements and non-x86 PI
580 futex support.
581
582 * csu/libc-start.c (__pthread_initialize_minimal): Change
583 function arguments.
584 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
585
5862013-02-28 Joseph Myers <joseph@codesourcery.com>
587
588 [BZ #13550]
589 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
590 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
591 <bp-sym.h> and <bp-asm.h>.
592 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
593 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
594 and <bp-asm.h>.
595 (memcpy): Don't use BP_SYM.
596 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
597 <bp-asm.h>.
598 (__mpn_add_n): Don't use BP_SYM.
599 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
600 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
601 and <bp-asm.h>.
602 (__mpn_addmul_1): Don't use BP_SYM.
603 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
604 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
605 <bp-sym.h>.
606 (_setjmp): Don't use BP_SYM.
607 (__novmx_setjmp): Likewise.
608 (__GI__setjmp): Likewise.
609 (__vmx_setjmp): Likewise.
610 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
611 <bp-sym.h>.
612 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
613 (__bzero): Don't use BP_SYM.
614 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
615 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
616 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
617 <bp-sym.h> and <bp-asm.h>.
618 (memcpy): Don't use BP_SYM.
619 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
620 <bp-sym.h> and <bp-asm.h>.
621 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
622 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
623 <bp-sym.h> and <bp-asm.h>.
624 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
625 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
626 <bp-asm.h>.
627 (__mpn_lshift): Don't use BP_SYM.
628 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
629 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
630 <bp-asm.h>.
631 (memset): Don't use BP_SYM.
632 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
633 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
634 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
635 <bp-asm.h>.
636 (__mpn_mul_1): Don't use BP_SYM.
637 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
638 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
639 <bp-sym.h> and <bp-asm.h>.
640 (memcmp): Don't use BP_SYM.
641 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
642 <bp-sym.h> and <bp-asm.h>.
643 (memcpy): Don't use BP_SYM.
644 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
645 <bp-sym.h> and <bp-asm.h>.
646 (memset): Don't use BP_SYM.
647 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
648 <bp-sym.h> and <bp-asm.h>.
649 (strncmp): Don't use BP_SYM.
650 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
651 <bp-sym.h> and <bp-asm.h>.
652 (memcpy): Don't use BP_SYM.
653 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
654 <bp-sym.h> and <bp-asm.h>.
655 (memset): Don't use BP_SYM.
656 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
657 <bp-sym.h> and <bp-asm.h>.
658 (__memchr): Don't use BP_SYM.
659 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
660 <bp-sym.h> and <bp-asm.h>.
661 (memcmp): Don't use BP_SYM.
662 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
663 <bp-sym.h> and <bp-asm.h>.
664 (memcpy): Don't use BP_SYM.
665 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
666 <bp-sym.h> and <bp-asm.h>.
667 (__mempcpy): Don't use BP_SYM.
668 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
669 <bp-sym.h> and <bp-asm.h>.
670 (__memrchr): Don't use BP_SYM.
671 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
672 <bp-sym.h> and <bp-asm.h>.
673 (memset): Don't use BP_SYM.
674 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
675 <bp-sym.h> and <bp-asm.h>.
676 (__rawmemchr): Don't use BP_SYM.
677 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
678 <bp-sym.h> and <bp-asm.h>.
679 (__STRCMP): Don't use BP_SYM.
680 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
681 <bp-sym.h> and <bp-asm.h>.
682 (strchr): Don't use BP_SYM.
683 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
684 <bp-sym.h> and <bp-asm.h>.
685 (__strchrnul): Don't use BP_SYM.
686 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
687 <bp-sym.h> and <bp-asm.h>.
688 (strlen): Don't use BP_SYM.
689 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
690 <bp-sym.h> and <bp-asm.h>.
691 (strncmp): Don't use BP_SYM.
692 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
693 <bp-sym.h> and <bp-asm.h>.
694 (__strnlen): Don't use BP_SYM.
695 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
696 <bp-asm.h>.
697 (__mpn_rshift): Don't use BP_SYM.
698 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
699 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
700 <bp-sym.h> and <bp-asm.h>.
701 (__sigsetjmp): Don't use BP_SYM.
702 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
703 (L(start_addresses)): Don't use BP_SYM.
704 (_start): Likewise.
705 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
706 <bp-asm.h>.
707 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
708 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
709 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
710 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
711 <bp-asm.h>.
712 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
713 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
714 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
715 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
716 <bp-asm.h>.
717 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
718 comments.
719 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
720 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
721 <bp-asm.h>.
722 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
723 FIXME comments.
724 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
725 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
726 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
727 <bp-asm.h>.
728 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
729 comment.
730 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
731 and <bp-asm.h>.
732 (strncmp): Don't use BP_SYM,
733 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
734 <bp-asm.h>.
735 (__mpn_sub_n): Don't use BP_SYM.
736 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
737 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
738 and <bp-asm.h>.
739 (__mpn_submul_1): Don't use BP_SYM.
740 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
742 <bp-sym.h> and <bp-asm.h>.
743 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
745 <bp-sym.h> and <bp-asm.h>.
746 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
747 comment.
748
7492013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
750
751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
752 Use ZK to minimize writes to Z.
753 (sub_magnitudes): Simplify code a bit.
754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
755 Use ZK to minimize writes to Z.
756 (sub_magnitudes): Simplify code a bit.
757
7582013-02-27 Roland McGrath <roland@hack.frob.com>
759
760 * csu/gmon-start.c: Add special exception to license text.
761
7622013-02-27 Richard Henderson <rth@redhat.com>
763
764 * scripts/config.guess: Update from config.git.
765 * scripts/config.sub: Likewise.
766
7672013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
768
769 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
770
771 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
772
773 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
774
775 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
776
777 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
778
7792013-02-26 Roland McGrath <roland@hack.frob.com>
780
781 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
782 [$(build-shared = yes].
783
7842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
785
786 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
787 (__mul): Reduce iterations for calculating mantissa.
788
789 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
790 MPTWO.
791 (__mpranred): Likewise.
792
793 [BZ #15160]
794 * malloc/memusagestat.c (main): Draw graphs for heap and stack
795 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
796
7972013-02-26 Paul Eggert <eggert@cs.ucla.edu>
798
799 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
800 Define __attribute__.
801
8022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
803
804 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
805 unused.
806 * posix/regex_internal.h (__attribute): Remove.
807 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
808 (re_string_context_at): Likewise.
809 (bitset_not): Use __attribute__ and mark function as possibly
810 unused.
811 (bitset_merge): Likewise.
812 (bitset_mask): Likewise.
813 (re_string_char_size_at): Likewise.
814 (re_string_wchar_at): Likewise.
815 (re_string_elem_size_at): Likewise.
816
8172013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
818
819 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
820 code.
821 (cc32): Likewise.
822
823 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
824 (__acr): Likewise.
825 (__cpy): Likewise.
826 (norm): Likewise.
827 (denorm): Likewise.
828 (__dbl_mp): Likewise.
829 (add_magnitudes): Likewise.
830 (sub_magnitudes): Likewise.
831 (__mul): Likewise.
832 (__inv): Likewise.
833
834 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
835 style.
836
837 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
838 style.
839
840 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
841 code.
842
843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
844 up changes with default code.
845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
846 Likewise.
847
8482013-02-24 Allan McRae <allan@archlinux.org>
849
850 * manual/socket.texi (The Internet Namespace): Order menu items
851 to match that in the file.
852
853 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
854 node listing of the info page menu.
855
8562013-02-21 Joseph Myers <joseph@codesourcery.com>
857
858 [BZ #13550]
859 * sysdeps/i386/bp-asm.h: Remove file.
860 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
861 (PARMS): Do not use macros from bp-asm.h.
862 (S1): Likewise.
863 (S2): Likewise.
864 (SIZE): Likewise.
865 (__mpn_add_n): Do not use BP_SYM
866 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
867 "bp-asm.h".
868 (PARMS): Do not use macros from bp-asm.h.
869 (S1): Likewise.
870 (SIZE): Likewise.
871 (__mpn_addmul_1): Do not use BP_SYM
872 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
873 "bp-asm.h".
874 (PARMS): Do not use macros from bp-asm.h.
875 (SIGMSK): Likewise.
876 (_setjmp): Likewise. Do not use BP_SYM.
877 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
878 "bp-asm.h".
879 (PARMS): Do not use macros from bp-asm.h.
880 (SIGMSK): Likewise.
881 (setjmp): Likewise. Do not use BP_SYM.
882 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
883 "bp-asm.h".
884 (PARMS): Do not use macros from bp-asm.h.
885 (__frexp): Do not use BP_SYM.
886 (frexp): Likewise.
887 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
888 "bp-asm.h".
889 (PARMS): Do not use macros from bp-asm.h.
890 (__frexpf): Do not use BP_SYM.
891 (frexpf): Likewise.
892 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
893 "bp-asm.h".
894 (PARMS): Do not use macros from bp-asm.h.
895 (__frexpl): Do not use BP_SYM.
896 (frexpl): Likewise.
897 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
898 "bp-asm.h".
899 (PARMS): Do not use macros from bp-asm.h.
900 (__remquo): Do not use BP_SYM.
901 (remquo): Likewise.
902 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
903 "bp-asm.h".
904 (PARMS): Do not use macros from bp-asm.h.
905 (__remquof): Do not use BP_SYM.
906 (remquof): Likewise.
907 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
908 "bp-asm.h".
909 (PARMS): Do not use macros from bp-asm.h.
910 (__remquol): Do not use BP_SYM.
911 (remquol): Likewise.
912 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
913 "bp-asm.h".
914 (PARMS): Do not use macros from bp-asm.h.
915 (DEST): Likewise.
916 (SRC): Likewise.
917 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
918 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
919 "bp-asm.h".
920 (PARMS): Do not use macros from bp-asm.h.
921 (strlen): Do not use BP_SYM.
922 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
923 "bp-asm.h".
924 (PARMS): Do not use macros from bp-asm.h.
925 (S1): Likewise.
926 (S2): Likewise.
927 (SIZE): Likewise.
928 (__mpn_add_n): Do not use BP_SYM.
929 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
930 "bp-asm.h".
931 (PARMS): Do not use macros from bp-asm.h.
932 (S1): Likewise.
933 (SIZE): Likewise.
934 (__mpn_addmul_1): Do not use BP_SYM.
935 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
936 weak_alias.
937 (bzero): Likewise.
938 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
939 "bp-asm.h".
940 (PARMS): Do not use macros from bp-asm.h.
941 (S): Likewise.
942 (SIZE): Likewise.
943 (__mpn_lshift): Do not use BP_SYM.
944 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
945 "bp-asm.h".
946 (PARMS): Do not use macros from bp-asm.h.
947 (DEST): Likewise.
948 (SRC): Likewise.
949 (LEN): Likewise.
950 (memcpy): Likewise. Do not use BP_SYM.
951 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
952 libc_hidden_def and weak_alias.
953 (mempcpy): Do not use BP_SYM in weak_alias.
954 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
955 "bp-asm.h".
956 (PARMS): Do not use macros from bp-asm.h.
957 (DEST): Likewise.
958 (LEN): Likewise.
959 [!BZERO_P] (CHR): Likewise.
960 (memset): Likewise. Do not use BP_SYM.
961 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
962 "bp-asm.h".
963 (PARMS): Do not use macros from bp-asm.h.
964 (S1): Likewise.
965 (SIZE): Likewise.
966 (__mpn_mul_1): Do not use BP_SYM.
967 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
968 "bp-asm.h".
969 (PARMS): Do not use macros from bp-asm.h.
970 (S): Likewise.
971 (SIZE): Likewise.
972 (__mpn_rshift): Do not use BP_SYM.
973 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
974 "bp-asm.h".
975 (PARMS): Do not use macros from bp-asm.h.
976 (STR): Likewise.
977 (CHR): Likewise.
978 (strchr): Likewise. Do not use BP_SYM.
979 (index): Do not use BP_SYM in weak_alias.
980 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
981 "bp-asm.h".
982 (PARMS): Do not use macros from bp-asm.h.
983 (DEST): Likewise.
984 (SRC): Likewise.
985 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
986 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
987 "bp-asm.h".
988 (PARMS): Do not use macros from bp-asm.h.
989 (strlen): Do not use BP_SYM.
990 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
991 "bp-asm.h".
992 (PARMS): Do not use macros from bp-asm.h.
993 (S1): Likewise.
994 (S2): Likewise.
995 (SIZE): Likewise.
996 (__mpn_sub_n): Do not use BP_SYM.
997 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
998 "bp-asm.h".
999 (PARMS): Do not use macros from bp-asm.h.
1000 (S1): Likewise.
1001 (SIZE): Likewise.
1002 (__mpn_submul_1): Do not use BP_SYM.
1003 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1004 "bp-asm.h".
1005 (PARMS): Do not use macros from bp-asm.h.
1006 (S1): Likewise.
1007 (S2): Likewise.
1008 (SIZE): Likewise.
1009 (__mpn_add_n): Do not use BP_SYM.
1010 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1011 weak_alias.
1012 (bzero): Likewise.
1013 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1014 "bp-asm.h".
1015 (PARMS): Do not use macros from bp-asm.h.
1016 (BLK2): Likewise.
1017 (LEN): Likewise.
1018 (memcmp): Do not use BP_SYM.
1019 (bcmp): Do not use BP_SYM in weak_alias.
1020 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1021 "bp-asm.h".
1022 (PARMS): Do not use macros from bp-asm.h.
1023 (DEST): Likewise.
1024 (SRC): Likewise.
1025 (LEN): Likewise.
1026 (memcpy): Likewise. Do not use BP_SYM.
1027 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1028 "bp-asm.h".
1029 (PARMS): Do not use macros from bp-asm.h.
1030 (DEST): Likewise.
1031 (SRC): Likewise.
1032 (LEN): Likewise.
1033 (memmove): Likewise. Do not use BP_SYM.
1034 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1035 "bp-asm.h".
1036 (PARMS): Do not use macros from bp-asm.h.
1037 (DEST): Likewise.
1038 (SRC): Likewise.
1039 (LEN): Likewise.
1040 (__mempcpy): Likewise. Do not use BP_SYM.
1041 (mempcpy): Do not use BP_SYM in weak_alias.
1042 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1043 "bp-asm.h".
1044 (PARMS): Do not use macros from bp-asm.h.
1045 (DEST): Likewise.
1046 (LEN): Likewise.
1047 [!BZERO_P] (CHR): Likewise.
1048 (memset): Likewise. Do not use BP_SYM.
1049 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1050 "bp-asm.h".
1051 (PARMS): Do not use macros from bp-asm.h.
1052 (STR2): Likewise.
1053 (strcmp): Do not use BP_SYM.
1054 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1055 "bp-asm.h".
1056 (PARMS): Do not use macros from bp-asm.h.
1057 (STR): Likewise.
1058 (DELIM): Likewise.
1059 [USE_AS_STRTOK_R] (SAVE): Likewise.
1060 (FUNCTION): Likewise. Do not use BP_SYM.
1061 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1062 aliases.
1063 (strtok_r): Likewise.
1064 (__GI___strtok_r): Likewise.
1065 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1066 (PARMS): Do not use macros from bp-asm.h.
1067 (S): Likewise.
1068 (SIZE): Likewise.
1069 (__mpn_lshift): Do not use BP_SYM.
1070 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1071 (PARMS): Do not use macros from bp-asm.h.
1072 (STR): Likewise.
1073 (CHR): Likewise.
1074 (__memchr): Do not use BP_SYM.
1075 (memchr): Do not use BP_SYM in weak_alias.
1076 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1077 (PARMS): Do not use macros from bp-asm.h.
1078 (BLK2): Likewise.
1079 (LEN): Likewise.
1080 (memcmp): Do not use BP_SYM.
1081 (bcmp): Do not use BP_SYM in weak_alias.
1082 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1083 (PARMS): Do not use macros from bp-asm.h.
1084 (S1): Likewise.
1085 (SIZE): Likewise.
1086 (__mpn_mul_1): Do not use BP_SYM.
1087 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1088 "bp-asm.h".
1089 (PARMS): Do not use macros from bp-asm.h.
1090 (STR): Likewise.
1091 (CHR): Likewise.
1092 (__rawmemchr): Do not use BP_SYM.
1093 (rawmemchr): Do not use BP_SYM in weak_alias.
1094 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1095 (PARMS): Do not use macros from bp-asm.h.
1096 (S): Likewise.
1097 (SIZE): Likewise.
1098 (__mpn_rshift): Do not use BP_SYM.
1099 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1100 (PARMS): Do not use macros from bp-asm.h.
1101 (SIGMSK): Likewise.
1102 (__sigsetjmp): Likewise. Do not use BP_SYM.
1103 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1104 (_start): Do not use BP_SYM.
1105 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1106 (PARMS): Do not use macros from bp-asm.h.
1107 (DEST): Likewise.
1108 (SRC): Likewise.
1109 (__stpcpy): Likewise. Do not use BP_SYM.
1110 (stpcpy): Do not use BP_SYM in weak_alias.
1111 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1112 "bp-asm.h".
1113 (PARMS): Do not use macros from bp-asm.h.
1114 (DEST): Likewise.
1115 (SRC): Likewise.
1116 (LEN): Likewise.
1117 (__stpncpy): Likewise. Do not use BP_SYM.
1118 (stpncpy): Do not use BP_SYM in weak_alias.
1119 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1120 (PARMS): Do not use macros from bp-asm.h.
1121 (STR): Likewise.
1122 (CHR): Likewise.
1123 (strchr): Likewise. Do not use BP_SYM.
1124 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1125 "bp-asm.h".
1126 (PARMS): Do not use macros from bp-asm.h.
1127 (STR): Likewise.
1128 (CHR): Likewise.
1129 (__strchrnul): Likewise. Do not use BP_SYM.
1130 (strchrnul): Do not use BP_SYM in weak_alias.
1131 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1132 "bp-asm.h".
1133 (PARMS): Do not use macros from bp-asm.h.
1134 (STOP): Likewise.
1135 (strcspn): Do not use BP_SYM.
1136 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1137 "bp-asm.h".
1138 (PARMS): Do not use macros from bp-asm.h.
1139 (STR): Likewise.
1140 (STOP): Likewise.
1141 (strpbrk): Likewise. Do not use BP_SYM.
1142 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1143 "bp-asm.h".
1144 (PARMS): Do not use macros from bp-asm.h.
1145 (STR): Likewise.
1146 (CHR): Likewise.
1147 (strrchr): Likewise. Do not use BP_SYM.
1148 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1149 (PARMS): Do not use macros from bp-asm.h.
1150 (SKIP): Likewise.
1151 (strspn): Do not use BP_SYM.
1152 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1153 (PARMS): Do not use macros from bp-asm.h.
1154 (STR): Likewise.
1155 (DELIM): Likewise.
1156 (SAVE): Likewise.
1157 (FUNCTION): Likewise. Do not use BP_SYM.
1158 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1159 aliases.
1160 (strtok_r): Likewise.
1161 (__GI___strtok_r): Likewise.
1162 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1163 (PARMS): Do not use macros from bp-asm.h.
1164 (S1): Likewise.
1165 (S2): Likewise.
1166 (SIZE): Likewise.
1167 (__mpn_sub_n): Do not use BP_SYM.
1168 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1169 "bp-asm.h".
1170 (PARMS): Do not use macros from bp-asm.h.
1171 (S1): Likewise.
1172 (SIZE): Likewise.
1173 (__mpn_submul_1): Do not use BP_SYM.
1174 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1175 <bp-sym.h>.
1176 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1177 and <bp-asm.h>.
1178 (PARMS): Do not use macros from bp-asm.h.
1179 (FLAGS): Likewise.
1180 (PTID): Likewise.
1181 (TLS): Likewise.
1182 (CTID): Likewise.
1183 (__clone): Do not use BP_SYM.
1184 (clone): Do not use BP_SYM in weak_alias.
1185 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1186 and <bp-asm.h>.
1187 (PARMS): Do not use macros from bp-asm.h.
1188 (LEN): Likewise.
1189 (__mmap64): Do not use BP_SYM.
1190 (mmap64): Do not use BP_SYM in weak_alias.
1191 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1192 <bp-sym.h> and <bp-asm.h>.
1193 (PARMS): Do not use macros from bp-asm.h.
1194 (__posix_fadvise64_l64): Do not use BP_SYM.
1195 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1196 (PARMS): Do not use macros from bp-asm.h.
1197 (NSOPS): Likewise.
1198 (semtimedop): Do not use BP_SYM.
1199 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1200 and <bp-asm.h>.
1201
12022013-02-21 Allan McRae <allan@archlinux.org>
1203
1204 * manual/message.texi (Charset conversion in gettext):
1205 Move @end statement to beginning of line.
1206
12072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1208
1209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1210 static.
1211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1212 Likewise.
1213
1214 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1215 (denorm): Likewise.
1216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1218
12192013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1220
1221 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1222 tail-call to the resolved function if pltexit isn't needed.
1223
12242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1225
1226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1227 or Y being zero as being unlikely.
1228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1229 Likewise.
1230
12312013-02-20 Carlos O'Donell <carlos@redhat.com>
1232
1233 * manual/nss.texi (System Databases and Name Service Switch):
1234 Remove frobnicate @pxref.
1235
12362013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1237
1238 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1239 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1240
12412013-02-20 Petr Machata <pmachata@redhat.com>
1242
1243 * elf/elf.h (R_ARM_TARGET1): New macro.
1244 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1245 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1246 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1247 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1248 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1249 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1250 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1251 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1252 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1253 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1254 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1255 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1256 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1257 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1258 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1259 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1260 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1261 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1262 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1263 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1264 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1265 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1266 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1267 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1268 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1269 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1270 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1271 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1272 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1273 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1274 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1275 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1276 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1277 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1278 (R_ARM_THM_GOT_BREL12): Likewise.
1279 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1280 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1281 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1282 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1283 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1284 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1285 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1286 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1287 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1288
12892013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1290
1291 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1292 __attribute_used__ to __attribute__ ((unused)).
1293
12942013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1295
1296 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1297 powerpc mpa.c.
1298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1299 comment formatting.
1300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1301
13022013-02-19 Joseph Myers <joseph@codesourcery.com>
1303
1304 [BZ #13550]
1305 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1306 Remove macro.
1307 (ENTER): Remove both macro definitions.
1308 (LEAVE): Likewise.
1309 (CHECK_BOUNDS_LOW): Likewise.
1310 (CHECK_BOUNDS_HIGH): Likewise.
1311 (CHECK_BOUNDS_BOTH): Likewise.
1312 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1313 (RETURN_BOUNDED_POINTER): Likewise.
1314 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1315 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1316 (POP_ERRNO_LOCATION_RETURN): Likewise.
1317 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1318 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1319 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1320 macros.
1321 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1322 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1323 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1324 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1325 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1326 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1327 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1328 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1329 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1330 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1331 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1332 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1333 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1334 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1335 removed macros.
1336 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1337 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1338 macros.
1339 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1340 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1341 * sysdeps/i386/i586/memset.S (memset): Likewise.
1342 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1343 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1344 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1345 macros.
1346 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1347 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1348 Change uses of L(2) to L(out).
1349 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1350 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1351 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1352 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1353 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1354 removed macros.
1355 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1356 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1357 macros.
1358 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1359 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1360 (RETURN): Do not use macro LEAVE.
1361 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1362 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1363 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1364 * sysdeps/i386/i686/memset.S (memset): Likewise.
1365 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1366 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1367 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1368 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1369 Likewise.
1370 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1371 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1372 L(1_2) and L(1_3) into L(1).
1373 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1374 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1375 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1376 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1377 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1378 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1379 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1380 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1381 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1382 macros.
1383 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1384 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1385 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1386 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1387 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1388 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1389 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1390 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1391 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1392 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1393 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1394 * sysdeps/i386/strspn.S (strspn): Likewise.
1395 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1396 conditional code.
1397 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1398 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1399 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1400 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1401 L(1_3) into L(1_1).
1402 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1403 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1404 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1405 macros.
1406 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1407
14082013-02-19 Jakub Jelinek <jakub@redhat.com>
1409
1410 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1411 macro.
1412
14132013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1414
1415 * math/atest-exp.c (exp_mpn): Remove ROUND.
1416 * math/atest-exp2.c (exp_mpn): Likewise.
1417 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1418
1419 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1420 * stdlib/tst-tls-atexit-lib.c: Likewise.
1421 * stdlib/tst-tls-atexit.c: Likewise.
1422
14232013-02-18 Mike Frysinger <vapier@gentoo.org>
1424
1425 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1426 and __attribute_alloc_size__.
1427
14282013-02-18 Mike Frysinger <vapier@gentoo.org>
1429
1430 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1431 __attribute_alloc_size__.
1432 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1433 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1434
14352013-02-18 Mike Frysinger <vapier@gentoo.org>
1436
1437 * include/programs/xmalloc.h: New file.
1438 * catgets/gencat.c: Include it.
1439 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1440 * elf/pldd.c: Likewise.
1441 * iconv/iconv_charmap.c: Likewise.
1442 * iconv/iconvconfig.c: Likewise.
1443 * iconv/strtab.c: Likewise.
1444 * locale/programs/locale.c: Likewise.
1445 * locale/programs/localedef.h: Likewise.
1446 * locale/programs/simple-hash.c: Likewise.
1447 * nscd/nscd.h: Likewise.
1448 * nss/makedb.c: Likewise.
1449 * sysdeps/generic/ldconfig.h: Likewise.
1450
14512013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1452
1453 * Versions.def: Add GLIBC_2.18.
1454 * include/link.h (struct link_map): New member l_tls_dtor_count.
1455 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1456 (__call_tls_dtors): Likewise.
1457 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1458 __cxa_thread_atexit_impl.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1460 Likewise.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1462 Likewise.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1464 Likewise.
1465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1466 Likewise.
1467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1469 Likewise.
1470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1471 Likewise.
1472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1474 Likewise.
1475 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1476 (tests): Add test case tst-tls-atexit.
1477 (modules-names): Add shared library for tst-tls-atexit.
1478 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1479 (GLIBC_PRIVATE): Add __call_tls_dtors.
1480 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1481 for libstdc++.
1482 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1483 * stdlib/tst-tls-atexit.c: New test case.
1484 * stdlib/tst-tls-atexit-lib.c: New test case.
1485
1486 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1487
1488 * elf/Versions (ld): Add _dl_find_dso_for_object.
1489 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1490 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1491 (dl_open_worker): Use _dl_find_dso_for_object.
1492 * elf/dl-sym.c (do_sym): Likewise.
1493 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1494
14952013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1496
1497 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1498 Syntactic changes only.
1499 (_dl_runtime_profile): Do a tail-call to the resolved function.
1500
15012013-02-17 Joseph Myers <joseph@codesourcery.com>
1502
1503 [BZ #13550]
1504 * sysdeps/x86_64/bp-asm.h: Remove file.
1505 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1506 <bp-sym.h> and <bp-asm.h>.
1507 (__clone): Do not use BP_SYM.
1508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1509 <bp-sym.h> and <bp-asm.h>.
1510 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1511 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1512 "bp-asm.h".
1513 (_setjmp): Do not use BP_SYM.
1514 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1515 "bp-asm.h".
1516 (setjmp): Do not use BP_SYM.
1517 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1518 libc_hidden_def.
1519 (mempcpy): Do not use BP_SYM in weak_alias.
1520 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1521 "bp-asm.h".
1522 (strchr): Do not use BP_SYM.
1523 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1524 "bp-asm.h".
1525 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1526 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1527 (_start): Do not use BP_SYM.
1528 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1529 "bp-asm.h".
1530 (strcat): Do not use BP_SYM.
1531 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1532 "bp-asm.h".
1533 (STRCMP): Do not use BP_SYM.
1534 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1535 "bp-asm.h".
1536 (STRCPY): Do not use BP_SYM.
1537 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1538 "bp-asm.h".
1539 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1540 "bp-asm.h".
1541 (FUNCTION): Do not use BP_SYM.
1542 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1543 weak_alias.
1544 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1545
15462013-02-17 Andreas Jaeger <aj@suse.de>
1547
1548 * time/Versions: Sort entries.
1549 * string/Versions: Likewise.
1550 * resolv/Versions: Likewise.
1551 * posix/Versions: Likewise.
1552 * iconv/Versions: Likewise.
1553 * elf/Versions: Likewise.
1554 * wcsmbs/Versions: Likewise.
1555
15562013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1557
1558 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1559 loop termination condition.
1560
1561 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1562 variable to calculate EZ.
1563 (__sqr): Likewise.
1564
1565 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1566 the lower precision input.
1567
15682013-02-15 Joseph Myers <joseph@codesourcery.com>
1569
1570 [BZ #13550]
1571 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1572 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1573 (run-via-rtld-prefix): Do not handle %-bp tests.
1574 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1575 (all-object-suffixes): Remove .ob.
1576 (bppfx): Remove variable.
1577 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1578 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1579 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1580 [$(build-bounded) = yes] (libtype.ob): Likewise.
1581 * Makerules (elide-routines.ob): Remove variable.
1582 (do-tests-clean): Do not handle *-bp.out.
1583 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1584 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1585 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1586 (tests): Do not include $(tests-bp.out).
1587 (xtests): Do not include $(xtests-bp.out).
1588 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1589 [$(build-bounded) = yes] ($(addprefix
1590 $(objpfx),$(binaries-bounded))): Remove rule.
1591 ($(objpfx)%-bp.out): Remove rule.
1592 * config.make.in (build-bounded): Remove variable.
1593 * crypt/Makefile [$(build-bounded) = yes]
1594 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1595 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1596 append to variable.
1597 [$(build-bounded) = yes] (install-lib): Likewise.
1598 [$(build-bounded) = yes] (generated): Likewise.
1599 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1600 Remove rule.
1601 * intl/Makefile [$(build-bounded) = yes]
1602 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1603 * math/Makefile [$(build-bounded) = yes]
1604 ($(tests:%=$(objpfx)%-bp): Likewise.
1605 * misc/Makefile [$(build-bounded) = yes]
1606 ($(objpfx)tst-tsearch-bp): Likewise.
1607 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1608 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1609 Remove dependency.
1610 * string/Makefile (o-objects.ob): Remove variable.
1611 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1612 (CFLAGS-.ob): Remove variable.
1613 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1614 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1615 both definitions of variable.
1616 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1617 (ASFLAGS-.ob): Remove variable.
1618
16192013-02-14 Joseph Myers <joseph@codesourcery.com>
1620
1621 [BZ #13550]
1622 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1623 Remove __BOUNDED_POINTERS__ from condition.
1624 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1625 * string/bits/string2.h [!__NO_STRING_INLINES &&
1626 !__BOUNDED_POINTERS__]: Likewise.
1627 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1628 Likewise.
1629 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1630 Remove conditional code.
1631 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1632 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1633 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1634 condition.
1635
1636 [BZ #13550]
1637 * csu/libc-start.c: Do not include <bp-sym.h>.
1638 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1639 * elf/dl-open.c: Do not include <bp-sym.h>.
1640 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1641 * math/fegetenv.c: Do not include <bp-sym.h>.
1642 (fegetenv): Do not use BP_SYM in versioned symbols.
1643 * nptl/sysdeps/pthread/bits/libc-lockP.h
1644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1645 <bp-sym.h>.
1646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1647 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1649 (__pthread_mutex_destroy): Likewise.
1650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1651 (__pthread_mutex_lock): Likewise.
1652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1653 (__pthread_mutex_trylock): Likewise.
1654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1655 (__pthread_mutex_unlock): Likewise.
1656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1657 (__pthread_mutexattr_init): Likewise.
1658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1659 (__pthread_mutexattr_destroy): Likewise.
1660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1661 (__pthread_mutexattr_settype): Likewise.
1662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1663 (__pthread_rwlock_init): Likewise.
1664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1665 (__pthread_rwlock_destroy): Likewise.
1666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1667 (__pthread_rwlock_rdlock): Likewise.
1668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1669 (__pthread_rwlock_tryrdlock): Likewise.
1670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1671 (__pthread_rwlock_wrlock): Likewise.
1672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1673 (__pthread_rwlock_trywrlock): Likewise.
1674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1675 (__pthread_rwlock_unlock): Likewise.
1676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1677 (__pthread_key_create): Likewise.
1678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1679 (__pthread_setspecific): Likewise.
1680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1681 (__pthread_getspecific): Likewise.
1682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1683 Likewise.
1684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1685 (_pthread_cleanup_push_defer): Likewise.
1686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1687 (_pthread_cleanup_pop_restore): Likewise.
1688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1689 (pthread_setcancelstate): Likewise.
1690 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1691 <bp-sym.h>.
1692 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1693 (memchr): Do not use BP_SYM in weak_alias.
1694 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1695 (fegetenv): Do not use BP_SYM in versioned symbols.
1696 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1697 (fesetenv): Do not use BP_SYM in versioned symbols.
1698 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1699 (feupdateenv): Do not use BP_SYM in versioned symbols.
1700 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1701 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1702 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1703 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1704 (open64): Do not use BP_SYM in weak_alias.
1705 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1706 (fegetenv): Do not use BP_SYM in versioned symbols.
1707 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1708 (fesetenv): Do not use BP_SYM in versioned symbols.
1709 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1710 (feupdateenv): Do not use BP_SYM in versioned symbols.
1711 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1712 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1713 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1714 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1715 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1716 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1717 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1718 <bp-sym.h>.
1719 (__libc_start_main): Do not use BP_SYM.
1720
17212013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1722
1723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1724 redundant return line.
1725 (norm): Likewise.
1726 (denorm): Likewise.
1727 (dbl_mp): Likewise.
1728 (sub_magnitudes): Likewise.
1729 (__add): Likewise.
1730 (__sub): Likewise.
1731 (__mul): Likewise.
1732 (__inv): Likewise.
1733 (__dvd): Likewise.
1734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1735 (norm): Likewise.
1736 (denorm): Likewise.
1737 (dbl_mp): Likewise.
1738 (sub_magnitudes): Likewise.
1739 (__add): Likewise.
1740 (__sub): Likewise.
1741 (__mul): Likewise.
1742 (__inv): Likewise.
1743 (__dvd): Likewise.
1744
1745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1746 instead of __mul.
1747 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1748 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1749 (cc32): Likewise.
1750
1751 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1752 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1754 of __mul for squares.
1755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1756 function
1757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1758 Likewise.
1759 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1760 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1761
17622013-02-13 Joseph Myers <joseph@codesourcery.com>
1763
1764 [BZ #13550]
1765 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1766 code.
1767 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1768 prototype or function definition. Rename ubp_* variables and
1769 parameters. Remove argv definitions conditional on
1770 [__BOUNDED_POINTERS__].
1771 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1772 * elf/dl-runtime.c (_dl_fixup): Likewise.
1773 * include/set-hooks.h (RUN_HOOK): Likewise.
1774 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1775 definition.
1776 * string/strcpy.c (strcpy): Do not use __unbounded.
1777 * sysdeps/generic/frame.h (struct layout): Likewise.
1778 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1779 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1780 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1781 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1782 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1783 (__backtrace): Likewise.
1784 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1785 use __ptrvalue.
1786 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1787 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1788 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1789 Likewise.
1790 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1791 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1792 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1793 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1794 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1795 Do not use __unbounded.
1796 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1797 Rename __unboundedrlimits parameter to rlimits in prototype.
1798 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1799 Do not use __unbounded.
1800 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1801 not use __ptrvalue.
1802 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1803 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1804 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1805 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1806 __ptrvalue or __unbounded.
1807 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1808 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1809 use __unbounded.
1810 (__new_msgctl): Do not use __ptrvalue.
1811 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1812 __unbounded.
1813 (__libc_msgrcv): Do not use __ptrvalue.
1814 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1815 startup_info): Do not use __unbounded.
1816 (__libc_start_main): Likewise. Rename ubp_* variables and
1817 parameters. Remove argv definitions conditional on
1818 [__BOUNDED_POINTERS__].
1819 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1820 __ptrvalue.
1821 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1822 use __unbounded.
1823 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1824 or __ptrvalue.
1825 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1826 use __unbounded.
1827 (__new_shmctl): Do not use __ptrvalue.
1828 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1829 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1830 Likewise.
1831 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1832 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1833 (__libc_sigaction): Likewise.
1834 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1835 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1836 Likewise.
1837 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1838
18392013-02-13 Ondřej Bílka <neleai@seznam.cz>
1840
1841 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1842
1843 * string/mempcpy.c: Implement by calling memcpy.
1844
18452013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1846
1847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1848
1849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1850 evaluation.
1851
1852 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1853 values in the mantissa.
1854
1855 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1856 minimize writes to Z.
1857 (sub_magnitudes): Simplify code a bit.
1858
18592013-02-12 Roland McGrath <roland@hack.frob.com>
1860
1861 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1862 from the message. The linker prefixes all warnings with that already.
1863
18642013-02-12 Andreas Schwab <schwab@suse.de>
1865
1866 [BZ #15078]
1867 * posix/regexec.c (extend_buffers): Add parameter min_len.
1868 (check_matching): Pass minimum needed length.
1869 (clean_state_log_if_needed): Likewise.
1870 (get_subexp): Likewise.
1871 * posix/Makefile (tests): Add bug-regex34.
1872 (bug-regex34-ENV): Define.
1873 * posix/bug-regex34.c: New file.
1874
1875 [BZ #11561]
1876 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1877 elements compare against the byte sequence of it, not its name.
1878 * posix/Makefile (tests): Add bug-regex35.
1879 (bug-regex35-ENV): Define.
1880 * posix/bug-regex35.c: New file.
1881
18822013-02-11 Tom de Vries <tom@codesourcery.com>
1883
1884 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1885 comment.
1886 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1887 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1888 (CHECK_EOL): Add undef.
1889
18902013-02-11 Ondřej Bílka <neleai@seznam.cz>
1891
1892 * bits/stdlib-bsearch.h: New file.
1893 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1894 * stdlib/stdlib.h: Likewise.
1895
18962013-02-11 Roland McGrath <roland@hack.frob.com>
1897
1898 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1899 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1900 declaration.
1901 * manual/search.texi (Array Search Function): Add missing const in
1902 lfind prototype.
1903 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1904 declaration to use rlim_t.
1905 (Basic Scheduling Functions): Remove erroneous const from
1906 sched_getparam prototype. Remove erroneous * from
1907 sched_get_priority_max and sched_get_priority_min prototypes.
1908 (Resource Usage): Fix summary @comment on vtimes to refer to
1909 sys/vtimes.h rather than vtimes.h.
1910 Add missing *s in vtimes prototype.
1911 (Limits on Resources): Fix ulimit prototype to return long int.
1912 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1913 prototypes to use long int rather than double.
1914 (BSD Random): Fix initstate and setstate to use char *, not void *.
1915 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1916 prototype to make second argument 'struct aiocb64 *const[]'.
1917 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1918 (Status of AIO Operations): Remove erroneous const in aio_return and
1919 aio_return64 prototypes.
1920 (Synchronizing I/O): Fix sync prototype to return void.
1921 * manual/startup.texi (Suboptions): Remove an erroneous const in
1922 getsubopt prototype.
1923 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1924 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1925 use size_t rather than int.
1926 (Scanning All Users): Likewise for getpwent_r.
1927 (Setting Groups): Add missing const to setgroups prototype.
1928 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1929 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1930 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1931 'const void *' rather than 'const char *'.
1932 (Host Address Functions): Likewise for inet_ntop.
1933 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1934 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1935 ssize_t for return value.
1936 (Sending Data): Likewise for send, sendto, sendmsg.
1937 (Socket Option Functions): Add a missing const in setsockopt prototype.
1938 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1939 use wchar_t for the argument.
1940 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1941 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1942 take no arguments.
1943 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1944 double/float/long double for second argument.
1945 Fix return types of significand, significandf, significandl.
1946 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1947 argument in fchmod prototype.
1948 (File Owner): Use uid_t and gid_t in fchown prototype.
1949 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1950 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1951 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1952 use 'const struct dirent **' as argument types to CMP function pointer
1953 argument.
1954 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1955 (File Times): Fix summary magic @comment for struct utimbuf and utime
1956 to refer to utime.h, not time.h.
1957 * manual/string.texi (Argz Functions): Add missing const in
1958 argz_extract and argz_next prototypes.
1959 (Finding Tokens in a String): Likewise for basename.
1960 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1961 (Copying and Concatenation): Fix typo in wmemmove prototype.
1962 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1963 (Signal Stack): Remove erroneous const in sigstack prototype.
1964 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1965 prototype.
1966 (Simple Calendar Time): Likewise for stime.
1967 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1968 prototype.
1969 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1970 say sys/sysctl.h instead.
1971 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1972 and vsyslog prototypes.
1973
19742013-02-11 Tom de Vries <tom@codesourcery.com>
1975
1976 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1977 Remove.
1978
19792013-02-11 Roland McGrath <roland@hack.frob.com>
1980
1981 * misc/sys/mman.h: Fix typo in mremap comment.
1982
19832013-02-08 Roland McGrath <roland@hack.frob.com>
1984
1985 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1986 the '\0' terminator.
1987
19882013-02-08 Joseph Myers <joseph@codesourcery.com>
1989
1990 [BZ #13550]
1991 * debug/segfault.c: Don't include <bp-checks.h>.
1992 * sysdeps/generic/bp-checks.h: Remove file.
1993 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1994 (__GETDENTS): Don't use CHECK_N.
1995 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1996 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1997 (__getgroups): Don't use CHECK_N.
1998 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1999 (setgroups): Don't use CHECK_N.
2000 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2001 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2002 (__libc_msgrcv): Don't use CHECK_N.
2003 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2004 (__libc_msgsnd): Don't use CHECK_N.
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2006 <bp-checks.h>.
2007 (__libc_pread): Don't use CHECK_N.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2009 include <bp-checks.h>.
2010 (__libc_pread64): Don't use CHECK_N.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2012 include <bp-checks.h>.
2013 (__libc_pwrite): Don't use CHECK_N.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2015 include <bp-checks.h>.
2016 (__libc_pwrite64): Don't use CHECK_N.
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2018 <bp-checks.h>.
2019 (__libc_pread): Don't use CHECK_N.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2021 include <bp-checks.h>.
2022 (__libc_pread64): Don't use CHECK_N.
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2024 include <bp-checks.h>.
2025 (__libc_pwrite): Don't use CHECK_N.
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2027 include <bp-checks.h>.
2028 (__libc_pwrite64): Don't use CHECK_N.
2029 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2030 (do_pread): Don't use CHECK_N.
2031 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2032 (do_pread64): Don't use CHECK_N.
2033 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2034 (do_pwrite): Don't use CHECK_N.
2035 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2036 (do_pwrite64): Don't use CHECK_N.
2037 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2038 (__libc_readv): Don't use CHECK_N.
2039 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2040 (semop): Don't use CHECK_N.
2041 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2042 <bp-checks.h>.
2043 (semtimedop): Don't use CHECK_N.
2044 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2045 (__libc_pread): Don't use CHECK_N.
2046 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2047 <bp-checks.h>.
2048 (__libc_pread64): Don't use CHECK_N.
2049 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2050 <bp-checks.h>.
2051 (__libc_pwrite): Don't use CHECK_N.
2052 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2053 <bp-checks.h>.
2054 (__libc_pwrite64): Don't use CHECK_N.
2055 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2056 <bp-checks.h>.
2057 (__libc_msgrcv): Don't use CHECK_N.
2058 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2059 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2060 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2061 (__libc_writev): Don't use CHECK_N.
2062
20632013-02-08 Roland McGrath <roland@hack.frob.com>
2064
2065 * string/strcpy.c: Removed unused variable.
2066
2067 * Makeconfig (+sysdep-includes): Define with := rather than =.
2068 Use an existing include/ subdir of each sysdeps dir before it.
2069
20702013-02-08 Carlos O'Donell <carlos@redhat.com>
2071
2072 * nscd/connection.c (register_traced_file): Comment function.
2073 [HAVE_INOTIFY] (union __inev): Define.
2074 [HAVE_INOTIFY] (inotify_check_files): New function.
2075 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2076 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2077 clear_db_cache.
2078 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2079
20802013-02-08 Carlos O'Donell <carlos@redhat.com>
2081
2082 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2083 loaded if not already and that a failure is permanent.
2084
20852013-02-08 Carlos O'Donell <carlos@redhat.com>
2086
2087 [BZ #15006]
2088 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2089 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2090
20912013-02-08 Joseph Myers <joseph@codesourcery.com>
2092
2093 [BZ #13550]
2094 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2095 (CHECK_1_NULL_OK): Likewise.
2096 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2097 (__fxstat): Do not use CHECK_1.
2098 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2099 <bp-checks.h>.
2100 (___fxstat64): Do not use CHECK_1.
2101 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2102 <bp-checks.h>.
2103 (__fxstatat): Do not use CHECK_1.
2104 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2105 <bp-checks.h>.
2106 (__fxstatat64): Do not use CHECK_1.
2107 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2108 <bp-checks.h>.
2109 (__fxstat): Do not use CHECK_1.
2110 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2111 <bp-checks.h>.
2112 (__fxstatat): Do not use CHECK_1.
2113 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2114 <bp-checks.h>.
2115 (__getresgid): Do not use CHECK_1.
2116 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2117 <bp-checks.h>.
2118 (__getresuid): Do not use CHECK_1.
2119 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2120 <bp-checks.h>.
2121 (__lxstat): Do not use CHECK_1.
2122 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2123 <bp-checks.h>.
2124 (__old_msgctl): Do not use CHECK_1.
2125 (__new_msgctl): Likewise.
2126 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2127 <bp-checks.h>.
2128 (__new_setrlimit): Do not use CHECK_1.
2129 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2130 <bp-checks.h>.
2131 (__old_shmctl): Do not use CHECK_1.
2132 (__new_shmctl): Likewise.
2133 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2134 <bp-checks.h>.
2135 (__xstat): Do not use CHECK_1.
2136 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2137 (__lxstat): Do not use CHECK_1.
2138 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2139 <bp-checks.h>.
2140 (___lxstat64): Do not use CHECK_1.
2141 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2142 (__old_msgctl): Do not use CHECK_1.
2143 (__new_msgctl): Likewise.
2144 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2145 <bp-checks.h>.
2146 (__gettimeofday): Do not use CHECK_1.
2147 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2148 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2149 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2150 <bp-checks.h>.
2151 (__gettimeofday): Do not use CHECK_1.
2152 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2153 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2154 (__new_shmctl): Do not use CHECK_1.
2155 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2156 <bp-checks.h>.
2157 (do_sigtimedwait): Do not use CHECK_1.
2158 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2159 <bp-checks.h>.
2160 (do_sigwaitinfo): Do not use CHECK_1.
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2162 <bp-checks.h>.
2163 (msgctl): Do not use CHECK_1.
2164 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2165 <bp-checks.h>.
2166 (shmctl): Do not use CHECK_1.
2167 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2168 (ustat): Do not use CHECK_1.
2169 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2170 <bp-checks.h>.
2171 (__fxstat): Do not use CHECK_1.
2172 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2173 <bp-checks.h>.
2174 (__fxstatat): Do not use CHECK_1.
2175 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2176 <bp-checks.h>.
2177 (__lxstat): Do not use CHECK_1.
2178 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2179 <bp-checks.h>.
2180 (__xstat): Do not use CHECK_1.
2181 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2182 (__xstat): Do not use CHECK_1.
2183 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2184 (___xstat64): Do not use CHECK_1.
2185
2186 [BZ #13550]
2187 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2188 definitions.
2189 (CHECK_BOUNDS_HIGH): Likewise.
2190 * string/strcpy.c: Do not include <bp-checks.h>.
2191 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2192
21932013-02-07 Roland McGrath <roland@hack.frob.com>
2194
2195 * nscd/nscd-client.h (__nscd_drop_map_ref):
2196 Add __attribute__ ((unused)).
2197 * nis/nss-nisplus.h (niserr2nss): Likewise.
2198
2199 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2200 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2201
2202 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2203 Remove inline keyword.
2204 * include/rounding-mode.h (round_away): Likewise.
2205 * libio/wfileops.c (adjust_wide_data): Likewise.
2206 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2207 (__m128i_strloadu_tolower): Likewise.
2208 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2209 (__m128i_strloadu_tolower): Likewise.
2210 * time/mktime.c (ydhms_diff): Likewise.
2211 * locale/elem-hash.h (elem_hash): Likewise.
2212 * locale/setlocale.c (setdata): Likewise.
2213 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2214 (re_string_wchar_at): Likewise.
2215 (bitset_not, bitset_merge, bitset_mask): Likewise.
2216 [!(__GNUC__ > 3)] (inline): Remove macro.
2217 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2218 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2219 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2220 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2221 * string/memcmp.c (memcmp_bytes): Likewise.
2222 * locale/programs/locarchive.c (compute_hashval): Likewise.
2223 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2224 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2225 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2226 * nss/getent.c (print_rpc, print_protocols): Likewise.
2227 (print_passwd, print_group, print_aliases): Likewise.
2228 * nis/nss-nisplus.h (niserr2nss): Likewise.
2229 * nscd/connections.c (restart_p): Likewise.
2230 Change return type to bool.
2231
22322013-02-05 Roland McGrath <roland@hack.frob.com>
2233
2234 * Makeconfig (all-Depend-files): Add existing
2235 $(sorted-subdirs:=/Depend) files.
2236 (all-subdirs): Remove nss.
2237 * sysdeps/unix/inet/Subdirs: Add it here instead.
2238 * hesiod/Depend: New file.
2239
2240 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2241 instead of calling alloca.
2242
2243 * io/lseek.c (__lseek): Rename to __libc_lseek.
2244 Define __lseek as an alias.
2245
2246 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2247
22482013-02-04 Carlos O'Donell <carlos@redhat.com>
2249
2250 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2251 else clause and remove check for non-standard endianness.
2252
22532013-02-04 David S. Miller <davem@davemloft.net>
2254
2255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2256
22572013-02-04 Joseph Myers <joseph@codesourcery.com>
2258
2259 [BZ #13550]
2260 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2261 (__ubp_memchr): Remove prototype.
2262 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2263 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2264 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2265 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2266 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2267 Remove alias.
2268 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2269 (__ubp_memchr): Likewise.
2270 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2271 (__ubp_memchr): Likewise.
2272 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2273 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2274 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2275 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2276 CHECK_STRING.
2277 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2278 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2279 (__getcwd): Do not use CHECK_STRING.
2280 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2281 <bp-checks.h>.
2282 (__real_chown): Do not use CHECK_STRING.
2283 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2284 <bp-checks.h>.
2285 (fchownat): Do not use CHECK_STRING.
2286 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2287 CHECK_STRING.
2288 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2289 <bp-checks.h>.
2290 (__lchown): Do not use CHECK_STRING.
2291 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2292 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2293 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2294 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2296 include <bp-checks.h>.
2297 (truncate64): Do not use CHECK_STRING.
2298 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2299 <bp-checks.h>.
2300 (__real_chown): Do not use CHECK_STRING.
2301 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2302 <bp-checks.h>.
2303 (__lchown): Do not use CHECK_STRING.
2304 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2305 <bp-checks.h>.
2306 (__chown): Do not use CHECK_STRING.
2307 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2308 <bp-checks.h>.
2309 (truncate64): Do not use CHECK_STRING.
2310 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2311 Likewise.
2312 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2313 (__xmknod): Do not use CHECK_STRING.
2314 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2315 <bp-checks.h>.
2316 (__xmknodat): Do not use CHECK_STRING.
2317 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2318 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2319
23202013-02-04 Andreas Schwab <schwab@suse.de>
2321
2322 [BZ #14142]
2323 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2324 * include/netdb.h: Likewise for h_errno.
2325 * elf/tst-stackguard1.c: Include <tls.h>.
2326
23272013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2328
2329 * elf/link.h (struct link_map): Extend the l_addr comment.
2330 * include/link.h (struct link_map): Likewise.
2331
23322013-02-01 Joseph Myers <joseph@codesourcery.com>
2333
2334 [BZ #13550]
2335 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2336 (BOUNDED_1): Remove macro.
2337 * debug/backtrace.c: Don't include <bp-checks.h>.
2338 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2339 (__backtrace): Likewise.
2340 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2341 <bp-checks.h>.
2342 (__backtrace): Don't use BOUNDED_1.
2343 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2344 <bp-checks.h>.
2345 (__backtrace): Don't use BOUNDED_1.
2346 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2347 (__backtrace): Don't use BOUNDED_1.
2348 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2349 (shmat): Don't use BOUNDED_N.
2350
23512013-01-31 Joseph Myers <joseph@codesourcery.com>
2352
2353 [BZ #13550]
2354 * sysdeps/generic/bp-start.h: Remove file.
2355 * csu/libc-start.c: Don't include <bp-start.h>.
2356 (LIBC_START_MAIN): Set up __environ directly instead of using
2357 INIT_ARGV_and_ENVIRON.
2358 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2359 <bp-start.h>.
2360
2361 [BZ #13550]
2362 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2363 definitions.
2364 (CHECK_FCNTL): Likewise.
2365 (CHECK_N_PAGES): Likewise.
2366
2367 [BZ #13550]
2368 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2369 definitions.
2370 (CHECK_SIGSET_NULL_OK): Likewise.
2371 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2372 <bp-checks.h>.
2373 (sigpending): Don't use CHECK_SIGSET.
2374 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2375 <bp-checks.h>.
2376 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2377 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2378 <bp-checks.h>.
2379 (do_sigsuspend): Don't use CHECK_SIGSET.
2380 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2381 use CHECK_SIGSET.
2382 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2383 (do_sigwait): Don't use CHECK_SIGSET.
2384 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2385 use CHECK_SIGSET.
2386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2387 include <bp-checks.h>.
2388 (sigpending): Don't use CHECK_SIGSET.
2389 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2390 include <bp-checks.h>.
2391 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2392 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2393 <bp-checks.h>.
2394 (sigpending): Don't use CHECK_SIGSET.
2395 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2396 <bp-checks.h>.
2397 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2398
2399 [BZ #13550]
2400 * sysdeps/generic/bp-semctl.h: Remove file.
2401 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2402 <bp-checks.h> and <bp-semctl.h>.
2403 (__old_semctl): Don't use CHECK_SEMCTL.
2404 (__new_semctl): Likewise.
2405 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2406 and <bp-semctl.h>.
2407 (__old_semctl): Don't use CHECK_SEMCTL.
2408 (__new_semctl): Likewise.
2409 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2410 <bp-checks.h> and <bp-semctl.h>.
2411 (__old_semctl): Don't use CHECK_SEMCTL.
2412 (__new_semctl): Likewise.
2413 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2414 <bp-checks.h> and <bp-semctl.h>.
2415 (semctl): Don't use CHECK_SEMCTL.
2416
2417 [BZ #13550]
2418 * Makerules (elide-bp-thunks): Remove variable.
2419 (elide-routines.oS): Don't use $(elide-bp-thunks).
2420 (elide-routines.os): Likewise.
2421 (elide-routines.o): Likewise.
2422 (elide-routines.op): Likewise.
2423 (elide-routines.og): Likewise.
2424 (objects): Don't use $(bp-thunks).
2425 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2426 include.
2427 (common-generated): Do not add s-proto-bp.d.
2428 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2429 (int): Likewise.
2430 (typ): Likewise.
2431 Do not generate makefile rules for bounded-pointer thunks.
2432 * sysdeps/generic/bp-thunks.h: Remove file.
2433 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2434 * sysdeps/unix/s-proto-bp.S: Likewise.
2435
2436 [BZ #15062]
2437 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2438 parts of result separately when argument is not close to line from
2439 -i to i and one part of argument is small.
2440 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2441 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2442 * math/libm-test.inc (cacos_test): Add more tests.
2443 (casin_test): Likewise.
2444 (casinh_test): Likewise.
2445 * sysdeps/i386/fpu/libm-test-ulps: Update.
2446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2447
24482013-01-31 David S. Miller <davem@davemloft.net>
2449
2450 * po/de.po: Update from translation team.
2451
24522013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2453
2454 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2455
24562013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2457
2458 * configure.in (_AC_PROG_CC_C89): New definition.
2459 * configure: Regenerate.
2460
2461 * configure.in (AC_PROG_CPP): New definition.
2462 * configure: Regenerate.
2463
24642013-01-23 Joseph Myers <joseph@codesourcery.com>
2465
2466 * debug/tst-backtrace.h: New file.
2467 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2468 (ret): Remove variable.
2469 (x): Likewise.
2470 (FAIL): Remove macro.
2471 (NO_INLINE): Likewise.
2472 (fn1): Use match function instead of strstr.
2473 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2474 (ret): Remove variable.
2475 (x): Likewise.
2476 (FAIL): Remove macro.
2477 (NO_INLINE): Likewise.
2478 (fn): Use match function instead of strstr.
2479 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2480 (ret): Remove variable.
2481 (x): Likewise.
2482 (FAIL): Remove macro.
2483 (NO_INLINE): Likewise.
2484 (handle_signal): Use match function instead of strstr.
2485 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2486 (ret): Remove variable.
2487 (x): Likewise.
2488 (FAIL): Remove macro.
2489 (NO_INLINE): Likewise.
2490 (handle_signal): Use match function instead of strstr.
2491
24922013-01-23 Roland McGrath <roland@hack.frob.com>
2493
2494 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2495
24962013-01-23 David S. Miller <davem@davemloft.net>
2497
2498 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2499 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2500 argument of CAS if possible.
2501 * sysdeps/sparc/sparc64/bits/atomic.h
2502 (__arch_compare_and_exchange_val_32_acq): Likewise.
2503 (__arch_compare_and_exchange_val_64_acq): Likewise.
2504
25052013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2506
2507 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2508 * sysdeps/posix/ulimit.c: ... this.
2509 Include <limits.h>.
2510 * sysdeps/unix/bsd/ulimit.c: Remove file.
2511
25122013-01-23 Adam Conrad <adconrad@0c3.net>
2513
2514 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2515 (LDFLAGS-tst-array5): Likewise.
2516
25172013-01-23 Joseph Myers <joseph@codesourcery.com>
2518
2519 [BZ #15036]
2520 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2521 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2522 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2523 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2524
25252013-01-21 David S. Miller <davem@davemloft.net>
2526
2527 * sysdeps/sparc/backtrace.c: New file.
2528 * sysdeps/sparc/sparc32/backtrace.h: New file.
2529 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2530 * sysdeps/sparc/sparc64/backtrace.h: New file.
2531 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2532 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2533 -funwind-tables.
2534
25352013-01-21 Andreas Schwab <schwab@suse.de>
2536
2537 [BZ #15020]
2538 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2539 closed its stdout.
2540
25412013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2542
2543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2544 "mpa2.h".
2545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2546
25472013-01-18 Joseph Myers <joseph@codesourcery.com>
2548 Mark Mitchell <mark@codesourcery.com>
2549 Tom de Vries <tom@codesourcery.com>
2550 Paul Pluzhnikov <ppluzhnikov@google.com>
2551
2552 * debug/tst-backtrace2.c: New file.
2553 * debug/tst-backtrace3.c: Likewise.
2554 * debug/tst-backtrace4.c: Likewise.
2555 * debug/tst-backtrace5.c: Likewise.
2556 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2557 (CFLAGS-tst-backtrace3.c): Likewise.
2558 (CFLAGS-tst-backtrace4.c): Likewise.
2559 (CFLAGS-tst-backtrace5.c): Likewise.
2560 (LDFLAGS-tst-backtrace2): Likewise.
2561 (LDFLAGS-tst-backtrace3): Likewise.
2562 (LDFLAGS-tst-backtrace4): Likewise.
2563 (LDFLAGS-tst-backtrace5): Likewise.
2564 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2565 tst-backtrace4 and tst-backtrace5.
2566
25672013-01-18 Anton Blanchard <anton@samba.org>
2568 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2569
2570 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2571 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2572 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2573 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2575 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2576 "+r" and remove output regs list as redundant. Add explicit inline
2577 asm to specify register of return val to work around compiler codegen
2578 bug. Remove (int) cast on return value. Add return type parameter to
2579 use in macro so that this macro does not truncate return value for
2580 64-bit values.
2581 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2582 pass to INTERNAL_VSYSCALL_NCS.
2583 (INLINE_VSYSCALL): Add 'long int' as return type to
2584 INTERNAL_VSYSCALL_NCS macro invocation.
2585 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2586 INTERNAL_VSYSCALL_NCS macro invocation.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2588
25892013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2590
2591 [BZ #14496]
2592 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2593 Fix application of SIMD FP exception mask.
2594
2595 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2596 mp_no from a power of two.
2597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2598 __mpexp_twomm1. Use __pow_mp.
2599
2600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2601 multiplication.
2602
26032013-01-17 David S. Miller <davem@davemloft.net>
2604
2605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2606
26072013-01-17 Joseph Myers <joseph@codesourcery.com>
2608
2609 [BZ #15023]
2610 * include/complex.h: Condition contents on [!_COMPLEX_H].
2611 (__kernel_casinhf): New prototype.
2612 (__kernel_casinh): Likewise.
2613 (__kernel_casinhl): Likewise.
2614 * math/Makefile (libm_calls): Add k_casinh.
2615 * math/k_casinh.c: New file.
2616 * math/k_casinhf.c: Likewise.
2617 * math/k_casinhl.c: Likewise.
2618 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2619 finite nonzero arguments.
2620 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2621 finite nonzero arguments.
2622 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2623 finite nonzero arguments.
2624 * math/s_casinh.c: Do not include <float.h>.
2625 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2626 * math/s_casinhf.c: Do not include <float.h>.
2627 (__casinhf): Move code for finite nonzero arguments to
2628 k_casinhf.c.
2629 * math/s_casinhl.c: Do not include <float.h>.
2630 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2631 redefine.
2632 (__casinhl): Move code for finite nonzero arguments to
2633 k_casinhl.c.
2634 * math/libm-test.inc (cacos_test): Add more tests.
2635 * sysdeps/i386/fpu/libm-test-ulps: Update.
2636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2637
26382013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2639
2640 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2641 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2642 [!HAVE_MREMAP]: Remove [defined linux] case.
2643 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2644
26452013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2646
2647 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2648
26492013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2650
2651 * elf/elf.h (R_386_SIZE32): New relocation.
2652 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2653 R_386_SIZE32.
2654 (elf_machine_rela): Likewise.
2655 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2656 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2657
26582013-01-17 Joseph Myers <joseph@codesourcery.com>
2659
2660 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2661 (FP_FAST_FMA): Do not define.
2662 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2663 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2664 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2665 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2666 !_SOFT_FLOAT]: Likewise.
2667 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2668 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2669 value.
2670 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2671 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2672 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2673 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2674 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2675 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2676 file.
2677
26782013-01-16 Andreas Schwab <schwab@suse.de>
2679
2680 [BZ #14327]
2681 * include/stdlib.h (__mktemp): Add declaration.
2682 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2683 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2684
26852013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2686
2687 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2688 definitions.
2689 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2690 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2691 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2692 definitions here.
2693 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2694 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2695 definitions.
2696 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2697 and ONE.
2698 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2699 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2700 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2701 definitions.
2702 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2703 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2704 definitions.
2705 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2706
2707 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2708
27092013-01-15 David S. Miller <davem@davemloft.net>
2710
2711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2712 trunc{,f} to libm-sysdep_routes.
2713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2715 file.
2716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2718 file.
2719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2720 file.
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2723 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2724 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2725 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2726 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2727 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2728 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2729
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2731 nearbyint{,f} to libm-sysdep_routes.
2732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2734 New file.
2735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2736 file.
2737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2738 New file.
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2740 file.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2744 file.
2745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2747 file.
2748 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2749 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2750 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2751
2752 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2753 libc_feholdexcept and libc_fesetenv.
2754
27552013-01-15 Mike Frysinger <vapier@gentoo.org>
2756
2757 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2758
27592013-01-14 David S. Miller <davem@davemloft.net>
2760
2761 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2762 (SPARC_ASM_VIS2_IFUNC): Likewise.
2763 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2765 use of 'siam' instruction.
2766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2767 Likewise.
2768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2769 Likewise.
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2771 Likewise.
2772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2777 file.
2778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2779 file.
2780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2781 file.
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2783 file.
2784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2789 new VIS2 routines.
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2793 Likewise.
2794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2799 routines to libm-sysdep_routines.
2800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2801
2802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2803 fdim/fdimf to libm-sysdep_routines.
2804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2805 file.
2806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2808 file.
2809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2812 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2813 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2814 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2815 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2816
28172013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2818
2819 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2820 to optimize copies.
2821
2822 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2825
2826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2827 local variable MPTWO.
2828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2829 Likewise.
2830
28312013-01-13 Mike Frysinger <vapier@gentoo.org>
2832
2833 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2834 GLOB_NOESCAPE.
2835
28362013-01-13 Mike Frysinger <vapier@gentoo.org>
2837
2838 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2839
28402013-01-13 Mike Frysinger <vapier@gentoo.org>
2841
2842 * manual/pattern.texi (glob_t): Document gl_flags.
2843 (glob64_t): Likewise.
2844
28452013-01-11 David S. Miller <davem@davemloft.net>
2846
2847 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2848 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2849 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2850 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2851 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2852 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2853 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2854 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2855 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2856 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2857 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2858 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2859 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2860
2861 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2862 sparc V9 rather than using V8 code.
2863 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2864 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2865
2866 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2867 Move to...
2868 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2869 Here.
2870
28712013-01-11 Roland McGrath <roland@hack.frob.com>
2872
2873 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2874 not in the main loop.
2875 * configure: Regenerated.
2876
28772013-01-11 Joseph Myers <joseph@codesourcery.com>
2878
2879 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2880 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2881 to just #else.
2882 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2883 [!__GLIBC_HAVE_LONG_LONG] case.
2884 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2885 condition to just #else.
2886 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2887 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2888 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2889 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2890 unconditional.
2891 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2892 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2893 #elif condition to just #else.
2894 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2895 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2896 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2897 #elif condition to just #else.
2898
28992013-01-11 Steve Ellcey <sellcey@mips.com>
2900
2901 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2902 (EF_MIPS_ARCH_64): Fix value.
2903 (EF_MIPS_ARCH_32R2): New.
2904 (EF_MIPS_ARCH_64R2): New.
2905
29062013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 * Makeconfig (+link-pie-before-libc): New.
2909 (+link-pie-after-libc): Likewise.
2910 (+link-pie-tests): Likewise.
2911 (+link-pie): Rewritten.
2912 (link-before-libc): Remove $(config-LDFLAGS).
2913 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2914 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2915 (config-LDFLAGS): Renamed to ...
2916 (rtld-LDFLAGS): This.
2917 (rtld-tests-LDFLAGS): New macro.
2918 (link-libc-rpath-link): Likewise.
2919 (link-libc-tests-rpath-link): Likewise.
2920 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2921 (link-libc): Prepand $(link-libc-rpath-link).
2922 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2923 (test-program-prefix): New macro.
2924 (test-via-rtld-prefix): Likewise.
2925 (test-program-cmd): Likewise.
2926 (host-test-program-cmd): Likewise.
2927 * Makefile ($(common-objpfx)testrun.sh): Replace
2928 $(run-program-prefix) with $(test-program-prefix).
2929 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2930 $(rtld-LDFLAGS).
2931 ($(common-objpfx)shlib.lds): Likewise.
2932 (build-module-helper): Likewise.
2933 ($(common-objpfx)format.lds): Likewise.
2934 * Rules (binaries-pie-tests): New.
2935 (binaries-pie-notests): Likewise.
2936 (binaries-pie): Rewritten.
2937 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2938 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2939 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2940 (make-test-out): Replace $(host-built-program-cmd) with
2941 $(host-test-program-cmd).
2942 * config.make.in (build-hardcoded-path-in-tests): New variable.
2943 * configure.in (--enable-hardcoded-path-in-tests): New configure
2944 option.
2945 (hardcoded_path_in_tests): New AC_SUBST.
2946 * configure: Regenerated.
2947 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2948 $(built-program-cmd) with $(test-program-cmd).
2949 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2950 (test_program_cmd): This.
2951 * elf/Makefile ($(objpfx)order.out): Run test with
2952 $(test-program-prefix).
2953 ($(objpfx)order2.out): Likewise.
2954 ($(objpfx)tst-initorder.out): Likewise.
2955 ($(objpfx)tst-initorder2.out): Likewise.
2956 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2957 $(test-program-cmd).
2958 ($(objpfx)tst-array1-static.out): Likewise.
2959 ($(objpfx)tst-array2.out): Likewise.
2960 ($(objpfx)tst-array3.out): Likewise.
2961 ($(objpfx)tst-array4.out): Likewise.
2962 ($(objpfx)tst-array5.out): Likewise.
2963 ($(objpfx)tst-array5-static.out): Likewise.
2964 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2965 $(test-program-cmd).
2966 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2967 $(run-program-prefix) with $(test-program-prefix).
2968 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2969 (test_program_prefix): This.
2970 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2971 $(run-program-prefix) with $(test-program-prefix).
2972 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2973 (test_program_prefix): This.
2974 * iconvdata/tst-tables.sh: Likewise.
2975 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2976 $(run-program-prefix) with $(test-program-prefix).
2977 ($(objpfx)tst-translit.out): Likewise.
2978 ($(objpfx)tst-gettext2.out): Likewise.
2979 ($(objpfx)tst-gettext4.out): Likewise.
2980 ($(objpfx)tst-gettext6.out): Likewise.
2981 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2982 (test_program_prefix): This.
2983 * intl/tst-gettext2.sh: Likewise.
2984 * intl/tst-gettext4.sh Likewise.
2985 * intl/tst-gettext6.sh: Likewise.
2986 * intl/tst-translit.sh: Likewise.
2987 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2988 with $(test-program-cmd).
2989 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2990 $(run-program-prefix) with $(test-program-prefix).
2991 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2992 (test_program_prefix): This.
2993 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2994 $(run-program-prefix) with $(test-program-prefix).
2995 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2996 (test_program_prefix): This.
2997 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2998 * posix/Makefile ($(objpfx)globtest.out): Replace
2999 $(run-via-rtld-prefix) and $(test-wrapper) with
3000 $(test-program-prefix) and $(test-via-rtld-prefix).
3001 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3002 $(test-program-prefix).
3003 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3004 $(host-test-program-cmd).
3005 (tst-spawn-ARGS): Likewise.
3006 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3007 $(test-program-prefix).
3008 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3009 (test_via_rtld_prefix): This.
3010 (test_wrapper): Renamed to ...
3011 (test_program_prefix): This.
3012 (run_program_prefix): Replaced by test_program_prefix.
3013 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3014 (test_program_prefix): This.
3015 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3016 with $(host-test-program-cmd).
3017 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3018 $(run-program-prefix) with $(test-program-prefix).
3019 ($(objpfx)tst-printf.out): Likewise.
3020 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3021 $(test-program-cmd).
3022 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3023 (test_program_prefix): This.
3024 * stdio-common/tst-unbputc.sh: Likewise.
3025 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3026 $(run-program-prefix) with $(test-program-prefix).
3027 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3028 (test_program_prefix): This.
3029 * string/Makefile ($(objpfx)tst-svc.out): Replace
3030 $(built-program-cmd) with $(test-program-cmd).
3031
30322013-01-11 Andreas Jaeger <aj@suse.de>
3033
3034 [BZ #15003]
3035 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3036 value. Sync with Linux 3.7.
3037
30382013-01-10 David S. Miller <davem@davemloft.net>
3039
3040 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3043
30442013-01-10 Roland McGrath <roland@hack.frob.com>
3045
3046 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3047 never set.
3048 * configure: Regenerated.
3049
30502013-01-10 David S. Miller <davem@davemloft.net>
3051
3052 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3053 sparc V9 rather than using V8 code.
3054 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3055 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3056
30572013-01-10 Roland McGrath <roland@hack.frob.com>
3058
3059 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3060 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3061 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3062 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3063 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3064 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3065 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3066 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3067 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3068 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3069 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3070 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3071 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3072 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3073 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3074 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3075 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3076 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3077 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3078 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3079 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3080 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3081 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3082 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3083 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3084 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3085 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3086
30872013-01-10 David S. Miller <davem@davemloft.net>
3088
3089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3090
30912013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3092
3093 * posix/Makefile (tests-static): New variable.
3094 (tests): Add $(tests-static).
3095 (tst-exec-static-ARGS): New variable.
3096 (tst-spawn-static-ARGS): Likewise.
3097 * posix/tst-exec-static.c: New file.
3098 * posix/tst-spawn-static.c: Likewise.
3099 * posix/tst-exec.c: Support run directly.
3100 * posix/tst-spawn.c: Likewise.
3101
31022013-01-10 Joseph Myers <joseph@codesourcery.com>
3103
3104 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3105 long.
3106 * math/bits/mathcalls.h (llrint): Likewise.
3107 (llround): Likewise.
3108 * stdlib/stdlib.h (struct drand48_data): Likewise.
3109 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3110 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3111 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3112 Likewise.
3113 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3114 Likewise.
3115 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3116 (elf_greg_t): Likewise.
3117 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3118 (__jmp_buf): Likewise.
3119 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3120 definitions.
3121 (llrint): Likewise, for all definitions.
3122 (llrintl): Likewise.
3123
3124 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3125 Remove [__GNUC__] condition.
3126 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3127 condition to just [__USE_ISOC99].
3128 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3129
31302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3131
3132 [BZ #14200]
3133 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3134 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3135 defined.
3136 (_POSIX_V6_ILP32_OFF32): Likewise.
3137 (_XBS5_ILP32_OFF32): Likewise.
3138 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3139 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3140
31412013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3142
3143 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3144
3145 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3146 doubles __mpexp_twomm1. Adjust usage.
3147 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3148 Remove.
3149
31502013-01-10 Andreas Schwab <schwab@suse.de>
3151
3152 [BZ #14964]
3153 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3154 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3155
31562013-01-09 David S. Miller <davem@davemloft.net>
3157
3158 [BZ #15003]
3159 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3160 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3161 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3162 TCP_FASTOPEN): Define.
3163 (tcp_repair_opt): New structure.
3164 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3165 enum values.
3166 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3167 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3168 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3169 (tcp_cookie_transactions): New structure.
3170
31712013-01-09 Anton Blanchard <anton@samba.org>
3172
3173 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3174 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3176 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3177
31782013-01-09 Joseph Myers <joseph@codesourcery.com>
3179
3180 * include/features.h (__USE_ANSI): Remove.
3181
31822013-01-09 Roland McGrath <roland@hack.frob.com>
3183
3184 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3185
3186 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3187
31882013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3189
3190 * sysdeps/s390/fpu/libm-test-ulps: Update.
3191
3192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3193
3194 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3195 (__acr): Likewise.
3196 (__cpy): Likewise.
3197 (norm): Likewise.
3198 (denorm): Likewise.
3199 (__mp_dbl): Likewise.
3200 (__dbl_mp): Likewise.
3201 (add_magnitudes): Likewise.
3202 (sub_magnitudes): Likewise.
3203 (__add): Likewise.
3204 (__sub): Likewise.
3205 (__mul): Likewise.
3206 (__inv): Likewise.
3207 (__dvd): Likewise.
3208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3209 (__acr): Likewise.
3210 (__cpy): Likewise.
3211 (norm): Likewise.
3212 (denorm): Likewise.
3213 (__mp_dbl): Likewise.
3214 (__dbl_mp): Likewise.
3215 (add_magnitudes): Likewise.
3216 (sub_magnitudes): Likewise.
3217 (__add): Likewise.
3218 (__sub): Likewise.
3219 (__mul): Likewise.
3220 (__inv): Likewise.
3221 (__dvd): Likewise.
3222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3223 (__acr): Likewise.
3224 (__cpy): Likewise.
3225 (norm): Likewise.
3226 (denorm): Likewise.
3227 (__mp_dbl): Likewise.
3228 (__dbl_mp): Likewise.
3229 (add_magnitudes): Likewise.
3230 (sub_magnitudes): Likewise.
3231 (__add): Likewise.
3232 (__sub): Likewise.
3233 (__mul): Likewise.
3234 (__inv): Likewise.
3235 (__dvd): Likewise.
3236
32372013-01-08 Joseph Myers <joseph@codesourcery.com>
3238
3239 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3240 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3241 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3242 2 && __USE_EXTERN_INLINES]: Likewise.
3243
32442013-01-08 Andreas Jaeger <aj@suse.de>
3245
3246 [BZ# 14985]
3247 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3248 Remove.
3249 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3250 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3251
32522013-01-07 Anton Blanchard <anton@samba.org>
3253
3254 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3255 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3256 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3257 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3258 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3259 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3260 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3261 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3263 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3264 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3265 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3266 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3267 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3268 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3269 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3270 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3271 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3272 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3273 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3274 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3275 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3277 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3278 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3279 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3280 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3281 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3283 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3284 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3286 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3287 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3288 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3289 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3290 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3292 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3293 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3294 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3295 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3296 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3297
32982013-01-07 Joseph Myers <joseph@codesourcery.com>
3299
3300 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3301 (__MALLOC_PMT): Likewise.
3302 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3303 [__GNUC__], only on [_LIBC].
3304 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3305 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3306 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3307 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3308 forward declaration.
3309 (realloc_hook_ini): Likewise.
3310 (memalign_hook_ini): Likewise.
3311 (__libc_memalign): Do not use __MALLOC_PMT in variable
3312 declaration.
3313 (__libc_valloc): Likewise.
3314 (__libc_pvalloc): Likewise.
3315 (__libc_calloc): Likewise.
3316 (__posix_memalign): Likewise.
3317
3318 [BZ #14996]
3319 * math/s_casinh.c: Include <float.h>.
3320 (__casinh): Do not do computation with squaring and square root
3321 for large arguments.
3322 * math/s_casinhf.c: Include <float.h>.
3323 (__casinhf): Do not do computation with squaring and square root
3324 for large arguments.
3325 * math/s_casinhl.c: Include <float.h>.
3326 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3327 (__casinhl): Do not do computation with squaring and square root
3328 for large arguments.
3329 * math/libm-test.inc (casin_test): Add more tests.
3330 (casinh_test): Likewise.
3331 * sysdeps/i386/fpu/libm-test-ulps: Update.
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3333
33342013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3335
3336 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3337 (__x86_64_raw_data_cache_size): Likewise.
3338 (__x86_64_data_cache_size_half): Likewise.
3339 (__x86_64_raw_data_cache_size_half): Likewise.
3340 (__x86_64_shared_cache_size): Likewise.
3341 (__x86_64_raw_shared_cache_size): Likewise.
3342 (__x86_64_shared_cache_size_half): Likewise.
3343 (__x86_64_raw_shared_cache_size_half): Likewise.
3344 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3345 to ...
3346 (__x86_data_cache_size): This.
3347 (__x86_64_raw_data_cache_size): Renamed to ...
3348 (__x86_raw_data_cache_size): This.
3349 (__x86_64_data_cache_size_half): Renamed to ...
3350 (__x86_data_cache_size_half): This.
3351 (__x86_64_raw_data_cache_size_half): Renamed to ...
3352 (__x86_raw_data_cache_size_half): This.
3353 (__x86_64_shared_cache_size): Renamed to ...
3354 (__x86_shared_cache_size): This.
3355 (__x86_64_raw_shared_cache_size): Renamed to ...
3356 (__x86_raw_shared_cache_size): This.
3357 (__x86_64_shared_cache_size_half): Renamed to ...
3358 (__x86_shared_cache_size_half): This.
3359 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3360 (__x86_raw_shared_cache_size_half): This.
3361 * sysdeps/x86_64/memcpy.S: Updated.
3362 * sysdeps/x86_64/memset.S: Likewise.
3363 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3364 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3366
33672013-01-04 David S. Miller <davem@davemloft.net>
3368
3369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3370
33712013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3372
3373 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3374 1 to avoid redefinition warning.
3375 (__USE_GNU): Don't define.
3376 (init_signaling_nan): Protoize.
3377
3378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3379
33802013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3381
3382 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3384 (__cpymn): Likewise.
3385 (norm): Remove commented code.
3386 (denorm): Likewise.
3387 (__mp_dbl): Likewise.
3388 (__inv): Likewise.
3389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3390 (__cpymn): Likewise.
3391 (norm): Remove commented code.
3392 (denorm): Likewise.
3393 (__mp_dbl): Likewise.
3394 (__inv): Likewise.
3395
3396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3397 mp_no value for 1.0 and 2.0.
3398 (norm): Use RADIXI instead of radixi.d.
3399 (denorm): Likewise.
3400 (__mul): Use 0.0 instead of zero.d.
3401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3402 mp_no value for 1.0 and 2.0.
3403 (norm): Use RADIXI instead of radixi.d.
3404 (denorm): Likewise.
3405 (__mul): Use 0.0 instead of zero.d.
3406
34072013-01-04 Joseph Myers <joseph@codesourcery.com>
3408
3409 [BZ #14994]
3410 * math/s_casinh.c (__casinh): Reduce finite argument to first
3411 quadrant then set signs of results at the end.
3412 * math/s_casinhf.c (__casinhf): Likewise.
3413 * math/s_casinhl.c (__casinhl): Likewise.
3414 * math/libm-test.inc (casin_test): Add more tests.
3415 (casinh_test): Likewise.
3416 * sysdeps/i386/fpu/libm-test-ulps: Update.
3417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3418
34192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3420
3421 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3422
3423 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3424
3425 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3426 declarations.
3427 (denorm): Likewise.
3428 (__mp_dbl): Likewise.
3429 (__inv): Likewise.
3430
3431 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3432 and adjust the header comment.
3433
3434 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3435 variable name from declaration.
3436
34372013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3440 Initialize COMMON_CPUID_INDEX_7 element.
3441 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3442 (CPUID_RTM): Likewise.
3443 (HAS_RTM): Likewise.
3444 (COMMON_CPUID_INDEX_7): New enum.
3445
34462013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3447
3448 [BZ #14981]
3449 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3450 size is zero, record memory as freed.
3451
34522013-01-03 Andreas Jaeger <aj@suse.de>
3453
3454 * po/ia.po: Add new Interlingua translation.
3455
34562012-01-03 Allan McRae <allan@archlinux.org>
3457
3458 * locale/programs/localedef.c: Fix description of '--posix' flag.
3459
34602013-01-02 Joseph Myers <joseph@codesourcery.com>
3461
3462 * NEWS: Update dates in second copyright notice.
3463 * README: Update copyright dates in example.
3464 * manual/libc.texinfo: Update copyright dates.
3465 * scripts/test-installation.pl: Update copyright date in --version
3466 output.
3467
3468 * hurd/ctty-input.c: Fix copyright notice formatting.
3469 * hurd/ctty-output.c: Likewise.
3470 * hurd/dtable.c: Likewise.
3471 * hurd/hurd-raise.c: Likewise.
3472 * hurd/hurdprio.c: Likewise.
3473 * hurd/msgportdemux.c: Likewise.
3474 * misc/sys/file.h: Likewise.
3475 * misc/sys/ioctl.h: Likewise.
3476 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3477 * sysdeps/mach/hurd/chdir.c: Likewise.
3478 * sysdeps/mach/hurd/fchdir.c: Likewise.
3479 * sysdeps/mach/hurd/rename.c: Likewise.
3480 * sysdeps/mach/hurd/rmdir.c: Likewise.
3481 * sysdeps/mach/hurd/seekdir.c: Likewise.
3482 * sysdeps/mach/hurd/setsid.c: Likewise.
3483 * sysdeps/posix/wait3.c: Likewise.
3484
3485 * All files with FSF copyright notices: Update copyright dates
3486 using scripts/update-copyrights.
3487 * intl/plural.c: Regenerated.
3488 * locale/programs/charmap-kw.h: Likewise.
3489 * locale/programs/locfile-kw.h: Likewise.
3490
34912013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3492
3493 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3494 four values.
3495
3496 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3497 calculation loop and add branch prediction.
3498
3499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3500 check access beyond bounds of m1np.
3501
3502 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3503 MPTWO.
3504 (__inv): Remove local variable MPTWO to use the global
3505 constant.
3506 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3508 variable MPTWO.
3509 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3510 MP3HALFS static const.
3511
35122013-01-01 David S. Miller <davem@davemloft.net>
3513
3514 * po/ca.po: Update from translation team.
3515
35162013-01-01 Joseph Myers <joseph@codesourcery.com>
3517
3518 * scripts/update-copyrights: New file.
3519 * Makeconfig: Reformat copyright notice.
3520 * ctype/ctype.h: Likewise.
3521 * debug/swprintf_chk.c: Likewise.
3522 * elf/dl-cache.c: Likewise.
3523 * elf/dl-debug.c: Likewise.
3524 * elf/dl-object.c: Likewise.
3525 * grp/initgroups.c: Likewise.
3526 * hurd/Makefile: Likewise.
3527 * hurd/hurd/signal.h: Likewise.
3528 * hurd/hurdfault.c: Likewise.
3529 * hurd/hurdioctl.c: Likewise.
3530 * hurd/hurdlookup.c: Likewise.
3531 * hurd/intr-msg.c: Likewise.
3532 * iconv/gconv_open.c: Likewise.
3533 * libio/swprintf.c: Likewise.
3534 * locale/lc-ctype.c: Likewise.
3535 * locale/nl_langinfo.c: Likewise.
3536 * mach/Machrules: Likewise.
3537 * mach/Makefile: Likewise.
3538 * malloc/obstack.h: Likewise.
3539 * manual/Makefile: Likewise.
3540 * manual/tsort.awk: Likewise.
3541 * misc/bits/stab.def: Likewise.
3542 * nis/nis_print_group_entry.c: Likewise.
3543 * nis/nis_table.c: Likewise.
3544 * nis/nss_compat/compat-pwd.c: Likewise.
3545 * nis/nss_compat/compat-spwd.c: Likewise.
3546 * po/Makefile: Likewise.
3547 * posix/fnmatch.c: Likewise.
3548 * posix/regex.h: Likewise.
3549 * resolv/Makefile: Likewise.
3550 * resolv/nss_dns/dns-network.c: Likewise.
3551 * resolv/res_hconf.c: Likewise.
3552 * scripts/gen-sorted.awk: Likewise.
3553 * soft-fp/soft-fp.h: Likewise.
3554 * stdio-common/printf.h: Likewise.
3555 * stdlib/monetary.h: Likewise.
3556 * stdlib/random.c: Likewise.
3557 * stdlib/random_r.c: Likewise.
3558 * sysdeps/generic/Makefile: Likewise.
3559 * sysdeps/gnu/Makefile: Likewise.
3560 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3564 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3581 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3583 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3588 * sysdeps/mach/hurd/errnos.awk: Likewise.
3589 * sysdeps/mach/hurd/fork.c: Likewise.
3590 * sysdeps/mach/hurd/getcwd.c: Likewise.
3591 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3592 * sysdeps/mach/hurd/mmap.c: Likewise.
3593 * sysdeps/mach/hurd/utimes.c: Likewise.
3594 * sysdeps/mach/hurd/xmknod.c: Likewise.
3595 * sysdeps/posix/profil.c: Likewise.
3596 * sysdeps/posix/readdir_r.c: Likewise.
3597 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3598 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3599 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3600 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3602 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3603 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3604 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3606 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3607 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3608 * sysdeps/pthread/lio_listio.c: Likewise.
3609 * sysdeps/sparc/dl-procinfo.h: Likewise.
3610 * sysdeps/unix/i386/sysdep.S: Likewise.
3611 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3612 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3613 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3614 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3616 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3617 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3618 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3619 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3620 * sysdeps/wordsize-32/divdi3.c: Likewise.
3621 * time/sys/time.h: Likewise.
3622 * wcsmbs/Makefile: Likewise.
3623
36242013-01-01 David S. Miller <davem@davemloft.net>
3625
3626 * po/fr.po: Update from translation team.
3627
3628 * catgets/gencat.c: Update copyright year.
3629 * csu/version.c: Likewise.
3630 * debug/catchsegv.sh: Likewise.
3631 * debug/pcprofiledump.c: Likewise.
3632 * debug/xtrace.sh: Likewise.
3633 * elf/ldconfig.c: Likewise.
3634 * elf/ldd.bash.in: Likewise.
3635 * elf/pldd.c: Likewise.
3636 * elf/sotruss.ksh: Likewise.
3637 * elf/sprof.c: Likewise.
3638 * iconv/iconv_prog.c: Likewise.
3639 * iconv/iconvconfig.c: Likewise.
3640 * locale/programs/locale.c: Likewise.
3641 * locale/programs/localedef.c: Likewise.
3642 * login/programs/pt_chown.c: Likewise.
3643 * malloc/memusage.sh: Likewise.
3644 * malloc/memusagestat.c: Likewise.
3645 * malloc/mtrace.pl: Likewise.
3646 * nscd/nscd.c: Likewise.
3647 * nss/getent.c: Likewise.
3648 * nss/makedb.c: Likewise.
3649 * posix/getconf.c: Likewise.
3650
36512012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3652
3653 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3654 numbers.
3655
36562012-12-30 Mike Frysinger <vapier@gentoo.org>
3657
3658 * math/bits/mathcalls.h (modf): Use __nonnull.
3659
36602012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3661
3662 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3663 (split): Use macro CN instead of the bare value.
3664 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3665 could be used.
3666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3667 instead of the bare value.
3668 (power1): Likewise.
3669
36702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
3672 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3673 __ATAN_TWOM.
3674 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3675
3676 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3677 their values.
3678 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3679 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3680 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3681 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3682
36832012-12-28 Andreas Jaeger <aj@suse.de>
3684
3685 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3686 values are from Linux 3.7.
3687
3688 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3689 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3690
36912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3692
3693 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3694 TRUE case.
3695
3696 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3697 (norm): Likewise.
3698 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3699 variables with preprocessor constants.
3700 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3701 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3702 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3703
37042012-12-27 Bruno Haible <bruno@clisp.org>
3705
3706 [BZ #14317]
3707 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3708 only if needed.
3709
37102012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3711
3712 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3713 and use variable directly.
3714 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3715
3716 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3717 MPONE.
3718 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3719 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3720 variable MPONE.
3721 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3723 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3724 include directive. Remove local variable MPONE.
3725 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3726 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3727 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3728
37292012-12-25 David S. Miller <davem@davemloft.net>
3730
3731 * version.h (RELEASE): Set to "development".
3732 (VERSION): Set to "2.17.90".
3733 * NEWS: Add 2.18 section.
3734
37352012-12-21 David S. Miller <davem@davemloft.net>
3736
3737 * po/hr.po: Update from translation team.
3738
37392012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3740
3741 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3742
37432012-12-19 Steve Ellcey <sellcey@mips.com>
3744
3745 * NEWS: Mention new memcpy for MIPS.
3746
37472012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3748
3749 * manual/contrib.texi (Contributors): Spelling correction.
3750
37512012-12-15 David S. Miller <davem@davemloft.net>
3752
3753 * po/ru.po: Update from translation team.
3754
37552012-12-13 David S. Miller <davem@davemloft.net>
3756
3757 * NEWS: Mention IFUNC testsuite enhancements.
3758
3759 * po/pl.po: Update from translation team.
3760 * po/bg.po: Likewise.
3761
3762 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3763 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3764
37652012-12-11 David S. Miller <davem@davemloft.net>
3766
3767 * po/sv.po: Update from translation team.
3768
3769 * po/vi.po: Update from translation team.
3770
3771 * po/cs.po: Update from translation team.
3772
3773 * po/de.po: Update from translation team.
3774 * po/eo.po: Likewise.
3775 * po/nl.po: Likewise.
3776
37772012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3778
3779 [BZ #14246]
3780 * manual/argp.texi (Argp Helper Functions): Move node to follow
3781 Argp Parsing State.
3782
3783 [BZ #14872]
3784 * manual/conf.texi (Limits on File System Capacity): Mention if
3785 terminating null is included in the max size.
3786
37872012-12-10 Andreas Jaeger <aj@suse.de>
3788
3789 * po/cs.po: Update from translation team.
3790
37912012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3792
3793 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3794 void pointer and cast to uintptr_t.
3795 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3796 path.
3797 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3798 * sysdeps/s390/s390-64/memset.S: Likewise.
3799
38002012-12-08 Benno Schulenberg <bensberg@justemail.net>
3801
3802 [BZ #14833]
3803 * menual/message.texi (Message Translation): Fix typos.
3804 (Helper programs for gettext): Likewise.
3805
38062012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3807
3808 [BZ #14898]
3809 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3810 Change to -1.
3811
38122012-12-07 David S. Miller <davem@davemloft.net>
3813
3814 * po/libc.pot: Update.
3815
38162012-12-07 Richard Henderson <rth@redhat.com>
3817
3818 [BZ #10114]
3819 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3820 normal/normal case to before the switch.
3821 (_FP_DIV): Likewise.
3822
38232012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3824 Mike Frysinger <vapier@gentoo.org>
3825
3826 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3827 check for __NR_fadvise64_64.
3828
38292012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3830
3831 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3832 0, not just to plain "0" as a statement.
3833 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3834 with cw.
3835
38362012-12-06 Joseph Myers <joseph@codesourcery.com>
3837
3838 * NEWS: Use sourceware.org in Bugzilla URL.
3839
38402012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3841
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3843 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3844
3845 * stdio-common/tst-put-error.c (do_test): Add newline to the
3846 padded test to ensure flush.
3847
38482012-12-05 Jeff Law <law@redhat.com>
3849
3850 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3851
38522012-12-05 Joseph Myers <joseph@codesourcery.com>
3853
3854 * README: Don't refer to ports add-on as distributed separately.
3855 Mention AArch64 in list of systems supported in the ports add-on.
3856
3857 * LICENSES: Add more non-FSF copyright and license notices.
3858
3859 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3860 ((unused)).
3861
3862 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3863
3864 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3865 10000 as width of padded output.
3866
38672012-12-04 Joseph Myers <joseph@codesourcery.com>
3868
3869 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3870
3871 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3872 variable LX with __attribute__ ((unused)).
3873 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3874 Likewise.
3875 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3878 with __attribute__ ((unused)).
3879
38802012-12-04 David S. Miller <davem@abraco.davemloft.net>
3881
3882 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3883
38842012-12-04 Joseph Myers <joseph@codesourcery.com>
3885
3886 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3887 (CFLAGS-nldbl-acos.c): New variable.
3888 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3889 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3890 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3891 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3892 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3893 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3894 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3895 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3896 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3897 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3898 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3899 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3900 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3901 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3902 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3903 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3904 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3905 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3906 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3907 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3908 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3909 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3910 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3911 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3912 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3913 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3914 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3915 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3916 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3917 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3918 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3919 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3920 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3921 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3922 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3923 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3924 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3925 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3926 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3927 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3928 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3929 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3930 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3931 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3932 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3933 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3934 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3935 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3936 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3937 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3938 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3939 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3940 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3941 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3942 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3943 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3944 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3945 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3946 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3947 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3948 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3949 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3950 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3951 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3952 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3953 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3954 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3955 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3956 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3957 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3958 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3959 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3960 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3961 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3962 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3963 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3964 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3965 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3966 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3967 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3968 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3969 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3970 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3971 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3972 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3973 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3974 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3975 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3976 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3977 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3978 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3979 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3980 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3981 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3982 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3983 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3984 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3985
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3987 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3988
3989 [BZ #14914]
3990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3991 whole low double instead of just low 47 bits when splitting values
3992 into two parts.
3993
39942012-12-03 Allan McRae <allan@archlinux.org>
3995
3996 * manual/stdio.texi (Predefined Printf Handlers): Remove
3997 @hsep and @vsep usage.
3998
39992012-12-03 Mike Frysinger <vapier@gentoo.org>
4000
4001 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4002 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4003
40042012-12-03 Jeff Law <law@redhat.com>
4005
4006 * time/sys/time.h (settimeofday): Do not mark TV argument
4007 as __nonnull.
4008
40092012-12-01 Mike Frysinger <vapier@gentoo.org>
4010
4011 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4012 when currently writing and seek to current position when not.
4013 * libio/Makefile (tests): Remove bug-fclose1.
4014 * libio/bug-fclose1.c: Delete.
4015
40162012-12-01 Joseph Myers <joseph@codesourcery.com>
4017
4018 * manual/arith.texi (feenableexcept): Fix typo.
4019 (fedisableexcept): Likewise.
4020
40212012-11-30 Roland McGrath <roland@hack.frob.com>
4022
4023 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4024 second, differently-typed declaration, rather than a cast.
4025
40262012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4027
4028 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4029 * include/rpc/svc.h: ... here.
4030
40312012-11-30 Aurelien Jarno <aurel32@debian.org>
4032
4033 [BZ #13013]
4034 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4035 depending n and resplen2 to catch cases where answer
4036 equals answerp2.
4037
40382012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4039
4040 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4041 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4042
40432012-11-29 Mike Frysinger <vapier@gentoo.org>
4044
4045 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4046
40472012-11-29 Roland McGrath <roland@hack.frob.com>
4048
4049 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4050
40512012-11-28 Jeff Law <law@redhat.com>
4052
4053 [BZ #13761]
4054 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4055 dataset_temporary. Track alloca usage into alloca_used.
4056 If dataset is large allocate and release it via malloc/free.
4057
40582012-06-04 Florian Weimer <fweimer@redhat.com>
4059
4060 [BZ #14197]
4061 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4062
40632012-11-28 David S. Miller <davem@davemloft.net>
4064
4065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4066
40672012-11-28 Joseph Myers <joseph@codesourcery.com>
4068
4069 [BZ #14803]
4070 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4071 of pi/2 rounded to nearest to 64 bits.
4072 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4073 nearest to 64 bits.
4074 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4075 bits.
4076
40772012-11-28 Jeff Law <law@redhat.com>
4078 Martin Osvald <mosvald@redhat.com>
4079
4080 [BZ #14889]
4081 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4082 * sunrpc/svc.c: Include time.h.
4083 (__svc_accept_failed): New function.
4084 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4085 any reason other than EINTR, call __svc_accept_failed.
4086 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4087 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4088
40892012-11-28 Andreas Schwab <schwab@suse.de>
4090
4091 * scripts/abilist.awk: Also handle indirect functions in .opd
4092 section.
4093
40942012-11-28 Joseph Myers <joseph@codesourcery.com>
4095
4096 [BZ #13881]
4097 * sysdeps/x86/fpu/powl_helper.c: New file.
4098 * sysdeps/x86/fpu/Makefile: Likewise.
4099 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4100 (p3): New object.
4101 (__ieee754_powl): Use __powl_helper for finite arguments except
4102 integer exponents below 8.
4103 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4104 (p3): New object.
4105 (__ieee754_powl): Use __powl_helper for finite arguments except
4106 integer exponents below 8.
4107 * math/libm-test.inc (pow_test): Add more tests and enable some
4108 previously disabled tests.
4109 * sysdeps/i386/fpu/libm-test-ulps: Update.
4110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4111
41122012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4113 Carlos O'Donell <carlos_odonell@mentor.com>
4114
4115 * nss/makedb.c (is_prime): Assert that input is odd and greater
4116 than 4. Note that fact in a comment too.
4117 (next_prime): Add 4 to input.
4118
41192012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4120
4121 [BZ #11741]
4122 * libio/Makefile (tests): Add test case tst-fwrite-error.
4123 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4124 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4125 * libio/tst-fwrite-error.c: New test case.
4126
41272012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4130 before casting to void *.
4131 * include/libc-internal.h (__pointer_type): New macro.
4132 (__integer_if_pointer_type_sub): Likewise.
4133 (__integer_if_pointer_type): Likewise.
4134 (cast_to_integer): Likewise.
4135 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4136 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4137 before casting to atomic64_t.
4138 (atomic_exchange_acq): Likewise.
4139 (__arch_exchange_and_add_body): Likewise.
4140 (__arch_add_body): Likewise.
4141 (atomic_add_negative): Likewise.
4142 (atomic_add_zero): Likewise.
4143
41442012-11-26 Joseph Myers <joseph@codesourcery.com>
4145
4146 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4147 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4148 (add_fdes): Likewise.
4149 (linear_search_fdes): Likewise.
4150 (binary_search_unencoded_fdes): Likewise.
4151
41522012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4153
4154 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4155
41562012-11-24 Adam Conrad <adconrad@0c3.net>
4157
4158 * configure.in: Autodetect C++ header directories.
4159 * configure: Regenerated.
4160
41612012-11-23 Mike Frysinger <vapier@gentoo.org>
4162
4163 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4164
41652012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4166
4167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4168
41692012-11-22 Joseph Myers <joseph@codesourcery.com>
4170
4171 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4172 LDBL_MANT_DIG == 106]: Disable some tests.
4173 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4174 Likewise.
4175 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4176 Likewise.
4177
4178 [BZ #14871]
4179 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4180 input for small inputs. Return +/- pi/2 for large inputs.
4181 * math/libm-test.inc (atan_test): Add more tests.
4182
4183 * sysdeps/generic/unwind-dw2-fde-glibc.c
4184 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4185 __attribute__ ((unused)).
4186
4187 [BZ #14645]
4188 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4189 x * y if x and y are nonzero and z is zero.
4190
4191 [BZ #14811]
4192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4193 nonzero exponents with absolute value below 0x1p-117 to +/-
4194 0x1p-117.
4195
4196 [BZ #14869]
4197 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4198 up arguments below 2**-450, not just those below 2**-500.
4199 * math/libm-test.inc (hypot_test): Add another test.
4200
4201 [BZ #14868]
4202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4203 Return a+b for ratio over 2**120, not 2**60.
4204 * math/libm-test.inc (hypot_test): Add another test.
4205
4206 * math/libm-test.inc (clog_test): Use
4207 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4208 (clog10_test): Likewise.
4209
4210 [BZ #6778]
4211 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4212
42132012-11-22 Andreas Schwab <schwab@suse.de>
4214
4215 * sysdeps/i386/fpu/libm-test-ulps: Update.
4216
42172012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4218
4219 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4220 printf output with newline.
4221
42222012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4223
4224 [BZ #14865]
4225 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4226 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4227 -z nodlopen, -z initfirst and -z execstack support.
4228 * configure: Regenerated.
4229
4230 * elf/elf.h (DF_1_NODIRECT): New macro.
4231 (DF_1_IGNMULDEF): Likewise.
4232 (DF_1_NOKSYMS): Likewise.
4233 (DF_1_NOHDR): Likewise.
4234 (DF_1_EDITED): Likewise.
4235 (DF_1_NORELOC): Likewise.
4236 (DF_1_SYMINTPOSE): Likewise.
4237 (DF_1_GLOBAUDIT): Likewise.
4238 (DF_1_SINGLETON): Likewise.
4239 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4240 DT_1_SUPPORTED_MASK bits.
4241 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4242
42432012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4244
4245 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4246
42472012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4248
4249 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4250 macro.
4251
4252 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4253 (sendmmsg): Move declarations...
4254 * socket/sys/socket.h: ... here.
4255 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4256 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4257 include it from...
4258 * socket/recvmmsg.c: ... this new file.
4259 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4260 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4261 definition of __sendmmsg hidden.
4262 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4263 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4264 Move ENOSYS stub into and include it from...
4265 * socket/sendmmsg.c: ... this new file.
4266 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4267 (sysdep_routines): Move recvmmsg and sendmmsg...
4268 * socket/Makefile (routines): ... here.
4269 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4270 (GLIBC_PRIVATE): Add __sendmmsg.
4271 * include/sys/socket.h (__sendmmsg): Add declarations.
4272 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4273 sendmmsg.
4274
42752012-11-20 Joseph Myers <joseph@codesourcery.com>
4276
4277 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4278 variable I1 with __attribute__ ((unused)).
4279 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4280
42812012-11-19 Joseph Myers <joseph@codesourcery.com>
4282
4283 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4284 DUMMY variables with __attribute__ ((unused)).
4285
4286 * bits/byteswap.h: Include <bits/types.h>.
4287 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4288
42892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4290
4291 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4292 string_t. Do not manually set errno.
4293 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4294 length with __strnlen. Make sure to both set errno and return it on
4295 failure.
4296
42972012-11-19 David S. Miller <davem@davemloft.net>
4298
4299 With help from Joseph Myers.
4300 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4301 very large arguments properly.
4302 * math/libm-test.inc (atan_test): New tests.
4303 (atan2_test): New tests.
4304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4306
43072012-11-19 Joseph Myers <joseph@codesourcery.com>
4308
4309 [BZ #14856]
4310 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4311 Define to 3.
4312
4313 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4314 [POSIX] (EADDRNOTAVAIL): Likewise.
4315 [POSIX] (EAFNOSUPPORT): Likewise.
4316 [POSIX] (EALREADY): Likewise.
4317 [POSIX] (ECONNABORTED): Likewise.
4318 [POSIX] (ECONNREFUSED): Likewise.
4319 [POSIX] (ECONNRESET): Likewise.
4320 [POSIX] (EDESTADDRREQ): Likewise.
4321 [POSIX] (EDQUOT): Likewise.
4322 [POSIX] (EHOSTUNREACH): Likewise.
4323 [POSIX] (EIDRM): Likewise.
4324 [POSIX] (EISCONN): Likewise.
4325 [POSIX] (ELOOP): Likewise.
4326 [POSIX] (EMULTIHOP): Likewise.
4327 [POSIX] (ENETDOWN): Likewise.
4328 [POSIX] (ENETUNREACH): Likewise.
4329 [POSIX] (ENOBUFS): Likewise.
4330 [POSIX] (ENODATA): Likewise.
4331 [POSIX] (ENOLINK): Likewise.
4332 [POSIX] (ENOMSG): Likewise.
4333 [POSIX] (ENOPROTOOPT): Likewise.
4334 [POSIX] (ENOSR): Likewise.
4335 [POSIX] (ENOSTR): Likewise.
4336 [POSIX] (ENOTCONN): Likewise.
4337 [POSIX] (ENOTSOCK): Likewise.
4338 [POSIX] (EOPNOTSUPP): Likewise.
4339 [POSIX] (EOVERFLOW): Likewise.
4340 [POSIX] (EPROTO): Likewise.
4341 [POSIX] (EPROTONOSUPPORT): Likewise.
4342 [POSIX] (EPROTOTYPE): Likewise.
4343 [POSIX] (ESTALE): Likewise.
4344 [POSIX] (ETIME): Likewise.
4345 [POSIX] (ETXTBSY): Likewise.
4346 [POSIX] (EWOULDBLOCK): Likewise.
4347 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4348 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4349 [POSIX] (SEEK_CUR): Likewise.
4350 [POSIX] (SEEK_END): Likewise.
4351 [POSIX || UNIX98] (mode_t): Do not require.
4352 [POSIX] (off_t): Likewise.
4353 [POSIX] (pid_t): Likewise.
4354 [POSIX] (sys/stat.h): Do not allow header.
4355 [POSIX] (unistd.h): Likewise.
4356 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4357 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4358 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4359 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4360 require.
4361 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4362 sigevent): Specify elements.
4363 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4364 entry.
4365 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4366 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4367
4368 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4369 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4370 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4371 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4372 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4373 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4374 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4375 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4376 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4377 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4378 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4379 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4380 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4381 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4382 Likewise.
4383 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4384 Likewise.
4385 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4386 Likewise.
4387 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4388 Likewise.
4389 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4390 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4391 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4392 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4393 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4394 Specify lower bound on value.
4395 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4396 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4397 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4398 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4399 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4400 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4401 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4402 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4403 value.
4404 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4405 as optional.
4406 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4407 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4408 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4409 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4410 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4411 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4412 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4413 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4414 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4415 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4416 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4417 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4418 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4419 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4420 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4421 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4422 entry.
4423 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4424 optional.
4425 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4426 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4427 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4428 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4429 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4430 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4431 Likewise.
4432 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4433 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4436 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4437 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4438 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4439 as optional.
4440 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4441 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4442 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4443 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4444 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4445 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4446 specify as optional.
4447 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4448 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4449 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4450 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4451 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4452 [XPG3] (NL_LANGMAX): Likewise.
4453 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4454 [POSIX || XPG3] (NL_NMAX): Likewise.
4455 [POSIX || XPG3] (NL_SETMAX): Likewise.
4456 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4457 [XPG3] (NZERO): Likewise.
4458 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4459 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4460 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4461 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4462 (REG_ERANGE): Expect.
4463 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4464 optional-constant.
4465 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4466 Use (void) in prototype.
4467 [POSIX] (*_t): Allow.
4468 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4469 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4470 (WRDE_BADVAL): Expect.
4471
4472 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4473 expect.
4474 [XPG3 || XPG4] (O_RSYNC): Likewise.
4475 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4476 Likewise.
4477 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4478 [XPG3 || XPG4] (sigqueue): Likewise.
4479 [XPG3 || XPG4] (sigtimedwait): Likewise.
4480 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4481 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4482 [XPG3 || XPG4] (vsnprintf): Likewise.
4483 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4484 Likewise.
4485 [XPG3 || XPG4] (blksize_t): Likewise.
4486 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4487 Likewise.
4488 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4489 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4490 [XPG3 || XPG4] (struct itimerspec): Likewise.
4491 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4492 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4493 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4494 [XPG3 || XPG4] (clockid_t): Likewise.
4495 [XPG3 || XPG4] (timer_t): Likewise.
4496 [XPG3 || XPG4] (clock_getres): Likewise.
4497 [XPG3 || XPG4] (clock_gettime): Likewise.
4498 [XPG3 || XPG4] (clock_settime): Likewise.
4499 [XPG3 || XPG4] (nanosleep): Likewise.
4500 [XPG3 || XPG4] (timer_create): Likewise.
4501 [XPG3 || XPG4] (timer_delete): Likewise.
4502 [XPG3 || XPG4] (timer_gettime): Likewise.
4503 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4504 [XPG3 || XPG4] (timer_settime): Likewise.
4505 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4506 [XPG3 || XPG4] (getlogin_r): Likewise.
4507 [XPG3 || XPG4] (pread): Likewise.
4508 [XPG3 || XPG4] (pthread_atfork): Likewise.
4509 [XPG3 || XPG4] (pwrite): Likewise.
4510
4511 [BZ #14835]
4512 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4513 <bits/siginfo.h>.
4514
45152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4516
4517 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4518 finalizing MALLSTREAM.
4519
4520 * sysdeps/mach/hurd/syncfs.c: New file.
4521
45222012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4523
4524 [BZ #14719]
4525 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4526 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4527 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4528 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4529 (_nss_dns_gethostbyname4_r): Likewise.
4530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4531 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4532
45332012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4534
4535 [BZ #13763]
4536 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4537
45382012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4539
4540 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4541 * elf/cache.c (print_entry): Print ",AArch64" for
4542 FLAG_AARCH64_LIB64
4543
4544 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4545 * elf/cache.c (print_entry): Print ",hard-float" for
4546 FLAG_ARM_LIBHF.
4547
45482012-11-18 David S. Miller <davem@davemloft.net>
4549
4550 With help from Joseph Myers.
4551 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4552 cutoff to 2**-13.
4553 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4554 cutoff to 2**-25.
4555 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4556 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4557 small.
4558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4559 * math/libm-test.inc (y0_test): New tests.
4560 (y1_test): New tests.
4561 * sysdeps/i386/fpu/libm-test-ulps: Update.
4562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4564
45652012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4566
4567 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4568 64-bit targets.
4569 * configure: Regenerated.
4570
45712012-11-17 David S. Miller <davem@davemloft.net>
4572
4573 [BZ #14811]
4574 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4575 nonzero exponents with absolute value below 0x1p-128 to +/-
4576 0x1p-128.
4577
45782012-11-17 Joseph Myers <joseph@codesourcery.com>
4579
4580 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4581
4582 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4583
4584 * posix/getconf-speclist.c: New file.
4585 * posix/posix-envs.def: Likewise.
4586 * posix/confstr.c (START_ENV_GROUP): New macro.
4587 (END_ENV_GROUP): Likewise.
4588 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4589 (KNOWN_PRESENT_ENV_STRING): Likewise.
4590 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4591 (UNKNOWN_ENVIRONMENT): Likewise.
4592 (confstr): Include posix-envs.def instead of handling
4593 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4594 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4595 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4596 (END_ENV_GROUP): Likewise.
4597 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4598 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4599 (UNKNOWN_ENVIRONMENT): Likewise.
4600 (__sysconf): Include posix-envs.def instead of handling associated
4601 cases directly here.
4602 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4603 preprocessing getconf-speclist.c rather than running getconf or
4604 generating empty file.
4605
46062012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4607
4608 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4609
46102012-11-16 Andrej Lajovic <natrij@gmail.com>
4611
4612 [BZ #14672]
4613 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4614
46152012-11-16 David S. Miller <davem@davemloft.net>
4616
4617 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4618 smaller than LDBL_EPSILON/2.0L, just return xm1.
4619
46202012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4621
4622 * elf/tst-array1.c (init): Set constructor priority to 1000.
4623 (fini): Set destructor priority to 1000.
4624 * elf/tst-array2dep.c: Likewise.
4625
46262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4627
4628 [BZ #11741]
4629 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4630 (_IO_new_file_xsputn): Also return EOF if none of the input
4631 data was written when overflow failed.
4632 * libio/iopadn.c (_IO_padn): Likewise.
4633 * libio/iowpadn.c (_IO_wpadn): Likewise.
4634 * stdio-common/tst-put-error.c: Add copyright notice.
4635 (do_test): Add case for printing padded string.
4636 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4637 _IO_padn returned error.
4638 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4639 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4640 return EOF.
4641
46422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4643
4644 * libio/libioP.h: Add comment note that the references to C++
4645 bits are now obsolete.
4646
46472012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4648
4649 * math/libm-test.inc (check_complex): Use asprintf.
4650
46512012-11-14 Joseph Myers <joseph@codesourcery.com>
4652
4653 * debug/pcprofiledump.c (print_version): Update copyright year.
4654 * malloc/memusagestat.c (print_version): Likewise.
4655
46562012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4657
4658 [BZ #14831]
4659 * elf/Makefile (tests): Add tst-audit8.
4660 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4661 ($(objpfx)tst-audit8.out): New target.
4662 (tst-audit8-ENV): New variable.
4663 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4664 audit if l_reloc_result is NULL.
4665 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4666 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4667 * elf/tst-audit8.c: New file.
4668
46692012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4670
4671 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4672 * misc/Makefile (CFLAGS-select.c): Define.
4673 * posix/Makefile (CFLAGS-pause.c): Define.
4674
46752012-11-13 David S. Miller <davem@davemloft.net>
4676
4677 * crypt/Makefile: Move test targets after toplevel Rules
4678 inclusion. Grab any necessary sysdep routines when linking.
4679 * crypt/md5.c (md5_process_block): Remove define, we will always
4680 name it __md5_process_block.
4681 (md5_finish_ctx): Update md5_process_block call.
4682 (md5_stream): Likewise.
4683 (md5_process_bytes): Likewise.
4684 (md5_process_block): Rename to __md5_process_block and move to ...
4685 * crypt/md5-block.c: ... here.
4686 * crypt/sha256.c (sha256_process_block): Move to ...
4687 * crypt/sha256-block.c: ... here.
4688 * crypt/sha512.c (sha512_process_block): Move to ...
4689 * crypt/sha512-block.c: ... here.
4690 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4691 path.
4692 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4693 * sysdeps/sparc/sparc64/multiarch/Makefile
4694 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4695 crypt subdir.
4696 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4698 multiarch changes.
4699 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4700 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4701 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4702 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4703 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4704 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4705 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4706 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4707 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4708 file.
4709 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4710 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4711 file.
4712 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4713
47142012-11-13 Joseph Myers <joseph@codesourcery.com>
4715
4716 * timezone/tzselect.ksh: Update from tzcode git revision
4717 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4718 * timezone/zdump.c: Likewise.
4719 * timezone/zic.c: Likewise.
4720 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4721 in TZVERSION setting, not $(PKGVERSION).
4722 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4723 REPORT_BUGS_TO settings.
4724
4725 [BZ #14838]
4726 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4727 macro.
4728
47292012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4730
4731 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4732 detection to immediately after _FP_ROUND().
4733 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4734 bits are 0.
4735
47362012-11-11 David S. Miller <davem@davemloft.net>
4737
4738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4739 inttypes.h
4740 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4741 __close rather than their public counterparts.
4742
47432012-11-10 Joseph Myers <joseph@codesourcery.com>
4744
4745 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4746 file.
4747 [UNIX98] (sem_timedwait): Do not expect.
4748 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4749 [XPG4 || UNIX98] (sockatmark): Do not expect.
4750 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4751 (clock_getcpuclockid): Do not expect.
4752 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4753 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4754 Do not expect.
4755 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4756 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4757 [UNIX98] (vwscanf): Likewise.
4758 [UNIX98] (vswscanf): Likewise.
4759
47602012-11-09 Joseph Myers <joseph@codesourcery.com>
4761
4762 * timezone/version.h: Remove file.
4763 * timezone/README: Do not refer to version.h.
4764 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4765 $(objpfx)version.h.
4766 ($(objpfx)zdump.o): Likewise.
4767 ($(objpfx)version.h): New target.
4768
4769 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4770 2012i.
4771 * timezone/README: Don't mention modification to tzselect.ksh.
4772 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4773 work on unmodified tzselect.ksh. Substitute version numbers in
4774 tzselect.ksh.
4775
4776 * Makefile (format-me): Remove.
4777 (INSTALL): Adjust indentation. Use commands directly instead of
4778 using $(format-me).
4779
4780 * aclocal.m4 (ACX_PKGVERSION): New macro.
4781 (ACX_BUGURL): Likewise.
4782 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4783 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4784 (REPORT_BUGS_TO): Likewise.
4785 * configure: Regenerated.
4786 * config.h.in (PKGVERSION): New macro.
4787 (REPORT_BUGS_TO): Likewise.
4788 * config.make.in (PKGVERSION): New variable.
4789 (PKGVERSION_TEXI): Likewise.
4790 (REPORT_BUGS_TO): Likewise.
4791 (REPORT_BUGS_TEXI): Likewise.
4792 * Makefile (format-me): Use -I$(common-objpfx)manual.
4793 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4794 ($(common-objpfx)manual/%): New target.
4795 (manual/%): Remove target.
4796 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4797 (print_version): Use PKGVERSION.
4798 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4799 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4800 and REPORT_BUGS_TO.
4801 ($(objpfx)xtrace): Likewise.
4802 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4803 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4804 (print_version): Use PKGVERSION.
4805 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4806 (do_version): Use PKGVERSION.
4807 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4808 REPORT_BUGS_TO.
4809 (common-ldd-rewrite): Likewise.
4810 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4811 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4812 (print_version): Use PKGVERSION.
4813 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4814 * elf/pldd.c (argp_program_bug_address): Remove variable.
4815 (more_help): New function.
4816 (argp): Use more_help.
4817 (print_version): Use PKGVERSION.
4818 * elf/sln.c (main): Use PKGVERSION.
4819 (usage): Use REPORT_BUGS_TO.
4820 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4821 (top level): Use PKGVERSION.
4822 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4823 (print_version): Use PKGVERSION.
4824 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4825 (print_version): Use PKGVERSION.
4826 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4827 (print_version): Use PKGVERSION.
4828 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4829 (print_version): Use PKGVERSION.
4830 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4831 (print_version): Use PKGVERSION.
4832 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4833 (print_version): Use PKGVERSION.
4834 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4835 and BUGURL.
4836 ($(objpfx)memusage): Likewise.
4837 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4838 (do_version): Use PKGVERSION.
4839 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4840 (print_version): Use PKGVERSION.
4841 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4842 ($PKGVERSION): New variable.
4843 ($REPORT_BUGS_TO): Likewise.
4844 (usage): Use $REPORT_BUGS_TO.
4845 (top level): Use $PKGVERSION.
4846 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4847 ($(objpfx)pkgvers.texi): New rule.
4848 ($(objpfx)stamp-pkgvers): Likewise.
4849 * manual/install.texi: Include pkgvers.texi.
4850 (--with-pkgversion): Document new configure option.
4851 (--with-bugurl): Likewise.
4852 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4853 than necessarily for this particular distribution. Use
4854 REPORT_BUGS_TO for where to report bugs.
4855 * INSTALL: Regenerated.
4856 * manual/libc.texinfo: Include pkgvers.texi.
4857 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4858 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4859 (print_version): Use PKGVERSION.
4860 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4861 (print_version): Use PKGVERSION.
4862 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4863 (print_version): Use PKGVERSION.
4864 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4865 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4866 macro.
4867 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4868 (print_version): Use PKGVERSION.
4869 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4870 (print_version): Use PKGVERSION.
4871 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4872 and PKGVERSION.
4873
4874 * timezone/checktab.awk: Update from tzcode 2012i.
4875 * timezone/ialloc.c: Likewise.
4876 * timezone/private.h: Likewise.
4877 * timezone/scheck.c: Likewise.
4878 * timezone/tzfile.h: Likewise.
4879 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4880 (TZVERSION): Hardcode tzcode version number.
4881 * timezone/zdump.c: Update from tzcode 2012i.
4882 * timezone/zic.c: Likewise.
4883 * timezone/version.h: New file.
4884 * timezone/README: Describe version.h. Update upstream location.
4885
4886 [BZ #14824]
4887 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4888 (mktemp): Enable declaration.
4889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4890 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4893 Likewise.
4894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4895 Likewise.
4896 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4897 Likewise.
4898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4899 Likewise.
4900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4901 Likewise.
4902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4903 Likewise.
4904
4905 [BZ #14821]
4906 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4907 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4908 for copies of such integer values.
4909 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4910 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4911
49122012-11-09 Andreas Jaeger <aj@suse.de>
4913
4914 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4915 definitions and declarations that are provided by
4916 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4917
49182012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4919
4920 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4921 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4922 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4923 definition.
4924
49252012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4926
4927 * elf/elf.h: Update comment before AArch64 relocations.
4928
49292012-11-07 David S. Miller <davem@davemloft.net>
4930
4931 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4932 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4933 (__start_context): Declare.
4934 (__makecontext_ret): Delete.
4935 (__makecontext): Hook up __start_context instead of
4936 __makecontext_ret.
4937 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4938 (sysdep_routines): Add __start_context when in stdlib.
4939
49402012-11-07 Joseph Myers <joseph@codesourcery.com>
4941
4942 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4943 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4944 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4945 hardcoded "nm".
4946 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4947 (READELF): New variable. Use it instead of hardcoded "readelf".
4948
49492012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4950
4951 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4952 * sysdeps/x86/Makefile: Here.
4953 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4954 * sysdeps/x86/tst-xmmymm.sh: This.
4955
49562012-11-07 Joseph Myers <joseph@codesourcery.com>
4957
4958 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4959 expectations.
4960 [UNIX98] (pthread_barrier_t): Do not expect.
4961 [UNIX98] (pthread_barrierattr_t): Likewise.
4962 [UNIX98] (pthread_spinlock_t): Likewise.
4963 [UNIX98] (pthread_barrier_destroy): Likewise.
4964 [UNIX98] (pthread_barrier_init): Likewise.
4965 [UNIX98] (pthread_barrier_wait): Likewise.
4966 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4967 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4968 [UNIX98] (pthread_barrierattr_init): Likewise.
4969 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4970 [UNIX98] (pthread_getcpuclockid): Likewise.
4971 [UNIX98] (pthread_mutex_timedlock): Likewise.
4972 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4973 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4974 [UNIX98] (pthread_sigmask): Likewise.
4975 [UNIX98] (pthread_spin_destroy): Likewise.
4976 [UNIX98] (pthread_spin_init): Likewise.
4977 [UNIX98] (pthread_spin_lock): Likewise.
4978 [UNIX98] (pthread_spin_trylock): Likewise.
4979 [UNIX98] (pthread_spin_unlock): Likewise.
4980 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4981 Do not expect.
4982 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4983 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4984 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4985 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4986 [XPG3 || XPG4] (pthread_key_t): Likewise.
4987 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4988 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4989 [XPG3 || XPG4] (pthread_once_t): Likewise.
4990 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4991 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4992 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4993 [XPG3 || XPG4] (pthread_t): Likewise.
4994
4995 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4996 not expect.
4997 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4998
4999 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5000 Change function return type to int.
5001
5002 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5003 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5004 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5005 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5006 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5007 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5008 [!POSIX] (posix_madvise): Likewise.
5009 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5010 && !UNIX98].
5011 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5012 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5013 (mode_t): Likewise.
5014 (posix_mem_offset): Likewise.
5015 (posix_typed_mem_get_info): Likewise.
5016 (posix_typed_mem_open): Likewise.
5017
5018 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5019 Change condition to [XOPEN2K8].
5020
5021 * conform/conformtest.pl: Preprocess allow-header data with -x c
5022 instead of from stdin.
5023 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5024 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5025 [C99-based standards] (cerfc): Likewise.
5026 [C99-based standards] (cexp2): Likewise.
5027 [C99-based standards] (cexpm1): Likewise.
5028 [C99-based standards] (clog10): Likewise.
5029 [C99-based standards] (clog1p): Likewise.
5030 [C99-based standards] (clog2): Likewise.
5031 [C99-based standards] (clgamma): Likewise.
5032 [C99-based standards] (ctgamma): Likewise.
5033 [C99-based standards] (cerff): Likewise.
5034 [C99-based standards] (cerfcf): Likewise.
5035 [C99-based standards] (cexp2f): Likewise.
5036 [C99-based standards] (cexpm1f): Likewise.
5037 [C99-based standards] (clog10f): Likewise.
5038 [C99-based standards] (clog1pf): Likewise.
5039 [C99-based standards] (clog2f): Likewise.
5040 [C99-based standards] (clgammaf): Likewise.
5041 [C99-based standards] (ctgammaf): Likewise.
5042 [C99-based standards] (cerfl): Likewise.
5043 [C99-based standards] (cerfcl): Likewise.
5044 [C99-based standards] (cexp2l): Likewise.
5045 [C99-based standards] (cexpm1l): Likewise.
5046 [C99-based standards] (clog10l): Likewise.
5047 [C99-based standards] (clog1pl): Likewise.
5048 [C99-based standards] (clog2l): Likewise.
5049 [C99-based standards] (clgammal): Likewise.
5050 [C99-based standards] (ctgammal): Likewise.
5051 * conform/data/inttypes.h-data [C99-based standards]: Include
5052 stdint.h-data. Remove all expectations for stdint.h contents.
5053 [C99-based standards] (PRI*): Do not allow.
5054 [C99-based standards] (SCN*): Likewise.
5055 [C99-based standards] (*_t): Likewise.
5056 [C99-based-standards] (PRId8): Expect macro.
5057 [C99-based-standards] (PRIi8): Likewise.
5058 [C99-based-standards] (PRIo8): Likewise.
5059 [C99-based-standards] (PRIu8): Likewise.
5060 [C99-based-standards] (PRIx8): Likewise.
5061 [C99-based-standards] (PRIX8): Likewise.
5062 [C99-based-standards] (SCNd8): Likewise.
5063 [C99-based-standards] (SCNi8): Likewise.
5064 [C99-based-standards] (SCNo8): Likewise.
5065 [C99-based-standards] (SCNu8): Likewise.
5066 [C99-based-standards] (SCNx8): Likewise.
5067 [C99-based-standards] (PRIdLEAST8): Likewise.
5068 [C99-based-standards] (PRIiLEAST8): Likewise.
5069 [C99-based-standards] (PRIoLEAST8): Likewise.
5070 [C99-based-standards] (PRIuLEAST8): Likewise.
5071 [C99-based-standards] (PRIxLEAST8): Likewise.
5072 [C99-based-standards] (PRIXLEAST8): Likewise.
5073 [C99-based-standards] (SCNdLEAST8): Likewise.
5074 [C99-based-standards] (SCNiLEAST8): Likewise.
5075 [C99-based-standards] (SCNoLEAST8): Likewise.
5076 [C99-based-standards] (SCNuLEAST8): Likewise.
5077 [C99-based-standards] (SCNxLEAST8): Likewise.
5078 [C99-based-standards] (PRIdFAST8): Likewise.
5079 [C99-based-standards] (PRIiFAST8): Likewise.
5080 [C99-based-standards] (PRIoFAST8): Likewise.
5081 [C99-based-standards] (PRIuFAST8): Likewise.
5082 [C99-based-standards] (PRIxFAST8): Likewise.
5083 [C99-based-standards] (PRIXFAST8): Likewise.
5084 [C99-based-standards] (SCNdFAST8): Likewise.
5085 [C99-based-standards] (SCNiFAST8): Likewise.
5086 [C99-based-standards] (SCNoFAST8): Likewise.
5087 [C99-based-standards] (SCNuFAST8): Likewise.
5088 [C99-based-standards] (SCNxFAST8): Likewise.
5089 [C99-based-standards] (PRId16): Likewise.
5090 [C99-based-standards] (PRIi16): Likewise.
5091 [C99-based-standards] (PRIo16): Likewise.
5092 [C99-based-standards] (PRIu16): Likewise.
5093 [C99-based-standards] (PRIx16): Likewise.
5094 [C99-based-standards] (PRIX16): Likewise.
5095 [C99-based-standards] (SCNd16): Likewise.
5096 [C99-based-standards] (SCNi16): Likewise.
5097 [C99-based-standards] (SCNo16): Likewise.
5098 [C99-based-standards] (SCNu16): Likewise.
5099 [C99-based-standards] (SCNx16): Likewise.
5100 [C99-based-standards] (PRIdLEAST16): Likewise.
5101 [C99-based-standards] (PRIiLEAST16): Likewise.
5102 [C99-based-standards] (PRIoLEAST16): Likewise.
5103 [C99-based-standards] (PRIuLEAST16): Likewise.
5104 [C99-based-standards] (PRIxLEAST16): Likewise.
5105 [C99-based-standards] (PRIXLEAST16): Likewise.
5106 [C99-based-standards] (SCNdLEAST16): Likewise.
5107 [C99-based-standards] (SCNiLEAST16): Likewise.
5108 [C99-based-standards] (SCNoLEAST16): Likewise.
5109 [C99-based-standards] (SCNuLEAST16): Likewise.
5110 [C99-based-standards] (SCNxLEAST16): Likewise.
5111 [C99-based-standards] (PRIdFAST16): Likewise.
5112 [C99-based-standards] (PRIiFAST16): Likewise.
5113 [C99-based-standards] (PRIoFAST16): Likewise.
5114 [C99-based-standards] (PRIuFAST16): Likewise.
5115 [C99-based-standards] (PRIxFAST16): Likewise.
5116 [C99-based-standards] (PRIXFAST16): Likewise.
5117 [C99-based-standards] (SCNdFAST16): Likewise.
5118 [C99-based-standards] (SCNiFAST16): Likewise.
5119 [C99-based-standards] (SCNoFAST16): Likewise.
5120 [C99-based-standards] (SCNuFAST16): Likewise.
5121 [C99-based-standards] (SCNxFAST16): Likewise.
5122 [C99-based-standards] (PRId32): Likewise.
5123 [C99-based-standards] (PRIi32): Likewise.
5124 [C99-based-standards] (PRIo32): Likewise.
5125 [C99-based-standards] (PRIu32): Likewise.
5126 [C99-based-standards] (PRIx32): Likewise.
5127 [C99-based-standards] (PRIX32): Likewise.
5128 [C99-based-standards] (SCNd32): Likewise.
5129 [C99-based-standards] (SCNi32): Likewise.
5130 [C99-based-standards] (SCNo32): Likewise.
5131 [C99-based-standards] (SCNu32): Likewise.
5132 [C99-based-standards] (SCNx32): Likewise.
5133 [C99-based-standards] (PRIdLEAST32): Likewise.
5134 [C99-based-standards] (PRIiLEAST32): Likewise.
5135 [C99-based-standards] (PRIoLEAST32): Likewise.
5136 [C99-based-standards] (PRIuLEAST32): Likewise.
5137 [C99-based-standards] (PRIxLEAST32): Likewise.
5138 [C99-based-standards] (PRIXLEAST32): Likewise.
5139 [C99-based-standards] (SCNdLEAST32): Likewise.
5140 [C99-based-standards] (SCNiLEAST32): Likewise.
5141 [C99-based-standards] (SCNoLEAST32): Likewise.
5142 [C99-based-standards] (SCNuLEAST32): Likewise.
5143 [C99-based-standards] (SCNxLEAST32): Likewise.
5144 [C99-based-standards] (PRIdFAST32): Likewise.
5145 [C99-based-standards] (PRIiFAST32): Likewise.
5146 [C99-based-standards] (PRIoFAST32): Likewise.
5147 [C99-based-standards] (PRIuFAST32): Likewise.
5148 [C99-based-standards] (PRIxFAST32): Likewise.
5149 [C99-based-standards] (PRIXFAST32): Likewise.
5150 [C99-based-standards] (SCNdFAST32): Likewise.
5151 [C99-based-standards] (SCNiFAST32): Likewise.
5152 [C99-based-standards] (SCNoFAST32): Likewise.
5153 [C99-based-standards] (SCNuFAST32): Likewise.
5154 [C99-based-standards] (SCNxFAST32): Likewise.
5155 [C99-based-standards] (PRId64): Likewise.
5156 [C99-based-standards] (PRIi64): Likewise.
5157 [C99-based-standards] (PRIo64): Likewise.
5158 [C99-based-standards] (PRIu64): Likewise.
5159 [C99-based-standards] (PRIx64): Likewise.
5160 [C99-based-standards] (PRIX64): Likewise.
5161 [C99-based-standards] (SCNd64): Likewise.
5162 [C99-based-standards] (SCNi64): Likewise.
5163 [C99-based-standards] (SCNo64): Likewise.
5164 [C99-based-standards] (SCNu64): Likewise.
5165 [C99-based-standards] (SCNx64): Likewise.
5166 [C99-based-standards] (PRIdLEAST64): Likewise.
5167 [C99-based-standards] (PRIiLEAST64): Likewise.
5168 [C99-based-standards] (PRIoLEAST64): Likewise.
5169 [C99-based-standards] (PRIuLEAST64): Likewise.
5170 [C99-based-standards] (PRIxLEAST64): Likewise.
5171 [C99-based-standards] (PRIXLEAST64): Likewise.
5172 [C99-based-standards] (SCNdLEAST64): Likewise.
5173 [C99-based-standards] (SCNiLEAST64): Likewise.
5174 [C99-based-standards] (SCNoLEAST64): Likewise.
5175 [C99-based-standards] (SCNuLEAST64): Likewise.
5176 [C99-based-standards] (SCNxLEAST64): Likewise.
5177 [C99-based-standards] (PRIdFAST64): Likewise.
5178 [C99-based-standards] (PRIiFAST64): Likewise.
5179 [C99-based-standards] (PRIoFAST64): Likewise.
5180 [C99-based-standards] (PRIuFAST64): Likewise.
5181 [C99-based-standards] (PRIxFAST64): Likewise.
5182 [C99-based-standards] (PRIXFAST64): Likewise.
5183 [C99-based-standards] (SCNdFAST64): Likewise.
5184 [C99-based-standards] (SCNiFAST64): Likewise.
5185 [C99-based-standards] (SCNoFAST64): Likewise.
5186 [C99-based-standards] (SCNuFAST64): Likewise.
5187 [C99-based-standards] (SCNxFAST64): Likewise.
5188 [C99-based-standards] (PRIdMAX): Likewise.
5189 [C99-based-standards] (PRIiMAX): Likewise.
5190 [C99-based-standards] (PRIoMAX): Likewise.
5191 [C99-based-standards] (PRIuMAX): Likewise.
5192 [C99-based-standards] (PRIxMAX): Likewise.
5193 [C99-based-standards] (PRIXMAX): Likewise.
5194 [C99-based-standards] (SCNdMAX): Likewise.
5195 [C99-based-standards] (SCNiMAX): Likewise.
5196 [C99-based-standards] (SCNoMAX): Likewise.
5197 [C99-based-standards] (SCNuMAX): Likewise.
5198 [C99-based-standards] (SCNxMAX): Likewise.
5199 [C99-based-standards] (PRIdPTR): Likewise.
5200 [C99-based-standards] (PRIiPTR): Likewise.
5201 [C99-based-standards] (PRIoPTR): Likewise.
5202 [C99-based-standards] (PRIuPTR): Likewise.
5203 [C99-based-standards] (PRIxPTR): Likewise.
5204 [C99-based-standards] (PRIXPTR): Likewise.
5205 [C99-based-standards] (SCNdPTR): Likewise.
5206 [C99-based-standards] (SCNiPTR): Likewise.
5207 [C99-based-standards] (SCNoPTR): Likewise.
5208 [C99-based-standards] (SCNuPTR): Likewise.
5209 [C99-based-standards] (SCNxPTR): Likewise.
5210 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5211 allow.
5212 * conform/data/stdint.h-data: Update comments to clarify
5213 requirements.
5214 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5215 type.
5216 [C99-based standards] (INT8_MAX): Likewise.
5217 [C99-based standards] (INT16_MIN): Likewise.
5218 [C99-based standards] (INT16_MAX): Likewise.
5219 [C99-based standards] (INT32_MIN): Likewise.
5220 [C99-based standards] (INT32_MAX): Likewise.
5221 [C99-based standards] (INT64_MIN): Likewise.
5222 [C99-based standards] (INT64_MAX): Likewise.
5223 [C99-based standards] (UINT8_MAX): Likewise.
5224 [C99-based standards] (UINT16_MAX): Likewise.
5225 [C99-based standards] (UINT32_MAX): Likewise.
5226 [C99-based standards] (UINT64_MAX): Likewise.
5227 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5228 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5229 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5230 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5231 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5232 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5233 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5234 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5235 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5236 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5237 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5238 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5239 [C99-based standards] (INT_FAST8_MIN): Likewise.
5240 [C99-based standards] (INT_FAST8_MAX): Likewise.
5241 [C99-based standards] (INT_FAST16_MIN): Likewise.
5242 [C99-based standards] (INT_FAST16_MAX): Likewise.
5243 [C99-based standards] (INT_FAST32_MIN): Likewise.
5244 [C99-based standards] (INT_FAST32_MAX): Likewise.
5245 [C99-based standards] (INT_FAST64_MIN): Likewise.
5246 [C99-based standards] (INT_FAST64_MAX): Likewise.
5247 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5248 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5249 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5250 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5251 [C99-based standards] (INTPTR_MIN): Likewise.
5252 [C99-based standards] (INTPTR_MAX): Likewise.
5253 [C99-based standards] (UINTPTR_MAX): Likewise.
5254 [C99-based standards] (INTMAX_MIN): Likewise.
5255 [C99-based standards] (INTMAX_MAX): Likewise.
5256 [C99-based standards] (UINTMAX_MAX): Likewise.
5257 [C99-based standards] (PTRDIFF_MIN): Likewise.
5258 [C99-based standards] (PTRDIFF_MAX): Likewise.
5259 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5260 [C99-based standards] (SIZE_MAX): Likewise.
5261 [C99-based standards] (WCHAR_MAX): Likewise.
5262 [C99-based standards] (WINT_MAX): Likewise.
5263 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5264 constraint on value.
5265 [C99-based standards] (WCHAR_MIN): Likewise.
5266 [C99-based standards] (WINT_MIN): Likewise.
5267 [C99-based standards] (*_t): Allow.
5268 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5269 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5270 Include math.h-data and complex.h-data. Remove all expectations
5271 of math.h and complex.h contents.
5272 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5273 at end of line.
5274 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5275 (struct tm): Expect tag.
5276 [C99-based-standards] (wcstof): Expect function.
5277 [C99-based-standards] (wcstold): Likewise.
5278 [C99-based-standards] (wcstoll): Likewise.
5279 [C99-based-standards] (wcstoull): Likewise.
5280 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5281 macro-int-constant. Specify type.
5282 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5283 constraint on value.
5284 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5285 Specify type.
5286 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5287 Specify value.
5288 [ISO C standards]: Do not allow headers.
5289 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5290 wcs[abcdefghijklmnopqrstuvwxyz]*.
5291 [ISO C standards] (*_t): Do not allow.
5292 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5293 Expect function.
5294 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5295 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5296 Specify type.
5297 [ISO C standards]: Do not allow headers.
5298 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5299 is[abcdefghijklmnopqrstuvwxyz]*.
5300 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5301 to[abcdefghijklmnopqrstuvwxyz]*.
5302 [ISO C standards] (*_t): Do not allow.
5303 * conform/data/stdalign.h-data: New file.
5304 * conform/data/stdbool.h-data: Likewise.
5305 * conform/data/stdnoreturn.h-data: Likewise.
5306
53072012-11-07 Roland McGrath <roland@hack.frob.com>
5308
5309 [BZ #14815]
5310 * manual/filesys.texi (Directory Entries): Typo fix.
5311 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5312
53132012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5314
5315 * elf/elf.h (EM_AARCH64): New macro.
5316 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5317 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5318 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5319 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5320 (R_AARCH64_TLSDESC): Likewise.
5321 (NT_ARM_TLS): Likewise.
5322 (NT_ARM_HW_BREAK): Likewise.
5323 (NT_ARM_HW_WATCH): Likewise.
5324
53252012-11-07 Joseph Myers <joseph@codesourcery.com>
5326
5327 [BZ #14811]
5328 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5329 (__ieee754_powl): Saturate nonzero exponents with absolute value
5330 below 0x1p-79 to +/- 0x1p-79.
5331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5332 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5333 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5334 nonzero exponents with absolute value below 0x1p-32 to +/-
5335 0x1p-32.
5336 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5337 (__ieee754_powl): Saturate nonzero exponents with absolute value
5338 below 0x1p-79 to +/- 0x1p-79.
5339 * math/libm-test.inc (pow_test): Add more tests.
5340
53412012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5342
5343 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5344 _dl_s390_cap_flags with kernel. Increase string length.
5345 (_dl_s390_platforms): Add z196 and zEC12.
5346
53472012-11-07 Joseph Myers <joseph@codesourcery.com>
5348
5349 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5350 Change XOPEN21K to XOPEN2K.
5351
53522012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5353
5354 * string/memmove.c: Use memcpy when possible.
5355
53562012-11-06 Andreas Jaeger <aj@suse.de>
5357
5358 * po/eo.po: Update from translation team.
5359
53602012-11-06 Joseph Myers <joseph@codesourcery.com>
5361
5362 [BZ #14793]
5363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5364 exponent and small x and y exponents, scale x or y up. Increase
5365 by 2 the exponent used in scaling up.
5366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5368 * math/libm-test.inc (fma_test): Add more tests.
5369 (fma_test_towardzero): Likewise.
5370 (fma_test_downward): Likewise.
5371 (fma_test_upward): Likewise.
5372
53732012-11-05 Joseph Myers <joseph@codesourcery.com>
5374
5375 [BZ #14805]
5376 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5377 fenv_t *.
5378
5379 [BZ #14801]
5380 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5381 namespace for names of struct fields.
5382 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5383 fenv_t fields.
5384 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5385 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5386
53872012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5388
5389 [BZ #3665]
5390 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5391
53922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5393
5394 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5395 PTR_DEMANGLE.
5396
5397 [BZ #5246]
5398 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5399 PTR_DEMANGLE.
5400
54012012-11-04 Joseph Myers <joseph@codesourcery.com>
5402
5403 [BZ #14797]
5404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5405 definitely overflow as x * y not x * y + z.
5406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5407 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5408 * math/libm-test.inc (fma_test): Add more tests.
5409 (fma_test_towardzero): Likewise.
5410 (fma_test_downward): Likewise.
5411 (fma_test_upward): Likewise.
5412
54132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5414
5415 [BZ #157]
5416
5417 * include/stub-tag.h: Remove file.
5418 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5419 '#include' of it.
5420 * manual/maint.texi (Porting): Don't reference it.
5421 * Makerules ($(objpfx)stubs): Likewise.
5422 * dirent/closedir.c: Don't include <stub-tag.h>.
5423 * dirent/dirfd.c: Likewise.
5424 * dirent/fdopendir.c: Likewise.
5425 * dirent/getdents.c: Likewise.
5426 * dirent/getdents64.c: Likewise.
5427 * dirent/opendir.c: Likewise.
5428 * dirent/readdir.c: Likewise.
5429 * dirent/readdir64.c: Likewise.
5430 * dirent/readdir64_r.c: Likewise.
5431 * dirent/readdir_r.c: Likewise.
5432 * dirent/rewinddir.c: Likewise.
5433 * dirent/seekdir.c: Likewise.
5434 * dirent/telldir.c: Likewise.
5435 * gmon/profil.c: Likewise.
5436 * grp/setgroups.c: Likewise.
5437 * inet/if_index.c: Likewise.
5438 * io/access.c: Likewise.
5439 * io/chdir.c: Likewise.
5440 * io/chmod.c: Likewise.
5441 * io/chown.c: Likewise.
5442 * io/close.c: Likewise.
5443 * io/dup.c: Likewise.
5444 * io/dup2.c: Likewise.
5445 * io/dup3.c: Likewise.
5446 * io/euidaccess.c: Likewise.
5447 * io/faccessat.c: Likewise.
5448 * io/fchdir.c: Likewise.
5449 * io/fchmod.c: Likewise.
5450 * io/fchmodat.c: Likewise.
5451 * io/fchown.c: Likewise.
5452 * io/fchownat.c: Likewise.
5453 * io/fcntl.c: Likewise.
5454 * io/flock.c: Likewise.
5455 * io/fstatfs.c: Likewise.
5456 * io/fstatfs64.c: Likewise.
5457 * io/fstatvfs.c: Likewise.
5458 * io/fstatvfs64.c: Likewise.
5459 * io/futimens.c: Likewise.
5460 * io/fxstat.c: Likewise.
5461 * io/fxstat64.c: Likewise.
5462 * io/fxstatat.c: Likewise.
5463 * io/fxstatat64.c: Likewise.
5464 * io/getcwd.c: Likewise.
5465 * io/isatty.c: Likewise.
5466 * io/lchmod.c: Likewise.
5467 * io/lchown.c: Likewise.
5468 * io/link.c: Likewise.
5469 * io/linkat.c: Likewise.
5470 * io/lseek.c: Likewise.
5471 * io/lseek64.c: Likewise.
5472 * io/lxstat64.c: Likewise.
5473 * io/mkdir.c: Likewise.
5474 * io/mkdirat.c: Likewise.
5475 * io/mkfifo.c: Likewise.
5476 * io/mkfifoat.c: Likewise.
5477 * io/open.c: Likewise.
5478 * io/open64.c: Likewise.
5479 * io/openat.c: Likewise.
5480 * io/openat64.c: Likewise.
5481 * io/pipe.c: Likewise.
5482 * io/pipe2.c: Likewise.
5483 * io/poll.c: Likewise.
5484 * io/posix_fadvise.c: Likewise.
5485 * io/posix_fadvise64.c: Likewise.
5486 * io/posix_fallocate.c: Likewise.
5487 * io/posix_fallocate64.c: Likewise.
5488 * io/read.c: Likewise.
5489 * io/readlink.c: Likewise.
5490 * io/readlinkat.c: Likewise.
5491 * io/rmdir.c: Likewise.
5492 * io/sendfile.c: Likewise.
5493 * io/sendfile64.c: Likewise.
5494 * io/statfs.c: Likewise.
5495 * io/statfs64.c: Likewise.
5496 * io/statvfs.c: Likewise.
5497 * io/statvfs64.c: Likewise.
5498 * io/symlink.c: Likewise.
5499 * io/symlinkat.c: Likewise.
5500 * io/ttyname.c: Likewise.
5501 * io/ttyname_r.c: Likewise.
5502 * io/umask.c: Likewise.
5503 * io/unlink.c: Likewise.
5504 * io/unlinkat.c: Likewise.
5505 * io/utime.c: Likewise.
5506 * io/utimensat.c: Likewise.
5507 * io/write.c: Likewise.
5508 * io/xmknod.c: Likewise.
5509 * io/xmknodat.c: Likewise.
5510 * io/xstat.c: Likewise.
5511 * io/xstat64.c: Likewise.
5512 * login/getpt.c: Likewise.
5513 * login/grantpt.c: Likewise.
5514 * login/unlockpt.c: Likewise.
5515 * math/e_acoshl.c: Likewise.
5516 * math/e_acosl.c: Likewise.
5517 * math/e_asinl.c: Likewise.
5518 * math/e_atan2l.c: Likewise.
5519 * math/e_atanhl.c: Likewise.
5520 * math/e_coshl.c: Likewise.
5521 * math/e_expl.c: Likewise.
5522 * math/e_fmodl.c: Likewise.
5523 * math/e_gammal_r.c: Likewise.
5524 * math/e_hypotl.c: Likewise.
5525 * math/e_j0l.c: Likewise.
5526 * math/e_j1l.c: Likewise.
5527 * math/e_jnl.c: Likewise.
5528 * math/e_lgammal_r.c: Likewise.
5529 * math/e_log10l.c: Likewise.
5530 * math/e_log2l.c: Likewise.
5531 * math/e_logl.c: Likewise.
5532 * math/e_powl.c: Likewise.
5533 * math/e_rem_pio2l.c: Likewise.
5534 * math/e_sinhl.c: Likewise.
5535 * math/e_sqrtl.c: Likewise.
5536 * math/fclrexcpt.c: Likewise.
5537 * math/fedisblxcpt.c: Likewise.
5538 * math/feenablxcpt.c: Likewise.
5539 * math/fegetenv.c: Likewise.
5540 * math/fegetexcept.c: Likewise.
5541 * math/fegetround.c: Likewise.
5542 * math/feholdexcpt.c: Likewise.
5543 * math/fesetenv.c: Likewise.
5544 * math/fesetround.c: Likewise.
5545 * math/feupdateenv.c: Likewise.
5546 * math/fgetexcptflg.c: Likewise.
5547 * math/fraiseexcpt.c: Likewise.
5548 * math/fsetexcptflg.c: Likewise.
5549 * math/ftestexcept.c: Likewise.
5550 * math/k_cosl.c: Likewise.
5551 * math/k_rem_pio2l.c: Likewise.
5552 * math/k_sinl.c: Likewise.
5553 * math/k_tanl.c: Likewise.
5554 * math/s_asinhl.c: Likewise.
5555 * math/s_atanl.c: Likewise.
5556 * math/s_cbrtl.c: Likewise.
5557 * math/s_erfl.c: Likewise.
5558 * math/s_expm1l.c: Likewise.
5559 * math/s_log1pl.c: Likewise.
5560 * math/s_tanhl.c: Likewise.
5561 * misc/acct.c: Likewise.
5562 * misc/brk.c: Likewise.
5563 * misc/chflags.c: Likewise.
5564 * misc/chroot.c: Likewise.
5565 * misc/fchflags.c: Likewise.
5566 * misc/fgetxattr.c: Likewise.
5567 * misc/flistxattr.c: Likewise.
5568 * misc/fremovexattr.c: Likewise.
5569 * misc/fsetxattr.c: Likewise.
5570 * misc/fsync.c: Likewise.
5571 * misc/ftruncate.c: Likewise.
5572 * misc/futimes.c: Likewise.
5573 * misc/futimesat.c: Likewise.
5574 * misc/getdomain.c: Likewise.
5575 * misc/getdtsz.c: Likewise.
5576 * misc/gethostid.c: Likewise.
5577 * misc/gethostname.c: Likewise.
5578 * misc/getloadavg.c: Likewise.
5579 * misc/getpagesize.c: Likewise.
5580 * misc/getsysstats.c: Likewise.
5581 * misc/getxattr.c: Likewise.
5582 * misc/gtty.c: Likewise.
5583 * misc/ioctl.c: Likewise.
5584 * misc/lgetxattr.c: Likewise.
5585 * misc/listxattr.c: Likewise.
5586 * misc/llistxattr.c: Likewise.
5587 * misc/lremovexattr.c: Likewise.
5588 * misc/lsetxattr.c: Likewise.
5589 * misc/lutimes.c: Likewise.
5590 * misc/madvise.c: Likewise.
5591 * misc/mincore.c: Likewise.
5592 * misc/mlock.c: Likewise.
5593 * misc/mlockall.c: Likewise.
5594 * misc/mmap.c: Likewise.
5595 * misc/mprotect.c: Likewise.
5596 * misc/msync.c: Likewise.
5597 * misc/munlock.c: Likewise.
5598 * misc/munlockall.c: Likewise.
5599 * misc/munmap.c: Likewise.
5600 * misc/preadv.c: Likewise.
5601 * misc/preadv64.c: Likewise.
5602 * misc/ptrace.c: Likewise.
5603 * misc/pwritev.c: Likewise.
5604 * misc/pwritev64.c: Likewise.
5605 * misc/readv.c: Likewise.
5606 * misc/reboot.c: Likewise.
5607 * misc/remap_file_pages.c: Likewise.
5608 * misc/removexattr.c: Likewise.
5609 * misc/revoke.c: Likewise.
5610 * misc/select.c: Likewise.
5611 * misc/setdomain.c: Likewise.
5612 * misc/setegid.c: Likewise.
5613 * misc/seteuid.c: Likewise.
5614 * misc/sethostid.c: Likewise.
5615 * misc/sethostname.c: Likewise.
5616 * misc/setregid.c: Likewise.
5617 * misc/setreuid.c: Likewise.
5618 * misc/setxattr.c: Likewise.
5619 * misc/sstk.c: Likewise.
5620 * misc/stty.c: Likewise.
5621 * misc/swapoff.c: Likewise.
5622 * misc/swapon.c: Likewise.
5623 * misc/sync.c: Likewise.
5624 * misc/syncfs.c: Likewise.
5625 * misc/syscall.c: Likewise.
5626 * misc/truncate.c: Likewise.
5627 * misc/ualarm.c: Likewise.
5628 * misc/usleep.c: Likewise.
5629 * misc/ustat.c: Likewise.
5630 * misc/utimes.c: Likewise.
5631 * misc/vhangup.c: Likewise.
5632 * misc/writev.c: Likewise.
5633 * posix/_exit.c: Likewise.
5634 * posix/alarm.c: Likewise.
5635 * posix/execve.c: Likewise.
5636 * posix/fexecve.c: Likewise.
5637 * posix/fork.c: Likewise.
5638 * posix/fpathconf.c: Likewise.
5639 * posix/getaddrinfo.c: Likewise.
5640 * posix/getegid.c: Likewise.
5641 * posix/geteuid.c: Likewise.
5642 * posix/getgid.c: Likewise.
5643 * posix/getgroups.c: Likewise.
5644 * posix/getlogin.c: Likewise.
5645 * posix/getlogin_r.c: Likewise.
5646 * posix/getpgid.c: Likewise.
5647 * posix/getpid.c: Likewise.
5648 * posix/getppid.c: Likewise.
5649 * posix/getresgid.c: Likewise.
5650 * posix/getresuid.c: Likewise.
5651 * posix/getsid.c: Likewise.
5652 * posix/getuid.c: Likewise.
5653 * posix/glob64.c: Likewise.
5654 * posix/nanosleep.c: Likewise.
5655 * posix/pathconf.c: Likewise.
5656 * posix/pause.c: Likewise.
5657 * posix/posix_madvise.c: Likewise.
5658 * posix/pread.c: Likewise.
5659 * posix/pread64.c: Likewise.
5660 * posix/pwrite.c: Likewise.
5661 * posix/pwrite64.c: Likewise.
5662 * posix/sched_getaffinity.c: Likewise.
5663 * posix/sched_getp.c: Likewise.
5664 * posix/sched_gets.c: Likewise.
5665 * posix/sched_primax.c: Likewise.
5666 * posix/sched_primin.c: Likewise.
5667 * posix/sched_rr_gi.c: Likewise.
5668 * posix/sched_setaffinity.c: Likewise.
5669 * posix/sched_setp.c: Likewise.
5670 * posix/sched_sets.c: Likewise.
5671 * posix/sched_yield.c: Likewise.
5672 * posix/setgid.c: Likewise.
5673 * posix/setlogin.c: Likewise.
5674 * posix/setpgid.c: Likewise.
5675 * posix/setresgid.c: Likewise.
5676 * posix/setresuid.c: Likewise.
5677 * posix/setsid.c: Likewise.
5678 * posix/setuid.c: Likewise.
5679 * posix/sleep.c: Likewise.
5680 * posix/spawni.c: Likewise.
5681 * posix/sysconf.c: Likewise.
5682 * posix/times.c: Likewise.
5683 * posix/wait.c: Likewise.
5684 * posix/wait3.c: Likewise.
5685 * posix/wait4.c: Likewise.
5686 * posix/waitpid.c: Likewise.
5687 * resolv/gai_sigqueue.c: Likewise.
5688 * resource/getpriority.c: Likewise.
5689 * resource/getrlimit.c: Likewise.
5690 * resource/getrusage.c: Likewise.
5691 * resource/nice.c: Likewise.
5692 * resource/setpriority.c: Likewise.
5693 * resource/setrlimit.c: Likewise.
5694 * resource/ulimit.c: Likewise.
5695 * rt/aio_cancel.c: Likewise.
5696 * rt/aio_fsync.c: Likewise.
5697 * rt/aio_read.c: Likewise.
5698 * rt/aio_sigqueue.c: Likewise.
5699 * rt/aio_suspend.c: Likewise.
5700 * rt/aio_write.c: Likewise.
5701 * rt/clock_getres.c: Likewise.
5702 * rt/clock_gettime.c: Likewise.
5703 * rt/clock_nanosleep.c: Likewise.
5704 * rt/clock_settime.c: Likewise.
5705 * rt/lio_listio.c: Likewise.
5706 * rt/mq_close.c: Likewise.
5707 * rt/mq_getattr.c: Likewise.
5708 * rt/mq_notify.c: Likewise.
5709 * rt/mq_open.c: Likewise.
5710 * rt/mq_receive.c: Likewise.
5711 * rt/mq_send.c: Likewise.
5712 * rt/mq_setattr.c: Likewise.
5713 * rt/mq_timedreceive.c: Likewise.
5714 * rt/mq_timedsend.c: Likewise.
5715 * rt/mq_unlink.c: Likewise.
5716 * rt/shm_open.c: Likewise.
5717 * rt/shm_unlink.c: Likewise.
5718 * rt/timer_create.c: Likewise.
5719 * rt/timer_delete.c: Likewise.
5720 * rt/timer_getoverr.c: Likewise.
5721 * rt/timer_gettime.c: Likewise.
5722 * rt/timer_settime.c: Likewise.
5723 * setjmp/__longjmp.c: Likewise.
5724 * setjmp/setjmp.c: Likewise.
5725 * signal/kill.c: Likewise.
5726 * signal/killpg.c: Likewise.
5727 * signal/raise.c: Likewise.
5728 * signal/sigaction.c: Likewise.
5729 * signal/sigaltstack.c: Likewise.
5730 * signal/sigblock.c: Likewise.
5731 * signal/sigignore.c: Likewise.
5732 * signal/sigintr.c: Likewise.
5733 * signal/signal.c: Likewise.
5734 * signal/sigpause.c: Likewise.
5735 * signal/sigpending.c: Likewise.
5736 * signal/sigqueue.c: Likewise.
5737 * signal/sigreturn.c: Likewise.
5738 * signal/sigset.c: Likewise.
5739 * signal/sigsetmask.c: Likewise.
5740 * signal/sigstack.c: Likewise.
5741 * signal/sigsuspend.c: Likewise.
5742 * signal/sigtimedwait.c: Likewise.
5743 * signal/sigvec.c: Likewise.
5744 * signal/sigwait.c: Likewise.
5745 * signal/sigwaitinfo.c: Likewise.
5746 * signal/sysv_signal.c: Likewise.
5747 * socket/accept.c: Likewise.
5748 * socket/accept4.c: Likewise.
5749 * socket/bind.c: Likewise.
5750 * socket/connect.c: Likewise.
5751 * socket/getpeername.c: Likewise.
5752 * socket/getsockname.c: Likewise.
5753 * socket/getsockopt.c: Likewise.
5754 * socket/isfdtype.c: Likewise.
5755 * socket/listen.c: Likewise.
5756 * socket/recv.c: Likewise.
5757 * socket/recvfrom.c: Likewise.
5758 * socket/recvmsg.c: Likewise.
5759 * socket/send.c: Likewise.
5760 * socket/sendmsg.c: Likewise.
5761 * socket/sendto.c: Likewise.
5762 * socket/setsockopt.c: Likewise.
5763 * socket/shutdown.c: Likewise.
5764 * socket/sockatmark.c: Likewise.
5765 * socket/socket.c: Likewise.
5766 * socket/socketpair.c: Likewise.
5767 * stdio-common/ctermid.c: Likewise.
5768 * stdio-common/cuserid.c: Likewise.
5769 * stdio-common/remove.c: Likewise.
5770 * stdio-common/rename.c: Likewise.
5771 * stdio-common/renameat.c: Likewise.
5772 * stdio-common/tempname.c: Likewise.
5773 * stdlib/getcontext.c: Likewise.
5774 * stdlib/makecontext.c: Likewise.
5775 * stdlib/setcontext.c: Likewise.
5776 * stdlib/swapcontext.c: Likewise.
5777 * stdlib/system.c: Likewise.
5778 * streams/fattach.c: Likewise.
5779 * streams/fdetach.c: Likewise.
5780 * streams/getmsg.c: Likewise.
5781 * streams/getpmsg.c: Likewise.
5782 * streams/putmsg.c: Likewise.
5783 * streams/putpmsg.c: Likewise.
5784 * sysdeps/unix/bsd/getpt.c: Likewise.
5785 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5786 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5787 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5789 Likewise.
5790 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5791 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5792 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5793 * sysvipc/msgctl.c: Likewise.
5794 * sysvipc/msgget.c: Likewise.
5795 * sysvipc/msgrcv.c: Likewise.
5796 * sysvipc/msgsnd.c: Likewise.
5797 * sysvipc/semctl.c: Likewise.
5798 * sysvipc/semget.c: Likewise.
5799 * sysvipc/semop.c: Likewise.
5800 * sysvipc/semtimedop.c: Likewise.
5801 * sysvipc/shmat.c: Likewise.
5802 * sysvipc/shmctl.c: Likewise.
5803 * sysvipc/shmdt.c: Likewise.
5804 * sysvipc/shmget.c: Likewise.
5805 * termios/tcdrain.c: Likewise.
5806 * termios/tcflow.c: Likewise.
5807 * termios/tcflush.c: Likewise.
5808 * termios/tcgetattr.c: Likewise.
5809 * termios/tcgetpgrp.c: Likewise.
5810 * termios/tcsendbrk.c: Likewise.
5811 * termios/tcsetattr.c: Likewise.
5812 * termios/tcsetpgrp.c: Likewise.
5813 * time/adjtime.c: Likewise.
5814 * time/clock.c: Likewise.
5815 * time/getitimer.c: Likewise.
5816 * time/gettimeofday.c: Likewise.
5817 * time/setitimer.c: Likewise.
5818 * time/settimeofday.c: Likewise.
5819 * time/stime.c: Likewise.
5820 * time/time.c: Likewise.
5821
58222012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5823
5824 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5825 /usr/old/bin.
5826
5827 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5828 instead of spaces.
5829 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5830
58312012-11-03 Joseph Myers <joseph@codesourcery.com>
5832
5833 [BZ #14796]
5834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5835 FE_TONEAREST before applying Dekker multiplication and Knuth
5836 addition. Clear inexact exceptions and check for exact zero
5837 results afterwards.
5838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5839 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5840 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5841 * math/libm-test.inc (fma_test): Add more tests.
5842 (fma_test_towardzero): Likewise.
5843 (fma_test_downward): Likewise.
5844 (fma_test_upward): Likewise.
5845 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5846 function.
5847 (libc_fesetround): New macro.
5848 (libc_fesetroundf): Likewise.
5849 (libc_fesetroundl): Likewise.
5850 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5851 function.
5852 (libc_fesetround_387): Likewise.
5853 (libc_fesetroundf): New macro.
5854 (libc_fesetround): Likewise.
5855 (libc_fesetroundl): Likewise.
5856 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5857 function.
5858 (libc_fesetroundf): New macro.
5859 (libc_fesetround): Likewise.
5860 (libc_fesetroundl): Likewise.
5861 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5862 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5863 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5864 libm_hidden_ver.
5865 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5866 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5867 libm_hidden_def.
5868 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5869 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5870 libm_hidden_ver.
5871 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5872 libm_hidden_def.
5873
5874 [BZ #3439]
5875 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5876 integer constant usable in #if and use that to give value to enum
5877 constant.
5878 (FE_DIVBYZERO): Likewise.
5879 (FE_UNDERFLOW): Likewise.
5880 (FE_OVERFLOW): Likewise.
5881 (FE_INVALID): Likewise.
5882 (FE_INVALID_SNAN): Likewise.
5883 (FE_INVALID_ISI): Likewise.
5884 (FE_INVALID_IDI): Likewise.
5885 (FE_INVALID_ZDZ): Likewise.
5886 (FE_INVALID_IMZ): Likewise.
5887 (FE_INVALID_COMPARE): Likewise.
5888 (FE_INVALID_SOFTWARE): Likewise.
5889 (FE_INVALID_SQRT): Likewise.
5890 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5891 (FE_TONEAREST): Likewise.
5892 (FE_TOWARDZERO): Likewise.
5893 (FE_UPWARD): Likewise.
5894 (FE_DOWNWARD): Likewise.
5895 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5896 (FE_DIVBYZERO): Likewise.
5897 (FE_OVERFLOW): Likewise.
5898 (FE_UNDERFLOW): Likewise.
5899 (FE_INEXACT): Likewise.
5900 (FE_TONEAREST): Likewise.
5901 (FE_DOWNWARD): Likewise.
5902 (FE_UPWARD): Likewise.
5903 (FE_TOWARDZERO): Likewise.
5904 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5905 (FE_UNDERFLOW): Likewise.
5906 (FE_OVERFLOW): Likewise.
5907 (FE_DIVBYZERO): Likewise.
5908 (FE_INVALID): Likewise.
5909 (FE_TONEAREST): Likewise.
5910 (FE_TOWARDZERO): Likewise.
5911 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5912 (FE_OVERFLOW): Likewise.
5913 (FE_UNDERFLOW): Likewise.
5914 (FE_DIVBYZERO): Likewise.
5915 (FE_INEXACT): Likewise.
5916 (FE_TONEAREST): Likewise.
5917 (FE_TOWARDZERO): Likewise.
5918 (FE_UPWARD): Likewise.
5919 (FE_DOWNWARD): Likewise.
5920 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5921 (FE_DIVBYZERO): Likewise.
5922 (FE_OVERFLOW): Likewise.
5923 (FE_UNDERFLOW): Likewise.
5924 (FE_INEXACT): Likewise.
5925 (FE_TONEAREST): Likewise.
5926 (FE_DOWNWARD): Likewise.
5927 (FE_UPWARD): Likewise.
5928 (FE_TOWARDZERO): Likewise.
5929
59302012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5931
5932 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5933
59342012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5935
5936 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5937 commands. Quote $PWD.
5938 (blacklist_exports): Don't use remove_newlines. Replace "declare
5939 -x" by "export".
5940 (remove_newlines): Remove.
5941
59422012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5943
5944 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5945 * stdlib/stdlib.h (atof): Moved to ...
5946 * include/bits/stdlib-float.h: Here. New file.
5947 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5948 * stdlib/bits/stdlib-float.h: New file.
5949 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5950 -mno-sse -mno-mmx.
5951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5952 <xmmintrin.h>.
5953
59542012-11-02 Joseph Myers <joseph@codesourcery.com>
5955
5956 * conform/conformtest.pl (@headers): Add fenv.h.
5957 * conform/data/fenv.h-data: New file.
5958 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5959 include of <math/fenv.h>.
5960
5961 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5962 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5963 && !UNIX98]. Enables tests for XOPEN2K8.
5964 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5965 POSIX2008]: Likewise.
5966
5967 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5968 (struct rusage): Do not expect type or its members.
5969
5970 [BZ #3439]
5971 * math/math.h (FP_NAN): Define macro to integer constant usable in
5972 #if and use that to give value to enum constant.
5973 (FP_INFINITE): Likewise.
5974 (FP_ZERO): Likewise.
5975 (FP_SUBNORMAL): Likewise.
5976 (FP_NORMAL): Likewise.
5977
59782012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5979
5980 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5981 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5982 arguments.
5983
59842012-11-02 Roland McGrath <roland@hack.frob.com>
5985
5986 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5987 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5988 autoconf-time if not.
5989 * configure.in: Remove AC_PREREQ.
5990
59912012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5992
5993 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5994 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5995 of the internal implementation.
5996
59972012-11-02 Joseph Myers <joseph@codesourcery.com>
5998
5999 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6000 except include of <misc/sys/syslog.h>.
6001
60022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6003
6004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6005 function returns with a NULL context exit with zero.
6006
60072012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6008
6009 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6010
60112012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6012
6013 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6014 (run_program_cmd): This.
6015 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6016 (tst_langinfo): New variable. Use it.
6017
60182012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6019
6020 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6021 floating point opcodes.
6022
60232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6024
6025 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6026 variable.
6027
6028 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6029
6030 * sysdeps/mach/hurd/powerpc: Remove directory.
6031 * sysdeps/mach/powerpc: Likewise.
6032
60332012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6034
6035 * scripts/check-local-headers.sh: Ignore c++ headers.
6036
60372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6038
6039 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6040 __libc_cleanup_region_start argument.
6041
60422012-11-01 Joseph Myers <joseph@codesourcery.com>
6043
6044 [BZ #14784]
6045 [BZ #14785]
6046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6047 x * y using scaling, not as x * y + z.
6048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6050 * math/libm-test.inc (fma_test): Add more tests.
6051 (fma_test_towardzero): Likewise.
6052 (fma_test_downward): Likewise.
6053 (fma_test_upward): Likewise.
6054
60552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6056
6057 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6058
60592012-10-31 Joseph Myers <joseph@codesourcery.com>
6060
6061 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6062 New variable.
6063
60642012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6065
6066 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6067
60682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6069
6070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6071 Fix sort order.
6072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6073 Likewise.
6074
60752012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6076
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6078 Fix the order of the list for glibc 2.17.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6080 Likewise.
6081
60822012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6083
6084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6085
60862012-10-31 Joseph Myers <joseph@codesourcery.com>
6087
6088 [BZ #14610]
6089 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6090 for low part of x being zero before using __atanl (y).
6091 * math/libm-test.inc (atan2_test): Add another test.
6092
6093 * manual/install.texi (Configuring and compiling): Document
6094 general use of test-wrapper and test-wrapper-env.
6095 * INSTALL: Regenerated.
6096
6097 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6098 (__fma): Do not extract and scale down low bits on after-rounding
6099 systems when result rounded to normal precision would have normal
6100 exponent.
6101 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6102 (__fmal): Do not extract and scale down low bits on after-rounding
6103 systems when result rounded to normal precision would have normal
6104 exponent.
6105 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6106 (__fmal): Do not extract and scale down low bits on after-rounding
6107 systems when result rounded to normal precision would have normal
6108 exponent.
6109 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6110 macro.
6111 (fma_test): Add more tests.
6112 (fma_test_towardzero): Likewise.
6113 (fma_test_downward): Likewise.
6114 (fma_test_upward): Likewise.
6115
61162012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6117
6118 * sysdeps/i386/tininess.h: Renamed to ...
6119 * sysdeps/x86/tininess.h: This.
6120 * sysdeps/x86_64/tininess.h: Removed.
6121
61222012-10-30 Joseph Myers <joseph@codesourcery.com>
6123
6124 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6125 input. Use $(build-program-cmd).
6126 ($(objpfx)tst-array1-static.out): Likewise.
6127 ($(objpfx)tst-array2.out): Likewise.
6128 ($(objpfx)tst-array3.out): Likewise.
6129 ($(objpfx)tst-array4.out): Likewise.
6130 ($(objpfx)tst-array5.out): Likewise.
6131 ($(objpfx)tst-array5-static.out): Likewise.
6132
61332012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6134
6135 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6136 if defined.
6137
6138 * nss/nsswitch.h (nss_interface_function): Provide new
6139 macro for use with NSS functions.
6140 * grp/initgroups.c: Use new macro.
6141 * nss/getXXbyYY.c: Likewise.
6142 * nss/getXXbyYY_r.c: Likewise.
6143 * nss/getXXent.c: Likewise.
6144 * nss/getXXent_r.c: Likewise.
6145 * sysdeps/posix/getaddrinfo.c: Likewise.
6146
61472012-10-30 Andreas Jaeger <aj@suse.de>
6148
6149 * po/ru.po: Update Russion translation from translation project.
6150
61512012-10-30 Joseph Myers <joseph@codesourcery.com>
6152
6153 [BZ #14152]
6154 [BZ #14783]
6155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6156 result and shift together with sticky bit instead of replicating
6157 round-to-nearest rounding.
6158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6159 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6160 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6161 missing underflow exceptions.
6162 (fma_test_towardzero): Add more tests.
6163 (fma_test_downward): Likewise.
6164 (fma_test_upward): Likewise.
6165
6166 [BZ #14047]
6167 * sysdeps/generic/tininess.h: New file.
6168 * sysdeps/i386/tininess.h: Likewise.
6169 * sysdeps/sh/tininess.h: Likewise.
6170 * sysdeps/x86_64/tininess.h: Likewise.
6171 * stdlib/tst-strtod-underflow.c: Likewise.
6172 * stdlib/tst-tininess.c: Likewise.
6173 * stdlib/strtod_l.c: Include <tininess.h>.
6174 (round_and_return): Do not set errno for exact underflow cases.
6175 Force an underflow exception when setting errno for underflow.
6176 Determine underflow based on rounding to normal precision if
6177 TININESS_AFTER_ROUNDING.
6178 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6179 ERANGE for exact underflow cases.
6180 * stdlib/Makefile (tests): Add tst-tininess and
6181 tst-strtod-underflow.
6182 ($(objpfx)tst-tininess): Use $(link-libm).
6183 ($(objpfx)tst-strtod-underflow): Likewise.
6184
61852012-10-30 Andreas Jaeger <aj@suse.de>
6186
6187 [BZ#14767]
6188 * elf/Makefile (tests): Remove conditional for have-initfini-array
6189 since this is now always required and the variable does not exist
6190 anymore.
6191 (tests-static): Likewise.
6192 (modules-names): Likewise.
6193
6194 * po/eo.po: Add Esperanto translation from translation project.
6195
6196 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6197 merged with constructor/destructor.
6198 (init_array): Likewise.
6199 * elf/tst-array2dep.c (fini_array): Likewise.
6200 (init_array): Likewise.
6201
62022012-10-29 Mike Frysinger <vapier@gentoo.org>
6203
6204 * manual/message.texi: Delete @cartouche tags.
6205
62062012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6207
6208 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6209 EOPNOTSUPP.
6210 * sysdeps/mach/hurd/fsync.c: Likewise.
6211
6212 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6213 [_POSIX_REALTIME_SIGNALS]: Change condition to
6214 [_POSIX_REALTIME_SIGNALS > 0].
6215
62162012-10-27 Andreas Jaeger <aj@suse.de>
6217
6218 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6219 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6221 [__WORDSIZE != 64]: Likewise.
6222
62232012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6224
6225 * iconvdata/tst-table.sh: Remove ${SHELL}.
6226 * iconvdata/tst-tables.sh: Likewise.
6227
62282012-10-25 David S. Miller <davem@davemloft.net>
6229
6230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6231 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6232 of strtoull.
6233
6234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6235 ifunc-impl-list.c
6236 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6237 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6238 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6239 file.
6240
62412012-10-25 Roland McGrath <roland@hack.frob.com>
6242
6243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6244 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6245 __getdirentries.
6246
62472012-10-25 Joseph Myers <joseph@codesourcery.com>
6248 Jim Blandy <jimb@codesourcery.com>
6249
6250 * scripts/cross-test-ssh.sh: New file.
6251 * manual/install.texi (Configuring and compiling): Document use of
6252 cross-test-ssh.sh.
6253 * INSTALL: Regenerated.
6254
62552012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6256
6257 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6258 EOPNOTSUPP.
6259
62602012-10-25 Joseph Myers <joseph@codesourcery.com>
6261
6262 * Makeconfig (run-program-prefix): Fix comment.
6263
62642012-10-24 Joseph Myers <joseph@codesourcery.com>
6265 Jim Blandy <jimb@codesourcery.com>
6266
6267 * Makeconfig (test-wrapper): New variable,
6268 (test-wrapper-env): Likewise.
6269 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6270 (run-built-tests): Define to yes.
6271 (run-program-prefix): Use $(test-wrapper).
6272 (built-program-cmd): Likewise.
6273 * Rules (make-test-out): Use $(test-wrapper-env) and
6274 $(host-built-program-cmd).
6275 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6276 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6277 tst-pathopt.sh.
6278 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6279 $(test-wrapper-env) to tst-rtld-load-self.sh.
6280 ($(objpfx)order2.out): Use $(test-wrapper).
6281 ($(objpfx)tst-initorder.out): Likewise.
6282 ($(objpfx)tst-initorder2.out): Likewise.
6283 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6284 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6285 (test_wrapper_env): New variable. Use it to run ld.so.
6286 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6287 Use it to run ld.so.
6288 (test_wrapper_env): Likewise.
6289 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6290 $(test-wrapper) to run-iconv-test.sh.
6291 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6292 (ICONV): Use $test_wrapper.
6293 * posix/Makefile ($(objpfx)globtest.out): Pass
6294 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6295 globtest.sh, not $(run-program-prefix).
6296 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6297 (test_wrapper): Likewise.
6298 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6299 set together with run_via_rtld_prefix.
6300 (run_program_prefix): Define in terms of test_wrapper and
6301 run_via_rtld_prefix.
6302
63032012-10-24 Roland McGrath <roland@hack.frob.com>
6304
6305 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6306 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6307 Targets removed.
6308
6309 [BZ #14743]
6310 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6311 Declare __clock_getres, __clock_gettime, __clock_settime,
6312 __clock_nanosleep, and __clock_getcpuclockid.
6313 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6314 Remove librt_hidden_def (clock_gettime).
6315 * sysdeps/unix/clock_gettime.c: Likewise.
6316 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6318 * rt/clock_getres.c: Define __clock_getres as an alias.
6319 * sysdeps/posix/clock_getres.c: Likewise.
6320 * rt/clock_settime.c: Define __clock_settime as an alias.
6321 * sysdeps/unix/clock_settime.c: Likewise.
6322 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6323 * sysdeps/unix/clock_nanosleep.c: Likewise.
6324 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6325 * rt/clock-compat.c: New file.
6326 * rt/Makefile (librt-routines): Add clock-compat and move
6327 $(clock-routines) to ...
6328 (routines): ... here, new variable.
6329 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6330 Don't add get_clockfreq here.
6331 * rt/Versions (libc: GLIBC_2.17): New version set.
6332 Add clock_* symbols here.
6333 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6335 (GLIBC_2.17): Add clock_* symbols.
6336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6340 Likewise.
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6342 Likewise.
6343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6347 * NEWS: Mention the move.
6348
6349 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6350 Use __open, __read, __close rather than their public counterparts.
6351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6352 (__get_clockfreq_via_cpuinfo): Likewise.
6353 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6354 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6355
6356 * config.h.in (HAVE_IFUNC): New #undef.
6357 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6358 was successful.
6359 * configure: Regenerated.
6360
63612012-10-24 Mike Frysinger <vapier@gentoo.org>
6362
6363 * configure.in: Move READELF check to start of file.
6364 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6365 libc_cv_asm_gnu_indirect_function in the process.
6366 * configure: Regenerated.
6367
63682012-10-24 Mike Frysinger <vapier@gentoo.org>
6369
6370 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6371 send the output to /dev/null.
6372 (libc_cv_cc_with_libunwind): Likewise.
6373 (libc_cv_as_noexecstack): Likewise.
6374 * configure: Regenerate.
6375
63762012-10-24 Joseph Myers <joseph@codesourcery.com>
6377
6378 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6379
6380 * posix/globtest.sh (TMPDIR): Do not set.
6381 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6382 (testout): Likewise.
6383
63842012-10-24 Andreas Jaeger <aj@suse.de>
6385
6386 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6387 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6388 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6389 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6390 posix_fadvise64, posix_fallocate64.
6391
6392 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6393 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6394 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6395 Likewise.
6396 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6397 Likewise.
6398 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6399
6400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6401 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6402 <bits/fcntl-linux.h>.
6403 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6404
6405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6406 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6407 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6408 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6409 [__WORDSIZE != 64]: Likewise.
6410
64112012-10-23 Joseph Myers <joseph@codesourcery.com>
6412
6413 * Makeconfig (run-built-tests): New variable.
6414 * Rules [$(cross-compiling) = yes]: Change condition to
6415 [$(run-built-tests) = no].
6416 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6417 to [$(run-built-tests) = yes].
6418 * elf/Makefile [$(cross-compiling) = no]: Likewise
6419 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6420 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6421 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6422 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6423 * io/Makefile [$(cross-compiling) = no]: Likewise.
6424 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6425 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6426 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6427 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6428 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6429 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6430 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6431 * string/Makefile [$(cross-compiling) = no]: Likewise.
6432
6433 * posix/Makefile ($(objpfx)globtest.out): Pass
6434 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6435 $(rtld-installed-name).
6436 * posix/globtest.sh (elf_objpfx): Remove variable.
6437 (rtld_installed_name): Likewise.
6438 (library_path): Likewise.
6439 (run_program_prefix): New variable. Use for running globtest
6440 binary.
6441
64422012-10-23 Jim Blandy <jimb@codesourcery.com>
6443 Joseph Myers <joseph@codesourcery.com>
6444
6445 * Makeconfig (host-built-program-cmd): New variable.
6446 * elf/Makefile (tst-stackguard1-ARGS): Use
6447 $(host-built-program-cmd).
6448 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6449 (tst-spawn-ARGS): Likewise.
6450 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6451
64522012-10-23 Joseph Myers <joseph@codesourcery.com>
6453 Jim Blandy <jimb@codesourcery.com>
6454
6455 * Makeconfig (run-via-rtld-prefix): New variable.
6456 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6457 (built-program-cmd): Likewise.
6458
64592012-10-22 Andreas Jaeger <aj@suse.de>
6460
6461 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6462 __O_RSYNC if it exists, otherwise to O_SYNC.
6463
64642012-10-22 Jim Blandy <jimb@codesourcery.com>
6465 Joseph Myers <joseph@codesourcery.com>
6466
6467 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6468 /dev/null.
6469 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6470 from /dev/null
6471 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6472 /dev/null.
6473
64742012-10-22 Andreas Jaeger <aj@suse.de>
6475
6476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6477 Define always.
6478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6479
6480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6481 bits/fcntl-linux.h.
6482
6483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6484 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6485
6486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6487 to __O_LARGEFILE.
6488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6489 to __O_LARGEFILE.
6490
64912012-10-21 Jim Blandy <jimb@codesourcery.com>
6492 Joseph Myers <joseph@codesourcery.com>
6493
6494 * config.make.in (NM): New variable.
6495
64962012-10-21 Andreas Jaeger <aj@suse.de>
6497
6498 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6499 definitions and declarations that are provided by
6500 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6501
65022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6503
6504 [BZ #14683]
6505 * elf/Makefile (tests-static): Add tst-leaks1-static.
6506 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6507 ($(objpfx)tst-leaks1-static): New rule.
6508 ($(objpfx)tst-leaks1-static-mem): Likewise.
6509 (tst-leaks1-static-ENV): New macro.
6510 * elf/dl-open.c (dl_open_worker): Check the main application
6511 only if SHARED is defined.
6512 * elf/tst-leaks1-static.c: New file.
6513
65142012-10-20 Andreas Jaeger <aj@suse.de>
6515
6516 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6517 generic values for Linux.
6518 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6519 and declarations that are provided by <bits/fcntl-linux.h> and
6520 include <bits/fcntl-linux.h>.
6521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6523
65242012-10-20 Roland McGrath <roland@hack.frob.com>
6525
6526 * io/fcntl.h: Move include of <bits/types.h> to the top and
6527 include it unconditionally.
6528
65292012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6530
6531 * wcsmbs/Makefile (tests-ifunc): New variable.
6532 (tests): Add $(tests-ifunc).
6533 * wcsmbs/test-wcschr-ifunc.c: New file.
6534 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6535 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6536 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6537 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6538 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6539
6540 * string/Makefile (tests-ifunc): New variable.
6541 (tests): Add $(tests-ifunc).
6542 * string/test-memccpy.c (TEST_NAME): New macro.
6543 * string/test-memchr.c (TEST_NAME): Likewise.
6544 * string/test-memcmp.c (TEST_NAME): Likewise.
6545 * string/test-memcpy.c (TEST_NAME): Likewise.
6546 * string/test-memmem.c (TEST_NAME): Likewise.
6547 * string/test-memmove.c (TEST_NAME): Likewise.
6548 * string/test-memset.c (TEST_NAME): Likewise.
6549 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6550 * string/test-stpcpy.c (TEST_NAME): Likewise.
6551 * string/test-stpncpy.c (TEST_NAME): Likewise.
6552 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6553 * string/test-strcasestr.c (TEST_NAME): Likewise.
6554 * string/test-strcat.c (TEST_NAME): Likewise.
6555 * string/test-strchr.c (TEST_NAME): Likewise.
6556 * string/test-strcmp.c(TEST_NAME): Likewise.
6557 * string/test-strcpy.c (TEST_NAME): Likewise.
6558 * string/test-strcspn.c (TEST_NAME): Likewise.
6559 * string/test-strlen.c (TEST_NAME): Likewise.
6560 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6561 * string/test-strncmp.c (TEST_NAME): Likewise.
6562 * string/test-strncpy.c (TEST_NAME): Likewise.
6563 * string/test-strnlen.c (TEST_NAME): Likewise.
6564 * string/test-strpbrk.c (TEST_NAME): Likewise.
6565 * string/test-strrchr.c (TEST_NAME): Likewise.
6566 * string/test-strspn.c (TEST_NAME): Likewise.
6567 * string/test-strstr.c (TEST_NAME): Likewise.
6568 * string/test-bcopy-ifunc.c: New file.
6569 * string/test-bzero-ifunc.c: Likewise.
6570 * string/test-memccpy-ifunc.c: Likewise.
6571 * string/test-memchr-ifunc.c: Likewise.
6572 * string/test-memcmp-ifunc.c: Likewise.
6573 * string/test-memcpy-ifunc.c: Likewise.
6574 * string/test-memmem-ifunc.c: Likewise.
6575 * string/test-memmove-ifunc.c: Likewise.
6576 * string/test-mempcpy-ifunc.c: Likewise.
6577 * string/test-memset-ifunc.c: Likewise.
6578 * string/test-rawmemchr-ifunc.c: Likewise.
6579 * string/test-stpcpy-ifunc.c: Likewise.
6580 * string/test-stpncpy-ifunc.c: Likewise.
6581 * string/test-strcasecmp-ifunc.c: Likewise.
6582 * string/test-strcasestr-ifunc.c: Likewise.
6583 * string/test-strcat-ifunc.c: Likewise.
6584 * string/test-strchr-ifunc.c: Likewise.
6585 * string/test-strchrnul-ifunc.c: Likewise.
6586 * string/test-strcmp-ifunc.c: Likewise.
6587 * string/test-strcpy-ifunc.c: Likewise.
6588 * string/test-strcspn-ifunc.c: Likewise.
6589 * string/test-strlen-ifunc.c: Likewise.
6590 * string/test-strncasecmp-ifunc.c: Likewise.
6591 * string/test-strncat-ifunc.c: Likewise.
6592 * string/test-strncmp-ifunc.c: Likewise.
6593 * string/test-strncpy-ifunc.c: Likewise.
6594 * string/test-strnlen-ifunc.c: Likewise.
6595 * string/test-strpbrk-ifunc.c: Likewise.
6596 * string/test-strrchr-ifunc.c: Likewise.
6597 * string/test-strspn-ifunc.c: Likewise.
6598 * string/test-strstr-ifunc.c: Likewise.
6599
6600 * debug/Makefile (tests-ifunc): New variable.
6601 (tests): Add $(tests-ifunc).
6602 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6603 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6604 * debug/test-stpcpy_chk-ifunc.c: New file.
6605 * debug/test-strcpy_chk-ifunc.c: Likewise.
6606
66072012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6608
6609 [BZ #13601]
6610 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6611 header is not read in.
6612
66132012-10-19 Joseph Myers <joseph@codesourcery.com>
6614
6615 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6616 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6617 directly. Pass built executable to script as
6618 $(built-program-cmd).
6619 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6620 $testprogram without using LD_LIBRARY_PATH and $ldso.
6621
6622 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6623 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6624 $(rtld-installed-name).
6625 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6626 (rtld_installed_name): Likewise.
6627 (library_path): Likewise.
6628 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6629 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6630 $(run-program-prefix) to tst-tables.sh.
6631 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6632 it to run tst-table-from and tst-table-to.
6633 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6634 Pass it to tst-table.sh.
6635 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6636 $(run-program-prefix) to tst-gettext.sh.
6637 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6638 tst-translit.sh.
6639 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6640 tst-gettext2.sh.
6641 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6642 to run tst-gettext.
6643 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6644 to run tst-gettext2.
6645 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6646 to run tst-translit.
6647 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6648 $(run-program-prefix) to tst-mtrace.sh.
6649 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6650 to run tst-mtrace.
6651 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6652 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6653 $(rtld-installed-name).
6654 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6655 (rtld_installed_name): Likewise.
6656 (run_program_prefix): New variable. Use it to run wordexp-test.
6657
6658 * Makeconfig (ARCH): Remove all definitions.
6659 (machine): Likewise.
6660 [ARCH]: Remove conditional code.
6661 [!objdir]: Give error.
6662 [!objdir] (objpfx): Remove.
6663 [!objdir] (common-objpfx): Likewise.
6664 [!objdir] (common-objdir): Likewise.
6665 * configure.in (config_makefile): Remove. Hardcode Makefile in
6666 AC_CONFIG_FILES call.
6667 * configure: Regenerated.
6668
6669 [BZ #13888]
6670 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6671 or TMPDIR.
6672 (testout): Likewise.
6673
6674 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6675 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6676 $(rtld-installed-name).
6677 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6678 (rtld_installed_name): Likwise.
6679 (runit): Remove function.
6680 (run_getconf): New variable, Use it for running getconf binary.
6681
66822012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6683
6684 [BZ #14716]
6685 * string/test-memmem.c (check_result): New function.
6686 (do_one_test): Use it.
6687 (check1): New function.
6688 (test_main): Use it.
6689
66902012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6691
6692 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6693
66942012-10-18 Joseph Myers <joseph@codesourcery.com>
6695
6696 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6697 (_G_LSEEK64): Likewise.
6698 (_G_MMAP64): Likewise.
6699 (_G_FSTAT64): Likewise.
6700 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6701 (_G_LSEEK64): Likewise.
6702 (_G_MMAP64): Likewise.
6703 (_G_FSTAT64): Likewise.
6704 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6705 unconditional. Call __mmap64 directly.
6706 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6707 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6708 __lseek64 directly.
6709 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6710 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6711 __mmap64 directly.
6712 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6713 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6714 __lseek64 directly.
6715 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6716 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6717 __lseek64 directly.
6718 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6719 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6720 __lseek64 directly.
6721 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6722 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6723 __fxstat64 directly.
6724 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6725 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6726 unconditional.
6727 (freopen64) [!_G_OPEN64]: Remove conditional code.
6728 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6729 unconditional.
6730 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6731 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6732 unconditional.
6733 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6734 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6735 unconditional.
6736 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6737 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6738 unconditional.
6739 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6740 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6741 unconditional.
6742 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6743 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6744 unconditional.
6745 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6746 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6747 unconditional.
6748 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6749
67502012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6751
6752 [BZ #12140]
6753 * manual/memory.texi (Malloc Tunable Parameters): Add note
6754 about free list pointers overwriting some perturb bytes.
6755 Wording suggested by Roland McGrath.
6756
67572012-10-17 Joseph Myers <joseph@codesourcery.com>
6758
6759 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6760 (lgamma_test): Likewise.
6761 (tgamma_test): Likewise.
6762
67632012-10-16 Florian Weimer <fweimer@redhat.com>
6764
6765 [BZ #14700]
6766 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6767 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6768
67692012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6770
6771 * NEWS: Mention BZ #14716.
6772 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6773 when removing AVAILABLE1_USES_J macro.
6774
67752012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6776
6777 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6778 (__bswap_64): __uint64_t for unsigned 64-bit int.
6779
67802012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6781
6782 * include/string.h (memmem): Declare libc hidden alias.
6783 * string/memmem.c (memmem): Define libc hidden alias.
6784 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6785 __read, __close instead of open, read, close.
6786
67872012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6788
6789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6790 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6791 global and hidden.
6792 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6793 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6794 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6795 Likewise.
6796 (__rawmemchr_sse2): Likewise.
6797 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6798 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6799 (__strchr_sse2): Likewise.
6800 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6801 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6802 (__strcasecmp_sse2): Likewise.
6803 (__strncasecmp_sse2): Likewise.
6804 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6805 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6806 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6807 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6808 (__strrchr_sse2): Likewise.
6809 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6810 ifunc-impl-list.c.
6811 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6812 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6813 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6814 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6815 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6816 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6817 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6818 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6819 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6820 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6821 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6823 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6824 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6825 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6826 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6827 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6828 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6829 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6830 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6831 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6832 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6833 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6834 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6835 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6836 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6837 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6838 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6839 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6840 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6841
6842 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6843 global and hidden.
6844 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6845 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6846 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6847 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6848 Likewise.
6849 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6850 Likewise.
6851 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6852 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6853 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6854 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6855 ifunc-impl-list.c.
6856 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6857 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6858 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6859 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6860 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6874 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6879 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6882 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6884 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6885 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6886 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6887 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6888 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6889 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6890 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6891 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6892 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6893 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6894 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6895 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6896 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6897
6898 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6899 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6900 * include/ifunc-impl-list.h: New file.
6901 * misc/ifunc-impl-list.c: Likewise.
6902 * misc/Makefile (routines): Add ifunc-impl-list.
6903 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6904 * string/test-string.h: Include <ifunc-impl-list.h>.
6905 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6906 impl_array): New variables.
6907 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6908 are defined.
6909 (test_init): Call __libc_ifunc_impl_list to initialize
6910 func_list if TEST_IFUNC and TEST_NAME are defined.
6911
6912 * string/Makefile (strop-tests): Add bcopy and bzero.
6913 * string/test-bcopy.c: New file.
6914 * string/test-bzero.c: Likewise.
6915 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6916 defined.
6917 * string/test-memset.c: Support bzero test if TEST_BZERO is
6918 defined.
6919 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6920 __libc_memmove.
6921 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6922 __libc_memset.
6923 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6924 of memset.
6925
69262012-10-10 Joseph Myers <joseph@codesourcery.com>
6927
6928 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6929 * configure: Regenerated.
6930
6931 * Makeconfig (+link-static-before-libc): Don't include
6932 $(link-static-libc).
6933
6934 * libio/libio.h (_IO_pos_t): Remove.
6935
69362012-10-10 Alexandre Oliva <aoliva@redhat.com>
6937
6938 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6939 McGrath.
6940
69412012-10-10 Alexandre Oliva <aoliva@redhat.com>
6942
6943 * crypt/crypt-entry.c: Include fips-private.h.
6944 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6945 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6946 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6947 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6948
69492012-10-10 Alexandre Oliva <aoliva@redhat.com>
6950
6951 * crypt/crypt-private.h: Include stdbool.h.
6952 (_ufc_setup_salt_r): Return bool.
6953 * crypt/crypt-entry.c: Include errno.h.
6954 (__crypt_r): Return NULL with EINVAL for bad salt.
6955 * crypt/crypt_util.c (bad_for_salt): New.
6956 (_ufc_setup_salt_r): Check that salt is long enough and within
6957 the specified alphabet.
6958 * crypt/badsalttest.c: New file.
6959 * crypt/Makefile (tests): Add it.
6960 ($(objpfx)badsalttest): New.
6961
69622012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6963
6964 * NEWS: Add entry for BZ #14602.
6965
69662012-10-09 Joseph Myers <joseph@codesourcery.com>
6967
6968 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6969 type-generic.
6970 * math/libm-test.inc: Update comment listing what functions and
6971 macros are tested.
6972 (isgreater_test): New function.
6973 (isgreaterequal_test): Likewise.
6974 (isless_test): Likewise.
6975 (islessequal_test): Likewise.
6976 (islessgreater_test): Likewise.
6977 (isunordered_test): Likewise.
6978 (main): Call the new functions.
6979
69802012-10-09 Roland McGrath <roland@hack.frob.com>
6981
6982 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6983 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6984 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6985 * sysdeps/i386/configure: Regenerated.
6986 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6987 * sysdeps/mach/configure: Regenerated.
6988 * sysdeps/mach/hurd/configure: Regenerated.
6989 * sysdeps/powerpc/configure: Regenerated.
6990 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6991 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6992 * sysdeps/s390/s390-32/configure: Regenerated.
6993 * sysdeps/s390/s390-64/configure: Regenerated.
6994 * sysdeps/sh/configure: Regenerated.
6995 * sysdeps/sparc/configure: Regenerated.
6996 * sysdeps/unix/sysv/linux/configure: Regenerated.
6997 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6998 * sysdeps/x86_64/configure: Regenerated.
6999
7000 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7001 defined. Don't check if MAP is NULL.
7002
70032012-10-09 Joseph Myers <joseph@codesourcery.com>
7004
7005 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7006 (_G_stat64): Likewise.
7007 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7008 (_G_stat64): Likewise.
7009 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7010 instead of struct _G_stat64.
7011 * libio/fileops.c (mmap_remap_check): Likewise.
7012 (decide_maybe_mmap): Likewise.
7013 (_IO_new_file_seekoff): Likewise.
7014 (_IO_file_stat): Likewise.
7015 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7016 _G_off64_t.
7017 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7018 instead of struct _G_stat64.
7019 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7020
70212012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7022
7023 [BZ #14602]
7024 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7025 Replace with ...
7026 (CHECK_EOL): New macro.
7027 (two_way_short_needle): Check beginning of haystack for EOL. Use
7028 CHECK_EOL.
7029 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7030 Replace with CHECK_EOL.
7031 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7032 Replace with CHECK_EOL.
7033
70342012-10-08 Joseph Myers <joseph@codesourcery.com>
7035
7036 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7037 type-generic.
7038 * math/libm-test.inc: Update comment listing what functions and
7039 macros are tested.
7040 (finite_test): New function.
7041 (isinf_test): Likewise.
7042 (isnan_test): Likewise.
7043 (fpclassify_test): Test subnormal input.
7044 (isfinite_test): Likewise.
7045 (isnormal_test): Likewise.
7046 (main): Call the new functions.
7047
70482012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7049
7050 [BZ #14660]
7051 * Makerules (%.dynsym): Force C locale when running
7052 $(OBJDUMP) --dynamic-syms.
7053
70542012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7055
7056 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7057 <stdint.h>.
7058
70592012-10-06 David S. Miller <davem@davemloft.net>
7060
7061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7062 upper 32-bits of the length value in %o2 since we use branch-on-register
7063 tests which consider the entire 64-bit register.
7064
70652012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7066
7067 * string/test-strstr.c (check2): Add a test for page boundary.
7068
70692012-10-05 David S. Miller <davem@davemloft.net>
7070
7071 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7072 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7073 file.
7074 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7075 sysdep_routines.
7076 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7077 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7078 and bzero when HWCAP_SPARC_CRYPTO is present.
7079
70802012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7081
7082 [BZ #14602]
7083 * string/test-strstr.c (check2): New function.
7084 (test_main): Call check2.
7085
7086 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7087 and bug-strchr1.
7088 * string/bug-strcasestr1.c (do_test): Moved to ...
7089 * string/test-strcasestr.c (check1): Here. New function.
7090 (do_one_test): Break out result checking code into ...
7091 (check_result): This. New function.
7092 (do_one_test): Call check_result.
7093 (test_main): Call check1.
7094 * string/bug-strchr1.c (do_test): Moved to ...
7095 * string/test-strchr.c (check1): Here. New function.
7096 (do_one_test): Break out result checking code into ...
7097 (check_result): This. New function.
7098 (do_one_test): Call check_result.
7099 (test_main): Call check1.
7100 * string/bug-strstr1.c (main): Moved to ...
7101 * string/test-strstr.c (check1): Here. New function.
7102 (do_one_test): Break out result checking code into ...
7103 (check_result): This. New function.
7104 (do_one_test): Call check_result.
7105 (test_main): Call check1.
7106 * string/bug-strcasestr1.c: Removed.
7107 * string/bug-strchr1.c: Likewise.
7108 * string/bug-strstr1.c: Likewise.
7109
7110 * elf/Makefile (dl-routines): Add hwcaps.
7111 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7112 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7113 (_dl_important_hwcaps): Moved to ...
7114 * elf/dl-hwcaps.c: Here. New file.
7115 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7116
7117 [BZ #14557]
7118 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7119 if IS_IN_rtld isn't defined.
7120
7121 * elf/dl-support.c (_dl_sysinfo_map): New.
7122 Include "get-dynamic-info.h" and "setup-vdso.h".
7123 (_dl_non_dynamic_init): Call setup_vdso.
7124 * elf/dynamic-link.h: Don't include <assert.h>.
7125 (elf_get_dynamic_info): Moved to ...
7126 * elf/get-dynamic-info.h: Here. New file.
7127 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7128 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7129 * elf/setup-vdso.h: Here. New file.
7130 * elf/rtld.c: Include "setup-vdso.h".
7131 (dl_main): Call setup_vdso.
7132
71332012-10-05 Joseph Myers <joseph@codesourcery.com>
7134
7135 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7136 creal in comment listing functions tested. List finite, isinf,
7137 isnan, isless, islessequal, isgreater, isgreaterequal,
7138 islessgreater, isunordered, lgamma_r and pow10 as functions and
7139 macros not tested. Mention which functions not tested are aliases
7140 for other functions. Fix typo. Note that signs of NaNs are not
7141 tested.
7142
7143 * scripts/config.guess: Update from config.git.
7144 * scripts/config.sub: Likewise.
7145
71462012-10-04 Roland McGrath <roland@hack.frob.com>
7147
7148 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7149 * misc/madvise.c (madvise): Renamed to __madvise.
7150 Make madvise a weak alias.
7151 * include/sys/mman.h: Declare __madvise.
7152 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7153 * sysdeps/unix/syscalls.list
7154 (madvise): Make __madvise the strong name, and madvise a weak alias.
7155 * sysdeps/unix/sysv/linux/syscalls.list
7156 (madvise, mmap): Remove redundant entries.
7157 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7158 * malloc/malloc.c (mtrim): Likewise.
7159 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7160
71612012-10-03 Roland McGrath <roland@hack.frob.com>
7162
7163 * sysdeps/mach/hurd/dl-cache.c: File removed.
7164 * config.h.in (USE_LDCONFIG): New #undef.
7165 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7166 * configure: Regenerated.
7167 * elf/Makefile (dl-routines): Add dl-cache only under
7168 [$(use-ldconfig) = yes].
7169 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7170 cache on [USE_LDCONFIG].
7171 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7172 [USE_LDCONFIG].
7173 * elf/rtld.c (dl_main): Likewise.
7174
71752012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7176
7177 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7178 _SC_LEVEL4_CACHE_LINESIZE.
7179
71802012-10-03 Roland McGrath <roland@hack.frob.com>
7181
7182 * sysdeps/unix/bsd/confstr.h: File removed.
7183
71842012-10-02 Alexandre Oliva <aoliva@redhat.com>
7185
7186 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7187 sys/sdt-config.h.
7188
71892012-10-02 Roland McGrath <roland@hack.frob.com>
7190
7191 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7192 Make 'mapoff' field ElfW(Off) rather than off_t.
7193
71942012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7195
7196 * nscd/Makefile: Remove nscd-cflags and all its users.
7197 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7198 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7199
7200 [BZ #10631]
7201 * malloc.c (malloc_printerr): Clarify error message.
7202
72032012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7204
7205 [BZ #14648]
7206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7207 Set bit_FMA_Usable if FMA is supported.
7208 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7209 macro.
7210 (bit_FMA4_Usable): Updated.
7211 (index_FMA_Usable): New macro.
7212 (CPUID_FMA): Likewise
7213 (HAS_FMA): Defined with bit_FMA_Usable.
7214
72152012-10-01 Roland McGrath <roland@hack.frob.com>
7216
7217 * bits/types.h (__swblk_t): Type removed.
7218 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7219 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7221 (__SWBLK_T_TYPE): Likewise.
7222 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7223 (__SWBLK_T_TYPE): Likewise.
7224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7225 (__SWBLK_T_TYPE): Likewise.
7226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7227 (__SWBLK_T_TYPE): Likewise.
7228
72292012-10-01 Patsy Franklin <pfrankli@redhat.com>
7230 Honza Horak <hhorak@redhat.com>
7231
7232 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7233 (xdr_mapname): Use YPMAXMAP as maxsize.
7234 (xdr_peername): Use YPMAXPEER as maxsize.
7235 (xdr_keydat): Use YPAXRECORD as maxsize.
7236 (xdr_valdat): Use YPMAXRECORD as maxsize.
7237
72382012-10-01 Roland McGrath <roland@hack.frob.com>
7239
7240 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7241
7242 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7243 * csu/init-first.c: ... here.
7244 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7245 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7246 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7247 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7248 * sysdeps/i386/init-first.c: File removed.
7249 * sysdeps/sh/init-first.c: File removed.
7250
72512012-10-01 Joseph Myers <joseph@codesourcery.com>
7252
7253 [BZ #14645]
7254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7255 if x * y might underflow to zero and z is zero.
7256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7258 * math/libm-test.inc (min_subnorm_value): New variable.
7259 (fma_test): Add more tests.
7260 (fma_test_towardzero): Likewise.
7261 (fma_test_downward): Likewise
7262 (fma_test_upward): Likewise.
7263 (initialize): Set min_subnorm_value.
7264
72652012-09-29 Joseph Myers <joseph@codesourcery.com>
7266
7267 [BZ #14638]
7268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7269 0 + 0.
7270 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7271 mode for addition resulting in exact zero.
7272 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7274 exact 0 + 0.
7275 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7276 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7277 * math/libm-test.inc (fma_test): Add more tests.
7278 (fma_test_towardzero): New function.
7279 (fma_test_downward): Likewise.
7280 (fma_test_upward): Likewise.
7281 (main): Call the new functions.
7282
72832012-09-28 David S. Miller <davem@davemloft.net>
7284
7285 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7286
72872012-09-28 Roland McGrath <roland@hack.frob.com>
7288
7289 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7290 instead of SIGALRM.
7291
7292 * sysdeps/gnu/_G_config.h: Moved to ...
7293 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7294 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7295 * sysdeps/generic/_G_config.h: ... here.
7296
7297 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7298
7299 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7300
7301 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7302 Conditionalize target on [libnss_test1.so-version].
7303
7304 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7305
7306 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7307 (elfobjdir): Move out of conditionals.
7308
7309 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7310 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7311 (__nss_lookup_function): Conditionalize label remove_from_tree on
7312 [!DO_STATIC_NSS || SHARED], matching its only use.
7313
73142012-09-28 David S. Miller <davem@davemloft.net>
7315
7316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7317 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7318 file.
7319 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7320 sysdep_routines.
7321 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7323 when HWCAP_SPARC_CRYPTO is present.
7324
73252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7326
7327 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7328
73292012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7330
7331 [BZ #6530]
7332 * stdio-common/vfprintf.c (process_string_arg): Revert
7333 2000-07-22 change.
7334
73352011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7336
7337 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7338 for testcase.
7339 * stdio-common/tst-sprintf.c: Include <locale.h>
7340 (main): Test sprintf's handling of incomplete multibyte
7341 characters.
7342
73432012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7344
7345 * elf/dl-runtime.c (VERSYMIDX): Removed.
7346 * elf/dl-version.c (VERSYMIDX): Likewise.
7347 * elf/do-rel.h (VERSYMIDX): Likewise.
7348 (VALIDX): Likewise.
7349 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7350 * elf/rtld.c (VALIDX): Likewise.
7351 (ADDRIDX): Likewise.
7352 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7353 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7354 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7355 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7356 (VALIDX): Likewise.
7357 (ADDRIDX): Likewise.
7358
73592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7360
7361 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7362
73632012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7364
7365 [BZ #11438]
7366 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7367 to global scope.
7368 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7369 addresses are in the same scope as 192.0.2/24.
7370 * posix/gai.conf: Document new scope table defaults.
7371
73722012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7373
7374 [BZ #5298]
7375 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7376 for ftell. Compute offsets from write pointers instead.
7377 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7378
73792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7380
7381 [BZ #14543]
7382 * libio/Makefile (tests): New test case tst-fseek.
7383 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7384 combination works in wide mode.
7385 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7386 state when the external buffer state changes.
7387
73882012-09-27 David S. Miller <davem@davemloft.net>
7389
7390 [BZ #14376]
7391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7392 pass reloc->r_addend in as the 'high' argument to
7393 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7394
7395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7396
73972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7398
7399 * rt/tst-aio2.c: Include <pthread.h>.
7400 * rt/tst-aio3.c: Likewise.
7401
74022012-09-27 Steve Ellcey <sellcey@mips.com>
7403
7404 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7405
74062012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7407
7408 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7409 contents on [SHARED].
7410
74112012-09-26 Marek Polacek <polacek@redhat.com>
7412
7413 [BZ #14530]
7414 [BZ #13741]
7415 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7416 for C++ and GCC <4.3 as well as for non GCC compilers.
7417
74182012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7419
7420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7421
74222012-09-25 Roland McGrath <roland@hack.frob.com>
7423
7424 * Makefile.in (all, install): Declare with .PHONY.
7425 Reported by Michael Hope <michael.hope@linaro.org>.
7426
74272012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7428
7429 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7430 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7431 system header.
7432 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7433 Likewise.
7434 (sydep_routines): Add the new and the internal functions.
7435 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7436 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7438 (GLIBC_2.17): Add the new function.
7439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7440 (GLIBC_2.17): Likewise.
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7442 (GLIBC_2.17): Likewise.
7443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7444 (GLIBC_2.17): Likewise.
7445 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7446
74472012-09-25 Alan Modra <amodra@gmail.com>
7448
7449 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7450 Add release barrier before setting once_control to say
7451 initialisation is done. Add hints on lwarx. Use macro in
7452 place of isync.
7453 (clear_once_control): Add release barrier.
7454
74552012-09-25 Joseph Myers <joseph@codesourcery.com>
7456
7457 [BZ #13629]
7458 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7459 specially.
7460 * math/s_clog10.c (__clog10): Likewise.
7461 * math/s_clog10f.c (__clog10f): Likewise.
7462 * math/s_clog10l.c (__clog10l): Likewise.
7463 * math/s_clogf.c (__clogf): Likewise.
7464 * math/s_clogl.c (__clogl): Likewise.
7465 * math/Makefile (libm-calls): Add x2y2m1.
7466 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7467 (__x2y2m1): Likewise.
7468 (__x2y2m1l): Likewise.
7469 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7470 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7473 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7474 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7475 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7476 * sysdeps/i386/fpu/libm-test-ulps: Update.
7477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7478
7479 [BZ #14621]
7480 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7481 int as type of variable DEPTH.
7482 (glob): Use size_t instead of int as type of variables NEWCOUNT
7483 and OLD_PATHC.
7484
74852012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7486
7487 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7488 Add s_sincosf-sse2.
7489 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7490 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7491 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7492 macros for using routine as __sincosf_ia32.
7493 Use macro for function declaration and weak_alias.
7494 * sysdeps/i386/fpu/libm-test-ulps: Update.
7495
7496 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7498
7499 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7500 subnormal argument.
7501 * math/s_cexpf.c (__cexpf): Likewise.
7502 * math/s_csinf.c (__csinf): Likewise.
7503 * math/s_csinhf.c (__csinhf): Likewise.
7504 * math/s_ctanf.c (__ctanf): Likewise.
7505 * math/s_ctanhf.c (__ctanhf): Likewise.
7506 * math/s_ccosh.c (__ccoshf): Likewise.
7507 * math/s_cexp.c (__cexpl): Likewise.
7508 * math/s_csin.c (__csin): Likewise.
7509 * math/s_csinh.c (__csinh): Likewise.
7510 * math/s_ctan.c (__ctan): Likewise.
7511 * math/s_ctanh.c (ctanh): Likewise.
7512 * math/s_ccoshl.c (__ccoshl): Likewise.
7513 * math/s_cexpl.c (__cexpl): Likewise.
7514 * math/s_csinl.c (__csinl): Likewise.
7515 * math/s_csinhl.c (__csinhl): Likewise.
7516 * math/s_ctanl.c (__ctanl): Likewise.
7517 * math/s_ctanhl.c (__ctanhl): Likewise.
7518
75192012-09-25 Joseph Myers <joseph@codesourcery.com>
7520
7521 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7522 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7523 (_IO_off_t): Define to __off_t, not _G_off_t.
7524 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7525 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7526 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7527 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7528 type of __dummy and __dummy2 fields.
7529 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7530 (_G_ssize_t): Likewise.
7531 (_G_off_t): Likewise.
7532 (_G_pid_t): Likewise.
7533 (_G_uid_t): Likewise.
7534 (_G_wchar_t): Likewise.
7535 (_G_wint_t): Likewise.
7536 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7537 (_G_ssize_t): Likewise.
7538 (_G_off_t): Likewise.
7539 (_G_pid_t): Likewise.
7540 (_G_uid_t): Likewise.
7541 (_G_wchar_t): Likewise.
7542 (_G_wint_t): Likewise.
7543 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7544 (_G_ssize_t): Likewise.
7545 (_G_off_t): Likewise.
7546 (_G_pid_t): Likewise.
7547 (_G_uid_t): Likewise.
7548 (_G_wchar_t): Likewise.
7549 (_G_wint_t): Likewise.
7550
75512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7552
7553 * malloc/arena.c: Include malloc-sysdep.h.
7554 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7555 is sufficient to shrink the heap or an unmap is needed.
7556 * sysdeps/generic/malloc-sysdep.h: New file. Define
7557 new function check_may_shrink_heap.
7558 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7559 new function check_may_shrink_heap.
7560
75612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7562
7563 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7564 comments.
7565
75662012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7567
7568 * catgets/test-gencat.sh: Add "set -e".
7569 * elf/tst-pathopt.sh: Likewise.
7570 * grp/tst_fgetgrent.sh: Likewise.
7571 * iconvdata/run-iconv-test.sh: Likewise.
7572 * intl/tst-gettext.sh: Likewise.
7573 * intl/tst-gettext2.sh: Likewise.
7574 * intl/tst-gettext4.sh: Likewise.
7575 * intl/tst-gettext6.sh: Likewise.
7576 * intl/tst-translit.sh: Likewise.
7577 * io/ftwtest-sh: Likewise.
7578 * libio/test-freopen.sh: Likewise.
7579 * malloc/tst-mtrace.sh: Likewise.
7580 * posix/globtest.sh: Likewise.
7581 * posix/tst-getconf.sh: Likewise.
7582 * posix/wordexp-tst.sh: Likewise.
7583 * stdio-common/tst-printf.sh: Likewise.
7584 * stdio-common/tst-unbputc.sh: Likewise.
7585 * stdlib/tst-fmtmsg.sh: Likewise.
7586 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7587 * catgets/Makefile: Do not specify -e option when running
7588 testsuite shell scripts.
7589 * elf/Makefile: Likewise.
7590 * grp/Makefile: Likewise.
7591 * iconvdata/Makefile: Likewise.
7592 * intl/Makefile: Likewise.
7593 * io/Makefile: Likewise.
7594 * libio/Makefile: Likewise.
7595 * malloc/Makefile: Likewise.
7596 * posix/Makefile: Likewise.
7597 * stdio-common/Makefile: Likewise.
7598 * stdlib/Makefile: Likewise.
7599 * sysdeps/x86_64/Makefile: Likewise.
7600
7601 * io/ftwtest-sh: Add copyright header.
7602 * posix/globtest.sh: Likewise.
7603 * posix/tst-getconf.sh: Likewise.
7604 * posix/wordexp-tst.sh: Likewise.
7605 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7606
76072012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7608
7609 [BZ #13679]
7610 * Makeconfig (+link): Defined as $(+link-static) if
7611 $(build-shared) isn't yes.
7612 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7613 isn't yes.
7614 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7615
7616 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7617
7618 [BZ #14562]
7619 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7620 new chunk size with MALLOC_ALIGN_MASK.
7621
76222012-09-24 Joseph Myers <joseph@codesourcery.com>
7623
7624 [BZ #5044]
7625 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7626 <rounding-mode.h>.
7627 (__printf_fphex): Determine rounding using get_rounding_mode and
7628 round_away.
7629 * stdio-common/tst-printf-round.c (struct hex_test): New
7630 structure.
7631 (hex_tests): New variable.
7632 (test_hex_in_one_mode): New function.
7633 (do_test): Also run tests for hex float output.
7634
76352012-09-21 Joseph Myers <joseph@codesourcery.com>
7636
7637 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7638 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7639 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7640 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7641 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7642 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7643 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7644 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7645
76462012-09-20 Joseph Myers <joseph@codesourcery.com>
7647
7648 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7649 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7650 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7651 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7652
76532012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7654
7655 [BZ #14579]
7656 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7657 mode only.
7658 * elf/tst-rtld-load-self.sh: New test.
7659 * elf/Makefile: Run it.
7660
76612012-09-18 Joseph Myers <joseph@codesourcery.com>
7662
7663 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7664 (tst-writev-ENV): Remove.
7665 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7666
76672012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7668
7669 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7670
76712012-09-17 Joseph Myers <joseph@codesourcery.com>
7672
7673 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7674 unconditional.
7675 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7676 Likewise.
7677 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7678 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7679 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7680 Likewise.
7681
76822012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7683
7684 [BZ #14587]
7685 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7686 * config.make.in (have-cpp-asm-debuginfo): Removed.
7687 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7688 * configure: Regenerated.
7689
76902012-09-14 Joseph Myers <joseph@codesourcery.com>
7691
7692 [BZ #5044]
7693 * stdio-common/printf_fp.c: Include <stdbool.h> and
7694 <rounding-mode.h>.
7695 (___printf_fp): Determine rounding using get_rounding_mode and
7696 round_away.
7697 * stdio-common/tst-printf-round.c: New file.
7698 * stdio-common/Makefile (tests): Add tst-printf-round.
7699 (link-libm): New variable.
7700 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7701
77022012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7703
7704 [BZ #14576]
7705 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7706 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7707 Likewise.
7708 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7709 Likewise.
7710
77112012-09-13 Joseph Myers <joseph@codesourcery.com>
7712
7713 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7714 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7715 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7716 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7717
77182012-09-12 Joseph Myers <joseph@codesourcery.com>
7719
7720 [BZ #14518]
7721 * include/rounding-mode.h: New file.
7722 * sysdeps/generic/get-rounding-mode.h: Likewise.
7723 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7724 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7725 (MAX_VALUE): New macro.
7726 (MIN_VALUE): Likewise.
7727 (overflow_value): New function.
7728 (underflow_value): Likewise.
7729 (round_and_return): Use overflow_value and underflow_value to
7730 determine return values in overflow and underflow cases. Use
7731 round_away to determine rounding depending on rounding mode.
7732 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7733 determine return values in overflow and underflow cases.
7734 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7735 (struct test_results): New structure.
7736 (struct test): Use struct test_results to store expected results
7737 for all rounding modes.
7738 (TEST): Include expected results for all rounding modes.
7739 (test_in_one_mode): New function.
7740 (do_test): Use test_in_one_mode to compute and check results.
7741 Check results for all rounding modes.
7742 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7743 $(link-libm).
7744
77452012-12-09 Allan McRae <allan@archlinux.org>
7746
7747 * sysdeps/i386/fpu/libm-test-ulps: Update
7748
77492012-09-11 Joseph Myers <joseph@codesourcery.com>
7750
7751 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7752 (_G_int32_t): Likewise.
7753 (_G_uint16_t): Likewise.
7754 (_G_uint32_t): Likewise.
7755 (_G_HAVE_BOOL): Likewise.
7756 (_G_HAVE_ATEXIT): Likewise.
7757 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7758 (_G_HAVE_IO_FILE_OPEN): Likewise.
7759 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7760 (_G_int32_t): Likewise.
7761 (_G_uint16_t): Likewise.
7762 (_G_uint32_t): Likewise.
7763 (_G_HAVE_BOOL): Likewise.
7764 (_G_HAVE_ATEXIT): Likewise.
7765 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7766 (_G_HAVE_IO_FILE_OPEN): Likewise.
7767 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7768 (_G_int32_t): Likewise.
7769 (_G_uint16_t): Likewise.
7770 (_G_uint32_t): Likewise.
7771 (_G_HAVE_BOOL): Likewise.
7772 (_G_HAVE_ATEXIT): Likewise.
7773 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7774 (_G_HAVE_IO_FILE_OPEN): Likewise.
7775
77762012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7777
7778 * csu/libc-tls.c: Update copyright years.
7779
77802012-09-10 Joseph Myers <joseph@codesourcery.com>
7781
7782 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7783 [!_G_USING_THUNKS]: Remove conditional code.
7784 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7785 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7786
7787 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7788 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7789 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7790 (_G_VTABLE_LABEL_PREFIX): Likewise.
7791 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7792 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7793 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7794 (_G_VTABLE_LABEL_PREFIX): Likewise.
7795 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7796 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7797 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7798 (_G_VTABLE_LABEL_PREFIX): Likewise.
7799 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7800
78012012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7802
7803 * libio/Makefile: Include ../Makeconfig before tests.
7804 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7805 only if $(build-shared) is yes.
7806
7807 * iconv/gconv_db.c: Update copyright years.
7808
78092012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7810
7811 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7812 unwind info if defined PIC. Fix special cases description.
7813 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7814
7815 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7816 DP_HI_MASK entry.
7817 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7818
78192012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7820
7821 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7822
7823 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7824 is NULL.
7825
7826 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7827 (LDLIBS-tst-chk4): This.
7828 (LDFLAGS-tst-chk5): Renamed to ...
7829 (LDLIBS-tst-chk5): This.
7830 (LDFLAGS-tst-chk6): Renamed to ...
7831 (LDLIBS-tst-chk6): This.
7832 (LDFLAGS-tst-lfschk4): Renamed to ...
7833 (LDLIBS-tst-lfschk4): This.
7834 (LDFLAGS-tst-lfschk5): Renamed to ...
7835 (LDLIBS-tst-lfschk5): This.
7836 (LDFLAGS-tst-lfschk6): Renamed to ...
7837 (LDLIBS-tst-lfschk6): This.
7838
7839 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7840 on $(common-objpfx)soversions.mk.
7841
78422012-09-07 Joseph Myers <joseph@codesourcery.com>
7843
7844 [BZ #10014]
7845 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7846 example host name.
7847
78482012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7849
7850 * malloc/arena.c (arena_get_retry): New function that gets
7851 another arena for the caller to try its request on.
7852 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7853 current arena cannot fulfill the request.
7854 (__libc_memalign): Likewise.
7855 (__libc_memalign): Likewise.
7856 (__libc_pvalloc): Likewise.
7857 (__libc_calloc): Likewise.
7858
78592012-09-05 John Tobey <john.tobey@gmail.com>
7860
7861 [BZ #13542]
7862 * manual/arith.texi (Operations on Complex): Fix description
7863 of carg branch cut.
7864
78652012-09-06 Joseph Myers <joseph@codesourcery.com>
7866
7867 [BZ #10014]
7868 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7869 host name.
7870
7871 [BZ #10038]
7872 * manual/memory.texi (Memory): Make order of menu items match
7873 order of sections.
7874
78752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7876
7877 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7878 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7879 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7880
78812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 * csu/libc-tls.c (static_dtv): Renamed to ...
7884 (_dl_static_dtv): This. Make it global.
7885 (_dl_initial_dtv): Removed.
7886 (__libc_setup_tls): Updated.
7887 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7888 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7889 DL_INITIAL_DTV.
7890
78912012-09-06 Petr Machata <pmachata@redhat.com>
7892
7893 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7894 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7895 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7896 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7897
78982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7899
7900 [BZ #14545]
7901 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7902 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7903 freeing dtv[-1].
7904
79052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7906
7907 [BZ #14544]
7908 * Makeconfig (link-static-before-libc): Replace $(+prector)
7909 with $(+prectorT).
7910 (link-static-after-libc): Replace $(+postctor) with
7911 $(+postctorT).
7912 (link-bounded): Replace $(+prector)/$(+postctor) with
7913 $(+prectorT)/$(+postctorT).
7914 (+prectorT): New macro.
7915 (+postctorT): Likewise.
7916
79172012-09-06 Joseph Myers <joseph@codesourcery.com>
7918
7919 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7920 (round_str): Handle values above the maximum for IBM long double
7921 as inexact.
7922 * stdlib/tst-strtod-round.c (tests): Regenerated.
7923
79242012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7925
7926 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7927 assembler flag.
7928 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7929 zarch_nohighgprs around the zarch optimized routines.
7930 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7931 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7932 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7933 for zarch.
7934
79352012-09-05 David S. Miller <davem@davemloft.net>
7936
7937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7938
7939 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7940 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7941 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7942 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7943 entries.
7944
79452012-09-05 Alexandre Oliva <aoliva@redhat.com>
7946
7947 * malloc/arena.c: Fold copyright years.
7948 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7949
79502012-09-05 Alexandre Oliva <aoliva@redhat.com>
7951
7952 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7953
79542012-09-05 Alexandre Oliva <aoliva@redhat.com>
7955
7956 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7957
79582012-09-05 Alexandre Oliva <aoliva@redhat.com>
7959
7960 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7961 change internal state upon failure.
7962
79632012-09-05 Alexandre Oliva <aoliva@redhat.com>
7964
7965 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7966 * malloc/memusage.c (mmap): Likewise.
7967 (mmap64, mremap): Likewise. Adjust name in comment.
7968
79692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7970
7971 * libio/fileops.c: Fix typos in comments.
7972 * libio/oldfileops.c: Likewise.
7973 * libio/wfileops.c: Likewise.
7974
79752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7976
7977 [BZ #1349]
7978 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7979 (tst-malloc-usable-ENV): Set environment for test case.
7980 * malloc/hooks.c (malloc_check_get_size): New function to get
7981 requested size.
7982 * malloc/malloc.c (musable): Use malloc_check_get_size.
7983 * malloc/tst-malloc-usable.c: New test case.
7984
79852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7986
7987 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7988
79892012-09-05 Allan McRae <allan@archlinux.org>
7990
7991 [BZ #13966]
7992 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7993 determine header location.
7994 * configure: Regenerated.
7995
79962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7997
7998 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7999 float format.
8000 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8001 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8002 format.
8003 (test): Regenerate.
8004
80052012-09-04 David S. Miller <davem@davemloft.net>
8006
8007 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8008 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8009 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8010
80112012-09-04 Florian Weimer <fweimer@redhat.com>
8012
8013 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8014 failures.
8015
8016 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8017
80182012-09-04 Joseph Myers <joseph@codesourcery.com>
8019
8020 [BZ #9914]
8021 * libio/iogetdelim.c: Include <limits.h>.
8022 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8023 + len + 1 would overflow.
8024
80252012-09-03 Andreas Jaeger <aj@suse.de>
8026
8027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8028 * sysdeps/i386/fpu/libm-test-ulps: Update.
8029
80302012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8031
8032 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8033 Add s_sinf-sse2, s_conf-sse2.
8034
8035 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8036 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8037 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8038 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8039
8040 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8041 for using routine as __sinf_ia32.
8042 Use macro for function declaration and weak_alias.
8043 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8044 for using routine as __cosf_ia32.
8045 Use macro for function declaration and weak_alias.
8046
8047 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8048 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8049
8050 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8051 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8053
8054 * math/libm-test.inc (cos_test): Add more test cases.
8055 (sin_test): Likewise.
8056 (sincos_test): Likewise.
8057
80582012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8059
8060 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8061 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8062 hidden.
8063 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8064
80652012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8066
8067 [BZ #14538]
8068 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8069 first element of the GOT.
8070 (elf_machine_load_address): Return the difference between
8071 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8072
80732012-09-01 Allan McRae <allan@archlinux.org>
8074
8075 [BZ #13412]
8076 * configure.in (AWK): Require gawk version 3.0 or later.
8077 * configure: Regenerated.
8078
80792012-09-01 Joseph Myers <joseph@codesourcery.com>
8080
8081 * sysdeps/unix/sysv/linux/kernel-features.h
8082 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8084 [__NR_clock_getres]: Make code unconditional.
8085 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8086 (clock_getcpuclockid): Remove code left unreachable by removal of
8087 conditionals.
8088 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8089 code unconditional.
8090 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8091 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8092 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8093 Make code unconditional.
8094 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8095 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8096 * sysdeps/unix/sysv/linux/clock_settime.c
8097 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8098 conditional code.
8099 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8100 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8101
81022012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8103
8104 [BZ #14476]
8105 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8106 scripts/test-installation.pl.
8107
8108 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8109 and $ld_so_version if it is set.
8110
81112012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8112
8113 [BZ #14516]
8114 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8115 failure if reading from procfs failed.
8116 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8117
81182012-08-27 Joseph Myers <joseph@codesourcery.com>
8119
8120 * sysdeps/unix/sysv/linux/kernel-features.h
8121 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8122 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8123 Remove conditional code.
8124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8125 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8126 Remove conditional code.
8127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8128 * sysdeps/unix/sysv/linux/i386/fxstat.c
8129 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8131 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8132 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8133 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8134 * sysdeps/unix/sysv/linux/i386/lxstat.c
8135 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8136 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8137 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8138 Remove conditional code.
8139 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8140 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8141 Remove conditional code.
8142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8143 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8144 <kernel-features.h>.
8145 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8146 Remove.
8147 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8148 Remove conditional code.
8149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8150 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8151 Remove conditional.
8152
81532012-08-27 Mike Frysinger <vapier@gentoo.org>
8154
8155 [BZ #5400]
8156 * NEWS: Add fixed bug number.
8157
81582012-08-27 Joseph Myers <joseph@codesourcery.com>
8159
8160 [BZ #14519]
8161 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8162 underflowing exponent in case of negative sign.
8163 * stdlib/tst-strtod-round-data: Add more tests.
8164 * stdlib/tst-strtod-round.c (tests): Regenerated.
8165
8166 [BZ #3479]
8167 * stdlib/strtod_l.c (NDIG): Remove.
8168 (HEXNDIG): Likewise.
8169 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8170 smallest representable value.
8171 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8172 lie within an exact representation of 1/2 ulp of the result.
8173 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8174 unconditionally.
8175 (TENS_P9_IDX): Define unconditionally.
8176 (TENS_P9_SIZE): Likewise.
8177 (TENS_P10_IDX): Likewise.
8178 (TENS_P10_SIZE): Likewise.
8179 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8180 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8181 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8182 entries for 10^2^13 and 10^2^14.
8183 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8184 (TENS_P13_IDX): Define.
8185 (TENS_P13_SIZE): Likewise.
8186 (TENS_P14_IDX): Likewise.
8187 (TENS_P14_SIZE): Likewise.
8188 (_fpioconst_pow10): Change array size to
8189 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8190 unconditional.
8191 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8192 1024]: Add entries for 10^2^13 and 10^2^14.
8193 [LAST_POW10 > _LAST_POW10]: Remove #error.
8194 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8195 (_fpioconst_pow10): Change array size to
8196 FPIOCONST_POW10_ARRAY_SIZE.
8197 * stdlib/gen-fpioconst.c: New file.
8198 * stdlib/gen-tst-strtod-round.c: Likewise.
8199 * stdlib/tst-strtod-round-data: Likewise.
8200 * stdlib/tst-strtod-round.c: Likewise.
8201 * stdlib/Makefile (tests): Add tst-strtod-round.
8202
8203 [BZ #14459]
8204 * stdlib/strtod_l.c: Include <stdint.h>.
8205 (NDEBUG): Do not define.
8206 (round_and_return): Change EXPONENT parameter to type intmax_t.
8207 Rearrange calculations to avoid internal overflow possibilities.
8208 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8209 Rearrange calculations to avoid internal overflow possibilities.
8210 Assert that number fits inside MPNSIZE limbs.
8211 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8212 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8213 calculations and add assertions to avoid internal overflow
8214 possibilities. Add casts to avoid signed/unsigned operations.
8215 * stdlib/tst-strtod-overflow.c: New file.
8216 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8217
82182012-08-25 Marek Polacek <polacek@redhat.com>
8219
8220 * time/time.h: Fix some typos in comments.
8221
82222012-08-23 Roland McGrath <roland@hack.frob.com>
8223
8224 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8225 * posix/tst-rfc3484-2.c: Likewise.
8226 * posix/tst-rfc3484-3.c: Likewise.
8227
82282012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8229
8230 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8231 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8232
82332012-08-23 Joseph Myers <joseph@codesourcery.com>
8234
8235 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8236 #include of fxstatat64.c.
8237
82382012-08-22 Roland McGrath <roland@hack.frob.com>
8239
8240 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8241 * shadow/getspent_r.c: Likewise.
8242 * shadow/getspnam.c: Likewise.
8243 * shadow/getspnam_r.c: Likewise.
8244 * gshadow/getsgent.c: Likewise.
8245 * gshadow/getsgent_r.c: Likewise.
8246 * gshadow/getsgnam.c: Likewise.
8247 * gshadow/getsgnam_r.c: Likewise.
8248 * inet/getnetbyad.c: Likewise.
8249 * inet/getnetbyad_r.c: Likewise.
8250 * inet/getnetbynm.c: Likewise.
8251 * inet/getnetbynm_r.c: Likewise.
8252 * inet/getnetent.c: Likewise.
8253 * inet/getnetent_r.c: Likewise.
8254 * inet/getproto.c: Likewise.
8255 * inet/getproto_r.c: Likewise.
8256 * inet/getprtent.c: Likewise.
8257 * inet/getprtent_r.c: Likewise.
8258 * inet/getprtname.c: Likewise.
8259 * inet/getprtname_r.c: Likewise.
8260 * inet/getrpcbyname.c: Likewise.
8261 * inet/getrpcbyname_r.c: Likewise.
8262 * inet/getrpcbynumber.c: Likewise.
8263 * inet/getrpcbynumber_r.c: Likewise.
8264 * inet/getrpcent.c: Likewise.
8265 * inet/getrpcent_r.c: Likewise.
8266 * inet/getaliasent.c: Likewise.
8267 * inet/getaliasent_r.c: Likewise.
8268 * inet/getaliasname.c: Likewise.
8269 * inet/getaliasname_r.c: Likewise.
8270 * nscd/getgrgid_r.c: Likewise.
8271 * nscd/getgrnam_r.c: Likewise.
8272 * nscd/gethstbyad_r.c: Likewise.
8273 * nscd/gethstbynm3_r.c: Likewise.
8274 * nscd/getpwnam_r.c: Likewise.
8275 * nscd/getpwuid_r.c: Likewise.
8276 * nscd/getsrvbynm_r.c: Likewise.
8277 * nscd/getsrvbypt_r.c: Likewise.
8278 * nscd/gai.c: Likewise.
8279
8280 * configure.in (build_nscd): New substituted variable, set
8281 by --disable-build-nscd and defaults to $use_nscd.
8282 * configure: Regenerated.
8283 * config.make.in (build-nscd): New substituted variable.
8284 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8285 Change conditional to require [$(build-nscd) = yes] as well.
8286 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8287
8288 [BZ# 13696]
8289 * configure.in (use_nscd): New substituted variable, set by
8290 --disable-nscd. If enabled, define USE_NSCD.
8291 * configure: Regenerated.
8292 * config.h.in: Add USE_NSCD.
8293 * config.make.in (use-nscd): New substituted variable.
8294 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8295 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8296 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8297 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8298 (CFLAGS-getgrnam_r.c): Likewise.
8299 (CFLAGS-initgroups.c): Likewise.
8300 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8301 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8302 Variables removed.
8303 * inet/getnetgrent_r.c
8304 (nscd_setnetgrent): New function, broken out of ...
8305 (setnetgrent): ... here. Call it.
8306 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8307 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8308 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8309 * nscd/Makefile (routines, aux): Move definitions after include of
8310 Makeconfig. Conditionalize on [$(use-nscd) != no].
8311 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8312 Conditionalize on [USE_NSCD].
8313 (is_nscd, nscd_init_cb): Likewise.
8314 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8315 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8316 * nss/nss_db/db-init.c: Likewise.
8317 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8318 [USE_NSCD].
8319 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8320 (make_request): Use it.
8321 (cache_valid_p): New function.
8322 (__check_pf): Use it.
8323 * NEWS: Add item for --disable-nscd.
8324
83252012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8326
8327 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8328 to support sed >= 4.2.1-20-ga9bf076.
8329 * configure: Regenerated.
8330
83312012-08-22 Roland McGrath <roland@hack.frob.com>
8332
8333 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8334 Conditionalize whole body on [IREL].
8335
83362012-08-22 Jeff Law <law@redhat.com>
8337
8338 [BZ #14505]
8339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8340 if the family is PF_UNSPEC.
8341
83422012-08-22 Mike Frysinger <vapier@gentoo.org>
8343
8344 * Makerules (lib-version): Rename from V.
8345 (install-lib-nosubdir): Change V to lib-version.
8346
83472012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8348
8349 [BZ #14252]
8350 * powerpc32/power6/wcschr.c: New file.
8351 * powerpc32/power6/wcscpy.c: New file.
8352 * powerpc32/power6/wcsrchr.c: New file.
8353 * powerpc64/power6/wcschr.c: New file.
8354 * powerpc64/power6/wcscpy.c: New file.
8355 * powerpc64/power6/wcsrchr.c: New file.
8356
83572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8358
8359 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8360 (two_way_short_needle): Use it.
8361 * string/strstr.c (AVAILABLE1_USES_J): Define.
8362 * string/strcasestr.c: Likewise.
8363
8364 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8365 array references.
8366 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8367
8368 [BZ #11607]
8369 * NEWS: Add an entry.
8370 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8371 define their defaults.
8372 (two_way_short_needle): Detect end-of-string on-the-fly.
8373 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8374 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8375 * string/bug-strcasestr1.c: New test.
8376 * string/Makefile: Run it.
8377
83782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8379
8380 [BZ #11607]
8381 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8382 the first character.
8383
83842012-08-21 Roland McGrath <roland@hack.frob.com>
8385
8386 * csu/elf-init.c (__libc_csu_irel): Function removed.
8387 * csu/libc-start.c (apply_irel): New function.
8388 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8389
83902012-08-21 Joseph Myers <joseph@codesourcery.com>
8391
8392 * sysdeps/unix/sysv/linux/kernel-features.h
8393 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8394 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8395 <kernel-features.h>.
8396 [__NR_fadvise64_64]: Make code unconditional.
8397 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8398 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8399 !__NR_fadvise64_64)]: Likewise.
8400 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8401 !__NR_fadvise64_64))]: Likewise.
8402 [__NR_fadvise64]: Make code unconditional.
8403 [!__NR_fadvise64]: Remove conditional code.
8404 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8405 <kernel-features.h>.
8406 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8407 unconditional.
8408 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8409 conditional code.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8411 not include <kernel-features.h>.
8412 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8413 unconditional.
8414 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8415 conditional code.
8416 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8417 include <kernel-features.h>.
8418 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8419 unconditional.
8420 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8421 conditional code.
8422
84232012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8424
8425 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8426 slight instruction rearrangements per scrollpipe analysis.
8427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8428
84292012-08-20 Roland McGrath <roland@hack.frob.com>
8430
8431 * manual/syslog.texi (syslog; vsyslog, closelog):
8432 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8433 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8434
8435 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8436 DSOCAPS to match condition on defining it.
8437
84382012-08-20 Joseph Myers <joseph@codesourcery.com>
8439
8440 * sysdeps/unix/sysv/linux/kernel-features.h
8441 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8443 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8444 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8446 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8447 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8449 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8450 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8451
8452 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8453 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8454
8455 * sysdeps/unix/sysv/linux/kernel-features.h
8456 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8457 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8458 unconditional.
8459 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8460 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8461 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8462 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8463 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8464 Make code unconditional.
8465 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8466 (__mmap64) [!__NR_mmap2]: Likewise.
8467 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8468 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8469 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8470 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8471 [__NR_mmap2]: Make code unconditional.
8472 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8473 (__mmap64) [!__NR_mmap2]: Likewise.
8474
84752012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8476
8477 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8478
84792012-08-18 Andreas Jaeger <aj@suse.de>
8480
8481 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8482
84832012-08-18 Mike Frysinger <vapier@gentoo.org>
8484
8485 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8486 * include/unistd.h (__have_sock_cloexec): Likewise.
8487 (__have_pipe2): Likewise.
8488 (__have_dup3): Likewise.
8489
84902012-08-18 Mike Frysinger <vapier@gentoo.org>
8491
8492 [BZ #9685]
8493 * include/unistd.h (__have_pipe2): Change define into an extern int.
8494 (__have_dup3): Likewise.
8495 * socket/have_sock_cloexec.c: Include fcntl.h.
8496 (__have_pipe2): New variable.
8497 (__have_dup3): Likewise.
8498
84992012-08-17 Mike Frysinger <vapier@gentoo.org>
8500
8501 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8502
85032012-08-17 Marek Polacek <polacek@redhat.com>
8504
8505 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8506 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8507
85082012-08-17 Roland McGrath <roland@hack.frob.com>
8509
8510 * configure.in: Add AC_SUBST for sysheaders.
8511 * configure: Regenerated.
8512 * config.make.in (sysheaders): New substituted variable.
8513
8514 * sysdeps/unix/mkfifo.c: Moved ...
8515 * sysdeps/posix/mkfifo.c: ... here.
8516 * sysdeps/unix/mkfifoat.c: Moved ...
8517 * sysdeps/posix/mkfifoat.c: ... here.
8518
8519 * sysdeps/unix/utime.c: Moved ...
8520 * sysdeps/posix/utime.c: ... here.
8521
8522 * sysdeps/unix/time.c: Moved ...
8523 * sysdeps/posix/time.c: ... here.
8524 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8525 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8526
8527 * sysdeps/unix/nice.c: Moved ...
8528 * sysdeps/posix/nice.c: ... here.
8529
8530 * sysdeps/unix/alarm.c: Moved ...
8531 * sysdeps/posix/alarm.c: ... here.
8532
8533 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8534
85352012-08-17 Jeff Law <law@redhat.com>
8536
8537 * intl/Makefile (codeset_mo): New variable.
8538 ($(codeset_mo)): New target.
8539 (tst-codeset.out): Depend on that. Remove explicit rule.
8540 (tst-gettext3.out, tst-gettext5.out): Likewise.
8541 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8542 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8543 * intl/tst-codeset.sh: Remove.
8544 * intl/tst-gettext3.sh: Likewise.
8545 * intl/tst-gettext5.sh: Likewise.
8546
85472012-08-17 Roland McGrath <roland@hack.frob.com>
8548
8549 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8550 * sysdeps/unix/syscalls.list: ... here.
8551
8552 * sysdeps/posix/getaddrinfo.c
8553 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8554 (gaiconf_init, gaiconf_reload): Use them.
8555 [!_STATBUF_ST_NSEC]
8556 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8557 Define using time_t rather than struct timespec.
8558
8559 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8560 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8561 Macros removed.
8562 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8563 [!NO_THREADS].
8564 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8565 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8566 Likewise.
8567
8568 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8569 __libc_cleanup_push argument.
8570
8571 * bits/param.h: New file.
8572 * misc/sys/param.h: New file.
8573 * include/sys/param.h: New file.
8574 * misc/Makefile (headers): Add bits/param.h.
8575 * sysdeps/generic/sys/param.h: File removed.
8576 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8577 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8578 * sysdeps/mach/hurd/bits/param.h: New file.
8579 * sysdeps/mach/hurd/sys/param.h: File removed.
8580
8581 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8582 last change.
8583
8584 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8585 [_IO_MTSAFE_IO].
8586 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8587 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8588 New macros.
8589
8590 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8591 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8592 rather than -D_IO_MTSAFE_IO conditionally.
8593 * stdio-common/Makefile (CPPFLAGS): Likewise.
8594 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8595 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8596 Use $(libio-mtsafe).
8597 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8598 of -D_IO_MTSAFE_IO.
8599 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8600 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8601 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8602 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8603 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8604 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8605 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8606 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8607 (CFLAGS-fread_u_chk.c): Likewise.
8608 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8609 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8610 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8611 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8612 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8613 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8614 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8615 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8616 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8617
8618 * libio/Makefile: Test [$(libc-reentrant) = yes]
8619 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8620
8621 * Makeconfig
8622 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8623 * sysdeps/pthread/configure: File removed.
8624 * sysdeps/pthread/Makeconfig: New file.
8625 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8626 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8627
86282012-08-16 Gary Benson <gbenson@redhat.com>
8629
8630 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8631 unmapping the first object in a namespace.
8632
86332012-08-16 Roland McGrath <roland@hack.frob.com>
8634
8635 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8636 (__internal_setnetgrent): ... this. Add internal_function to
8637 definition. Add libc_hidden_def.
8638 (setnetgrent): Update caller.
8639 (internal_endnetgrent): Renamed to ...
8640 (__internal_endnetgrent): ... this. Add internal_function to
8641 definition. Add libc_hidden_def.
8642 (endnetgrent): Update caller.
8643 (internal_getnetgrent_r): Renamed to ...
8644 (__internal_getnetgrent_r): ... this. Add internal_function to
8645 definition. Add libc_hidden_def.
8646 (__getnetgrent_r): Update caller.
8647 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8648
86492012-08-16 Joseph Myers <joseph@codesourcery.com>
8650
8651 * stdlib/longlong.h: Update from GCC.
8652
86532012-08-16 Roland McGrath <roland@hack.frob.com>
8654
8655 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8656 on _QL, which is set by umul_ppmm but never used.
8657 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8658 variables, which are set by GMP macros but never used.
8659 * stdio-common/_itowa.c (_itowa): Likewise.
8660 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8661 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8662
86632012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8664
8665 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8666 struct La_sh_regs is not constant.
8667 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8668 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8669 and struct La_sparc64_regs are not constant.
8670
86712012-08-16 Joseph Myers <joseph@codesourcery.com>
8672
8673 * sysdeps/unix/sysv/linux/kernel-features.h
8674 (__ASSUME_POSIX_TIMERS): Remove.
8675 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8676 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8677 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8678 Make code unconditional.
8679 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8680 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8681 Make code unconditional.
8682 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8683 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8684 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8685 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8686 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8687 Make code unconditional.
8688 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8689 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8690 (__libc_missing_posix_timers): Remove.
8691
86922012-08-15 Roland McGrath <roland@hack.frob.com>
8693
8694 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8695 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8696
8697 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8698
8699 * elf/dl-sym.c: Include <stdlib.h>.
8700
8701 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8702 constants, which avoids warnings in 32-bit builds.
8703
8704 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8705 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8706
8707 * misc/lseek.c: File moved to ...
8708 * io/lseek.c: ... here.
8709
8710 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8711
8712 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8713 shifting LEN more than 31 bits at once.
8714
87152012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8716
8717 [BZ #14195]
8718 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8719 segmentation fault for a case of two empty input strings.
8720 * string/test-strncasecmp.c (check1): Renamed to...
8721 (bz12205): ...this.
8722 (bz14195): Add new testcase for two empty input strings and N > 0.
8723 (test_main): Call new testcase, adapt for renamed function.
8724
87252012-08-15 Andreas Jaeger <aj@suse.de>
8726
8727 [BZ #14090]
8728 * crypt/md5test2.c: New test, based on test supplied by Serge
8729 Belyshev <belyshev@depni.sinp.msu.ru>.
8730 * crypt/Makefile (xtests): Add md5test-giant..
8731 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8732
87332012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8734
8735 [BZ #14090]
8736 * crypt/md5.c (md5_process_block): Don't assume the buffer
8737 length is less than 2**32.
8738 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8739 length is less than 2**64.
8740
87412012-08-15 Roland McGrath <roland@hack.frob.com>
8742
8743 * string/str-two-way.h: Include <sys/param.h>.
8744 (MAX): Macro removed.
8745
8746 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8747 Move #define and #undef of memmove to just before and after
8748 including <string.h>.
8749
8750 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8751 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8752 and after including <string.h>. Move declarations of
8753 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8754 to before #include "string/memmove.c".
8755
8756 * include/dirent.h: Declare __getdirentries.
8757
8758 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8759 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8760
87612012-08-14 Mike Frysinger <vapier@gentoo.org>
8762
8763 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8764 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8765 * sysdeps/i386/configure: Regenerated.
8766 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8767 STABS_CURRENT_FILE, and STABS_FUN.
8768 (END): Remove call to STABS_FUN_END.
8769 (STABS_CURRENT_FILE1): Delete.
8770 (STABS_CURRENT_FILE): Likewise.
8771 (STABS_FUN): Likewise.
8772 (STABS_FUN_END): Likewise.
8773 (STABS_FUN2): Likewise.
8774 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8775 * sysdeps/x86_64/configure: Regenerated.
8776
87772012-08-14 Roland McGrath <roland@hack.frob.com>
8778
8779 * elf/dl-open.c: Include <atomic.h>.
8780 * elf/dl-lookup.c: Likewise.
8781
87822012-08-14 Joseph Myers <joseph@codesourcery.com>
8783
8784 * sysdeps/unix/sysv/linux/kernel-features.h
8785 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8786 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8787 unconditionally.
8788 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8789 unconditionally.
8790 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8791 condition on __ASSUME_CLONE_THREAD_FLAGS.
8792
87932012-08-14 Andreas Jaeger <aj@suse.de>
8794
8795 * sysdeps/i386/fpu/libm-test-ulps: Update.
8796
87972012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8798
8799 * include/atomic.h (atomic_exchange_and_add): Split into ...
8800 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8801 New atomic macros.
8802
88032012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8804
8805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8806
88072012-08-13 Jeff Law <law@redhat.com>
8808
8809 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8810 null byte in the output string.
8811
88122012-08-10 Joseph Myers <joseph@codesourcery.com>
8813
8814 * sysdeps/unix/sysv/linux/kernel-features.h
8815 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8816 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8817 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8818 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8819 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8820 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8821 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8822
88232012-08-09 Jeff Law <law@redhat.com>
8824
8825 [BZ #13939]
8826 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8827 When avoid_arena is set, don't retry in the that arena. Pick the
8828 next one, whatever it might be.
8829 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8830 (arena_lock): Pass in new parameter to arena_get2.
8831 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8832 arena_get2.
8833 (__libc_malloc): Unify retrying after main arena failure with
8834 __libc_memalign version.
8835 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8836
88372012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8838
8839 [BZ #14166]
8840 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8841 to __redirect_strstr.
8842 (__strstr_sse42): Use typeof __redirect_strstr.
8843 (__strstr_ia32): Likewise.
8844 (__libc_strstr): New prototype.
8845 (strstr): Renamed to ...
8846 (__libc_strstr): This.
8847 (strstr): New strong alias of __libc_strstr.
8848 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8849 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8850 __redirect_time.
8851 Include <time.h>.
8852 (__libc_time): New prototype.
8853 (time_ifunc): Replace time with __libc_time.
8854 (time): New strong alias and hidden definition of __libc_time.
8855 (__GI_time): Remove strong alias.
8856 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8857 Include <stddef.h>.
8858 (memmove): Redefined to __redirect_memmove.
8859 (__memmove_sse2): Use typeof __redirect_memmove.
8860 (__memmove_ssse3): Likewise.
8861 (__memmove_ssse3_back): Likewise.
8862 (__libc_memmove): New prototype.
8863 (memmove): Renamed to ...
8864 (__libc_memmove): This.
8865 (memmove): New strong alias of __libc_memmove.
8866
88672012-08-08 Mark Salter <msalter@redhat.com>
8868
8869 * elf/elf.h
8870 (R_MN10300_TLS_GD): Define.
8871 (R_MN10300_TLS_LD): Likewise.
8872 (R_MN10300_TLS_LDO): Likewise.
8873 (R_MN10300_TLS_GOTIE): Likewise.
8874 (R_MN10300_TLS_IE): Likewise.
8875 (R_MN10300_TLS_LE): Likewise.
8876 (R_MN10300_TLS_DTPMOD): Likewise.
8877 (R_MN10300_TLS_DTPOFF): Likewise.
8878 (R_MN10300_TLS_TPOFF): Likewise.
8879 (R_MN10300_SYM_DIFF): Likewise.
8880 (R_MN10300_ALIGN): Likewise.
8881 (R_MN10300_NUM): Update.
8882
88832012-08-08 Joseph Myers <joseph@codesourcery.com>
8884
8885 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8886 Remove.
8887
88882012-08-08 Roland McGrath <roland@hack.frob.com>
8889
8890 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8891
8892 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8893 sysdeps/unix -> sysdeps/posix move.
8894 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8895
88962012-08-07 Allan McRae <allan@archlinux.org>
8897
8898 [BZ #14303]
8899 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8900 (SUNOS_CPP): Likewise.
8901 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8902 not found.
8903 (open_input): Call CPP using execvp.
8904
89052012-08-07 Joseph Myers <joseph@codesourcery.com>
8906
8907 * sysdeps/unix/sysv/linux/kernel-features.h
8908 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8909 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8910 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8911 (__ASSUME_WAITID_SYSCALL): Likewise.
8912 * sysdeps/unix/sysv/linux/dl-execstack.c
8913 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8914 code unconditional.
8915 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8916 conditional code.
8917 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8918 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8919 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8920 code.
8921 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8922 unconditional.
8923 [__ASSUME_WAITID_SYSCALL]: Likewise.
8924 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8925
89262012-08-07 Roland McGrath <roland@hack.frob.com>
8927
8928 * sysdeps/unix/closedir.c: Renamed to ...
8929 * sysdeps/posix/closedir.c: ... here.
8930 * sysdeps/unix/dirfd.c: Renamed to ...
8931 * sysdeps/posix/dirfd.c: ... here.
8932 * sysdeps/unix/dirstream.h: Renamed to ...
8933 * sysdeps/posix/dirstream.h: ... here.
8934 * sysdeps/unix/fdopendir.c: Renamed to ...
8935 * sysdeps/posix/fdopendir.c: ... here.
8936 * sysdeps/unix/opendir.c: Renamed to ...
8937 * sysdeps/posix/opendir.c: ... here.
8938 * sysdeps/unix/readdir.c: Renamed to ...
8939 * sysdeps/posix/readdir.c: ... here.
8940 * sysdeps/unix/readdir_r.c: Renamed to ...
8941 * sysdeps/posix/readdir_r.c: ... here.
8942 * sysdeps/unix/rewinddir.c: Renamed to ...
8943 * sysdeps/posix/rewinddir.c: ... here.
8944 * sysdeps/unix/seekdir.c: Renamed to ...
8945 * sysdeps/posix/seekdir.c: ... here.
8946 * sysdeps/unix/telldir.c: Renamed to ...
8947 * sysdeps/posix/telldir.c: ... here.
8948 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8949 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8950 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8951 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8952
8953 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8954 * bits/fcntl.h: ... here.
8955
8956 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8957 not 0.
8958 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8959 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8960 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8961 (struct flock): Move l_start, l_len to the beginning.
8962 Use __pid_t for l_pid.
8963 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8964 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8965 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8966 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8967 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8968 [__USE_LARGEFILE64] (struct flock64): New type.
8969 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8970
8971 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8972 * bits/dirent.h: ... here.
8973
8974 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8975 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8976
89772012-08-07 Joseph Myers <joseph@codesourcery.com>
8978
8979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8980 Change from 2.6.0 to 2.6.16.
8981 * sysdeps/unix/sysv/linux/configure: Regenerated.
8982 * sysdeps/unix/sysv/linux/kernel-features.h
8983 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8984 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8985 version.
8986 (__ASSUME_UTIMES): Likewise.
8987 (__ASSUME_CLONE_STOPPED): Remove.
8988 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8989 architectures, not kernel version.
8990 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8991 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8992 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8993 (__ASSUME_WAITID_SYSCALL): Likewise.
8994 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8995 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8996 * README: State 2.6.16 as minimum Linux kernel version. Do not
8997 refer to older versions.
8998
89992012-08-06 Roland McGrath <roland@hack.frob.com>
9000
9001 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9002 Define alphasort64 as an alias.
9003 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9004 Define versionsort64 as an alias.
9005 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9006 Define scandir64 as an alias.
9007 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9008 Define scandirat64 as an alias.
9009 * dirent/alphasort64.c (alphasort64):
9010 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9011 * dirent/versionsort64.c: Likewise.
9012 * dirent/scandir64.c: Likewise.
9013 * dirent/scandirat64.c: Likewise.
9014 * sysdeps/wordsize-64/alphasort.c: File removed.
9015 * sysdeps/wordsize-64/alphasort64.c: File removed.
9016 * sysdeps/wordsize-64/scandir.c: File removed.
9017 * sysdeps/wordsize-64/scandir64.c: File removed.
9018 * sysdeps/wordsize-64/scandirat.c: File removed.
9019 * sysdeps/wordsize-64/scandirat64.c: File removed.
9020 * sysdeps/wordsize-64/versionsort.c: File removed.
9021 * sysdeps/wordsize-64/versionsort64.c: File removed.
9022 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9023 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9024 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9025 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9026 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9027 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9028 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9029 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9030
9031 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9032 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9033 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9034 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9035 [defined __arch64__ || defined __sparcv9]
9036 (__INO_T_MATCHES_INO64_T): New macro.
9037 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9038 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9039 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9040 * sysdeps/unix/sysv/linux/bits/dirent.h
9041 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9042 (_DIRENT_MATCHES_DIRENT64): New macro.
9043
9044 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9045 Define lockf64 as an alias.
9046 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9047 Define fseeko64 as an alias.
9048 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9049 Define ftello64 as an alias.
9050 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9051 Define _IO_fgetpos64 and fgetpos64 as aliases.
9052 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9053 Define _IO_fsetpos64 and fsetpos64 as aliases.
9054 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9055 Conditionalize body on this.
9056 * libio/fseeko64.c: Likewise.
9057 * libio/ftello64.c: Likewise.
9058 * libio/iofgetpos64.c: Likewise.
9059 * libio/iofsetpos64.c: Likewise.
9060 * sysdeps/wordsize-64/lockf.c: File removed.
9061 * sysdeps/wordsize-64/lockf64.c: File removed.
9062 * sysdeps/wordsize-64/fseeko.c: File removed.
9063 * sysdeps/wordsize-64/fseeko64.c: File removed.
9064 * sysdeps/wordsize-64/ftello.c: File removed.
9065 * sysdeps/wordsize-64/ftello64.c: File removed.
9066 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9067 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9068 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9069 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9071 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9073 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9075 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9076 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9077 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9079 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9080
9081 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9082 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9083 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9085 [defined __arch64__ || defined __sparcv9]
9086 (__OFF_T_MATCHES_OFF64_T): New macro.
9087 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9088 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9090 (__OFF_T_MATCHES_OFF64_T): New macro.
9091
90922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9093
9094 * stdlib/secure-getenv.c (__secure_getenv): Replace
9095 GLIBC_2_16 with GLIBC_2_17.
9096
90972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9098
9099 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9100 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9101
91022012-08-03 David S. Miller <davem@davemloft.net>
9103
9104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9105
91062012-08-03 Joseph Myers <joseph@codesourcery.com>
9107
9108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9109 Remove.
9110 (__ASSUME_CORRECT_SI_PID): Likewise.
9111 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9112 (__ASSUME_TMPFS_NAME): Likewise.
9113 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9114 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9115 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9116 (HAVE_AUX_SECURE): Make definition unconditional.
9117 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9118 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9119
91202012-08-03 Roland McGrath <roland@hack.frob.com>
9121
9122 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9123 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9124 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9125 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9126 __eloop_threshold instead of SYMLOOP_MAX.
9127
9128 * sysdeps/generic/eloop-threshold.h: New file.
9129 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9130 of MAXSYMLINKS.
9131 * elf/chroot_canon.c (chroot_canon): Likewise.
9132
91332012-08-03 Joseph Myers <joseph@codesourcery.com>
9134
9135 [BZ #13717]
9136 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9137 Change to 2.6.0 everywhere.
9138 * sysdeps/unix/sysv/linux/configure: Regenerated.
9139 * sysdeps/unix/sysv/linux/kernel-features.h
9140 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9141 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9142 kernel versions.
9143 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9144 (__ASSUME_FUTEX_REQUEUE): Remove.
9145 (__ASSUME_STATFS64): Define unconditionally.
9146 (__ASSUME_AT_SECURE): Likewise.
9147 (__ASSUME_CORRECT_SI_PID): Likewise.
9148 (__ASSUME_TGKILL): Define without depending on kernel version for
9149 i386.
9150 (__ASSUME_UTIMES): Likewise.
9151 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9152 kernel version.
9153 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9154 (__ASSUME_TMPFS_NAME): Likewise.
9155 * README: Update reference to Linux kernel versions.
9156
91572012-08-02 Marek Polacek <polacek@redhat.com>
9158
9159 [BZ# 14150]
9160 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9161 libc_cv_asm_type_prefix with %.
9162 * configure: Regenerated.
9163 * include/libc-symbols.h: Remove comment about
9164 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9165 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9166 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9167 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9168 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9169 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9170 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9171 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9172 * elf/tst-unique2mod1.c: Likewise.
9173 * elf/tst-unique1mod2.c: Likewise.
9174 * elf/tst-unique1mod1.c: Likewise.
9175 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9176 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9177 Replace ASM_TYPE_DIRECTIVE with .type.
9178 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9179 * sysdeps/i386/sysdep.h: Likewise.
9180 * sysdeps/x86_64/sysdep.h: Likewise.
9181 * sysdeps/sh/sysdep.h: Likewise.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9183 Do not define ASM_TYPE_DIRECTIVE.
9184 * sysdeps/powerpc/sysdep.h: Likewise.
9185 * sysdeps/powerpc/powerpc32/sysdep.h:
9186 Replace ASM_TYPE_DIRECTIVE with .type.
9187 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9188 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9189 * sysdeps/i386/fpu/e_powf.S: Likewise.
9190 * sysdeps/i386/fpu/e_expl.S: Likewise.
9191 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9192 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9193 * sysdeps/i386/fpu/e_pow.S: Likewise.
9194 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9195 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9196 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9197 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9198 * sysdeps/i386/fpu/e_log2.S: Likewise.
9199 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9200 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9201 * sysdeps/i386/fpu/e_powl.S: Likewise.
9202 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9203 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9204 * sysdeps/i386/fpu/e_logl.S: Likewise.
9205 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9206 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9207 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9208 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9209 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9210 * sysdeps/i386/fpu/e_log.S: Likewise.
9211 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9212 * sysdeps/i386/fpu/e_logf.S: Likewise.
9213 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9214 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9215 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9216 * sysdeps/i386/fpu/e_log10.S: Likewise.
9217 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9218 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9219 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9220 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9221 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9222 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9223 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9224 * sysdeps/i386/i686/strtok.S: Likewise.
9225 * sysdeps/i386/i386-mcount.S: Likewise.
9226 * sysdeps/i386/strtok.S: Likewise.
9227 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9228 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9230 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9231 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9232 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9233 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9234 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9235 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9236 * sysdeps/x86_64/_mcount.S: Likewise.
9237 * sysdeps/x86_64/strtok.S: Likewise.
9238 * sysdeps/sh/_mcount.S: Likewise.
9239
92402012-08-01 Roland McGrath <roland@hack.frob.com>
9241
9242 * libio/iofopen.c: Include <fcntl.h>.
9243 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9244 (_IO_fopen64, fopen64): Define as aliases.
9245 * libio/iofopen64.c: Include <fcntl.h>.
9246 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9247 Conditionalize body on this.
9248 * sysdeps/wordsize-64/iofopen.c: File removed.
9249 * sysdeps/wordsize-64/iofopen64.c: File removed.
9250
92512012-08-01 Marek Polacek <polacek@redhat.com>
9252
9253 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9254 Use dlfcn directly instead of a variable.
9255 (binfmt-subdir): Do not define.
9256 (dlfcn): Likewise.
9257
92582012-08-01 Joseph Myers <joseph@codesourcery.com>
9259
9260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9261 Remove all definitions.
9262 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9263 <kernel-features.h>.
9264 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9265 (miss_F_GETOWN_EX): Remove all definitions.
9266 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9267 macro definition.
9268 [!__ASSUME_FCNTL64]: Remove conditional code.
9269 [__ASSUME_FCNTL64]: Make code unconditional.
9270 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9271 <kernel-features.h>.
9272 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9273 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9274 (lockf64) [__NR_fcntl64]: Make code unconditional.
9275 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9276
9277 * sysdeps/unix/sysv/linux/kernel-features.h
9278 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9279 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9280 Make code unconditional.
9281 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9282 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9284 [__NR_vfork]: Make code unconditional.
9285 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9286 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9288 [__NR_vfork]: Make code unconditional.
9289 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9290 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9291
92922012-08-01 Roland McGrath <roland@hack.frob.com>
9293
9294 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9295 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9296
9297 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9298 Define mkstemp64 as an alias.
9299 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9300 Define mkstemps64 as an alias.
9301 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9302 Define mkostemp64 as an alias.
9303 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9304 Define mkostemps64 as an alias.
9305 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9306 Conditionalize body on this.
9307 * misc/mkostemp64.c: Likewise.
9308 * misc/mkostemps64.c: Likewise.
9309 * misc/mkstemps64.c: Likewise.
9310 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9311 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9312 * sysdeps/wordsize-64/mkostemp.c: File removed.
9313 * sysdeps/wordsize-64/mkstemp.c: File removed.
9314 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9315 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9316 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9317 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9318
9319 [BZ #14138]
9320 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9321 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9322 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9323 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9324
9325 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9326 compat_symbol macros from <shlib-compat.h> rather than the underlying
9327 default_symbol_version and symbol_version macros, so that DEFAULT
9328 lines in shlib-versions are respected.
9329 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9330
93312012-08-01 Florian Weimer <fweimer@redhat.com>
9332
9333 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9334 Declare with warn_unused_result.
9335 (setgid, setregid, setegid, setresgid): Likewise.
9336 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9337 Likewise.
9338 * WUR-REPORT: Remove set*id functions.
9339
93402012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9341
9342 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9343
93442012-07-31 Roland McGrath <roland@hack.frob.com>
9345
9346 * include/sys/socket.h (__libc_accept, __libc_accept4):
9347 Add attribute_hidden.
9348 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9349
9350 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9351 use of PTR_MANGLE.
9352 * inet/getnetgrent_r.c (setup): Likewise.
9353
9354 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9355
93562012-07-31 David S. Miller <davem@davemloft.net>
9357
9358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9359
93602012-07-31 Joseph Myers <joseph@codesourcery.com>
9361
9362 [BZ #13629]
9363 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9364 value between 1.0 and 2.0 and smaller part has absolute value less
9365 than 1.0.
9366 * math/s_clog10.c (__clog10): Likewise.
9367 * math/s_clog10f.c (__clog10f): Likewise.
9368 * math/s_clog10l.c (__clog10l): Likewise.
9369 * math/s_clogf.c (__clogf): Likewise.
9370 * math/s_clogl.c (__clogl): Likewise.
9371 * math/libm-test.inc (clog_test): Add more tests.
9372 (clog10_test): Likewise.
9373 * sysdeps/i386/fpu/libm-test-ulps: Update.
9374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9375
93762012-07-31 Florian Weimer <fweimer@redhat.com>
9377
9378 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9379 Exit with zero in case no suitable GID is found, and write a
9380 message to standard error.
9381
93822012-07-30 Roland McGrath <roland@hack.frob.com>
9383
9384 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9385 rather than to 1.
9386 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9387 (MAXPATHLEN): Removed.
9388 (NOGROUP, NODEV): New macros.
9389 (setbit, clrbit, isset, isclr): New macros.
9390 (howmany, roundup, powerof2): New macros.
9391 (DEV_BSIZE): New macro.
9392
9393 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9394 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9395
9396 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9397 definition on [!__NO_LONG_DOUBLE_MATH].
9398
9399 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9400 PTR_MANGLE and PTR_DEMANGLE.
9401
9402 * socket/accept4.c (accept4): Rename to __libc_accept4.
9403 Define accept4 as a weak alias.
9404
9405 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9406 on [_DIRENT_HAVE_D_TYPE].
9407 * io/ftw.c (ftw_dir): Likewise.
9408
9409 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9410
9411 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9412
9413 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9414 Use the BSD numbers rather than the arbitrary ones we had.
9415 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9416 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9417 (SIGXCPU, SIGXFSZ): New macros.
9418 (_NSIG): Now 32.
9419
9420 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9421 initializer on [_LIBC_REENTRANT].
9422
9423 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9424 definitions inside [_POSIX_MAPPED_FILES].
9425
9426 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9427
9428 * dirent/opendir.c: Include <fcntl.h>.
9429
9430 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9431 (__libc_getspecific): Likewise.
9432 (__libc_key_create): Likewise.
9433
9434 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9435 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9436 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9437 (tmpfile64): Define as alias.
9438 * sysdeps/wordsize-64/tmpfile.c: File removed.
9439 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9440 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9441 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9442
9443 * stdio-common/vfscanf.c: Include <stdbool.h>.
9444 * nss/makedb.c: Likewise.
9445 * stdio-common/_i18n_number.h: Likewise.
9446 * argp/argp-help.c: Likewise.
9447 * posix/wordexp.c: Likewise.
9448 * sysdeps/posix/spawni.c: Likewise.
9449 * nss/nss_files/files-initgroups.c: Likewise.
9450 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9451 * nss/nss_files/files-initgroups.c: Likewise.
9452 * nss/nss_db/db-netgrp.c: Likewise.
9453 * nss/nss_db/db-initgroups.c: Likewise.
9454 * io/fchmodat.c: Include <sys/stat.h>.
9455
9456 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9457 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9458
9459 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9460 [HAVE_MMAP].
9461
9462 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9463 Add multiple inclusion protection.
9464
94652012-07-27 David S. Miller <davem@davemloft.net>
9466
9467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9468
94692012-07-27 Gary Benson <gbenson@redhat.com>
9470
9471 [BZ #14298]
9472 * elf/rtld.c: Include <stap-probe.h>.
9473 (dl_main): Added static probes "init_start" and "init_complete".
9474 * elf/dl-load.c: Include <stap-probe.h>.
9475 (lose): Take new parameter "nsid".
9476 Added static probe "map_failed".
9477 (_dl_map_object_from_fd): Pass namespace id to lose.
9478 Added static probe "map_start".
9479 (open_verify): Pass namespace id to lose.
9480 * elf/dl-open.c: Include <stap-probe.h>.
9481 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9482 and "reloc_complete".
9483 * elf/dl-close.c: Include <stap-probe.h>.
9484 (_dl_close_worker): Added static probes "unmap_start" and
9485 "unmap_complete".
9486 * elf/rtld-debugger-interface.txt: New file documenting the above.
9487
94882012-07-26 Roland McGrath <roland@hack.frob.com>
9489
9490 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9491 rather than a string variable.
9492 * sunrpc/rpc_main.c (h_output): Likewise.
9493 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9494
94952012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9496
9497 * inet/check_native.c: New file.
9498
94992012-07-26 Joseph Myers <joseph@codesourcery.com>
9500
9501 [BZ #13629]
9502 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9503 if larger part has absolute value 1.0.
9504 * math/s_clog10.c (__clog10): Likewise.
9505 * math/s_clog10f.c (__clog10f): Likewise.
9506 * math/s_clog10l.c (__clog10l): Likewise.
9507 * math/s_clogf.c (__clogf): Likewise.
9508 * math/s_clogl.c (__clogl): Likewise.
9509 * math/libm-test.inc (clog_test): Add more tests.
9510 (clog10_test): Likewise.
9511 * sysdeps/i386/fpu/libm-test-ulps: Update.
9512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9513
9514 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9515 (pltexit): Likewise.
9516 (La_regs): Likewise.
9517 (La_retval): Likewise.
9518 (int_retval): Likewise.
9519 Update #error for removed macros to refer only to definitions in
9520 tst-audit.h.
9521 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9522 macro.
9523 (pltexit): Likewise.
9524 (La_regs): Likewise.
9525 (La_retval): Likewise.
9526 (int_retval): Likewise.
9527 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9528 macro.
9529 (pltexit): Likewise.
9530 (La_regs): Likewise.
9531 (La_retval): Likewise.
9532 (int_retval): Likewise.
9533 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9534 macro.
9535 (pltexit): Likewise.
9536 (La_regs): Likewise.
9537 (La_retval): Likewise.
9538 (int_retval): Likewise.
9539 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9540 macro.
9541 (pltexit): Likewise.
9542 (La_regs): Likewise.
9543 (La_retval): Likewise.
9544 (int_retval): Likewise.
9545 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9546 macro.
9547 (pltexit): Likewise.
9548 (La_regs): Likewise.
9549 (La_retval): Likewise.
9550 (int_retval): Likewise.
9551 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9552 macro.
9553 (pltexit): Likewise.
9554 (La_regs): Likewise.
9555 (La_retval): Likewise.
9556 (int_retval): Likewise.
9557 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9558 macro definitions in tst-audit.h.
9559 * sysdeps/i386/tst-audit.h: New file.
9560 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9561 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9562 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9563 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9564 * sysdeps/sh/tst-audit.h: Likewise.
9565 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9566 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9567 * sysdeps/x86_64/tst-audit.h: Likewise.
9568
95692012-07-26 Andreas Jaeger <aj@suse.de>
9570
9571 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9572 ptrace.
9573
9574 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9575 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9576 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9577 PTRACE_O_MASK.
9578 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9579 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9580 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9581
9582 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9583 value.
9584
9585 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9586 _sigsys.
9587 (si_call_addr, si_syscall, si_arch): Define new macro.
9588 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9589 _sigsys.
9590 (si_call_addr, si_syscall, si_arch): Define new marcro.
9591 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9592 _sigsys.
9593 (si_call_addr, si_syscall, si_arch): Define new macro.
9594 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9595 _sigsys.
9596 (si_call_addr, si_syscall, si_arch): Define new macro.
9597
95982012-07-25 Joseph Myers <joseph@codesourcery.com>
9599
9600 [BZ #13717]
9601 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9602 Change to 2.4.21 where previously 2.4.1.
9603 * sysdeps/unix/sysv/linux/configure: Regenerated.
9604 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9605 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9606 Linux kernel version.
9607 (__ASSUME_STD_AUXV): Remove.
9608 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9609 kernel version.
9610 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9611 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9612 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9613 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9614 (__ASSUME_NETLINK_SUPPORT): Likewise.
9615 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9616 (__no_netlink_support): Remove conditional definition.
9617 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9618 Remove.
9619 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9620 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9621 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9622 (if_nameindex_ioctl): Remove.
9623 (if_nameindex_netlink): Do not handle __no_netlink_support.
9624 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9625 code.
9626 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9627 Remove conditional code.
9628 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9629 code.
9630 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9631 unconditional.
9632 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9633 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9634 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9635 Remove.
9636 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9637 [!__ASSUME_STD_AUXV]: Remove conditional code.
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9639 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9640 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9642 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9643 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9644 code.
9645 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9647 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9648 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9649 conditional code.
9650 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9652 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9653 code.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9655 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9656 conditional code.
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9658 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9659 code unconditional.
9660 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9661 conditional code.
9662 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9663 unconditional.
9664 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9665 conditional code.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9667 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9668 unconditional.
9669 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9670 conditional code.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9672 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9673 code unconditional.
9674 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9675 conditional code.
9676 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9677 unconditional.
9678 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9679 conditional code.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9681 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9682 code unconditional.
9683 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9684 conditional code.
9685 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9686 unconditional.
9687 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9688 conditional code.
9689
96902012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9691
9692 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9693 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9694 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9695 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9696 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9697 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9698 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9699 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9700 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9701 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9702 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9703 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9704 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9705 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9706 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9707 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9708 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9710 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9712 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9713 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9714 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9715
97162012-07-25 Florian Weimer <fweimer@redhat.com>
9717
9718 * Versions.def: Add GLIBC_2.17.
9719 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9720 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9721 Introduce __libc_secure_getenv.
9722 * stdlib/Versions (2.17): Add secure_getenv
9723 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9724 * stdlib/secure-getenv.c: Rename __secure_getenv to
9725 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9726 symbol __secure_getenv for GLIBC_2.0.
9727 * stdlib/tst-secure-getenv.c: New.
9728 * stdlib/Makefile (tests): Add testcase.
9729 * manual/startup.texi (Environment Access): Document
9730 secure_getenv.
9731 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9732 __libc_secure_getenv.
9733 * inet/ruserpass.c (ruserpass): Likewise.
9734 * malloc/mtrace.c (mtrace): Likewise.
9735 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9736 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9737 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9738 * sysdeps/posix/tempname.c: Likewise. Evaluate
9739 HAVE_SECURE_GETENV.
9740 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9741 __secure_getenv to __libc_secure_getenv.
9742 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9744 Likewise.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9746 Likewise.
9747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9754
97552012-07-25 Joseph Myers <joseph@codesourcery.com>
9756
9757 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9758 (struct La_i86_retval): Likewise.
9759 (struct La_x86_64_regs): Likewise.
9760 (struct La_x86_64_retval): Likewise.
9761 (struct La_x32_regs): Likewise.
9762 (struct La_x32_retval): Likewise.
9763 (struct La_ppc32_regs): Likewise.
9764 (struct La_ppc32_retval): Likewise.
9765 (struct La_ppc64_regs): Likewise.
9766 (struct La_ppc64_retval): Likewise.
9767 (struct La_sh_regs): Likewise.
9768 (struct La_sh_retval): Likewise.
9769 (struct La_s390_32_regs): Likewise.
9770 (struct La_s390_32_retval): Likewise.
9771 (struct La_s390_64_regs): Likewise.
9772 (struct La_s390_64_retval): Likewise.
9773 (struct La_sparc32_regs): Likewise.
9774 (struct La_sparc32_retval): Likewise.
9775 (struct La_sparc64_regs): Likewise.
9776 (struct La_sparc64_retval): Likewise.
9777 (struct audit_ifaces): Remove architecture-specific pltenter and
9778 pltexit members.
9779 * sysdeps/i386/ldsodefs.h: New file.
9780 * sysdeps/powerpc/ldsodefs.h: Likewise.
9781 * sysdeps/s390/ldsodefs.h: Likewise.
9782 * sysdeps/sh/ldsodefs.h: Likewise.
9783 * sysdeps/sparc/ldsodefs.h: Likewise.
9784 * sysdeps/x86_64/ldsodefs.h: Likewise.
9785
97862012-07-25 Marek Polacek <polacek@redhat.com>
9787
9788 [BZ #6808]
9789 * math/libm-test.inc (yn_test): Add another test.
9790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9791 to ERANGE when the result is +-Inf.
9792 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9793 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9794 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9795 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9796
97972012-07-24 Joseph Myers <joseph@codesourcery.com>
9798
9799 * conform/data/time.h-data (NULL): Use macro-constant. Require
9800 equal to 0.
9801 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9802 clock_t.
9803 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9804
98052012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9806
9807 * configure.in <sysdeps resolving>: Correct printing
9808 Implies_before.
9809 * configure: Regenerate.
9810
98112012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9812
9813 * math/w_ilogb.c: Include <limits.h>.
9814 * math/w_ilogbl.c: Likewise.
9815
98162012-07-20 Joseph Myers <joseph@codesourcery.com>
9817
9818 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9819 va_copy. Document allowing for unavailable va_copy only as
9820 pre-C99 compatibility.
9821 * manual/string.texi (Copying and Concatenation): Use va_copy
9822 instead of __va_copy in concat example.
9823
98242012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9825
9826 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9827 (__sendto): Use create_address_port. Initialize APORT and deallocate
9828 it if not null.
9829
9830 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9831 with O_NOLINK passed to __file_name_lookup.
9832
9833 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9834 with O_NOLINK passed to __file_name_lookup.
9835
9836 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9837 negative N or less than NGIDS.
9838
9839 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9840 type to string_t. Set ERANGE as errno and return it if NAME is not big
9841 enough. Use memcpy instead of strncpy.
9842
98432012-07-20 Joseph Myers <joseph@codesourcery.com>
9844
9845 * elf/Makefile (check-data): Remove.
9846 (localplt.data): New vpath directive.
9847 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9848 instead of $(check-data).
9849 * scripts/data/localplt-generic.data: Move to ...
9850 * sysdeps/generic/localplt.data: ... here.
9851 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9852 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9853 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9855 ... here.
9856 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9858 ... here.
9859 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9861 ... here.
9862 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9864 ... here.
9865 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9867 ... here.
9868 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9870 ... here.
9871
98722012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9873
9874 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9875 PPC32 and PPC64 files.
9876 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9877 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9878
98792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9880
9881 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9882 __makecontext_ret to ...
9883 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9884 ... here and call exit if uc_link is NULL. New file.
9885 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9886 __makecontext_ret.S.
9887 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9888 __makecontext_ret to ...
9889 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9890 ... here and call exit if uc_link is NULL. New file.
9891 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9892 __makecontext_ret.S.
9893
98942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9895
9896 * elf/elf.h (R_390_IRELATIVE): New definition.
9897 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9898 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9899 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9900 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9901 (elf_machine_lazy_rel): Likewise.
9902 * sysdeps/s390/dl-irel.h: New file.
9903 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9904 * sysdeps/s390/s390-64/memset.S: New asm code.
9905 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9906 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9907 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9908 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9909 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9910 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9911 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9912 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9913 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9914 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9915 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9916 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9917 * sysdeps/s390/s390-32/memset.S: New asm code.
9918 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9919
99202012-07-17 Marek Polacek <polacek@redhat.com>
9921
9922 [BZ #14349]
9923 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9924 * sysdeps/s390/s390-64/configure.in: Likewise.
9925 * sysdeps/sparc/configure.in: Likewise.
9926 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9927 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9928 * sysdeps/i386/configure.in: Likewise.
9929 * sysdeps/x86_64/configure.in: Likewise.
9930 * sysdeps/sh/configure.in: Likewise.
9931 * sysdeps/s390/s390-32/configure: Regenerated.
9932 * sysdeps/s390/s390-64/configure: Likewise.
9933 * sysdeps/x86_64/configure: Likewise.
9934 * sysdeps/sh/configure: Likewise.
9935 * sysdeps/powerpc/powerpc64/configure: Likewise.
9936 * sysdeps/powerpc/powerpc32/configure: Likewise.
9937 * sysdeps/sparc/configure: Likwise.
9938 * sysdeps/i386/configure: Likewise.
9939
9940 * elf/dl-open.c: Comment fixes.
9941
99422012-07-17 Joseph Myers <joseph@codesourcery.com>
9943
9944 * Makefile [CXX] (check-data): Remove.
9945 [CXX] (c++-types.data): New vpath directive.
9946 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9947 vpath. Do not allow for C++ type data being missing.
9948 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9949 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9950 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9951 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9952 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9953 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9954 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9956 ... here.
9957 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9959 ... here.
9960 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9962 ... here.
9963 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9965 ... here.
9966 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9968 ... here.
9969 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9971 ... here.
9972 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9974 ... here.
9975 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9977
9978 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9979 definitions to architecture-specific files.
9980 (TLS_IE): Likewise.
9981 (TLS_LD): Likewise.
9982 (TLS_GD): Likewise.
9983 * sysdeps/i386/tls-macros.h: New file.
9984 * sysdeps/powerpc/tls-macros.h: Likewise.
9985 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9986 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9987 * sysdeps/sh/tls-macros.h: Likewise.
9988 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9989 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9990 * sysdeps/x86_64/tls-macros.h: Likewise.
9991
99922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9993
9994 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9995 zero value for regular exit case.
9996
9997 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9998 (__start_context): Preserve zero value for regular exit case.
9999
100002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10001 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10002
10003 * manual/setjmp.texi (setcontext): Clarify normal process
10004 termination when uc_link is the null pointer.
10005 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10006 exit call.
10007
100082012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10009
10010 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10011 preprocessor. Test for each exception mask separately.
10012
100132012-07-16 Andreas Jaeger <aj@suse.de>
10014
10015 * po/ru.po: Update from translation team.
10016
100172012-07-15 Joseph Myers <joseph@codesourcery.com>
10018
10019 * conform/data/string.h-data (NULL): Use macro-constant. Require
10020 equal to 0.
10021 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10022 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10023 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10024 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10026
100272012-07-13 Andreas Jaeger <aj@suse.de>
10028
10029 * po/fr.po: Update from translation team.
10030
100312012-07-12 Marek Polacek <polacek@redhat.com>
10032
10033 [BZ #14173]
10034 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10035 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10036 loop condition.
10037
100382012-07-12 Joseph Myers <joseph@codesourcery.com>
10039
10040 [BZ #13717]
10041 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10042 Change to 2.4.1 where previously 2.4.0.
10043 * sysdeps/unix/sysv/linux/configure: Regenerated.
10044 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10045 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10046 version.
10047 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10048 (__ASSUME_AT_CLKTCK): Remove.
10049 (__ASSUME_AT_PAGESIZE): Likewise.
10050 (__ASSUME_AT_XID): Likewise.
10051 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10052 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10053 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10054 unconditionally.
10055 (HAVE_AUX_PAGESIZE): Likewise.
10056 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10057 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10058 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10059
100602012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10061
10062 [BZ #14307]
10063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10064 the temporary buffer used to invoke __gethostbyname2_r,
10065 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10066 host_data / struct gaih_addrtuple.
10067 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10068 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10069 header file nss/nsswitch.h.
10070 * nss/nsswitch.h (global scope): Add definition of implementation
10071 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10072 resolv/nss_dns/dns-host.c).
10073
100742012-07-11 Andreas Jaeger <aj@suse.de>
10075
10076 * po/fr.po: Update from translation team.
10077
10078 * po/sv.po: Update from translation team
10079 * po/fr.po: Another update from translation team.
10080
100812012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10082
10083 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10084 for subnormals or multiply small sinh result by itself.
10085 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10087
100882012-07-11 David S. Miller <davem@davemloft.net>
10089
10090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10091
100922012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10093
10094 [BZ #14347]
10095 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10096 (INTERNAL_MARK): Shift it here.
10097
100982012-07-10 Marek Polacek <polacek@redhat.com>
10099
10100 [BZ #14151]
10101 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10102 libc_cv_asm_global_directive with .globl.
10103 * configure: Regenerated.
10104 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10105 with .globl.
10106 * sysdeps/i386/configure: Regenerated.
10107 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10108 with .globl.
10109 * sysdeps/x86_64/configure: Regenerated.
10110 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10111 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10112 * elf/tst-unique2mod2.c: Likewise.
10113 * elf/tst-unique2mod1.c: Likewise.
10114 * elf/tst-unique1mod2.c: Likewise.
10115 * elf/tst-unique1mod1.c: Likewise.
10116 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10117 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10118 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10119 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10120 * sysdeps/mach/sysdep.h: Likewise.
10121 * sysdeps/i386/sysdep.h: Likewise.
10122 * sysdeps/i386/i386-mcount.S: Likewise.
10123 * sysdeps/x86_64/_mcount.S: Likewise.
10124 * sysdeps/x86_64/sysdep.h: Likewise.
10125 * sysdeps/sh/_mcount.S: Likewise.
10126 * sysdeps/sh/sysdep.h: Likewise.
10127 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10128 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10129 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10130 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10131 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10132 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10133 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10134 * locale/localeinfo.h: Likewise.
10135 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10136 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10137
101382012-07-09 Roland McGrath <roland@hack.frob.com>
10139
10140 [BZ #14336]
10141 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10142 system".
10143 * manual/message.texi (The Uniforum approach): Likewise.
10144 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10145 (glibc iconv Implementation): Likewise.
10146
101472012-07-09 Joseph Myers <joseph@codesourcery.com>
10148
10149 [BZ #14337]
10150 * math/s_clog.c (__clog): Avoid scaling a value down where that
10151 could result in underflow.
10152 * math/s_clog10.c (__clog10): Likewise.
10153 * math/s_clog10f.c (__clog10f): Likewise.
10154 * math/s_clog10l.c (__clog10l): Likewise.
10155 * math/s_clogf.c (__clogf): Likewise.
10156 * math/s_clogl.c (__clogl): Likewise.
10157 * math/libm-test.inc (clog_test): Add more tests.
10158 (clog10_test): Likewise.
10159 * sysdeps/i386/fpu/libm-test-ulps: Update.
10160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10161
101622012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10163
10164 [BZ #14283]
10165 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10166 by 7 not 8 to examine high bit of fractional part.
10167
10168 [BZ #14042]
10169 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10170 for call to __mcount_internal.
10171 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10172 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10173 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10174
101752012-07-06 Joseph Myers <joseph@codesourcery.com>
10176
10177 [BZ #14154]
10178 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10179 approximation for values within 0x1p-13f of an odd multiple of
10180 pi/4.
10181 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10182 exception. Add more tests.
10183 * sysdeps/i386/fpu/libm-test-ulps: Update.
10184
10185 [BZ #6778]
10186 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10187 inputs and return -1 for them. Do not check for +Inf in case not
10188 reachable for +Inf.
10189 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10190 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10191 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10192 and return -1 for them. Do not check for +Inf in case not
10193 reachable for +Inf.
10194 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10195 define.
10196 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10197 and return -1 for them. Do not check for +Inf in case not
10198 reachable for +Inf.
10199 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10200 spurious underflow.
10201 * sysdeps/i386/fpu/libm-test-ulps: Update.
10202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10203
102042012-07-06 Mike Frysinger <vapier@gentoo.org>
10205
10206 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10207
102082012-07-05 Joseph Myers <joseph@codesourcery.com>
10209
10210 [BZ #14157]
10211 [BZ #14331]
10212 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10213 could result in spurious underflow. Scale down values above
10214 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10215 * math/s_csqrtf.c (__csqrtf): Likewise.
10216 * math/s_csqrtl.c (__csqrtl): Likewise.
10217 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10218 spurious underflow.
10219 * sysdeps/i386/fpu/libm-test-ulps: Update.
10220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10221
102222012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10223
10224 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10225 xopen-msg.sed.
10226 * catgets/xopen-msg.awk: New file.
10227 * catgets/xopen-msg.sed: Removed.
10228
10229 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10230 po2text.sed.
10231 * intl/po2test.awk: New file.
10232 * intl/po2test.sed: Removed.
10233
102342012-07-04 Joseph Myers <joseph@codesourcery.com>
10235
10236 [BZ #14328]
10237 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10238 or multiply small sinh result by itself.
10239 * math/s_ctanf.c (__ctanf): Likewise.
10240 * math/s_ctanh.c (__ctanh): Likewise.
10241 * math/s_ctanhf.c (__ctanhf): Likewise.
10242 * math/s_ctanhl.c (__ctanhl): Likewise.
10243 * math/s_ctanl.c (__ctanl): Likewise.
10244 * math/libm-test.inc (ctan_test_tonearest): New function.
10245 (ctan_test_towardzero): Likewise.
10246 (ctan_test_downward): Likewise.
10247 (ctan_test_upward): Likewise.
10248 (ctanh_test_tonearest): Likewise.
10249 (ctanh_test_towardzero): Likewise.
10250 (ctanh_test_downward): Likewise.
10251 (ctanh_test_upward): Likewise.
10252 (main): Call these new functions.
10253 * sysdeps/i386/fpu/libm-test-ulps: Update.
10254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10255
102562012-07-03 Mike Frysinger <vapier@gentoo.org>
10257
10258 * .gitignore: Delete /ports entry.
10259
102602012-07-03 Andreas Jaeger <aj@suse.de>
10261
10262 * po/bg.po: Update from translation team.
10263 * po/cs.po: Likewise.
10264 * po/de.po: Likewise.
10265 * po/hr.po: Likewise.
10266 * po/nl.pl: Likewise.
10267 * po/pl.po: Likewise.
10268 * po/vi.po: Likewise.
10269
102702012-07-03 Joseph Myers <joseph@codesourcery.com>
10271
10272 * Makeconfig [!+link] (+link-before-libc): New variable.
10273 [!+link] (+link-after-libc): Likewise.
10274 [!+link] (+link-tests): Likewise.
10275 [!+link] (+link): Define in terms of $(+link-before-libc) and
10276 $(+link-after-libc).
10277 [!+link-static] (+link-static-before-libc): New variable.
10278 [!+link-static] (+link-static-after-libc): Likewise.
10279 [!+link-static] (+link-static-tests): Likewise.
10280 [!+link-static] (+link-static): Define in terms of
10281 $(+link-static-before-libc) and $(+link-static-after-libc).
10282 [build-shared] (link-libc-before-gnulib): New variable.
10283 [build-shared] (link-libc-tests): Likewise.
10284 [build-shared] (link-libc): Define in terms of
10285 $(link-libc-before-gnulib).
10286 [!build-shared] (link-libc-tests): New variable.
10287 (link-libc-static-tests): New variable.
10288 [!gnulib] (gnulib-arch): New variable.
10289 [!gnulib] (gnulib-tests): Likewise.
10290 [!gnulib] (static-gnulib-arch): Likewise.
10291 [!gnulib] (static-gnulib-tests): Likewise.
10292 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10293 Define with "=" instead of ":=".
10294 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10295 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10296 * Rules (binaries-all-notests): New variable.
10297 (binaries-all-tests): Likewise.
10298 (binaries-static-notests): Likewise.
10299 (binaries-static-tests): Likewise.
10300 (binaries-all): Define using $(binaries-all-notests) and
10301 $(binaries-all-tests).
10302 (binaries-static): Define using $(binaries-static-notests) and
10303 $(binaries-static-tests).
10304 (binaries-shared-tests): New variable.
10305 (binaries-shared-notests): Likewise.
10306 (binaries-shared): Remove variable.
10307 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10308 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10309 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10310 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10311 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10312 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10313 * elf/Makefile (sln-modules): New variable.
10314 (extra-objs): Add $(sln-modules:=.o).
10315 (ldconfig-modules): Add static-stubs.
10316 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10317 * elf/static-stubs.c: New file.
10318
10319 [BZ #14283]
10320 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10321 by 7 not 8 to examine high bit of fractional part. Use volatile
10322 variables when splitting into final array of floats if
10323 __FLT_EVAL_METHOD__ != 0.
10324 * math/libm-test.inc (cos_test): Add another test.
10325 (sin_test): Likewise.
10326 * sysdeps/i386/fpu/libm-test-ulps: Update.
10327
10328 [BZ #14273]
10329 * math/libm-test.inc (cosh_test): Add more tests.
10330
10331 * version.h (RELEASE): Set to "development".
10332 (VERSION): Set to "2.16.90".
10333
103342012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10335
10336 * NEWS: Update copyright. Remove last-updated date.
10337 Mention math library bug fixes and timezone data changes.
10338 * README: Mention GNU/Hurd, x32, and HPPA support status.
10339
103402012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10341
10342 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10343
103442012-06-27 Andreas Jaeger <aj@suse.de>
10345
10346 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10347
103482012-06-25 Andreas Jaeger <aj@suse.de>
10349
10350 * sysdeps/s390/fpu/libm-test-ulps: Update.
10351
103522012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10353 Thomas Schwinge <thomas@codesourcery.com>
10354
10355 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10356 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10357 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10358 fanotify_mark.
10359
103602012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10361
10362 * sysdeps/mach/start.c: Remove file.
10363 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10364 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10365 * sysdeps/sh/init-first.c: Likewise.
10366
10367 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10368 registers for frame unwinding purposes, add CFI directives.
10369 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10370 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10371 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10372 Likewise.
10373
10374 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10375 __fortify_fail returning.
10376 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10377
10378 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10379 sysdeps/sh/____longjmp_chk.S.
10380 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10381 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10382 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10383 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10384
10385 * sysdeps/sh/abort-instr.h: New file.
10386 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10387 process in case exit returns.
10388
10389 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10390 initialize the GOT register before use.
10391
10392 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10393 calculation of ARGC > 4.
10394
10395 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10396 meaningful names to some local labels.
10397
103982012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10399 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10400
10401 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10402 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10403 (__arch_compare_and_exchange_val_16_acq): Likewise.
10404 (__arch_compare_and_exchange_val_32_acq): Likewise.
10405 (atomic_exchange_and_add): Fix gUSA sequence.
10406 (atomic_add): Likewise.
10407 (atomic_add_negative): Likewise.
10408 (atomic_add_zero): Likewise.
10409 (atomic_bit_test_set): Likewise.
10410
104112012-06-22 Andreas Schwab <schwab@redhat.com>
10412
10413 [BZ #13579]
10414 * include/link.h (struct link_map): Add l_free_initfini.
10415 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10416 l_initfini.
10417 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10418 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10419 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10420 set.
10421
104222012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10423
10424 * configure.in: Use AC_LANG_SOURCE.
10425 * configure: Regenerate.
10426
104272012-06-22 Roland McGrath <roland@hack.frob.com>
10428
10429 * configure.in (libc_cv_localstatedir): New substituted variable.
10430 * configure: Regenerated.
10431 * config.make.in (localstatedir): New variable, substituted from
10432 libc_cv_localstatedir.
10433 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10434 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10435 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10436 * sysdeps/gnu/configure: Regenerated.
10437
104382012-06-21 Jeff Law <law@redhat.com>
10439
10440 [BZ #14277]
10441 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10442 free. Simplify list management for _LIBC case.
10443
104442012-06-21 Joseph Myers <joseph@codesourcery.com>
10445
10446 [BZ #14273]
10447 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10448 Clear sign bit of 64-bit integer value before comparing against
10449 overflow value.
10450
10451 * sysdeps/mach/configure: Regenerated.
10452
104532012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10454
10455 [BZ #14278]
10456 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10457
104582012-06-21 Jeff Law <law@redhat.com>
10459
10460 [BZ #13882]
10461 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10462 uint16_t for elements in the "seen" array to avoid char overflows.
10463 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10464 * elf/dl-open.c (dl_open_worker): Likewise.
10465
104662012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10467
10468 * scripts/list-sources.sh: Scan PORTS for translations.
10469 * po/libc.pot: Regenerated.
10470
104712012-06-21 Andreas Jaeger <aj@suse.de>
10472
10473 [BZ #12194]
10474 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10475 warning.
10476 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10477 * bits/byteswap-16.h (__bswap_16): Likewise.
10478 * bits/byteswap.h (__bswap_constant_16): Likewise.
10479
104802012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10481
10482 [BZ #14117]
10483 * sysdeps/i386/fpu_control.h: Removed.
10484 * sysdeps/x86_64/fpu_control.h: Moved to ...
10485 * sysdeps/x86/fpu_control.h: Here.
10486
10487 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10488 (_FPU_SETCW): Likewise.
10489
104902012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10491
10492 [BZ #14117]
10493 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10494 * sysdeps/x86/fpu/bits/mathinline.h: This.
10495 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10496
10497 [BZ #14050]
10498 [BZ #14117]
10499 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10500 functions if __x86_64__ is defined.
10501
105022012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10503
10504 * string/endian.h: Add !__ASSEMBLER__ condition for including
10505 conversion interfaces.
10506
105072012-06-15 Joseph Myers <joseph@codesourcery.com>
10508
10509 [BZ #14241]
10510 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10511 of ABS(x) in calculating zero to negative powers other than odd
10512 integers.
10513 * math/libm-test.inc (pow_test): Add more tests.
10514
105152012-06-15 Andreas Jaeger <aj@suse.de>
10516
10517 * manual/contrib.texi (Contributors): Update entry of Liubov
10518 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10519 Machado Filho.
10520
105212012-06-15 Cyril Hrubis <metan@ucw.cz>
10522
10523 * string/string.h: Add __wur to GNU version of strerror_r.
10524
105252012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10526
10527 [BZ #14229]
10528 * string/Makefile (tests): Add tst-strtok_r.
10529 * string/tst-strtok_r.c: New file.
10530 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10531 RAX_LP/RDX_LP on SAVE_PTR.
10532
105332012-06-14 Roland McGrath <roland@hack.frob.com>
10534
10535 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10536
105372012-06-14 Joseph Myers <joseph@codesourcery.com>
10538
10539 * libm_test.inc (csqrt_test): Allow more spurious underflow
10540 exceptions.
10541 (j0_test): Likewise.
10542 (j1_test): Likewise.
10543 (y0_test): Likewise.
10544 (y1_test): Likewise.
10545
105462012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10547
10548 * po/Makefile (libc.pot): Use UTF-8 charset.
10549
105502012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10551
10552 [BZ #14210]
10553 Suppress sign-conversion warning from FD_SET.
10554 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10555 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10556 not unsigned long int.
10557 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10558
105592012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10560
10561 [BZ #14050]
10562 [BZ #14117]
10563 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10564 __extern_always_inline instead of __extern_inline.
10565 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10566 (__signbit): Likewise.
10567 (__signbitl): Support C++ namespace.
10568 (lrintf): New inline function.
10569 (lrint): Likewise.
10570 (llrintf): Likewise.
10571 (llrint): Likewise.
10572 (fmaxf): Likewise.
10573 (fmax): Likewise.
10574 (fminf): Likewise.
10575 (fmin): Likewise.
10576 (rint): Likewise.
10577 (rintf): Likewise.
10578 (ceil): Likewise.
10579 (ceilf): Likewise.
10580 (floor): Likewise.
10581 (floorf): Likewise.
10582 (nearbyint): Likewise.
10583 (nearbyintf): Likewise.
10584
105852012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10586
10587 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10588 non-default versions.
10589
105902012-06-11 Roland McGrath <roland@hack.frob.com>
10591
10592 [BZ #14218]
10593 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10594
105952012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10596
10597 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10598 (FE_UPWARD, FE_DOWNWARD): Don't define.
10599 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10600 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10601
10602 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10603 reading it.
10604 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10605 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10606
106072012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10608
10609 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10610 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10611 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10612 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10613
106142012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10615
10616 [BZ #14117]
10617 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10618 * sysdeps/i386/fpu/Implies: New file.
10619 * sysdeps/x86_64/fpu/Implies: Likewise.
10620 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10621 * sysdeps/x86/fpu/bits/fenv.h: This.
10622
10623 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10624 __SSE_MATH__.
10625
106262012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10627
10628 [BZ #14134]
10629 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10630 character 0xffff that matches the last element of the
10631 conversion table.
10632
106332012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10634
10635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10636 fmodl commit.
10637
106382012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10639
10640 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10641 values higher than 25.6283.
10642
106432012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10644
10645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10646 subnormal exponent extraction and add some __builtin_expect.
10647 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10648 Fix for subnormal mantissa calculation.
10649
106502012-06-04 Mike Frysinger <vapier@gentoo.org>
10651
10652 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10653 cpu2 is -1 and errno is not ENOSYS.
10654
106552012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10656
10657 [BZ #14117]
10658 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10659 * sysdeps/x86/bits/string.h: This.
10660 * sysdeps/x86_64/bits/string.h: Removed.
10661
10662 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10663 if not compiling for x86-64, but compiling for >= i486.
10664
10665 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10666 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10667
10668 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10669 New macro from Linux kernel 3.4.0.
10670 (FP_XSTATE_MAGIC2): Likewise.
10671 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10672 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10673 (struct _fpx_sw_bytes): New struct.
10674 (struct _xsave_hdr): Likewise.
10675 (struct _ymmh_state): Likewise.
10676 (struct _xstate): Likewise.
10677
10678 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10679 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10680 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10681 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10682 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10683 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10684
10685 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10686 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10687 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10688 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10689 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10690 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10691
106922012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10693
10694 [BZ #13743]
10695 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10696 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10697 (sysdep_headers): Include sys/platform/ppc.h.
10698 * sysdeps/powerpc/test-gettimebase.c: Test for
10699 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10700 * manual/Makefile (appendices): Include platform.texi.
10701 * manual/contrib.texi (Contributors): Update @node pointers.
10702 * manual/maint.texi (Maintenance): Likewise.
10703 (Platform): New node.
10704 * manual/platform.texi: New file. Document the new features.
10705
107062012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10707 Jakub Jelinek <jakub@redhat.com>
10708
10709 [BZ #14188]
10710 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10711 where __builtin_expect is unavailable.
10712
107132012-06-03 David S. Miller <davem@davemloft.net>
10714
10715 * stdlib/longlong.h: Updated from GCC.
10716
107172012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10718
10719 [BZ #14042]
10720 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10721 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10722 __mcount_internal.
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10724 (GLIBC_2.16): Likewise.
10725
107262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10727
10728 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10729
107302012-06-01 Joseph Myers <joseph@codesourcery.com>
10731
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10733 (default-abi): New variable.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10735 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10736 variable.
10737 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10738 Likewise.
10739 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10740 Likewise.
10741 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10742 Likewise.
10743
10744 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10745 definition. Document in comment.
10746
107472012-06-01 David S. Miller <davem@davemloft.net>
10748
10749 * stdlib/longlong.h: Updated from GCC.
10750
107512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10752
10753 [BZ #14117]
10754 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10755 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10756 sys/debugreg.h sys/io.h here.
10757 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10758 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10759 sys/io.h.
10760 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10761 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10762 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10763 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10764 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10765 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10766
10767 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10768 Define only if __x86_64__ is defined.
10769
107702012-06-01 Joseph Myers <joseph@codesourcery.com>
10771
10772 [BZ #14048]
10773 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10774 Use int64_t for variable i.
10775 * math/libm-test.inc (fmod_test): Add more tests.
10776
10777 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10778 z computation is not scheduled after fetestexcept.
10779 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10780 Use math_force_eval instead of asm to ensure calculation scheduled
10781 before exception test.
10782 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10783 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10784
107852012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10786
10787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10788 computation is not scheduled after fetestexcept.
10789
107902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10791
10792 [BZ #14117]
10793 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10794 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10795
107962012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10797
10798 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10799 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10800
108012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10802
10803 [BZ #14117]
10804 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10805 <bits/wordsize.h>.
10806 (__WCHAR_MIN): Support __WORDSIZE == 64.
10807 (__WCHAR_MAX): Likewise.
10808
10809 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10811
10812 [BZ #14183]
10813 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10814 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10815
10816 [BZ #14117]
10817 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10818 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10819
10820 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10821 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10822
10823 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10824 Defined to 1 if __x86_64__ isn't defined.
10825 (_STAT_VER_LINUX_OLD): New.
10826 (st_atime): Remove duplicate.
10827 (st_mtime): Likewise.
10828 (st_ctime): Likewise.
10829
108302012-05-31 David S. Miller <davem@davemloft.net>
10831
10832 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10833 entries.
10834
108352012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10836
10837 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10838 gen-libm-test.pl.
10839
10840 [BZ #14132]
10841 * elf/dl-reloc.c: Include <_itoa.h>.
10842 (_dl_reloc_bad_type): Remove use of INTUSE.
10843 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10844 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10845 * stdio-common/psiginfo.c (psiginfo): Likewise.
10846 * stdio-common/psignal.c (psignal): Likewise.
10847 * string/strsignal.c (strsignal): Likewise.
10848 * include/signal.h (_sys_siglist): Declare hidden proto.
10849 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10850 INTVARDEF with libc_hidden_data_def.
10851 * stdio-common/itoa-udigits.c: Likewise.
10852 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10853 (_itoa_lower_digits_internal): Remove declaration.
10854 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10855 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10856 (_sys_sigabbrev_internal): Remove aliases.
10857 (_sys_siglist): Define hidden alias.
10858
108592012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10860
10861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10862 bits/sysctl.h.
10863
108642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10865
10866 [BZ #14117]
10867 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10868 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10869
10870 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10871 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10872 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10873 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10874 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10875 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10876
10877 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10878 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10879 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10880
10881 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10882 with __addr.
10883 (insw): Likewise.
10884 (insl): Likewise.
10885 (outsb): Likewise.
10886 (outsw): Likewise.
10887 (outsl): Likewise.
10888
10889 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10890 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10891 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10892
10893 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10894 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10895 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10896 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10897 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10898 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10899
10900 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10901 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10902
10903 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10904 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10905
10906 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10907 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10908 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10909
10910 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10911 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10912 to ...
10913 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10914
10915 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10916 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10917 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10918
10919 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10920 for x86-64.
10921 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10922
109232012-05-31 Joseph Myers <joseph@codesourcery.com>
10924
10925 * math/math.h (M_El): Use two more decimal places.
10926 (M_LOG2El): Likewise.
10927 (M_LOG10El): Likewise.
10928 (M_LN2l): Likewise.
10929 (M_LN10l): Likewise.
10930 (M_PIl): Likewise.
10931 (M_PI_2l): Likewise.
10932 (M_PI_4l): Likewise.
10933 (M_1_PIl): Likewise.
10934 (M_2_PIl): Likewise.
10935 (M_2_SQRTPIl): Likewise.
10936 (M_SQRT2l): Likewise.
10937 (M_SQRT1_2l): Likewise.
10938
109392012-05-31 David S. Miller <davem@davemloft.net>
10940
10941 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10942 values between float registers.
10943 * sysdeps/sparc/sparc64/memset.S: Likewise.
10944 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10945
109462012-05-31 Mike Frysinger <vapier@gentoo.org>
10947
10948 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10949 -D_FORTIFY_SOURCE=1.
10950 (CPPFLAGS-tst-longjmp_chk.c): Define.
10951 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10952 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10953 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10954 CFLAGS-tst-wchar-h.c.
10955
109562012-05-31 Marek Polacek <polacek@redhat.com>
10957
10958 [BZ #14132]
10959 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10960 __endmntent_internal): Remove declaration.
10961 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10962 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10963 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10964
109652012-05-30 David S. Miller <davem@davemloft.net>
10966
10967 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10968 (___Q_simulate_exceptions): Use real FP ops rather than writing
10969 into the %fsr.
10970 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10971 Likewise.
10972
109732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10974
10975 [BZ #14117]
10976 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10977 * sysdeps/x86/bits/xtitypes.h: This.
10978
10979 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10980 * sysdeps/x86/bits/wordsize.h: This.
10981
10982 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10983 * sysdeps/x86/bits/huge_vall.h: This.
10984
10985 * sysdeps/i386/bits/select.h: Removed.
10986 * sysdeps/x86_64/bits/select.h: Renamed to ...
10987 * sysdeps/x86/bits/select.h: This.
10988
10989 * sysdeps/i386/bits/setjmp.h: Removed.
10990 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10991 * sysdeps/x86/bits/setjmp.h: This.
10992
10993 * sysdeps/i386/bits/mathdef.h: Removed.
10994 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10995 * sysdeps/x86/bits/mathdef.h: This.
10996
109972012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10998
10999 [BZ #14132]
11000 * include/sys/socket.h (__connect_internal)
11001 (__libc_sa_len_internal): Remove declaration.
11002 (__connect, __libc_sa_len): Declare hidden_proto.
11003 (SA_LEN): Remove use of INTUSE.
11004 * socket/connect.c: Add libc_hidden_def.
11005 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11006 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11007 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11008 alias.
11009 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11010 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11011 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11012 of adding _internal alias.
11013
110142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11015
11016 [BZ #14117]
11017 * sysdeps/i386/bits/link.h: Removed.
11018 * sysdeps/i386/bits/linkmap.h: Likewise.
11019 * sysdeps/x86_64/bits/link.h: Renamed to ...
11020 * sysdeps/x86/bits/link.h: This.
11021 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11022 * sysdeps/x86/bits/linkmap.h: This.
11023
11024 * sysdeps/i386/bits/endian.h: Removed.
11025 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11026 * sysdeps/x86/bits/endian.h: This.
11027
11028 * sysdeps/i386/bits/byteswap.h: Removed.
11029 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11030 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11031 * sysdeps/x86/bits/byteswap.h: This.
11032 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11033 * sysdeps/x86/bits/byteswap-16.h: This.
11034 * sysdeps/i386/Implies: Add x86.
11035 * sysdeps/x86_64/Implies: Likewise.
11036
110372012-05-30 David S. Miller <davem@davemloft.net>
11038
11039 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11040 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11041 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11042 (FP_TRAPPING_EXCEPTIONS): Define.
11043 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11044 (FP_TRAPPING_EXCEPTIONS): Define.
11045 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11046 subnormals only when inexact has been signalled or underflow
11047 exceptions are enabled.
11048 (_FP_PACK_CANONICAL): Likewise.
11049
110502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11051
11052 [BZ #14183]
11053 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11054 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11055
110562012-05-30 Richard Henderson <rth@twiddle.net>
11057
11058 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11059 with #ifndef NOT_IN_libc.
11060
11061 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11062 marked to avoid plt entry.
11063
110642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11065
11066 [BZ #14112]
11067 * Makeconfig (default-abi): New macro.
11068 (abi-includes): Likewise.
11069 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11070 $(abi-$(default-abi)-lib-soname) for soname if defined.
11071 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11072 abi-variants.
11073 * Makefile (installed-stubs): Likewise.
11074 * include/stubs-biarch.h: Removed.
11075 * scripts/lib-names.awk: Only handle one library at a time.
11076 * scripts/soversions.awk: Remove WORDSIZE support.
11077 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11078 entries.
11079 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11080 Removed.
11081 (syscall-list-default-condition): Likewise.
11082 (syscall-list-default-condition): Likewise.
11083 (syscall-list-includes): Likewise.
11084 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11085 syscall-list-* with abi-*. Handle undefined abi-variants.
11086 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11087 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11088 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11089 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11090 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11091 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11092 Removed.
11093 (syscall-list-32-options): Likewise.
11094 (syscall-list-32-condition): Likewise.
11095 (syscall-list-64-options): Likewise.
11096 (syscall-list-64-condition): Likewise.
11097 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11098 macro.
11099 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11100 Renamed to ...
11101 (abi-*): This.
11102 (abi-64-ld-soname): New macro.
11103 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11104 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11105 Renamed to ...
11106 (abi-*): This.
11107 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11108 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11109
111102012-05-30 Joseph Myers <joseph@codesourcery.com>
11111
11112 * sysdeps/unix/sysv/linux/kernel-features.h
11113 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11114 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11115 include <kernel-features.h>.
11116 [!__NR_ftruncate64]: Remove conditional code.
11117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11118 [__NR_ftruncate64]: Make code unconditional.
11119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11120 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11121 include <kernel-features.h>.
11122 [!__NR_ftruncate64]: Remove conditional code.
11123 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11124 [__NR_ftruncate64]: Make code unconditional.
11125 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11127 include <kernel-features.h>.
11128 [!__NR_ftruncate64]: Remove conditional code.
11129 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11130 [__NR_ftruncate64]: Make code unconditional.
11131 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11133 include <kernel-features.h>.
11134 [!__NR_ftruncate64]: Remove conditional code.
11135 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11136 [__NR_ftruncate64]: Make code unconditional.
11137 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11138
11139 * configure.in (libc_cv_fpie): Weaken to a compile test using
11140 LIBC_TRY_CC_OPTION.
11141 * configure: Regenerated.
11142
111432012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11144
11145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11149 Refreshed.
11150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11156 Refreshed.
11157
111582012-05-27 David S. Miller <davem@davemloft.net>
11159
11160 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11161 (___Q_zero): New.
11162 (__Q_simulate_exceptions): Return void. Change to simulate
11163 exceptions by writing into the %fsr.
11164 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11165 (__Qp_handle_exceptions): Likewise.
11166 (numbers): Delete.
11167 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11168 __Qp_handle_exceptions.
11169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11170 __Qp_handle_exceptions.
11171 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11172 as unused and give dummy FP_RND_NEAREST initializer.
11173 (FP_INHIBIT_RESULTS): Define.
11174 (___Q_simulate_exceptions): Update declaration.
11175 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11176 formatting.
11177 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11178 as unused and give dummy FP_RND_NEAREST initializer.
11179 (__Qp_handle_exceptions): Update declaration.
11180 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11181 formatting.
11182
111832012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11184
11185 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11186 the temporary FPU control word.
11187 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11188 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11189 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11190 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11191 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11192 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11193 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11194 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11195 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11196 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11197 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11198
111992012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11200
11201 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11202 fields.
11203
112042012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11205
11206 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11207 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11208 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11209 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11210 Likewise.
11211 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11212 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11213 Likewise.
11214
112152012-05-27 Ulrich Drepper <drepper@gmail.com>
11216
11217 * po/h.po: Update from translation team.
11218
112192012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11220
11221 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11222
11223 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11224 handling of denormals.
11225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11226 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11227 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11228 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11229 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11232 Likewise.
11233
112342012-05-26 Marek Polacek <polacek@redhat.com>
11235
11236 [BZ #14152]
11237 * math/libm-test.inc (fma_test): Don't always expect underflow
11238 exception.
11239
112402012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11241
11242 [BZ #12416]
11243 * elf/tst-execstack.c: Include stackinfo.h.
11244 (do_test): Adjust test case to ensure that pthread_getattr_np
11245 behaviour remains the same after marking stack executable.
11246
112472012-05-25 Joseph Myers <joseph@codesourcery.com>
11248
11249 * sysdeps/unix/sysv/linux/kernel-features.h
11250 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11251 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11252 kernel-features.h.
11253 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11254 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11255 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11256 kernel-features.h.
11257 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11258 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11259
112602012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11261
11262 * configure.in: Define the default includes to being none.
11263 * configure: Regenerated.
11264
112652012-05-25 Roland McGrath <roland@hack.frob.com>
11266
11267 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11268 * sysdeps/x86_64/setjmp.S: Likewise.
11269 * sysdeps/i386/bsd-setjmp.S: Likewise.
11270 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11271 * sysdeps/i386/setjmp.S: Likewise.
11272 * sysdeps/i386/__longjmp.S: Likewise.
11273 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11274 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11275
11276 * include/stap-probe.h: New file.
11277 * configure.in: Handle --enable-systemtap.
11278 * configure: Regenerated.
11279 * config.h.in (USE_STAP_PROBE): New #undef.
11280 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11281 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11282 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11283
112842012-05-25 Joseph Myers <joseph@codesourcery.com>
11285
11286 [BZ #13717]
11287 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11288 to 2.4.0 where earlier.
11289 * sysdeps/unix/sysv/linux/configure: Regenerated.
11290 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11291 <kernel-features.h>.
11292 [__ASSUME_32BITUIDS]: Make code unconditional.
11293 [!__ASSUME_32BITUIDS]: Remove conditional code.
11294 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11295 <kernel-features.h>.
11296 [__ASSUME_32BITUIDS]: Make code unconditional.
11297 [!__ASSUME_32BITUIDS]: Remove conditional code.
11298 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11299 [__ASSUME_32BITUIDS]: Make code unconditional.
11300 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11301 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11302 <kernel-features.h>.
11303 [__ASSUME_32BITUIDS]: Make code unconditional.
11304 [!__ASSUME_32BITUIDS]: Remove conditional code.
11305 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11306 <kernel-features.h>.
11307 [__ASSUME_32BITUIDS]: Make code unconditional.
11308 [!__ASSUME_32BITUIDS]: Remove conditional code.
11309 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11310 <kernel-features.h>.
11311 [__ASSUME_32BITUIDS]: Make code unconditional.
11312 [!__ASSUME_32BITUIDS]: Remove conditional code.
11313 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11314 <kernel-features.h>.
11315 [__ASSUME_32BITUIDS]: Make code unconditional.
11316 [!__ASSUME_32BITUIDS]: Remove conditional code.
11317 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11318 <kernel-features.h>.
11319 [__ASSUME_32BITUIDS]: Make code unconditional.
11320 [!__ASSUME_32BITUIDS]: Remove conditional code.
11321 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11322 <kernel-features.h>.
11323 [__ASSUME_32BITUIDS]: Make code unconditional.
11324 [!__ASSUME_32BITUIDS]: Remove conditional code.
11325 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11326 <kernel-features.h>.
11327 [__ASSUME_32BITUIDS]: Make code unconditional.
11328 [!__ASSUME_32BITUIDS]: Remove conditional code.
11329 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11330 <kernel-features.h>.
11331 [__ASSUME_32BITUIDS]: Make code unconditional.
11332 [!__ASSUME_32BITUIDS]: Remove conditional code.
11333 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11334 <kernel-features.h>.
11335 [__ASSUME_32BITUIDS]: Make code unconditional.
11336 [!__ASSUME_32BITUIDS]: Remove conditional code.
11337 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11338 <kernel-features.h>.
11339 [__ASSUME_32BITUIDS]: Make code unconditional.
11340 [!__ASSUME_32BITUIDS]: Remove conditional code.
11341 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11342 <kernel-features.h>.
11343 [__NR_setresgid] (__setresgid): Do not declare.
11344 [__ASSUME_32BITUIDS]: Make code unconditional.
11345 [!__ASSUME_32BITUIDS]: Remove conditional code.
11346 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11347 <kernel-features.h>.
11348 [__NR_setresuid] (__setresuid): Do not declare.
11349 [__ASSUME_32BITUIDS]: Make code unconditional.
11350 [!__ASSUME_32BITUIDS]: Remove conditional code.
11351 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11352 <kernel-features.h>.
11353 [__ASSUME_32BITUIDS]: Make code unconditional.
11354 [!__ASSUME_32BITUIDS]: Remove conditional code.
11355 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11356 <kernel-features.h>.
11357 [__ASSUME_32BITUIDS]: Make code unconditional.
11358 [!__ASSUME_32BITUIDS]: Remove conditional code.
11359 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11360 <kernel-features.h>.
11361 [__ASSUME_32BITUIDS]: Make code unconditional.
11362 [!__ASSUME_32BITUIDS]: Remove conditional code.
11363 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11364 <kernel-features.h>.
11365 [__ASSUME_32BITUIDS]: Make code unconditional.
11366 [!__ASSUME_32BITUIDS]: Remove conditional code.
11367 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11368 <kernel-features.h>.
11369 [__ASSUME_32BITUIDS]: Make code unconditional.
11370 [!__ASSUME_32BITUIDS]: Remove conditional code.
11371 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11372 <kernel-features.h>.
11373 [__ASSUME_32BITUIDS]: Make code unconditional.
11374 [!__ASSUME_32BITUIDS]: Remove conditional code.
11375 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11376 <kernel-features.h>.
11377 [__ASSUME_32BITUIDS]: Make code unconditional.
11378 [!__ASSUME_32BITUIDS]: Remove conditional code.
11379 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11380 <kernel-features.h>.
11381 [__ASSUME_32BITUIDS]: Make code unconditional.
11382 [!__ASSUME_32BITUIDS]: Remove conditional code.
11383 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11384 <kernel-features.h>.
11385 [__ASSUME_32BITUIDS]: Make code unconditional.
11386 [!__ASSUME_32BITUIDS]: Remove conditional code.
11387 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11388 <kernel-features.h>.
11389 [__ASSUME_32BITUIDS]: Make code unconditional.
11390 [!__ASSUME_32BITUIDS]: Remove conditional code.
11391 * sysdeps/unix/sysv/linux/kernel-features.h
11392 (__ASSUME_SETRESUID_SYSCALL): Remove.
11393 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11394 (__ASSUME_32BITUIDS): Likewise.
11395 (__ASSUME_LDT_WORKS): Likewise.
11396 (__ASSUME_O_DIRECTORY): Likewise.
11397 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11398 architecture but not kernel version.
11399 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11400 (__ASSUME_MMAP2_SYSCALL): Likewise.
11401 (__ASSUME_STAT64_SYSCALL): Likewise.
11402 (__ASSUME_IPC64): Likewise.
11403 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11404 <kernel-features.h>.
11405 [__ASSUME_32BITUIDS]: Make code unconditional.
11406 [!__ASSUME_32BITUIDS]: Remove conditional code.
11407 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11408 <kernel-features.h>.
11409 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11410 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11411 132096]: Remove conditional code.
11412 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11413 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11414 <kernel-features.h>.
11415 [__ASSUME_32BITUIDS]: Make code unconditional.
11416 [!__ASSUME_32BITUIDS]: Remove conditional code.
11417 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11418 <kernel-features.h>.
11419 [__ASSUME_32BITUIDS]: Make code unconditional.
11420 [!__ASSUME_32BITUIDS]: Remove conditional code.
11421 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11422 <kernel-features.h>.
11423 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11424 unconditional.
11425 (__setresgid): Do not declare.
11426 [__ASSUME_32BITUIDS]: Make code unconditional.
11427 [!__ASSUME_32BITUIDS]: Remove conditional code.
11428 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11429 <kernel-features.h>.
11430 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11431 unconditional.
11432 (__setresuid): Do not declare.
11433 [__ASSUME_32BITUIDS]: Make code unconditional.
11434 [!__ASSUME_32BITUIDS]: Remove conditional code.
11435 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11436 <kernel-features.h>.
11437 [__ASSUME_32BITUIDS]: Make code unconditional.
11438 [!__ASSUME_32BITUIDS]: Remove conditional code.
11439 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11440 <kernel-features.h>.
11441 [__ASSUME_32BITUIDS]: Make code unconditional.
11442 [!__ASSUME_32BITUIDS]: Remove conditional code.
11443
114442012-05-25 Richard Henderson <rth@twiddle.net>
11445
11446 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11447 dl_hwcap to ifunc resolver.
11448 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11449 elf_ifunc_invoke.
11450 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11451 dl_hwcap to ifunc resolver.
11452 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11453
114542012-05-24 Joseph Myers <joseph@codesourcery.com>
11455
11456 [BZ #14153]
11457 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11458 for |x| <= 2**-26, not 2**-57.
11459 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11460 exception.
11461
114622012-05-24 Jeff Law <law@redhat.com>
11463
11464 * stdio-common/Makefile (tests): Add bug25.
11465 * stdio-common/bug25.c: New test.
11466
114672012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11468
11469 [BZ #13576]
11470 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11471 multiple of MALLOC_ALIGNMENT in size.
11472 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11473
114742012-05-24 Joseph Myers <joseph@codesourcery.com>
11475
11476 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11477 Require >= 256.
11478 (FILENAME_MAX): Use macro-int-constant.
11479 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11480 (_IOFBF): Use macro-int-constant.
11481 (_IOLBF): Likewise.
11482 (_IONBF): Likewise.
11483 (SEEK_CUR): Likewise.
11484 (SEEK_END): Likewise.
11485 (SEEK_SET): Likewise.
11486 (TMP_MAX): Likewise.
11487 (EOF): Use macro-int-constant. Require < 0.
11488 (NULL): Use macro-constant. Require == 0.
11489 (stdin): Require type to be FILE *.
11490 (stdout): Likewise.
11491 (stderr): Likewise.
11492 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11493 macro-int-constant.
11494 (EXIT_SUCCESS): Likewise.
11495 (NULL): Use macro-constant. Require == 0.
11496 (RAND_MAX): Use macro-int-constant.
11497 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11498 [C99-based standards] (strtof): Require function.
11499 [C99-based standards] (strtold): Likewise.
11500 [C99-based standards] (strtoll): Likewise.
11501 [C99-based standards] (strtoull): Likewise.
11502 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11503 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11504 [ISO || ISO99 || ISO11] (math.h): Likewise.
11505 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11506 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11508
115092012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11510
11511 [BZ #14132]
11512 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11513 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11514 * intl/dgettext.c (DCGETTEXT): Likewise.
11515 * intl/gettext.c (DCGETTEXT): Likewise.
11516 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11517 * posix/regex_internal.h (gettext): Likewise.
11518 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11519 Remove declaration.
11520 * include/argz.h (__argz_count_internal)
11521 (__argz_stringify_internal): Remove declaration.
11522 (__argz_count, __argz_stringify): Declare hidden proto.
11523 * intl/dcgettext.c: Remove use of INTDEF.
11524 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11525 * string/argz-stringify.c: Likewise.
11526 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11527 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11528 Declare hidden proto.
11529 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11530 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11531 Declare hidden proto.
11532 * include/stdio.h (__asprintf_internal): Don't declare.
11533 (__asprintf): Don't define as macro. Declare hidden proto.
11534 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11535 (__fsetlocking): Declare hidden proto.
11536 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11537 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11538 hidden proto.
11539 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11540 (_IO_setlinebuf): Remove use of INTUSE.
11541 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11542 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11543 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11544 Remove declaration.
11545 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11546 (_IO_do_flush): Remove use of INTUSE.
11547 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11548 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11549 (_IO_adjust_column, _IO_least_wmarker)
11550 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11551 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11552 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11553 (_IO_default_doallocate, _IO_wdefault_doallocate)
11554 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11555 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11556 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11557 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11558 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11559 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11560 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11561 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11562 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11563 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11564 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11565 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11566 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11567 proto.
11568 (_IO_flush_all_internal, _IO_adjust_column_internal)
11569 (_IO_default_uflow_internal, _IO_default_finish_internal)
11570 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11571 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11572 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11573 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11574 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11575 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11576 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11577 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11578 (_IO_file_close_internal, _IO_file_close_it_internal)
11579 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11580 (_IO_file_init_internal, _IO_file_attach_internal)
11581 (_IO_file_fopen_internal, _IO_file_read_internal)
11582 (_IO_file_sync_internal, _IO_file_seek_internal)
11583 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11584 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11585 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11586 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11587 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11588 (_IO_list_all_internal, _IO_link_in_internal)
11589 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11590 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11591 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11592 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11593 (_IO_do_write_internal, _IO_padn_internal)
11594 (_IO_getline_info_internal, _IO_getline_internal)
11595 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11596 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11597 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11598 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11599 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11600 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11601 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11602 with libc_hidden_ver, remove use of INTUSE.
11603 * libio/genops.c: Likewise.
11604 * libio/freopen.c: Likewise.
11605 * libio/freopen64.c: Likewise.
11606 * libio/iofclose.c: Likewise.
11607 * libio/iofdopen.c: Likewise.
11608 * libio/iofflush.c: Likewise.
11609 * libio/iofflush_u.c: Likewise.
11610 * libio/iofgets.c: Likewise.
11611 * libio/iofgets_u.c: Likewise.
11612 * libio/iofopen.c: Likewise.
11613 * libio/iofopncook.c: Likewise.
11614 * libio/iofread.c: Likewise.
11615 * libio/iofread_u.c: Likewise.
11616 * libio/ioftell.c: Likewise.
11617 * libio/iofwrite.c: Likewise.
11618 * libio/iogetline.c: Likewise.
11619 * libio/iogets.c: Likewise.
11620 * libio/iogetwline.c: Likewise.
11621 * libio/iopadn.c: Likewise.
11622 * libio/iopopen.c: Likewise.
11623 * libio/ioseekoff.c: Likewise.
11624 * libio/ioseekpos.c: Likewise.
11625 * libio/iosetbuffer.c: Likewise.
11626 * libio/iosetvbuf.c: Likewise.
11627 * libio/ioungetc.c: Likewise.
11628 * libio/ioungetwc.c: Likewise.
11629 * libio/iovdprintf.c: Likewise.
11630 * libio/iovsprintf.c: Likewise.
11631 * libio/iovsscanf.c: Likewise.
11632 * libio/memstream.c: Likewise.
11633 * libio/obprintf.c: Likewise.
11634 * libio/oldfileops.c: Likewise.
11635 * libio/oldiofclose.c: Likewise.
11636 * libio/oldiofdopen.c: Likewise.
11637 * libio/oldiofopen.c: Likewise.
11638 * libio/oldiopopen.c: Likewise.
11639 * libio/oldstdfiles.c: Likewise.
11640 * libio/putc.c: Likewise.
11641 * libio/setbuf.c: Likewise.
11642 * libio/setlinebuf.c: Likewise.
11643 * libio/stdfiles.c: Likewise.
11644 * libio/strops.c: Likewise.
11645 * libio/vasprintf.c: Likewise.
11646 * libio/vscanf.c: Likewise.
11647 * libio/vsnprintf.c: Likewise.
11648 * libio/vswprintf.c: Likewise.
11649 * libio/wfiledoalloc.c: Likewise.
11650 * libio/wfileops.c: Likewise.
11651 * libio/wgenops.c: Likewise.
11652 * libio/wmemstream.c: Likewise.
11653 * libio/wstrops.c: Likewise.
11654 * libio/__fpurge.c: Likewise.
11655 * libio/__fsetlocking.c: Likewise.
11656 * assert/assert.c: Likewise.
11657 * debug/fgets_chk.c: Likewise.
11658 * debug/fgets_u_chk.c: Likewise.
11659 * debug/fread_chk.c: Likewise.
11660 * debug/fread_u_chk.c: Likewise.
11661 * debug/gets_chk.c: Likewise.
11662 * debug/obprintf_chk.c: Likewise.
11663 * debug/vasprintf_chk.c: Likewise.
11664 * debug/vdprintf_chk.c: Likewise.
11665 * debug/vsnprintf_chk.c: Likewise.
11666 * debug/vsprintf_chk.c: Likewise.
11667 * malloc/mtrace.c: Likewise.
11668 * misc/error.c: Likewise.
11669 * misc/syslog.c: Likewise.
11670 * stdio-common/asprintf.c: Likewise.
11671 * stdio-common/fxprintf.c: Likewise.
11672 * stdio-common/getw.c: Likewise.
11673 * stdio-common/isoc99_fscanf.c: Likewise.
11674 * stdio-common/isoc99_scanf.c: Likewise.
11675 * stdio-common/isoc99_vfscanf.c: Likewise.
11676 * stdio-common/isoc99_vscanf.c: Likewise.
11677 * stdio-common/isoc99_vsscanf.c: Likewise.
11678 * stdio-common/printf-prs.c: Likewise.
11679 * stdio-common/printf_fp.c: Likewise.
11680 * stdio-common/printf_fphex.c: Likewise.
11681 * stdio-common/printf_size.c: Likewise.
11682 * stdio-common/putw.c: Likewise.
11683 * stdio-common/scanf.c: Likewise.
11684 * stdio-common/sprintf.c: Likewise.
11685 * stdio-common/tmpfile.c: Likewise.
11686 * stdio-common/vfprintf.c: Likewise.
11687 * stdio-common/vfscanf.c: Likewise.
11688 * stdlib/strfmon_l.c: Likewise.
11689 * sunrpc/openchild.c: Likewise.
11690 * sunrpc/xdr_stdio.c: Likewise.
11691 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11692 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11693
116942012-05-24 Roland McGrath <roland@hack.frob.com>
11695
11696 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11697
11698 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11699 in the third column, to generate for the shared library an IFUNC
11700 that uses _dl_vdso_vsym.
11701 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11702 * Makeconfig (object-suffixes-noshared): New variable.
11703
11704 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11705 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11706 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11707 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11708
11709 [BZ #14132]
11710 * include/sys/time.h (__gettimeofday): Remove macro.
11711 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11712 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11713 Remove INTDEF.
11714 (__gettimeofday): Add libc_hidden_def.
11715 (gettimeofday): Add libc_hidden_weak.
11716 * sysdeps/mach/gettimeofday.c: Likewise.
11717 * sysdeps/posix/gettimeofday.c: Likewise.
11718 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11719 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11721 (__gettimeofday_internal): Remove strong_alias.
11722 (__gettimeofday): Add libc_hidden_def.
11723 (gettimeofday): Add libc_hidden_weak.
11724 * sysdeps/unix/syscalls.list (gettimeofday):
11725 Remove __gettimeofday_internal alias.
11726
117272012-05-24 Daniel Jacobowitz <drow@false.org>
11728 H.J. Lu <hongjiu.lu@intel.com>
11729
11730 [BZ #12495]
11731 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11732 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11733 (largebin_index_32_big): New.
11734 (largebin_index): Use it for 16-byte alignment.
11735 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11736 correction with front_misalign.
11737
117382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11739
11740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11742 Likewise.
11743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11744 Likewise.
11745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11746 Likewise.
11747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11748 Likewise.
11749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11750 Likewise.
11751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11752 Likewise.
11753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11754 Likewise.
11755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11756 Likewise.
11757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11758 Likewise.
11759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11760 Likewise.
11761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11762 Likewise.
11763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11764 Likewise.
11765
11766 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11767 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11768
117692012-05-24 Joseph Myers <joseph@codesourcery.com>
11770
11771 [BZ #10846]
11772 [BZ #14036]
11773 * math/libm-test.inc (exp_test): Add test from bug 14036.
11774 (pow_test): Add test from bug 10846.
11775
11776 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11777 and other flags.
11778 (special_function): Do not include flags in test name.
11779 (parse_args): Likewise.
11780 * sysdeps/i386/fpu/libm-test-ulps: Update.
11781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11782 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11783 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11785
11786 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11787 exceptions.
11788 * math/libm-test.inc ("Philosophy"): Update comment about
11789 exception testing.
11790 (UNDERFLOW_EXCEPTION): New macro.
11791 (UNDERFLOW_EXCEPTION_OK): Likewise.
11792 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11793 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11794 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11795 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11796 (INVALID_EXCEPTION_OK): Update value.
11797 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11798 (OVERFLOW_EXCEPTION_OK): Likewise.
11799 (IGNORE_ZERO_INF_SIGN): Likewise.
11800 (test_exceptions): Handle underflow exceptions.
11801 (acos_test): Update for underflow exception expectations.
11802 (cexp_test): Likewise.
11803 (clog_test): Likewise.
11804 (clog10_test): Likewise.
11805 (csqrt_test): Likewise.
11806 (ctan_test): Likewise.
11807 (ctanh_test): Likewise.
11808 (exp_test): Likewise.
11809 (exp10_test): Likewise.
11810 (exp2_test): Likewise.
11811 (expm1_test): Likewise.
11812 (fma_test): Likewise.
11813 (j0_test): Likewise.
11814 (jn_test): Likewise.
11815 (nexttoward_test): Likewise.
11816 (pow_test): Likewise.
11817 (scalbn_test): Likewise.
11818 (scalbln_test): Likewise.
11819 (tan_test): Likewise.
11820 (y1_test): Likewise.
11821 * sysdeps/i386/fpu/libm-test-ulps: Update.
11822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11823
118242012-05-23 David S. Miller <davem@davemloft.net>
11825
11826 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11827 (__libc_sigaction): Remove unused local variables.
11828
118292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11830
11831 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11832
118332012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11834
11835 mktime: avoid signed integer overflow
11836 * time/mktime.c (__mktime_internal): Do not mishandle the case
11837 where diff == INT_MIN.
11838
11839 mktime: simplify computation of average
11840 * time/mktime.c (ranged_convert): Use new time_t_avg function
11841 instead of rolling our own (probably-slower) code.
11842
11843 mktime: do not assume signed right shift propagates sign bit
11844 * time/mktime.c (isdst_differ): New static function.
11845 (__mktime_internal): No need to normalize tm_isdst now.
11846 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11847 tm_isdst values.
11848
11849 mktime: merge another wrapv change from gnulib
11850 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11851 from some compilers.
11852
11853 mktime: remove incorrect attempt at unusual arithmetics
11854 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11855 The code didn't really work on such machines anyway.
11856 (TYPE_MINIMUM): Assume two's complement.
11857 (twos_complement_arithmetic): Verify that long_int and time_t
11858 are two's complement (or unsigned, in the latter case).
11859
11860 mktime: check signed shifts on long_int and time_t, too
11861 * time/mktime.c (SHR): Check that shifts work as desired
11862 on the types long_int and time_t too, as SHR is used on
11863 such types.
11864
11865 mktime: do not assume 'long' is wide enough
11866 * time/mktime.c (verify): Move decl up.
11867 (long_int): New type.
11868 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11869 to remove assumption in the code that 'long' is wide enough to
11870 store year values. This assumption is not true on x32 and on
11871 some non-glibc platforms.
11872
11873 mktime: merge wrapv change from gnulib
11874 * time/mktime.c (WRAPV): New macro.
11875 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11876 (guess_time_tm, __mktime_internal): Do not assume that signed
11877 integer overflow wraps around; modern compilers generate code
11878 where this assumption is no longer valid.
11879
118802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11881
11882 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11883 Replace "jmp L(pseudo_end)" with "ret".
11884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11885 Likewise.
11886
118872012-05-23 Andreas Jaeger <aj@suse.de>
11888
11889 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11890 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11891
118922012-05-23 Andreas Jaeger <aj@suse.de>
11893 Maximilian Attems <max@stro.at>
11894
11895 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11896 New macros.
11897
118982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11899
11900 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11901 code so that pseudo_end is just ret and the stack pointer is
11902 correct also for static library in error case.
11903
119042012-05-23 Joseph Myers <joseph@codesourcery.com>
11905
11906 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11907 move to syscalls.list.
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11912
11913 * manual/install.texi (Running make install): Do not mention Linux
11914 kernel version for which pt_chown is not needed.
11915 (Linux): Do not mention problems with nscd with 2.0 kernels.
11916 * INSTALL: Regenerated.
11917
119182012-05-23 Andreas Jaeger <aj@suse.de>
11919
11920 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11921 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11922 macro.
11923 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11924 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11925 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11926 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11927 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11929 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11930 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11931 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11932 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11933 * sysdeps/unix/sysv/linux/bits/in.h
11934 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11935
119362012-05-22 Roland McGrath <roland@hack.frob.com>
11937
11938 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11939 (PREPARE_VERSION): Just use assert instead, it will be elided
11940 under [NDEBUG] anyway.
11941
119422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11943
11944 * sysdeps/unix/sysv/linux/Makefile: Include
11945 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11946 (sysdep_routines): Remove sysctl.
11947 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11948 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11949 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11950 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11951 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11952
119532012-05-22 Andreas Jaeger <aj@suse.de>
11954
11955 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11956 that pseudo_end is just ret and the stack pointer is correct also
11957 for static library in error case.
11958
119592012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11960
11961 [BZ #14122]
11962 * nss/nsswitch.c (defconfig_entries): New variable.
11963 (__nss_database_lookup): Don't leak defconfig entries.
11964 (nss_parse_service_list): Don't leak on error paths.
11965 (free_database_entries): New function.
11966 (free_defconfig): New function.
11967 (free_mem): Move common code to free_database_entries.
11968
119692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11970
11971 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11972 Add arch_prctl.
11973 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11974
11975 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11976 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11978 New macro.
11979 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11980 (INTERNAL_SYSCALL_TYPES): Likewise.
11981 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11982 (LOAD_REGS_TYPES_[1-6]): Likewise.
11983 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11984 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11985
119862012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987
11988 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11989 copysignl for GLIBC_2_0.
11990 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11991 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11993 logbl for GLIBC_2_0.
11994 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11995 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11996
119972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12000 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12001
12002 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12003 Use "neg %eax".
12004
12005 * time/mktime.c: Update copyright years.
12006
120072012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12008
12009 mktime: merge comment-quoting-style change from gnulib
12010 * time/mktime.c: Quote 'like this' in comments.
12011 The GNU coding standards suggest that we no longer quote `like this',
12012 as "`" and "'" are typically rendered asymmetrically nowadays.
12013 The typical gnulib style is to quote 'like this' when quoting
12014 code, and "like this" when quoting English.
12015
12016 * time/mktime.c (compile-command): Add "-I.".
12017
12018 mktime: merge mktime-internal.h change from gnulib
12019 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12020
12021 mktime: merge time_r change from gnulib
12022 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12023
12024 mktime: merge DEBUG change from gnulib
12025 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12026 case system <time.h> has a #define.
12027
12028 mktime: merge <sys/types.h> change from gnulib
12029 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12030 since <time.t> is now guaranteed to define time_t.
12031
12032 mktime: merge HAVE_CONFIG_H change from gnulib
12033 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12034
120352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12036
12037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12038 Use "neg %eax".
12039
12040 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12041 __rlim_t cast.
12042 (struct rusage): Use anonymous union to pad each field to
12043 __syscall_slong_t.
12044
120452012-05-21 David S. Miller <davem@davemloft.net>
12046
12047 * Makefules (o-iterator): Remove .s cases.
12048 (compile-command.s): Delete.
12049 (COMPILE.s): Delete.
12050 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12051
120522012-05-21 Joseph Myers <joseph@codesourcery.com>
12053
12054 * configure.in (libc_cv_predef_stack_protector): Only consider
12055 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12056 * configure: Regenerated.
12057
120582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12059
12060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12061 New macro. Use R*LP on int and pointer.
12062 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12063 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12064 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12065 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12066
12067 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12068 [__WORDSIZE_TIME64_COMPAT32] instead of
12069 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12070 (struct utmp): Likewise.
12071 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12072 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12073 Renamed to ...
12074 (__WORDSIZE_TIME64_COMPAT32): This.
12075 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12076 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12077 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12078 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12079 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12080 (__WORDSIZE_TIME64_COMPAT32): New macro.
12081
120822012-05-21 Andreas Jaeger <aj@suse.de>
12083
12084 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12085 only if [SHARED]. Add prototype for __wcschr_ia32.
12086
120872012-05-21 Roland McGrath <roland@hack.frob.com>
12088
12089 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12090 of %rbp unmolested in the jmp_buf while mangling the low bits.
12091 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12092 unmolested high bits of %rbp while demangling the low bits.
12093 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12094
120952012-05-21 Andreas Jaeger <aj@suse.de>
12096
12097 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12098 * sunrpc/svc_simple.c: Use it for registerrpc.
12099 * sunrpc/xcrypt.c: Use it for passwd2des.
12100
12101 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12102
121032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12104
12105 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12106 Don't define if [__SYSCALL_WORDSIZE != 32].
12107 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12108 New macro.
12109
121102012-05-21 Bruno Haible <bruno@clisp.org>
12111 Andreas Jaeger <aj@suse.de>
12112
12113 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12114 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12115 inptr and inend for must_buffer_ch.
12116 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12117 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12118 * stdio-common/Makefile (tests): Remove bug15.
12119 (bug15-ENV): Remove macro.
12120 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12121 anymore.
12122
121232012-05-19 Andreas Jaeger <aj@suse.de>
12124 Roland McGrath <roland@hack.frob.com>
12125
12126 * manual/contrib.texi: Completely rewritten. It contains now an
12127 alphabetical list of contributors and their contributions.
12128
121292012-05-21 Richard Henderson <rth@twiddle.net>
12130
12131 * misc/getauxval.c (__getauxval): Use unsigned long int.
12132 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12133 (getauxval): Use unsigned long int.
12134
121352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12136
12137 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12138
121392012-05-21 Roland McGrath <roland@hack.frob.com>
12140
12141 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12142 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12143 __alignof__ (long double).
12144
121452012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12146
12147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12148
121492012-05-20 Richard Henderson <rth@twiddle.net>
12150
12151 * misc/getauxval.c: New file.
12152 * misc/sys/auxv.h: New file.
12153 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12154 (routines): Add getauxval.
12155 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12156 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12157 * elf/dl-sysdep.c (_dl_auxv): Remove.
12158 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12159 * elf/dl-support.c (_dl_auxv): New variable.
12160 (_dl_aux_init): Initialize it.
12161 * manual/startup.texi (Auxiliary Vector): New node.
12162 * sysdeps/generic/bits/hwcap.h: New file.
12163 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12164 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12165 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12166 * sysdeps/sparc/sysdep.h: ... here. Include it.
12167 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12170 Update.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12179
121802012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12181
12182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12183
121842012-05-19 David S. Miller <davem@davemloft.net>
12185
12186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12187
121882012-05-19 Joseph Myers <joseph@codesourcery.com>
12189
12190 [BZ #14123]
12191 * math/s_ccosh.c: Include <float.h>
12192 (__ccosh): Avoid internal overflow calculating sinh and cosh
12193 values before multiplying by sin and cos values.
12194 * math/s_ccoshf.c: Likewise.
12195 * math/s_ccoshl.c: Likewise.
12196 * math/s_csin.c: Likewise.
12197 * math/s_csinf.c: Likewise.
12198 * math/s_csinl.c: Likewise.
12199 * math/s_csinh.c: Likewise.
12200 * math/s_csinhf.c: Likewise.
12201 * math/s_csinhl.c: Likewise.
12202 * math/libm-test.inc (ccos_test): Add more tests.
12203 (ccosh_test): Likewise.
12204 (csin_test): Likewise.
12205 (csinh_test): Likewise.
12206 * sysdeps/i386/fpu/libm-test-ulps: Update.
12207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12208
122092012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12210
12211 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12212 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12213
12214 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12215
122162012-05-19 Joseph Myers <joseph@codesourcery.com>
12217
12218 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12219 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12220 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12221 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12222 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12223 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12224 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12225 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12226 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12227 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12228 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12229 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12230 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12231 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12232 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12233 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12234 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12235 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12236 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12237 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12238 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12239 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12240 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12241 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12242 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12243 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12244 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12245 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12246 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12247 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12248 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12249
122502012-05-18 Andreas Jaeger <aj@suse.de>
12251
12252 * csu/.gitignore: Delete.
12253
122542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12255
12256 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12257 (timex): Use __syscall_slong_t.
12258
122592012-05-18 Andreas Jaeger <aj@suse.de>
12260 Carlos O'Donell <carlos_odonell@mentor.com>
12261
12262 * manual/install.texi (Configuring and compiling): Update
12263 description about files modified in the source directory.
12264 * INSTALL: Regenerated.
12265
122662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12267
12268 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12269 value. Use "or" to set return value to -1.
12270 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12271 negate return value.
12272
122732012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12274
12275 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12276 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12277 failure if the compiler has Graphite support disabled.
12278 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12279 Likewise.
12280 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12281 CFLAGS-memmove.c): Likewise.
12282 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12283 Likewise.
12284
122852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12286
12287 * sysdeps/x86_64/x32/_itoa.h: New file.
12288
12289 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12290 getdents system call only if kernel and user dirents have the
12291 same d_ino and d_off.
12292
12293 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12294 LLONG_MAX != LONG_MAX.
12295 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12296 (_fitoa_word): Likewise.
12297
12298 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12299 years.
12300 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12301 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12302 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12303
12304 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12305 include <bits/wordsize.h>. Check __x86_64__ instead of
12306 __WORDSIZE.
12307 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12308 if __x86_64__ is defined. Use anonymous union on fpstate.
12309
12310 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12311 anonymous union.
12312
123132012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12314
12315 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12316 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12317 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12318 Refer to _rtld_local_ro instead of _rtld_global_ro.
12319 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12320 Likewise.
12321 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12322 Likewise.
12323 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12324 Likewise.
12325 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12326 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12327 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12328
12329 * sysdeps/powerpc/powerpc32/dl-machine.c
12330 (__elf_machine_runtime_setup) [PROF]: Don't reference
12331 _dl_prof_resolve.
12332
123332012-05-18 Andreas Jaeger <aj@suse.de>
12334
12335 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12336 function only available for GCCs before 3.4 since GCC 3.4
12337 introduced a builtin.
12338 (lrint): Likewise.
12339 (llrintf): Likewise.
12340 (llrint): Likewise.
12341 (fmaxf): Likewise.
12342 (fmax): Likewise.
12343 (fminf): Likewise.
12344 (fmin): Likewise.
12345 (rint): Likewise.
12346 (rintf): Likewise.
12347 (nearbyint): Likewise.
12348 (nearbyintf): Likewise.
12349 (ceil): Likewise.
12350 (ceilf): Likewise.
12351 (floor): Likewise.
12352 (floorf): Likewise.
12353
123542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12355
12356 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12357 on both fields and cast pointer to __syscall_ulong_t.
12358
12359 * bits/types.h (__fsword_t): New type.
12360 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12361 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12363 (__FSWORD_T_TYPE): Likewise.
12364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12365 (__FSWORD_T_TYPE): Likewise.
12366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12367 (__FSWORD_T_TYPE): Likewise.
12368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12369 (__FSWORD_T_TYPE): Likewise.
12370 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12371 __SWORD_TYPE with __fsword_t.
12372 (statfs64): Likewise.
12373
123742012-05-17 David S. Miller <davem@davemloft.net>
12375
12376 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12377
123782012-05-17 Andreas Jaeger <aj@suse.de>
12379
12380 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12381 warning.
12382
123832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12384
12385 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12386
123872012-05-17 Andreas Jaeger <aj@suse.de>
12388
12389 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12390 when it is used.
12391
123922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12393
12394 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12395
123962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12397
12398 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12399 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12400
124012012-05-17 Andreas Jaeger <aj@suse.de>
12402 Carlos O'Donell <carlos_odonell@mentor.com>
12403
12404 [BZ #14059]
12405 * sysdeps/x86_64/multiarch/init-arch.h
12406 (bit_YMM_Usable): Rename to...
12407 (bit_AVX_Usable): ... this.
12408 (bit_FMA4_Usable): New macro.
12409 (bit_XMM_state): New macro.
12410 (bit_YMM_state): New macro.
12411 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12412 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12413 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12414 (CPUID_OSXSAVE): New macro.
12415 (CPUID_AVX): New macro.
12416 (CPUID_FMA4): New macro.
12417 (index_YMM_Usable): Rename to...
12418 (index_AVX_Usable): ... this.
12419 (HAS_AVX): Use HAS_ARCH_FEATURE.
12420 (HAS_FMA4): Likewise.
12421 (HAS_YMM_USABLE): Remove.
12422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12423 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12424 are present.
12425 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12426 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12427 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12428 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12429 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12430
124312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12432
12433 * math/libm-test.c: Support platforms without multiple rounding modes.
12434 * math/bug-nextafter.c: Support platforms without FP exceptions.
12435 * math/bug-nexttoward.c: Likewise.
12436 * math/test-fenv.c: Likewise.
12437 * math/test-misc.c: Likewise.
12438 * stdlib/bug-getcontext.c: Likewise.
12439
124402012-05-17 Andreas Jaeger <aj@suse.de>
12441
12442 * manual/examples/search.c (critter_cmp): Change signature to
12443 avoid warnings.
12444 * manual/string.texi (Collation Functions): Likewise.
12445
124462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12447
12448 * bits/types.h: Fold copyright years.
12449 * bits/typesizes.h: Likewise.
12450 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12454 * time/time.h: Likewise.
12455
124562012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12457
12458 [BZ #208]
12459 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12460 in instead of returning them. Return void.
12461 (__libc_mallinfo): Accumulate over all arenas.
12462 (__malloc_stats): Adjust for change in int_mallinfo interface.
12463
124642012-05-16 Roland McGrath <roland@hack.frob.com>
12465
12466 [BZ #10375]
12467 * configure.in (NM): Add AC_CHECK_TOOL for it.
12468 (libc_extra_cflags): New substituted variable.
12469 Check for -fstack-protector being used implicitly.
12470 * configure: Regenerated.
12471 * config.make.in (config-extra-cflags): New variable,
12472 gets @libc_extra_cflags@.
12473 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12474
12475 [BZ #10375]
12476 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12477 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12478 * configure: Regenerated.
12479 * config.make.in (CPPUNDEFS): New substituted variable.
12480 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12481 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12482 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12483
124842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12487 (mq_attr): Use __syscall_slong_t.
12488
124892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12490
12491 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12492 Check __x86_64__ instead of __WORDSIZE.
12493 (_STAT_VER_LINUX): Likewise.
12494 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12495 __syscall_ulong_t and __syscall_slong_t.
12496 (stat64): Likewise.
12497
124982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12499
12500 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12501
125022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12503
12504 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12505
125062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12507
12508 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12509 __syscall_ulong_t.
12510
12511 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12512 include <bits/wordsize.h>. Check __x86_64__ instead of
12513 __WORDSIZE.
12514 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12515 defined.
12516 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12517
12518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12519 include <bits/wordsize.h>. Check __x86_64__ instead of
12520 __WORDSIZE.
12521 (user_regs_struct): Use "__extension__ unsigned long long"
12522 instead of "unsigned long" if __x86_64__ is defined.
12523 (user): Likewise. Pad after pointer field if __ILP32__ is
12524 defined.
12525
125262012-05-16 Joseph Myers <joseph@codesourcery.com>
12527
12528 * configure.in (makeinfo): Require version 4.5 or later. Allow
12529 versions 5 to 9.
12530 * configure: Regenerated.
12531 * manual/install.texi (texinfo): Increase version requirement to
12532 4.5 or later.
12533 * INSTALL: Regenerated.
12534
12535 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12536
125372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12540
12541 * sysdeps/x86_64/x32/ffs.c: New file.
12542
12543 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12544 __syscall_ulong_t.
12545 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12546 defined. Use __syscall_ulong_t.
12547 (shminfo): Use __syscall_ulong_t.
12548 (shm_info): Likewise.
12549
12550 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12551 __syscall_ulong_t.
12552
12553 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12554 <bits/wordsize.h>.
12555 (msgqnum_t): Use __syscall_ulong_t.
12556 (msglen_t): Likewise.
12557 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12558 __syscall_ulong_t.
12559
12560 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12561 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12562
12563 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12564
12565 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12566 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12567
12568 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12569 __syscall_slong_t.
12570
12571 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12572 include <bits/wordsize.h>. Check __x86_64__ instead of
12573 __WORDSIZE.
12574
12575 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12576 "unsigned long long int" if __x86_64__ is defined.
12577 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12578
12579 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12580 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12581 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12582
12583 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12584 <stdint.h>.
12585 (GET_PC): Cast to uintptr_t first.
12586 (GET_FRAME): Likewise.
12587 (GET_STACK): Likewise.
12588
12589 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12590 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12591 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12592 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12593 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12594 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12595 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12596 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12597 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12600 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12605 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12606 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12607 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12608 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12609 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12611 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12613 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12614 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12615 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12616 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12617 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12618
126192012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12620
12621 * Makerules (+depfiles): Also collect depfiles from .oS in
12622 $(extra-objs).
12623 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12624 .oS, $(libnldbl-routines)).
12625
12626 * Makerules (native-compile-mkdep-flags): Define.
12627 * sunrpc/Makefile (extra-objs): Add $(addprefix
12628 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12629 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12630 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12631 calling $(make-target-directory).
12632
126332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12634
12635 * bits/types.h (__snseconds_t): Removed.
12636 * time/time.h (struct timespec): Replace __snseconds_t with
12637 __syscall_slong_t.
12638 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12639 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12640 Likewise.
12641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12642 (__SNSECONDS_T_TYPE): Likewise.
12643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12644 (__SNSECONDS_T_TYPE): Likewise.
12645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12646 (__SNSECONDS_T_TYPE): Likewise.
12647
126482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12649
12650 * sysdeps/mach/hurd/bits/typesizes.h
12651 (__SYSCALL_SLONG_TYPE): New macro.
12652 (__SYSCALL_ULONG_TYPE): Likewise.
12653
126542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 * bits/types.h (__syscall_slong_t): New type.
12657 (__syscall_ulong_t): Likewise.
12658
12659 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12660 (__SYSCALL_ULONG_TYPE): Likewise.
12661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12662 (__SYSCALL_SLONG_TYPE): Likewise.
12663 (__SYSCALL_ULONG_TYPE): Likewise.
12664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12665 (__SYSCALL_SLONG_TYPE): Likewise.
12666 (__SYSCALL_ULONG_TYPE): Likewise.
12667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12668 (__SYSCALL_SLONG_TYPE): Likewise.
12669 (__SYSCALL_ULONG_TYPE): Likewise.
12670
126712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12672
12673 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12674 Add sigaltstack-offsets.sym.
12675 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12676 <sigaltstack-offsets.h>.
12677 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12678 longjmp_msg pointer.
12679 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12680 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12681 signal stack.
12682 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12683
126842012-05-15 Joseph Myers <joseph@codesourcery.com>
12685
12686 * elf/stackguard-macros.h: Remove file.
12687 * sysdeps/generic/stackguard-macros.h: New file.
12688 * sysdeps/i386/stackguard-macros.h: Likewise.
12689 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12690 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12691 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12692 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12693 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12694 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12695 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12696 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12697 <elf/stackguard-macros.h>.
12698
12699 [BZ #14109]
12700 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12701 __aligned__ in attribute.
12702 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12703 (gregset_t): Likewise.
12704
127052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12706
12707 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12708 * sysdeps/x86_64/64/Implies-after: Here. New file.
12709 * sysdeps/x86_64/x32/Implies-after: New file.
12710
127112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12712
12713 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12714 and access return value for _dl_profile_fixup. Use R10_LP to
12715 load frame size.
12716
127172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12718
12719 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12720
127212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12724 * sysdeps/x86_64/x32/sysdep.h: New file.
12725
127262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12727
12728 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12729 * sysdeps/x86_64/setjmp.S: Likewise.
12730
127312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12732
12733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12734 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12735 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12736 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12737 remove unused global constant.
12738
127392012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12740
12741 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12742 include of <not-cancel.h>.
12743
127442012-05-15 Roland McGrath <roland@hack.frob.com>
12745
12746 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12747
127482012-05-15 Jeff Law <law@redhat.com>
12749 Andreas Jaeger <aj@suse.de>
12750
12751 [BZ #13594]
12752 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12753 out from...
12754 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12755 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12756 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12757 code changing __hst_map_handle.map.
12758
127592012-05-15 Roland McGrath <roland@hack.frob.com>
12760
12761 * configure.in (sysnames): Look for Implies-before and Implies-after
12762 files.
12763 * configure: Regenerated.
12764
127652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12766
12767 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12768 8-byte data alignment with LP_SIZE alignment.
12769
127702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12771
12772 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12773 into R10_LP.
12774
127752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12776
12777 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12778
127792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12780
12781 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12782 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12784 Likewise.
12785 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12786
127872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12788
12789 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12790 (stackinfo_sub_sp): Likewise.
12791
127922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12793
12794 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12795 RAX_LP.
12796
127972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12798
12799 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12800 into R*_LP.
12801
128022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12803
12804 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12805 sizes into R*_LP.
12806
128072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12808
12809 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12810
128112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12812
12813 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12814 into R11_LP and load __x86_64_shared_cache_size_half into
12815 R8_LP.
12816
128172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12818
12819 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12820 R8_LP.
12821
128222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12823
12824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12825 logb for POWER7.
12826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12827 logbf for POWER7.
12828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12829 logbl for POWER7.
12830 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12831 powerpc32/power7/fpu/s_logb.c via #include.
12832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12833 powerpc32/power7/fpu/s_logbf.c via #include.
12834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12835 powerpc32/power7/fpu/s_logbl.c via #include.
12836
128372012-05-15 Joseph Myers <joseph@codesourcery.com>
12838
12839 * README.libm: Remove file.
12840
128412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12842
12843 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12844 count for x32. Use R*_LP and omit operand-size suffix.
12845
128462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12847
12848 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12849 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12850 * sysdeps/x86_64/x32/shlib-versions: New file.
12851
128522012-05-14 Roland McGrath <roland@hack.frob.com>
12853
12854 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12855 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12856 Use _dl_fatal_printf instead.
12857
128582012-05-14 Joseph Myers <joseph@codesourcery.com>
12859
12860 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12861 set if not set by the user. Do not allow for being unset.
12862 * sysdeps/unix/sysv/linux/configure: Regenerated.
12863
128642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12865
12866 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12867 the `q' suffix from lea and replace .quad with ASM_ADDR.
12868
128692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12870
12871 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12872 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12873 instead of $17.
12874 (PTR_DEMANGLE): Likewise.
12875
128762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12877
12878 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12879 (LP_OP): Likewise.
12880 (ASM_ADDR): Likewise.
12881 (RAX_LP): Likewise.
12882 (RBP_LP): Likewise.
12883 (RBX_LP): Likewise.
12884 (RCX_LP): Likewise.
12885 (RDI_LP): Likewise.
12886 (RSI_LP): Likewise.
12887 (RSP_LP): Likewise.
12888 (R8_LP): Likewise.
12889 (R9_LP): Likewise.
12890 (R10_LP): Likewise.
12891 (R10_LP): Likewise.
12892 (R11_LP): Likewise.
12893 (R12_LP): Likewise.
12894 (R13_LP): Likewise.
12895 (R14_LP): Likewise.
12896 (R15_LP): Likewise.
12897
128982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 * sysdeps/x86_64/x32/dl-machine.h: New file.
12901
129022012-05-14 Andreas Jaeger <aj@suse.de>
12903
12904 * manual/Makefile (subdir): Remove export of subdir.
12905 (all): Remove target.
12906 (.PHONY): Remove all from list.
12907 (mkinstalldirs): Remove.
12908 (.PHONY): Remove installdirs from list.
12909 ($(inst_infodir)/libc.info): Use make-target-directory.
12910 (installdirs): Remove.
12911 (subdir_%): Remove.
12912 (glibc-targets): Remove.
12913 (lib): Remove.
12914 (stubs): Remove.
12915 ($(objpfx)stubs ../po/manual.pot): Remove.
12916 ($(objpfx)stamp%): Remove.
12917 (make-target-directory): Remove.
12918 (subdir_install): Remove.
12919 (routines): Remove.
12920 (aux): Remove.
12921 (sources): Remove.
12922 (objects): Remove.
12923 (headers): Remove.
12924
12925 [BZ #13750]
12926 * manual/.gitignore: Remove, it's not needed anymore.
12927 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12928 all files in it.
12929 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12930 directory.
12931 (texis): Renamed to $(objpfx)texis.
12932 (texis-path): New, contains path to generated files.
12933 (chapters.%): Use texis-path for complete path, add extra argument
12934 libc-texinfo.sh.
12935 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12936 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12937 (summary,texi, stamp-summary): Use complete path of
12938 files. Generate files in build dir.
12939 (dir-add.texi): Build in build dir.
12940 (libm-err.texi,stamp-libm-err): Likewise.
12941 (version.texi, stamp-version): Likewise.
12942 (.%c.texi): Likewise.
12943 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12944 (mostlyclean): Remove target.
12945 (realclean): Remove target.
12946 (generated): Add new variable with contents from mostlyclean and
12947 realclean, remove entries duplicated in common-mostlyclean, add
12948 stamp-libm-err and stamp-version.
12949 (generated-dirs): Add libc directory.
12950 ($(inst_infodir)/libc.info): Install files from build dir.
12951
12952 * manual/install.texi (Configuring and compiling): Adjust since
12953 the info files are not part of the tar ball anymore.
12954
129552012-05-14 Andreas Jaeger <aj@suse.de>
12956
12957 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12958 variable.
12959
129602012-05-14 Joseph Myers <joseph@codesourcery.com>
12961
12962 [BZ #13717]
12963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12964 to 2.2.0 where earlier.
12965 * sysdeps/unix/sysv/linux/configure: Regenerated.
12966 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12967 Remove conditional code.
12968 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12969 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12970 Remove conditional code.
12971 [!__NR_lchown]: Likewise.
12972 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12973 [__NR_lchown]: Likewise.
12974 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12975 comment referencing __ASSUME_LCHOWN_SYSCALL.
12976 * sysdeps/unix/sysv/linux/i386/sigaction.c
12977 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12978 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12979 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12980 Remove conditional code.
12981 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12982 (__protocol_available): Remove #if 0 code.
12983 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12984 conditional code.
12985 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12986 * sysdeps/unix/sysv/linux/kernel-features.h
12987 (__ASSUME_GETCWD_SYSCALL): Don't define.
12988 (__ASSUME_REALTIME_SIGNALS): Likewise.
12989 (__ASSUME_PREAD_SYSCALL): Likewise.
12990 (__ASSUME_PWRITE_SYSCALL): Likewise.
12991 (__ASSUME_POLL_SYSCALL): Likewise.
12992 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12993 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12994 non-SPARC.
12995 (__ASSUME_SIOCGIFNAME): Don't define.
12996 (__ASSUME_MSG_NOSIGNAL): Likewise.
12997 (__ASSUME_SENDFILE): Define unconditionally.
12998 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12999 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13000 conditional code.
13001 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13002 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13003 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13004 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13005 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13006 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13007 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13009 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13012 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13021 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13024 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13027 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13030 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13032 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13033 Remove conditional code.
13034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13035 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13036 Remove conditional code.
13037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13038 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13039 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13040 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13041 Remove conditional code.
13042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13043 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13044 Remove conditional code.
13045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13046 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13047 Remove conditional code.
13048 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13049 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13050 Remove conditional code.
13051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13052 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13053 Remove conditional code.
13054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13055 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13056 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13058 * sysdeps/unix/sysv/linux/sigaction.c
13059 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13060 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13061 * sysdeps/unix/sysv/linux/sigpending.c
13062 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13063 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13064 * sysdeps/unix/sysv/linux/sigprocmask.c
13065 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13066 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13067 * sysdeps/unix/sysv/linux/sigsuspend.c
13068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13070 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13071 (__libc_missing_rt_sigs): Remove.
13072 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13073 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13074 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13075 Remove conditional code.
13076 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13077 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13078 return 1.
13079 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13080 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13081 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13082 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13083
130842012-05-14 Andreas Jaeger <aj@suse.de>
13085
13086 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13087 it's not used in glibc.
13088 (__coshm1): Likewise.
13089 (__acosh1p): Likewise.
13090 (__sgn): Likewise.
13091
13092 * manual/string.texi (Copying and Concatenation): Add missing
13093 variable in concat example.
13094 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13095
130962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13097
13098 [BZ #14103]
13099 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13100 __builtin_clzl with __builtin_clzll.
13101
131022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13103
13104 [BZ #14104]
13105 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13106 libc_freeres_ptr.
13107
131082012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13109
13110 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13111 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13112 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13113 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13114
131152012-05-14 Mike Frysinger <vapier@gentoo.org>
13116
13117 * NEWS: Update ia64 info.
13118
131192012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13120
13121 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13122 used as bcopy.
13123
131242012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13125
13126 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13127 * sysdeps/unix/syscalls.list (dup3): Likewise.
13128 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13129 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13130
131312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13132
13133 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13134 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13135
131362012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13137
13138 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13139 thread pointer.
13140 (TLS_IE): Use mov/add instead of movq/addq to load thread
13141 pointer.
13142 (TLS_GD_PREFIX): New.
13143 (TLS_GD): Use it.
13144
131452012-05-11 David S. Miller <davem@davemloft.net>
13146
13147 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13148 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13149 (_FPU_SETCW): Likewise.
13150
131512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13152
13153 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13154 is 32-byte aligned.
13155
131562012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13157
13158 [BZ #11837]
13159 * iconvdata/gb18030.c: Update tables.
13160 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13161 characters specially.
13162 (BODY for TO_LOOP): Add encoding of missing ranges.
13163
131642012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13165
13166 [BZ #13673]
13167 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13168 * sysdeps/mach/hurd/dup3.c: Likewise.
13169 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13170 * sysdeps/powerpc/memmove.c:: Likewise.
13171
131722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13173
13174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13175 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13176
131772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13178
13179 * elf/elf.h (R_X86_64_RELATIVE64): New.
13180 (R_X86_64_NUM): Updated.
13181 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13182 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13183 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13184 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13185 tst-quad1pie tst-quad2pie
13186 (modules-names): Add tst-quadmod1 tst-quadmod2.
13187 ($(objpfx)tst-quad1): New dependency.
13188 ($(objpfx)tst-quad2): Likewise.
13189 ($(objpfx)tst-quad1pie): Likewise.
13190 ($(objpfx)tst-quad2pie): Likewise.
13191 * sysdeps/x86_64/tst-quad1.c: New file.
13192 * sysdeps/x86_64/tst-quad1pie.c: New file.
13193 * sysdeps/x86_64/tst-quad2.c: Likewise.
13194 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13195 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13196 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13197 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13198 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13199
132002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13201
13202 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13203 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13204 * streams/stropts.h (t_scalar_t): Define type.
13205
13206 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13207 (_PATH_PRESERVE): Set to "/var/lib".
13208 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13209
13210 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13211 instead of int.
13212
13213 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13214 if __dir_mkfile succeeded.
13215
13216 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13217 checking for _hurd_dtablesize. Unlock it right after having
13218 finished _hurd_dtable allocation.
13219
132202012-05-10 Thomas Schwinge <thomas@schwinge.name>
13221
13222 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13223 * sysdeps/mach/hurd/configure: Regenerated.
13224 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13225 special-casing to...
13226 * sysdeps/gnu/configure.in: ... this new file.
13227 * sysdeps/unix/sysv/linux/configure: Regenerated.
13228 * sysdeps/gnu/configure: New generated file.
13229
13230 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13231 for Linux: use nsec instead of usec, as well as:
13232 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13233 members of type struct timespec.
13234 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13235 New macros.
13236 (struct stat64): Likewise.
13237 (_STATBUF_ST_NSEC): New macro.
13238 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13239
13240 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13241 __strtoul_internal rather than strtoul.
13242
132432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13244
13245 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13246 and reject them.
13247
132482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13249
13250 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13251 which preserves existing values.
13252 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13253
132542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13255
13256 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13257 TIMEOUT values. Return EINVAL for NFDS values either negative or
13258 greater than FD_SETSIZE.
13259
132602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13261
13262 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13263 allocated, call __vm_protect to finish enabling the existing space, and
13264 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13265 allocate the remainder.
13266
132672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13268
13269 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13270 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13271
132722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13273
13274 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13275 sysdeps/mach/hurd/readlink.c.
13276
13277 * posix/tst-sysconf.c (posix_options): Only use
13278 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13279 _POSIX_SYNCHRONIZED_IO when they are defined
13280 * sysdeps/mach/hurd/bits/posix_opt.h:
13281 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13282 (_XOPEN_REALTIME): Undefine macro.
13283 (_XOPEN_REALTIME_THREADS): Undefine macro.
13284 (_XOPEN_SHM): Undefine macro.
13285 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13286 macro to -1.
13287 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13288 macro to -1.
13289 (_POSIX_ASYNC_IO): Undefine macro.
13290 (_POSIX_PRIORITIZED_IO): Undefine macro.
13291 (_POSIX_SPIN_LOCKS): Define macro to -1.
13292
13293 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13294 SA_NODEFER, SA_RESETHAND.
13295 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13296 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13297 F_DUPFD_CLOEXEC.
13298
132992012-05-10 Thomas Schwinge <thomas@schwinge.name>
13300
13301 * elf/Makefile (pldd-modules): Define unconditionally.
13302
133032012-05-10 Thomas Schwinge <thomas@schwinge.name>
13304
13305 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13306
133072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13308
13309 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13310 Return ENOENT when name is empty.
13311 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13312
133132012-05-10 Thomas Schwinge <thomas@schwinge.name>
13314
13315 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13316
13317 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13318
133192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13320
13321 Fix mlock in all cases except non-readable pages.
13322 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13323 instead of VM_PROT_ALL as parameter to __vm_wire function.
13324
13325 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13326 (__mkdir): When path is `/', just fail with EEXIST.
13327 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13328
133292012-05-10 Thomas Schwinge <thomas@schwinge.name>
13330
13331 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13332 <sys/uio.h> (for writev).
13333 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13334 and <sys/param.h> (for MIN).
13335
133362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13337
13338 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13339 REQUESTED_TIME. Properly set the remaining time and return EINTR
13340 if interrupted.
13341
133422012-05-10 Thomas Schwinge <thomas@schwinge.name>
13343
13344 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13345 Depend on against $(link-rpcuserlibs).
13346
133472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13348
13349 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13350 (__libc_stack_end): Do not use attribute_relro.
13351 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13352 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13353 to libthread-provided value.
13354 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13355 attribute_relro.
13356
133572012-05-10 Thomas Schwinge <thomas@schwinge.name>
13358
13359 [BZ #3748]
13360 * bits/libc-lock.h (__libc_once_get): New macro.
13361 * sysdeps/mach/bits/libc-lock.h: Likewise.
13362 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13363 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13364 instead of using implementation details.
13365
13366 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13367 * libio/freopen.c: Likewise.
13368 * libio/freopen64.c: Likewise.
13369 * misc/syslog.c: Likewise.
13370 * nscd/connections.c: Likewise.
13371 * nscd/netgroupcache.c: Likewise.
13372 * sysdeps/posix/getcwd.c: Likewise.
13373
133742012-05-10 Roland McGrath <roland@hack.frob.com>
13375
13376 * math/w_ilogbf.c: Add #include <limits.h>.
13377
133782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13379
13380 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13381 path instead of returning without unlocking.
13382
13383 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13384 immediate-write ioctls.
13385 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13386
133872012-05-10 Thomas Schwinge <thomas@schwinge.name>
13388
13389 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13390 __builtin_frame_address instead of making assumptions about the
13391 location of the return address relative to DATA. Force early load of
13392 the return address.
13393 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13394 __builtin_frame_address.
13395
13396 dup3 for GNU Hurd.
13397 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13398 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13399 implement dup3 and do some further code clean-ups.
13400 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13401 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13402
134032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13404
13405 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13406
13407 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13408 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13409 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13410 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13411 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13412 d->port.lock.
13413
13414 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13415 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13416 when handler == SIG_ERR, not when handler != SIG_ERR.
13417
134182012-05-10 Thomas Schwinge <thomas@schwinge.name>
13419
13420 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13421 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13422 definitions.
13423
13424 accept4 for GNU Hurd.
13425 * include/sys/socket.h (__libc_accept4): New prototype.
13426 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13427 to implement __libc_accept4.
13428 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13429 __libc_accept4.
13430 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13431
13432 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13433 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13434 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13435 signal-defines.sym.
13436
134372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13438
13439 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13440
134412012-05-10 Thomas Schwinge <thomas@schwinge.name>
13442
13443 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13444 assertion on O_CLOEXEC flag.
13445 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13446 * hurd/intern-fd.c: Likewise.
13447 * hurd/port2fd.c: Likewise.
13448
134492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13450
13451 [BZ #3906]
13452 * bits/in.h (IPV6_PKTINFO): Define new macro.
13453 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13454
134552012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13456
13457 [BZ #13954]
13458 [BZ #13955]
13459 [BZ #13956]
13460 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13461 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13462 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13463 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13465 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13466 * math/libm-test.inc (logb_test) : Additional logb tests.
13467
134682012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13469 Andreas Jaeger <aj@suse.de>
13470
13471 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13472 * configure: Regenerated.
13473 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13474 * config.make.in (link-obsolete-rpc): New substituted variable.
13475 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13476 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13477 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13478 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13479 so that libc.a contains the symbols.
13480 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13481 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13482 * sunrpc/auth_none.c: Likewise.
13483 * sunrpc/auth_unix.c: Likewise.
13484 * sunrpc/authdes_prot.c: Likewise.
13485 * sunrpc/authuxprot.c: Likewise.
13486 * sunrpc/clnt_gen.c: Likewise.
13487 * sunrpc/clnt_perr.c: Likewise.
13488 * sunrpc/clnt_raw.c: Likewise.
13489 * sunrpc/clnt_simp.c: Likewise.
13490 * sunrpc/clnt_tcp.c: Likewise.
13491 * sunrpc/clnt_udp.c: Likewise.
13492 * sunrpc/clnt_unix.c: Likewise.
13493 * sunrpc/des_crypt.c: Likewise.
13494 * sunrpc/des_soft.c: Likewise.
13495 * sunrpc/get_myaddr.c: Likewise.
13496 * sunrpc/key_call.c: Likewise.
13497 * sunrpc/key_prot.c: Likewise.
13498 * sunrpc/netname.c: Likewise.
13499 * sunrpc/pm_getmaps.c: Likewise.
13500 * sunrpc/pm_getport.c: Likewise.
13501 * sunrpc/pmap_clnt.c: Likewise.
13502 * sunrpc/pmap_prot.c: Likewise.
13503 * sunrpc/pmap_prot2.c: Likewise.
13504 * sunrpc/pmap_rmt.c: Likewise.
13505 * sunrpc/publickey.c: Likewise.
13506 * sunrpc/rpc_cmsg.c: Likewise.
13507 * sunrpc/rpc_common.c: Likewise.
13508 * sunrpc/rpc_dtable.c: Likewise.
13509 * sunrpc/rpc_prot.c: Likewise.
13510 * sunrpc/rpc_thread.c: Likewise.
13511 * sunrpc/rtime.c: Likewise.
13512 * sunrpc/svc.c: Likewise.
13513 * sunrpc/svc_auth.c: Likewise.
13514 * sunrpc/svc_raw.c: Likewise.
13515 * sunrpc/svc_run.c: Likewise.
13516 * sunrpc/svc_tcp.c: Likewise.
13517 * sunrpc/svc_udp.c: Likewise.
13518 * sunrpc/svc_unix.c: Likewise.
13519 * sunrpc/svcauth_des.c: Likewise.
13520 * sunrpc/xcrypt.c: Likewise.
13521 * sunrpc/xdr.c: Likewise.
13522 * sunrpc/xdr_array.c: Likewise.
13523 * sunrpc/xdr_float.c: Likewise.
13524 * sunrpc/xdr_intXX_t.c: Likewise.
13525 * sunrpc/xdr_mem.c: Likewise.
13526 * sunrpc/xdr_rec.c: Likewise.
13527 * sunrpc/xdr_ref.c: Likewise.
13528 * sunrpc/xdr_sizeof.c: Likewise.
13529 * sunrpc/xdr_stdio.c: Likewise.
13530
135312012-05-10 Roland McGrath <roland@hack.frob.com>
13532
13533 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13534 change. Update copyright years.
13535
135362012-05-10 Joseph Myers <joseph@codesourcery.com>
13537
13538 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13539
135402012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13541 Joseph Myers <joseph@codesourcery.com>
13542 Paul Pluzhnikov <ppluzhnikov@google.com>
13543
13544 [BZ #14012]
13545 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13546 requiring rpcgen.
13547 [cross-compiling] (extra-libs): Likewise.
13548 [cross-compiling] (extra-libs-others): Likewise.
13549 [cross-compiling] (librpcsvc-routines): Likewise.
13550 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13551 [cross-compiling] (omit-deps): Likewise.
13552 (sunrpc-CPPFLAGS): New variable.
13553 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13554 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13555 (cross-rpcgen-objs): New variable.
13556 (extra-objs): Append $(cross-rpcgen-objs).
13557 ($(cross-rpcgen-objs)): New rule.
13558 ($(objpfx)cross-rpcgen): Likewise.
13559 (rpcgen-cmd): Define to use $(built-program-file). Expand
13560 comment.
13561 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13562 ($(objpfx)x%.stmp): Likewise.
13563 * sunrpc/proto.h [IS_IN_build] (_): Define.
13564 [IS_IN_build] (_libc_intl_domainname): Likewise.
13565
135662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13567
13568 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13569 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13570 and R_X86_64_TPOFF64.
13571
135722012-05-10 Joseph Myers <joseph@codesourcery.com>
13573
13574 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13575 sysdeps/unix/sysv/syscalls.list.
13576 (stime): Likewise.
13577 (utime): Likewise.
13578 * sysdeps/unix/sysv/syscalls.list: Remove file.
13579
135802012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13581
13582 [BZ #3440]
13583 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13584 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13585 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13586 (__LC_IDENTIFICATION): Make these macros useful in #if
13587 expressions, as required by C99.
13588
135892012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13590
13591 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13592 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13593 after this.
13594
135952012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13596
13597 * stdlib/longlong.h: Updated from GCC.
13598
135992012-05-09 Andreas Jaeger <aj@suse.de>
13600
13601 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13602 default is first entry.
13603 (run_mode): Set type.
13604 (main): Remove informal message about syslog.
13605 (options): Fix typo.
13606
13607 [BZ #14053]
13608 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13609 to asm.
13610 (lrint): Likewise.
13611 (llrintf): Likewise.
13612 (llrint): Likewise.
13613 (rint): Likewise.
13614 (rintf): Likewise.
13615 (nearbyint): Likewise.
13616 (nearbyintf): Likewise.
13617
136182012-05-09 Andreas Jaeger <aj@suse.de>
13619 Pedro Alves <palves@redhat.com>
13620
13621 * nscd/nscd.c (run_mode): Use enum.
13622 (main): Cleanup coding style issue.
13623
136242012-05-09 Alexandre Oliva <aoliva@redhat.com>
13625 Andreas Jaeger <aj@suse.de>
13626
13627 * nscd/nscd.c (go_background): Replaced with...
13628 (run_mode): ... this.
13629 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13630 (options): Add -F --foreground.
13631 (main): Implement it.
13632 (parse_opt): Parse it.
13633
136342012-05-09 Andreas Jaeger <aj@suse.de>
13635
13636 [BZ #14083]
13637 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13638 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13639 -Wconversion warning.
13640 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13641 Likewise.
13642
136432012-05-09 Joseph Myers <joseph@codesourcery.com>
13644
13645 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13646 == 0.
13647 (LC_ALL): Use macro-int-constant.
13648 (LC_COLLATE): Likewise.
13649 (LC_CTYPE): Likewise.
13650 (LC_MESSAGES): Likewise.
13651 (LC_MONETARY): Likewise.
13652 (LC_NUMERIC): Likewise.
13653 (LC_TIME): Likewise.
13654 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13655 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13656 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13657 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13658 Specify type.
13659 [C99-based standards] (float_t): Expect type.
13660 [C99-based standards] (double_t): Expect type.
13661 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13662 type.
13663 [C99-based standards] (HUGE_VALL): Likewise.
13664 [C99-based standards] (INFINITY): Likewise.
13665 [C99-based standards] (NAN): Likewise.
13666 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13667 [C99-based standards] (FP_NAN): Likewise.
13668 [C99-based standards] (FP_NORMAL): Likewise.
13669 [C99-based standards] (FP_SUBNORMAL): Likewise.
13670 [C99-based standards] (FP_ZERO): Likewise.
13671 [C99-based standards] (FP_FAST_FMA): Use
13672 optional-macro-int-constant. Specify type. Require == 1.
13673 [C99-based standards] (FP_FAST_FMAF): Likewise.
13674 [C99-based standards] (FP_FAST_FMAL): Likewise.
13675 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13676 [C99-based standards] (FP_ILOGBNAN): Likewise.
13677 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13678 Specify type.
13679 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13680 [C99-based standards] (math_errhandling): Specify type.
13681 [ISO99 || ISO11] (signgam): Do not allow.
13682 [non-C99-based standards] (copysignf): Do not allow.
13683 [non-C99-based standards] (exp2f): Likewise.
13684 [non-C99-based standards] (log2f): Likewise.
13685 [non-C99-based standards] (modff): Allow.
13686 [non-C99-based standards] (erff): Do not allow.
13687 [non-C99-based standards] (erfcf): Likewise.
13688 [non-C99-based standards] (gammaf): Likewise.
13689 [non-C99-based standards] (hypotf): Likewise.
13690 [non-C99-based standards] (j0f): Likewise.
13691 [non-C99-based standards] (j1f): Likewise.
13692 [non-C99-based standards] (jnf): Likewise.
13693 [non-C99-based standards] (lgammaf): Likewise.
13694 [non-C99-based standards] (tgammaf): Likewise.
13695 [non-C99-based standards] (y0f): Likewise.
13696 [non-C99-based standards] (y1f): Likewise.
13697 [non-C99-based standards] (ynf): Likewise.
13698 [non-C99-based standards] (isnanf): Likewise.
13699 [non-C99-based standards] (acoshf): Likewise.
13700 [non-C99-based standards] (asinhf): Likewise.
13701 [non-C99-based standards] (atanhf): Likewise.
13702 [non-C99-based standards] (cbrtf): Likewise.
13703 [non-C99-based standards] (expm1f): Likewise.
13704 [non-C99-based standards] (ilogbf): Likewise.
13705 [non-C99-based standards] (log1pf): Likewise.
13706 [non-C99-based standards] (logbf): Likewise.
13707 [non-C99-based standards] (nextafterf): Likewise.
13708 [non-C99-based standards] (remainderf): Likewise.
13709 [non-C99-based standards] (rintf): Likewise.
13710 [non-C99-based standards] (scalbf): Likewise.
13711 [non-C99-based standards] (copysignl): Likewise.
13712 [non-C99-based standards] (exp2l): Likewise.
13713 [non-C99-based standards] (log2l): Likewise.
13714 [non-C99-based standards] (modfl): Allow.
13715 [non-C99-based standards] (erfl): Do not allow.
13716 [non-C99-based standards] (erfcl): Likewise.
13717 [non-C99-based standards] (gammal): Likewise.
13718 [non-C99-based standards] (hypotl): Likewise.
13719 [non-C99-based standards] (j0l): Likewise.
13720 [non-C99-based standards] (j1l): Likewise.
13721 [non-C99-based standards] (jnl): Likewise.
13722 [non-C99-based standards] (lgammal): Likewise.
13723 [non-C99-based standards] (tgammal): Likewise.
13724 [non-C99-based standards] (y0l): Likewise.
13725 [non-C99-based standards] (y1l): Likewise.
13726 [non-C99-based standards] (ynl): Likewise.
13727 [non-C99-based standards] (isnanl): Likewise.
13728 [non-C99-based standards] (acoshl): Likewise.
13729 [non-C99-based standards] (asinhl): Likewise.
13730 [non-C99-based standards] (atanhl): Likewise.
13731 [non-C99-based standards] (cbrtl): Likewise.
13732 [non-C99-based standards] (expm1l): Likewise.
13733 [non-C99-based standards] (ilogbl): Likewise.
13734 [non-C99-based standards] (log1pl): Likewise.
13735 [non-C99-based standards] (logbl): Likewise.
13736 [non-C99-based standards] (nextafterl): Likewise.
13737 [non-C99-based standards] (remainderl): Likewise.
13738 [non-C99-based standards] (rintl): Likewise.
13739 [non-C99-based standards] (scalbl): Likewise.
13740 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13741 [non-C99-based standards] (FP_*): Do not allow.
13742 [C99-based standards] (FP_*): Change to
13743 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13744 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13745 allow.
13746 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13747 (SIG_ERR): Likewise.
13748 [X/Open-based standards] (SIG_HOLD): Likewise.
13749 (SIG_IGN): Likewise.
13750 (SIGABRT): Use macro-int-constant. Specify type. Require
13751 positive value.
13752 (SIGFPE): Likewise.
13753 (SIGILL): Likewise.
13754 (SIGINT): Likewise.
13755 (SIGSEGV): Likewise.
13756 (SIGTER): Likewise.
13757 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13758 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13759 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13760 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13761 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13762 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13763 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13764 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13765 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13766 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13767 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13768 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13769 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13770 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13771 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13772 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13773 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13774 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13775 [X/Open-based standards] (SIGTRAP): Likewise.
13776 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13777 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13778 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13779 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13780 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13781 allow.
13782
137832012-05-08 Ian Wienand <ianw@vmware.com>
13784
13785 [BZ #14080]
13786 * time/tzset.c (__tzset_parse_tz): Update default rules for
13787 daylight time changes in the Energy Policy Act of 2005.
13788
137892012-05-09 Andreas Jaeger <aj@suse.de>
13790
13791 [BZ #13983]
13792 * elf/ldconfig.c (parse_conf): Change string to make clear that
13793 ldconfig only issued a warning if ld.so.conf does not exist.
13794
137952012-05-08 David S. Miller <davem@davemloft.net>
13796
13797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13798 movxtod instead of popping the value on the stack.
13799
13800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13801
138022012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13803
13804 * config.h.in: Add HAVE_ARM_PCS_VFP.
13805
138062012-05-08 Roland Mc Grath <roland@hack.frob.com>
13807
13808 [BZ #13979]
13809 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13810 checking but the checks are disabled for any reason.
13811
138122012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13813
13814 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13815 and ELF64_R_TYPE with ELFW(R_TYPE).
13816
138172012-05-08 Joseph Myers <joseph@codesourcery.com>
13818
13819 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13820 (ulimit): Likewise.
13821
13822 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13823 (settimeofday): Likewise.
13824
138252012-05-08 Mike Frysinger <vapier@gentoo.org>
13826
13827 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13828 a struct th_u2 inside the union, and move tu_block/tu_code into
13829 a new th_u3 union of tu_block/tu_code inside of that. Move
13830 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13831 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13832 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13833 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13834 (th_stuff): Change to th_u1.tu_stuff.
13835 (th_data): Define.
13836 (th_msg): Change to th_u1.th_u2.tu_data.
13837
138382012-05-07 David S. Miller <davem@davemloft.net>
13839
13840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13841
13842 [BZ #14074]
13843 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13844 (SETUP_PIC_REG): Use it.
13845 (SETUP_PIC_REG_LEAF): Use it.
13846
138472012-05-07 Joseph Myers <joseph@codesourcery.com>
13848
13849 [BZ #13885]
13850 [BZ #13923]
13851 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13852 USE_AS_EXPM1L.
13853 (EXPL_FINITE): Likewise.
13854 (FLDLOG): Likewise.
13855 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13856 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13857 e_expl.S.
13858 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13859 USE_AS_EXPM1L.
13860 (EXPL_FINITE): Likewise.
13861 (FLDLOG): Likewise.
13862 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13863 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13864 e_expl.S.
13865 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13866 test of -max_value argument for long double.
13867 * sysdeps/i386/fpu/libm-test-ulps: Update.
13868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13869
138702012-05-06 David S. Miller <davem@davemloft.net>
13871
13872 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13873 quad soft-float symbols whose references which are compiler
13874 generated.
13875 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13876
138772012-05-06 Joseph Myers <joseph@codesourcery.com>
13878
13879 [BZ #13884]
13880 [BZ #13914]
13881 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13882 USE_AS_EXP10L.
13883 (EXPL_FINITE): Likewise.
13884 (FLDLOG): Likewise.
13885 (c0): Likewise.
13886 (c1): Likewise.
13887 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13888 Adjust comments for base varying.
13889 (__expl_finite): Change alias to EXPL_FINITE.
13890 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13891 e_expl.S.
13892 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13893 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13895 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13896 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13897 USE_AS_EXP10L.
13898 (EXPL_FINITE): Likewise.
13899 (FLDLOG): Likewise.
13900 (c0): Likewise.
13901 (c1): Likewise.
13902 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13903 Adjust comments for base varying.
13904 (__expl_finite): Change alias to EXPL_FINITE.
13905 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13906 tests for bugs.
13907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13908
13909 [BZ #14064]
13910 * math/libm-test.inc (check_float_internal): Correct ulp
13911 calculation for subnormal expected results.
13912
139132012-05-06 Andreas Jaeger <aj@suse.de>
13914
13915 * Makeconfig (+math-flags): New, set to -frounding-math.
13916 (+cflags): Add +math-flags so that all of glibc gets compiled with
13917 it.
13918
13919 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13920
139212012-05-05 Joseph Myers <joseph@codesourcery.com>
13922
13923 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13924 Disable one test.
13925
13926 [BZ #13787]
13927 [BZ #13922]
13928 [BZ #14036]
13929 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13930 (__ieee754_expl): Allow for and saturate large arguments.
13931 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13932 (u_threshold): Likewise.
13933 (__exp): Call __ieee754_exp before checking for overflow and
13934 underflow.
13935 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13936 (u_threshold): Likewise.
13937 (__expf): Call __ieee754_expf before checking for overflow and
13938 underflow.
13939 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13940 (u_threshold): Likewise.
13941 (__expl): Call __ieee754_expl before checking for overflow and
13942 underflow.
13943 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13944 (__ieee754_expl): Allow for and saturate large arguments.
13945 * math/libm-test.inc (exp_test): Add another test. Do not allow
13946 missing overflow exception on overflow.
13947 (expm1_test): Do not allow missing overflow exception on overflow.
13948
13949 * sysdeps/i386/fpu/e_expl.c: Move to ...
13950 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13951 rather than using inline asm.
13952 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13953 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13954 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13955
13956 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13957 (nice): Likewise.
13958 (poll): Likewise.
13959 (signal): Likewise.
13960 (time): Likewise.
13961 (times): Likewise.
13962
139632012-05-04 Joseph Myers <joseph@codesourcery.com>
13964
13965 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13966 sysdeps/unix/common/syscalls.list.
13967 (fchmod): Likewise.
13968 (fchown): Likewise.
13969 (ftruncate): Likewise.
13970 (getrusage): Likewise.
13971 (gettimeofday): Likewise.
13972 (setpgid): Likewise.
13973 (setregid): Likewise.
13974 (setreuid): Likewise.
13975 (sigaction): Likewise.
13976 (truncate): Likewise.
13977 (vhangup): Likewise.
13978 * sysdeps/unix/common/syscalls.list: Remove file.
13979 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13980 * sysdeps/unix/sysv/linux/Implies: Likewise.
13981
139822012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13983
13984 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13986 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13987 Moved to ...
13988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13989 Here.
13990 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13991 to ...
13992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13993 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13994 to ...
13995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13996 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13997 to ...
13998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13999 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14000 to ...
14001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14002 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14003 to ...
14004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14005 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14006 to ...
14007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14008 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14009 to ...
14010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14011 Here.
14012 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14013 to ...
14014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14015 Here.
14016 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14017 to ...
14018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14019 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14020 Moved to ...
14021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14022 Here.
14023 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14024 to ...
14025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14026
140272012-05-04 Joseph Myers <joseph@codesourcery.com>
14028
14029 * sysdeps/unix/common/bits/dirent.h: Remove file.
14030 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14031
14032 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14033 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14034 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14035 * sysdeps/unix/bsd/isatty.c: Likewise.
14036 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14037 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14038 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14039
140402012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14041
14042 [BZ #13563]
14043 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14044 long double comparison inaccuracies.
14045 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14047
140482012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14049
14050 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14052
140532012-05-04 Joseph Myers <joseph@codesourcery.com>
14054
14055 [BZ #14049]
14056 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14057 nonzero digits before rounding a hex value.
14058 * stdlib/tst-strtod.c (tests): Add another test.
14059
140602012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14061
14062 * sysdeps/s390/fpu/libm-test-ulps: Update.
14063
140642012-05-03 Andreas Jaeger <aj@suse.de>
14065
14066 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14067 does not get optimized out.
14068 (malloc_opt_barrier): New.
14069
140702012-05-03 Andreas Jaeger <aj@suse.de>
14071 Roland McGrath <roland@hack.frob.com>
14072
14073 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14074 intermediate file deletion.
14075 (generated): Add .symlist files.
14076
140772012-05-03 Joseph Myers <joseph@codesourcery.com>
14078
14079 [BZ #13775]
14080 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14081 Redirect under this condition.
14082 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14083 [__USE_GNU] (__dprintf_chk): Not under this condition.
14084 [__USE_GNU] (__vdprintf_chk): Likewise.
14085 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14086 under this condition.
14087 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14088 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14089 [__USE_XOPEN2K8] (vdprintf): Likewise.
14090 [__USE_GNU] (__dprintf_chk): Not under this condition.
14091 [__USE_GNU] (__vdprintf_chk): Likewise.
14092 [__USE_GNU] (dprintf): Likewise.
14093 [__USE_GNU] (vdprintf): Likewise.
14094
140952012-05-03 Roland McGrath <roland@hack.frob.com>
14096
14097 * elf/Makefile (common-generated): Set this instead of generated for
14098 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14099 $(all-built-dso)-derived lists.
14100
141012012-05-03 Andreas Jaeger <aj@suse.de>
14102
14103 * sysdeps/i386/fpu/libm-test-ulps: Update.
14104
14105 * FAQ: Removed.
14106 * FAQ.in: Likewise.
14107 * scripts/gen-FAQ.pl: Likewise.
14108 * manual/install.texi (Installation): Point to online location of
14109 FAQ.
14110 * Makefile (files-for-dist): Remove FAQ.
14111 (FAQ): Remove.
14112
141132012-05-02 Allan McRae <allan@archlinux.org>
14114
14115 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14116 (LDFLAGS-reldepmod5.so): Likewise.
14117 (LDFLAGS-reldep6mod1.so): Likewise.
14118 (LDFLAGS-reldep6mod4.so): Likewise.
14119 (LDFLAGS-reldep8mod3.so): Likewise.
14120 (LDFLAGS-unload4mod1.so): Likewise.
14121 (LDFLAGS-unload4mod2.so): Likewise.
14122 (LDFLAGS-tst-initorder): Likewise.
14123 (LDFLAGS-tst-initordera2.so): Likewise.
14124 (LDFLAGS-tst-initordera3.so): Likewise.
14125 (LDFLAGS-tst-initordera4.so): Likewise.
14126 (LDFLAGS-tst-initorderb2.so): Likewise.
14127 (LDFLAGS-noload): Likewise.
14128 (LDFLAGS-next): Likewise.
14129 (LDFLAGS-order2mod1.so): Likewise.
14130 (LDFLAGS-order2mod2.so): Likewise.
14131 (LDFLAGS-tst-initorder2): Likewise.
14132 (LDFLAGS-tst-initorder2a.so): Likewise.
14133 (LDFLAGS-tst-initorder2b.so): Likewise.
14134 (LDFLAGS-tst-initorder2c.so): Likewise.
14135 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14136
141372012-05-02 David S. Miller <davem@davemloft.net>
14138
14139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14140
141412012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14142
14143 [BZ #14055]
14144 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14145
141462012-05-02 Andreas Jaeger <aj@suse.de>
14147
14148 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14149 since we manipulate rounding mode.
14150 (CPPFLAGS-test-idouble.c): Likewise.
14151 (CPPFLAGS-test-ifloat.c): Likewise.
14152 (CFLAGS-test-ldouble.c): Likewise.
14153 (CFLAGS-test-double.c): Likewise.
14154 (CFLAGS-test-float.c): Likewise.
14155 (CFLAGS-test-misc.c): Likewise.
14156 (CFLAGS-test-test-fenv.c): Likewise.
14157
141582012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14159
14160 [BZ #2550]
14161 [BZ #2570]
14162 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14163 comparisons to determine direction to adjust input.
14164
141652012-05-01 Roland McGrath <roland@hack.frob.com>
14166
14167 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14168 output to the target.
14169
14170 * scripts/localplt.awk: New file.
14171 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14172 (check-localplt-CFLAGS): Variable removed.
14173 ($(all-built-dso:=.jmprel)): New static pattern rule.
14174 (generated): Add those targets.
14175 (localplt-built-dso): New variable.
14176 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14177
14178 * elf/check-localplt.c: File removed.
14179
14180 * scripts/check-execstack.awk: New file.
14181 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14182 (check-execstack-CFLAGS): Variable removed.
14183 ($(objpfx)check-execstack.h): Target removed.
14184 ($(objpfx)execstack-default): New target.
14185 (generated): Add that instead of check-execstack.h.
14186 ($(all-built-dso:=.phdr)): New static pattern rule.
14187 (generated): Add those targets.
14188 * elf/check-execstack.c: File removed.
14189
14190 * scripts/check-textrel.awk: New file.
14191 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14192 (check-textrel-CFLAGS): Variable removed.
14193 (all-built-dso): Use := to define.o
14194 ($(all-built-dso:=.dyn)): New static pattern rule.
14195 (generated): Add those targets.
14196 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14197 * config.make.in (READELF): New substituted variable.
14198 * elf/check-textrel.c: File removed.
14199
142002012-05-01 Joseph Myers <joseph@codesourcery.com>
14201
14202 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14203 allow.
14204 * conform/data/ctype.h-data [C99-based standards] (isblank):
14205 Expect function.
14206 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14207 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14209 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14210 Specify type. Require positive value.
14211 (EILSEQ): Likewise.
14212 (ERANGE): Likewise.
14213 [ISO || POSIX] (EILSEQ): Do not expect.
14214 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14215 Specify type. Require positive value.
14216 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14217 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14218 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14219 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14220 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14221 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14222 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14223 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14224 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14225 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14226 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14227 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14228 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14229 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14230 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14231 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14232 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14233 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14234 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14235 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14236 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14237 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14238 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14239 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14240 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14241 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14242 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14243 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14244 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14245 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14246 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14247 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14248 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14249 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14250 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14251 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14252 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14253 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14254 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14255 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14256 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14257 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14258 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14259 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14260 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14261 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14262 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14263 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14264 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14265 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14266 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14267 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14268 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14269 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14270 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14271 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14272 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14273 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14274 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14275 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14276 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14277 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14278 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14279 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14280 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14281 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14282 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14283 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14284 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14285 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14286 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14287 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14288 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14289 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14290 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14291 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14292 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14293 Require >= 2.
14294 (FLT_ROUNDS): Expect as macro, not constant.
14295 (FLT_MANT_DIG): Use macro-int-constant.
14296 (DBL_MANT_DIG): Likewise.
14297 (LDBL_MANT_DIG): Likewise.
14298 (FLT_DIG): Likewise.
14299 (DBL_DIG): Likewise.
14300 (LDBL_DIG): Likewise.
14301 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14302 (DBL_MIN_EXP): Likewise.
14303 (LDBL_MIN_EXP): Likewise.
14304 (FLT_MAX_EXP): Use macro-int-constant.
14305 (DBL_MAX_EXP): Likewise.
14306 (LDBL_MAX_EXP): Likewise.
14307 (FLT_MAX_10_EXP): Likewise.
14308 (DBL_MAX_10_EXP): Likewise.
14309 (LDBL_MAX_10_EXP): Likewise.
14310 (FLT_MAX): Use macro-constant.
14311 (DBL_MAX): Likewise.
14312 (LDBL_MAX): Likewise.
14313 (FLT_EPSILON): Use macro-constant. Give upper bound.
14314 (DBL_EPSILON): Likewise.
14315 (LDBL_EPSILON): Likewise.
14316 (FLT_MIN): Likewise.
14317 (DBL_MIN): Likewise.
14318 (LDBL_MIN): Likewise.
14319 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14320 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14321 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14322 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14323 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14324 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14325 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14326 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14327 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14328 [ISO11] (FLT_TRUE_MIN): Likewise.
14329 [ISO11] (LDBL_TRUE_MIN): Likewise.
14330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14331 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14332 (SCHAR_MIN): Use macro-int-constant. Specify type.
14333 (SCHAR_MAX): Likewise.
14334 (UCHAR_MAX): Likewise.
14335 (CHAR_MIN): Likewise.
14336 (CHAR_MAX): Likewise.
14337 (MB_LEN_MAX): Use macro-int-constant.
14338 (SHRT_MIN): Use macro-int-constant. Specify type.
14339 (SHRT_MAX): Likewise.
14340 (USHRT_MAX): Likewise.
14341 (INT_MAX): Likewise.
14342 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14343 bound negative.
14344 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14345 bound with "U".
14346 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14347 bound with "L".
14348 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14349 bound negative. Suffix upper bound with "L".
14350 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14351 bound with "UL".
14352 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14353 Specify type.
14354 [C99-based standards] (LLONG_MAX): Likewise.
14355 [C99-based standards] (ULLONG_MAX): Likewise.
14356 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14357 == 0.
14358 [ISO11] (max_align_t): Require type.
14359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14360
14361 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14362 from $CFLAGS, without defining away __attribute__ calls.
14363 (checknamespace): Use $CFLAGS_namespace.
14364
14365 * conform/conformtest.pl (@keywords): Only include C99 keywords
14366 for standards based on C99 or C11.
14367
14368 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14369 Disable tests.
14370 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14371 UNIX98]: Likewise.
14372
14373 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14374 usability of symbols in #if.
14375
14376 * conform/conformtest.pl: If macro or constant types start
14377 "promoted:", expect the symbol to be of the following type
14378 promoted by the integer promotions.
14379
14380 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14381 in one place. Also handle "macro-constant".
14382
14383 * conform/conformtest.pl: Only accept expected macro values with
14384 "==". Parse all "macro" lines in one place.
14385 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14386
14387 * conform/conformtest.pl: Handle braced types on "constant" lines
14388 instead of handling "typed-constant".
14389 * conform/data/signal.h-data: Use "constant" instead of
14390 "typed-constant".
14391
14392 * conform/conformtest.pl: Handle "optional-" at start of lines in
14393 one place rather than duplicating several cases. Handle each
14394 format of "macro" line with initial "optional-".
14395
14396 * conform/conformtest.pl: Only accept expected constant or
14397 optional-constant values with "==". Parse all "constant" lines in
14398 one place. Parse all "optional-constant" lines in one place.
14399 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14400 * conform/data/fmtmsg.h-data: Likewise.
14401 * conform/data/netinet/in.h-data: Likewise.
14402 * conform/data/tar.h-data: Likewise.
14403 * conform/data/limits.h-data: Use "==" form on "constant" and
14404 "optional-constant" lines.
14405
14406 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14407 Use -std=c99 for XOPEN2K.
14408 (@knownproblems): Remove.
14409 (newtoken): Don't check %isknown.
14410
14411 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14412 Do not expect macro.
14413 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14414 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14415 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14416 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14417 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14418 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14419 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14420 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14421 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14422 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14423 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14424 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14425 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14426 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14427 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14428 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14429 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14430 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14431 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14432 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14433 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14434 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14435 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14436 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14437 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14438 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14439 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14440 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14441 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14442 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14443 [XPG3] (acosh): Likewise.
14444 [XPG3] (asinh): Likewise.
14445 [XPG3] (atanh): Likewise.
14446 [XPG3] (cbrt): Likewise.
14447 [XPG3] (expm1): Likewise.
14448 [XPG3] (ilogb): Likewise.
14449 [XPG3] (log1p): Likewise.
14450 [XPG3] (logb): Likewise.
14451 [XPG3] (nextafter): Likewise.
14452 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14453 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14454 [XPG3] (remainder): Likewise.
14455 [XPG3] (rint): Likewise.
14456 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14457 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14458 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14459 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14460 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14461 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14462 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14463 [UNIX98 || XOPEN2K] (scalb): Expect.
14464 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14465 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14466 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14467 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14468 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14469 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14470 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14471 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14472 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14473 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14474 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14475 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14476 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14477 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14478 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14479 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14480 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14481 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14482 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14483 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14484 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14485 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14486 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14487 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14488 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14489 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14490 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14491 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14492 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14493 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14494 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14495 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14496 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14497 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14498 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14499 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14500 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14501 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14502 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14503 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14504 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14505 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14506 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14507 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14508 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14509 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14510 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14511 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14512 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14513 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14514 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14515 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14516 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14517 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14518 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14519 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14520 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14521 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14522 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14523 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14524 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14525 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14526 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14527 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14528 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14529 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14530 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14531 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14532 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14533 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14534 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14535 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14536 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14537 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14538 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14539 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14540 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14541 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14542 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14543 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14544 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14545 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14546 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14547 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14548 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14549 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14550 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14551 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14552 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14553 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14554 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14555 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14556 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14557 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14558 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14559 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14560 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14561 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14562 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14563 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14564 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14565 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14566 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14567 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14568 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14569 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14570 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14571 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14572 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14573 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14574 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14575 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14576 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14577 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14578 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14579 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14580 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14581 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14582 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14583 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14584 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14585 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14586 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14587 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14588 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14589 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14590 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14591 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14592 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14593 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14594 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14595 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14596 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14597 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14598 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14599 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14600 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14601
14602 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14603 _XOPEN_SOURCE_EXTENDED for XPG4.
14604
14605 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14606
14607 * Makeconfig (localtime): Remove variable.
14608 (inst_localtime-file): Likewise.
14609
146102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14611
14612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14613 Update.
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14615 Update.
14616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14617 Update.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14619 Update.
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14621 Update.
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14623 Update.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14625 Update.
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14627 Update.
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14629 Update.
14630
146312012-05-01 Joseph Myers <joseph@codesourcery.com>
14632
14633 [BZ #2550]
14634 [BZ #2570]
14635 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14636 comparisons to determine direction to adjust input.
14637 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14638 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14639 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14640 Likewise.
14641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14642 Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14644 Likewise.
14645 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14646 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14647 Likewise.
14648 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14649 Likewise.
14650 * math/libm-test.inc (nexttoward_test): Add more tests.
14651
146522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14653
14654 [BZ #14040]
14655 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14656 in version GLIBC_2.1, not GLIBC_2.0.
14657 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14658 Likewise.
14659
146602012-04-30 Joseph Myers <joseph@codesourcery.com>
14661
14662 [BZ #13942]
14663 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14664 (1 - x) * (1 + x).
14665 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14666 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14667 * math/libm-test.inc (acos_test): Add more tests.
14668 (asin_test): Likewise.
14669 * sysdeps/i386/fpu/libm-test-ulps: Update.
14670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14671
14672 [BZ #14034]
14673 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14674 of square root.
14675 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14676 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14677 * math/libm-test.inc (acos_test_tonearest): New function.
14678 (acos_test_towardzero): Likewise.
14679 (acos_test_downward): Likewise.
14680 (acos_test_upward): Likewise.
14681 (asin_test_tonearest): Likewise.
14682 (asin_test_towardzero): Likewise.
14683 (asin_test_downward): Likewise.
14684 (asin_test_upward): Likewise.
14685 (main): Call the new functions.
14686 * sysdeps/i386/fpu/libm-test-ulps: Update.
14687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14688
14689 [BZ #13884]
14690 [BZ #13924]
14691 * math/e_exp10.c: Include <float.h>.
14692 (__ieee754_exp10): Handle underflow here rather than multiplying
14693 large negative argument by M_LN10.
14694 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14695 of __ieee754_expf.
14696 * math/e_exp10l.c: Include <float.h>.
14697 (__ieee754_exp10l): Handle underflow here rather than multiplying
14698 large negative argument by M_LN10l.
14699 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14700 spurious overflow exception on underflow.
14701
147022012-04-29 Marek Polacek <polacek@redhat.com>
14703
14704 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14705 (__fortify_function): New macro.
14706 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14707 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14708 __extern_always_inline.
14709 * libio/bits/stdio2.h: Likewise.
14710 * libio/bits/stdio.h: Likewise.
14711 * string/string.h: Likewise.
14712 * string/bits/string3.h: Likewise.
14713 * include/stdio.h: Likewise.
14714 * stdlib/bits/stdlib.h: Likewise.
14715 * stdlib/stdlib.h: Likewise.
14716 * rt/bits/mqueue2.h: Likewise.
14717 * rt/mqueue.h: Likewise.
14718 * posix/bits/unistd.h: Likewise.
14719 * posix/unistd.h: Likewise.
14720 * io/bits/poll2.h: Likewise.
14721 * io/bits/fcntl2.h: Likewise.
14722 * io/fcntl.h: Likewise.
14723 * io/sys/poll.h: Likewise.
14724 * misc/bits/syslog.h: Likewise.
14725 * misc/bits/syslog-ldbl.h: Likewise.
14726 * misc/sys/syslog.h: Likewise.
14727 * socket/bits/socket2.h: Likewise.
14728 * socket/sys/socket.h: Likewise.
14729 * debug/tst-chk1.c: Likewise.
14730 * wcsmbs/bits/wchar2.h: Likewise.
14731 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14732 * wcsmbs/wchar.h: Likewise.
14733
147342012-04-29 Andreas Jaeger <aj@suse.de>
14735
14736 * Makerules (tests): Remove enable-check-abi protection.
14737 (check-abi-warn): Remove.
14738 (check-abi-%): Remove check-abi-warn usage.
14739
14740 * configure.in: Remove check-abi configure option.
14741 * configure: Regenerated.
14742 * config.make.in (enable-check-abi): Remove.
14743
147442012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14745
14746 [BZ #14033]
14747 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14748 double functions to double *_finite functions.
14749
14750 [BZ #13941]
14751 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14752 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14753 LDBL_MIN_EXP.
14754 * stdio-common/Makefile (tests): Add tst-sprintf3.
14755 * stdio-common/tst-sprintf3.c: New file.
14756
14757 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14758 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14759
147602012-04-28 Joseph Myers <joseph@codesourcery.com>
14761
14762 * conform/conformtest.pl: Remove duplicate typed-constant
14763 handling.
14764
147652012-04-28 David S. Miller <davem@davemloft.net>
14766
14767 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14768 (check-abi-%): Remove AWK script prerequisite and explicit
14769 abilist directory.
14770 (check-abi): Rewrite to just diff the symlist with the abilist.
14771 (config-tls, config-abi-config): Delete, no longer used.
14772 (update-abi-%): Remove AWK script and explicit abilist directory.
14773 (update-abi): Rewrite to simply compare and conditionally copy the
14774 symlist and the sysdep abilist file. Remove update-abi-config
14775 checks.
14776 * abilist/ld.abilist: Remove.
14777 * abilist/libBrokenLocale.abilist: Remove.
14778 * abilist/libanl.abilist: Remove.
14779 * abilist/libcrypt.abilist: Remove.
14780 * abilist/libdl.abilist: Remove.
14781 * abilist/librt.abilist: Remove.
14782 * abilist/libthread_db.abilist: Remove.
14783 * abilist/libutil.abilist: Remove.
14784 * scripts/extract-abilist.awk: Remove.
14785 * scripts/merge-abilist.awk: Remove.
14786 * sysdeps/generic/libcidn.abilist: New file.
14787 * sysdeps/generic/libnss_compat.abilist: New file.
14788 * sysdeps/generic/libnss_db.abilist: New file.
14789 * sysdeps/generic/libnss_dns.abilist: New file.
14790 * sysdeps/generic/libnss_files.abilist: New file.
14791 * sysdeps/generic/libnss_hesiod.abilist: New file.
14792 * sysdeps/generic/libnss_nis.abilist: New file.
14793 * sysdeps/generic/libnss_nisplus.abilist: New file.
14794 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14795 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14796 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14797 file.
14798 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14799 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14800 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14801 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14802 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14803 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14804 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14805 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14806 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14807 file.
14808 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14809 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14810 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14811 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14812 file.
14813 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14814 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14815 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14816 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14817 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14818 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14819 file.
14820 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14821 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14822 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14823 file.
14824 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14826 New file.
14827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14828 New file.
14829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14830 New file.
14831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14832 New file.
14833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14834 New file.
14835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14836 New file.
14837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14838 New file.
14839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14840 New file.
14841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14842 New file.
14843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14844 New file.
14845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14846 New file.
14847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14848 New file.
14849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14850 New file.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14852 file.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14854 New file.
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14856 New file.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14858 file.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14860 New file.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14862 New file.
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14864 file.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14866 New file.
14867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14868 New file.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14870 New file.
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14872 New file.
14873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14874 New file.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14876 New file.
14877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14879 file.
14880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14881 New file.
14882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14883 file.
14884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14885 file.
14886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14887 file.
14888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14889 file.
14890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14891 file.
14892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14893 New file.
14894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14895 file.
14896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14897 file.
14898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14899 New file.
14900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14901 file.
14902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14904 file.
14905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14906 New file.
14907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14908 file.
14909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14910 file.
14911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14912 file.
14913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14914 file.
14915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14916 file.
14917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14918 New file.
14919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14920 file.
14921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14922 file.
14923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14924 New file.
14925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14926 file.
14927 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14928 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14929 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14930 file.
14931 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14932 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14933 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14934 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14935 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14936 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14937 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14938 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14939 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14940 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14943 file.
14944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14945 New file.
14946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14947 file.
14948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14949 file.
14950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14951 file.
14952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14953 file.
14954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14955 file.
14956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14957 New file.
14958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14959 New file.
14960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14961 file.
14962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14963 New file.
14964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14965 file.
14966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14968 file.
14969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14970 New file.
14971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14972 file.
14973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14974 file.
14975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14976 file.
14977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14978 file.
14979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14980 file.
14981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14982 New file.
14983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14984 New file.
14985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14986 file.
14987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14988 New file.
14989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14990 file.
14991
149922012-04-28 Joseph Myers <joseph@codesourcery.com>
14993
14994 * conform/conformtest.pl: Fix typo in handling typed-constant from
14995 allow-header.
14996
149972012-04-27 Joseph Myers <joseph@codesourcery.com>
14998
14999 * README: Cut down references to pre-2.6 Linux kernels and
15000 Linuxthreads. Update lists of configurations in libc and ports
15001 and sort alphabetically. Say "or newer" with Linux kernel version
15002 requirements.
15003
15004 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15005
150062012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15007
15008 [BZ #887]
15009 * math/libm-test.inc (logb_test_downward): New test to expose
15010 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15011 rounding mode.
15012
150132012-04-27 Joseph Myers <joseph@codesourcery.com>
15014
15015 [BZ #14027]
15016 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15017 to be done.
15018 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15019 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15020
150212012-04-26 Joseph Myers <joseph@codesourcery.com>
15022
15023 * sysdeps/unix/i386/brk.S: Remove file.
15024 * sysdeps/unix/i386/dl-brk.S: Likewise.
15025 * sysdeps/unix/i386/pipe.S: Likewise.
15026 * sysdeps/unix/i386/sigreturn.S: Likewise.
15027 * sysdeps/unix/i386/syscall.S: Likewise.
15028 * sysdeps/unix/i386/vfork.S: Likewise.
15029 * sysdeps/unix/i386/wait.S: Likewise.
15030
15031 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15032 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15033
15034 * configure.in (arm*-none*): Do not allow without
15035 --enable-hacker-mode.
15036 (netbsd*): Remove case setting base_os.
15037 (386bsd*): Likewise.
15038 (freebsd*): Likewise.
15039 (bsdi*): Likewise.
15040 (osf*): Likewise.
15041 (sunos*): Likewise.
15042 (ultrix*): Likewise.
15043 (newsos*): Likewise.
15044 (dynix*): Likewise.
15045 (*bsd*): Likewise.
15046 (sysv*): Likewise.
15047 (isc*): Likewise.
15048 (esix*): Likewise.
15049 (sco*): Likewise.
15050 (minix*): Likewise.
15051 (irix4*): Likewise.
15052 (irix6*): Likewise.
15053 (solaris[2-9]*): Likewise.
15054 (none): Likewise.
15055 * configure: Regenerated.
15056
150572012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15058
15059 [BZ #11521]
15060 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15061 overflow or cancellation in calculating denominator.
15062 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15064 down expression to avoid unexpected rounding in newer GCCs.
15065 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15066
150672012-04-26 David S. Miller <davem@davemloft.net>
15068
15069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15070 long-double compat symbols.
15071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15084
150852012-04-25 David S. Miller <davem@davemloft.net>
15086
15087 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15088 HWCAP_* values only after the memory barriers have been defined.
15089 (atomic_full_barrier): Define.
15090 (atomic_read_barrier): Define.
15091 (atomic_write_barrier): Define.
15092
150932012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15094
15095 * shlib-versions: Add libgcc_s version information.
15096 * sysdeps/generic/libgcc_s.h: Remove.
15097 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15098 libgcc_s.h.
15099 * sysdeps/gnu/unwind-resume.c: Likewise.
15100 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15101
151022012-04-25 David S. Miller <davem@davemloft.net>
15103
15104 * sysdeps/unix/sparc/brk.S: Delete.
15105 * sysdeps/unix/sparc/dl-brk.S: Delete.
15106 * sysdeps/unix/sparc/pipe.S: Delete.
15107 * sysdeps/unix/sparc/sysdep.S: Delete.
15108 * sysdeps/unix/sparc/sysdep.h: Delete.
15109 * sysdeps/unix/sparc/vfork.S: Delete.
15110 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15111 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15112 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15113 ret_ERRVAL, r0, r1, MOVE): Define.
15114 (JUMPTARGET): Remove.
15115 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15116 sysdeps/unix/sparc/sysdep.h
15117 (ENTRY, END): Remove.
15118 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15119
151202012-04-25 Joseph Myers <joseph@codesourcery.com>
15121
15122 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15123 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15124 -DIS_IN_build.
15125
15126 * timezone/README: Update upstream location and email address for
15127 tzcode and tzdata.
15128 * timezone/zdump.c: Update from tzcode 2012b.
15129 * timezone/zic.c: Likewise.
15130
15131 * configure.in (libc_cv_as_needed): Remove test.
15132 * configure: Regenerated.
15133 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15134 conditional definition.
15135 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15136 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15137 * config.make.in (have-as-needed): Remove variable.
15138
151392012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15140 Paul Pluzhnikov <ppluzhnikov@google.com>
15141
15142 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15143 strings correctly.
15144
151452012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15146
15147 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15148 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15149 * sysdeps/sh/strlen.S: Likewise.
15150
151512012-04-24 Joseph Myers <joseph@codesourcery.com>
15152
15153 * sysdeps/unix/fork.S: Remove file.
15154 * sysdeps/unix/i386/fork.S: Likewise.
15155 * sysdeps/unix/sparc/fork.S: Likewise.
15156
15157 * sysdeps/unix/system.c: Remove file.
15158 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15159
15160 * sysdeps/unix/getegid.S: Remove file.
15161 * sysdeps/unix/geteuid.S: Likewise.
15162
151632012-04-24 Roland McGrath <roland@hack.frob.com>
15164
15165 * scripts/check-localplt.awk: New file.
15166 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15167 of diff.
15168 * scripts/data/localplt-generic.data: Add a comment.
15169
15170 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15171 NODE when __dir_mkfile failed.
15172 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15173 Reported by Ludovic Courtès <ludo@gnu.org>.
15174
151752012-04-24 Andreas Jaeger <aj@suse.de>
15176
15177 * Makerules (common-clean): Also remove gen-as-const-headers
15178 files.
15179
151802012-04-24 Joseph Myers <joseph@codesourcery.com>
15181
15182 * Makerules (native-compile): Do not change working directory for
15183 build. Use $(OUTPUT_OPTION) in command.
15184 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15185
151862012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15187
15188 [BZ #13886]
15189 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15190 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15191 * math/libm-test.inc (floor_test): Add more tests.
15192 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15193
151942012-04-24 Joseph Myers <joseph@codesourcery.com>
15195
15196 * sysdeps/unix/getdents.c: Remove file.
15197 * sysdeps/unix/sysv/getdents.c: Likewise.
15198 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15199
15200 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15201 sysdeps/unix/mman/syscalls.list.
15202 (mmap): Likewise.
15203 (mprotect): Likewise.
15204 (msync): Likewise.
15205 (munmap): Likewise.
15206 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15207 * sysdeps/unix/mman/syscalls.list: Remove.
15208 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15209
15210 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15211 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15212 * configure: Regenerated.
15213 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15214 $(libgcc_s_suffix).
15215 * config.make.in (libgcc_s_suffix): Remove variable.
15216
152172012-04-23 Joseph Myers <joseph@codesourcery.com>
15218
15219 * sysdeps/unix/sysv/gethostname.c: Move to ...
15220 * sysdeps/posix/gethostname.c: ... here.
15221
15222 * sysdeps/unix/execve.S: Remove file.
15223
15224 * sysdeps/unix/_exit.S: Remove file.
15225
152262012-04-23 Andreas Jaeger <aj@suse.de>
15227
15228 [BZ #13739]
15229 * manual/Makefile: Remove make dist support, there's no
15230 need for a stand-alone documentation tar ball.
15231 (TEXI2DVI): Define always, it's not in Makeconfig.
15232 (dist): Removed.
15233 (tar-it): Removed.
15234 (edition): Removed.
15235 (glibc-doc-$(edition).tar): Removed
15236 (%.Z): Removed.
15237 (%.gz): Removed.
15238 (%.uu): Removed.
15239 (ETAGS): Remove, it's in Makeconfig.
15240 (move-if-change): Remove, it's in Makeconfig.
15241
152422012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15243
15244 [BZ #13970]
15245 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15246 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15247 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15248 (strtod_l, strtof_l, strtold_l): Remove __wur.
15249 It is not necessarily an error to ignore strtol's return value.
15250 One can reliably look at the stored endptr to decide whether
15251 the number had valid syntax.
15252
152532012-04-21 Andreas Jaeger <aj@suse.de>
15254
15255 [BZ #13739]
15256 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15257
152582012-04-21 Joseph Myers <joseph@codesourcery.com>
15259
15260 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15261 * sysdeps/unix/sysv/Versions: Remove file.
15262
152632012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15264
15265 [BZ #13927]
15266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15267
152682012-04-21 Nick Alcock <nick.alcock@oracle.com>
15269
15270 [BZ #7064]
15271 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15272 version from __vm86.
15273
152742012-04-20 Joseph Myers <joseph@codesourcery.com>
15275
15276 * sysdeps/unix/common/lxstat.c: Remove file.
15277 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15278
15279 * sysdeps/unix/sysv/Makefile: Remove file.
15280
15281 * sysdeps/unix/sysv/direct.h: Remove file.
15282
15283 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15284 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15285 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15286 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15287 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15288 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15289 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15290
15291 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15292
15293 * sysdeps/unix/xmknod.c: Remove file.
15294 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15295
15296 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15297
15298 * sysdeps/unix/sysv/i386/time.S: Remove file.
15299
15300 * sysdeps/unix/fxstat.c: Remove file.
15301 * sysdeps/unix/xstat.c: Likewise.
15302 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15303
15304 * sysdeps/unix/sysv/sigaction.c: Remove file.
15305
15306 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15307 (sysdep_headers): Remove variable.
15308 [termio.h not in sysdep_headers] (generated): Likewise.
15309 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15310 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15311 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15312 * sysdeps/unix/sysv/tcflow.c: Likewise.
15313 * sysdeps/unix/sysv/tcflush.c: Likewise.
15314 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15315 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15316 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15317 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15318 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15319
15320 * sysdeps/unix/siglist.c: Remove file.
15321
15322 * sysdeps/unix/getppid.S: Remove file.
15323
15324 * sysdeps/unix/mkdir.c: Remove file.
15325 * sysdeps/unix/rmdir.c: Likewise.
15326
153272012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15328
15329 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15330 ERR_MAX value.
15331 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15332 errlist-compat value.
15333
153342012-04-18 David S. Miller <davem@davemloft.net>
15335
15336 * sysdeps/generic/memcopy.h (reg_char): Delete.
15337 * debug/strcat_chk.c: Use char, not reg_char.
15338 * debug/strcpy_chk.c: Likewise.
15339 * debug/strncat_chk.c: Likewise.
15340 * debug/strncpy_chk.c: Likewise.
15341 * string/memchr.c: Likewise.
15342 * string/memrchr.c: Likewise.
15343 * string/rawmemchr.c: Likewise.
15344 * string/strcat.c: Likewise.
15345 * string/strchr.c: Likewise.
15346 * string/strchrnul.c: Likewise.
15347 * string/strcmp.c: Likewise.
15348 * string/strcpy.c: Likewise.
15349 * string/strncat.c: Likewise.
15350 * string/strncmp.c: Likewise.
15351 * string/strncpy.c: Likewise.
15352
153532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15354
15355 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15356 __builtin_memcopy is called when src and dest ranges are known to not
15357 overlap.
15358
153592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15360
15361 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15362 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15363 fwd_align_merge macro call.
15364 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15365 bwd_align_merge macro call.
15366 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15367
153682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15369
15370 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15371 bwd_align_merge macros.
15372 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15373 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15374 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15375
153762012-04-18 David S. Miller <davem@davemloft.net>
15377
15378 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15379
153802012-04-18 Andreas Jaeger <aj@suse.de>
15381
15382 [BZ# 6794]
15383 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15384 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15385 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15386
15387 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15388 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15389 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15390
15391 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15392 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15393 Adjust for changed ldbl-128 files.
15394
15395 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15396 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15397 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15398
153992012-04-17 David S. Miller <davem@davemloft.net>
15400
15401 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15402
154032012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15404
15405 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15406 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15407 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15408 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15409 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15410 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15411
154122012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15413
15414 [BZ #6794]
15415 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15416 * math/libm-test.inc: Add ilogb errno and exception tests.
15417 * math/w_ilogb.c: New file: ilogb wrapper.
15418 * math/w_ilogbf.c: New file: ilogbf wrapper.
15419 * math/w_ilogbl.c: New file: ilogbl wrapper.
15420 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15421 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15422 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15423 exception being thrown with 0.0 as argument.
15424 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15425 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15426 exception being thrown with 0.0 as argument.
15427 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15428 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15429 exception being thrown with 0.0 as argument.
15430 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15431 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15432 exception being thrown with 0.0 as argument.
15433 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15434 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15435 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15436 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15437 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15438 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15439 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15440 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15441 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15442
154432012-04-17 Petr Baudis <pasky@ucw.cz>
15444
15445 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15446 with altivec.
15447
154482012-04-16 Marek Polacek <polacek@redhat.com>
15449
15450 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15451
154522012-04-16 Marek Polacek <polacek@redhat.com>
15453
15454 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15455 operands of fdivp instruction.
15456
154572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15458
15459 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15460 * elf/tst-auditmod3b.c: Likewise.
15461 * elf/tst-auditmod4b.c: Likewise.
15462 * elf/tst-auditmod5b.c: Likewise.
15463 * elf/tst-auditmod6b.c: Likewise.
15464 * elf/tst-auditmod6c.c: Likewise.
15465 * elf/tst-auditmod7b.c: Likewise.
15466 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15467 * sysdeps/x86_64/preconfigure.in: Likewise.
15468 * sysdeps/x86_64/preconfigure: Regenerated.
15469
154702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15473 __ILP32__.
15474
154752012-04-13 Antoine Balestrat <merkil33@gmail.com>
15476
15477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15478 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15479
154802012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15481
15482 [BZ #13973]
15483 * locale/iso-639.def: Fix gl language name. Spotted by
15484 Yaron Shahrabani.
15485
154862012-04-12 Roland McGrath <roland@hack.frob.com>
15487
15488 [BZ #2074]
15489 * libio/libio.h (__io_write_fn): Update comment.
15490
154912012-04-12 Petr Baudis <pasky@ucw.cz>
15492
15493 [BZ #2074]
15494 * stdio.texi (Hook Functions): The user provided writer function
15495 is not allowed to return -1.
15496
154972012-04-11 David S. Miller <davem@davemloft.net>
15498
15499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15500
155012012-04-11 Mike Frysinger <vapier@gentoo.org>
15502
15503 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15504 Add a leading slash to rtkaio.
15505
155062012-04-11 Jim Meyering <meyering@redhat.com>
15507
15508 [BZ #11959]
15509 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15510 It is not necessarily an error to ignore fwrite's return
15511 value. One can reliably use ferror to test for errors after
15512 the fact.
15513
155142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15515
15516 * bits/types.h (__snseconds_t): New type.
15517 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15518
15519 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15520 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15521 (__SNSECONDS_T_TYPE): Likewise.
15522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15523 (__SNSECONDS_T_TYPE): Likewise.
15524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15525 (__SNSECONDS_T_TYPE): Likewise.
15526
155272012-04-10 Andreas Jaeger <aj@suse.de>
15528
15529 [BZ #2636]
15530 * manual/time.texi (Processor Time): Return type of times is
15531 elapsed real time since an arbitrary point in the past.
15532 (CPU Time): Move CLK_TCK from here...
15533 (Processor Time): ...to here. Correct description.
15534 * manual/conf.texi (Constants for Sysconf): Correct description of
15535 _SC_CLK_TCK.
15536
155372012-04-10 David S. Miller <davem@davemloft.net>
15538
15539 [BZ #13967]
15540 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15541 where the is a gap between DT_REL(A) and DT_JMPREL.
15542
155432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15544
15545 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15546 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15547 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15548
155492012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15550
15551 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15552 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15553 (dl_main): Handle --inhibit-cache.
15554 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15555 _dl_inhibit_cache.
15556 * elf/dl-load.c (_dl_map_object): Use it.
15557 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15558
155592012-04-09 Joseph Myers <joseph@codesourcery.com>
15560
15561 [BZ #13872]
15562 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15563 (__ieee754_powl): Saturate large exponents rather than testing for
15564 overflow of y*log2(x).
15565 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15566 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15567 exceptions.
15568
15569 [BZ #11521]
15570 * math/s_ctan.c: Include <float.h>.
15571 (__ctan): Avoid internal overflow or cancellation in calculating
15572 denominator.
15573 * math/s_ctanf.c: Likewise.
15574 * math/s_ctanl.c: Likewise.
15575 * math/s_ctanh.c: Likewise.
15576 * math/s_ctanhf.c: Likewise.
15577 * math/s_ctanhl.c: Likewise.
15578 * math/libm-test.inc (ctan_test): Add more tests.
15579 (ctanh_test): Likewise.
15580 * sysdeps/i386/fpu/libm-test-ulps: Update.
15581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15582
155832012-04-09 Andreas Jaeger <aj@suse.de>
15584
15585 [BZ #6894]
15586 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15587 is an optional BSD extension.
15588
15589 [BZ #10254]
15590 * manual/stdio.texi (Opening Streams): Document additional fopen
15591 parameters.
15592
155932012-04-09 Roland McGrath <roland@hack.frob.com>
15594
15595 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15596 %eax without telling the compiler.
15597
155982012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15599
15600 [BZ # 13963]
15601 * manual/install.texi: Use sourceware.org.
15602
156032012-04-09 Joseph Myers <joseph@codesourcery.com>
15604
15605 [BZ #13873]
15606 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15607 (__ieee754_pow): Generate overflow and underflow using huge*huge
15608 and tiny*tiny rather than just returning constant infinity or zero
15609 for large exponents.
15610 * math/libm-test.inc (pow_test): Require overflow exceptions for
15611 applicable cases of large exponents.
15612
15613 [BZ #706]
15614 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15615 (__ieee754_pow): Use iterative multiplication algorithm only for
15616 integer exponents with absolute value below 1024. Check for odd
15617 integer exponents when using algorithm for real exponents.
15618 * math/libm-test.inc (pow_test): Add more tests.
15619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15620
156212012-04-08 Joseph Myers <joseph@codesourcery.com>
15622
15623 [BZ #13705]
15624 * math/libm-test.inc (exp_test): Do not allow overflow exception
15625 on underflow test.
15626
156272012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15628
15629 [BZ #13705]
15630 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15631 instead of __kernel_standard_f.
15632
156332012-04-08 Mike Frysinger <vapier@gentoo.org>
15634
15635 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15636 * sysdeps/x86_64/memset_chk.S: Likewise.
15637
156382012-04-08 Andreas Jaeger <aj@suse.de>
15639
15640 [BZ #10153]
15641 * manual/startup.texi (Environment Access): Describe return value
15642 for putenv and setenv.
15643
15644 [BZ #6895]
15645 * manual/filesys.texi (Directory Entries): Add description for
15646 DT_LNK.
15647
15648 [BZ #6890]
15649 * manual/filesys.texi (Directory Entries): Clarify that it's file
15650 system not operating system in the description of DT_UNKNOWN.
15651
15652 [BZ #6578]
15653 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15654
156552012-04-08 Stephen Compall <s11@member.fsf.org>
15656
15657 [BZ #6649]
15658 * manual/llio.texi (Opening and Closing Files): Add cross
15659 reference to explain mode argument.
15660
156612012-04-07 Mike Frysinger <vapier@gentoo.org>
15662
15663 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15664 * sysdeps/x86_64/memset_chk.S: Likewise.
15665
156662012-04-07 David S. Miller <davem@davemloft.net>
15667
15668 * elf/elf.h (R_SPARC_WDISP10): Define.
15669 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15670 R_SPARC_SIZE32.
15671 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15672 R_SPARC_SIZE64 and R_SPARC_H34.
15673
156742012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15675
15676 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15677 conditions and remove no longer applicable assertion.
15678
156792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15680
15681 * bits/byteswap.h: Include <features.h>.
15682 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15683 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15684
156852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15686
15687 * bits/byteswap.h (__bswap_16): Removed.
15688 Include <bits/byteswap-16.h> to get __bswap_16.
15689 * sysdeps/i386/bits/byteswap.h: Likewise.
15690 * sysdeps/s390/bits/byteswap.h: Likewise.
15691 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15692 * bits/byteswap-16.h: New file.
15693 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15694 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15695 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15696 * string/Makefile (headers): Add bits/byteswap-16.h.
15697
156982012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15699
15700 [BZ #13895]
15701 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15702 extra indirection.
15703 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15704 * nss/tst-nss-static.c: New.
15705
157062012-04-06 Robert Millan <rmh@gnu.org>
15707
15708 [BZ #6486]
15709 * manual/llio.texi (File Position Primitive): lseek
15710 refers to WHENCE when it really means OFFSET.
15711
157122012-04-06 Andreas Jaeger <aj@suse.de>
15713
15714 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15715 strncmp declarations.
15716
15717 * abilist/libc.abilist: Add __poll and __ppoll.
15718
157192012-04-05 David S. Miller <davem@davemloft.net>
15720
15721 * scripts/check-local-headers.sh: Accept a host triplet in the
15722 path matched by the exclude regexp.
15723
15724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15725 definition.
15726 * sysdeps/powerpc/powerpc32/dl-machine.h
15727 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15728 * sysdeps/s390/s390-32/dl-machine.h
15729 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15730 * sysdeps/sparc/sparc32/dl-machine.h
15731 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15732 * sysdeps/sparc/sparc64/dl-machine.h
15733 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15734
15735 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15736 lazy binding.
15737 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15738 undefined symbol errors.
15739
15740 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15741 DT_NEEDED entries.
15742
157432012-04-05 Michael Matz <matz@suse.de>
15744
15745 [BZ #13592]
15746 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15747
157482012-04-05 Andreas Jaeger <aj@suse.de>
15749
15750 [BZ #13908]
15751 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15752 comment.
15753
157542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15755
15756 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15757 which ROUND is no valid rounding mode.
15758
157592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15760
15761 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15762 read again.
15763 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15764
157652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15766
15767 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15768 an exception using FPU order intentionally.
15769
157702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15771
15772 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15773 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15774 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15775 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15776
157772012-04-05 Simon Josefsson <simon@josefsson.org>
15778
15779 [BZ #12340]
15780 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15781 EINVAL when BUFLEN is too smal.
15782
157832012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15784
15785 [BZ #13553]
15786 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15787 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15788
157892012-04-03 Andreas Jaeger <aj@suse.de>
15790
15791 [BZ #13938]
15792 * manual/setjmp.texi (System V contexts): Fix sentence.
15793
15794 [BZ #13926]
15795 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15796 New macro for this case.
15797 [!__GNUC__] (__bswap_64): New inline function for this case.
15798 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15799 * bits/byteswap.h: Likewise.
15800 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15801 ull, guard with __GLIBC_HAVE_LONG_LONG.
15802
15803 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15804 __GLIBC_HAVE_LONG_LONG.
15805
15806 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15807 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15808
158092012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15810
15811 [BZ #13691]
15812 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15813 inptr and inend, rather than using last_ch.
15814
158152012-04-02 David S. Miller <davem@davemloft.net>
15816
15817 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15818 * stdio-common/printf-parse.h (read_int): Change return type to
15819 'int', return -1 on INT_MAX overflow.
15820 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15821 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15822 overflows INT_MAX. Check for overflow of in-format-string precision
15823 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15824 SIZE_MAX not INT_MAX for integer overflow test.
15825 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15826 skip the construct in the format string but do not record anything.
15827 * stdio-common/bug22.c: Adjust to test both width/prevision
15828 INT_MAX overflow as well as total length INT_MAX overflow. Check
15829 explicitly for proper errno values.
15830
158312012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15832
15833 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15834 CHAR_MAX.
15835 * string/test-strcmp.c [! WIDE]: Likewise.
15836 * time/tst-mktime2.c: Likewise for INT_MAX.
15837 * string/test-string.h: #include <sys/param.h> for MIN.
15838
15839 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15840 * sysdeps/i386/init-first.c (init): Likewise.
15841 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15842 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15843 * sysdeps/sh/init-first.c (init): Likewise.
15844
158452012-04-01 Ulrich Drepper <drepper@gmail.com>
15846
15847 * po/ru.po: Update from translation team.
15848 * po/vi.po: Likewise.
15849
158502012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15851
15852 * resolv/nss_dns/dns-host.c: Merge copyright years.
15853
158542012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15855
15856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15857 Optimize memcpy with prefetch if
15858 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15859 src, dst pointers have unequal 16 byte alignments.
15860
158612012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15862
15863 [BZ #13928]
15864 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15865 from a CNAME entry and return the minimum ttl for the query.
15866 (gaih_getanswer_slice): Likewise.
15867
158682012-03-30 Jeff Law <law@redhat.com>
15869
15870 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15871 due to long keys.
15872 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15873 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15874
15875 * resolv/nss_dns/dns-host.c: Update copyright year.
15876
158772012-03-30 Ulrich Drepper <drepper@gmail.com>
15878
15879 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15880 requests to save a system call. Fix check that all bytes are sent.
15881
15882 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15883 comments for sendmmsg.
15884
158852012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15886
15887 [BZ #13691]
15888 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15889 with only 1 character between 0x0041 and 0x01b0.
15890 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15891 * wcsmbs/tst-mbsnrtowcs.c: New file.
15892
158932012-03-29 David S. Miller <davem@davemloft.net>
15894
15895 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15896 small copies by hand.
15897
158982012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15899
15900 [BZ #13761]
15901 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15902 _nss_compat_initgroups_dyn): Fall back to malloc/free
15903 for large group memberships.
15904
159052012-03-28 David S. Miller <davem@davemloft.net>
15906
15907 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15908 that branches into memcpy.
15909 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15910 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15911 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15912 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15914 bits.
15915 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15916 implementation too.
15917 * sysdeps/sparc/mempcpy.S: New file.
15918
15919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15920 the IFUNC routine in the libc case.
15921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15922
15923 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15924 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15925 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15926 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15927 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15928 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15929 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15930 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15931
15932 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15933 loop to 256 bytes instead of 64 bytes and fix test signedness.
15934
15935 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15936 * sysdeps/sparc/sparc32/Makefile: rather than here...
15937 * sysdeps/sparc/sparc64/Makefile: and here.
15938
159392012-03-28 Ulrich Drepper <drepper@gmail.com>
15940
15941 * malloc/mallocbug.c: Avoid warnings about unused variables.
15942
159432012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15944
15945 [BZ #13760]
15946 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15947 in the right place. Discard and retry query if response is
15948 larger than input buffer size.
15949
159502012-03-28 Joseph Myers <joseph@codesourcery.com>
15951
15952 [BZ #369]
15953 [BZ #2678]
15954 [BZ #3866]
15955 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15956 x for large integer exponent.
15957 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15958 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15959 sign of result as needed afterwards.
15960 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15961 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15962 result for underflowing pow the same as for overflow.
15963 (__kernel_standard_l): Handle powl overflow and underflow here
15964 rather than calling __kernel_standard.
15965 * math/libm-test.inc (pow_test): Add more tests.
15966
15967 [BZ #3868]
15968 [BZ #13879]
15969 [BZ #13910]
15970 [BZ #13911]
15971 [BZ #13912]
15972 [BZ #13913]
15973 [BZ #13915]
15974 [BZ #13916]
15975 [BZ #13917]
15976 [BZ #13918]
15977 [BZ #13919]
15978 [BZ #13920]
15979 [BZ #13921]
15980 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15981 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15982 (__kernel_standard_l): New function.
15983 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15984 __kernel_standard.
15985 * math/w_acosl.c (__acosl): Likewise.
15986 * math/w_asinl.c (__asinl): Likewise.
15987 * math/w_atan2l.c (__atan2l): Likewise.
15988 * math/w_atanhl.c (__atanhl): Likewise.
15989 * math/w_coshl.c (__coshl): Likewise.
15990 * math/w_exp10l.c (__exp10l): Likewise.
15991 * math/w_exp2l.c (__exp2l): Likewise.
15992 * math/w_fmodl.c (__fmodl): Likewise.
15993 * math/w_hypotl.c (__hypotl): Likewise.
15994 * math/w_j0l.c (__j0l, __y0l): Likewise.
15995 * math/w_j1l.c (__j1l, __y1l): Likewise.
15996 * math/w_jnl.c (__jnl, __ynl): Likewise.
15997 * math/w_lgammal.c (__lgammal): Likewise.
15998 * math/w_log10l.c (__log10l): Likewise.
15999 * math/w_log2l.c (__log2l): Likewise.
16000 * math/w_logl.c (__logl): Likewise.
16001 * math/w_powl.c (__powl): Likewise.
16002 * math/w_remainderl.c (__remainderl): Likewise.
16003 * math/w_scalbl.c (sysv_scalbl): Likewise.
16004 * math/w_sinhl.c (__sinhl): Likewise.
16005 * math/w_sqrtl.c (__sqrtl): Likewise.
16006 * math/w_tgammal.c (__tgammal): Likewise.
16007 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16008 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16009 * math/libm-test.inc (acos_test): Add more tests.
16010 (acosh_test): Likewise.
16011 (asin_test): Likewise.
16012 (atanh_test): Likewise.
16013 (exp_test): Likewise.
16014 (exp10_test): Likewise.
16015 (exp2_test): Likewise.
16016 (expm1_test): Likewise.
16017 (lgamma_test): Likewise.
16018 (log_test): Likewise.
16019 (log10_test): Likewise.
16020 (log1p_test): Likewise.
16021 (log2_test): Likewise.
16022 (pow_test): Do not allow some spurious overflow exceptions.
16023 (sqrt_test): Add more tests.
16024 (tgamma_test): Likewise.
16025 (y0_test): Likewise.
16026 (y1_test): Likewise.
16027 (yn_test): Likewise.
16028
160292012-03-27 Anton Blanchard <anton@samba.org>
16030
16031 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16032 MAP_HUGETLB.
16033 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16034 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16035 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16036
160372012-03-27 David S. Miller <davem@davemloft.net>
16038
16039 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16040
16041 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16042 have-as-vis3 check.
16043
160442012-03-27 Andreas Jaeger <aj@suse.de>
16045
16046 * sysdeps/x86_64/elf/configure.in: Moved to ...
16047 * sysdeps/x86_64/configure.in: ... here.
16048 * sysdeps/x86_64/elf/start.S: Moved to ...
16049 * sysdeps/x86_64/start.S: ... here.
16050 * sysdeps/x86_64/elf/configure: Delete.
16051
16052 * sysdeps/x86_64/configure.in: Merge contents from
16053 sysdeps/i386/configure.in (without i686 check).
16054
16055 * sysdeps/i386/elf/Versions: Merge into ...
16056 * sysdeps/i386/Versions: ... this.
16057 * sysdeps/i386/elf/Versions: Delete file.
16058 * sysdeps/i386/elf/start.S: Moved to ...
16059 * sysdeps/i386/start.S: ...here.
16060 * sysdeps/i386/elf/configure.in: Merge into...
16061 * sysdeps/i386/configure.in: ...here.
16062 * sysdeps/i386/elf/configure.in: Delete file.
16063 * sysdeps/i386/elf/configure: Delete file.
16064
16065 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16066 * debug/backtracesyms.c: ... here.
16067 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16068 * debug/backtracesymsfd.c: ... here.
16069 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16070 * sysdeps/generic/ifunc-sel.h: ... here.
16071
16072 * sysdeps/unix/i386/start.c: Delete file.
16073 * sysdeps/unix/sparc/start.c: Delete file.
16074 * sysdeps/unix/start.c: Delete file.
16075
16076 * sysdeps/sh/elf/configure.in: Moved to ...
16077 * sysdeps/sh/configure.in: ... here.
16078 * sysdeps/sh/elf/start.S: Moved to ...
16079 * sysdeps/sh/start.S: ... here.
16080 * sysdeps/sh/elf/configure: Delete file.
16081
16082 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16083 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16084 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16085 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16086 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16087 * sysdeps/powerpc/powerpc64/start.S: here.
16088 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16089 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16090 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16091 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16092 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16093
16094 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16095 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16096 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16097 * sysdeps/powerpc/powerpc32/start.S: ... here.
16098 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16099 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16100 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16101
16102 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16103 * sysdeps/powerpc/ifunc-sel.h: ... here.
16104 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16105 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16106
16107 * sysdeps/sparc/elf/configure.in: Moved to ...
16108 * sysdeps/sparc/configure.in: ... here.
16109 * sysdeps/sparc/elf/configure: Delete file.
16110 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16111 * sysdeps/sparc/sparc32/start.S: ... here.
16112 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16113 * sysdeps/sparc/sparc64/start.S: ... here.
16114 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16115 * sysdeps/sparc/sparc32/Makefile: ... this.
16116 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16117 * sysdeps/sparc/sparc64/Makefile: ... this.
16118
16119 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16120 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16121 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16122 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16123 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16124 * sysdeps/s390/s390-32/setjmp.S: ... here.
16125 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16126 * sysdeps/s390/s390-32/configure.in: ... here.
16127 * sysdeps/s390/s390-32/elf/configure: Delete file.
16128 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16129 * sysdeps/s390/s390-32/start.S: ... here.
16130
16131 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16132 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16133 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16134 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16135 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16136 * sysdeps/s390/s390-64/setjmp.S: ... here.
16137 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16138 * sysdeps/s390/s390-64/configure.in: ... here
16139 * sysdeps/s390/s390-64/elf/configure: Delete file.
16140 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16141 * sysdeps/s390/s390-64/start.S: ... here.
16142 * sysdeps/s390/s390-64/elf/configure: Delete.
16143
16144 * configure.in: Remove support for elf directories in sysdeps.
16145
16146 * configure: Regenerated.
16147 * sysdeps/i386/configure: Regenerated.
16148 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16149 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16150 * sysdeps/s390/s390-32/configure: Regenerated.
16151 * sysdeps/s390/s390-64/configure: Regenerated.
16152 * sysdeps/sh/configure: Regenerated.
16153 * sysdeps/sparc/configure: Regenerated.
16154 * sysdeps/x86_64/configure: Regenerated.
16155
161562012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16157
16158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16159
16160 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16161 denormal result into account.
16162
161632012-03-25 Roland McGrath <roland@hack.frob.com>
16164
16165 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16166 Reported by Allan McRae <allan@archlinux.org>.
16167
161682012-03-23 Jeff Law <law@redhat.com>
16169
16170 * nss/getnssent.c (__nss_getent): Fix typo.
16171
161722012-03-23 David S. Miller <davem@davemloft.net>
16173
16174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16175
161762012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16177
16178 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16179 to pad to uint64_t for each field.
16180 (dl_tls_index): Replace unsigned long with uint64_t.
16181
161822012-03-23 Daniel Jacobowitz <dmj@google.com>
16183 Paul Pluzhnikov <ppluzhnikov@google.com>
16184
16185 [BZ #6528]
16186 * grp/Makefile (otherlibs): Don't set it.
16187 * inet/Makefile (otherlibs): Likewise.
16188 * login/Makefile (otherlibs): Likewise.
16189 * nscd/Makefile (otherlibs): Likewise.
16190 * posix/Makefile (otherlibs): Likewise.
16191 * pwd/Makefile (otherlibs): Likewise.
16192 * rt/Makefile (otherlibs): Likewise.
16193 * sunrpc/Makefile (otherlibs): Likewise.
16194 * nss/Makefile (otherlibs): Likewise.
16195 Add libnss_files to routines and static-only-routines.
16196 ($(objpfx)getent): Remove rule.
16197 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16198 static-only-routines.
16199
162002012-03-22 Joseph Myers <joseph@codesourcery.com>
16201
16202 [BZ #13892]
16203 * math/s_cexp.c: Include <float.h>.
16204 (__cexp): Handle exp result overflowing not necessarily
16205 overflowing both real and imaginary parts of result.
16206 * math/s_cexpf.c: Likewise.
16207 * math/s_cexpl.c: Likewise.
16208 * math/libm-test.inc (cexp_test): Add more tests.
16209 * sysdeps/i386/fpu/libm-test-ulps: Update.
16210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16211
162122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16213
16214 * include/link.h (ELFW): New macro.
16215 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16216 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16217
162182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16219
16220 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16221 with uint64_t.
16222
162232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16224
16225 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16226 declaration.
16227 (struct La_x32_retval): Likewise.
16228
162292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16230
16231 * sysdeps/x86_64/preconfigure.in: New file.
16232 * sysdeps/x86_64/preconfigure: New generated file.
16233
162342012-03-22 Joseph Myers <joseph@codesourcery.com>
16235
16236 [BZ #13824]
16237 * math/e_exp2l.c: Include <float.h>.
16238 (__ieee754_exp2l): Handle overflow and underflow cases
16239 separately. Only pass fractional part of argument to
16240 __ieee754_expl.
16241 * math/libm-test.inc (exp2_test): Add more tests.
16242
16243 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16244 negating x to take absolute value.
16245 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16246 Likewise.
16247 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16248 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16249 Likewise.
16250 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16251 computing low part if x was negated.
16252 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16253
162542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16255
16256 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16257 la_x32_gnu_pltexit.
16258 (pltexit): Cast int_retval to ptrdiff_t.
16259 * elf/tst-auditmod3b.c: Likewise.
16260 * elf/tst-auditmod4b.c: Likewise.
16261 * elf/tst-auditmod5b.c: Likewise.
16262 * elf/tst-auditmod6b.c: Likewise.
16263 * elf/tst-auditmod6c.c: Likewise.
16264 * elf/tst-auditmod7b.c: Likewise.
16265
16266 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16267 and x32_gnu_pltexit.
16268
16269 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16270 __ELF_NATIVE_CLASS.
16271 (La_x32_regs): New macro.
16272 (La_x32_retval): Likewise.
16273 (la_x32_gnu_pltenter): New function prototype.
16274 (la_x32_gnu_pltexit): Likewise.
16275
162762012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16277
16278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16279 exponent.
16280
16281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16282
16283 * configure.in (libc_cv_cc_nofma): Check for option to disable
16284 generation of FMA instructions.
16285 * configure: Regenerate.
16286 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16287 * sysdeps/ieee754/dbl-64/Makefile: New file.
16288 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16289 Remove brandred-fma4.
16290 (CFLAGS-brandred-fma4.c): Remove.
16291 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16292 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16293 define.
16294 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16295 define.
16296
162972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16298
16299 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16300 LLONG_MAX != LONG_MAX.
16301 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16302 (_fitoa_word): Likewise.
16303 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16304 LLONG_MAX != LONG_MAX.
16305 * stdio-common/_itowa.h: Include <_itoa.h>.
16306 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16307 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16308 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16309 only if not defined.
16310 (_ITOA_WORD_TYPE): Likewise.
16311 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16312 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16313
163142012-03-21 David S. Miller <davem@davemloft.net>
16315
16316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16317
163182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16319
16320 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16321 of x86_64 when setting libc_cv_slibdir, libdir and
16322 libc_cv_localedir.
16323 * sysdeps/unix/sysv/linux/configure: Regenerated.
16324
163252012-03-21 Joseph Myers <joseph@codesourcery.com>
16326
16327 * manual/lang.texi (Old Varargs): Remove section.
16328 (How Variadic): Update menu.
16329 (va_start): Do not mention varargs.h.
16330
163312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16332 Joseph Myers <joseph@codesourcery.com>
16333
16334 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16335 link test.
16336 * configure: Regenerated.
16337
163382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16339
16340 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16341 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16342 conformtest.pl
16343
163442012-03-21 Joseph Myers <joseph@codesourcery.com>
16345
16346 * NOTES: Remove.
16347 * Makefile (files-for-dist): Remove NOTES.
16348 (NOTES): Remove rule.
16349 * README: Don't refer to NOTES.
16350 * manual/creature.texi: Don't include macros.texi.
16351 * manual/intro.texi (creature.texi): Remove comment referring to
16352 NOTES.
16353
16354 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16355 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16356 * configure: Regenerated.
16357 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16358 LIBC_TRY_CC_OPTION.
16359 (libc_cv_as_i686): Likewise.
16360 (libc_cv_cc_avx): Likewise.
16361 (libc_cv_cc_sse2avx): Likewise.
16362 (libc_cv_cc_fma4): Likewise.
16363 (libc_cv_cc_novzeroupper): Likewise.
16364 * sysdeps/i386/configure: Regenerated.
16365
16366 [BZ #13883]
16367 * sysdeps/i386/fpu/s_cexp.S: Remove.
16368 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16369 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16370 * math/libm-test.inc (cexp_test): Add more tests.
16371 * sysdeps/i386/fpu/libm-test-ulps: Update.
16372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16373
163742012-03-21 Allan McRae <allan@archlinux.org>
16375
16376 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16377
163782012-03-21 Joseph Myers <joseph@codesourcery.com>
16379
16380 [BZ #13871]
16381 * math/w_exp2.c: Do not include <float.h>.
16382 (o_threshold, u_threshold): Remove.
16383 (__exp2): Calculate result before checking finiteness and calling
16384 __kernel_standard.
16385 * math/w_exp2f.c: Likewise.
16386 * math/w_exp2l.c: Likewise.
16387 * math/libm-test.inc (exp2_test): Require overflow exception for
16388 1e6 input.
16389
16390 [BZ #3866]
16391 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16392 range of signed 64-bit integers before using fistpll. Remove
16393 checks for whether integers fit in mantissa bits.
16394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16395 the range of signed 32-bit integers before using fistpl. Remove
16396 checks for whether integers fit in mantissa bits.
16397 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16398 (__ieee754_powl): Test for y outside the range of signed 64-bit
16399 integers before using fistpll. Reduce 64-bit values to 63-bit
16400 ones as needed.
16401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16402 divide-by-zero is raised for zero to large negative powers.
16403 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16404 (__ieee754_powl): Test for y outside the range of signed 64-bit
16405 integers before using fistpll. Reduce 64-bit values to 63-bit
16406 ones as needed.
16407 * math/libm-test.inc (pow_test): Add more tests.
16408
164092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16410
16411 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16412 <stdio-common/_itoa.h>.
16413 * debug/segfault.c: Likewise.
16414 * elf/dl-cache.c: Likewise.
16415 * elf/dl-minimal.c: Likewise.
16416 * elf/dl-misc.c: Likewise.
16417 * elf/dl-sysdep.c: Likewise.
16418 * elf/dl-version.c: Likewise.
16419 * elf/rtld.c: Likewise.
16420 * hurd/hurdsock.c: Likewise.
16421 * hurd/lookup-retry.c: Likewise.
16422 * malloc/malloc.c: Likewise.
16423 * malloc/mtrace.c: Likewise.
16424 * nscd/nscd_getgr_r.c: Likewise.
16425 * nscd/nscd_getpw_r.c: Likewise.
16426 * nscd/nscd_getserv_r.c: Likewise.
16427 * posix/getopt_init.c: Likewise.
16428 * posix/wordexp.c: Likewise.
16429 * stdio-common/_itoa.c: Likewise.
16430 * stdio-common/printf_fphex.c: Likewise.
16431 * stdio-common/vfprintf.c: Likewise.
16432 * string/_strerror.c: Likewise.
16433 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16434 * sysdeps/i386/i686/hp-timing.h: Likewise.
16435 * sysdeps/mach/_strerror.c: Likewise.
16436 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16437 * sysdeps/mach/hurd/sethostid.c: Likewise.
16438 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16439 * sysdeps/mach/xpg-strerror.c: Likewise.
16440 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16441 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16442 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16443 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16444 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16445 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16446 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16447 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16448 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16449 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16450 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16451 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16452 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16453 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16454 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16455 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16456 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16457 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16458 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16459 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16460 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16461
16462 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16463
16464 * stdio-common/_itoa.h: Moved to ...
16465 * sysdeps/generic/_itoa.h: Here.
16466
16467 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16468
16469 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16470 instead of "_itoa.h" and "_itowa.h".
16471 * stdio-common/vfprintf.: Likewise.
16472
164732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16474
16475 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16476 <bits/wordsize.h>.
16477 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16478 (__signbit): Likwise.
16479 (llrintf): Likwise.
16480 (llrint): Likwise.
16481
164822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16483
16484 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16485 __WORDSIZE != 64.
16486
164872012-03-20 Joseph Myers <joseph@codesourcery.com>
16488
16489 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16490 OVERFLOW_EXCEPTION_OK.
16491 * math/libm-test.inc ("Philosophy"): Update comment about
16492 exception testing.
16493 (OVERFLOW_EXCEPTION): Define.
16494 (OVERFLOW_EXCEPTION_OK): Likewise.
16495 (INVALID_EXCEPTION_OK): Renumber.
16496 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16497 (IGNORE_ZERO_INF_SIGN): Likewise.
16498 (test_exceptions): Handle FE_OVERFLOW.
16499 (exp10_test): Expect overflow exceptions.
16500 (exp2_test): Likewise.
16501 (expm1_test): Likewise.
16502 (nextafter_test): Likewise.
16503 (pow_test): Likewise.
16504 (scalbn_test): Likewise.
16505 (scalbln_test): Likewise.
16506
165072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16508
16509 * sysdeps/x86_64/bits/atomic.h
16510 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16511 64bit integer.
16512 (atomic_exchange_acq): Likewise.
16513 (__arch_exchange_and_add_body): Likewise.
16514 (__arch_add_body): Likewise.
16515 (atomic_add_negative): Likewise.
16516 (atomic_add_zero): Likewise.
16517
165182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16519
16520 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16521 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16522
165232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16524
16525 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16526 Check __x86_64__ instead of __WORDSIZE.
16527
165282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16529
16530 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16531
165322012-03-19 David S. Miller <davem@davemloft.net>
16533
16534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16535
16536 * sysdeps/sparc/fpu/fenv_private.h: New file.
16537 * sysdeps/sparc/fpu/math_private.h: Use it.
16538 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16539 Remove.
16540 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16541 (libc_feholdexcept_setroundl): Remove.
16542 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16543 Remove.
16544 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16545 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16546
165472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16548
16549 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16550 int64_t instead of long int.
16551 (INSERT_WORDS64): Likwise.
16552
165532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16554
16555 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16556 _Unwind_GetCFA return to _Unwind_Ptr first.
16557
165582012-03-19 Joseph Myers <joseph@codesourcery.com>
16559
16560 [BZ #13629]
16561 * math/s_clog.c: Include <float.h>.
16562 (__clog): Scale large or subnormal inputs.
16563 * math/s_clogf.c: Likewise.
16564 * math/s_clogl.c: Likewise.
16565 * math/s_clog10.c: Include <float.h>.
16566 (M_LOG10_2): Define.
16567 (__clog10): Scale large or subnormal inputs.
16568 * math/s_clog10f.c: Likewise.
16569 * math/s_clog10l.c: Likewise.
16570 * math/libm-test.inc (clog_test): Add more tests.
16571 (clog10_test): Likewise.
16572 * sysdeps/i386/fpu/libm-test-ulps: Update.
16573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16574
16575 [BZ #11451]
16576 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16577 x and y.
16578 * math/libm-test.inc (atan2_test): Add another test.
16579
16580 * Makerules (common-objdir-compile): Remove.
16581 * sysdeps/unix/Makefile (config-generated): Do not add
16582 $(unix-generated) to variable.
16583 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16584 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16585 Remove rule.
16586 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16587 Likewise.
16588 [generic bits/local_lim.h] (before-compile): Do not append to
16589 variable.
16590 [generic bits/local_lim.h] (common-generated): Likewise.
16591 [generic sys/param.h] (before-compile): Do not append to variable.
16592 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16593 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16594 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16595 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16596 include.
16597 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16598 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16599 [generic sys/param.h] ($(addprefix
16600 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16601 [generic sys/param.h] (common-generated): Do not append to
16602 variable.
16603 [generic sys/param.h] (sysdep_headers): Likewise.
16604 [generic bits/errno.h] (before-compile): Do not append to
16605 variable.
16606 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16607 rule.
16608 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16609 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16610 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16611 [generic bits/errno.h] (common-generated): Do not append to
16612 variable.
16613 [generic bits/ioctls.h] (before-compile): Do not append to
16614 variable.
16615 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16616 rule.
16617 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16618 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16619 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16620 rule.
16621 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16622 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16623 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16624 [generic bits/ioctls.h] (common-generated): Do not append to
16625 variable.
16626 [generic sys/syscall.h] (syscall.h): Remove variable.
16627 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16628 rule.
16629 [generic sys/syscall.h] (before-compile): Do not append to
16630 variable.
16631 [generic sys/syscall.h] (common-generated): Likewise.
16632 * sysdeps/unix/errnos-tmpl.c: Remove file.
16633 * sysdeps/unix/errnos.awk: Likewise.
16634 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16635 * sysdeps/unix/ioctls.awk: Likewise.
16636 * sysdeps/unix/mk-local_lim.c: Likewise.
16637 * sysdeps/unix/snarf-ioctls: Likewise.
16638
166392012-03-19 Richard Henderson <rth@twiddle.net>
16640
16641 * sysdeps/i386/fpu/fenv_private.h: New file.
16642 * sysdeps/i386/fpu/math_private.h: Use it.
16643 (math_opt_barrier, math_force_eval): Remove.
16644 (libc_feholdexcept_setround_53bit): Remove.
16645 (libc_feupdateenv_53bit): Remove.
16646 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16647 (math_opt_barrier, math_force_eval): Remove.
16648 (libc_feholdexcept): Remove.
16649 (libc_feholdexcept_setround): Remove.
16650 (libc_fetestexcept, libc_fesetenv): Remove.
16651 (libc_feupdateenv_test): Remove.
16652 (libc_feupdateenv, libc_feholdsetround): Remove.
16653 (libc_feresetround): Remove.
16654
16655 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16656 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16657
16658 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16659 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16660 (libc_feupdateenv_testl): New.
16661 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16662 (libc_feupdateenv_testf): New.
16663 (libc_feupdateenv): Use libc_feupdateenv_test.
16664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16666
16667 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16668 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16669 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16670 (libc_feresetround_noex): New.
16671 (libc_feresetround_noexf): New.
16672 (libc_feresetround_noexl): New.
16673 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16674 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16675 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16676 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16677 SET_RESTORE_ROUND.
16678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16680 (__cos): Likewise.
16681 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16682 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16683 SET_RESTORE_ROUND_NOEX.
16684 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16685 SET_RESTORE_ROUND_NOEXF.
16686 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16687 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16688 (libc_feholdsetroundf): New.
16689 (libc_feresetround, libc_feresetroundf): New.
16690
16691 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16692 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16693 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16694
16695 * sysdeps/generic/math_private.h: Include <fenv.h>.
16696 (default_libc_feholdexcept): New.
16697 (default_libc_feholdexcept_setround): New.
16698 (default_libc_fesetenv, default_libc_feupdateenv): New.
16699 (libc_feholdexcept): Only define if undefined.
16700 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16701 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16702 (libc_feholdexcept_setroundl): Likewise.
16703 (libc_feholdexcept_setround_53bit): Likewise.
16704 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16705 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16706 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16707 (libc_feupdateenv_53bit): Likewise.
16708 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16709 (libc_feholdexcept): Convert from macro to inline function.
16710 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16711 (libc_fesetenv, libc_feupdateenv): Likewise.
16712
16713 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16714 not previously defined.
16715 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16716 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16717 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16718 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16719 * sysdeps/ieee754/flt-32/math_private.h: New file.
16720 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16721 math_private.h below SET_FLOAT_WORD.
16722 (__isnan, __isinf_ns, __finite): Remove.
16723 (__isnanf, __isinf_nsf, __finitef): Remove.
16724
167252012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16726
16727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16728
167292012-03-17 David S. Miller <davem@davemloft.net>
16730
16731 [BZ #6471]
16732 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16733 for 2.16.
16734
167352012-03-16 David S. Miller <davem@davemloft.net>
16736
16737 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16738 warnings.
16739
16740 [BZ #6471]
16741 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16742 properly.
16743 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16744 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16745 sysdep_routines when subdir is sysvipc.
16746 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16747 __getshmlba helper.
16748
16749 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16750
167512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16752
16753 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16754 [__LP64__].
16755
167562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16757
16758 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16759 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16760 (__lround): Renamed to ...
16761 (__llround): This. Replace long int with long long int.
16762 Define lround functions as aliases of llround functions.
16763 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16764
167652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16766
16767 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16768 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16769 adresses to uintptr_t. Replace "long int" and "unsigned long
16770 int" with "greg_t" on va_arg.
16771
167722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16773
16774 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16775 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16776
16777 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16778 Move e_machine check before EI_CLASS check. Handle x32
16779 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16780 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16781 SKIP_EM_IA_64 and include
16782 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16783
16784 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16785 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16786 (add_system_dir): New macro.
16787
16788 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16789 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16790
167912012-03-16 Joseph Myers <joseph@codesourcery.com>
16792
16793 [BZ #2551]
16794 [BZ #2552]
16795 [BZ #2553]
16796 [BZ #2554]
16797 [BZ #2562]
16798 [BZ #2563]
16799 [BZ #2565]
16800 [BZ #2566]
16801 [BZ #2576]
16802 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16803 (y0): Likewise.
16804 * math/w_j0f.c (j0f): Likewise.
16805 (y0f): Likewise.
16806 * math/w_j0l.c (__j0l): Likewise.
16807 (__y0l): Likewise.
16808 * math/w_j1.c (j1): Likewise.
16809 (y1): Likewise.
16810 * math/w_j1f.c (j1f): Likewise.
16811 (y1f): Likewise.
16812 * math/w_j1l.c (__j1l): Likewise.
16813 (__y1l): Likewise.
16814 * math/w_jn.c (jn): Likewise.
16815 (yn): Likewise.
16816 * math/w_jnf.c (jnf): Likewise.
16817 (ynf): Likewise.
16818 * math/w_jnl.c (__jnl): Likewise.
16819 (__ynl): Likewise.
16820 * math/libm-test.inc (j0_test): Add more tests.
16821 (j1_test): Likewise.
16822 (jn_test): Likewise. Add trailing semicolon to existing test.
16823 (y0_test): Likewise.
16824 (y1_test): Likewise.
16825 * sysdeps/i386/fpu/libm-test-ulps: Update.
16826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16827
16828 [BZ #13851]
16829 [BZ #13854]
16830 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16831 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16832 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16833 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16834 (__tanl): Set errno for infinite argument.
16835 * sysdeps/i386/fpu/mptan.c: Remove.
16836 * sysdeps/i386/fpu/s_tan.S: Likewise.
16837 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16838 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16839 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16840 * math/libm-test.inc (tan_test): Add more tests and enable more
16841 tests for double and long double.
16842 * sysdeps/i386/fpu/libm-test-ulps: Update.
16843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16844
168452012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16846
16847 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16848 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16849
168502012-03-16 Roland McGrath <roland@hack.frob.com>
16851
16852 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16853 * configure.in: Use it for both main tree and add-ons.
16854 * configure: Regenerated.
16855
168562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16857
16858 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16859
168602012-03-16 Joseph Myers <joseph@codesourcery.com>
16861
16862 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16863 in comment.
16864
16865 [BZ #13851]
16866 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16867 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16871 infinite argument.
16872 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16873 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16874 != 0 for prec == 2.
16875 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16876 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16877 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16878 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16879 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16880 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16881 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16882 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16883 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16884 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16885 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16886 * math/libm-test.inc (cos_test): Add more tests and enable more
16887 tests for long double.
16888 (sin_test): Likewise.
16889 (sincos_test): Likewise.
16890 * sysdeps/i386/fpu/libm-test-ulps: Update.
16891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16892
168932012-03-16 David S. Miller <davem@davemloft.net>
16894
16895 * sysdeps/sparc/fpu/math_private.h: New file.
16896
168972012-03-15 David S. Miller <davem@davemloft.net>
16898
16899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16900 file.
16901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16903 file.
16904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16909 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16910 sysdep routines.
16911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16912
16913 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16914 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16915
16916 * sysdeps/sparc/sparc-ifunc.h: New file.
16917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16918 sparc-ifunc.h
16919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16921 Likewise.
16922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16923 Likewise.
16924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16928 Likewise.
16929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16934 Likewise.
16935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16936 Likewise.
16937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16961
169622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16963
16964 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16965 scaling.
16966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16967
169682012-03-15 Andreas Jaeger <aj@suse.de>
16969
16970 [BZ #13852]
16971 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16972 ieee754/flt-32 implementation for sin, cos and sincos.
16973 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16974 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16975 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16976 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16977 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16978 ieee754/flt-32 implementation for tan.
16979
16980 * math/libm-test.inc (cos_test): Enable some large input tests for
16981 float as well
16982 (sin_test): Likewise.
16983 (sincos_test): Likewise.
16984 (tan_test): Add tests for large input.
16985
16986 * sysdeps/i386/fpu/libm-test-ulps: Update.
16987
169882012-03-15 Andreas Jaeger <aj@suse.de>
16989
16990 [BZ #13658]
16991 * math/libm-test.inc (cos_test): Add more test cases.
16992 (sin_test): Likewise.
16993 (sincos_test): Likewise.
16994
169952012-03-15 Andreas Jaeger <aj@suse.de>
16996
16997 [BZ #13837]
16998 * math/libm-test.inc (cos_test): Add a test case for large input
16999 value.
17000 (sin_test): Likewise.
17001 (sincos_test): Likewise.
17002
170032012-03-15 Andreas Jaeger <aj@suse.de>,
17004 Joseph Myers <joseph@codesourcery.com>
17005
17006 [BZ #13658]
17007 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17008 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17009 * sysdeps/i386/fpu/branred.c: Likewise.
17010 * sysdeps/i386/fpu/dosincos.c: Likewise.
17011 * sysdeps/i386/fpu/mpa.c: Likewise.
17012 * sysdeps/i386/fpu/s_cos.S: Likewise.
17013 * sysdeps/i386/fpu/s_sin.S: Likewise.
17014 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17015 * sysdeps/i386/fpu/sincos32.c: Likewise.
17016
17017 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17018 Define.
17019 (libc_feupdateenv_53bit): Define.
17020 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17021 Define.
17022 (libc_feupdateenv_53bit): Define.
17023
17024 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17025 53 bit (without extend i386 double precision).
17026
17027 * math/libm-test.inc (sincos_test): Add tests for large input.
17028 (sin): Likewise.
17029 (cos): Likewise.
17030
17031 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17032
170332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17034
17035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17036
170372012-03-15 David S. Miller <davem@davemloft.net>
17038
17039 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17040 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17041 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17042 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17055 file.
17056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17058 file.
17059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17061 file.
17062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17064 file.
17065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17066 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17067 fmin/fmax sysdep routines.
17068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17069
170702012-03-14 David S. Miller <davem@davemloft.net>
17071
17072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17094 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17100 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17101 routines.
17102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17103 file.
17104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17106 file.
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17109 file.
17110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17112 file.
17113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17115 file.
17116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17118 file.
17119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17120 file.
17121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17122 file.
17123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17124 file.
17125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17126 New file.
17127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17128 file.
17129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17130 file.
17131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17133 file.
17134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17136 file.
17137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17139 file.
17140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17142 VIS3 routines.
17143
17144 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17145 New file.
17146
17147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17148
17149 * sysdeps/sparc/configure.in: New file.
17150 * sysdeps/sparc/configure: Generate.
17151 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17152 * configure: Regenerate.
17153 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17154 * config.make.in (have-as-vis3): New.
17155 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17156 available use -Av9d instead of -Av9a.
17157 * sysdeps/sparc/sparc64/Makefile: Likewise.
17158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17160 New file.
17161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17162 file.
17163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17164 New file.
17165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17166 file.
17167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17172
17173 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17174 fzeros/fnegs to load 0x80000000 into a float register instead of
17175 using the stack.
17176 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17177
171782012-03-14 Joseph Myers <joseph@codesourcery.com>
17179
17180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17181 bits/syscall.h.
17182 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17183 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17184 ($(inst_includedir)/bits/syscall.h): Remove rule.
17185 ($(objpfx)bits/syscall.d): Include instead of
17186 $(objpfx)syscall-list.d.
17187 (generated): Change syscall-list.h and syscall-list.d to
17188 bits/syscall.h and bits/syscall.d.
17189
171902012-03-14 Roland McGrath <roland@hack.frob.com>
17191
17192 [BZ #13846]
17193 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17194
171952012-03-14 Joseph Myers <joseph@codesourcery.com>
17196
17197 [BZ #13841]
17198 * math/s_csqrt.c: Include <float.h>.
17199 (__csqrt): Scale large or subnormal inputs.
17200 * math/s_csqrtf.c: Likewise.
17201 * math/s_csqrtl.c: Likewise.
17202 * math/libm-test.inc (csqrt_test): Add more tests.
17203 * sysdeps/i386/fpu/libm-test-ulps: Update.
17204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17205
17206 [BZ #13840]
17207 * math/libm-test.inc (hypot_test): Add more tests.
17208
172092012-03-13 David S. Miller <davem@davemloft.net>
17210
17211 [BZ #13840]
17212 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17213 double-precision for the calculation instead of scaling.
17214
172152012-03-13 Joseph Myers <joseph@codesourcery.com>
17216
17217 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17218 manipulate bits before adding and subtracting TWO52[sx].
17219 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17220 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17221 Likewise.
17222 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17223
172242012-03-13 David S. Miller <davem@davemloft.net>
17225
17226 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17227 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17229 rtld-global-offsets.h
17230 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17231
17232 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17233 large parameters.
17234
17235 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17236
17237 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17238 'err' in the ifdef scope in which it is actually used.
17239
17240 * nss/nss_db/db-init.c: Include string.h
17241
172422012-03-12 David S. Miller <davem@davemloft.net>
17243
17244 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17245 masking out of the most significant byte of random value used.
17246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17247 Fix coding style in previous change.
17248
17249 * sysdeps/unix/sysv/linux/kernel-features.h
17250 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17251 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17252 expression.
17253 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17254 later.
17255
172562012-03-11 David S. Miller <davem@davemloft.net>
17257
17258 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17259 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17260 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17261 for 'resultvar' otherwise things get truncated on 64-bit.
17262
17263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17264 Fix masking out of the most significant byte of random value used.
17265
17266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17267
172682012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17269
17270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17271
172722012-03-09 David S. Miller <davem@davemloft.net>
17273
17274 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17275 variables with appropriate CPP guards.
17276 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17277 frame pointer, not the stack pointer. Correct layout comments. Fix test
17278 on resulting framesize and the management of the outregs buffer for pltexit.
17279 Preserve floating point return values across _dl_call_pltexit call.
17280 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17281 framesize and the management of the outregs buffer for pltexit.
17282 Preserve floating point return values across _dl_call_pltexit
17283 call.
17284 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17285 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17286 (print_exit): Fix format string for return register value.
17287
172882012-03-10 Joseph Myers <joseph@codesourcery.com>
17289
17290 * sunrpc/Makefile (others): Add rpcgen.
17291 ($(objpfx)rpcgen): Remove special build rule and dependency on
17292 libc.
17293 * sunrpc/rpcgen.c: New file.
17294
172952012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17296
17297 [BZ #13673]
17298 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17299 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17300 * sysdeps/i386/crti.S: Likewise.
17301 * sysdeps/i386/crtn.S: Likewise.
17302 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17303 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17304 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17305 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17306 * sysdeps/sh/crti.S: Likewise.
17307 * sysdeps/sh/crtn.S: Likewise.
17308 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17309
17310 [BZ #13673]
17311 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17312 with URL.
17313 * locale/programs/locfile-kw.gperf: Likewise.
17314 * locale/programs/charmap-kw.h: Regenerated.
17315 * locale/programs/locfile-kw.h: Likewise.
17316
17317 [BZ #13673]
17318 * intl/plural.y: Replace FSF snail mail address with URL.
17319 * intl/plural.c: Regenerated.
17320
173212012-03-09 Richard Henderson <rth@twiddle.net>
17322
17323 * include/math_private.h: Remove file.
17324 * math/math_private.h: Move file ...
17325 * sysdeps/generic/math_private.h: ... here.
17326
17327 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17328 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17329 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17330
17331 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17332 and <math_private.h>.
17333 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17334 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17335 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17336 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17337 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17352 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17354 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17358 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17359 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17363 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17365 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17366 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17374 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17375 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17409 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17411 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17420 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17421 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17422 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17423 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17424 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17425 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17426 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17427 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17428 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17429 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17430 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17431 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17432 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17433 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17434 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17435 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17436 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17437 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17438 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17439 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17440 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17441 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17442 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17443 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17444 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17445 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17446 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17447 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17448 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17449 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17450 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17451 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17452 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17453 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17454 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17455 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17456 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17457 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17458 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17459 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17460 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17461 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17462 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17463 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17464 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17465 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17466 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17467 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17468 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17469 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17470 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17471 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17472 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17473 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17474 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17475 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17476 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17477 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17478 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17479 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17480 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17481 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17482 * sysdeps/ieee754/k_standard.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17534 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17542 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17550 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17551 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17552 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17555 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17556 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17557 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17560 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17564 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17581 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17596 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17598 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17601 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17602 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17603 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17604 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17605 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17606 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17607 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17608 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17610 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17611 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17614 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17615 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17618 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17619 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17623 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17628 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17631 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17632 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17633 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17637 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17638 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17639 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17640 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17641 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17642 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17643 * sysdeps/ieee754/s_lib_version.c: Likewise.
17644 * sysdeps/ieee754/s_matherr.c: Likewise.
17645 * sysdeps/ieee754/s_signgam.c: Likewise.
17646 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17647 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17648 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17649 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17650 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17651 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17652 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17653 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17654 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17655 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17656 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17657 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17658 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17659 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17660 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17661 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17662 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17663 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17664 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17665 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17666 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17667
176682012-03-09 Joseph Myers <joseph@codesourcery.com>
17669
17670 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17671 * sunrpc/rpc_main.c: Likewise.
17672 * sunrpc/rpc_svcout.c: Likewise.
17673
176742012-03-09 David S. Miller <davem@davemloft.net>
17675
17676 * include/math_private.h: New file.
17677
176782012-03-09 Joseph Myers <joseph@codesourcery.com>
17679
17680 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17681 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17682 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17683 from <bits/socket_type.h>.
17684 (enum __socket_type): Don't define here.
17685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17687 bits/socket_type.h.
17688
17689 [BZ #13566]
17690 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17691 checking __USE_GNU.
17692
17693 * Makerules ($(inst_includedir)/%.h): New rule.
17694 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17695 (install-others): Remove variable setting.
17696 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17697
176982012-03-08 Richard Henderson <rth@twiddle.net>
17699
17700 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17701 from macro to inline function; merge with the
17702 !__LIBC_INTERNAL_MATH_INLINES version.
17703 (__ieee754_sqrtf): Likewise.
17704
17705 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17706 to inline function.
17707 (__rintf, __floor, __floorf): Likewise.
17708
17709 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17710 macro to inline function.
17711 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17712
17713 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17714 not <math/math_private.h>.
17715
177162012-03-08 David S. Miller <davem@davemloft.net>
17717
17718 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17719 copyright year.
17720 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17721
177222012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17723
17724 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17725 normalization.
17726 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17727 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17728
177292012-03-08 Ulrich Drepper <drepper@gmail.com>
17730
17731 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17732 be defined individually, they must be defined as a block. Define
17733 S for printing a string instead of hidint the different by using a
17734 macro for adding the 'l'.
17735 * stdio-common/tst-fphex-wide.c: Adjust.
17736
177372012-03-07 Marek Polacek <polacek@redhat.com>
17738
17739 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17740
177412012-03-08 Marek Polacek <polacek@redhat.com>
17742
17743 [BZ #13806]
17744 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17745 * stdio-common/tst-fphex.c: Define a few macros to make the
17746 test reusable. Use them.
17747 * stdio-common/tst-fphex-wide.c: New file.
17748
177492012-03-08 Joseph Myers <joseph@codesourcery.com>
17750
17751 [BZ #6911]
17752 * manual/macros.texi (gnusystems): New macro.
17753 (nongnusystems): Likewise.
17754 (gnulinuxhurdsystems): Likewise.
17755 (gnuhurdsystems): Likewise..
17756 (gnulinuxsystems): Likewise.
17757 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17758 variants of the GNU system, not "GNU system".
17759 * manual/conf.texi: Likewise.
17760 * manual/errno.texi: Likewise. Update example of errno macro
17761 expansion.
17762 * manual/filesys.texi: Likewise.
17763 (getumask): Document as specific to GNU/Hurd.
17764 * manual/install.texi: Likewise. Reword some references to
17765 GNU/Linux.
17766 * manual/intro.texi: Likewise.
17767 * manual/io.texi: Likewise.
17768 (File Name Portability): Detail which constraints are inapplicable
17769 to all GNU systems and which are only inapplicable to GNU/Hurd.
17770 * manual/job.texi: Likewise.
17771 * manual/llio.texi: Likewise.
17772 (O_NOCTTY): Document as present on GNU/Linux.
17773 * manual/maint.texi: Likewise.
17774 * manual/memory.texi: Likewise.
17775 * manual/pattern.texi: Likewise.
17776 * manual/pipe.texi: Likewise.
17777 * manual/process.texi: Likewise.
17778 * manual/resource.texi: Likewise.
17779 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17780 child on GNU/Hurd.
17781 * manual/setjmp.texi: Likewise.
17782 * manual/signal.texi: Likewise.
17783 * manual/startup.texi: Likewise.
17784 * manual/stdio.texi: Likewise.
17785 * manual/terminal.texi: Likewise.
17786 (ONLCR): Document as POSIX.
17787 (OXTABS): Document availability on GNU/Linux as XTABS.
17788 (ONOEOT): Document availability separately from other bits.
17789 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17790 * manual/time.texi: Likewise.
17791 * manual/users.texi: Likewise.
17792 * INSTALL: Regenerated.
17793 * sysdeps/gnu/errlist.c: Regenerated.
17794
17795 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17796 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17797 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17798 puts.
17799 * configure: Regenerated.
17800
178012012-03-07 Joseph Myers <joseph@codesourcery.com>
17802
17803 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17804 default includes instead of AC_HEADER_CHECK.
17805 * sysdeps/i386/configure: Regenerated.
17806
17807 [BZ #10716]
17808 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17809 * math/s_cacoshf.c (__cacoshf): Likewise.
17810 * math/s_cacoshl.c (__cacoshl): Likewise.
17811 * math/s_casinh.c (__casinh): Set signs of result from argument.
17812 * math/s_casinhf.c (__casinhf): Likewise.
17813 * math/s_casinhl.c (__casinhl): Likewise.
17814 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17815 (casinh_test): Add more tests.
17816 * sysdeps/i386/fpu/libm-test-ulps: Update.
17817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17818
178192012-03-07 Ulrich Drepper <drepper@gmail.com>
17820
17821 * po/zh_TW.po: Update from translation team.
17822
17823 * login/Makefile (distribute): Remove variable.
17824 * catgets/Makefile: Likewise.
17825 * mach/Makefile: Likewise.
17826 * malloc/Makefile: Likewise.
17827 * misc/Makefile: Likewise.
17828 * iconv/Makefile: Likewise.
17829 * nscd/Makefile: Likewise.
17830 * hurd/Makefile: Likewise.
17831 * manual/Makefile: Likewise.
17832 * locale/Makefile: Likewise.
17833 * intl/Makefile: Likewise.
17834 * conform/Makefile: Likewise.
17835 * nss/Makefile: Likewise.
17836 * time/Makefile: Likewise.
17837 * soft-fp/Makefile: Likewise.
17838 * dirent/Makefile: Likewise.
17839 * gmon/Makefile: Likewise.
17840 * po/Makefile: Likewise.
17841 * rt/Makefile: Likewise.
17842 * socket/Makefile: Likewise.
17843 * math/Makefile: Likewise.
17844 * signal/Makefile: Likewise.
17845 * debug/Makefile: Likewise.
17846 * elf/Makefile: Likewise.
17847 * timezone/Makefile: Likewise.
17848 * stdlib/Makefile: Likewise.
17849 * iconvdata/Makefile: Likewise.
17850 * sunrpc/Makefile: Likewise.
17851 * io/Makefile: Likewise.
17852 * argp/Makefile: Likewise.
17853 * inet/Makefile: Likewise.
17854 * hesiod/Makefile: Likewise.
17855 * grp/Makefile: Likewise.
17856 * csu/Makefile: Likewise.
17857 * wctype/Makefile: Likewise.
17858 * crypt/Makefile: Likewise.
17859 * libio/Makefile: Likewise.
17860 * string/Makefile: Likewise.
17861 * nis/Makefile: Likewise.
17862 * resolv/Makefile: Likewise.
17863 * stdio-common/Makefile: Likewise.
17864 * wcsmbs/Makefile: Likewise.
17865 * dlfcn/Makefile: Likewise.
17866 * posix/Makefile: Likewise.
17867
17868 [BZ #6959]
17869 * timezone/Makefile: Don't install timezone files, just the programs
17870 and scripts.
17871
178722012-03-06 Ulrich Drepper <drepper@gmail.com>
17873
17874 * nss/databases.def: Add missing gshadow entry.
17875
17876 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17877
178782012-03-06 Marek Polacek <polacek@redhat.com>
17879
17880 [BZ #13726]
17881 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17882 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17883 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17884 * stdio-common/tst-long-dbl-fphex.c: New file.
17885
178862012-03-06 David S. Miller <davem@davemloft.net>
17887
17888 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17889 (set_obp_int): New function.
17890 (get_obp_int): New function.
17891 (__get_clockfreq_via_dev_openprom): Likewise.
17892 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17893 Avoid unused variable warnings on 'val' and use builtin_expect.
17894 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17895 __builtin_expect.
17896 (INLINE_CLONE_SYSCALL): Likewise.
17897
178982012-03-05 David S. Miller <davem@davemloft.net>
17899
17900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17901
179022012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17903
17904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17905
17906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17907 only for |x| >= 40.
17908 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17909
179102012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17913 Replace gettimeofday with __vdso_gettimeofday.
17914
17915 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17916 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17917 __vdso_clock_gettime and __vdso_getcpu.
17918
17919 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17920 time with __vdso_time.
17921
179222012-03-05 Joseph Myers <joseph@codesourcery.com>
17923
17924 * manual/lang.texi (size_t): Note types to which size_t may be
17925 equivalent with the GNU C Library, but do not describe when
17926 differences between them are significant.
17927
179282012-03-05 Andreas Jaeger <aj@suse.de>
17929
17930 * sysdeps/i386/fpu/libm-test-ulps: Update.
17931
179322012-03-05 Joseph Myers <joseph@codesourcery.com>
17933
17934 [BZ #3976]
17935 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17936 (__ieee754_pow): Save and restore rounding mode and use
17937 round-to-nearest for main computations.
17938 * math/libm-test.inc (pow_test_tonearest): New function.
17939 (pow_test_towardzero): Likewise.
17940 (pow_test_downward): Likewise.
17941 (pow_test_upward): Likewise.
17942 (main): Call the new functions.
17943 * sysdeps/i386/fpu/libm-test-ulps: Update.
17944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17945
17946 [BZ #3976]
17947 * math/libm-test.inc (cosh_test_tonearest): New function.
17948 (cosh_test_towardzero): Likewise.
17949 (cosh_test_downward): Likewise.
17950 (cosh_test_upward): Likewise.
17951 (sinh_test_tonearest): Likewise.
17952 (sinh_test_towardzero): Likewise.
17953 (sinh_test_downward): Likewise.
17954 (sinh_test_upward): Likewise.
17955 (main): Call the new functions.
17956 * sysdeps/i386/fpu/libm-test-ulps: Update.
17957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17958
179592012-03-05 Tom de Vries <tom@codesourcery.com>
17960
17961 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17962 default stack guard is set in last bytes.
17963 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17964
179652012-03-05 Kees Cook <keescook@chromium.org>
17966
17967 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17968
17969 [BZ #13656]
17970 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17971 possibly allocate from heap instead of stack.
17972 * stdio-common/bug-vfprintf-nargs.c: New file.
17973 * stdio-common/Makefile (tests): Add nargs overflow test.
17974
179752012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17976
17977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17978
179792012-03-03 Marek Polacek <polacek@redhat.com>
17980
17981 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17982 * math/math_private.h: Likewise.
17983 * stdlib/tst-strtod.c: Likewise.
17984 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17985 * sysdeps/x86_64/bits/atomic.h: Likewise.
17986
179872012-03-02 David S. Miller <davem@davemloft.net>
17988
17989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17993 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17994 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17995 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17996 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17997
179982012-03-02 Roland McGrath <roland@hack.frob.com>
17999
18000 [BZ #13792]
18001 * manual/examples/README: New file, says the example source files
18002 can be used under GPL>=2.
18003 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18004 line containing just "*/".
18005 * manual/examples/add.c: Add copyright header (GPL>=2).
18006 * manual/examples/argp-ex1.c: Likewise.
18007 * manual/examples/argp-ex2.c: Likewise.
18008 * manual/examples/argp-ex3.c: Likewise.
18009 * manual/examples/argp-ex4.c: Likewise.
18010 * manual/examples/atexit.c: Likewise.
18011 * manual/examples/db.c: Likewise.
18012 * manual/examples/dir.c: Likewise.
18013 * manual/examples/dir2.c: Likewise.
18014 * manual/examples/execinfo.c: Likewise.
18015 * manual/examples/filecli.c: Likewise.
18016 * manual/examples/filesrv.c: Likewise.
18017 * manual/examples/fmtmsgexpl.c: Likewise.
18018 * manual/examples/genpass.c: Likewise.
18019 * manual/examples/inetcli.c: Likewise.
18020 * manual/examples/inetsrv.c: Likewise.
18021 * manual/examples/isockad.c: Likewise.
18022 * manual/examples/longopt.c: Likewise.
18023 * manual/examples/memopen.c: Likewise.
18024 * manual/examples/memstrm.c: Likewise.
18025 * manual/examples/mkfsock.c: Likewise.
18026 * manual/examples/mkisock.c: Likewise.
18027 * manual/examples/mygetpass.c: Likewise.
18028 * manual/examples/pipe.c: Likewise.
18029 * manual/examples/popen.c: Likewise.
18030 * manual/examples/rprintf.c: Likewise.
18031 * manual/examples/search.c: Likewise.
18032 * manual/examples/select.c: Likewise.
18033 * manual/examples/setjmp.c: Likewise.
18034 * manual/examples/sigh1.c: Likewise.
18035 * manual/examples/sigusr.c: Likewise.
18036 * manual/examples/stpcpy.c: Likewise.
18037 * manual/examples/strdupa.c: Likewise.
18038 * manual/examples/strftim.c: Likewise.
18039 * manual/examples/strncat.c: Likewise.
18040 * manual/examples/subopt.c: Likewise.
18041 * manual/examples/swapcontext.c: Likewise.
18042 * manual/examples/termios.c: Likewise.
18043 * manual/examples/testopt.c: Likewise.
18044 * manual/examples/testpass.c: Likewise.
18045 * manual/examples/timeval_subtract.c: Likewise.
18046
18047 [BZ #13792]
18048 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18049 function to ...
18050 * manual/timeval_subtract.c.texi: ... here, new file.
18051
180522012-03-02 David S. Miller <davem@davemloft.net>
18053
18054 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18055
180562012-03-02 Joseph Myers <joseph@codesourcery.com>
18057
18058 [BZ #3976]
18059 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18060 (__sin): Save and restore rounding mode and use round-to-nearest
18061 for all computations.
18062 (__cos): Save and restore rounding mode and use round-to-nearest
18063 for all computations.
18064 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18065 <fenv.h>.
18066 (tan): Save and restore rounding mode and use round-to-nearest for
18067 all computations.
18068 * math/libm-test.inc (cos_test_tonearest): New function.
18069 (cos_test_towardzero): Likewise.
18070 (cos_test_downward): Likewise.
18071 (cos_test_upward): Likewise.
18072 (sin_test_tonearest): Likewise.
18073 (sin_test_towardzero): Likewise.
18074 (sin_test_downward): Likewise.
18075 (sin_test_upward): Likewise.
18076 (tan_test_tonearest): Likewise.
18077 (tan_test_towardzero): Likewise.
18078 (tan_test_downward): Likewise.
18079 (tan_test_upward): Likewise.
18080 (main): Call the new functions.
18081 * sysdeps/i386/fpu/libm-test-ulps: Update.
18082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18083
18084 [BZ #10135]
18085 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18086 small n, then large n, before computing and testing k+n.
18087 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18089 Likewise.
18090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18091 Likewise.
18092 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18093 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18094 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18095 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18096 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18097 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18098 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18099 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18100 * math/libm-test.inc (scalbn_test): Add more tests.
18101 (scalbln_test): Likewise.
18102
18103 * manual/filesys.texi (mode_t): Describe constraints on size and
18104 signedness, not exact equivalence to a particular type.
18105 (ino_t): Likewise.
18106 (ino64_t): Likewise.
18107 (dev_t): Likewise.
18108 (nlink_t): Likewise.
18109 (blkcnt_t): Likewise.
18110 (blkcnt64_t): Likewise.
18111 * manual/llio.texi (off_t): Likewise.
18112
18113 [BZ #3976]
18114 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18115 (__ieee754_exp): Save and restore rounding mode and use
18116 round-to-nearest for all computations.
18117 * math/libm-test.inc (exp_test_tonearest): New function.
18118 (exp_test_towardzero): Likewise.
18119 (exp_test_downward): Likewise.
18120 (exp_test_upward): Likewise.
18121 (main): Call the new functions.
18122 * sysdeps/i386/fpu/libm-test-ulps: Update.
18123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18124
181252012-03-01 Chris Demetriou <cgd@google.com>
18126
18127 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18128 have predictable order.
18129
181302012-03-01 David S. Miller <davem@davemloft.net>
18131
18132 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18133
18134 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18135 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18136 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18137 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18138
18139 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18140 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18141 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18143 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18144 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18145 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18146 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18147 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18148
18149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18150
18151 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18152 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18153 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18154
18155 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18156 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18157 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18158 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18159 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18161 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18162 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18163 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18164 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18165 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18166 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18168 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18169 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18170 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18171 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18172 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18173 * sysdeps/sparc/elf/configure: Regenerated.
18174
181752012-03-01 Joseph Myers <joseph@codesourcery.com>
18176
18177 * configure.in (AS, LD): Require binutils 2.20 or later.
18178 * configure: Regenerated.
18179 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18180 as required minimum version.
18181 * INSTALL: Regenerated.
18182
18183 [BZ #2541]
18184 [BZ #4108]
18185 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18186 before squaring exponent.
18187 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18188 bottom long double and 27 bits of top long double before squaring
18189 exponent.
18190 * math/libm-test.inc (erfc_test): Add more tests.
18191 * sysdeps/i386/fpu/libm-test-ulps: Update.
18192 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18194
181952012-03-01 Kai Tietz <ktietz@redhat.com>
18196
18197 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18198 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18199 containing bit-fields.
18200 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18201 * soft-fp/single.h (_FP_UNION_S): Likewise.
18202 * soft-fp/double.h (_FP_UNION_D): Likewise.
18203
182042012-02-29 Joseph Myers <joseph@codesourcery.com>
18205
18206 [BZ #13786]
18207 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18208 not include ../strcmp.S.
18209 [USE_AS_STRNCASECMP_L]: Likewise.
18210 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18211 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18212 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18213 (__strncasecmp_l_ia32): Define as alias to
18214 __strncasecmp_l_nonascii.
18215
18216 [BZ #5794]
18217 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18218 * sysdeps/i386/fpu/libm-test-ulps: Update.
18219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18220
18221 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18223
182242012-02-29 Jeff Law <law@redhat.com>
18225
18226 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18227 out of bounds read.
18228
182292012-02-29 Marek Polacek <polacek@redhat.com>
18230
18231 [BZ #13706]
18232 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18233 * elf/Makefile: Add rules to run tst-unused-dep.out.
18234
182352012-02-28 David S. Miller <davem@davemloft.net>
18236
18237 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18238 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18239 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18240 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18241 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18242 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18243
182442012-02-29 Joseph Myers <joseph@codesourcery.com>
18245
18246 * math/libm-test.inc (llround_test): Move one test from
18247 lround_test. Use TEST_f_L in moved test.
18248 (lround_test): Move misplaced test to llround_test. Add testcase
18249 from bug 2561.
18250
182512012-02-28 Ulrich Drepper <drepper@gmail.com>
18252
18253 * sysdeps/x86_64/fpu/e_expf.S: New file.
18254 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18255
182562012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18257
18258 [BZ #13637]
18259 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18260 of remain_len that may cause incomplete multi-byte character and
18261 false match.
18262 * posix/bug-regex33.c: New file.
18263 * posix/Makefile (tests): Add bug-regex33.
18264
182652012-02-28 Joseph Myers <joseph@codesourcery.com>
18266
18267 * manual/macros.texi: New file.
18268 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18269 * manual/libc.texinfo: Include macros.texi.
18270 * manual/creatute.texi: Likewise.
18271 * manual/install.texi: Likewise.
18272 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18273 @glibcadj{} in references to the GNU C Library.
18274 * manual/charset.texi: Likewise.
18275 * manual/conf.texi: Likewise.
18276 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18277 when not using those macros.
18278 * manual/creature.texi: Likewise.
18279 * manual/crypt.texi: Likewise.
18280 * manual/errno.texi: Likewise.
18281 * manual/filesys.texi: Likewise.
18282 * manual/header.texi: Likewise.
18283 * manual/install.texi: Likewise.
18284 * manual/intro.texi: Likewise.
18285 * manual/io.texi: Likewise.
18286 * manual/job.texi: Likewise.
18287 * manual/lang.texi: Likewise.
18288 * manual/libc.texiinfo: Likewise.
18289 * manual/llio.texi: Likewise.
18290 * manual/locale.texi: Likewise.
18291 * manual/maint.texi: Likewise.
18292 * manual/math.texi: Likewise.
18293 * manual/memory.texi: Likewise.
18294 * manual/message.texi: Likewise.
18295 * manual/nss.texi: Likewise.
18296 * manual/pattern.texi: Likewise.
18297 * manual/process.texi: Likewise.
18298 * manual/resource.texi: Likewise.
18299 * manual/search.texi: Likewise.
18300 * manual/setjmp.texi: Likewise.
18301 * manual/signal.texi: Likewise.
18302 * manual/socket.texi: Likewise.
18303 * manual/startup.texi: Likewise.
18304 * manual/stdio.texi: Likewise.
18305 * manual/string.texi: Likewise.
18306 * manual/sysinfo.texi: Likewise.
18307 * manual/syslog.texi: Likewise.
18308 * manual/terminal.texi: Likewise.
18309 * manual/time.texi: Likewise.
18310 * manual/users.texi: Likewise.
18311 * INSTALL: Regenerated.
18312 * NOTES: Regenerated.
18313 * sysdeps/gnu/errlist.c: Regenerated.
18314
183152012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18316
18317 * include/dirent.h: Include <dirstream.h> before
18318 <dirent/dirent.h>.
18319
183202012-02-28 David S. Miller <davem@davemloft.net>
18321
18322 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18323 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18324 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18325 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18326
183272012-02-27 David S. Miller <davem@davemloft.net>
18328
18329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18331 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18332 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18333
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18335 frame pointer instead of stack pointer relative arg slot.
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18337 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18338 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18339
183402012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18341
18342 [BZ #3992]
18343 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18344
183452012-02-27 David S. Miller <davem@davemloft.net>
18346
18347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18351 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18352 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18353 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18354 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18355
183562012-02-27 Joseph Myers <joseph@codesourcery.com>
18357
18358 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18359 later. Allow versions 5-9.
18360 * configure: Regenerated.
18361 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18362 required minimum version and 4.6 as recommended version. Do not
18363 mention bugs in GCC 2.7 and 2.8.
18364 * INSTALL: Regenerated.
18365
183662012-02-27 David S. Miller <davem@davemloft.net>
18367
18368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18372 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18373 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18374 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18375 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18376
18377 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18378 manipulate bits before adding and subtracting TWO112[sx].
18379 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18380
183812012-02-27 Roland McGrath <roland@hack.frob.com>
18382
18383 [BZ #13775]
18384 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18385 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18386 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18387 being in POSIX, because they are in 1003.1-2008.
18388
18389 * rt/tst-aio.c: Include <fcntl.h>.
18390 * rt/tst-aio7.c: Likewise.
18391 * rt/tst-aio64.c: Likewise.
18392
18393 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18394
183952012-02-27 Joseph Myers <joseph@codesourcery.com>
18396
18397 * manual/install.texi (--with-headers): Describe headers as
18398 interface headers, not private headers.
18399 (Specific advice for GNU/Linux systems): Describe use of headers
18400 from "make headers_install", not private headers from older
18401 kernels.
18402 * INSTALL: Regenerated.
18403 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18404 Change to 2.6.19.
18405 * sysdeps/unix/sysv/linux/configure: Regenerated.
18406
18407 * manual/llio.texi (fclean): Remove documentation.
18408
18409 * manual/Makefile (libc-texi-generated): New variable. Include
18410 version.texi.
18411 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18412 $(libc-texi-generated), not duplicated list of files.
18413 (version.texi, stamp-version): New rules.
18414 (realclean): Remove $(libc-texi-generated), not individual files
18415 from that list. Do not remove dir-add.texinfo.
18416 * manual/libc.texinfo: Comment out uses of edition numbers and
18417 references to printed manual. Remove last-updated dates.
18418 (EDITION): Comment out.
18419 (ISBN): Likewise.
18420 (VERSION, UPDATED): Remove.
18421 (version.texi): Include.
18422
184232012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18424
18425 * sysdeps/posix/spawni.c: Include <signal.h>.
18426 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18427 * sysdeps/pthread/aio_fsync.c: Likewise.
18428
184292012-02-26 Ulrich Drepper <drepper@gmail.com>
18430
18431 * conform/Makefile (tests): Run only when not cross-compiling and
18432 when fast-check is not defined.
18433
18434 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18435 * conform/data/limits.h-data: Fixes for POSIX2008.
18436 * conform/run-conformtest.sh: Run all tests.
18437 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18438 headers.
18439 * include/bits/dlfcn.h: Likewise.
18440 * include/langinfo.h: Likewise.
18441 * include/monetary.h: Likewise.
18442 * include/sys/poll.h: Likewise.
18443
18444 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18445 for __USE_GNU.
18446 * posix/spawn.h: Define __need_sigset_t.
18447 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18448 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18449 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18450 to get sigevent_t only.
18451 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18452 only for __USE_GNU.
18453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18454 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18455 process_vm_writev only for __USE_GNU.
18456 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18457
18458 * conform/Makefile: For now ignore errors from run-conformtest.
18459 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18460 POSIX to avoid namespace pollution. Don't prepend headers.
18461 * conform/data/aio.h-data: Fixes for POSIX testing.
18462 * conform/data/fcntl.h-data: Likewise.
18463 * conform/data/glob.h-data: Likewise.
18464 * conform/data/grp.h-data: Likewise.
18465 * conform/data/pthread.h-data: Likewise.
18466 * conform/data/pwd.h-data: Likewise.
18467 * conform/data/signal.h-data: Likewise.
18468 * conform/data/spawn.h-data: Likewise.
18469 * conform/data/stdio.h-data: Likewise.
18470 * conform/data/stdlib.h-data: Likewise.
18471 * conform/data/stropts.h-data: Likewise.
18472 * conform/data/sys/mman.h-data: Likewise.
18473 * conform/data/sys/stat.h-data: Likewise.
18474 * conform/data/sys/types.h-data: Likewise.
18475 * conform/data/sys/wait.h-data: Likewise.
18476 * conform/data/time.h-data: Likewise.
18477 * conform/data/unistd.h-data: Likewise.
18478 * conform/data/utime.h-data: Likewise.
18479
18480 * io/sys/stat.h: fchmod was always in POSIX.
18481 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18482 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18483 * rt/aio.h: Define __need_timespec before including <time.h>.
18484 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18485 struct. Add forward declaration of pthread_attr_t and use it in
18486 sigevent.
18487 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18488 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18489 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18490 always remove CLK_TCK definition.
18491
184922012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18493
18494 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18495
184962012-02-25 Ulrich Drepper <drepper@gmail.com>
18497
18498 * conform/run-conformtest.sh: New file.
18499 * conform/Makefile: Run run-conformtest for tests.
18500 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18501 support.
18502
18503 * conform/data/uchar.h-data: New file.
18504 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18505 * conform/data/arpa/inet.h-data: Likewise.
18506 * conform/data/assert.h-data: Likewise.
18507 * conform/data/complex.h-data: Likewise.
18508 * conform/data/cpio.h-data: Likewise.
18509 * conform/data/ctype.h-data: Likewise.
18510 * conform/data/dirent.h-data: Likewise.
18511 * conform/data/dlfcn.h-data: Likewise.
18512 * conform/data/errno.h-data: Likewise.
18513 * conform/data/fcntl.h-data: Likewise.
18514 * conform/data/float.h-data: Likewise.
18515 * conform/data/fmtmsg.h-data: Likewise.
18516 * conform/data/fnmatch.h-data: Likewise.
18517 * conform/data/ftw.h-data: Likewise.
18518 * conform/data/glob.h-data: Likewise.
18519 * conform/data/grp.h-data: Likewise.
18520 * conform/data/iconv.h-data: Likewise.
18521 * conform/data/inttypes.h-data: Likewise.
18522 * conform/data/langinfo.h-data: Likewise.
18523 * conform/data/libgen.h-data: Likewise.
18524 * conform/data/limits.h-data: Likewise.
18525 * conform/data/locale.h-data: Likewise.
18526 * conform/data/math.h-data: Likewise.
18527 * conform/data/monetary.h-data: Likewise.
18528 * conform/data/mqueue.h-data: Likewise.
18529 * conform/data/ndbm.h-data: Likewise.
18530 * conform/data/net/if.h-data: Likewise.
18531 * conform/data/netdb.h-data: Likewise.
18532 * conform/data/netinet/in.h-data: Likewise.
18533 * conform/data/nl_types.h-data: Likewise.
18534 * conform/data/poll.h-data: Likewise.
18535 * conform/data/pthread.h-data: Likewise.
18536 * conform/data/pwd.h-data: Likewise.
18537 * conform/data/regex.h-data: Likewise.
18538 * conform/data/sched.h-data: Likewise.
18539 * conform/data/search.h-data: Likewise.
18540 * conform/data/semaphore.h-data: Likewise.
18541 * conform/data/setjmp.h-data: Likewise.
18542 * conform/data/signal.h-data: Likewise.
18543 * conform/data/spawn.h-data: Likewise.
18544 * conform/data/stdarg.h-data: Likewise.
18545 * conform/data/stdio.h-data: Likewise.
18546 * conform/data/stdlib.h-data: Likewise.
18547 * conform/data/string.h-data: Likewise.
18548 * conform/data/strings.h-data: Likewise.
18549 * conform/data/stropts.h-data: Likewise.
18550 * conform/data/sys/ipc.h-data: Likewise.
18551 * conform/data/sys/mman.h-data: Likewise.
18552 * conform/data/sys/msg.h-data: Likewise.
18553 * conform/data/sys/resource.h-data: Likewise.
18554 * conform/data/sys/select.h-data: Likewise.
18555 * conform/data/sys/sem.h-data: Likewise.
18556 * conform/data/sys/shm.h-data: Likewise.
18557 * conform/data/sys/socket.h-data: Likewise.
18558 * conform/data/sys/stat.h-data: Likewise.
18559 * conform/data/sys/statvfs.h-data: Likewise.
18560 * conform/data/sys/time.h-data: Likewise.
18561 * conform/data/sys/timeb.h-data: Likewise.
18562 * conform/data/sys/times.h-data: Likewise.
18563 * conform/data/sys/types.h-data: Likewise.
18564 * conform/data/sys/uio.h-data: Likewise.
18565 * conform/data/sys/un.h-data: Likewise.
18566 * conform/data/sys/utsname.h-data: Likewise.
18567 * conform/data/sys/wait.h-data: Likewise.
18568 * conform/data/syslog.h-data: Likewise.
18569 * conform/data/tar.h-data: Likewise.
18570 * conform/data/termios.h-data: Likewise.
18571 * conform/data/utime.h-data: Likewise.
18572 * conform/data/utmpx.h-data: Likewise.
18573 * conform/data/varargs.h-data: Likewise.
18574 * conform/data/wchar.h-data: Likewise.
18575 * conform/data/wctype.h-data: Likewise.
18576 * conform/data/wordexp.h-data: Likewise.
18577
18578 * include/stropts.h: New file.
18579 * include/uchar.h: New file.
18580 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18581 * include/assert.h: Likewise.
18582 * include/ctype.h: Likewise.
18583 * include/dirent.h: Likewise.
18584 * include/dlfcn.h: Likewise.
18585 * include/fcntl.h: Likewise.
18586 * include/fnmatch.h: Likewise.
18587 * include/glob.h: Likewise.
18588 * include/grp.h: Likewise.
18589 * include/libio.h: Likewise.
18590 * include/locale.h: Likewise.
18591 * include/math.h: Likewise.
18592 * include/net/if.h: Likewise.
18593 * include/netdb.h: Likewise.
18594 * include/netinet/in.h: Likewise.
18595 * include/pthread.h: Likewise.
18596 * include/pwd.h: Likewise.
18597 * include/regex.h: Likewise.
18598 * include/sched.h: Likewise.
18599 * include/search.h: Likewise.
18600 * include/setjmp.h: Likewise.
18601 * include/signal.h: Likewise.
18602 * include/stdio.h: Likewise.
18603 * include/stdlib.h: Likewise.
18604 * include/string.h: Likewise.
18605 * include/sys/cdefs.h: Likewise.
18606 * include/sys/mman.h: Likewise.
18607 * include/sys/msg.h: Likewise.
18608 * include/sys/resource.h: Likewise.
18609 * include/sys/select.h: Likewise.
18610 * include/sys/socket.h: Likewise.
18611 * include/sys/stat.h: Likewise.
18612 * include/sys/statvfs.h: Likewise.
18613 * include/sys/time.h: Likewise.
18614 * include/sys/times.h: Likewise.
18615 * include/sys/uio.h: Likewise.
18616 * include/sys/utsname.h: Likewise.
18617 * include/sys/wait.h: Likewise.
18618 * include/termios.h: Likewise.
18619 * include/time.h: Likewise.
18620 * include/ulimit.h: Likewise.
18621 * include/unistd.h: Likewise.
18622 * include/utime.h: Likewise.
18623 * include/wchar.h: Likewise.
18624 * include/wctype.h: Likewise.
18625 * include/wordexp.h: Likewise.
18626
18627 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18628
18629 * time/time.h: TIME_UTC must be a macro.
18630 Make timespec_get available for ISO C11 only as well.
18631
186322012-02-24 Ulrich Drepper <drepper@gmail.com>
18633
18634 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18635 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18636
186372012-02-24 Joseph Myers <joseph@codesourcery.com>
18638
18639 * configure.in: Use -o not -a in test for unsupported multi-arch.
18640
186412012-02-24 Joseph Myers <joseph@codesourcery.com>
18642
18643 * manual/texinfo.tex: Update to version 2012-01-19.16.
18644
186452012-02-24 Joseph Myers <joseph@codesourcery.com>
18646
18647 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18648
186492012-02-24 Roland McGrath <roland@hack.frob.com>
18650
18651 [BZ #13738]
18652 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18653 * manual/fdl-1.3.texi: New file.
18654 * manual/fdl-1.1.texi: File removed.
18655
18656 [BZ #13738]
18657 * manual/libc.texinfo (FDL_VERSION): New @set.
18658 Use it for mention of FDL in cover text.
18659 (Documentation License): Use it in @include file name.
18660
186612012-02-22 Joseph Myers <joseph@codesourcery.com>
18662 Roland McGrath <roland@hack.frob.com>
18663
18664 [BZ #5461]
18665 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18666 not LONG_LONG_MAX and LONG_LONG_MIN.
18667 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18668 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18669 name.
18670 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18671
186722012-02-22 Joseph Myers <joseph@codesourcery.com>
18673
18674 [BZ #2547]
18675 [BZ #11365]
18676 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18677 manipulate bits before adding and subtracting TWO23[sx].
18678 * math/libm-test.inc (nearbyint_test): Add more tests.
18679
186802012-02-22 Joseph Myers <joseph@codesourcery.com>
18681
18682 [BZ #2548]
18683 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18684 bits before adding and subtracting TWO23[sx].
18685 * math/libm-test.inc (rint_test): Add more tests.
18686 (rint_test_tonearest): Likewise.
18687 (rint_test_towardzero): Likewise.
18688 (rint_test_downward): Likewise.
18689 (rint_test_upward: Likewise.
18690
186912012-02-22 Joseph Myers <joseph@codesourcery.com>
18692
18693 [BZ #10110]
18694 * include/stdc-predef.h: New file. Extracted from features.h.
18695 * include/features.h: Include stdc-predef.h.
18696 * Makefile (headers): Add stdc-predef.h.
18697 * CONFORMANCE (Compiler limitations): Update.
18698
186992012-02-22 Joseph Myers <joseph@codesourcery.com>
18700
18701 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18702
187032012-02-21 David S. Miller <davem@davemloft.net>
18704
18705 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18706 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18707
187082012-02-20 David S. Miller <davem@davemloft.net>
18709
18710 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18711 using a normal save/restore sequence, rather than allocating a
18712 dummy stack frame just to store a frame pointer and restore.
18713 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18714
187152012-02-21 Joseph Myers <joseph@codesourcery.com>
18716
18717 * manual/install.texi: Fix stray word in line-wrapped comment.
18718
187192012-02-20 David S. Miller <davem@davemloft.net>
18720
18721 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18722 both binutils and gcc support GOTDATA.
18723
18724 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18725 "rd %pc" in the PIC register setup sequences.
18726
18727 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18728 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18729 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18730 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18731 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18732 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18733 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18736 (SYSCALL_ERROR_HANDLER): Likewise.
18737 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18738 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18740 (SYSCALL_ERROR_HANDLER): Likewise.
18741
18742 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18743 (HAVE_GCC_GOTDATA): New.
18744 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18745 relocation support in both binutils and gcc.
18746 * sysdeps/sparc/elf/configure: Regenerate.
18747
18748 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18749 * sysdeps/sparc/sparc32/elf/configure: Delete.
18750 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18751 * sysdeps/sparc/sparc64/elf/configure: Delete.
18752 * sysdeps/sparc/elf/configure.in: New file.
18753 * sysdeps/sparc/elf/configure: Generate.
18754
18755 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18756 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18757 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18758 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18759 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18760
187612012-02-21 Joseph Myers <joseph@codesourcery.com>
18762
18763 * manual/install.texi: Do not mention specific glibc version
18764 numbers.
18765 * manual/libc.texinfo (VERSION, UPDATED): Update.
18766 (@copying): Use @copyright{} and range of years.
18767
187682012-02-21 Joseph Myers <joseph@codesourcery.com>
18769
18770 [BZ #13695]
18771 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18772 [crti.S not in sysdirs] (generated): Do not append.
18773 [crti.S not in sysdirs] (omit-deps): Likewise.
18774 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18775 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18776 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18777 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18778 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18779 Likewise.
18780 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18781 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18782 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18783 * csu/defs.awk: Remove file.
18784 * sysdeps/generic/initfini.c: Likewise.
18785 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18786 variable.
18787 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18788 Likewise.
18789
187902012-02-20 Joseph Myers <joseph@codesourcery.com>
18791
18792 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18793 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18794 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18795 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18796 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18797 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18798 <bits/epoll.h>.
18799 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18800 (__EPOLL_PACKED): Define to empty if not defined by
18801 <bits/epoll.h>.
18802 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18804 bits/epoll.h.
18805
188062012-02-20 Joseph Myers <joseph@codesourcery.com>
18807
18808 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18809 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18810 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18811 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18812 <bits/timerfd.h>.
18813 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18815 bits/timerfd.h.
18816
188172012-02-20 Joseph Myers <joseph@codesourcery.com>
18818
18819 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18820 in C locale.
18821 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18822 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18825
188262012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18827
18828 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18829 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18830
188312012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18832
18833 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18834 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18835 defined.
18836 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18837 Likewise.
18838 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18839 entry for 2.16.
18840
188412012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18842
18843 * math/w_acos.c: Use non-signaling floating-point comparisons.
18844 * math/w_acosf.c: Likewise.
18845 * math/w_acosh.c: Likewise.
18846 * math/w_acoshf.c: Likewise.
18847 * math/w_acoshl.c: Likewise.
18848 * math/w_acosl.c: Likewise.
18849 * math/w_asin.c: Likewise.
18850 * math/w_asinf.c: Likewise.
18851 * math/w_asinl.c: Likewise.
18852 * math/w_atanh.c: Likewise.
18853 * math/w_atanhf.c: Likewise.
18854 * math/w_atanhl.c: Likewise.
18855 * math/w_exp2.c: Likewise.
18856 * math/w_exp2f.c: Likewise.
18857 * math/w_exp2l.c: Likewise.
18858 * math/w_j0.c: Likewise.
18859 * math/w_j0f.c: Likewise.
18860 * math/w_j0l.c: Likewise.
18861 * math/w_j1.c: Likewise.
18862 * math/w_j1f.c: Likewise.
18863 * math/w_j1l.c: Likewise.
18864 * math/w_jn.c: Likewise.
18865 * math/w_jnf.c: Likewise.
18866 * math/w_log.c: Likewise.
18867 * math/w_log10.c: Likewise.
18868 * math/w_log10f.c: Likewise.
18869 * math/w_log10l.c: Likewise.
18870 * math/w_log2.c: Likewise.
18871 * math/w_log2f.c: Likewise.
18872 * math/w_log2l.c: Likewise.
18873 * math/w_logf.c: Likewise.
18874 * math/w_logl.c: Likewise.
18875 * math/w_sqrt.c: Likewise.
18876 * math/w_sqrtf.c: Likewise.
18877 * math/w_sqrtl.c: Likewise.
18878 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18879 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18881 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18882 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18883
188842012-02-19 Joseph Myers <joseph@codesourcery.com>
18885
18886 [BZ #9739]
18887 * manual/string.texi (strnlen): Use correct parameter name in
18888 equivalent expression.
18889
188902012-02-19 Joseph Myers <joseph@codesourcery.com>
18891
18892 [BZ #11174]
18893 * manual/users.texi (seteuid): Consistently use neweuid for
18894 argument name.
18895
188962012-02-19 Joseph Myers <joseph@codesourcery.com>
18897
18898 [BZ #13704]
18899 * manual/nss.texi (Services in the NSS configuration): Correct
18900 list of services in example configuration file.
18901
189022012-02-19 Nick Bowler <nbowler@draconx.ca>
18903
18904 [BZ #11322]
18905 * manual/arith.texi: Remove statements about negative zero
18906 behaving identically to zero.
18907
189082012-02-18 Joseph Myers <joseph@codesourcery.com>
18909
18910 [BZ #5993]
18911 * manual/install.texi: Do not document upgrading from libc5.
18912
189132012-02-18 Joseph Myers <joseph@codesourcery.com>
18914
18915 [BZ #4596]
18916 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18917
189182012-02-18 David S. Miller <davem@davemloft.net>
18919
18920 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18921 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18922 %o7 across the call.
18923 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18924 instead.
18925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18926 SETUP_PIC_REG_LEAF.
18927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18928 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18929 * sysdeps/sparc/crtn.S: Likewise.
18930
189312012-02-17 Ulrich Drepper <drepper@gmail.com>
18932
18933 * aout/Makefile: Remove.
18934
189352012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18936
18937 [BZ #13058]
18938 * manual/examples/argp-ex1.c (main): Format definition in GNU
18939 style.
18940 * manual/examples/argp-ex2.c (main): Likewise.
18941 * manual/examples/argp-ex3.c (main): Likewise.
18942 * manual/examples/argp-ex4.c (main): Likewise.
18943 * manual/examples/longopt.c (main): Use new-style prototype
18944 definition.
18945 * manual/examples/strncat.c (main): Specify return type and use
18946 (void) for arguments.
18947 * manual/examples/subopt.c (main): Use char **argv argument.
18948
189492012-02-17 Joseph Myers <joseph@codesourcery.com>
18950
18951 [BZ #5077]
18952 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18953 rounding modes.
18954
189552012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18956
18957 [BZ #6907]
18958 * manual/string.texi (strchr): Change when strchrnul is
18959 recommended.
18960
189612012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18962
18963 [BZ #174]
18964 * manual/locale.texi (setlocale): Document LOCPATH.
18965
189662012-02-17 Joseph Myers <joseph@codesourcery.com>
18967
18968 [BZ #10210]
18969 * manual/process.texi (execle): Move @dots{} before last argument.
18970
189712012-02-17 Paul Bolle <pebolle@tiscali.nl>
18972
18973 [BZ #12047]
18974 * manual/charset.texi (Generic Charset Conversion): Fix typo
18975 (LC_TYPE -> LC_CTYPE).
18976
189772012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18978
18979 [BZ #5805]
18980 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18981 (scalbnf): Likewise.
18982 (scalbnl): Likewise.
18983 (scalbln): Likewise.
18984 (scalblnf): Likewise.
18985 (scalblnl): Likewise.
18986 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18987 (vwarnx): Likewise.
18988 (verr): Likewise.
18989 (verrx): Likewise.
18990 * manual/filesys.texi (telldir): Use braces around return type.
18991 * manual/llio.texi (mmap): Add space after comma.
18992 (mmap64): Likewise.
18993 * manual/math.texi (jn): Use @var{} on parameter names.
18994 (jnf): Likewise.
18995 (jnl): Likewise.
18996 (yn): Likewise.
18997 (ynf): Likewise.
18998 (ynl): Likewise.
18999 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19000 line.
19001 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19002 "...".
19003 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19004 (sched_get_priority_max): Likewise.
19005 * manual/signal.texi (sigvec): Add space after comma.
19006 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19007 names.
19008 (if_indextoname): Likewise.
19009 (if_freenameindex): Likewise.
19010 (sendto): Use ',' instead of '.' in prototype.
19011 * manual/startup.texi (syscall): Use @dots{} instead of literal
19012 "...".
19013 * manual/stdio.texi (__fpending): Separate initial words of
19014 paragraph from @deftypefun line.
19015 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19016 "...".
19017 (vsyslog): Use @var{} on parameter names.
19018 * manual/terminal.texi (stty): Use @var{} on parameter names.
19019 * manual/users.texi (getutmp): Use @var{} on parameter names.
19020 (getutmpx): Likewise.
19021
190222012-02-17 Joseph Myers <joseph@codesourcery.com>
19023
19024 [BZ #6884]
19025 * manual/stdio.texi (fopen): Fix typos in description of
19026 ",ccs=STRING".
19027
190282012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19029
19030 [BZ #4026]
19031 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19032 get clock_id definition.
19033
190342012-02-17 Thomas Schwinge <thomas@schwinge.name>
19035
19036 [BZ #4822]
19037 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19038 (madvise): Cast every argument to void on its own.
19039
190402012-02-17 Joseph Myers <joseph@codesourcery.com>
19041
19042 [BZ #9902]
19043 * manual/startup.texi (Exit Status): Fix typo.
19044
190452012-02-17 Joseph Myers <joseph@codesourcery.com>
19046
19047 [BZ #10140]
19048 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19049 * manual/examples/argp-ex2.c: Likewise.
19050 * manual/examples/argp-ex3.c: Likewise.
19051
190522012-02-16 Richard Henderson <rth@redhat.com>
19053
19054 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19055 * sysdeps/s390/s390-32/initfini.c: Remove.
19056 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19057 * sysdeps/s390/s390-64/initfini.c: Remove.
19058
190592012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19060
19061 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19062 compiler output for sysdeps/generic/initfini.c.
19063 * sysdeps/sh/elf/initfini.c: Remove file.
19064
190652012-02-16 David S. Miller <davem@davemloft.net>
19066
19067 [BZ #11494]
19068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19069
19070 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19071 * sysdeps/sparc/crti.S: New file.
19072 * sysdeps/sparc/crtn.S: New file.
19073 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19074 * sysdeps/sparc/sparc64/Makefile: Likewise.
19075
190762012-02-15 Mike Frysinger <vapier@gentoo.org>
19077
19078 [BZ #3335]
19079 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19080
190812012-02-15 Roland McGrath <roland@hack.frob.com>
19082
19083 [BZ #4822]
19084 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19085
19086 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19087 (write, read, close): Likewise.
19088 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19089
190902012-02-15 Joseph Myers <joseph@codesourcery.com>
19091
19092 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19093 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19094 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19095 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19096 <bits/signalfd.h>.
19097 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19099 bits/signalfd.h.
19100
191012012-02-14 Marek Polacek <polacek@redhat.com>
19102
19103 * sysdeps/x86_64/crti.S: New file.
19104 * sysdeps/x86_64/crtn.S: New file.
19105 * sysdeps/x86_64/elf/initfini.c: Remove file.
19106
191072012-02-13 Joseph Myers <joseph@codesourcery.com>
19108
19109 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19110 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19111 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19112 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19113 <bits/inotify.h>.
19114 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19116 bits/inotify.h.
19117
191182012-02-13 Joseph Myers <joseph@codesourcery.com>
19119
19120 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19121 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19122 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19123 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19124 <bits/eventfd.h>.
19125 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19127 bits/eventfd.h.
19128
191292012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19130
19131 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19132 __feraiseexcept instead of feraiseexcept.
19133
19134 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19135 nanosleep invocations.
19136 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19137 strings, and add error checking for a nanosleep invocations.
19138
191392012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19140
19141 Replace FSF snail mail address with URLs, as per GNU coding standards.
19142 Most of the snail mail addresses were wrong anyway, and omitting
19143 them makes the source code easier to maintain. Almost all of the
19144 changes are to license notices and to locale LC_IDENTIFICATION
19145 addresses, except for this one:
19146 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19147 not its snail mail address.
19148
191492012-02-09 Richard Henderson <rth@twiddle.net>
19150
19151 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19152 of kernel-features.h.
19153
19154 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19155
191562012-02-08 Marek Polacek <polacek@redhat.com>
19157
19158 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19159 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19160 * sysdeps/gnu/_G_config.h: Likewise.
19161 * sysdeps/generic/_G_config.h: Likewise.
19162
191632012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19164
19165 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19166 tests.
19167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19168
19169 * sysdeps/powerpc/powerpc32/crti.S: New file.
19170 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19171 * sysdeps/powerpc/powerpc64/crti.S: New file.
19172 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19173
19174 * Makeconfig (have-initfini): Don't set.
19175 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19176 * configure.in (nopic_initfini): Don't substitute.
19177 * config.h.in (HAVE_INITFINI): Don't #undef.
19178 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19179 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19180
191812012-02-08 Joseph Myers <joseph@codesourcery.com>
19182
19183 Support crti.S and crtn.S provided directly by architectures.
19184 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19185 [crti.S in sysdirs] (omit-deps): Likewise.
19186 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19187 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19188 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19189 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19190 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19191 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19192 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19193 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19194 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19195 compiler output for sysdeps/generic/initfini.c.
19196 * sysdeps/i386/elf/Makefile: Remove file.
19197 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19198
191992012-02-07 Marek Polacek <polacek@redhat.com>
19200
19201 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19202 * sysdeps/gnu/_G_config.h: Likewise.
19203 * sysdeps/mach/hurd/_G_config.h: Likewise.
19204
192052012-02-07 Marek Polacek <polacek@redhat.com>
19206
19207 * math/Makefile (tests): Add tst-CMPLX2.
19208 * math/tst-CMPLX2.c: New file.
19209
192102012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19211
19212 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19213
19214 * math/libm-test.inc (jn_test): Add missing L suffix.
19215
192162012-02-06 Marek Polacek <polacek@redhat.com>
19217
19218 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19219 * sysdeps/i386/fpu/e_powf.S: Likewise.
19220 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19221 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19222 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19223 * sysdeps/i386/fpu/e_pow.S: Likewise.
19224 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19225 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19226 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19227 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19228 * sysdeps/i386/fpu/e_log2.S: Likewise.
19229 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19230 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19231 * sysdeps/i386/fpu/e_powl.S: Likewise.
19232 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19233 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19234 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19235 * sysdeps/i386/fpu/e_logl.S: Likewise.
19236 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19237 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19238 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19239 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19240 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19241 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19242 * sysdeps/i386/fpu/e_log.S: Likewise.
19243 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19244 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19245 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19246 * sysdeps/i386/fpu/e_logf.S: Likewise.
19247 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19248 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19249 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19250 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19251 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19252 * sysdeps/i386/fpu/e_log10.S: Likewise.
19253 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19254 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19255 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19256 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19257 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19258 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19259 * sysdeps/i386/asm-syntax.h: Likewise.
19260 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19261 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19262 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19263 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19264 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19265 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19266 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19267 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19268 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19269 * sysdeps/powerpc/sysdep.h: Likewise.
19270 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19271 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19272
192732012-02-06 Joseph Myers <joseph@codesourcery.com>
19274
19275 [BZ #411]
19276 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19277
192782012-02-06 Joseph Myers <joseph@codesourcery.com>
19279
19280 * sysdeps/i386/sysdep.h: Include <features.h>.
19281 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19282 version.
19283
192842012-02-05 Joseph Myers <joseph@codesourcery.com>
19285
19286 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19287 Define.
19288 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19289 LOAD_PIC_REG_STR.
19290
192912012-02-03 Joseph Myers <joseph@codesourcery.com>
19292
19293 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19294 (SETUP_PIC_REG): Use GET_PC_THUNK.
19295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19296 macro.
19297
192982012-02-03 Joseph Myers <joseph@codesourcery.com>
19299
19300 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19301 for non-PIC compilation.
19302 (SETUP_PIC_REG): Add .p2align directive.
19303 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19304 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19305 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19306 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19307 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19308 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19309 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19310 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19311 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19312 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19313 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19314 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19315 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19316 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19317 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19318 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19319 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19320 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19321 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19322 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19323 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19324 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19325 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19326 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19328 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19329 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19330 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19331 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19332 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19333 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19334 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19335 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19336 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19337 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19338 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19339 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19340 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19341 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19344
193452012-02-03 Joseph Myers <joseph@codesourcery.com>
19346
19347 * math/tst-CMPLX.c: Include <stdio.h>.
19348
193492012-01-31 Joseph Myers <joseph@codesourcery.com>
19350
19351 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19352 float.
19353 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19354 * sysdeps/sparc/bits/mathdef.h: Likewise.
19355
193562012-01-31 Marek Polacek <polacek@redhat.com>
19357
19358 * libio/libio.h: Don't define _PARAMS.
19359 * locale/programs/config.h: Don't define PARAMS.
19360 * stdlib/strtol_l.c: Likewise.
19361 (__strtol_l): Remove PARAMS from the prototype.
19362
193632012-01-31 Ulrich Drepper <drepper@gmail.com>
19364
19365 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19366 names. Just use the correct names. Remove unnecessary wrapper
19367 functions.
19368 * malloc/arena.c: Likewise.
19369 * malloc/hooks.c: Likewise.
19370
19371 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19372 ARENA_TEST says not to. Simplify test for creation of a new arena.
19373 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19374
193752012-01-30 Ulrich Drepper <drepper@gmail.com>
19376
19377 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19378 into tail calls.
19379 (update_get_addr): New function.
19380 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19381 GET_ADDR_MODULE parameter.
19382
193832012-01-30 Joseph Myers <joseph@codesourcery.com>
19384
19385 * crypt/cert.c: Remove __STDC__ conditionals.
19386 * crypt/crypt-entry.c: Likewise.
19387 * crypt/crypt_util.c: Likewise.
19388 * libio/filedoalloc.c: Likewise.
19389 * libio/fileops.c: Likewise.
19390 * libio/genops.c: Likewise.
19391 * libio/iofclose.c: Likewise.
19392 * libio/iofdopen.c: Likewise.
19393 * libio/iofopen.c: Likewise.
19394 * libio/iofopen64.c: Likewise.
19395 * libio/iogetdelim.c: Likewise.
19396 * libio/iopopen.c: Likewise.
19397 * libio/obprintf.c: Likewise.
19398 * libio/oldfileops.c: Likewise.
19399 * libio/oldiofclose.c: Likewise.
19400 * libio/oldiofdopen.c: Likewise.
19401 * libio/oldiofopen.c: Likewise.
19402 * libio/oldiopopen.c: Likewise.
19403 * libio/wfiledoalloc.c: Likewise.
19404 * libio/wgenops.c: Likewise.
19405 * locale/programs/xmalloc.c: Likewise.
19406 * misc/syslog.c: Likewise.
19407 * stdio-common/xbug.c: Likewise.
19408 * string/memchr.c: Likewise.
19409 * string/memcmp.c: Likewise.
19410 * string/memrchr.c: Likewise.
19411 * string/rawmemchr.c: Likewise.
19412 * sysdeps/posix/getcwd.c: Likewise.
19413 * time/strftime_l.c: Likewise.
19414
194152012-01-30 Joseph Myers <joseph@codesourcery.com>
19416
19417 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19418 * config.make.in (config-cflags-sse2avx): Define.
19419 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19420 Fix typo.
19421
194222012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19423
19424 * scripts/config.guess: Update from upstream config git repository.
19425 * scripts/config.sub: Likewise.
19426
194272012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19428
19429 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19430 (EM_NUM): Update.
19431 (R_TILEPRO_*, R_TILEGX_*): New macros.
19432
19433 * scripts/firstversions.awk: Fix bug in version range handling.
19434
19435 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19436
19437 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19438
19439 * include/sys/epoll.h: New file.
19440 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19441 libc_hidden_def.
19442
194432012-01-28 Ulrich Drepper <drepper@gmail.com>
19444
19445 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19446 Avoid unnecessary __WORDSIZE == 64 test.
19447 (fmaxf): Use VEX format if possible.
19448 (fmax): Likewise.
19449 (fminf): Likewise.
19450 (fmin): Likewise.
19451
19452 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19453 * math/math_private.h: Remove libc_fegetround* and
19454 libc_fesetround*.
19455 * sysdeps/i386/configure.in: Check for -msse2avx.
19456 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19457 also if SSE2AVX is defined.
19458 Remove libc_fegetround* and libc_fesetround*.
19459 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19460 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19461 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19462 of HAS_YMM_USABLE.
19463 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19464 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19465 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19466 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19467 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19468
19469 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19470
194712012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19472
19473 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19474 size is not set.
19475 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19476
194772012-01-27 Ulrich Drepper <drepper@gmail.com>
19478
19479 [BZ #13618]
19480 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19481 relocation.
19482 * Makeconfig (libm): Define.
19483 * elf/Makefile: Add rules to build and run tst-relsort1.
19484 * elf/tst-relsort1.c: New file.
19485 * elf/tst-relsort1mod1.c: New file.
19486 * elf/tst-relsort1mod2.c: New file.
19487
194882012-01-27 Joseph Myers <joseph@codesourcery.com>
19489
19490 * math/s_ldexp.c: Remove __STDC__ conditionals.
19491 * math/s_ldexpf.c: Likewise.
19492 * math/s_ldexpl.c: Likewise.
19493 * math/s_nextafter.c: Likewise.
19494 * math/s_nexttowardf.c: Likewise.
19495 * math/s_significand.c: Likewise.
19496 * math/s_significandf.c: Likewise.
19497 * math/s_significandl.c: Likewise.
19498 * math/w_jnl.c: Likewise.
19499 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19500 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19501 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19502 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19503 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19505 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19506 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19507 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19508 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19509 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19510 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19511 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19512 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19513 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19514 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19516 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19518 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19519 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19520 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19521 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19522 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19523 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19524 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19525 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19526 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19527 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19528 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19529 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19530 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19531 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19532 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19533 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19534 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19535 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19536 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19537 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19538 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19539 * sysdeps/ieee754/k_standard.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19601 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19606 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19614 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19615 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19619 * sysdeps/ieee754/s_matherr.c: Likewise.
19620 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19621 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19623 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19624
196252012-01-26 Joseph Myers <joseph@codesourcery.com>
19626
19627 * crypt/md5.h: Remove __STDC__ conditionals.
19628 * libio/libioP.h: Likewise.
19629 * locale/programs/config.h: Likewise.
19630 * sysdeps/generic/sysdep.h: Likewise.
19631 * sysdeps/i386/asm-syntax.h: Likewise.
19632 * sysdeps/s390/asm-syntax.h: Likewise.
19633 * sysdeps/unix/sysdep.h: Likewise.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19636
196372012-01-26 Joseph Myers <joseph@codesourcery.com>
19638
19639 * libio/libio.h: Remove __STDC__ conditionals.
19640 * malloc/obstack.h: Likewise.
19641 * math/complex.h: Likewise.
19642 * math/math.h: Likewise.
19643 * sysdeps/generic/_G_config.h: Likewise.
19644 * sysdeps/gnu/_G_config.h: Likewise.
19645 * sysdeps/mach/hurd/_G_config.h: Likewise.
19646 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19647 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19648 * sysdeps/sparc/bits/mathdef.h: Likewise.
19649
196502012-01-26 Ulrich Drepper <drepper@gmail.com>
19651
19652 [BZ #13583]
19653 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19654 Clean up HAS_* macros.
19655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19656 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19657 possible.
19658 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19659 HAS_AVX.
19660 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19661 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19662 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19663 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19664 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19665
196662012-01-25 Joseph Myers <joseph@codesourcery.com>
19667
19668 * elf/tst-unique3.cc (gets): Remove declaration.
19669 * elf/tst-unique3lib.cc (gets): Likewise.
19670 * elf/tst-unique3lib2.cc (gets): Likewise.
19671 * elf/tst-unique4.cc (gets): Likewise.
19672
196732012-01-24 Ulrich Drepper <drepper@gmail.com>
19674
19675 * include/stdio.h: Add C++ protection. Add gets declarations and
19676 definitions.
19677 * debug/tst-chk1.c: Don't declare gets here.
19678 * stdio-common/tst-gets.c: Likewise.
19679
196802012-01-24 Joseph Myers <joseph@codesourcery.com>
19681
19682 * posix/glob: Remove directory.
19683
196842012-01-24 Joseph Myers <joseph@codesourcery.com>
19685
19686 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19687
196882012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19689
19690 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19691 of the non-standard EPFNOSUPPORT.
19692
196932011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19694
19695 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19696 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19697 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19698
196992012-01-21 Ulrich Drepper <drepper@gmail.com>
19700
19701 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19702
197032012-01-20 Ulrich Drepper <drepper@gmail.com>
19704
19705 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19706 transient errors.
19707 * nscd/grpcache.c (cache_addgr): Likewise.
19708 * nscd/hstcache.c (cache_addhst): Likewise.
19709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19710 * nscd/pwdcache.c (cache_addpw): Likewise.
19711 * nscd/servicescache.c (cache_addserv): Likewise.
19712
197132012-01-16 Ulrich Drepper <drepper@gmail.com>
19714
19715 * malloc/malloc.c: Various cleanups.
19716 * malloc/hooks.c: Likewise.
19717
19718 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19719 * stdlib/bug-fmtmsg1.c: New file.
19720
19721 * stdlib/fmtmsg.c (init): Add missing unlock.
19722 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19723
197242012-01-12 Marek Polacek <polacek@redhat.com>
19725
19726 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19727 and _GNU_SOURCE.
19728
197292012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19730
19731 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19732 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19733 macro to ensure uniqueness of label name.
19734 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19735 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19736
197372012-01-11 Ulrich Drepper <drepper@gmail.com>
19738
19739 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19740
19741 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19742 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19743 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19744 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19745
197462012-01-10 Ulrich Drepper <drepper@gmail.com>
19747
19748 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19749
19750 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19751 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19752 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19753
19754 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19755
19756 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19757 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19758 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19760
19761 * math/bits/math-finite.h: Add ldexp support.
19762
197632012-01-10 Marek Polacek <polacek@redhat.com>
19764
19765 * locale/programs/localedef.h (show_archive_content): Add noreturn
19766 attribute.
19767
197682012-01-09 Ulrich Drepper <drepper@gmail.com>
19769
19770 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19771
197722012-01-08 Ulrich Drepper <drepper@gmail.com>
19773
19774 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19775
19776 * io/Makefile (headers): Add bits/poll2.h.
19777
197782011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19779
19780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19781 typo #include statement.
19782
197832012-01-08 Ulrich Drepper <drepper@gmail.com>
19784
19785 * include/sys/cdefs.h: Define __attribute_alloc_size.
19786 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19787 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19788 * elf/pldd.c: Likewise.
19789 * iconv/iconv_charmap.c: Likewise.
19790 * iconv/iconvconfig.c: Likewise.
19791 * iconv/strtab.c: Likewise.
19792 * locale/programs/locale.c: Likewise.
19793 * locale/programs/localedef.h: Likewise.
19794 * locale/programs/simple-hash.c: Likewise.
19795 * nscd/nscd.h: Likewise.
19796 * nss/makedb.c: Likewise.
19797 * sysdeps/generic/ldconfig.h: Likewise.
19798 * locale/programs/localedef.c: Remove xmalloc prototype.
19799 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19800
198012012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19802
19803 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19804 appropriate.
19805
198062012-01-08 Ulrich Drepper <drepper@gmail.com>
19807
19808 * math/Makefile (tests): Add tst-CMPLX.
19809 * math/tst-CMPLX.c: New file.
19810
19811 * math/complex.h (CMPLXL): Fix typo.
19812
19813 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19814 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19815 GLIBC_2.16.
19816 * debug/tst-chk1.c: Add poll and ppoll tests.
19817 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19818 * include/sys/poll.h: Add hidden proto for ppoll.
19819 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19820 * sysdeps/mach/hurd/ppoll.c: Likewise.
19821 * io/ppoll.c: Likewise.
19822 * debug/poll_chk.c: New file.
19823 * debug/ppoll_chk.c: New file.
19824 * include/bits/poll2.h: New file.
19825 * io/bits/poll2.h: New file.
19826
19827 [BZ #1350]
19828 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19829
19830 * configure.in: static is always set to yes. Remove.
19831 * config.make.in: Don't set build-static.
19832 * Makeconfig: Remove use of build-static.
19833 * dlfcn/Makefile: Likewise.
19834 * elf/Makefile: Likewise.
19835 * math/Makefile: Likewise.
19836 * misc/Makefile: Likewise.
19837 * nptl/Makefile: Likewise.
19838 * sysdeps/mach/hurd/Makefile: Likewise.
19839
19840 * configure.in: PWD_P is not used anymore.
19841 * config.make.in: Remove PWD_P entry.
19842
19843 * configure.in: Remove last remnants of RANLIB.
19844 No need to check for signed size_t anymore.
19845 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19846 and IA-64.
19847 Remove __builtin_expect test because we require at least gcc 3.4.
19848 * aclocal.m4: Likewise.
19849
19850 * wcsmbs/mbrtoc16.c: Implement using towc function.
19851 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19852 * wcsmbs/wcsmbsload.c: Likewise.
19853 * iconv/gconv_simple.c: Likewise.
19854 * iconv/gconv_int.h: Likewise.
19855 * iconv/gconv_builtin.h: Likewise.
19856 * iconv/iconv_prog.c: Remove CHAR16 handling.
19857
19858 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19859
19860 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19861
19862 * configure.in: Remove --with-elf and --enable-bounded options.
19863 Dont set base_machine for ia64. More non-ELF conditions removed.
19864 Remove testing and setting of leading underscore information.
19865 * config.make.in (build-bounded): Set to no.
19866 * config.h.in: Remove NO_UNDERSCORES entry.
19867 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19868 them.
19869 * csu/start.c: Remove !NO_UNDERSCORE code.
19870 * locale/localeinfo.h: Likewise.
19871 * sysdeps/generic/machine-gmon.h: Likewise.
19872 * sysdeps/generic/sysdep.h: Likewise.
19873 * sysdeps/i386/sysdep.h: Likewise.
19874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19875 * sysdeps/mach/sysdep.h: Likewise.
19876 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19877 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19878 * sysdeps/sh/sysdep.h: Likewise.
19879 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19880 * sysdeps/unix/i386/sysdep.S: Likewise.
19881 * sysdeps/unix/sparc/start.c: Likewise.
19882 * sysdeps/unix/sparc/sysdep.S: Likewise.
19883 * sysdeps/unix/sparc/sysdep.h: Likewise.
19884 * sysdeps/unix/start.c: Likewise.
19885 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19886 * sysdeps/x86_64/sysdep.h: Likewise.
19887
198882012-01-07 Ulrich Drepper <drepper@gmail.com>
19889
19890 [BZ #13553]
19891 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19892 for non-gcc.
19893 * argp/argp-fmtstream.h: Use const instead __const.
19894 * argp/argp.h: Likewise.
19895 * assert/assert.h: Likewise.
19896 * bits/fenv.h: Likewise.
19897 * bits/sched.h: Likewise.
19898 * bits/sigset.h: Likewise.
19899 * bits/sigthread.h: Likewise.
19900 * catgets/nl_types.h: Likewise.
19901 * conform/data/pthread.h-data: Likewise.
19902 * crypt/crypt-private.h: Likewise.
19903 * crypt/crypt.h: Likewise.
19904 * crypt/crypt_util.c: Likewise.
19905 * ctype/ctype.h: Likewise.
19906 * debug/execinfo.h: Likewise.
19907 * debug/mbsnrtowcs_chk.c: Likewise.
19908 * debug/mbsrtowcs_chk.c: Likewise.
19909 * debug/wcsnrtombs_chk.c: Likewise.
19910 * debug/wcsrtombs_chk.c: Likewise.
19911 * debug/wcstombs_chk.c: Likewise.
19912 * dirent/dirent.h: Likewise.
19913 * dlfcn/dlfcn.h: Likewise.
19914 * elf/neededtest4.c: Likewise.
19915 * grp/grp.h: Likewise.
19916 * gshadow/gshadow.h: Likewise.
19917 * iconv/gconv.h: Likewise.
19918 * iconv/gconv_int.h: Likewise.
19919 * iconv/gconv_simple.c: Likewise.
19920 * iconv/iconv.h: Likewise.
19921 * iconv/loop.c: Likewise.
19922 * iconv/skeleton.c: Likewise.
19923 * include/aio.h: Likewise.
19924 * include/aliases.h: Likewise.
19925 * include/argz.h: Likewise.
19926 * include/arpa/inet.h: Likewise.
19927 * include/assert.h: Likewise.
19928 * include/dirent.h: Likewise.
19929 * include/dlfcn.h: Likewise.
19930 * include/execinfo.h: Likewise.
19931 * include/fcntl.h: Likewise.
19932 * include/fenv.h: Likewise.
19933 * include/glob.h: Likewise.
19934 * include/grp.h: Likewise.
19935 * include/libintl.h: Likewise.
19936 * include/mntent.h: Likewise.
19937 * include/netdb.h: Likewise.
19938 * include/pwd.h: Likewise.
19939 * include/rpc/netdb.h: Likewise.
19940 * include/sched.h: Likewise.
19941 * include/search.h: Likewise.
19942 * include/shadow.h: Likewise.
19943 * include/signal.h: Likewise.
19944 * include/stdio.h: Likewise.
19945 * include/stdlib.h: Likewise.
19946 * include/string.h: Likewise.
19947 * include/sys/socket.h: Likewise.
19948 * include/sys/stat.h: Likewise.
19949 * include/sys/statfs.h: Likewise.
19950 * include/sys/statvfs.h: Likewise.
19951 * include/sys/syslog.h: Likewise.
19952 * include/sys/time.h: Likewise.
19953 * include/sys/uio.h: Likewise.
19954 * include/time.h: Likewise.
19955 * include/unistd.h: Likewise.
19956 * include/utmp.h: Likewise.
19957 * include/wchar.h: Likewise.
19958 * include/wctype.h: Likewise.
19959 * inet/aliases.h: Likewise.
19960 * inet/arpa/inet.h: Likewise.
19961 * inet/netinet/ether.h: Likewise.
19962 * inet/netinet/in.h: Likewise.
19963 * intl/libintl.h: Likewise.
19964 * io/bits/fcntl2.h: Likewise.
19965 * io/fcntl.h: Likewise.
19966 * io/ftw.h: Likewise.
19967 * io/sys/poll.h: Likewise.
19968 * io/sys/stat.h: Likewise.
19969 * io/sys/statfs.h: Likewise.
19970 * io/sys/statvfs.h: Likewise.
19971 * io/utime.h: Likewise.
19972 * libio/bits/stdio.h: Likewise.
19973 * libio/bits/stdio2.h: Likewise.
19974 * libio/libio.h: Likewise.
19975 * libio/libioP.h: Likewise.
19976 * libio/stdio.h: Likewise.
19977 * locale/lc-ctype.c: Likewise.
19978 * locale/locale.h: Likewise.
19979 * login/utmp.h: Likewise.
19980 * malloc/arena.c: Likewise.
19981 * malloc/malloc.c: Likewise.
19982 * malloc/malloc.h: Likewise.
19983 * malloc/mcheck.c: Likewise.
19984 * malloc/mtrace.c: Likewise.
19985 * math/bits/mathcalls.h: Likewise.
19986 * math/fenv.h: Likewise.
19987 * math/math_private.h: Likewise.
19988 * misc/bits/error.h: Likewise.
19989 * misc/bits/syslog.h: Likewise.
19990 * misc/err.h: Likewise.
19991 * misc/error.h: Likewise.
19992 * misc/fstab.h: Likewise.
19993 * misc/mntent.h: Likewise.
19994 * misc/regexp.h: Likewise.
19995 * misc/search.h: Likewise.
19996 * misc/sgtty.h: Likewise.
19997 * misc/sys/mman.h: Likewise.
19998 * misc/sys/syslog.h: Likewise.
19999 * misc/sys/uio.h: Likewise.
20000 * misc/sys/xattr.h: Likewise.
20001 * misc/ttyent.h: Likewise.
20002 * nis/rpcsvc/ypclnt.h: Likewise.
20003 * nss/nss.h: Likewise.
20004 * posix/bits/unistd.h: Likewise.
20005 * posix/fnmatch.h: Likewise.
20006 * posix/glob.h: Likewise.
20007 * posix/sched.h: Likewise.
20008 * posix/spawn.h: Likewise.
20009 * posix/sys/wait.h: Likewise.
20010 * posix/unistd.h: Likewise.
20011 * posix/wordexp.h: Likewise.
20012 * pwd/pwd.h: Likewise.
20013 * resolv/netdb.h: Likewise.
20014 * resource/sys/resource.h: Likewise.
20015 * rt/aio.h: Likewise.
20016 * rt/bits/mqueue2.h: Likewise.
20017 * rt/mqueue.h: Likewise.
20018 * shadow/shadow.h: Likewise.
20019 * signal/signal.h: Likewise.
20020 * socket/send.c: Likewise.
20021 * socket/sendto.c: Likewise.
20022 * socket/sys/socket.h: Likewise.
20023 * stdio-common/printf.h: Likewise.
20024 * stdlib/bits/stdlib.h: Likewise.
20025 * stdlib/fmtmsg.h: Likewise.
20026 * stdlib/monetary.h: Likewise.
20027 * stdlib/stdlib.h: Likewise.
20028 * stdlib/ucontext.h: Likewise.
20029 * streams/stropts.h: Likewise.
20030 * string/argz.h: Likewise.
20031 * string/bits/string2.h: Likewise.
20032 * string/string.h: Likewise.
20033 * string/strings.h: Likewise.
20034 * sunrpc/rpc/auth.h: Likewise.
20035 * sunrpc/rpc/auth_des.h: Likewise.
20036 * sunrpc/rpc/clnt.h: Likewise.
20037 * sunrpc/rpc/netdb.h: Likewise.
20038 * sunrpc/rpc/pmap_clnt.h: Likewise.
20039 * sunrpc/rpc/xdr.h: Likewise.
20040 * sysdeps/generic/inttypes.h: Likewise.
20041 * sysdeps/generic/net/if.h: Likewise.
20042 * sysdeps/generic/sys/swap.h: Likewise.
20043 * sysdeps/gnu/net/if.h: Likewise.
20044 * sysdeps/gnu/utmpx.h: Likewise.
20045 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20046 * sysdeps/i386/i486/bits/string.h: Likewise.
20047 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20048 * sysdeps/s390/bits/string.h: Likewise.
20049 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20050 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20051 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20052 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20053 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20054 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20055 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20056 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20057 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20058 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20059 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20060 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20061 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20062 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20063 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20064 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20065 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20067 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20069 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20070 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20071 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20072 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20073 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20074 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20075 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20076 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20077 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20078 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20079 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20080 * sysvipc/sys/ipc.h: Likewise.
20081 * sysvipc/sys/msg.h: Likewise.
20082 * sysvipc/sys/sem.h: Likewise.
20083 * sysvipc/sys/shm.h: Likewise.
20084 * termios/termios.h: Likewise.
20085 * time/sys/time.h: Likewise.
20086 * time/time.h: Likewise.
20087 * wcsmbs/bits/wchar2.h: Likewise.
20088 * wcsmbs/uchar.h: Likewise.
20089 * wcsmbs/wchar.h: Likewise.
20090 * wctype/wctype.h: Likewise.
20091
20092 [BZ #13551]
20093 * Makeconfig: Remove all but ELF support including AIX support.
20094 * Makerules: Likewise.
20095 * config.h.in: Likewise.
20096 * config.make.in: Likewise.
20097 * configure: Likewise.
20098 * configure.in: Likewise.
20099 * csu/Makefile: Likewise.
20100 * csu/version.c: Likewise.
20101 * debug/Makefile: Likewise.
20102 * dlfcn/Makefile: Likewise.
20103 * elf/Makefile: Likewise.
20104 * extra-lib.mk: Likewise.
20105 * iconv/Makefile: Likewise.
20106 * include/libc-symbols.h: Likewise.
20107 * include/shlib-compat.h: Likewise.
20108 * resolv/Makefile: Likewise.
20109 * resolv/res_libc.c: Likewise.
20110 * rt/Makefile: Likewise.
20111 * sysdeps/i386/asm-syntax.h: Likewise.
20112 * sysdeps/i386/sysdep.h: Likewise.
20113 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20114 * sysdeps/mach/sysdep.h: Likewise.
20115 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20116 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20117 * sysdeps/s390/asm-syntax.h: Likewise.
20118 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20119 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20120 * sysdeps/sh/sysdep.h: Likewise.
20121 * sysdeps/unix/sparc/sysdep.h: Likewise.
20122 * sysdeps/wordsize-32/divdi3.c: Likewise.
20123 * sysdeps/x86_64/sysdep.h: Likewise.
20124
20125 * argp/Versions: Remove _argp_unlock_xxx.
20126
20127 [BZ #13559]
20128 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20129 * abilist/libBrokenLocale.abilist: Likewise.
20130 * abilist/libanl.abilist: Likewise.
20131 * abilist/libc.abilist: Likewise.
20132 * abilist/libcrypt.abilist: Likewise.
20133 * abilist/libdl.abilist: Likewise.
20134 * abilist/libm.abilist: Likewise.
20135 * abilist/libnsl.abilist: Likewise.
20136 * abilist/libpthread.abilist: Likewise.
20137 * abilist/libresolv.abilist: Likewise.
20138 * abilist/librt.abilist: Likewise.
20139 * abilist/libthread_db.abilist: Likewise.
20140 * abilist/libutil.abilist: Likewise.
20141 * abilist/libnss_db.abilist: New file.
20142
20143 * scripts/abilist.awk: Add support for indirect functions.
20144
20145 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20146
20147 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20148
20149 * shlib-versions: Remove entries for ports architectures.
20150
20151 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20152 files in ports.
20153 * elf/stackguard-macros.h: Remove support for IA-64.
20154 * elf/tst-auditmod1.c: Likewise.
20155 * sysdeps/generic/ldsodefs.h: Likewise.
20156
20157 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20158 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20159 configure files.
20160
20161 [BZ #13552]
20162 * configure.in: Remove --enable-omitfp support.
20163 * FAQ.in: Adjust.
20164 * config.make.in: Likewise.
20165 * Makeconfig: Likewise.
20166 * manual/install.texi: Likewise.
20167
20168 In case anyone cares, the IA-64 architecture could move to ports.
20169 * sysdeps/ia64/*: Removed.
20170 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20171 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20172
20173 [BZ #13555]
20174 * configure.in: Remove entries for unsupported architectures.
20175
20176 [BZ #13533]
20177 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20178 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20179 routines.
20180 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20181 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20182 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20183 fall back to using wcrtomb.
20184 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20185 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20186 renaming.
20187 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20188 * wcsmbs/tst-c16c32-1.c: New file.
20189
20190 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20191 local variable.
20192
20193 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20194
20195 * elf/tst-unique3.cc: Add explicit declaration of gets.
20196 * elf/tst-unique3lib.cc: Likewise.
20197 * elf/tst-unique3lib2.cc: Likewise.
20198 * elf/tst-unique4.cc: Likewise.
20199
20200 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20201
202022012-01-06 Joseph Myers <joseph@codesourcery.com>
20203
20204 [BZ #13566]
20205 * assert/assert.h (static_assert): Don't define for C++.
20206 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20207 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20208
202092012-01-03 Ulrich Drepper <drepper@gmail.com>
20210
20211 * iconv/loop.c (single loop): Fix assertion in storing of
20212 remaining bytes.
20213
20214 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20215
202162012-01-01 Ulrich Drepper <drepper@gmail.com>
20217
20218 * posix/getconf.c: Update copyright year.
20219 * nss/getent.c: Likewise.
20220 * nss/makedb.c: Likewise.
20221 * iconv/iconvconfig.c: Likewise.
20222 * iconv/iconv_prog.c: Likewise.
20223 * elf/ldconfig.c: Likewise.
20224 * elf/pldd.c: Likewise.
20225 * elf/sotruss.ksh: Likewise.
20226 * catgets/gencat.c: Likewise.
20227 * csu/version.c: Likewise.
20228 * elf/ldd.bash.in: Likewise.
20229 * elf/sprof.c (print_version): Likewise.
20230 * locale/programs/locale.c: Likewise.
20231 * locale/programs/localedef.c: Likewise.
20232 * login/programs/pt_chown.c: Likewise.
20233 * nscd/nscd.c (print_version): Likewise.
20234 * debug/xtrace.sh: Likewise.
20235 * malloc/memusage.sh: Likewise.
20236 * malloc/mtrace.pl: Likewise.
20237 * debug/catchsegv.sh: Likewise.
20238
202392011-12-30 Jakub Jelinek <jakub@redhat.com>
20240
20241 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20242 pure attribute.
20243
202442011-12-24 Ulrich Drepper <drepper@gmail.com>
20245
20246 [BZ #13533]
20247 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20248 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20249 transformations.
20250 * iconv/gconv_int.h: Likewise.
20251 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20252 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20253 from libc for GLIBC_2.16.
20254 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20255 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20256 * wcsmbs/uchar.h: Really define mbstate_t.
20257 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20258 * wcsmbs/c16rtomb.c: New file.
20259 * wcsmbs/mbrtoc16.c: New file.
20260 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20261 for C/POSIX locale.
20262 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20263 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20264
20265 * wcsmbs/wchar.h: Add missing __restrict.
20266
202672011-12-23 Ulrich Drepper <drepper@gmail.com>
20268
20269 [BZ #13532]
20270 * time/Makefile (routines): Add timespec_get.
20271 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20272 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20273 timespec for ISO C11.
20274 * time/timespec_get.c: New file.
20275 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20276 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20277
20278 [BZ #13531]
20279 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20280 * stdlib/stdlib.h: Declare aligned_alloc.
20281 * Versions.def: Add GLIBC_2.16 for libc.
20282 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20283
20284 [BZ 13527]
20285 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20286 ISO C11.
20287
20288 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20289 code.
20290
20291 [BZ #13528]
20292 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20293
20294 [BZ #13529]
20295 * assert/assert.h (static_assert): Define.
20296
20297 * version.h: Update for 2.16 development version.
20298
20299 [BZ #13526]
20300 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20301 _ISOC11_SOURCE.
20302
20303 * version.h (RELEASE): Bump for 2.15 release.
20304 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20305
20306 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20307 Patch by Marek Polacek <mpolacek@redhat.com>.
20308
20309 * bits/byteswap.h: Protect long long constants with __extension__.
20310 * sysdeps/i386/bits/byteswap.h: Likewise.
20311 * sysdeps/ia64/bits/byteswap.h: Likewise.
20312 * sysdeps/s390/bits/byteswap.h: Likewise.
20313 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20314
203152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20316
20317 [BZ #13540]
20318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20319 destination buffer.
20320 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20321
203222011-12-23 Marek Polacek <polacek@redhat.com>
20323
20324 * elf/dl-addr.c (determine_info): Add inline keyword.
20325 * elf/tst-auditmod4b.c (check_avx): Likewise.
20326 * elf/tst-auditmod6b.c (check_avx): Likewise.
20327 * elf/tst-auditmod6c.c (check_avx): Likewise.
20328 * elf/tst-auditmod7b.c (check_avx): Likewise.
20329
203302011-12-23 Ulrich Drepper <drepper@gmail.com>
20331
20332 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20333 !__SSE_MATH__.
20334
203352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20336
20337 [BZ #13540]
20338 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20339 processing for last bytes.
20340
203412011-08-06 Bruno Haible <bruno@clisp.org>
20342
20343 [BZ #13061]
20344 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20345 U+0385, not to U+1FEE.
20346
20347 [BZ #13062]
20348 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20349 entry for U+00A5 U+0301.
20350
203512011-12-22 Ulrich Drepper <drepper@gmail.com>
20352
20353 [BZ #13166]
20354 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20355 buffer for the output is too small.
20356
20357 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20358 optimization.
20359
20360 [BZ #13185]
20361 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20362 SSE flags if possible.
20363
203642011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20365
20366 [BZ #13540]
20367 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20368 processing for last bytes.
20369
203702011-12-22 Joseph Myers <joseph@codesourcery.com>
20371
20372 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20373 (syscall-list-default-options, syscall-list-default-condition)
20374 (syscall-list-includes): Define.
20375 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20376 list of ABIs and options and #if conditions for each ABI. Do not
20377 handle common syscalls between ABIs specially.
20378 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20379 Remove.
20380 (syscall-list-variants, syscall-list-32bit-options)
20381 (syscall-list-32bit-condition, syscall-list-64bit-options)
20382 (syscall-list-64bit-condition): Define.
20383 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20384 (syscall-list-variants, syscall-list-32bit-options)
20385 (syscall-list-32bit-condition, syscall-list-64bit-options)
20386 (syscall-list-64bit-condition): Define.
20387 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20388 Remove.
20389 (syscall-list-variants, syscall-list-32bit-options)
20390 (syscall-list-32bit-condition, syscall-list-64bit-options)
20391 (syscall-list-64bit-condition): Define.
20392 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20393 Remove.
20394 (syscall-list-variants, syscall-list-32bit-options)
20395 (syscall-list-32bit-condition, syscall-list-64bit-options)
20396 (syscall-list-64bit-condition): Define.
20397
203982011-12-22 Ulrich Drepper <drepper@gmail.com>
20399
20400 * locale/iso-639.def: Add brx entry.
20401
20402 [BZ #13328]
20403 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20404 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20405
20406 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20407 __feraiseexcept_renamed.
20408
204092011-12-21 Ulrich Drepper <drepper@gmail.com>
20410
20411 [BZ #13538]
20412 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20413 EPOLLET with unsigned values.
20414 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20415 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20416
20417 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20418 to large cancellation.
20419 * math/s_cacoshf.c: Likewise.
20420 * math/s_cacoshl.c: Likewise.
20421
204222011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20423
20424 [BZ #13305]
20425 [BZ #12786]
20426 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20427 * math/s_cacoshf.c: Likewise.
20428 * math/s_cacoshl.c: Likewise.
20429
204302011-12-21 Ulrich Drepper <drepper@gmail.com>
20431
20432 [BZ #13439]
20433 * iconv/gconv.h: Define __GCONV_SWAP.
20434 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20435 * iconvdata/utf-16.c: Likewise.
20436 * iconvdata/utf-32.c: Likewise.
20437
204382011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20439
20440 [BZ #13524]
20441 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20442 numerator after shifting it by one limb.
20443
204442011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20445
20446 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20447 under [__USE_EXTERN_INLINES].
20448
204492011-12-17 Ulrich Drepper <drepper@gmail.com>
20450
20451 [BZ #13446]
20452 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20453
204542011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20455
20456 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20457 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20458 optimized code.
20459 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20460 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20461 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20462 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20463 for strncasecmp/strncasecmp_l compilation.
20464 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20465 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20466
204672011-12-08 Marek Polacek <mpolacek@redhat.com>
20468
20469 [BZ #13484]
20470 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20471 of __asm__.
20472
204732011-12-17 Ulrich Drepper <drepper@gmail.com>
20474
20475 [BZ #13506]
20476 * time/tzfile.c (__tzfile_read): Check values from file header.
20477
204782011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20479
20480 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20481 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20482 * powerpc/powerpc32/dl-start.S: Likewise.
20483 * powerpc/powerpc32/elf/start.S: Likewise.
20484 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20485 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20486 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20487 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20488 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20489 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20490 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20491 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20492 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20493 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20494 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20495 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20496 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20497 * powerpc/powerpc32/memset.S: Likewise.
20498 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20499 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20500 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20501 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20502 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20503 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20504 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20505 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20506 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20507 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20508 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20509 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20510 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20511
205122011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20513
20514 * math/libm-test.inc: Added more nearbyint tests.
20515 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20516 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20517 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20518 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20519
205202011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20521
20522 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20523 FD_CLOEXEC.
20524
205252011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20526
20527 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20528 Add wcscpy-ssse3 wcscpy-c.
20529 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20530 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20531 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20532 * sysdeps/x86_64/wcschr.S: New file.
20533 * sysdeps/x86_64/wcsrchr.S: New file.
20534 * string/test-strcmp.c: Remove checking of wcscmp function for
20535 wrong alignments.
20536 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20537 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20538 wcsrchr-sse2 wcsrchr-c.
20539 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20540 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20541 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20542 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20543 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20544 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20545 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20546 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20547 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20548 * wcsmbc/wcschr.c (WCSCHR): New macro.
20549
205502011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20551
20552 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20553 * wcsmbs/test-wcsrchr.c: New file.
20554 * string/test-strrchr.c: Add wcsrchr support.
20555 (WIDE): New macro.
20556 * wcsmbs/test-wcscpy.c: New file.
20557 * string/test-strcpy.c: Add wcscpy support.
20558 (WIDE): New macro.
20559
205602011-12-10 Ulrich Drepper <drepper@gmail.com>
20561
20562 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20563 the inner loop.
20564
205652011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20566
20567 [BZ #13472]
20568 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20569
205702011-12-04 Ulrich Drepper <drepper@gmail.com>
20571
20572 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20573 Minor optimizations.
20574
20575 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20576 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20577 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20578
205792011-12-03 Ulrich Drepper <drepper@gmail.com>
20580
20581 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20582 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20583 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20584 for gcc to avoid warnings.
20585 * inet/Makefile (tests): Add tst-checks.
20586 * inet/tst-checks.c: New file.
20587
20588 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20589 warning.
20590
20591 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20592 __wmemcmp_sse2.
20593
20594 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20595 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20596
20597 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20598
205992011-12-02 Ulrich Drepper <drepper@gmail.com>
20600
20601 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20602 problem.
20603
20604 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20605
206062011-11-29 Joseph Myers <joseph@codesourcery.com>
20607
20608 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20609 conditional on GCC version.
20610 (__arch_compare_and_exchange_val_8_acq)
20611 (__arch_compare_and_exchange_val_16_acq)
20612 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20613 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20614 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20615
206162011-12-02 Joseph Myers <joseph@codesourcery.com>
20617
20618 * sysdeps/sh/backtrace.c: New file.
20619
206202011-12-02 Andreas Schwab <schwab@redhat.com>
20621
20622 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20623 parenthesis.
20624
206252011-12-01 Andreas Schwab <schwab@redhat.com>
20626
20627 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20628 falling back to utime.
20629
206302011-11-30 Andreas Schwab <schwab@redhat.com>
20631
20632 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20633 expectations for float.
20634
206352011-11-29 Andreas Schwab <schwab@redhat.com>
20636
20637 * locale/weight.h (findidx): Add parameter len.
20638 * locale/weightwc.h (findidx): Likewise.
20639 * posix/fnmatch_loop.c (FCT): Adjust caller.
20640 * posix/regcomp.c (build_equiv_class): Likewise.
20641 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20642 * posix/regexec.c (check_node_accept_bytes): Likewise.
20643 * string/strcoll_l.c (STRCOLL): Likewise.
20644 * string/strxfrm_l.c (STRXFRM): Likewise.
20645
206462011-11-17 Ulrich Drepper <drepper@gmail.com>
20647
20648 * Makefile.in: Remove CVSOPT handling.
20649 * configure.in: Remove use of AC_REVISION.
20650 * iconvdata/Makefile (distribute): No need to filter out CVS.
20651 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20652 handling.
20653
206542011-11-16 Andreas Schwab <schwab@redhat.com>
20655
20656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20657 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20658 [USE_AS_STRNCASECMP_L]: Likewise.
20659 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20660 NO_TLS_DIRECT_SEG_REFS.
20661 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20662 Fix argument offsets for non-PIC.
20663 [USE_AS_STRNCASECMP_L]: Likewise.
20664 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20665 NO_TLS_DIRECT_SEG_REFS.
20666
206672011-11-15 Ulrich Drepper <drepper@gmail.com>
20668
20669 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20670 O_CLOEXEC.
20671 * locale/loadlocale.c (_nl_load_locale): Likewise.
20672
206732011-11-15 Andreas Schwab <schwab@redhat.com>
20674
20675 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20676 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20677 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20678 (SYSCALL_GETTIME): Set errno on error.
20679
20680 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20681 count references to noai6ai_cached.
20682
206832011-11-15 Ulrich Drepper <drepper@gmail.com>
20684
20685 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20686
20687 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20688 FD_CLOEXEC for /proc/self/maps.
20689
20690 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20691 FD_CLOEXEC for /proc/meminfo.
20692
20693 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20694 gai.conf.
20695
20696 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20697 FD_CLOEXEC for given file.
20698
20699 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20700
20701 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20702 FD_CLOEXEC for /etc/hosts.
20703 (_gethtent): Likewise.
20704
20705 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20706
20707 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20708 cancellation and set FD_CLOEXEC for /etc/netgroup.
20709
20710 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20711 reading /etc/publickey.
20712
20713 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20714 allow cancellation when reading /etc/group.
20715
20716 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20717 cancellation.
20718 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20719
20720 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20721 when using data file.
20722
20723 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20724
20725 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20726 (write_nis_obj): Use "c" and "e" in fopen.
20727
20728 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20729
20730 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20731
20732 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20733
20734 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20735
20736 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20737 locale.alias.
20738
20739 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20740
20741 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20742
20743 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20744
20745 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20746 file parsing and set FD_CLOEXEC.
20747
207482011-11-14 Ulrich Drepper <drepper@gmail.com>
20749
20750 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20751
207522011-11-14 Andreas Schwab <schwab@redhat.com>
20753
20754 * malloc/arena.c (arena_get2): Don't call reused_arena when
20755 _int_new_arena failed.
20756
207572011-11-14 Ulrich Drepper <drepper@gmail.com>
20758
20759 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20760 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20761 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20762 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20763 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20764 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20765 to compile strcasecmp and strncasecmp.
20766 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20767 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20768
20769 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20770
207712011-11-13 Ulrich Drepper <drepper@gmail.com>
20772
20773 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20774 locale-defines.sym to gen-as-const-headers.
20775 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20776 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20778 to compile strcasecmp and strncasecmp.
20779 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20780 strcasecmp_l and strncasecmp_l.
20781 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20782 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20783 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20784 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20785 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20786 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20787 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20788 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20789 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20790 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20791 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20792
207932011-11-12 Ulrich Drepper <drepper@gmail.com>
20794
20795 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20796 result of SYSDEP_GETTIME_CPU to retval.
20797 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20798 parameter list to macro. Remove trailing semicolon. Adjust users.
20799
20800 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20801 variable.
20802
20803 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20804 mantissa words.
20805 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20806
20807 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20808 from unused variable.
20809
20810 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20811 DWARF definitions.
20812 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20813 for assembling.
20814
20815 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20816 over namespaces.
20817
20818 * sunrpc/rpc_prot.c (rejected): Fix case value.
20819
20820 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20821 unsigned long long int to avoid warnings in shift.
20822
20823 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20824 of use of trans.
20825 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20826 variable tmp.
20827
20828 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20829 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20830 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20831
20832 * nis/nis_table.c (nis_list): Use variable of correct type for
20833 result of __follow_path call.
20834
208352011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20836
20837 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20838 of math functions ceil, trunc, floor, round, and sqrt, when
20839 avaliable on the platform.
20840 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20841 name clash.
20842 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20843 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20844 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20845
208462011-10-30 Marek Polacek <mpolacek@redhat.com>
20847
20848 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20849 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20850
208512011-11-11 Roland McGrath <roland@hack.frob.com>
20852
20853 * include/unistd.h: Fix __readlink return type.
20854 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20855
208562011-11-11 Ulrich Drepper <drepper@gmail.com>
20857
20858 * stdlib/ucontext.h: Undo last change for makecontext.
20859
208602011-11-11 Andreas Schwab <schwab@redhat.com>
20861
20862 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20863
20864 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20865 * setjmp/setjmp.h: Mark functions as non-leaf.
20866 * setjmp/bits/setjmp2.h: Likewise.
20867 * stdlib/ucontext.h: Likewise.
20868
208692011-11-10 Andreas Schwab <schwab@redhat.com>
20870
20871 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20872 (reused_arena): Don't check arena limit.
20873 (arena_get2): Atomically check arena limit.
20874
208752011-11-08 Ulrich Drepper <drepper@gmail.com>
20876
20877 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20878 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20879
20880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20881 instructions.
20882
208832011-11-07 Andreas Schwab <schwab@redhat.com>
20884
20885 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20886 handler when locking.
20887
20888 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20889 Fix size of allocated buffer.
20890
208912011-11-04 Andreas Schwab <schwab@redhat.com>
20892
20893 [BZ #10103]
20894 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20895 declarations for long double functions.
20896 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20897
20898 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20899
209002011-11-03 Andreas Schwab <schwab@redhat.com>
20901
20902 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20903 installed.
20904
20905 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20906 is disabled.
20907
209082011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20909
20910 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20911
209122011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20913
20914 * include/alloca.h (stackinfo_alloca_round): Define.
20915 (extend_alloca): Use it.
20916 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20917 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20918 here.
20919
20920 * scripts/check-local-headers.sh: Ignore libaudit.h.
20921
20922 * nscd/Makefile (extra-objs): Make recursively expanded.
20923
209242011-11-01 Ulrich Drepper <drepper@gmail.com>
20925
20926 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20928
20929 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20930 * posix/tst-rfc3484-2.c: Likewise.
20931 * posix/tst-rfc3484-3.c: Likewise.
20932
20933 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20934 process_vm_writev.
20935 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20936 process_vm_writev.
20937 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20938 process_vm_writev from libc using GLIBC_2.15 version.
20939
20940 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20941
209422011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20943
20944 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20945 stack usage.
20946
209472011-10-31 Ulrich Drepper <drepper@gmail.com>
20948
20949 [BZ #13367]
20950 * nss/getent.c (initgroups_keys): Show error message in case no group
20951 names are given.
20952
20953 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20954 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20955 __bump_nl_timestamp.
20956 * nscd/connections (nscd_init): When host database is served open
20957 netlink socket and request notification about configuration changes.
20958 (main_loop_poll): Track netlink file descriptor and bump timestamp
20959 in case data becomes available.
20960 (main_loop_epoll): Likewise.
20961 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20962 (database_pers_head): Add extra_data fileds.
20963 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20964 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20965 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20966 Adjust caller.
20967 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20968 in6ai data, call __free_in6ai.
20969 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20970 Add -DHAVE_NETLINK.
20971 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20972 interface information. Reuse previous data if netlink timestamp
20973 is not changed.
20974 (__bump_nl_timestamp): New function.
20975 (__free_in6ai): New function.
20976
209772011-10-30 Ulrich Drepper <drepper@gmail.com>
20978
20979 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20980 close_not_cancel_no_status here.
20981 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20982
209832011-10-29 Ulrich Drepper <drepper@gmail.com>
20984
20985 [BZ #13276]
20986 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20987 return value.
20988
20989 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20990 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20991 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20992
209932011-07-03 Andreas Jaeger <aj@suse.de>
20994
20995 [BZ #10709]
20996 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20997 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20998 * math/libm-test.inc (sin_test): Add test case.
20999
210002011-10-29 Ulrich Drepper <drepper@gmail.com>
21001
21002 [BZ #13337]
21003 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21004 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21005
21006 * elf/chroot_canon.c (chroot_canon): Cleanups.
21007
21008 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21009
21010 [BZ #13335]
21011 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21012 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21013
21014 * string/test-strchr.c: Make usable for strchrnul testing.
21015 * string/test-strchrnul.c: New file.
21016 * string/Makefile (strop-tests): Add strchrnul.
21017
21018 * po/it.po: Update from translation team.
21019 * po/es.po: Likewise.
21020
210212011-10-28 Ulrich Drepper <drepper@gmail.com>
21022
21023 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21024 the three constants needed as parameters. Drop the others.
21025 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21026 __m128i_strloadu_tolower.
21027 Create and initialize variable zero and use it in all the places
21028 where _mm_setzero_si128 was used.
21029
21030 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21031 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21032 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21033 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21034 anymore.
21035 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21036 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21037 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21038 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21039 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21040 __mpranred, __mptan.
21041 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21042 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21043 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21044 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21045 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21046 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21048 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21049 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21050
210512011-10-28 Andreas Schwab <schwab@redhat.com>
21052
21053 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21054 redefine if SHARED.
21055 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21056
21057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21058 wide char related routines to wcsmbs subdir.
21059
210602011-10-27 Andreas Schwab <schwab@redhat.com>
21061
21062 [BZ #13344]
21063 * misc/sys/cdefs.h (__THROWNL): Define.
21064 * posix/unistd.h: Use __THREADNL instead of __THREAD
21065 for memory synchronization functions.
21066
210672011-10-26 Roland McGrath <roland@hack.frob.com>
21068
21069 [BZ #13349]
21070 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21071 doesn't exist.
21072 * manual/stdio.texi (Obstack Streams): Node removed.
21073
210742011-10-26 Andreas Schwab <schwab@redhat.com>
21075
21076 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21077 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21078 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21079
21080 * math/math_private.h (math_force_eval): Allow non-addressable
21081 arguments.
21082 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21083
210842011-10-25 Ulrich Drepper <drepper@gmail.com>
21085
21086 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21087 file is not needed.
21088
21089 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21090 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21091 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21092 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21093 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21094 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21095 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21096 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21097 Add AVX variants.
21098 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21099 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21100 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21101 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21102 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21103 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21104 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21105 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21106 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21107 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21108 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21109 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21110 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21111 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21112 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21113 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21114 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21115 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21116 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21117
21118 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21119 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21120
21121 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21122 place. Use VEX encoding when compiling for AVX.
21123
211242011-10-25 Andreas Schwab <schwab@redhat.com>
21125
21126 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21127 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21128
21129 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21130
211312011-10-25 Ulrich Drepper <drepper@gmail.com>
21132
21133 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21134 useless if() expression.
21135 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21144 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21145 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21146 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21147 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21148 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21149 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21150 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21151 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21153 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21154
21155 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21156
211572011-10-25 Andreas Schwab <schwab@redhat.com>
21158
21159 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21160 condition.
21161 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21162
211632011-10-25 Ulrich Drepper <drepper@gmail.com>
21164
21165 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21166 .text section. Avoid duplicate constants.
21167 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21177 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21179 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21182 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21184 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21187 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21189 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21190 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21191 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21192 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21193 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21194 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21195 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21196 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21197 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21198 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21199 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21200 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21201 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21202 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21203 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21204 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21205 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21206 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21207 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21208 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21209 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21210 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21211 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21212
212132011-10-24 Ulrich Drepper <drepper@gmail.com>
21214
21215 * sysdeps/x86_64/dla.h: Move to ...
21216 * sysdeps/x86_64/fpu/dla.h: ...here.
21217 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21218 situations. Use __builtin_fma only for gcc 4.6 and up.
21219
21220 * config.make.in: Add have-mfma4 entry.
21221 * configure.in: Substitute libc_cv_cc_fma4.
21222 * math/Makefile (dbl-only-routines): Add sincostab.
21223 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21224 Use __sincostab not sincos.
21225 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21226 name is a macro.
21227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21231 using __copysign.
21232 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21233 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21234 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21235 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21236 and __inv.
21237 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21238 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21239 __copysign.
21240 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21241 define aliases when function name is a macro.
21242 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21243 sysdeps/ieee754/dbl-64/sincos.tbl.
21244 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21245 fma4-enabled routines.
21246 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21247 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21248 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21249 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21250 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21251 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21252 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21253 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21254 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21255 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21256 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21257 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21258 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21259 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21260 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21261 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21262 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21263 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21264 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21266 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21267 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21268 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21269 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21270 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21271 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21272 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21273 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21274 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21275 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21276
21277 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21278 rename.
21279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21280 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21282 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21283 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21284 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21285 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21286 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21287
212882011-10-24 Andreas Schwab <schwab@redhat.com>
21289
21290 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21291
212922011-10-23 Ulrich Drepper <drepper@gmail.com>
21293
21294 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21295
21296 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21297 prediction.
21298 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21299
21300 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21301 Remove unused variable magic_bits.
21302 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21303
21304 * string/strnlen.c: Define and use STRNLEN macro.
21305 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21306 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21307 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21308 * wcsmbs/wcslen.c: Define and use WCSLEN.
21309 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21310 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21311 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21312 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21313 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21314 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21315 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21316
213172011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21318
21319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21320 strnlen-sse2-no-bsf.
21321 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21323 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21324 Add strnlen support.
21325 (USE_AS_STRNLEN): New macro.
21326 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21327 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21328 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21329 * sysdeps/x86_64/wcslen.S: New file.
21330
213312011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21332
21333 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21334 XMM-moves are used for copying on small sizes.
21335
213362011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21337
21338 * wcsmbs/Makefile (strop-tests): Add wcschr.
21339 * wcsmbs/test-wcschr.c: New file.
21340 * string/test-strchr.c: Update.
21341 Add wcschr support.
21342 (WIDE): New macro.
21343
213442011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21345
21346 * wcsmbs/Makefile (strop-tests): Add wcslen.
21347 * wcsmbs/test-wcslen.c: New file.
21348 * string/test-strlen.c: Update.
21349 Add wcslen support.
21350 (WIDE): New macro.
21351
213522011-10-23 Ulrich Drepper <drepper@gmail.com>
21353
21354 * po/it.po: Update from translation team.
21355
213562011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21357
21358 * sysdeps/x86_64/wcscmp.S: Update.
21359 Fix wrong comparison semantics.
21360 wcscmp shall use signed comparison not unsigned.
21361 Don't use substraction to avoid overflow bug.
21362 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21363 * wcsmbc/wcscmp.c: Likewise.
21364 * string/test-strcmp.c: Likewise.
21365 Add new tests to check cases with negative values.
21366
213672011-10-23 Ulrich Drepper <drepper@gmail.com>
21368
21369 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21370 * sysdeps/x86_64/dla.h: ...here. New file.
21371 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21378 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21380
213812011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21382
21383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21384 __ynl_finite aliases.
21385
213862011-10-22 Ulrich Drepper <drepper@gmail.com>
21387
21388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21389
21390 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21391 define DLA_FMA.
21392 [DLA_FMA] (EMULV): Use DLA_FMA.
21393 [DLA_FMA] (MUL12): Use EMULV.
21394 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21395 that are not needed.
21396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21401 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21402 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21403
214042011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21405
21406 * math/s_nan.c: Undef __nan.
21407 * math/s_nanf.c: Undef __nanf.
21408 * math/s_nanl.c: Undef __nanl.
21409 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21410 "math_private.h".
21411
214122011-10-22 Ulrich Drepper <drepper@gmail.com>
21413
21414 * math/s_catan.c: Add branch predictions.
21415 * math/s_catanf.c: Likewise.
21416 * math/s_catanh.c: Likewise.
21417 * math/s_catanhf.c: Likewise.
21418 * math/s_catanhl.c: Likewise.
21419 * math/s_catanl.c: Likewise.
21420 * math/s_cexp.c: Likewise.
21421 * math/s_cexpf.c: Likewise.
21422 * math/s_cexpl.c: Likewise.
21423 * math/s_clog.c: Likewise.
21424 * math/s_clog10.c: Likewise.
21425 * math/s_clog10f.c: Likewise.
21426 * math/s_clog10l.c: Likewise.
21427 * math/s_clogf.c: Likewise.
21428 * math/s_clogl.c: Likewise.
21429 * math/s_csqrt.c: Likewise.
21430 * math/s_csqrtf.c: Likewise.
21431 * math/s_csqrtl.c: Likewise.
21432 * math/s_ctanf.c: Likewise.
21433 * math/s_ctanh.c: Likewise.
21434 * math/s_ctanhf.c: Likewise.
21435 * math/s_ctanhl.c: Likewise.
21436 * math/s_ctanl.c: Likewise.
21437
21438 * math/math_private.h: Define __nan, __nanf, __nanl.
21439 * math/s_cacosh.c: Include <math_private.h>.
21440 * math/s_cacoshl.c: Likewise.
21441 * math/s_casinh.c: Likewise.
21442 * math/s_casinhf.c: Likewise.
21443 * math/s_casinhl.c: Likewise.
21444 * math/s_ccos.c: Rely entire on ccosh.
21445 * math/s_ccosf.c: Rely entire on ccoshf.
21446 * math/s_ccosl.c: Rely entirely on ccoshl.
21447 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21448 Remove tests for FE_INVALID.
21449 * math/s_ccoshf.c: Likewise.
21450 * math/s_ccoshl.c: Likewise.
21451 * math/s_csin.c: Likewise.
21452 * math/s_csinf.c: Likewise.
21453 * math/s_csinh.c Likewise.
21454 * math/s_csinhf.c: Likewise.
21455 * math/s_csinhl.c: Likewise.
21456 * math/s_csinl.c: Likewise.
21457 * math/s_ctan.c: Likewise.
21458 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21459 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21460 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21461
214622011-10-21 Ulrich Drepper <drepper@gmail.com>
21463
21464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21465 compilation problems.
21466
21467 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21468 __builtin_expect.
21469
214702011-10-20 Ulrich Drepper <drepper@gmail.com>
21471
21472 * sysdeps/i386/configure.in: Test for -mfma4 option.
21473 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21474 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21475 COMMON_CPUID_INDEX_80000001.
21476 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21477 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21478 use it if FMA3 is not supported.
21479 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21480
21481 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21482 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21483
214842011-10-20 Andreas Schwab <schwab@redhat.com>
21485
21486 [BZ #12892]
21487 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21488 it would create a cycle with a link time dependency.
21489
214902011-10-19 Ulrich Drepper <drepper@gmail.com>
21491
21492 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21493 instruction.
21494 * string/Makefile (strop-tests): Add rawmemchr.
21495 * string/test-rawmemchr.c: New file.
21496
21497 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21498 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21499 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21500 when compiling str{,n}casecmp and when AVX is available. Hook up
21501 new optimized code in initializers.
21502
215032011-10-19 Andreas Schwab <schwab@redhat.com>
21504
21505 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21506 __feraiseexcept instead of feraiseexcept.
21507
215082011-10-18 Ulrich Drepper <drepper@gmail.com>
21509
21510 * math/math_private.h: Define defaults for libc_fetestexcept and
21511 libc_feupdateenv.
21512 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21513 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21514 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21515 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21516 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21517 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21518 libc_fetestexcept and libc_feupdateenv.
21519
21520 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21521 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21522 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21523 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21524 libc_feholdexcept_setround.
21525
21526 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21527 Add s_nearbyint-c and s_nearbyintf-c.
21528 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21529 nearbyintf inlines.
21530 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21531 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21532 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21533 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21534
21535 * math/math_private.h: Define defaults for libc_fegetround,
21536 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21537 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21538 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21539 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21540 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21541 standard functions.
21542 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21543 Remove comments and hacks for old compiler versions.
21544 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21545 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21546 libc_feholdexceptl.
21547
215482011-10-18 Andreas Schwab <schwab@redhat.com>
21549
21550 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21551 (__feraiseexcept_renamed): Add __NTH.
21552 (feraiseexcept): Add __NTH. Rename local variables to fix
21553 namespace violations.
21554
215552011-10-17 Ulrich Drepper <drepper@gmail.com>
21556
21557 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21558
21559 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21560
21561 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21562 recently added interfaces.
21563 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21564
21565 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21566 about macro parameter expansion.
21567
21568 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21569 __NO_MATH_INLINES is defined. Cleanups.
21570
21571 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21572 and __floorf is target has SSE4.1.
21573 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21574 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21575 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21576 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21577
21578 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21579 name.
21580 (floorf): Likewise.
21581
21582 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21583
215842011-10-17 Andreas Schwab <schwab@redhat.com>
21585
21586 * misc/sys/cdefs.h: Fix last change.
21587
21588 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21589 database lookup.
21590
215912011-10-16 Ulrich Drepper <drepper@gmail.com>
21592
21593 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21594
21595 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21596 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21597 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21598 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21602 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21603 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21604 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21605 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21606 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21607 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21608 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21609 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21610 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21611 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21612 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21613 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21614 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21615 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21616 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21617
21618 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21619 ceil, ceilf, floor, floorf.
21620
21621 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21622 Perform IRELATIVE relocations last.
21623
21624 * elf/do-rel.h: Add another parameter nrelative, replacing the
21625 local variable with the same name. Change name of the function
21626 to end in Rel or Rela (uppercase).
21627 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21628 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21629 elf_dynamic_do_##reloc function.
21630
216312011-10-15 Ulrich Drepper <drepper@gmail.com>
21632
21633 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21634 is sufficient, at least on modern CPUs.
21635
21636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21637
21638 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21639 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21640
21641 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21642 __expl_finite.
21643 * math/bits/math-finite.h: Add entries for exp.
21644 * math/e_expl.c: Add __*_finite alias.
21645 * sysdeps/i386/fpu/e_exp.S: Likewise.
21646 * sysdeps/i386/fpu/e_expf.S: Likewise.
21647 * sysdeps/i386/fpu/e_expl.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21649 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21650 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21651 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21653 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21654 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21655
21656 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21657 is sufficient, at least on modern CPUs.
21658
21659 * ctype/ctype-info.c (__ctype_init): Define.
21660 * include/ctype.h (__ctype_init): Declare.
21661 (__ctype_b_loc): The variable is always initialized.
21662 (__ctype_toupper_loc): Likewise.
21663 (__ctype_tolower_loc): Likewise.
21664 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21665 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21666
216672011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21668
21669 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21670
21671 * configure.in: Also look in $cxxmachine/include for C++ system
21672 headers.
21673
216742011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21675
21676 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21677 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21678 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21679 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21680 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21681 (USE_AS_WMEMCMP): New macro.
21682 Fixing indents.
21683 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21684 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21685 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21686 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21688 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21689 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21690 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21691 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21692 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21693 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21694 (USE_AS_WMEMCMP): New macro.
21695 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21696 * sysdeps/string/test-memcmp.c: Update.
21697 Fix simple_wmemcmp.
21698 Add new tests.
21699 * wcsmbs/wmemcmp.c: Update.
21700 (WMEMCMP): New macro.
21701 Fix overflow bug.
21702
217032011-10-12 Andreas Jaeger <aj@suse.de>
21704
21705 [BZ #13268]
21706 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21707
217082011-10-15 Ulrich Drepper <drepper@gmail.com>
21709
21710 * libio/iofwide.c (do_length): Avoid warning.
21711
21712 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21713
217142011-10-14 Ulrich Drepper <drepper@gmail.com>
21715
21716 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21717
21718 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21719 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21720 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21721 * sysdeps/i386/i686/fpu/e_log.S: New file.
21722 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21723 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21724
21725 * ctype/ctype.h: Add support for inlined isXXX functions when
21726 compiling C++ code.
21727
217282011-10-14 Andreas Schwab <schwab@redhat.com>
21729
21730 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21731
21732 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21733
217342011-10-13 Roland McGrath <roland@hack.frob.com>
21735
21736 [BZ #13291]
21737 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21738
217392011-10-13 Andreas Schwab <schwab@redhat.com>
21740
21741 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21742 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21743 feraiseexcept.
21744
21745 * sysdeps/x86_64/memrchr.S: Check for zero size.
21746
21747 * string/stratcliff.c: Add memrchr tests.
21748
217492011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21750
21751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21752 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21753 rawmemchr-sse2 rawmemchr-sse2-bsf.
21754 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21755 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21756 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21757 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21758 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21759 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21760 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21761 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21762 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21763 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21764 * string/memrchr.c (MEMRCHR): New macro.
21765
217662011-10-12 Ulrich Drepper <drepper@gmail.com>
21767
21768 Add integration with gcc's -ffinite-math-only and optimize wrapper
21769 functions in libm.
21770 * Versions.def: Define GLIBC_2.15 version for libm.
21771 * math/Makefile (headers): Add bits/math-finite.h.
21772 * math/bits/math-finite.h: New file.
21773 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21774 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21775 * math/e_acoshl.c: Add __*_finite alias.
21776 * math/e_acosl.c: Likewise.
21777 * math/e_asinl.c: Likewise.
21778 * math/e_atan2l.c: Likewise.
21779 * math/e_atanhl.c: Likewise.
21780 * math/e_coshl.c: Likewise.
21781 * math/e_exp10.c: Likewise.
21782 * math/e_exp10f.c: Likewise.
21783 * math/e_exp10l.c: Likewise.
21784 * math/e_exp2l.c: Likewise.
21785 * math/e_fmodl.c: Likewise.
21786 * math/e_gammal_r.c: Likewise.
21787 * math/e_hypotl.c: Likewise.
21788 * math/e_j0l.c: Likewise.
21789 * math/e_j1l.c: Likewise.
21790 * math/e_jnl.c: Likewise.
21791 * math/e_lgammal_r.c: Likewise.
21792 * math/e_log10l.c: Likewise.
21793 * math/e_log2l.c: Likewise.
21794 * math/e_logl.c: Likewise.
21795 * math/e_powl.c: Likewise.
21796 * math/e_sinhl.c: Likewise.
21797 * math/e_sqrtl.c: Likewise.
21798 * math/e_scalb.c: Completely rewritten and optimized.
21799 * math/e_scalbf.c: Likewise.
21800 * math/e_scalbl.c: Likewise.
21801 * math/w_acos.c: Likewise.
21802 * math/w_acosf.c: Likewise.
21803 * math/w_acosl.c: Likewise.
21804 * math/w_acosh.c: Likewise.
21805 * math/w_acoshf.c: Likewise.
21806 * math/w_acoshl.c: Likewise.
21807 * math/w_asin.c: Likewise.
21808 * math/w_asinf.c: Likewise.
21809 * math/w_asinl.c: Likewise.
21810 * math/w_atan2.c: Likewise.
21811 * math/w_atan2f.c: Likewise.
21812 * math/w_atan2l.c: Likewise.
21813 * math/w_atanh.c: Likewise.
21814 * math/w_atanhf.c: Likewise.
21815 * math/w_atanhl.c: Likewise.
21816 * math/w_exp10.c: Likewise.
21817 * math/w_exp10f.c: Likewise.
21818 * math/w_exp10l.c: Likewise.
21819 * math/w_fmod.c: Likewise.
21820 * math/w_fmodf.c: Likewise.
21821 * math/w_fmodl.c: Likewise.
21822 * math/w_j0.c: Likewise.
21823 * math/w_j0f.c: Likewise.
21824 * math/w_j0l.c: Likewise.
21825 * math/w_j1.c: Likewise.
21826 * math/w_j1f.c: Likewise.
21827 * math/w_j1l.c: Likewise.
21828 * math/w_jn.c: Likewise.
21829 * math/w_jnf.c: Likewise.
21830 * math/w_log.c: Likewise.
21831 * math/w_logf.c: Likewise.
21832 * math/w_logl.c: Likewise.
21833 * math/w_log10.c: Likewise.
21834 * math/w_log10f.c: Likewise.
21835 * math/w_log10l.c: Likewise.
21836 * math/w_log2.c: Likewise.
21837 * math/w_log2f.c: Likewise.
21838 * math/w_log2l.c: Likewise.
21839 * math/w_pow.c: Likewise.
21840 * math/w_powf.c: Likewise.
21841 * math/w_powl.c: Likewise.
21842 * math/w_remainder.c: Likewise.
21843 * math/w_remainderf.c: Likewise.
21844 * math/w_remainderl.c: Likewise.
21845 * math/w_scalb.c: Likewise.
21846 * math/w_scalbf.c: Likewise.
21847 * math/w_scalbl.c: Likewise.
21848 * math/w_sqrt.c: Likewise.
21849 * math/w_sqrtf.c: Likewise.
21850 * math/w_sqrtl.c: Likewise.
21851 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21852 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21853 used.
21854 * math/math_private.h: Declare __kernel_standard_f.
21855 * math/w_cosh.c: Remove cruft and optimize a bit.
21856 * math/w_coshf.c: Likewise.
21857 * math/w_coshl.c: Likewise.
21858 * math/w_exp2.c: Likewise.
21859 * math/w_exp2f.c: Likewise.
21860 * math/w_exp2l.c: Likewise.
21861 * math/w_hypot.c: Likewise.
21862 * math/w_hypotf.c: Likewise.
21863 * math/w_hypotl.c: Likewise.
21864 * math/w_lgamma.c: Likewise.
21865 * math/w_lgamma_r.c: Likewise.
21866 * math/w_lgammaf.c: Likewise.
21867 * math/w_lgammaf_r.c: Likewise.
21868 * math/w_lgammal.c: Likewise.
21869 * math/w_lgammal_r.c: Likewise.
21870 * math/w_sinh.c: Likewise.
21871 * math/w_sinhf.c: Likewise.
21872 * math/w_sinhl.c: Likewise.
21873 * math/w_tgamma.c: Likewise.
21874 * math/w_tgammaf.c: Likewise.
21875 * math/w_tgammal.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21877 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21878 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21879 Minor optimizations. Pretty printing. Remove cruft.
21880 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21881 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21882 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21883 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21884 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21885 * sysdeps/i386/fpu/e_asin.S: Likewise.
21886 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21887 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21888 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21889 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21891 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21892 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21893 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21894 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21895 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21896 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21897 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21898 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21899 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21900 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21901 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21902 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21903 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21904 * sysdeps/i386/fpu/e_log.S: Likewise.
21905 * sysdeps/i386/fpu/e_log10.S: Likewise.
21906 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21907 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21908 * sysdeps/i386/fpu/e_log2.S: Likewise.
21909 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21910 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21911 * sysdeps/i386/fpu/e_logf.S: Likewise.
21912 * sysdeps/i386/fpu/e_logl.S: Likewise.
21913 * sysdeps/i386/fpu/e_pow.S: Likewise.
21914 * sysdeps/i386/fpu/e_powf.S: Likewise.
21915 * sysdeps/i386/fpu/e_powl.S: Likewise.
21916 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21917 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21918 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21919 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21920 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21921 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21922 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21923 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21924 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21929 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21930 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21931 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21932 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21933 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21934 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21935 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21936 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21938 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21939 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21941 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21942 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21943 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21945 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21946 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21947 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21948 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21949 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21950 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21951 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21952 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21953 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21954 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21955 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21956 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21957 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21958 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21959 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21960 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21961 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21962 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21963 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21964 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21965 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21966 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21967 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21968 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21969 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21970 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21971 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21972 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21973 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21974 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21978 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21979 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21982 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21988 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21989 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21990 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21994 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21996 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21997 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21998 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21999 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22001 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22002 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22003 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22004 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22005 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22006 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22007 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22008 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22009 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22010 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22011 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22012 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22013 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22014 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22015 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22016 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22017 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22018 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22019 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22020 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22021 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22022 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22023 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22024 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22025 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22026 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22027 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22028 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22029 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22030 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22031 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22032 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22033 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22035 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22036 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22037 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22038 (__isnanf): Likewise.
22039 (__isinf_ns): Likewise.
22040 (__isinf_nsf): Likewise.
22041 (__finite): Likewise.
22042 (__finitef): Likewise.
22043 (__ieee754_sqrt): Define as macro.
22044 (__ieee754_sqrtf): Define as macro.
22045 (__ieee754_sqrtl): Define as macro.
22046 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22047 inlined copy.
22048 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22049 __FINITE_MATH_ONLY__ consistent.
22050 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22051
220522011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22053
22054 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22055 of rawmemchr.
22056
22057 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22058
220592011-10-09 Ulrich Drepper <drepper@gmail.com>
22060
22061 * po/ja.po: Update from translation team.
22062
220632011-10-08 Roland McGrath <roland@hack.frob.com>
22064
22065 * locale/programs/locarchive.c (prepare_address_space): New function.
22066 (create_archive, enlarge_archive, open_archive): Use it.
22067
22068 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22069 inside [SHARED], where it is used.
22070
22071 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22072
22073 * nss/getent.c (netgroup_keys): Remove unused variable.
22074 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22075
220762011-10-08 Ulrich Drepper <drepper@gmail.com>
22077
22078 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22079 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22081 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22082 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22083 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22084 * math/Makefile (libm-calls): Add s_isinf_ns.
22085 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22086 * math/multc3.c: Likewise.
22087 * math/s_casin.c: Likewise.
22088 * math/s_casinf.c: Likewise.
22089 * math/s_casinl.c: Likewise.
22090 * math/s_ccos.c: Likewise.
22091 * math/s_ccosf.c: Likewise.
22092 * math/s_ccosl.c: Likewise.
22093 * math/s_ctan.c: Likewise.
22094 * math/s_ctanf.c: Likewise.
22095 * math/s_ctanh.c: Likewise.
22096 * math/s_ctanhf.c: Likewise.
22097 * math/s_ctanhl.c: Likewise.
22098 * math/s_ctanl.c: Likewise.
22099 * math/w_fmod.c: Likewise.
22100 * math/w_fmodf.c: Likewise.
22101 * math/w_fmodl.c: Likewise.
22102 * math/w_remainder.c: Likewise.
22103 * math/w_remainderf.c: Likewise.
22104 * math/w_remainderl.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22106 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22107 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22109 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22110 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22111 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22112 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22113
22114 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22115 of the number.
22116 * stdio-common/printf_fphex.c: Likewise.
22117 * stdio-common/printf_size.c: Likewise.
22118
22119 * math/e_exp10.c: Include math_private.h using <...> not "...".
22120 * math/e_exp10f.c: Likewise.
22121 * math/e_exp10l.c: Likewise.
22122 * math/e_exp2l.c: Likewise.
22123 * math/e_j0l.c: Likewise.
22124 * math/e_j1l.c: Likewise.
22125 * math/e_jnl.c: Likewise.
22126 * math/e_lgammal_r.c: Likewise.
22127 * math/e_rem_pio2l.c: Likewise.
22128 * math/e_scalb.c: Likewise.
22129 * math/e_scalbf.c: Likewise.
22130 * math/e_scalbl.c: Likewise.
22131 * math/k_cosl.c: Likewise.
22132 * math/k_sinl.c: Likewise.
22133 * math/k_tanl.c: Likewise.
22134 * math/s_cacoshf.c: Likewise.
22135 * math/s_catan.c: Likewise.
22136 * math/s_catanf.c: Likewise.
22137 * math/s_catanh.c: Likewise.
22138 * math/s_catanhf.c: Likewise.
22139 * math/s_catanhl.c: Likewise.
22140 * math/s_catanl.c: Likewise.
22141 * math/s_ccosh.c: Likewise.
22142 * math/s_ccoshf.c: Likewise.
22143 * math/s_ccoshl.c: Likewise.
22144 * math/s_cexp.c: Likewise.
22145 * math/s_cexpf.c: Likewise.
22146 * math/s_cexpl.c: Likewise.
22147 * math/s_clog.c: Likewise.
22148 * math/s_clog10.c: Likewise.
22149 * math/s_clog10f.c: Likewise.
22150 * math/s_clog10l.c: Likewise.
22151 * math/s_clogf.c: Likewise.
22152 * math/s_clogl.c: Likewise.
22153 * math/s_csin.c: Likewise.
22154 * math/s_csinf.c: Likewise.
22155 * math/s_csinh.c: Likewise.
22156 * math/s_csinhf.c: Likewise.
22157 * math/s_csinhl.c: Likewise.
22158 * math/s_csinl.c: Likewise.
22159 * math/s_csqrt.c: Likewise.
22160 * math/s_csqrtf.c: Likewise.
22161 * math/s_csqrtl.c: Likewise.
22162 * math/s_ctan.c: Likewise.
22163 * math/s_ctanf.c: Likewise.
22164 * math/s_ctanh.c: Likewise.
22165 * math/s_ctanhf.c: Likewise.
22166 * math/s_ctanhl.c: Likewise.
22167 * math/s_ctanl.c: Likewise.
22168 * math/s_ldexp.c: Likewise.
22169 * math/s_ldexpf.c: Likewise.
22170 * math/s_ldexpl.c: Likewise.
22171 * math/s_significand.c: Likewise.
22172 * math/s_significandf.c: Likewise.
22173 * math/s_significandl.c: Likewise.
22174 * math/w_acos.c: Likewise.
22175 * math/w_acosf.c: Likewise.
22176 * math/w_acosh.c: Likewise.
22177 * math/w_acoshf.c: Likewise.
22178 * math/w_acoshl.c: Likewise.
22179 * math/w_acosl.c: Likewise.
22180 * math/w_asin.c: Likewise.
22181 * math/w_asinf.c: Likewise.
22182 * math/w_asinl.c: Likewise.
22183 * math/w_atan2.c: Likewise.
22184 * math/w_atan2f.c: Likewise.
22185 * math/w_atan2l.c: Likewise.
22186 * math/w_atanh.c: Likewise.
22187 * math/w_atanhf.c: Likewise.
22188 * math/w_atanhl.c: Likewise.
22189 * math/w_cosh.c: Likewise.
22190 * math/w_coshf.c: Likewise.
22191 * math/w_coshl.c: Likewise.
22192 * math/w_dremf.c: Likewise.
22193 * math/w_exp10.c: Likewise.
22194 * math/w_exp10f.c: Likewise.
22195 * math/w_exp10l.c: Likewise.
22196 * math/w_exp2.c: Likewise.
22197 * math/w_exp2f.c: Likewise.
22198 * math/w_fmod.c: Likewise.
22199 * math/w_fmodf.c: Likewise.
22200 * math/w_fmodl.c: Likewise.
22201 * math/w_hypot.c: Likewise.
22202 * math/w_hypotf.c: Likewise.
22203 * math/w_hypotl.c: Likewise.
22204 * math/w_j0.c: Likewise.
22205 * math/w_j0f.c: Likewise.
22206 * math/w_j0l.c: Likewise.
22207 * math/w_j1.c: Likewise.
22208 * math/w_j1f.c: Likewise.
22209 * math/w_j1l.c: Likewise.
22210 * math/w_jn.c: Likewise.
22211 * math/w_jnf.c: Likewise.
22212 * math/w_jnl.c: Likewise.
22213 * math/w_lgamma.c: Likewise.
22214 * math/w_lgamma_r.c: Likewise.
22215 * math/w_lgammaf.c: Likewise.
22216 * math/w_lgammaf_r.c: Likewise.
22217 * math/w_lgammal.c: Likewise.
22218 * math/w_lgammal_r.c: Likewise.
22219 * math/w_log.c: Likewise.
22220 * math/w_log10.c: Likewise.
22221 * math/w_log10f.c: Likewise.
22222 * math/w_log10l.c: Likewise.
22223 * math/w_log2.c: Likewise.
22224 * math/w_log2f.c: Likewise.
22225 * math/w_log2l.c: Likewise.
22226 * math/w_logf.c: Likewise.
22227 * math/w_logl.c: Likewise.
22228 * math/w_pow.c: Likewise.
22229 * math/w_powf.c: Likewise.
22230 * math/w_powl.c: Likewise.
22231 * math/w_remainder.c: Likewise.
22232 * math/w_remainderf.c: Likewise.
22233 * math/w_remainderl.c: Likewise.
22234 * math/w_scalb.c: Likewise.
22235 * math/w_scalbf.c: Likewise.
22236 * math/w_scalbl.c: Likewise.
22237 * math/w_sinh.c: Likewise.
22238 * math/w_sinhf.c: Likewise.
22239 * math/w_sinhl.c: Likewise.
22240 * math/w_sqrt.c: Likewise.
22241 * math/w_sqrtf.c: Likewise.
22242 * math/w_sqrtl.c: Likewise.
22243 * math/w_tgamma.c: Likewise.
22244 * math/w_tgammaf.c: Likewise.
22245 * math/w_tgammal.c: Likewise.
22246
22247 * po/ja.po: Update from translation team.
22248
222492011-09-29 Andreas Jaeger <aj@suse.de>
22250
22251 [BZ #13179]
22252 * sunrpc/netname.c (netname2host): Fix logic.
22253
22254 [BZ #6779]
22255 [BZ #6783]
22256 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22257 correctly.
22258 * math/w_remainder.c (__remainder): Likewise.
22259 * math/w_remainderf.c (__remainderf): Likewise.
22260 * math/libm-test.inc (remainder_test): Add test cases.
22261
222622011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22263
22264 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22265 sdiv_qrnnd.
22266
222672011-10-07 Ulrich Drepper <drepper@gmail.com>
22268
22269 * string/test-memcmp.c: Avoid unncessary #defines.
22270 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22271
222722011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22273
22274 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22275 Use new sse2 version for core i3 - i7 as it's faster
22276 than sse42 version.
22277 (bit_Prefer_PMINUB_for_stringop): New.
22278 * sysdeps/x86_64/rawmemchr.S: Update.
22279 Replace with faster SSE2 version.
22280 * sysdeps/x86_64/memrchr.S: New file.
22281 * sysdeps/x86_64/memchr.S: Update.
22282 Replace with faster SSE2 version.
22283
222842011-09-12 Marek Polacek <mpolacek@redhat.com>
22285
22286 * elf/dl-load.c (lose): Add cast to avoid warning.
22287
222882011-10-07 Ulrich Drepper <drepper@gmail.com>
22289
22290 * po/ca.po: Update from translation team.
22291
22292 * inet/getnetgrent_r.c: Hook up nscd.
22293 * nscd/Makefile (routines): Add nscd_netgroup.
22294 (nscd-modules): Add netgroupcache.
22295 (CFLAGS-netgroupcache.c): Define.
22296 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22297 (cache_search): Add const to second parameter.
22298 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22299 INNETGR.
22300 (dbs): Add netgrdb entry.
22301 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22302 (verify_persistent_db): Handle netgrdb.
22303 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22304 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22305 GETFDNETGR.
22306 (netgroup_response_header): Define.
22307 (innetgroup_response_header): Define.
22308 (datahead): Add netgroup_response_header and innetgroup_response_header
22309 elements.
22310 * nscd/nscd.conf: Add entries for netgroup cache.
22311 * nscd/nscd.h (dbtype): Add netgrdb.
22312 (_PATH_NSCD_NETGROUP_DB): Define.
22313 (netgroup_iov_disabled): Declare.
22314 (xmalloc, xcalloc, xrealloc): Move declarations here.
22315 (cache_search): Adjust prototype.
22316 Add netgroup-related prototypes.
22317 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22318 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22319 (__nscd_innetgr): Declare.
22320 * nscd/selinux.c (perms): Use access_vector_t as element type and
22321 add netgroup-related initializers.
22322 * nscd/netgroupcache.c: New file.
22323 * nscd/nscd_netgroup.c: New file.
22324 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22325 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22326 For four parameters use innetgr.
22327 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22328 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22329 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22330 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22331
22332 * nscd/connections.c (register_traced_file): Don't register file
22333 for disabled databases.
22334
223352011-10-06 Ulrich Drepper <drepper@gmail.com>
22336
22337 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22338
22339 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22340 from tree and freeing node.
22341
223422011-09-25 Jiri Olsa <jolsa@redhat.com>
22343
22344 * nss/nsswitch.c (__nss_database_lookup): Handle
22345 nss_parse_service_list out of memory case.
22346
223472011-09-15 Jiri Olsa <jolsa@redhat.com>
22348
22349 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22350 out of memory case.
22351
223522011-10-04 Andreas Schwab <schwab@redhat.com>
22353
22354 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22355 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22356 pass it down.
22357 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22358 elf_machine_rela, elf_machine_lazy_rel.
22359 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22360 (ELF_DYNAMIC_DO_REL): Likewise.
22361 (ELF_DYNAMIC_DO_RELA): Likewise.
22362 (ELF_DYNAMIC_RELOCATE): Likewise.
22363 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22364 to ELF_DYNAMIC_DO_REL.
22365 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22366 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22367 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22368 elf_machine_rela.
22369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22370 skip_ifunc, don't call ifunc function if non-zero.
22371 (elf_machine_rela): Likewise.
22372 (elf_machine_lazy_rel): Likewise.
22373 (elf_machine_lazy_rela): Likewise.
22374 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22375 (elf_machine_lazy_rel): Likewise.
22376 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22377 Likewise.
22378 (elf_machine_lazy_rel): Likewise.
22379 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22380 Likewise.
22381 (elf_machine_lazy_rel): Likewise.
22382 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22383 (elf_machine_lazy_rel): Likewise.
22384 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22385 (elf_machine_lazy_rel): Likewise.
22386 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22387 (elf_machine_lazy_rel): Likewise.
22388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22389 (elf_machine_lazy_rel): Likewise.
22390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22391 (elf_machine_lazy_rel): Likewise.
22392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22393 (elf_machine_lazy_rel): Likewise.
22394
223952011-09-28 Ulrich Drepper <drepper@gmail.com>
22396
22397 * nss/nss_files/files-init.c (_nss_files_init): Use static
22398 initialization for all the *_traced_file variables.
22399
224002011-09-28 Andreas Schwab <schwab@redhat.com>
22401
22402 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22403
224042011-09-27 Roland McGrath <roland@hack.frob.com>
22405
22406 [BZ #13226]
22407 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22408
224092011-09-27 Andreas Schwab <schwab@redhat.com>
22410
22411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22412 Reread the line before reparsing it.
22413
224142011-09-26 Andreas Schwab <schwab@redhat.com>
22415
22416 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22417
224182011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22419 Maxim Kuvyrkov <maxim@codesourcery.com>
22420 Joseph Myers <joseph@codesourcery.com>
22421
22422 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22423 if needed for __stack_chk_guard.
22424
224252011-09-19 Roland McGrath <roland@hack.frob.com>
22426
22427 * sysdeps/posix/spawni.c (script_execute): Always define it.
22428 It will be optimized away if unused.
22429 (maybe_script_execute): New function.
22430 (__spawni): Call it.
22431
22432 * Makerules: Don't include tls.make.
22433 (config-tls): Always set to thread.
22434 * tls.make.c: File removed.
22435
224362011-09-19 Mike Frysinger <vapier@gentoo.org>
22437
22438 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22439 * config.make.in (CPPFLAGS-config): New substituted variable.
22440
224412011-09-15 Ulrich Drepper <drepper@gmail.com>
22442
22443 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22444
22445 [BZ #13192]
22446 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22447 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22448
224492011-09-15 Roland McGrath <roland@hack.frob.com>
22450
22451 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22452 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22454 (CALL_FAIL): Likewise.
22455 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22456 (CALL_FAIL): Macro removed.
22457 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22458
224592011-09-15 Ulrich Drepper <drepper@gmail.com>
22460
22461 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22462 for __FINITE_MATH_ONLY__ == 1.
22463
224642011-09-15 Andreas Schwab <schwab@redhat.com>
22465
22466 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22467 __ieee754_sqrt instead of sqrt.
22468 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22469 __ieee754_sqrtf instead of sqrtf.
22470 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22471 __floorf instead of floorf.
22472 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22473 __floorf, __truncf instead of floorf, truncf.
22474
224752011-09-14 Ulrich Drepper <drepper@gmail.com>
22476
22477 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22478
22479 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22480 __extern_always_inline.
22481 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22482 32-bit.
22483
224842011-09-14 Andreas Schwab <schwab@redhat.com>
22485
22486 * elf/rtld.c (dl_main): Also relocate in dependency order when
22487 doing symbol dependency testing.
22488
224892011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22490
22491 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22492 Always define `refsym'.
22493
224942011-09-13 Andreas Schwab <schwab@redhat.com>
22495
22496 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22497 (__FD_ELT): Renamed from __FDELT.
22498 * misc/bits/select2.h (__FD_ELT): Likewise.
22499 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22500 __FD_MASK instead of __FDELT, __FDMASK.
22501 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22502 Likewise.
22503 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22504 Likewise.
22505
22506 * elf/Makefile (gen-ldd): Fix pattern.
22507
22508 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22509 (init_tls): Likewise.
22510
225112011-09-12 Ulrich Drepper <drepper@gmail.com>
22512
22513 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22514
225152011-09-12 Andreas Schwab <schwab@redhat.com>
22516
22517 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22518 `struct cmsghdr *' instead of `void *'.
22519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22520 Likewise.
22521
225222011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22523
22524 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22525 if non-absolute.
22526 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22527 ldd_rewrite_script.
22528
225292011-09-11 Ulrich Drepper <drepper@gmail.com>
22530
22531 * configure.in: Remove --with-tls option.
22532 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22533 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22534 out in case it is missing.
22535 * sysdeps/ia64/elf/configure.in: Likewise.
22536 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22537 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22538 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22539 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22540 * sysdeps/sh/elf/configure.in: Likewise.
22541 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22542 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22543 * sysdeps/x86_64/elf/configure.in: Likewise.
22544 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22545 * sysdeps/mach/hurd/tls.h: Likewise.
22546
22547 [BZ #13067]
22548 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22549
22550 [BZ #13090]
22551 * configure.in: Fix use of AC_INIT.
22552
22553 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22554
225552011-09-10 Ulrich Drepper <drepper@gmail.com>
22556
22557 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22558 __set_errno.
22559 * malloc/hooks.c: Likewise.
22560
22561 [BZ #11929]
22562 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22563 variables statically.
22564 (narenas): Initialize.
22565 (list_lock): Initialize.
22566 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22567 initializtion of main_arena and list_lock. Small cleanups.
22568 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22569 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22570 Add initializers to main_arena and mp_.
22571 (malloc_state): Remove pagesize member. Change all users to use
22572 GLRO(dl_pagesize).
22573
22574 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22575 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22576 is always initialized.
22577
22578 * malloc/malloc.c: Removed unused configurations and dead code.
22579 * malloc/arena.c: Likewise.
22580 * malloc/hooks.c: Likewise.
22581 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22582
22583 * include/tls.h: Removed. USE___THREAD must always be defined.
22584 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22585 * elf/dl-libc.c: Likewise.
22586 * elf/dl-tsd.c: Likewise.
22587 * include/errno.h: Likewise.
22588 * include/netdb.h: Likewise.
22589 * include/resolv.h: Likewise.
22590 * inet/herrno-loc.c: Likewise.
22591 * inet/herrno.c: Likewise.
22592 * malloc/arena.c: Likewise.
22593 * malloc/hooks.c: Likewise.
22594 * malloc/malloc.c: Likewise.
22595 * resolv/res-state.c: Likewise.
22596 * resolv/res_libc.c: Likewise.
22597 * sysdeps/i386/dl-machine.h: Likewise.
22598 * sysdeps/ia64/dl-machine.h: Likewise.
22599 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22600 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22601 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22602 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22603 * sysdeps/sh/dl-machine.h: Likewise.
22604 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22605 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22606 * sysdeps/unix/i386/sysdep.S: Likewise.
22607 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22608 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22610 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22612 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22613 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22614 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22615 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22617 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22618 * sysdeps/x86_64/dl-machine.h: Likewise.
22619 * tls.make.c: Likewise.
22620
22621 * configure.in: Remove --with-__thread option. Make tests for
22622 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22623 tls_model attribute fail if no support is available. Remove
22624 USE_IN_LIBIO.
22625 * Makeconfig: Adjust for dropped configure option. All features are
22626 now mandatory.
22627 * Makerules: Likewise.
22628 * Versions.def: Likewise.
22629 * argp/argp-fmtstream.c: Likewise.
22630 * argp/argp-fmtstream.h: Likewise.
22631 * argp/argp-help.c: Likewise.
22632 * assert/assert.c: Likewise.
22633 * config.h.in: Likewise.
22634 * config.make.in: Likewise.
22635 * configure: Likewise.
22636 * configure.in: Likewise.
22637 * csu/Versions: Likewise.
22638 * csu/init.c: Likewise.
22639 * elf/tst-audit2.c: Likewise.
22640 * elf/tst-tls10.c: Likewise.
22641 * elf/tst-tls10.h: Likewise.
22642 * elf/tst-tls11.c: Likewise.
22643 * elf/tst-tls12.c: Likewise.
22644 * elf/tst-tls14.c: Likewise.
22645 * elf/tst-tlsmod11.c: Likewise.
22646 * elf/tst-tlsmod12.c: Likewise.
22647 * elf/tst-tlsmod13.c: Likewise.
22648 * elf/tst-tlsmod13a.c: Likewise.
22649 * elf/tst-tlsmod14a.c: Likewise.
22650 * elf/tst-tlsmod15b.c: Likewise.
22651 * elf/tst-tlsmod16a.c: Likewise.
22652 * elf/tst-tlsmod16b.c: Likewise.
22653 * elf/tst-tlsmod7.c: Likewise.
22654 * elf/tst-tlsmod8.c: Likewise.
22655 * elf/tst-tlsmod9.c: Likewise.
22656 * gmon/gmon.c: Likewise.
22657 * grp/fgetgrent_r.c: Likewise.
22658 * grp/putgrent.c: Likewise.
22659 * hurd/fopenport.c: Likewise.
22660 * include/libc-symbols.h: Likewise.
22661 * include/tls.h: Likewise.
22662 * intl/gettextP.h: Likewise.
22663 * intl/loadinfo.h: Likewise.
22664 * locale/global-locale.c: Likewise.
22665 * locale/localeinfo.h: Likewise.
22666 * mach/devstream.c: Likewise.
22667 * malloc/arena.c: Likewise.
22668 * malloc/set-freeres.c: Likewise.
22669 * misc/err.c: Likewise.
22670 * misc/getttyent.c: Likewise.
22671 * misc/mntent_r.c: Likewise.
22672 * posix/getopt.c: Likewise.
22673 * posix/wordexp.c: Likewise.
22674 * pwd/fgetpwent_r.c: Likewise.
22675 * resolv/Versions: Likewise.
22676 * resolv/res_hconf.c: Likewise.
22677 * shadow/fgetspent_r.c: Likewise.
22678 * shadow/putspent.c: Likewise.
22679 * stdio-common/printf_fphex.c: Likewise.
22680 * stdio-common/tmpfile.c: Likewise.
22681 * stdlib/abort.c: Likewise.
22682 * stdlib/fmtmsg.c: Likewise.
22683 * sunrpc/auth_unix.c: Likewise.
22684 * sunrpc/clnt_perr.c: Likewise.
22685 * sunrpc/clnt_tcp.c: Likewise.
22686 * sunrpc/clnt_udp.c: Likewise.
22687 * sunrpc/clnt_unix.c: Likewise.
22688 * sunrpc/openchild.c: Likewise.
22689 * sunrpc/svc_simple.c: Likewise.
22690 * sunrpc/svc_tcp.c: Likewise.
22691 * sunrpc/svc_udp.c: Likewise.
22692 * sunrpc/svc_unix.c: Likewise.
22693 * sunrpc/xdr.c: Likewise.
22694 * sunrpc/xdr_array.c: Likewise.
22695 * sunrpc/xdr_rec.c: Likewise.
22696 * sunrpc/xdr_ref.c: Likewise.
22697 * sunrpc/xdr_stdio.c: Likewise.
22698
226992011-09-09 Ulrich Drepper <drepper@gmail.com>
22700
22701 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22702
227032011-07-03 Andreas Jaeger <aj@suse.de>
22704
22705 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22706 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22707 regenerate with gen-libm-tests.pl.
22708
227092010-05-12 Petr Baudis <pasky@suse.cz>
22710
22711 [BZ #11589]
22712 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22713 around j0() zero points by switching to j1().
22714 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22715 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22718
227192011-09-09 Ulrich Drepper <drepper@gmail.com>
22720
22721 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22722 instead of 0.
22723 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22724 instead of 0.
22725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22726 Patch in part by Pavel Roskin <proski@gnu.org>.
22727
22728 [BZ #13138]
22729 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22730 realloc.
22731 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22732 Free memory block if necessary.
22733
22734 [BZ #12847]
22735 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22736 be NULL. Don't lock in this case.
22737
227382011-09-09 Roland McGrath <roland@hack.frob.com>
22739
22740 * elf/elf.h (ELFOSABI_GNU): New macro.
22741 (ELFOSABI_LINUX): Define to that.
22742
227432011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22744
22745 * string/strncat.c (strncat): Undef the symbol in case it has been
22746 defined in bits/string.h.
22747
227482011-09-09 Ulrich Drepper <drepper@gmail.com>
22749
22750 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22751
22752 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22753 link map.
22754
227552011-08-17 Andreas Jaeger <aj@suse.de>
22756
22757 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22758
227592011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22760 Ian Lance Taylor <iant@google.com>
22761
22762 * math/libm-test.inc (lround_test): New testcase.
22763 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22764
227652011-09-08 Ulrich Drepper <drepper@gmail.com>
22766
22767 * Makefile: Remove support for automatic cvs check-ins.
22768 * Makerules: Likewise.
22769 * config.make.in: Likewise.
22770 * configure.in: Likewise.
22771 * intl/Makefile: Likewise.
22772 * locale/Makefile: Likewise.
22773 * po/Makefile: Likewise.
22774 * posix/Makefile: Likewise.
22775 * sysdeps/gnu/Makefile: Likewise.
22776 * sysdeps/mach/hurd/Makefile: Likewise.
22777 * sysdeps/sparc/sparc32/Makefile: Likewise.
22778
22779 [BZ #13118]
22780 * posix/Makefile (bug-regex32-ENV): Define.
22781 Patch by John Stanley <jpsinthemix@verizon.net>.
22782
22783 * misc/Makefile (headers): Add bits/select2.h.
22784 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22785 * misc/bits/select2.h: New file.
22786 * include/bits/select2.h: New file.
22787 * debug/Makefile (routines): Add fdelt_chk.
22788 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22789 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22790 FD_ISSET.
22791 * debug/fdelt_chk.c: New file.
22792
22793 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22794 * wcsmbs/test-wmemcmp.c: Likewise.
22795 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22796 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22797
227982011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22799
22800 * string/Makefile (strop-tests): Add memcmp.
22801 * string/test-wmemcmp.c: New file.
22802 * string/test-memcmp.c: Add wmemcmp support.
22803
228042011-09-08 Roland McGrath <roland@hack.frob.com>
22805
22806 [BZ #13153]
22807 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22808 2011-07-19 change.
22809
22810 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22811 garbage value in a __mach_port_mod_refs call in the cases of the
22812 task-self and thread-self ports.
22813
228142011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22815
22816 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22817
228182011-09-08 Andreas Schwab <schwab@redhat.com>
22819
22820 * elf/dl-load.c (lose): Check for non-null L.
22821
228222011-09-07 Ulrich Drepper <drepper@gmail.com>
22823
22824 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22825
22826 * elf/dl-libc.c (dlerror_run): Pass back error code from
22827 dl_catch_error.
22828
22829 [BZ #13123]
22830 * elf/dl-load.c (lose): Free l_origin if it is valid.
22831
22832 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22833 names.
22834 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22835 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22836 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22837 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22838 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22839 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22840
228412011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22842
22843 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22844 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22845 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22846 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22847 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22848 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22849 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22850 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22851 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22852 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22853
228542011-08-15 Alan Modra <amodra@gmail.com>
22855
22856 [BZ #13092]
22857 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22858 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22859 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22860 ppc_mcount to static-only-routines.
22861 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22862 __mcount_internal.
22863 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22864 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22865
228662011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22867
22868 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22869 for finite and infinity parameters.
22870
228712011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22872
22873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22874 and add nop instructions for throughput optimization.
22875 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22876
228772011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22878
22879 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22880 aligned copy for power7 with vector-scalar instructions.
22881 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22882
228832011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22884
22885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22886 AVX check.
22887
228882011-09-07 Andreas Schwab <schwab@redhat.com>
22889
22890 [BZ #13144]
22891 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22892 last change.
22893
228942011-09-07 Ulrich Drepper <drepper@gmail.com>
22895
22896 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22897 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22898 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22899 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22900 clock_gettime.
22901
229022011-09-06 Ulrich Drepper <drepper@gmail.com>
22903
22904 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22905 Forgot to demangle the pointer.
22906
22907 * sysdeps/i386/sysdep.h: Define atom_text_section.
22908 * sysdeps/x86_64/sysdep.h: Likewise.
22909 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22910 section with atom_text_section.
22911 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22912 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22913 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22915 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22916
22917 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22918 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22919 already be defined. Change to take two parameters and don't assign
22920 result to variable. Adjust all users.
22921 Define INTERNAL_GETTIME if not already defined.
22922 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22923 call.
22924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22925 HAVE_CLOCK_GETTIME_VSYSCALL.
22926 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22927
22928 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22929 gettimeofday vsyscall, just use time.
22930
229312011-09-06 Andreas Schwab <schwab@redhat.com>
22932
22933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22934 <errno.h>.
22935
229362011-09-06 Ulrich Drepper <drepper@gmail.com>
22937
22938 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22939 syscall on x86-64.
22940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22941 syscall.
22942 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22944 syscall if possible.
22945
229462011-09-05 Ulrich Drepper <drepper@gmail.com>
22947
22948 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22949 e_ident. Don't pass to find_mapsXX.
22950 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22951
229522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22953
22954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22955 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22956 * sysdeps/x86_64/multiarch/strchr.S: Update.
22957 Check bit_slow_BSF bit.
22958 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22959 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22960 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22961
229622011-09-05 Ulrich Drepper <drepper@gmail.com>
22963
22964 [BZ #13134]
22965 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22966 before glibc 2.15.
22967 (tryshell): Define.
22968 (__spawni): Change last parameter to be flag. Test
22969 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22970 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22971 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22972 * posix/spawni.c: Likewise.
22973 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22974 * posix/spawnp.c: Likewise. Change normal version to use
22975 SPAWN_XFLAGS_USE_PATH.
22976 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22977 SPAWN_XFLAGS_TRY_SHELL.
22978
22979 [BZ #13150]
22980 * posix/glob.h: Remove gcc 1.x support.
22981
22982 [BZ #13068]
22983 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22984
229852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22986
22987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22988 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22989 strrchr-sse2-bsf
22990 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22991 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22992 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22994 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22996
229972011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22998
22999 * sysdeps/x86_64/wcscmp.S: New file.
23000
23001 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23002 wcscmp-c wcscmp-sse2
23003 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23004 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23005 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23006 * wcsmbs/wcscmp.c: Allow renaming.
23007
230082011-09-05 David S. Miller <davem@davemloft.net>
23009
23010 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23011 stack slot, rather than the struct return pointer slot.
23012 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23013 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23015 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23016
230172011-09-05 Ulrich Drepper <drepper@gmail.com>
23018
23019 * po/ja.po: Update from translation team.
23020
23021 [BZ #13144]
23022 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23023 kernel in 64-bit binaries.
23024
230252011-09-01 David S. Miller <davem@davemloft.net>
23026
23027 * elf/elf.h (HWCAP_SPARC_*): Move to..
23028 * sysdeps/sparc/sysdep.h: this new file and add new values.
23029 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23030 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23031 _DL_HWCAP_COUNT to 24.
23032 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23033 entries.
23034 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23035 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23036 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23038 instead of magic constants.
23039 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23040
230412011-08-31 David S. Miller <davem@davemloft.net>
23042
23043 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23045 Reimplement to do errno handling inline.
23046 (SYSCALL_ERROR_HANDLER): New macro.
23047 (__SYSCALL_STRING): Do not do errno handling in asm.
23048 (__CLONE_SYSCALL_STRING): Delete.
23049 (__INTERNAL_SYSCALL_STRING): Delete.
23050 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23051 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23052 (PSEUDO): Reimplement to do errno handling inline.
23053 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23054 (SYSCALL_ERROR_HANDLER): New macro.
23055 (__SYSCALL_STRING): Do not do errno handling in asm.
23056 (__CLONE_SYSCALL_STRING): Delete.
23057 (__INTERNAL_SYSCALL_STRING): Delete.
23058 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23059 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23060 i386.
23061 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23062 (inline_syscall*): Add 'err' argument.
23063 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23064 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23065 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23066 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23067
23068 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23069 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23070
230712011-08-30 Andreas Schwab <schwab@redhat.com>
23072
23073 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23074
230752011-08-29 Jiri Olsa <jolsa@redhat.com>
23076
23077 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23078 directive.
23079
230802011-08-24 David S. Miller <davem@davemloft.net>
23081
23082 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23083
230842011-08-24 Andreas Schwab <schwab@redhat.com>
23085
23086 * elf/Makefile: Add rules to build and run unload8 test.
23087 * elf/unload8.c: New file.
23088 * elf/unload8mod1.c: New file.
23089 * elf/unload8mod1x.c: New file.
23090 * elf/unload8mod2.c: New file.
23091 * elf/unload8mod3.c: New file.
23092
23093 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23094 it wasn't used.
23095
230962011-08-23 David S. Miller <davem@davemloft.net>
23097
23098 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23099 subtract stack bias.
23100 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23101 %sp not %fp in calculations.
23102 (_JMPBUF_UNWINDS_ADJ): Likewise.
23103
23104 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23105 (aio_suspend): Call it to force an exception region around the
23106 AIO_MISC_WAIT() invocation.
23107
231082011-08-23 Andreas Schwab <schwab@redhat.com>
23109
23110 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23111 backslash.
23112
231132011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23114
23115 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23116 protection macro.
23117 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23118 and <dl-machine.h>.
23119 (Elf64_FuncDesc): Remove.
23120
231212011-08-22 David S. Miller <davem@davemloft.net>
23122
23123 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23124 sigaltstack check, add missing cfi directives.
23125 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23126 missing cfi directives, and sigaltstack handling.
23127
231282011-08-16 Andreas Schwab <schwab@redhat.com>
23129
23130 [BZ #11724]
23131 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23132 object is seen twice.
23133 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23134
23135 * elf/Makefile (distribute): Add tst-initorder2.c.
23136 (tests): Add tst-initorder2.
23137 (modules-names): Add tst-initorder2a tst-initorder2b
23138 tst-initorder2c tst-initorder2d. Add rules to build them.
23139 ($(objpfx)tst-initorder2.out): New rule.
23140 * elf/tst-initorder2.c: New file.
23141 * elf/tst-initorder2.exp: New file.
23142
231432011-08-22 Andreas Schwab <schwab@redhat.com>
23144
23145 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23146
23147 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23148 dependencies back to end of function.
23149
23150 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23151 $(elfobjdir)/ld.so.
23152
231532011-08-21 Ulrich Drepper <drepper@gmail.com>
23154
23155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23156 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23158 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23159 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23160 of __vdso_gettimeofday.
23161 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23162 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23163 attribute_hidden.
23164 (_libc_vdso_platform_setup): Remove initialization of
23165 __vdso_gettimeofday and __vdso_time.
23166
231672011-08-20 Ulrich Drepper <drepper@gmail.com>
23168
23169 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23170 and fgetc_unlocked.
23171 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23172 getc_unlocked.
23173
23174 * elf/dl-open.c (add_to_global): Report additions to the global scope
23175 for LD_DEBUG=scopes.
23176 (dl_open_worker): Also print scope of newly loaded dependencies.
23177 (_dl_show_scope): Indicate if there is no scope.
23178
23179 [BZ #13114]
23180 * stdio-common/Makefile (tests): Add bug24.
23181 * stdio-common/bug24.c: New file.
23182
231832011-08-19 Andreas Jaeger <aj@suse.de>
23184
23185 [BZ #13114]
23186 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23187 non-existant file when using close-on-exec mode.
23188
231892011-08-20 Ulrich Drepper <drepper@gmail.com>
23190
23191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23192 the very first instruction.
23193
23194 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23195 the CFI state in the end.
23196 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23197 inclusion of dl-trampoline.h.
23198 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23199
232002011-08-19 Andreas Schwab <schwab@redhat.com>
23201
23202 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23203 expectations for long double.
23204
23205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23206 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23207
232082011-08-14 David S. Miller <davem@davemloft.net>
23209
23210 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23211 artificual limit depends upon the system page size.
23212
232132011-08-17 Ulrich Drepper <drepper@gmail.com>
23214
23215 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23216 * resolv/Makefile: Define CFLAGS-libresolv.
23217
232182011-08-17 Andreas Schwab <schwab@redhat.com>
23219
23220 * nss/makedb.c (compute_tables): Make variables used in nested
23221 function static.
23222
232232011-08-17 Ulrich Drepper <drepper@gmail.com>
23224
23225 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23226 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23227 if buffer was too small.
23228
23229 * elf/pldd.c (main): Attach to all threads in the process.
23230 Rewrite /proc handling to use *at functions.
23231
232322011-08-16 Ulrich Drepper <drepper@gmail.com>
23233
23234 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23235 specifies first scope to show.
23236 (dl_open_worker): Update callers. Move printing scope of new
23237 object to before the relocation.
23238 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23239 * sysdeps/generic/ldsodefs.h: Update declaration.
23240
23241 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23242 string for the scope number.
23243
232442011-08-14 Ulrich Drepper <drepper@gmail.com>
23245
23246 * nscd/servicescache.c (cache_addserv): Make sure written is always
23247 initialized.
23248
232492011-08-14 Roland McGrath <roland@hack.frob.com>
23250
23251 * sysdeps/i386/i486/bits/atomic.h
23252 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23253 statement expression, so as to suppress "set but not used" warning.
23254 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23255
23256 * string/strncat.c (STRNCAT): Use prototype definition.
23257
23258 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23259 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23260 -Iprograms here.
23261 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23262 (localedef-modules): Add localedef.
23263 (locale-modules): Add locale.
23264
23265 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23266 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23267 to avoid a warning.
23268
232692011-08-14 David S. Miller <davem@davemloft.net>
23270
23271 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23272 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23273
232742011-08-13 Ulrich Drepper <drepper@gmail.com>
23275
23276 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23277 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23278 * elf/rtld.c (dl_main): Set l_name of vDSO.
23279 Call _dl_show_scope when DL_DEBUG_SCOPES.
23280 (process_dl_debug): Recognize scopes flag and also set it for all.
23281 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23282 Declare _dl_show_scope.
23283
23284 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23285 (do_dlopen): Pass caller_dlopen to dl_open.
23286 (__libc_dlopen_mode): Initialize caller_dlopen.
23287
23288 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23289 of libc. Make tolower call locale-independent. Optimize a bit by
23290 using isdigit instead of isalnum.
23291 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23292
232932011-08-12 Ulrich Drepper <drepper@gmail.com>
23294
23295 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23296 was a dependency or dynamically loaded.
23297
232982011-08-11 Ulrich Drepper <drepper@gmail.com>
23299
23300 * intl/l10nflist.c: Allow architecture-specific pop function.
23301 * sysdeps/x86_64/l10nflist.c: New file.
23302
23303 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23304 classification.
23305
233062011-08-10 Andreas Schwab <schwab@redhat.com>
23307
23308 * include/dirent.h: Add libc_hidden_proto for scandirat and
23309 scandirat64. Don't declare __scandirat64.
23310 * dirent/scandirat.c: Add libc_hidden_def.
23311 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23312 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23313
233142011-08-10 David S. Miller <davem@davemloft.net>
23315
23316 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23317 enum.
23318 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23319 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23320 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23321
233222011-08-09 Ulrich Drepper <drepper@gmail.com>
23323
23324 * Versions.def [libc]: Add GLIBC_2.15.
23325 * dirent/Makefile (routines): Add scandirat and scandirat64.
23326 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23327 GLIBC_2.15.
23328 * dirent/dirent.h: Declare scandirat and scandirat64.
23329 * dirent/scandirat.c: New file.
23330 * dirent/scandirat64.c: New file.
23331 * sysdeps/wordsize-64/scandirat.c: New file.
23332 * sysdeps/wordsize-64/scandirat64.c: New file.
23333 * dirent/opendir.c: Define opendirat.
23334 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23335 using scandirat.
23336 * dirent/scandir64.c: Adjust for scandir.c change.
23337 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23338 __scandirat64, and __scandir_cancel_handler.
23339 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23340 additional parameter and use openat instead of open (outside of ld.so).
23341 Add new __opendir as wrapper around __opendirat.
23342 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23343 here without requiring old scandirat implementation.
23344
233452011-08-08 Ulrich Drepper <drepper@gmail.com>
23346
23347 * dirent/scandir.c (cancel_handler): Renamed to
23348 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23349 defined. Adjust users.
23350 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23351 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23352
233532011-08-04 Ulrich Drepper <drepper@gmail.com>
23354
23355 * string/test-string.h (IMPL): Use __STRING to expand name and then
23356 stringify it.
23357
23358 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23359 of cleanups.
23360
233612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23362
23363 * string/Makefile: Update.
23364 (strop-tests): Append strncat.
23365 * string/test-wcscmp.c: New file.
23366 New comprehensive test for wcscmp.
23367 * string/test-strcmp.c: Update.
23368 (WIDE): New define.
23369
233702011-07-22 Andreas Schwab <schwab@redhat.com>
23371
23372 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23373 line.
23374
233752011-07-26 Andreas Schwab <schwab@redhat.com>
23376
23377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23378 encoding to ACE if AI_IDN.
23379
233802011-08-01 Jakub Jelinek <jakub@redhat.com>
23381
23382 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23383 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23384
233852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23386
23387 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23388 Fix overflow bug in strncat.
23389 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23390
23391 * string/test-strncat.c: Update.
23392 Add new tests for checking overflow bugs.
23393
233942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23395
23396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23397 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23398 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23399 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23400 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23401 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23402 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23403 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23404 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23405
23406 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23407 (USE_AS_STRCAT): Define.
23408 Add strcat and strncat support.
23409 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23410
234112011-07-25 Andreas Schwab <schwab@redhat.com>
23412
23413 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23414 __n bigger than INT_MAX+1.
23415 (__strncmp_g): Likewise.
23416
234172011-07-23 Ulrich Drepper <drepper@gmail.com>
23418
23419 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23420 * libio/stido.h: Likewise.
23421
23422 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23423 (AF_NFC): Define.
23424 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23425 (AF_NFC): Define.
23426
23427 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23428 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23429 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23430 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23431 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23432
23433 [BZ #13021]
23434 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23435 installed.
23436
23437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23438 typo.
23439 (_dl_x86_64_save_sse): Likewise.
23440
234412011-07-22 Ulrich Drepper <drepper@gmail.com>
23442
23443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23444 OSXSAVE.
23445 (_dl_x86_64_save_sse): Likewise.
23446
23447 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23448
23449 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23450
234512011-07-21 Andreas Schwab <schwab@redhat.com>
23452
23453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23454 change.
23455 (_dl_x86_64_save_sse): Use correct AVX check.
23456
234572011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23458
23459 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23460 bug in strncpy/strncat.
23461 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23462
234632011-07-21 Ulrich Drepper <drepper@gmail.com>
23464
23465 * string/tester.c (test_strcat): Add tests for different alignments
23466 of source and destination.
23467 (test_strncat): Likewise.
23468
234692011-07-20 Ulrich Drepper <drepper@gmail.com>
23470
23471 [BZ #12852]
23472 * posix/glob.c (glob): Check passed in values before using them in
23473 expressions to avoid some overflows.
23474 (glob_in_dir): Likewise.
23475
23476 [BZ #13007]
23477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23478 check for AVX enablement so that we don't crash with old kernels and
23479 new hardware.
23480 * elf/tst-audit4.c: Add same checks here.
23481 * elf/tst-audit6.c: Likewise.
23482
23483 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23484
234852011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23486
23487 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23488
234892011-07-20 Ulrich Drepper <drepper@gmail.com>
23490
23491 * po/cs.po: Update from translation team.
23492 * po/bg.po: Likewise.
23493
234942011-07-12 Marek Polacek <mpolacek@redhat.com>
23495
23496 * misc/sys/cdefs.h: Add support for const attribute.
23497 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23498 to gnu_dev_{major,minor,makedev} functions.
23499
235002011-07-20 Marek Polacek <mpolacek@redhat.com>
23501
23502 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23503
235042011-07-20 Andreas Schwab <schwab@redhat.com>
23505
23506 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23507 strlen results.
23508
235092011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23510
23511 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23512 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23513 register in order to avoid conflicts with the soft frame pointer
23514 being held in r11 when necessary.
23515 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23516 (INTERNAL_VSYSCALL_NCS): Likewise.
23517
235182011-07-14 Marek Polacek <mpolacek@redhat.com>
23519
23520 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23521 * elf/dl-fini.c (_dl_fini): Adjust caller.
23522 * elf/dl-close.c (_dl_close_worker): Likewise.
23523 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23524
235252011-07-15 Marek Polacek <mpolacek@redhat.com>
23526
23527 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23528 "aux_cache->nlibs < 0".
23529
23530 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23531 in the reload-count case.
23532
235332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23534
23535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23536 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23537 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23538 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23539 * sysdeps/x86_64/multiarch/strcat.S: New file.
23540 * sysdeps/x86_64/multiarch/strncat.S: New file.
23541 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23542 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23543 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23544 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23545 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23546 (USE_AS_STRCAT): Define.
23547 Add strcat and strncat support.
23548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23550 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23551 * string/strncat.c: Update.
23552 (USE_AS_STRNCAT): Define.
23553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23554 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23555 and i7.
23556 * sysdeps/x86_64/multiarch/init-arch.h
23557 (bit_Prefer_PMINUB_for_stringop): New.
23558 (index_Prefer_PMINUB_for_stringop): Likewise.
23559 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23560 bit_Prefer_PMINUB_for_stringop.
23561
235622011-07-19 Ulrich Drepper <drepper@gmail.com>
23563
23564 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23565 buffer64.
23566 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23567 of casting of buffer.
23568 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23569 buffer32 and buffer64.
23570 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23571 writes instead of casting of buffer.
23572 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23573 buffer32.
23574 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23575 casting of buffer.
23576
235772011-07-19 Andreas Schwab <schwab@redhat.com>
23578
23579 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23580
235812011-07-19 Ulrich Drepper <drepper@gmail.com>
23582
23583 * nscd/nscd.c (termination_handler): Don't do anything for a database
23584 if it has not yet been initialized.
23585
235862011-07-18 Ulrich Drepper <drepper@gmail.com>
23587
23588 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23589
235902011-07-15 Marek Polacek <mpolacek@redhat.com>
23591
23592 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23593
235942011-07-18 Ulrich Drepper <drepper@gmail.com>
23595
23596 * po/nl.po: Update from translation team.
23597 * po/sv.po: Likewise.
23598
235992011-07-16 Roland McGrath <roland@hack.frob.com>
23600
23601 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23602 now disallowed by GCC.
23603
23604 * configure.in (use-default-link): Default to yes if a test -shared
23605 link meets our qualifications.
23606 * configure: Regenerated.
23607
23608 * config.make.in (output-format): New variable.
23609 * configure.in: Check for ld --print-output-format support.
23610 * configure: Regenerated.
23611 * Makerules ($(common-objpfx)format.lds)
23612 [$(output-format) != unknown]: Just use $(output-format),
23613 instead of the linker-script munging.
23614
236152011-07-14 Roland McGrath <roland@hack.frob.com>
23616
23617 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23618 of $(common-objpfx)shlib.lds.
23619 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23620
23621 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23622 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23623
23624 * configure.in (-z relro check): Adjust test code to add a large
23625 writable data section after it.
23626 * configure: Regenerated.
23627
236282011-07-11 Roland McGrath <roland@hack.frob.com>
23629
23630 * configure.in (-z relro check): Fix test code to make the variable
23631 truly const.
23632 * configure: Regenerated.
23633
236342011-07-11 Ulrich Drepper <drepper@gmail.com>
23635
23636 * nscd/nscd.h (struct traced_file): Define.
23637 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23638 elements. Add traced_files.
23639 (inotify_fd): Declare.
23640 (register_traced_file): Declare.
23641 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23642 (inotify_fd): Export.
23643 (resolv_conf_descr): Remove.
23644 (nscd_init): Move inotify descriptor creation to main.
23645 Don't register files for notification here.
23646 (register_traced_file): New function.
23647 (invalidate_cache): Don't use reset_res to determine whether to call
23648 res_init, go through the list of registered files.
23649 (main_loop_poll): The inotify descriptors are now stored in the
23650 structures for the traced files.
23651 (main_loop_epoll): Likewise
23652 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23653 to __nss_disable_nscd.
23654 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23655 for a database anymore. Check the records for all the registered
23656 files instead.
23657 * nss/Makefile (libnss_files-routines): Add files-init.
23658 (libnss_db-routines): Add db-init.
23659 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23660 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23661 * nss/nss_db/db-init.c: New file.
23662 * nss/nss_files/files-init.c: New file.
23663 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23664 __nss_lookup_function.
23665 (__nss_lookup_function): Call nss_load_library.
23666 (nss_load_all_libraries): New function.
23667 (__nss_disable_nscd): Take parameter with callback function for files
23668 to register. Set is_nscd. Load all the DSOs for the NSS modules
23669 used for the cached services.
23670 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23671 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23672 options for features to all the files in nscd.
23673
23674 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23675
236762011-07-10 Roland McGrath <roland@hack.frob.com>
23677
23678 * csu/elf-init.c (__libc_csu_init): Comment typo.
23679
236802011-07-09 Ulrich Drepper <drepper@gmail.com>
23681
23682 * po/pl.po: Update from translation team.
23683 * po/ja.po: Likewise.
23684 * po/ru.po: Likewise.
23685 * po/ko.po: Likewise.
23686 * po/fr.po: Likewise.
23687
236882011-07-09 Roland McGrath <roland@hack.frob.com>
23689
23690 * configure.in (.ctors/.dtors header and trailer check):
23691 Use an empirical test on a built program.
23692 * configure: Regenerated.
23693
23694 * configure.in (-z relro check): Use an empirical test on a built DSO.
23695 Detect, but do not require, on ia64.
23696 * configure: Regenerated.
23697
23698 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23699 Update tests that use readelf to use $READELF instead.
23700 * configure: Regenerated.
23701
237022011-07-08 Ulrich Drepper <drepper@gmail.com>
23703
23704 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23705 if the result is not used.
23706
237072011-07-05 Andreas Jaeger <aj@suse.de>
23708
23709 [BZ#9696]
23710 * stdlib/tst-strtod.c: Add testcase.
23711
237122011-07-07 Ulrich Drepper <drepper@gmail.com>
23713
23714 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23715 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23716 The latter has a higher limit. Take additional parameter to pass to
23717 the new function.
23718 (__pathconf): Pass file to __statfs_link_max.
23719 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23720 __statfs_link_max.
23721 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23722 __statfs_link_max.
23723
23724 [BZ #12868]
23725 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23726 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23727 Handle Lustre.
23728 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23729 (__statfs_filesize_max): Likewise.
23730 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23731
237322011-07-05 Andreas Jaeger <aj@suse.de>
23733
23734 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23735
237362011-07-06 Marek Polacek <mpolacek@redhat.com>
23737
23738 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23739 `status' variable.
23740 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23741 Likewise.
23742
237432011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23744
23745 * Makefile (strop-tests): Add strncat.
23746 * string/test-strncat.c: New file.
23747
237482011-06-30 Marek Polacek <mpolacek@redhat.com>
23749
23750 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23751
237522011-06-21 Andreas Jaeger <aj@suse.de>
23753
23754 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23755 Copy rule from iconvdata/Makefile.
23756
237572011-07-06 Ulrich Drepper <drepper@gmail.com>
23758
23759 [BZ #12922]
23760 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23761 but no long options are defined, just return 'W'.
23762
237632011-06-22 Marek Polacek <mpolacek@redhat.com>
23764
23765 [BZ #9696]
23766 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23767
237682011-07-06 Ulrich Drepper <drepper@gmail.com>
23769
23770 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23771 netgroups to read.
23772 (innetgr): Likewise.
23773
237742011-07-05 Roland McGrath <roland@hack.frob.com>
23775
23776 * config.make.in (install_root): Default to $(DESTDIR).
23777
237782011-07-05 Ulrich Drepper <drepper@gmail.com>
23779
23780 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23781
237822011-07-02 Roland McGrath <roland@hack.frob.com>
23783
23784 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23785
23786 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23787 containing directory rather than embedding absolute directory names.
23788
23789 * scripts/check-local-headers.sh: Rewritten using awk.
23790 Match by word, not by line. Print error messages for matches.
23791 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23792
23793 * Makerules [shlib-lds-flags empty]:
23794 ($(common-objpfx)libc_pic.opts): New target.
23795 ($(common-objpfx)libc_pic.os.clean): New target.
23796 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23797
23798 * config.make.in (OBJCOPY): New variable.
23799 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23800 * configure: Regenerated.
23801
23802 * config.make.in (use-default-link): New variable.
23803 * configure.in (use_default_link): Grok --with-default-link to set it.
23804 * configure: Regenerated.
23805 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23806 (shlib-lds, shlib-lds-flags): Define to empty.
23807
23808 * Makerules (shlib-lds): New variable.
23809 (shlib-lds-flags): New variable.
23810 (build-shlib, build-moduile, build-module-asneeded): Use it.
23811 ($(common-objpfx)libc.so): Use $(shlib-lds).
23812 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23813 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23814
23815 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23816 DT_FLAGS/DT_FLAGS_1 with zero flags.
23817
23818 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23819 linker script munging.
23820
238212011-07-02 Ulrich Drepper <drepper@gmail.com>
23822
23823 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23824 as 128-bit value.
23825 * crypt/sha512.c (sha512_process_block): Perform total addition using
23826 128-bit if possible.
23827 (__sha512_finish_ctx): Likewise.
23828 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23829 as 64-bit value.
23830 * crypt/sha256.c (SWAP64): Define.
23831 (sha256_process_block): Perform total addition using 64-bit if
23832 possible.
23833 (__sha256_finish_ctx): Likewise.
23834
238352011-07-01 Ulrich Drepper <drepper@gmail.com>
23836
23837 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23838 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23839 * nscd/hstcache.c (cache_addhst): Likewise.
23840 * nscd/grpcache.c (cache_addgr): Likewise.
23841 * nscd/aicache.c (addhstaiX): Likewise
23842 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23843
238442011-07-01 Thorsten Kukuk <kukuk@suse.de>
23845
23846 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23847 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23848 * nscd/hstcache.c (cache_addhst): Likewise.
23849 * nscd/grpcache.c (cache_addgr): Likewise.
23850 * nscd/aicache.c (addhstaiX): Likewise
23851
238522011-07-01 Andreas Schwab <schwab@redhat.com>
23853
23854 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23855 domain only when needed.
23856
238572011-06-30 Andreas Schwab <schwab@redhat.com>
23858
23859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23860 is always restored.
23861
238622011-06-29 Ulrich Drepper <drepper@gmail.com>
23863
23864 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23865 are re-adding the entry.
23866 * nscd/servicescache.c (cache_addserv): Likewise.
23867
238682011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23869
23870 * sysdeps/generic/dl-irel.h: fix protection against multiple
23871 inclusions.
23872 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23873
238742011-06-28 Ulrich Drepper <drepper@gmail.com>
23875
23876 [BZ #12935]
23877 * malloc/memusage.sh: Fix quoting in message.
23878 * debug/xtrace.sh: Likewise.
23879
23880 * configure.in: Remove support for --experimental-malloc option, make
23881 it the default.
23882 * config.make.in: Likewise.
23883 * malloc/Makefile: Likewise.
23884
238852011-06-27 Andreas Schwab <schwab@redhat.com>
23886
23887 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23888 two-byte characters.
23889
238902011-06-27 Roland McGrath <roland@hack.frob.com>
23891
23892 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23893 AC_CACHE_CHECK invocation.
23894 * configure: Regenerated.
23895
23896 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23897
238982011-06-27 Ulrich Drepper <drepper@gmail.com>
23899
23900 [BZ #12350]
23901 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23902 bit from old_res_options.
23903
23904 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23905
23906 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23907 value type for setfct.
23908
239092011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23910
23911 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23912 __gettimeofday instead of gettimeofday.
23913
239142011-06-26 Ulrich Drepper <drepper@gmail.com>
23915
23916 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23917
239182011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23919
23920 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23921
23922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23923 info.
23924
239252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23926
23927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23928 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23929 strcpy-sse2-unaligned strncpy-sse2-unaligned
23930 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23931 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23932 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23933 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23934 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23935 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23936 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23937 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23938 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23939 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23940 (STRCPY): Support SSE2 and SSSE3 versions.
23941
239422011-06-24 Ulrich Drepper <drepper@gmail.com>
23943
23944 [BZ #12874]
23945 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23946 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23947 kernels which artificially limit size of requests.
23948
239492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23950
23951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23952 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23953 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23954 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23955 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23956 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23957 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23958 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23959 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23961 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23962 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23963 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23964 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23965 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23967 Enable unaligned load optimization for Intel Core i3, i5 and i7
23968 processors.
23969 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23970 Define.
23971 (index_Fast_Unaligned_Load): Define.
23972 (HAS_FAST_UNALIGNED_LOAD): Define.
23973
239742011-06-23 Marek Polacek <mpolacek@redhat.com>
23975
23976 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23977
239782011-06-22 Ulrich Drepper <drepper@gmail.com>
23979
23980 [BZ #12907]
23981 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23982 until it is clear that the information is realy needed.
23983 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23984
239852011-06-22 Andreas Schwab <schwab@redhat.com>
23986
23987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23988
239892011-06-22 Ulrich Drepper <drepper@gmail.com>
23990
23991 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23992 /sys/devices/system/cpu/online if it is usable.
23993
23994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23995 reading the information from the /proc filesystem to once a second.
23996
239972011-06-21 Andreas Jaeger <aj@suse.de>
23998
23999 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24000 NULL after inclusion of kernel headers.
24001
240022011-06-21 Ulrich Drepper <drepper@gmail.com>
24003
24004 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24005 calls to internal_setent.
24006
24007 [BZ #12885]
24008 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24009 addresses using gethostbyname4_r ignore IPv4 addresses.
24010
24011 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24012 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24013
24014 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24015
240162011-06-20 David S. Miller <davem@davemloft.net>
24017
24018 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24019 inclusions.
24020 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24021
24022 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24023 (elf_irel): Use it.
24024 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24025 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24026 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24027 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24028 * sysdeps/x86_64/dl-irel.h: Likewise.
24029
24030 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24031 * elf/dl-sym.c: Likewise.
24032
240332011-06-15 Ulrich Drepper <drepper@gmail.com>
24034
24035 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24036 need to dereference resplen2.
24037
240382011-06-14 Andreas Schwab <schwab@redhat.com>
24039
24040 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24041
240422011-06-15 Ulrich Drepper <drepper@gmail.com>
24043
24044 * Makeconfig: Define vardbdir and inst_vardbdir.
24045 * nss/Makefile: Add rules to install db-Makefile.
24046
24047 * nss/nss_db/db-XXX.c: Cleanup.
24048
24049 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24050 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24051 GLIBC_PRIVATE.
24052 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24053 * nss/makedb.c: Implement -g option to specify that value strings
24054 are generated and should not be added to table iterated over for
24055 get*ent calls.
24056 * nss/nss_db/db-initgroups.c: New file.
24057
24058 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24059 interface.
24060
24061 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24062 (internal_getgrouplist): Adjust to name change.
24063 Update use_initgroups_entry if this is not the first call.
24064 * nss/databases.def: Add initgroups entry.
24065
24066 * nss/makedb.c (compute_tables): Check result of multiple hash table
24067 sizes to minimize maximum chain length.
24068
240692011-06-14 Ulrich Drepper <drepper@gmail.com>
24070
24071 * Versions.def: Add entry for libnss_db.
24072 * shlib-versions: Likewise.
24073 * nss/Makefile: Add rules to build libnss_db.
24074 * nss/Versions: Add libnss_db information. Organize libnss_files
24075 entries better.
24076 * nss/db-Makefile: Add gshadow support. Change rules for the new
24077 makedb progra. Some minor improvements to generate smaller files.
24078 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24079 here from...
24080 * nss/makedb.c: ...here.
24081 Improve database format to be smaller and require less memory at
24082 runtime.
24083 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24084 db anymore.
24085 * nss/nss_db/db-netgrp.c: Likewise.
24086 * nss/nss_db/db-open.c: Likewise.
24087 * nss/nss_files/flies-XXX.x: Adjust comments.
24088 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24089 * nss/nss_files/files-grp.c: Likewise.
24090 * nss/nss_files/files-hosts.c: Likewise.
24091 * nss/nss_files/files-network.c: Likewise.
24092 * nss/nss_files/files-proto.c: Likewise.
24093 * nss/nss_files/files-pwd.c: Likewise.
24094 * nss/nss_files/files-rpc.c: Likewise.
24095 * nss/nss_files/files-service.c: Likewise.
24096 * nss/nss_files/files-sgrp.c: Likewise.
24097 * nss/nss_files/files-spwd.c: Likewise.
24098 * nss/nss_db/db-alias.c: Removed.
24099 * nss/nss_db/dummy-db.h: Removed.
24100
241012011-06-02 Ulrich Drepper <drepper@gmail.com>
24102
24103 * nss/makedb.c: Rewritten to not use database library.
24104 * nss/Makefile: Update to build new makedb program.
24105
241062011-06-14 Andreas Jaeger <aj@suse.de>
24107
24108 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24109 memset declaration.
24110
241112011-06-10 Andreas Schwab <schwab@redhat.com>
24112
24113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24114 tmpbuf.
24115
241162011-06-10 Roland McGrath <roland@hack.frob.com>
24117
24118 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24119 * elf/Makefile ($(objpfx)ld.so): Likewise.
24120
24121 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24122 Don't list ld.so twice in dependencies.
24123
24124 * posix/bug-regex31.c: Include <stdlib.h>.
24125
24126 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24127
24128 * nis/nss_compat/compat-spwd.c
24129 (getspent_next_nss_netgr): Remove unused variable.
24130 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24131
24132 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24133 nonmembers" output to use the right array.
24134
24135 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24136
24137 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24138
24139 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24140 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24141 * catgets/gencat.c (read_input_file): Likewise.
24142 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24143
24144 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24145 variable definition inside #if's controlling its use.
24146
24147 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24148
24149 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24150
24151 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24152
24153 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24154 unreachable code.
24155
24156 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24157
24158 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24159 * configure: Regenerated.
24160
24161 * Makerules: Revert last change.
24162 * elf/Makefile: Likewise.
24163
241642011-06-09 Roland McGrath <roland@hack.frob.com>
24165
24166 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24167 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24168 (reloc-link): Likewise.
24169
241702011-06-09 Ulrich Drepper <drepper@gmail.com>
24171
24172 * elf/Makefile: Add rules to build pldd.
24173 * elf/pldd.c: New file.
24174 * elf/pldd-xx.c: New file.
24175
241762011-06-07 Ulrich Drepper <drepper@gmail.com>
24177
24178 * version.h: Update for 2.15 development version.
24179
241802011-06-07 David S. Miller <davem@davemloft.net>
24181
24182 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24183 ifuncs.
24184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24185 elf_machine_lazy_rel): Likewise.
24186 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24187 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24188 elf_machine_lazy_rel): Likewise.
24189 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24190 dl_hwcap via passed in argument.
24191 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24192 Likewise.
24193
241942011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24195
24196 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24197
241982011-06-06 Roland McGrath <roland@hack.frob.com>
24199
24200 [BZ #12849]
24201 * manual/fdl-1.1.texi: New file, verbatim from:
24202 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24203 * manual/lgpl-2.1.texi: New file, verbatim from:
24204 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24205 * manual/Makefile (licenses): New variable, list those new file names.
24206 (texis): Use it.
24207 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24208
24209 * manual/fdl.texi: File removed.
24210 * manual/lesser.texi: File removed.
24211 * manual/libc.texinfo (Copying, Documentation License):
24212 Use new @include file names, put @appendix directive before @include.
24213
242142011-06-04 Jakub Jelinek <jakub@redhat.com>
24215
24216 [BZ #12841]
24217 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24218 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24219 (mq_open): Add __NTH.
24220
242212011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24222
24223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24224 Assume Intel Core i3/i5/i7 processor if AVX is available.
24225
242262011-05-31 Ulrich Drepper <drepper@gmail.com>
24227
24228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24229 typo.
24230
242312011-05-31 Andreas Schwab <schwab@redhat.com>
24232
24233 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24234 memory. Use alloca_account. Fix memory leak when retrying.
24235
242362011-05-31 Ulrich Drepper <drepper@gmail.com>
24237
24238 * version.h (RELEASE): Bump for 2.14 release.
24239 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24240
24241 * config.make.in (RANLIB): Remove entry.
24242
242432011-05-30 Ulrich Drepper <drepper@gmail.com>
24244
24245 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24246 (libc.pot): Work around missing support for .ksh extension in xgettext.
24247
24248 [BZ #12684]
24249 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24250 if both request failed.
24251 (send_dg): In case of server errors clear resplen or *resplen2.
24252
24253 [BZ #12454]
24254 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24255 when there are multiple maps.
24256 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24257 (_dl_fini): Remove test here.
24258
24259 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24260
242612011-05-29 Ulrich Drepper <drepper@gmail.com>
24262
24263 [BZ #12350]
24264 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24265 bit from old_res_options.
24266 (gaih_inet): Likewise.
24267
24268 [BZ #11099]
24269 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24270 as signed.
24271
24272 * resolv/res_init.c (res_setoptions): Make the code more compact.
24273
24274 [BZ #11558]
24275 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24276 set RES_USEVC.
24277
24278 [BZ #11634]
24279 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24280
24281 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24282
24283 [BZ #11781]
24284 * malloc/malloc.h: Declare malloc hook variables as volatile.
24285
24286 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24287 in last patch.
24288
24289 [BZ #11799]
24290 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24291 raise in the comment.
24292 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24294 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24295
242962011-05-28 Ulrich Drepper <drepper@gmail.com>
24297
24298 [BZ #12811]
24299 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24300 grow the buffers more if it already has to be sufficient.
24301 (build_wcs_upper_buffer): Likewise.
24302 * posix/regexec.c (check_matching): Likewise.
24303 (clean_state_log_if_needed): Likewise.
24304 (extend_buffers): Don't enlarge buffers beyond size of the input
24305 buffer.
24306 Patches mostly by Emil Wojak <emil@wojak.eu>.
24307 * posix/bug-regex32.c: New file.
24308 * posix/Makefile (tests): Add bug-regex32.
24309
24310 * locale/findlocale.c (_nl_find_locale): Return right away if
24311 _nl_explode_name failed.
24312 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24313
24314 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24315
24316 * debug/xtrace.sh: Unify messages.
24317 * malloc/memusage.sh: Likewise.
24318
24319 [BZ #12813]
24320 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24321 time symbol from vDSO. Substitute with vsyscall if not available.
24322 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24323 __vdso_time.
24324
24325 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24326 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24327 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24328 Add sendmmsg and internal_sendmmsg.
24329 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24330 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24331 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24332
24333 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24334 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24336
243372011-05-27 Ulrich Drepper <drepper@gmail.com>
24338
24339 [BZ #12813]
24340 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24341 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24342 available.
24343 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24344 __vdso_getcpu.
24345
24346 [BZ #12814]
24347 * iconvdata/Makefile (tests): Add bug-iconv9.
24348 * iconvdata/bug-iconv9.c: New file.
24349
243502011-05-27 Andreas Schwab <schwab@redhat.com>
24351
24352 [BZ #12814]
24353 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24354
243552011-05-25 Jakub Jelinek <jakub@redhat.com>
24356
24357 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24358 (struct user_regs_struct): Change intcs field back to cs.
24359
243602011-05-25 Ulrich Drepper <drepper@gmail.com>
24361
24362 * po/ja.po: Update from translation team.
24363
243642011-05-23 Ulrich Drepper <drepper@gmail.com>
24365
24366 [BZ #12795]
24367 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24368 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24369
243702011-05-20 Andreas Schwab <schwab@redhat.com>
24371
24372 * stdlib/longlong.h: Update from GCC.
24373
243742011-05-23 Andreas Schwab <schwab@redhat.com>
24375
24376 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24377 parameter name.
24378 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24379 Add parameter name.
24380 (__sysconf): Pass it down.
24381
243822011-05-22 Ulrich Drepper <drepper@gmail.com>
24383
24384 [BZ #12671]
24385 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24386 some situations.
24387 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24388 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24389 add in in __libc_use_alloca calls. Adjust callers.
24390 (glob): Use malloc in some situations.
24391
24392 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24393 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24394 pltexit.
24395
243962011-05-21 Ulrich Drepper <drepper@gmail.com>
24397
24398 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24399 and CLOCK_BOOTTIME_ALARM.
24400
24401 [BZ #12782]
24402 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24403 is returned.
24404
24405 * string/_strerror.c (__strerror_r): Print negative errors as signed
24406 numbers.
24407
24408 [BZ #12777]
24409 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24410 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24411 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24412
24413 * configure.in: Fix typo in redirection and correct removal of test
24414 files in two cases.
24415
24416 [BZ #12788]
24417 * locale/setlocale.c (new_composite_name): Fix test to check for
24418 identical name of all categories.
24419
24420 [BZ #12792]
24421 * libio/filedoalloc.c (local_isatty): New function.
24422 (_IO_file_doallocate): Use local_isatty.
24423 * stdio-common/perror.c (perror): In case a new stream is used
24424 forward the stream error.
24425 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24426 error flag.
24427
244282011-05-20 Ulrich Drepper <drepper@gmail.com>
24429
24430 [BZ #11869]
24431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24432 alloca.
24433 * include/alloca.h (extend_alloca_account): Define.
24434
24435 [BZ #11857]
24436 * posix/regex.h: Fix comments with documentation of user-accessible
24437 fields after compilation and describe correct free'ing of pattern
24438 after re_compile_pattern.
24439 Patch by Reuben Thomas <rrt@sc3d.org>.
24440
244412011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24442
24443 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24444 and -mno-altivec to prevent the compiler from using Altivec and/or
24445 VSX instructions when the corresponding registers are not available.
24446
244472011-05-19 Andreas Schwab <schwab@redhat.com>
24448
24449 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24450
244512011-05-19 Ulrich Drepper <drepper@gmail.com>
24452
24453 * libio/freopen.c (freopen): Use __dup2, not dup2.
24454 * libio/freopen64.c (freopen64): Likewise.
24455
244562011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24457
24458 [BZ #12775]
24459 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24460 * math/Makefile (tests): Add test-powl.
24461 (CFLAGS-test-powl.c): Define.
24462 * math/test-powl.c: New file.
24463
244642011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24465
24466 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24467
244682011-05-17 Ulrich Drepper <drepper@gmail.com>
24469
24470 [BZ #11837]
24471 * iconvdata/gb18030.c: Update to GB18020-2005.
24472
244732011-05-16 Ulrich Drepper <drepper@gmail.com>
24474
24475 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24476 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24477 Patch by Aharon Robbins <arnold@skeeve.com>.
24478
24479 [BZ #11892]
24480 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24481 on the stack.
24482
24483 [BZ #11895]
24484 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24485 through underflows.
24486
24487 [BZ #12766]
24488 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24489 point to strings before performing equality test for error_one_per_line
24490 mode.
24491
24492 [BZ #11697]
24493 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24494
24495 [BZ #11820]
24496 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24497 (struct user_fpregs_struct): Avoid __uint*_t types.
24498
24499 [BZ #6420]
24500 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24501 symbol info. Use it instead of calling _dl_addr locally.
24502 (lock_and_info): New function.
24503 (tr_freehook): Call lock_and_info and pass symbol info as additional
24504 parameter to tr_where.
24505 (tr_mallochook): Likewise.
24506 (tr_reallochook): Likewise.
24507 (tr_memalignhook): Likewise.
24508
24509 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24510 used and couldn't be at all thread-safe.
24511
245122011-05-15 Ulrich Drepper <drepper@gmail.com>
24513
24514 * libio/freopen.c (freopen): Don't close old file descriptor
24515 before the new one is opened. Instead dup the new file descriptor
24516 to the old one after the new stream is created.
24517 * libio/freopen64.c (freopen64): Likewise.
24518 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24519 * libio/fileops.c (_IO_new_file_close_it): Handle new
24520 _IO_FLAGS2_NOCLOSE flag.
24521 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24522 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24523 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24524 _IO_FLAGS2_NOCLOSE flag.
24525 * include/unistd.h: Add hidden_proto for dup3.
24526 Define __have_dup3.
24527 * io/dup3.c: Define hidden symbol.
24528 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24529
24530 [BZ #7101]
24531 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24532 when an incomplete long option is used.
24533 * posix/tst-getopt_long1.c: New file.
24534 * posix/Makefile (tests): Add tst-getopt_long1.
24535
24536 [BZ #10138]
24537 * scripts/config.guess: Update from autoconf-2.68.
24538 * scripts/config.sub: Likewise.
24539
24540 [BZ #10157]
24541 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24542 tests into ...
24543 (has_cpuclock): ...this. New function.
24544 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24545 macro here based on has_cpuclock code.
24546
24547 [BZ #10149]
24548 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24549 First byte (not low byte) is now always NUL.
24550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24551
24552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24553 Use non-cancelable interfaces.
24554
24555 [BZ #9809]
24556 * locale/iso-639.def: Add entry for Sorani.
24557
24558 [BZ #11901]
24559 * include/stdlib.h: Move include protection to the right place.
24560 Define abort_msg_s. Declare __abort_msg with it.
24561 * stdlib/abort.c (__abort_msg): Adjust type.
24562 * assert/assert.c (__assert_fail_base): New function. Majority
24563 of code from __assert_fail. Allocate memory for __abort_msg with
24564 mmap.
24565 (__assert_fail): Now call __assert_fail_base.
24566 * assert/assert-perr.c: Remove bulk of implementation. Use
24567 __assert_fail_base.
24568 * include/assert.hL Declare __assert_fail_base.
24569 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24570 mmap.
24571 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24572
245732011-05-14 Ulrich Drepper <drepper@gmail.com>
24574
24575 [BZ #11952]
24576 [BZ #12453]
24577 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24578 until all modules are registered in the DTV.
24579 * elf/Makefile: Add rules to build and run tst-tls19.
24580 * elf/tst-tls19.c: New file.
24581 * elf/tst-tls19mod1.c: New file.
24582 * elf/tst-tls19mod2.c: New file.
24583 * elf/tst-tls19mod3.c: New file.
24584 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24585
24586 [BZ #12083]
24587 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24588 correctly.
24589
24590 [BZ #12601]
24591 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24592 two-byte sequence errors.
24593 * iconvdata/Makefile (tests): Add bug-iconv8.
24594 * iconvdata/bug-iconv8.c: New file.
24595
24596 [BZ #12626]
24597 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24598 buf2 definition.
24599
24600 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24601
24602 [BZ #12432]
24603 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24604 (dummy_getcfa): New function.
24605 (init): Get _Unwind_GetCFA address, use dummy if not found.
24606 (backtrace_helper): In recursion check, also check whether CFA changes.
24607 (__backtrace): Completely initialize arg.
24608
24609 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24610 storing incomplete byte sequence in state object. Avoid testing for
24611 guaranteed too small input if we know there is enough data available.
24612
246132011-05-11 Andreas Schwab <schwab@redhat.com>
24614
24615 * Makeconfig (+link-pie): Indent.
24616 * Rules (binaries-pie): Define if $(have-fpie) and
24617 $(build-shared).
24618 (binaries-shared): Also filter out $(binaries-pie).
24619 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24620 * nscd/Makefile (others-pie): Add nscd.
24621 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24622 ($(objpfx)nscd): Remove command override.
24623 * login/Makefile (others-pie): Add pt_chown.
24624 ($(objpfx)pt_chown): Remove command override.
24625 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24626 remove command overrides.
24627
246282011-05-13 Ulrich Drepper <drepper@gmail.com>
24629
24630 * libio/tst_putwc.c: Fix error messages.
24631
24632 [BZ #12724]
24633 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24634 currently writing and seek to current position when not.
24635 * libio/Makefile (tests): Add bug-fclose1.
24636 * libio/bug-fclose1.c: New file.
24637
246382011-05-12 Ulrich Drepper <drepper@gmail.com>
24639
24640 [BZ #12511]
24641 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24642 don't set DF_1_NODELETE here.
24643 (do_lookup_x): When entering new entry test for copy relocation
24644 and if necessary set DF_1_NODELETE flag.
24645 * elf/tst-unique4.cc: New file.
24646 * elf/tst-unique4.h: New file.
24647 * elf/tst-unique4lib.cc: New file.
24648 * elf/Makefile: Add rules to build and run tst-unique4.
24649 Patch by Piotr Bury <pbury@goahead.com>.
24650
246512011-05-11 Ulrich Drepper <drepper@gmail.com>
24652
24653 [BZ #12052]
24654 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24655
24656 [BZ #12625]
24657 * misc/mntent_r.c (addmntent): Flush the stream after the output
24658
24659 [BZ #12393]
24660 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24661 (is_trusted_path_normalize): Skip initial colon. Append slash
24662 to empty buffer. Duplicate is_trusted_path code but allow
24663 constructed patch to be prefix.
24664 (is_dst): Allow $ORIGIN followed by /.
24665 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24666 Correct testing of result of is_trusted_path_normalize
24667 (decompose_rpath): Fix warning.
24668
246692011-05-10 Ulrich Drepper <drepper@gmail.com>
24670
24671 [BZ #11257]
24672 * grp/initgroups.c (internal_getgrouplist): When we found the service
24673 list through the initgroups entry in nsswitch.conf do not always
24674 continue on a successful lookup. Don't always use the
24675 __nss_group_database value if it is set.
24676 * nss/nsswitch.conf (initgroups): Change action for successful db
24677 lookup to continue for compatibility.
24678
246792011-05-09 Ulrich Drepper <drepper@gmail.com>
24680
24681 [BZ #11532]
24682 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24683 and CP774 modules.
24684 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24685 and CP774 modules.
24686 * iconvdata/tst-tables.sh: Likewise.
24687 * iconvdata/cp770.c: New file.
24688 * iconvdata/cp771.c: New file.
24689 * iconvdata/cp772.c: New file.
24690 * iconvdata/cp773.c: New file.
24691 * iconvdata/cp774.c: New file.
24692 * iconvdata/testdata/CP770: New file.
24693 * iconvdata/testdata/CP770..UTF8: New file.
24694 * iconvdata/testdata/CP771: New file.
24695 * iconvdata/testdata/CP771..UTF8: New file.
24696 * iconvdata/testdata/CP772: New file.
24697 * iconvdata/testdata/CP772..UTF8: New file.
24698 * iconvdata/testdata/CP773: New file.
24699 * iconvdata/testdata/CP773..UTF8: New file.
24700 * iconvdata/testdata/CP774: New file.
24701 * iconvdata/testdata/CP774..UTF8: New file.
24702
24703 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24704 END CHARMAP line.
24705 * iconvdata/gen-8bit-gap.sh: Likewise.
24706 * iconvdata/gen-8bit.sh: Likewise.
24707
24708 * locale/iso-639.def: Add ary entry.
24709
24710 [BZ #11258]
24711 * locale/C-translit.h.in: Add U20A1 transliteration.
24712
24713 [BZ #12178]
24714 * locale/iso-639.def: Add wae entry.
24715 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24716
24717 [BZ #12545]
24718 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24719 for n.
24720
24721 [BZ #12711]
24722 * locale/C-translit.h.in: Add entry for U20B9.
24723 Patch by pravin.d.s@gmail.com.
24724
247252011-05-08 Ulrich Drepper <drepper@gmail.com>
24726
24727 [BZ #12713]
24728 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24729 ENAMETOOLONG use generic getcwd.
24730 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24731 in rtld. Use *stat64.
24732 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24733 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24734 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24735 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24736 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24737 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24738 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24739 __fstatat64 macros.
24740 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24741 * dirent/rewinddir.c: Add libc_hidden_def.
24742 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24743 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24744
24745 * include/dirent.h (__alloc_dir): Add flags parameter.
24746 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24747 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24748 __alloc_dir.
24749 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24750 from fdopendir if O_CLOEXEC is already set.
24751
247522011-03-15 Alan Modra <amodra@gmail.com>
24753
24754 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24755 l_tls_firstbyte_offset non-zero. Save padding offset in
24756 l_tls_firstbyte_offset for later use.
24757 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24758 freeing static tls block.
24759
247602011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24761
24762 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24763 where #ifdef was intended. The intent is to prevent ARG_MAX from
24764 being defined by the kernel headers.
24765
247662011-05-07 Ulrich Drepper <drepper@gmail.com>
24767
24768 [BZ #12734]
24769 * resolv/resolv.h: Define RES_NOTLDQUERY.
24770 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24771 no-tld-query and set RES_NOTLDQUERY.
24772 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24773 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24774 modern BIND to search name as TLD unless forbidden.
24775
247762011-05-07 Petr Baudis <pasky@suse.cz>
24777 Ulrich Drepper <drepper@gmail.com>
24778
24779 [BZ #12393]
24780 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24781 (is_trusted_path): ...to here.
24782 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24783 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24784 using is_trusted_path_normalize() in setuid scripts.
24785
247862011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24787
24788 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24789 __BEGIN/__END_DECLS.
24790
247912011-05-06 Ulrich Drepper <drepper@gmail.com>
24792
24793 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24794 NSS_STATUS_NOTFOUND if no record was found.
24795
247962011-05-05 Andreas Schwab <schwab@redhat.com>
24797
24798 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24799 (headers-not-in-tirpc): Remove rpc/netdb.h
24800 * resolv/netdb.h: Revert last change.
24801
248022011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24803
24804 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24805 circular dependency between libgcc.a and libc.a.
24806
248072011-05-05 Andreas Schwab <schwab@redhat.com>
24808
24809 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24810 * nis/Makefile: Don't install rpcsvc/*.
24811 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24812 instead of <rpc/types.h>.
24813 (MAXHOSTNAMELEN): Define.
24814
248152011-05-03 Andreas Schwab <schwab@redhat.com>
24816
24817 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24818
248192011-04-28 Maciej Babinski <mbabinski@google.com>
24820
24821 [BZ #12714]
24822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24823 gethostbyname4_r when IPv6 results are possible.
24824
248252011-05-02 Ulrich Drepper <drepper@gmail.com>
24826
24827 [BZ #12723]
24828 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24829 _PC_PIPE_BUF handling.
24830
248312011-04-30 Bruno Haible <bruno@clisp.org>
24832
24833 [BZ #12717]
24834 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24835 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24836 to 'int'.
24837 * inet/getnameinfo.c (getnameinfo): Likewise.
24838
248392011-04-29 Ulrich Drepper <drepper@gmail.com>
24840
24841 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24842 to groups setting in database lookup.
24843 * nss/nsswitch.conf: Add initgroups entry.
24844
248452011-04-22 Ulrich Drepper <drepper@gmail.com>
24846
24847 [BZ #12685]
24848 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24849 mode string.
24850 Patch by Eric Blake <eblake@redhat.com>.
24851
248522011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24853
24854 * sunrpc/Makefile (need-export-routines): Add svc_run.
24855 (routines): Remove svc_run.
24856 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24857 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24858 * sunrpc/svc_run.c (svc_run): Likewise.
24859 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24860
248612011-04-21 Ulrich Drepper <drepper@gmail.com>
24862
24863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24864 problem in reallocation in last patch.
24865
248662011-04-20 Ulrich Drepper <drepper@gmail.com>
24867
24868 * sunrpc/Makefile: Move inclusion of Rules.
24869
248702011-04-19 Ulrich Drepper <drepper@gmail.com>
24871
24872 * nss/nss_files/files-initgroups.c: New file.
24873 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24874 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24875 _nss_files_initgroups_dyn.
24876
248772011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24878
24879 * elf/elf.h (R_ARM_IRELATIVE): Define.
24880
248812011-04-19 Ulrich Drepper <drepper@gmail.com>
24882
24883 * po/ru.po: Update from translation team.
24884
248852011-04-17 Ulrich Drepper <drepper@gmail.com>
24886
24887 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24888 dependencies.
24889
248902011-02-06 Mike Frysinger <vapier@gentoo.org>
24891
24892 [BZ #12653]
24893 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24894 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24895 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24896 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24897 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24898
248992011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24900
24901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24902 differing bytes.
24903 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24904 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24905 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24906
249072011-04-17 Ulrich Drepper <drepper@gmail.com>
24908
24909 [BZ #12420]
24910 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24911 storing it.
24912 * stdlib/bug-getcontext.c: New file.
24913 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24914
249152011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24916
24917 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24918 instructions into .machine "z9-109".
24919 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24920 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24921
249222011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24923
24924 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24925 between environment variables and auxiliary vector.
24926
249272011-04-16 Ulrich Drepper <drepper@gmail.com>
24928
24929 * Makefile: Add rules to build linkobj/libc.so.
24930 * include/libc-symbols.h: Define libc_hidden_nolink.
24931 * include/rpc/auth.h: Mark functions which are to be hidden.
24932 * include/rpc/auth_des.h: Likewise.
24933 * include/rpc/auth_unix.h: Likewise.
24934 * include/rpc/clnt.h: Likewise.
24935 * include/rpc/des_crypt.h: Likewise.
24936 * include/rpc/key_prot.h: Likewise.
24937 * include/rpc/pmap_clnt.h: Likewise.
24938 * include/rpc/pmap_prot.h: Likewise.
24939 * include/rpc/pmap_rmt.h: Likewise.
24940 * include/rpc/rpc_msg.h: Likewise.
24941 * include/rpc/svc.h: Likewise.
24942 * include/rpc/svc_auth.h: Likewise.
24943 * include/rpc/xdr.h: Likewise.
24944 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24945 * nss/Makefile: Likewise.
24946 * sunrpc/Makefile: Don't install headers. Build library with normal
24947 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24948 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24949 for the compat linking library. Remove use of INTDEF/INTUSE.
24950 * sunrpc/auth_none.c: Likewise.
24951 * sunrpc/auth_unix.c: Likewise.
24952 * sunrpc/authdes_prot.c: Likewise.
24953 * sunrpc/authuxprot.c: Likewise.
24954 * sunrpc/clnt_gen.c: Likewise.
24955 * sunrpc/clnt_perr.c: Likewise.
24956 * sunrpc/clnt_raw.c: Likewise.
24957 * sunrpc/clnt_simp.c: Likewise.
24958 * sunrpc/clnt_tcp.c: Likewise.
24959 * sunrpc/clnt_udp.c: Likewise.
24960 * sunrpc/clnt_unix.c: Likewise.
24961 * sunrpc/des_crypt.c: Likewise.
24962 * sunrpc/des_soft.c: Likewise.
24963 * sunrpc/get_myaddr.c: Likewise.
24964 * sunrpc/key_call.c: Likewise.
24965 * sunrpc/key_prot.c: Likewise.
24966 * sunrpc/netname.c: Likewise.
24967 * sunrpc/pm_getmaps.c: Likewise.
24968 * sunrpc/pm_getport.c: Likewise.
24969 * sunrpc/pmap_clnt.c: Likewise.
24970 * sunrpc/pmap_prot.c: Likewise.
24971 * sunrpc/pmap_prot2.c: Likewise.
24972 * sunrpc/pmap_rmt.c: Likewise.
24973 * sunrpc/publickey.c: Likewise.
24974 * sunrpc/rpc_cmsg.c: Likewise.
24975 * sunrpc/rpc_common.c: Likewise.
24976 * sunrpc/rpc_dtable.c: Likewise.
24977 * sunrpc/rpc_prot.c: Likewise.
24978 * sunrpc/rpc_thread.c: Likewise.
24979 * sunrpc/rtime.c: Likewise.
24980 * sunrpc/svc.c: Likewise.
24981 * sunrpc/svc_auth.c: Likewise.
24982 * sunrpc/svc_authux.c: Likewise.
24983 * sunrpc/svc_raw.c: Likewise.
24984 * sunrpc/svc_run.c: Likewise.
24985 * sunrpc/svc_simple.c: Likewise.
24986 * sunrpc/svc_tcp.c: Likewise.
24987 * sunrpc/svc_udp.c: Likewise.
24988 * sunrpc/svc_unix.c: Likewise.
24989 * sunrpc/svcauth_des.c: Likewise.
24990 * sunrpc/xcrypt.c: Likewise.
24991 * sunrpc/xdr.c: Likewise.
24992 * sunrpc/xdr_array.c: Likewise.
24993 * sunrpc/xdr_float.c: Likewise.
24994 * sunrpc/xdr_intXX_t.c: Likewise.
24995 * sunrpc/xdr_mem.c: Likewise.
24996 * sunrpc/xdr_rec.c: Likewise.
24997 * sunrpc/xdr_ref.c: Likewise.
24998 * sunrpc/xdr_sizeof.c: Likewise.
24999 * sunrpc/xdr_stdio.c: Likewise.
25000
250012011-04-10 Ulrich Drepper <drepper@gmail.com>
25002
25003 [BZ #12650]
25004 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25005 * sysdeps/ia64/dl-tls.h: Likewise.
25006 * sysdeps/powerpc/dl-tls.h: Likewise.
25007 * sysdeps/s390/dl-tls.h: Likewise.
25008 * sysdeps/sh/dl-tls.h: Likewise.
25009 * sysdeps/sparc/dl-tls.h: Likewise.
25010 * sysdeps/x86_64/dl-tls.h: Likewise.
25011 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25012
250132011-03-14 Andreas Schwab <schwab@redhat.com>
25014
25015 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25016 rpath element also skip the following colon.
25017 (expand_dynamic_string_token): Add is_path parameter and pass
25018 down to DL_DST_REQUIRED and _dl_dst_substitute.
25019 (decompose_rpath): Call expand_dynamic_string_token with
25020 non-zero is_path. Ignore empty rpaths.
25021 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25022 with zero is_path.
25023
250242011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25025
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25027 Make cancelable.
25028
250292011-04-09 Ulrich Drepper <drepper@gmail.com>
25030
25031 [BZ #12655]
25032 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25033 Patch by Filipe David Manana <fdmanana@apache.org>.
25034
250352011-04-07 Andreas Schwab <schwab@redhat.com>
25036
25037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25038 Maintain aligned stack.
25039 (CHECK_RSP): Remove unused macro.
25040
250412011-04-03 Ulrich Drepper <drepper@gmail.com>
25042
25043 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25044 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25045
250462011-04-02 Ulrich Drepper <drepper@gmail.com>
25047
25048 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25049
25050 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25051
250522011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25053
25054 [BZ #12518]
25055 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25056 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25057 * sysdeps/x86_64/memmove.c: New file.
25058 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25059 (memcpy): Renamed to ...
25060 (__new_memcpy): This.
25061 (memcpy): Provide GLIBC_2_14 memcpy.
25062 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25063 (memcpy): Provide GLIBC_2_2_5 memcpy.
25064
250652011-04-01 Ulrich Drepper <drepper@gmail.com>
25066
25067 [BZ #12631]
25068 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25069
250702011-03-30 Andreas Schwab <schwab@redhat.com>
25071
25072 * misc/syncfs.c: New file.
25073 * misc/Makefile (routines): Add syncfs.
25074 * posix/unistd.h: Declare syncfs.
25075 * sysdeps/unix/syscalls.list: Add syncfs.
25076
250772011-04-01 Andreas Schwab <schwab@redhat.com>
25078
25079 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25080 open_by_handle_at.
25081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25082 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25084 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25086 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25088
250892011-04-01 Ulrich Drepper <drepper@gmail.com>
25090
25091 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25092 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25093 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25094 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25095 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25097 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25098
25099 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25100 sync_file_range.c with -fexceptions.
25101 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25102 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25103 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25104 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25105 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25106 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25108 sync_file_range as cancellation point
25109 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25110 now a wrapper around __call_sync_file_range with cancellation handling.
25111 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25112 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25113 function name to __call_sync_file_range.
25114 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25115 Add call_sync_file_range.
25116
251172011-04-01 Andreas Schwab <schwab@redhat.com>
25118
25119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25120 bits/timex.h.
25121
251222011-04-01 Ulrich Drepper <drepper@gmail.com>
25123
25124 * iconv/iconv.h: Fix typo in comment.
25125 * io/fcntl.h: Likewise.
25126 * libio/stdio.h: Likewise.
25127 * posix/spawn.h: Likewise.
25128 * posix/unistd.h: Likewise.
25129 * stdlib/stdlib.h: Likewise.
25130 * time/time.h: Likewise.
25131 * wcsmbs/wchar.h: Likewise.
25132
25133 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25134 open_by_handle): Add.
25135 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25136 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25137 Augment a few comments.
25138 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25140 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25142 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25143 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25144 open_by_handle.
25145
25146 * io/fcntl.h (AT_EMPTY_PATH): Define.
25147
251482011-03-30 Ulrich Drepper <drepper@gmail.com>
25149
25150 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25151 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25152 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25153 to...
25154 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25155 * Versions.def: Add GLIBC_2.14.
25156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25157 Export.
25158
251592011-03-22 Ulrich Drepper <drepper@gmail.com>
25160
25161 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25162 round counter.
25163 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25164
251652011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25166
25167 [BZ #12597]
25168 * string/test-strncmp.c (do_page_test): New function.
25169 (check2): Likewise.
25170 (test_main): Call check2.
25171 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25172
251732011-03-20 Ulrich Drepper <drepper@gmail.com>
25174
25175 [BZ #12587]
25176 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25177 Handle cache information in CPU leaf 4.
25178 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25179
251802011-03-18 Ulrich Drepper <drepper@gmail.com>
25181
25182 [BZ #12583]
25183 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25184 character representation.
25185 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25186
251872011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25188
25189 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25190 END(__isnan) to END(__isnanf) to match function entry point/label
25191 EALIGN(__isnanf,...).
25192
251932011-03-10 Jakub Jelinek <jakub@redhat.com>
25194
25195 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25196
251972011-03-10 Ulrich Drepper <drepper@gmail.com>
25198
25199 [BZ #12510]
25200 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25201 copy from the symbol referenced in the relocation to initialize the
25202 used variable.
25203 Patch by Piotr Bury <pbury@goahead.com>.
25204 * elf/Makefile: Add rules to build and tst-unique3.
25205 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25206 * elf/tst-unique3.cc: New file.
25207 * elf/tst-unique3.h: New file.
25208 * elf/tst-unique3lib.cc: New file.
25209 * elf/tst-unique3lib2.cc: New file.
25210
25211 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25212
252132011-03-10 Mike Frysinger <vapier@gentoo.org>
25214
25215 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25216 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25217 to _start.
25218
252192011-03-06 Ulrich Drepper <drepper@gmail.com>
25220
25221 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25222 to-be-loaded object along a path to loader is ld.so.
25223
252242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25225 Ulrich Drepper <drepper@gmail.com>
25226
25227 * sysdeps/x86_64/memset.S: After aligning destination, code
25228 branches to different locations depending on the value of
25229 misalignment, when multiarch is enabled. Fix this.
25230
252312011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25232
25233 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25234 Set _x86_64_preferred_memory_instruction for AMD processsors.
25235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25236 Set bit_Prefer_SSE_for_memop for AMD processors.
25237
252382011-03-04 Ulrich Drepper <drepper@gmail.com>
25239
25240 * libio/fmemopen.c (fmemopen): Optimize a bit.
25241
252422011-03-03 Andreas Schwab <schwab@redhat.com>
25243
25244 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25245
252462011-03-03 Roland McGrath <roland@redhat.com>
25247
25248 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25249
252502011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25251
25252 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25253 __bzero_ultra1 instead of __memset_ultra1.
25254
252552011-02-23 Andreas Schwab <schwab@redhat.com>
25256 Ulrich Drepper <drepper@gmail.com>
25257
25258 [BZ #12509]
25259 * include/link.h (struct link_map): Add l_orig_initfini.
25260 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25261 returning unsuccessfully.
25262 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25263 close of a file loaded at startup, restore the original l_initfini
25264 list.
25265 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25266 list, store the pointer.
25267 * elf/Makefile ($(objpfx)noload-mem): New rule.
25268 (noload-ENV): Define.
25269 (tests): Add $(objpfx)noload-mem.
25270 * elf/noload.c: Include <memcheck.h>.
25271 (main): Call mtrace. Close all opened handles.
25272
252732011-02-17 Andreas Schwab <schwab@redhat.com>
25274
25275 [BZ #12454]
25276 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25277 dependencies are missing.
25278
252792011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25280
25281 Fix __if_freereq crash: Unlike the generic version which uses free,
25282 Hurd needs munmap.
25283 * sysdeps/mach/hurd/ifreq.h: New file.
25284
252852011-01-27 Petr Baudis <pasky@suse.cz>
25286 Ulrich Drepper <drepper@gmail.com>
25287
25288 [BZ 12445]#
25289 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25290 to extend_alloca().
25291 * stdio-common/bug23.c: New file.
25292 * stdio-common/Makefile (tests): Add bug23.
25293
252942010-09-28 Andreas Schwab <schwab@redhat.com>
25295 Ulrich Drepper <drepper@gmail.com>
25296
25297 [BZ #12489]
25298 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25299 before performing relro protection. At old place add assertion
25300 to make sure nothing changed.
25301
253022011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25303 Glauber de Oliveira Costa <glommer@gmail.com>
25304
25305 * elf/elf.h: Add new ARM TLS relocs.
25306
253072011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25308
25309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25310 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25311 cast from r3.
25312 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25313 'tests' variable.
25314 * sysdeps/wordsize-64/tst-writev.c: New file.
25315
253162011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25317
25318 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25319 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25320 insns in _dl_start to prevent a TOC reference before relocs are
25321 resolved.
25322
253232011-02-15 Ulrich Drepper <drepper@gmail.com>
25324
25325 [BZ #12469]
25326 * Makeconfig: Remove RANLIB definition.
25327 * Makerules: Don't use RANLIB.
25328 * aclocal.m4: Remove ranlib test.
25329 * configure.in: No need to check for ranlib.
25330 * elf/rtld-Rules: Don't use RANLIB.
25331
253322011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25333
25334 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25335 protection macro.
25336 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25337 inclusion protection macro.
25338
25339 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25340 SIGRTMIN and SIGRTMAX and print information in that case only when
25341 SIGRTMIN is defined.
25342
253432011-02-11 Jakub Jelinek <jakub@redhat.com>
25344
25345 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25346 arginfo fn returning -1.
25347
25348 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25349 and thousands string is zero terminated.
25350
253512011-02-03 Andreas Schwab <schwab@redhat.com>
25352
25353 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25354 sysdeps/unix/sysv/linux/bits/socket.h.
25355
253562011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25357
25358 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25359 (__CPU_COUNT): Remove old macros.
25360 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25361 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25362 (__CPU_ALLOC, __CPU_FREE): Add macros.
25363 (__sched_cpualloc, __sched_cpufree): Add declarations.
25364
253652011-02-05 Ulrich Drepper <drepper@gmail.com>
25366
25367 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25368 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25369 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25370 (readdhstai): Return value of addhstaiX call.
25371 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25372 (addgrbyX): Return value returned by cache_addgr.
25373 (readdgrbyname): Return value returned by addgrbyX.
25374 (readdgrbygid): Likewise.
25375 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25376 (addpwbyX): Return value returned by cache_addpw.
25377 (readdpwbyname): Return value returned by addhstbyX.
25378 (readdpwbyuid): Likewise.
25379 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25380 (addservbyX): Return value returned by cache_addserv.
25381 (readdservbyname): Return value returned by addservbyX:
25382 (readdservbyport): Likewise.
25383 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25384 (addhstbyX): Return value returned by cache_addhst.
25385 (readdhstbyname): Return value returned by addhstbyX.
25386 (readdhstbyaddr): Likewise.
25387 (readdhstbynamev6): Likewise.
25388 (readdhstbyaddrv6): Likewise.
25389 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25390 (readdinitgroups): Return value returned by addinitgroupsX.
25391 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25392 (prune_cache): Keep track of timeout value of re-added entries.
25393 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25394 * nscd/nscd.h: Adjust prototypes of readd* functions.
25395
253962011-02-04 Roland McGrath <roland@redhat.com>
25397
25398 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25399 (nis_stats): Likewise.
25400 * nis/nis_modify.c (nis_modify): Likewise.
25401 * nis/nis_remove.c (nis_remove): Likewise.
25402 * nis/nis_add.c (nis_add): Likewise.
25403
25404 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25405
25406 * posix/fnmatch_loop.c: Add some consts.
25407
25408 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25409
254102011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25411
25412 [BZ #12460]
25413 * config.make.in (config-cflags-novzeroupper): Define.
25414 * configure.in: Substitute libc_cv_cc_novzeroupper.
25415 * elf/Makefile (AVX-CFLAGS): Define.
25416 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25417 (CFLAGS-tst-auditmod4a.c): Likewise.
25418 (CFLAGS-tst-auditmod4b.c): Likewise.
25419 (CFLAGS-tst-auditmod6b.c): Likewise.
25420 (CFLAGS-tst-auditmod6c.c): Likewise.
25421 (CFLAGS-tst-auditmod7b.c): Likewise.
25422 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25423
254242011-02-02 Ulrich Drepper <drepper@gmail.com>
25425
25426 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25427 function to the callback.
25428 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25429
254302011-02-02 Andreas Schwab <schwab@redhat.com>
25431
25432 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25433 of errno.
25434
254352011-01-19 Ulrich Drepper <drepper@gmail.com>
25436
25437 [BZ #11724]
25438 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25439 of constructors.
25440 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25441 of destructors.
25442 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25443
25444 [BZ #11724]
25445 * elf/Makefile: Add rules to build and run new test.
25446 * elf/tst-initorder.c: New file.
25447 * elf/tst-initorder.exp: New file.
25448 * elf/tst-initordera1.c: New file.
25449 * elf/tst-initordera2.c: New file.
25450 * elf/tst-initordera3.c: New file.
25451 * elf/tst-initordera4.c: New file.
25452 * elf/tst-initorderb1.c: New file.
25453 * elf/tst-initorderb2.c: New file.
25454 * elf/tst-order-a1.c: New file.
25455 * elf/tst-order-a2.c: New file.
25456 * elf/tst-order-a3.c: New file.
25457 * elf/tst-order-a4.c: New file.
25458 * elf/tst-order-b1.c: New file.
25459 * elf/tst-order-b2.c: New file.
25460 * elf/tst-order-main.c: New file.
25461 New test case by George Gensure <werkt0@gmail.com>.
25462
254632010-10-01 Andreas Schwab <schwab@redhat.com>
25464
25465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25466 decoding ACE if AI_CANONIDN.
25467
254682011-01-18 Ulrich Drepper <drepper@gmail.com>
25469
25470 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25471
254722011-01-17 Ulrich Drepper <drepper@gmail.com>
25473
25474 * version.h (RELEASE): Bump for 2.13 release.
25475 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25476
25477 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25478
25479 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25480 MADV_NOHUGEPAGE.
25481 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25482 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25483 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25484 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25485 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25486 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25487
25488 * posix/getconf.c: Update copyright year.
25489 * catgets/gencat.c: Likewise.
25490 * csu/version.c: Likewise.
25491 * debug/catchsegv.sh: Likewise.
25492 * debug/xtrace.sh: Likewise.
25493 * elf/ldconfig.c: Likewise.
25494 * elf/ldd.bash.in: Likewise.
25495 * elf/sprof.c (print_version): Likewise.
25496 * iconv/iconv_prog.c: Likewise.
25497 * iconv/iconvconfig.c: Likewise.
25498 * locale/programs/locale.c: Likewise.
25499 * locale/programs/localedef.c: Likewise.
25500 * malloc/memusage.sh: Likewise.
25501 * malloc/mtrace.pl: Likewise.
25502 * nscd/nscd.c (print_version): Likewise.
25503 * nss/getent.c: Likewise.
25504
25505 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25506 PF_CAIF, and PF_ALG.
25507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25508
255092011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25510
25511 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25512 (modules-names): Use them.
25513 (ifunc-test-modules, ifunc-pie-tests): Define.
25514 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25515 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25516 (test-extras): Likewise.
25517 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25518 $(compile-command.c).
25519 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25520 (all-built-dso): Define.
25521 (check-textrel.out, check-execstack.out): Depend on it.
25522
25523 * configure.in: Don't override --enable-multi-arch.
25524
255252011-01-15 Ulrich Drepper <drepper@gmail.com>
25526
25527 [BZ #6812]
25528 * nscd/hstcache.c (tryagain): Define.
25529 (cache_addhst): Return tryagain not notfound for temporary errors.
25530 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25531 failed.
25532
255332011-01-14 Ulrich Drepper <drepper@gmail.com>
25534
25535 [BZ #10563]
25536 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25537 to make the syscall.
25538 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25539
25540 [BZ #12378]
25541 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25542 and fall back to matching as normal character if the string ends before
25543 the matching ']' is found. This is what POSIX requires.
25544 * posix/testfnm.c: Adjust test result.
25545 * posix/globtest.sh: Adjust test result. Add new test.
25546 * posix/tst-fnmatch.input: Likewise.
25547 * posix/tst-fnmatch2.c: Add new test.
25548
255492010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25550
25551 * elf/Makefile (check-execstack): Revert last change. Depend on
25552 check-execstack.h.
25553 (check-execstack.h): New target.
25554 (generated): Add check-execstack.h.
25555 * elf/check-execstack.c: Include "check-execstack.h".
25556 (main): Revert last change.
25557 (handle_file): Return zero if GNU_STACK is absent and
25558 DEFAULT_STACK_PERMS doesn't include PF_X.
25559
255602011-01-13 Ulrich Drepper <drepper@gmail.com>
25561
25562 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25563 in child fails because the descriptor is already closed.
25564 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25565 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25566 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25567
25568 [BZ #12397]
25569 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25570 syscall.
25571
25572 [BZ #10484]
25573 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25574 temporary buffer used to handle multi lookups locally.
25575 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25576
255772011-01-12 Ulrich Drepper <drepper@gmail.com>
25578
25579 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25580 loader is ld.so.
25581
255822011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25583
25584 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25585 alignment for SSE2.
25586
255872011-01-12 Ulrich Drepper <drepper@gmail.com>
25588
25589 [BZ #12394]
25590 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25591 characters. When rounding increased number of integer digits recompute
25592 number of groups.
25593 * stdio-common/tst-grouping.c: New file.
25594 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25595
255962011-01-09 Ulrich Drepper <drepper@gmail.com>
25597
25598 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25599 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25600
25601 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25602 void.
25603 * bits/select.h: Likewise.
25604
256052011-01-08 Ulrich Drepper <drepper@gmail.com>
25606
25607 * po/ja.po: Update from translation team.
25608
256092011-01-04 David S. Miller <davem@sunset.davemloft.net>
25610
25611 [BZ #11155]
25612 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25613 implementation just like for lxstat, fxstatat, et al.
25614
256152010-12-27 Jim Meyering <meyering@redhat.com>
25616
25617 [BZ #12348]
25618 * posix/regexec.c (build_trtable): Return failure indication upon
25619 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25620
256212010-12-25 Ulrich Drepper <drepper@gmail.com>
25622
25623 [BZ #12201]
25624 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25625 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25626 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25627 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25628
25629 [BZ #12207]
25630 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25631
25632 [BZ #12204]
25633 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25634 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25635
256362010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25637
25638 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25639 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25640 script has SORT_BY_INIT_PRIORITY.
25641 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25642 NO_CTORS_DTORS_SECTIONS is defined.
25643 * elf/soinit.c: Likewise.
25644 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25645 NO_CTORS_DTORS_SECTIONS is defined.
25646 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25647 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25648 * sysdeps/sh/init-first.c: Likewise.
25649 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25650
256512010-12-24 Ulrich Drepper <drepper@gmail.com>
25652
25653 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25654 always use the slow path.
25655
256562010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25657
25658 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25659 similar rule which adds the sysdep directories to the header search in
25660 order to pick up the correct platform stackinfo.h.
25661 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25662 perform test if it is, otherwise return successfully without testing.
25663 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25664 DEFAULT_STACK_PERMS define in stackinfo.h.
25665 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25666 defined in stackinfo.h.
25667 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25668 DEFAULT_STACK_PERMS defined in stackinfo.h.
25669 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25670 * sysdeps/ia64/stackinfo.h: Likewise.
25671 * sysdeps/s390/stackinfo.h: Likewise.
25672 * sysdeps/sh/stackinfo.h: Likewise.
25673 * sysdeps/sparc/stackinfo.h: Likewise.
25674 * sysdeps/x86_64/stackinfo.h: Likewise.
25675 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25676 PF_X for powerpc64. Retain PF_X for powerpc32.
25677
256782010-12-19 Ulrich Drepper <drepper@gmail.com>
25679
25680 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25681 accurately.
25682 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25683 GETDENTS_64BIT_ALIGNED.
25684
256852010-12-14 Ulrich Drepper <dreper@gmail.com>
25686
25687 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25688
256892010-12-10 Andreas Schwab <schwab@redhat.com>
25690
25691 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25692 _GNU_SOURCE.
25693
25694 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25695 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25696 Remove __restrict.
25697 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25698 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25699
257002010-12-09 Ulrich Drepper <drepper@gmail.com>
25701
25702 [BZ #11655]
25703 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25704 are initialized.
25705
257062010-12-09 Jakub Jelinek <jakub@redhat.com>
25707
25708 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25709
257102010-12-03 Ulrich Drepper <drepper@gmail.com>
25711
25712 * po/it.po: Update from translation team.
25713
257142010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25715
25716 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25717 unused codes.
25718
257192010-11-30 Ulrich Drepper <drepper@gmail.com>
25720
25721 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25722
257232010-11-24 Andreas Schwab <schwab@redhat.com>
25724
25725 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25726 specially.
25727 (gaih_getanswer_slice): Likewise.
25728
257292010-10-20 Jakub Jelinek <jakub@redhat.com>
25730
25731 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25732
257332010-05-31 Petr Baudis <pasky@suse.cz>
25734
25735 [BZ #11149]
25736 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25737 silently even in the chroot mode.
25738
257392010-11-22 Ulrich Drepper <drepper@gmail.com>
25740
25741 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25742 last patch a bit. Pretty printing
25743
257442010-05-31 Petr Baudis <pasky@suse.cz>
25745
25746 [BZ #10085]
25747 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25748 initialization of skip_initgroups_dyn.
25749
257502010-11-19 Ulrich Drepper <drepper@gmail.com>
25751
25752 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25753 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25754
257552010-11-16 Ulrich Drepper <drepper@gmail.com>
25756
25757 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25758
257592010-11-11 Andreas Schwab <schwab@redhat.com>
25760
25761 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25762 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25763 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25764 ($(objpfx)tst-fnmatch-mem): New rule.
25765 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25766 * posix/tst-fnmatch.c (main): Call mtrace.
25767
257682010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25769
25770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25771 Support Intel processor model 6 and model 0x2c.
25772
257732010-11-10 Luis Machado <luisgpm@br.ibm.com>
25774
25775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25776 signed comparison.
25777
257782010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25779
25780 [BZ #12205]
25781 * string/test-strncasecmp.c (check_result): New function.
25782 (do_one_test): Use it.
25783 (check1): New function.
25784 (test_main): Use it.
25785 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25786 Support strcasecmp and strncasecmp.
25787
257882010-11-08 Ulrich Drepper <drepper@gmail.com>
25789
25790 [BZ #12194]
25791 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25792 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25793
257942010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25795
25796 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25797 IFUNC support.
25798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25799 memset-x86-64.
25800 * sysdeps/x86_64/multiarch/bzero.S: New file.
25801 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25802 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25803 * sysdeps/x86_64/multiarch/memset.S: New file.
25804 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25806 Set bit_Prefer_SSE_for_memop for Intel processors.
25807 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25808 Define.
25809 (index_Prefer_SSE_for_memop): Define.
25810 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25811
258122010-11-04 Luis Machado <luisgpm@br.ibm.com>
25813
25814 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25815 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25816
258172010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25818
25819 [BZ #12191]
25820 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25821 (__x86_64_raw_data_cache_size_half): Likewise.
25822 (__x86_64_raw_shared_cache_size): Likewise.
25823 (__x86_64_raw_shared_cache_size_half): Likewise.
25824
25825 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25826 (__x86_64_raw_data_cache_size_half): Likewise.
25827 (__x86_64_raw_shared_cache_size): Likewise.
25828 (__x86_64_raw_shared_cache_size_half): Likewise.
25829 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25830 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25831 and __x86_64_raw_shared_cache_size_half. Round
25832 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25833 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25834 to multiple of 256 bytes.
25835
258362010-11-03 Ulrich Drepper <drepper@gmail.com>
25837
25838 [BZ #12167]
25839 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25840 of inacessible symlinks. Verify result of symlink before returning it.
25841 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25842 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25843
258442010-10-28 Erich Ritz <erichritz@gmail.com>
25845
25846 * math/math.h (isinf): Fix typo in comment.
25847
258482010-11-01 Ulrich Drepper <drepper@gmail.com>
25849
25850 * po/da.po: Update from translation team.
25851
258522010-10-26 Ulrich Drepper <drepper@gmail.com>
25853
25854 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25855 is added to the list.
25856
258572010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25858 Ulrich Drepper <drepper@gmail.com>
25859
25860 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25861 the global list here. Move code to...
25862 (_dl_add_to_namespace_list): ...here. New function.
25863 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25864 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25865 * elf/dl-load.c (lose): Don't remove the element from the list.
25866 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25867 (_dl_map_object): Likewise.
25868
258692010-10-25 Ulrich Drepper <drepper@gmail.com>
25870
25871 [BZ #12159]
25872 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25873 into all bytes of SSE register.
25874 Patch by Richard Li <richardpku@gmail.com>.
25875
258762010-10-24 Ulrich Drepper <drepper@gmail.com>
25877
25878 [BZ #12140]
25879 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25880 perturbing.
25881
258822010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25883
25884 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25885 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25886 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25887 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25889 submachine.
25890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25891
258922010-10-22 Andreas Schwab <schwab@redhat.com>
25893
25894 * include/dlfcn.h (__RTLD_SECURE): Define.
25895 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25896 mode & __RTLD_SECURE instead.
25897 (open_path): Rename preloaded parameter to secure.
25898 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25899 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25900 * elf/dl-deps.c (openaux): Likewise.
25901 * elf/rtld.c (struct map_args): Remove is_preloaded.
25902 (map_doit): Don't use it.
25903 (dl_main): Likewise.
25904 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25905 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25906
259072010-09-09 Andreas Schwab <schwab@redhat.com>
25908
25909 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25910 (sysd-rules-targets): Remove duplicates.
25911 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25912 rtld-%.$o dependency.
25913
259142010-10-18 Andreas Schwab <schwab@redhat.com>
25915
25916 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25917 _dl_map_object do it.
25918
259192010-10-19 Ulrich Drepper <drepper@gmail.com>
25920
25921 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25922 fast fma builtins, define the macros in the C99 standard.
25923 (FP_FAST_FMAF): Likewise.
25924 (FP_FAST_FMAL): Likewise.
25925 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25926
25927 * bits/mathdef.h: Update copyright year.
25928 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25929
259302010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25931
25932 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25933 builtins, define the macros in the C99 standard.
25934 (FP_FAST_FMAF): Likewise.
25935 (FP_FAST_FMAL): Likewise.
25936 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25937 multiply/add.
25938 (FP_FAST_FMAF): Likewise.
25939
259402010-10-15 Jakub Jelinek <jakub@redhat.com>
25941
25942 [BZ #3268]
25943 * math/libm-test.inc (fma_test): Some new testcases.
25944 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25945 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25946 y and infinite z. Do multiplication by C already in long double.
25947 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25949 y and infinite z. Do bitwise or of inexact bit into u.d.
25950 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25951 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25952 * sysdeps/i386/fpu/s_fma.S: Removed.
25953 * sysdeps/i386/fpu/s_fmal.S: Removed.
25954
259552010-10-16 Jakub Jelinek <jakub@redhat.com>
25956
25957 [BZ #3268]
25958 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25960 computation is not scheduled after fetestexcept. Fix value
25961 of minimum denormal long double.
25962
259632010-10-14 Jakub Jelinek <jakub@redhat.com>
25964
25965 [BZ #3268]
25966 * math/libm-test.inc (fma_test): Add some more tests.
25967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25968 correctly.
25969
259702010-10-15 Andreas Schwab <schwab@redhat.com>
25971
25972 * scripts/data/localplt-s390-linux-gnu.data: New file.
25973 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25974
259752010-10-13 Jakub Jelinek <jakub@redhat.com>
25976
25977 [BZ #3268]
25978 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25979 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25980 instead of dbl-64.
25981 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25982 inlines.
25983 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25985 if one of x and y is very large and the other is subnormal.
25986 * sysdeps/s390/fpu/s_fmaf.c: New file.
25987 * sysdeps/s390/fpu/s_fma.c: New file.
25988 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25989 * sysdeps/powerpc/fpu/s_fma.S: New file.
25990 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25991 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25992 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25993
259942010-10-12 Jakub Jelinek <jakub@redhat.com>
25995
25996 [BZ #3268]
25997 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25998 fma tests.
25999 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26000 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26001 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26002 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26003 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26004 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26005 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26006
260072010-10-12 Ulrich Drepper <drepper@redhat.com>
26008
26009 [BZ #12078]
26010 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26011 * posix/bug-regex31.input: Add test case.
26012
260132010-10-11 Ulrich Drepper <drepper@gmail.com>
26014
26015 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26016 * posix/bug-regex31.input: New file.
26017
26018 [BZ #12078]
26019 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26020 (parse_sub_exp): Fix last change, use postorder.
26021
26022 * posix/bug-regex31.c: New file.
26023 * posix/Makefile: Add rules to build and run bug-regex31.
26024
26025 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26026
26027 [BZ #12078]
26028 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26029
26030 [BZ #12108]
26031 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26032 to have entries in sys_siglist.
26033
26034 [BZ #12093]
26035 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26036 be NULL.
26037
260382010-10-07 Jakub Jelinek <jakub@redhat.com>
26039
26040 [BZ #3268]
26041 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26042 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26043 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26044 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26045 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26046 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26047 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26048 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26049 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26050 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26051 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26052 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26053 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26054 * math/ftestexcept.c (fetestexcept): Likewise.
26055 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26056 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26057 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26058 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26059 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26060 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26061 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26062
260632010-10-11 Ulrich Drepper <drepper@gmail.com>
26064
26065 [BZ #12107]
26066 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26067 newline.
26068
260692010-10-06 Ulrich Drepper <drepper@gmail.com>
26070
26071 * string/bug-strstr1.c: New file.
26072 * string/Makefile: Add rules to build and run bug-strstr1.
26073
260742010-10-05 Eric Blake <eblake@redhat.com>
26075
26076 [BZ #12092]
26077 * string/str-two-way.h (two_way_long_needle): Always clear memory
26078 when skipping input due to the shift table.
26079
260802010-10-03 Ulrich Drepper <drepper@gmail.com>
26081
26082 [BZ #12005]
26083 * malloc/mcheck.c: Handle large requests.
26084
26085 [BZ #12077]
26086 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26087 for strncmp and strncasecmp.
26088 * string/stratcliff.c: Add tests for strcmp and strncmp.
26089 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26090
260912010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26092
26093 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26094 __set_fpscr.
26095
260962010-09-30 Andreas Jaeger <aj@suse.de>
26097
26098 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26099 (CGROUP_SUPER_MAGIC): Define.
26100 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26101 Handle btrfs and cgroup file systems.
26102 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26103 Likewise.
26104
261052010-09-27 Luis Machado <luisgpm@br.ibm.com>
26106
26107 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26108 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26109
261102010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26111
26112 [BZ #12067]
26113 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26114 trying to locate the ELF header.
26115
261162010-09-27 Andreas Schwab <schwab@redhat.com>
26117
26118 [BZ #11611]
26119 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26120 Mask out sign-bit copies when constructing f_fsid.
26121
261222010-09-24 Petr Baudis <pasky@suse.cz>
26123
26124 * debug/stack_chk_fail_local.c: Add missing licence exception.
26125 * debug/warning-nop.c: Likewise.
26126
261272010-09-15 Joseph Myers <joseph@codesourcery.com>
26128
26129 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26130 implementing getdents64 using getdents syscall, set d_type if
26131 __ASSUME_GETDENTS32_D_TYPE.
26132
261332010-09-16 Andreas Schwab <schwab@redhat.com>
26134
26135 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26136 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26137
261382010-09-21 Ulrich Drepper <drepper@redhat.com>
26139
26140 [BZ #12037]
26141 * posix/unistd.h: Undo change of feature selection for ftruncate from
26142 2010-01-11.
26143
261442010-09-20 Ulrich Drepper <drepper@redhat.com>
26145
26146 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26147 detection.
26148
261492010-09-20 Andreas Schwab <schwab@redhat.com>
26150
26151 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26152 fanotify_mark.
26153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26154
261552010-09-14 Andreas Schwab <schwab@redhat.com>
26156
26157 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26158 variables after CHECK_SP call.
26159 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26160
261612010-09-13 Andreas Schwab <schwab@redhat.com>
26162 Ulrich Drepper <drepper@redhat.com>
26163
26164 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26165 re-relocationg ld.so.
26166 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26167 _dl_init_paths call.
26168 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26169 here anymore.
26170
261712010-09-14 Ulrich Drepper <drepper@redhat.com>
26172
26173 * resolv/res_init.c (__res_vinit): Count the default server we added.
26174
261752010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26176 Ulrich Drepper <drepper@redhat.com>
26177
26178 [BZ #11968]
26179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26180 (____longjmp_chk): Use %ebx for saving value across system call.
26181 Add unwind info.
26182
261832010-09-06 Andreas Schwab <schwab@redhat.com>
26184
26185 * manual/Makefile: Don't mix pattern rules with normal rules.
26186
261872010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26188
26189 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26190 operation.
26191 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26192 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26193 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26194 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26196 Likewise.
26197
261982010-09-04 Ulrich Drepper <drepper@redhat.com>
26199
26200 [BZ #11979]
26201 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26202 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26203
262042010-09-02 Ulrich Drepper <drepper@redhat.com>
26205
26206 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26207 * sysdeps/x86_64/addmul_1.S: Likewise.
26208 * sysdeps/x86_64/lshift.S: Likewise.
26209 * sysdeps/x86_64/mul_1.S: Likewise.
26210 * sysdeps/x86_64/rshift.S: Likewise.
26211 * sysdeps/x86_64/sub_n.S: Likewise.
26212 * sysdeps/x86_64/submul_1.S: Likewise.
26213
262142010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26215
26216 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26217 Define __sched_param instead of SCHED_* and sched_param when
26218 <bits/sched.h> is included with __need_schedparam defined.
26219 * bits/sched.h [__need_schedparam]
26220 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26221 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26222 (__defined_schedparam): Define to 1.
26223 (__sched_param): New structure, identical to sched_param.
26224 (__need_schedparam): Undefine.
26225
262262010-08-31 Mike Frysinger <vapier@gentoo.org>
26227
26228 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26229 (epoll_create1): Declare.
26230
26231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26232
262332010-08-31 Andreas Schwab <schwab@redhat.com>
26234
26235 [BZ #7066]
26236 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26237 shifting retval into place.
26238
262392010-09-01 Ulrich Drepper <drepper@redhat.com>
26240
26241 * nis/rpcsvc/nis.h: Update copyright notice.
26242 * nis/rpcsvc/nis.x: Likewise.
26243 * nis/rpcsvc/nis_callback.h: Likewise.
26244 * nis/rpcsvc/nis_callback.x: Likewise.
26245 * nis/rpcsvc/nis_object.x: Likewise.
26246 * nis/rpcsvc/nis_tags.h: Likewise.
26247 * nis/rpcsvc/yp.h: Likewise.
26248 * nis/rpcsvc/yp.x: Likewise.
26249 * nis/rpcsvc/ypupd.h: Likewise.
26250 * nis/yp_xdr.c: Likewise.
26251 * nis/ypupdate_xdr.c: Likewise.
26252
26253 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26254 mainly the body of pmap_getport. Add parameters to specify timeouts.
26255 (pmap_getport): Use __libc_rpc_getport.
26256 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26257 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26258 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26259
262602010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26261
26262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26263 fanotify_mark.
26264
262652010-08-27 Roland McGrath <roland@redhat.com>
26266
26267 * sysdeps/i386/i686/multiarch/Makefile
26268 (CFLAGS-varshift.c): New variable.
26269
262702010-08-27 Ulrich Drepper <drepper@redhat.com>
26271
26272 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26273 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26274
26275 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26276
26277 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26278
262792010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26280
26281 * sysdeps/x86_64/strlen.S: Unroll the loop.
26282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26283 strlen-sse2 strlen-sse2-bsf.
26284 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26285 __strlen_no_bsf if bit_Slow_BSF is set.
26286 (__strlen_sse42): Removed.
26287 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26288 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26289
262902010-08-25 Roland McGrath <roland@redhat.com>
26291
26292 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26293 * sysdeps/x86_64/multiarch/varshift.c: New file.
26294 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26295 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26296 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26297 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26298
262992010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26300
26301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26302 strlen-sse2 strlen-sse2-bsf.
26303 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26304 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26305 (__strlen_sse2): Removed.
26306 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26307 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26309 bit_Slow_BSF for Atom.
26310 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26311 (index_Slow_BSF): Define.
26312 (HAS_SLOW_BSF): Define.
26313
263142010-08-25 Ulrich Drepper <drepper@redhat.com>
26315
26316 [BZ #10851]
26317 * resolv/res_init.c (__res_vinit): When no server address at all
26318 is given default to loopback.
26319
263202010-08-24 Roland McGrath <roland@redhat.com>
26321
26322 * configure.in: Remove config-name.h generation.
26323 * configure: Regenerated.
26324 * config-name.in: File removed.
26325 * scripts/config-uname.sh: New file.
26326 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26327 ($(objdir)config-name.h): New target.
26328
26329 * sunrpc/rpc_parse.h: Avoid nested comment.
26330
263312010-08-24 Richard Henderson <rth@redhat.com>
26332 Ulrich Drepper <drepper@redhat.com>
26333 H.J. Lu <hongjiu.lu@intel.com>
26334
26335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26337 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26338 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26339 _mm_alignr_epi8 with _mm_loadu_si128.
26340 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26341 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26342 (__m128i_shift_right): Removed.
26343 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26344 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26345 * sysdeps/x86_64/multiarch/varshift.h: New file.
26346 * sysdeps/x86_64/multiarch/varshift.S: New file.
26347
263482010-08-21 Mike Frysinger <vapier@gentoo.org>
26349
26350 * configure.in: Move assembler checks to before sysdep dir checking.
26351
263522010-08-20 Petr Baudis <pasky@suse.cz>
26353
26354 * LICENSES: Sync the sunrpc license.
26355
263562010-08-19 Ulrich Drepper <drepper@redhat.com>
26357
26358 * sunrpc/auth_des.c: Update copyright notice once again.
26359 * sunrpc/auth_none.c: Likewise.
26360 * sunrpc/auth_unix.c: Likewise.
26361 * sunrpc/authdes_prot.c: Likewise.
26362 * sunrpc/authuxprot.c: Likewise.
26363 * sunrpc/bindrsvprt.c: Likewise.
26364 * sunrpc/clnt_gen.c: Likewise.
26365 * sunrpc/clnt_perr.c: Likewise.
26366 * sunrpc/clnt_raw.c: Likewise.
26367 * sunrpc/clnt_simp.c: Likewise.
26368 * sunrpc/clnt_tcp.c: Likewise.
26369 * sunrpc/clnt_udp.c: Likewise.
26370 * sunrpc/clnt_unix.c: Likewise.
26371 * sunrpc/des_crypt.c: Likewise.
26372 * sunrpc/des_soft.c: Likewise.
26373 * sunrpc/get_myaddr.c: Likewise.
26374 * sunrpc/getrpcport.c: Likewise.
26375 * sunrpc/key_call.c: Likewise.
26376 * sunrpc/key_prot.c: Likewise.
26377 * sunrpc/openchild.c: Likewise.
26378 * sunrpc/pm_getmaps.c: Likewise.
26379 * sunrpc/pm_getport.c: Likewise.
26380 * sunrpc/pmap_clnt.c: Likewise.
26381 * sunrpc/pmap_prot.c: Likewise.
26382 * sunrpc/pmap_prot2.c: Likewise.
26383 * sunrpc/pmap_rmt.c: Likewise.
26384 * sunrpc/rpc/auth.h: Likewise.
26385 * sunrpc/rpc/auth_unix.h: Likewise.
26386 * sunrpc/rpc/clnt.h: Likewise.
26387 * sunrpc/rpc/des_crypt.h: Likewise.
26388 * sunrpc/rpc/key_prot.h: Likewise.
26389 * sunrpc/rpc/netdb.h: Likewise.
26390 * sunrpc/rpc/pmap_clnt.h: Likewise.
26391 * sunrpc/rpc/pmap_prot.h: Likewise.
26392 * sunrpc/rpc/pmap_rmt.h: Likewise.
26393 * sunrpc/rpc/rpc.h: Likewise.
26394 * sunrpc/rpc/rpc_des.h: Likewise.
26395 * sunrpc/rpc/rpc_msg.h: Likewise.
26396 * sunrpc/rpc/svc.h: Likewise.
26397 * sunrpc/rpc/svc_auth.h: Likewise.
26398 * sunrpc/rpc/types.h: Likewise.
26399 * sunrpc/rpc/xdr.h: Likewise.
26400 * sunrpc/rpc_clntout.c: Likewise.
26401 * sunrpc/rpc_cmsg.c: Likewise.
26402 * sunrpc/rpc_common.c: Likewise.
26403 * sunrpc/rpc_cout.c: Likewise.
26404 * sunrpc/rpc_dtable.c: Likewise.
26405 * sunrpc/rpc_hout.c: Likewise.
26406 * sunrpc/rpc_main.c: Likewise.
26407 * sunrpc/rpc_parse.c: Likewise.
26408 * sunrpc/rpc_parse.h: Likewise.
26409 * sunrpc/rpc_prot.c: Likewise.
26410 * sunrpc/rpc_sample.c: Likewise.
26411 * sunrpc/rpc_scan.c: Likewise.
26412 * sunrpc/rpc_scan.h: Likewise.
26413 * sunrpc/rpc_svcout.c: Likewise.
26414 * sunrpc/rpc_tblout.c: Likewise.
26415 * sunrpc/rpc_util.c: Likewise.
26416 * sunrpc/rpc_util.h: Likewise.
26417 * sunrpc/rpcinfo.c: Likewise.
26418 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26419 * sunrpc/rpcsvc/key_prot.x: Likewise.
26420 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26421 * sunrpc/rpcsvc/mount.x: Likewise.
26422 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26423 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26424 * sunrpc/rpcsvc/rex.x: Likewise.
26425 * sunrpc/rpcsvc/rstat.x: Likewise.
26426 * sunrpc/rpcsvc/rusers.x: Likewise.
26427 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26428 * sunrpc/rpcsvc/spray.x: Likewise.
26429 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26430 * sunrpc/rtime.c: Likewise.
26431 * sunrpc/svc.c: Likewise.
26432 * sunrpc/svc_auth.c: Likewise.
26433 * sunrpc/svc_authux.c: Likewise.
26434 * sunrpc/svc_raw.c: Likewise.
26435 * sunrpc/svc_run.c: Likewise.
26436 * sunrpc/svc_simple.c: Likewise.
26437 * sunrpc/svc_tcp.c: Likewise.
26438 * sunrpc/svc_udp.c: Likewise.
26439 * sunrpc/svc_unix.c: Likewise.
26440 * sunrpc/svcauth_des.c: Likewise.
26441 * sunrpc/xcrypt.c: Likewise.
26442 * sunrpc/xdr.c: Likewise.
26443 * sunrpc/xdr_array.c: Likewise.
26444 * sunrpc/xdr_float.c: Likewise.
26445 * sunrpc/xdr_mem.c: Likewise.
26446 * sunrpc/xdr_rec.c: Likewise.
26447 * sunrpc/xdr_ref.c: Likewise.
26448 * sunrpc/xdr_sizeof.c: Likewise.
26449 * sunrpc/xdr_stdio.c: Likewise.
26450
26451 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26452 handling.
26453
264542010-08-19 Andreas Schwab <schwab@redhat.com>
26455
26456 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26457
264582010-08-19 Luis Machado <luisgpm@br.ibm.com>
26459
26460 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26461 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26462 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26463 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26464 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26465 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26466 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26467 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26468 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26469 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26470 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26471 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26472 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26473 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26474
264752010-07-26 Anton Blanchard <anton@samba.org>
26476
26477 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26478 * malloc/arena.c (heap_trim): Likewise.
26479
264802010-08-16 Ulrich Drepper <drepper@redhat.com>
26481
26482 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26483 here. Not...
26484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26485 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26486
264872010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26488
26489 * sysdeps/i386/elf/Makefile: New file.
26490
264912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26492
26493 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26494 from fanotify_init.
26495 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26496 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26497
264982010-08-15 Ulrich Drepper <drepper@redhat.com>
26499
26500 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26501 of strncasecmp_l.
26502 * sysdeps/multiarch/strcmp.S: Likewise.
26503
265042010-08-14 Ulrich Drepper <drepper@redhat.com>
26505
26506 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26507 strncase_l-nonascii.
26508 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26509 Add strncase_l-ssse3.
26510 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26511 * sysdeps/x86_64/strcmp.S: Likewise.
26512 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26513 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26514 * sysdeps/x86_64/strncase.S: New file.
26515 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26516 * sysdeps/x86_64/strncase_l.S: New file.
26517 * string/Makefile (strop-tests): Add strncasecmp.
26518 * string/test-strncasecmp.c: New file.
26519
26520 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26521 warning.
26522
26523 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26524 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26525
265262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26527
26528 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26529
265302010-08-12 Ulrich Drepper <drepper@redhat.com>
26531
26532 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26533 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26534 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26535
265362010-05-01 Alan Modra <amodra@gmail.com>
26537
26538 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26539 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26540 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26541 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26542 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26543 tidying. Don't tail-call __sigjmp_save for static lib.
26544 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26545 save location.
26546 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26547 (CALL_MCOUNT): Add eh info, and nop after bl.
26548 (TAIL_CALL_SYSCALL_ERROR): New macro.
26549 (PSEUDO_RET): Use it.
26550 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26551 Correct save location of integer regs and cr.
26552 (_dl_profile_resolve): Correct cr save location. Delete nops
26553 after bl when SHARED. Reduce cfi size a little by better
26554 placement of cfi directives.
26555 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26556 make a stack frame. Instead use parm save area as a temp.
26557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26558 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26560 Don't make a stack frame for parent, use parm save area.
26561 Increase child stack frame to 112 bytes. Don't save unused reg,
26562 and adjust reg usage. Set up cfi on error recovery and
26563 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26565 (__makecontext): Add dummy nop after jump to exit.
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26567 Use correct parm save area and cr save, reduce stack frame.
26568 Correct cfi for possible PSEUDO_RET frame setup.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26570 Branch to local label emitted by PSEUDO_RET rather than
26571 __syscall_error.
26572
265732010-08-12 Andreas Schwab <schwab@redhat.com>
26574
26575 [BZ #11904]
26576 * locale/programs/locale.c (print_assignment): New function.
26577 (show_locale_vars): Use it.
26578
265792010-08-11 Ulrich Drepper <drepper@redhat.com>
26580
26581 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26582 field.
26583 (struct statfs64): Likewise.
26584 (_STATFS_F_FLAGS): Define.
26585 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26587 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26588 (ST_VALID): Define locally.
26589 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26590 __statvfs_getflags, use the provided value.
26591 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26592 __ASSUME_STATFS_F_FLAGS.
26593
26594 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26595
26596 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26597 Add sys/fanotify.h.
26598 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26599 fanotify_mask for GLIBC_2.13.
26600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26601 fanotify_init and fanotify_mark.
26602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26603 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26604
26605 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26606 Add prlimit.
26607 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26608 prlimit64 for GLIBC_2.13.
26609 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26610 prlimit64.
26611 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26612 syscall.
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26615 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26616 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26618 add prlimit alias.
26619 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26620
26621 [BZ #11903]
26622 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26623 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26624
26625 * nss/Makefile: Add rules to build and run tst-nss-test1.
26626 * shlib-versions: Add entry for libnss_test1.
26627 * nss/nss_test1.c: New file.
26628 * nss/tst-nss-test1.c: New file.
26629
26630 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26631 (__nss_configure_lookup): Set appropriate entry in
26632 __nss_configure_lookup to true.
26633 * nss/nsswitch.h: Define enum with indeces of databases in
26634 databases and __nss_database_custom arrays. Declare
26635 __nss_database_custom.
26636 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26637 to avoid using nscd when custom rules are installed.
26638 * nss/getXXbyYY_r.c: Likewise.
26639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26640
26641 * nss/nss_files/files-parse.c: Whitespace fixes.
26642
266432010-08-09 Ulrich Drepper <drepper@redhat.com>
26644
26645 [BZ #11883]
26646 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26647 * posix/fnmatch_loop.c: Likewise.
26648
266492010-07-17 Andi Kleen <ak@linux.intel.com>
26650
26651 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26652 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26653 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26654 * Versions.def [GLIBC_2.13]: Add.
26655
266562010-08-06 Ulrich Drepper <drepper@redhat.com>
26657
26658 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26659 Also fail if tpwd after pwuid call is NULL.
26660
266612010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26662
26663 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26664 when converting to ms.
26665
266662010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26667
26668 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26669 EOPNOTSUPP errors with ENOTTY.
26670 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26671 EOPNOTSUPP errors with ENOTTY.
26672
266732010-07-31 Ulrich Drepper <drepper@redhat.com>
26674
26675 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26676 Add strcasecmp_l-ssse3.
26677 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26678 strcasecmp.
26679 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26680 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26681 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26682
266832010-07-30 Ulrich Drepper <drepper@redhat.com>
26684
26685 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26686
26687 * string/Makefile (strop-tests): Add strcasecmp.
26688 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26689 strcasecmp_l-nonascii.
26690 (gen-as-const-headers): Add locale-defines.sym.
26691 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26692 * sysdeps/x86_64/strcasecmp.S: New file.
26693 * sysdeps/x86_64/strcasecmp_l.S: New file.
26694 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26695 * sysdeps/x86_64/locale-defines.sym: New file.
26696 * string/test-strcasecmp.c: New file.
26697
26698 * string/test-strcasestr.c: Test both ends of the range of characters.
26699 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26700
267012010-07-29 Roland McGrath <roland@redhat.com>
26702
26703 [BZ #11856]
26704 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26705
267062010-07-27 Ulrich Drepper <drepper@redhat.com>
26707
26708 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26709 for ld.so.
26710
267112010-07-27 Andreas Schwab <schwab@redhat.com>
26712
26713 * manual/memory.texi (Malloc Tunable Parameters): Document
26714 M_PERTURB.
26715
267162010-07-26 Roland McGrath <roland@redhat.com>
26717
26718 [BZ #11840]
26719 * configure.in (-fgnu89-inline check): Set and substitute
26720 gnu89_inline, not libc_cv_gnu89_inline.
26721 * configure: Regenerated.
26722 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26723
267242010-07-26 Ulrich Drepper <drepper@redhat.com>
26725
26726 * string/test-strnlen.c: New file.
26727 * string/Makefile (strop-tests): Add strnlen.
26728 * string/tester.c (test_strnlen): Add a few more test cases.
26729 * string/tst-strlen.c: Better error reporting.
26730
26731 * sysdeps/x86_64/strnlen.S: New file.
26732
267332010-07-24 Ulrich Drepper <drepper@redhat.com>
26734
26735 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26736 lower-latency instructions.
26737
267382010-07-23 Ulrich Drepper <drepper@redhat.com>
26739
26740 * string/test-strcasestr.c: New file.
26741 * string/test-strstr.c: New file.
26742 * string/Makefile (strop-tests): Add strstr and strcasestr.
26743 * string/str-two-way.h: Don't undefine MAX.
26744 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26745
267462010-07-21 Andreas Schwab <schwab@redhat.com>
26747
26748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26749 strcasestr-nonascii.
26750 (CFLAGS-strcasestr-nonascii.c): Define.
26751 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26752 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26753 Remove unused attribute.
26754
267552010-07-20 Roland McGrath <roland@redhat.com>
26756
26757 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26758 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26759 ld.so.cache was broken. With it, there is no way to disable dsocaps
26760 like LD_HWCAP_MASK can disable hwcaps.
26761
267622010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26763
26764 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26765
267662010-07-16 Ulrich Drepper <drepper@redhat.com>
26767
26768 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26769 call in strcasestr.
26770 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26771 __strcasestr_sse42_nonascii.
26772 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26773 strcasestr-nonascii.c.
26774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26775
267762010-06-15 Luis Machado <luisgpm@br.ibm.com>
26777
26778 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26779 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26780 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26781 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26782
267832010-07-09 Ulrich Drepper <drepper@redhat.com>
26784
26785 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26786 fcntl.
26787
267882010-07-06 Andreas Schwab <schwab@redhat.com>
26789
26790 [BZ #11577]
26791 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26792 dl_signal_cerror.
26793
267942010-07-06 Ulrich Drepper <drepper@redhat.com>
26795
26796 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26797 _PC_PIPE_BUF using F_GETPIPE_SZ.
26798
267992010-07-05 Roland McGrath <roland@redhat.com>
26800
26801 * manual/arith.texi (Rounding Functions): Fix rint description
26802 implicit in round description.
26803
268042010-07-02 Ulrich Drepper <drepper@redhat.com>
26805
26806 * elf/Makefile: Fix linking for a few tests to make recent linker
26807 happy.
26808
268092010-06-30 Andreas Schwab <schwab@redhat.com>
26810
26811 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26812 $(common-objpfx)libc_nonshared.a.
26813
268142010-06-21 Luis Machado <luisgpm@br.ibm.com>
26815
26816 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26817 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26818 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26819 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26820 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26821 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26822 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26823 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26838 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26839 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26840 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26841 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26842 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26843 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26844 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26845 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26846 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26847 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26848 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26849 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26864
268652010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26866
26867 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26868 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26869 * string/memmove.c (memmove): Renamed to ...
26870 (MEMMOVE): ...this. Default to memmove.
26871 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26872 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26873 (END_CHK): Define.
26874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26875 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26876 mempcpy-ssse3-back memmove-ssse3-back.
26877 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26878 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26879 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26880 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26881 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26882 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26883 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26884 * sysdeps/x86_64/multiarch/memmove.c: New file.
26885 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26886 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26887 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26888 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26889 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26891 Define.
26892 (index_Fast_Copy_Backward): Define.
26893 (HAS_ARCH_FEATURE): Define.
26894 (HAS_FAST_REP_STRING): Define.
26895 (HAS_FAST_COPY_BACKWARD): Define.
26896
268972010-06-21 Andreas Schwab <schwab@redhat.com>
26898
26899 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26900 Restore proper fallback handling.
26901
269022010-06-19 Ulrich Drepper <drepper@redhat.com>
26903
26904 [BZ #11701]
26905 * posix/group_member.c (__group_member): Correct checking loop.
26906
26907 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26908 OOM in getpwuid_r correctly. Return error number when the caller
26909 should return, otherwise -1.
26910 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26911 call returning > 0 value.
26912 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26913
269142010-06-07 Andreas Schwab <schwab@redhat.com>
26915
26916 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26917 libc_nonshared.a from targets in modules-names.
26918
269192010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26920
26921 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26922 requires it.
26923
269242010-06-10 Luis Machado <luisgpm@br.ibm.com>
26925
26926 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26927 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26928 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26929 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26930
269312010-06-02 Andreas Schwab <schwab@redhat.com>
26932
26933 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26934
269352010-06-14 Ulrich Drepper <drepper@redhat.com>
26936
26937 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26938 and F_GETPIPE_SZ.
26939 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26943 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26944 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26945
269462010-06-14 Roland McGrath <roland@redhat.com>
26947
26948 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26949
269502010-06-07 Jakub Jelinek <jakub@redhat.com>
26951
26952 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26953 __REDIRECT followed by __THROW.
26954 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26955 * posix/getopt.h (getopt): Likewise.
26956
269572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26958
26959 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26960 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26961 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26962 in AT_FLAGS.
26963 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26964 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26965
269662010-05-28 Luis Machado <luisgpm@br.ibm.com>
26967
26968 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26969
269702010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26971
26972 [BZ #11640]
26973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26974 Properly check family and model.
26975
269762010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26977
26978 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26979
269802010-05-24 Luis Machado <luisgpm@br.ibm.com>
26981
26982 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26983
269842010-05-21 Ulrich Drepper <drepper@redhat.com>
26985
26986 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26987 symbol reference.
26988
269892010-05-19 Andreas Schwab <schwab@redhat.com>
26990
26991 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26992 symbol reference.
26993
269942010-05-21 Andreas Schwab <schwab@redhat.com>
26995
26996 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26997 and internal_recvmmsg.
26998 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26999 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27000 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27001 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27002
27003 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27004 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27005 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27006
270072010-05-20 Andreas Schwab <schwab@redhat.com>
27008
27009 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27010
270112010-05-17 Luis Machado <luisgpm@br.ibm.com>
27012
27013 POWER7 optimizations.
27014 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27015 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27016
270172010-05-19 Ulrich Drepper <drepper@redhat.com>
27018
27019 * version.h: Update for 2.13 development version.
27020
270212010-05-12 Andrew Stubbs <ams@codesourcery.com>
27022
27023 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27024 exceptions. Return 0.
27025
270262010-05-07 Roland McGrath <roland@redhat.com>
27027
27028 * elf/ldconfig.c (main): Add a const.
27029
270302010-05-06 Ulrich Drepper <drepper@redhat.com>
27031
27032 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27033 (args_options): Add no-idn option.
27034 (ahosts_keys_int): Add idn_flags to ai_flags.
27035 (parse_option): Handle 'i' option to clear idn_flags.
27036
27037 * malloc/malloc.c (_int_free): Possible race in the most recently
27038 added check. Only act on the data if no current modification
27039 happened.
27040
27041See ChangeLog.17 for earlier changes.