]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix copy'n'pastos.
[glibc.git] / ChangeLog
CommitLineData
a57da955
TS
12013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2
e015e27b
TS
3 * math/test-misc.c (main): Fix copy'n'pastos.
4 * misc/tst-efgcvt.c (special): Likewise.
5
a57da955
TS
6 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7 Remove declarations.
8
1e380345
SP
92013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10
11 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15
ef26eece
AZ
162013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17
18 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19 macro to return vdso values correctly in IFUNC implementations.
20 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21 Optimization by using IFUNC.
22
8cfdb7e0
SP
232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24 Richard Henderson <rth@redhat.com>
25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26
27 * Makefile.in (bench): New target.
28 * NEWS: Mention the benchmark framework.
29 * Rules (bench): Likewise.
30 (binaries-bench): Generate binaries for functions to
31 benchmark.
32 * benchtests/Makefile: New makefile for benchmark tests.
33 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34 programs.
35 * benchtests/exp-inputs: New input file for EXP function.
36 * benchtests/pow-inputs: New input file for POW function.
37 * scripts/bench.pl: New script to generate source files for
38 benchmark programs.
39
bcda9880
SP
402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41
d22ca8cd
SP
42 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44 computations on mantissa. Use macros for rounding and
45 division.
46 (denorm): Likewise.
47 (__dbl_mp): Likewise.
48 (add_magnitudes): Likewise.
49 (sub_magnitudes): Likewise.
50 (__mul): Likewise.
51 (__sqr): Likewise.
52 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
53 powers of two in terms of TWOPOW macro.
54 (mp_no): Make type of mantissa as MANTISSA_T.
55 [!RADIXI]: Define RADIXI.
56 [!TWO52]: Define TWO52.
57 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58
bcda9880
SP
59 * manual/nptl.texi (cindex): Modify threads to pthreads.
60
06d5adfb
JM
612013-03-15 Joseph Myers <joseph@codesourcery.com>
62
63 * sysdeps/x86_64/preconfigure: Regenerated.
64
41c7328e
JM
652013-03-14 Joseph Myers <joseph@codesourcery.com>
66
67 [BZ #14155]
68 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69 0x1p28 and above.
70 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
71 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
72 0x1p28 and above.
73 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
74 * math/libm-test.inc (j0_test): Do not allow one spurious
75 underflow exception.
76 (y1_test): Likewise.
77
e25cfa60
SP
782013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
79
0409959c
SP
80 * manual/Makefile (chapters): Add nptl.
81 * manual/debug.texi (Debugging Support): Add link to Threads
82 chapter.
83 * manual/nptl.texi: New file.
84
e25cfa60
SP
85 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
86
58a1335e
PB
872013-03-14 Petr Baudis <pasky@ucw.cz>
88
89 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
90 for non-NULL pointer before the memory validity test. Pointed
91 out by Holger Brunck <holger.brunck@keymile.com>.
92
9dc7c64f
AS
932013-03-13 Andreas Schwab <schwab@suse.de>
94
95 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
96 instead of .os.
97
54206aa6
JM
982013-03-13 Joseph Myers <joseph@codesourcery.com>
99
100 * timezone/zic.c: Update from tzcode 2013b.
101
e98cdb38
CD
1022013-03-12 Carlos O'Donell <carlos@redhat.com>
103
104 * manual/install.texi (Configuring and compiling):
105 Mention i686 and i586.
106 * INSTALL: Regenerate.
107
9967e003
RM
1082013-03-12 Roland McGrath <roland@hack.frob.com>
109
110 * sysdeps/init_array/elf-init.c: New file.
111 * csu/elf-init.c
112 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
113 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
114
115 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
116 __gmon_start__ as global, but as static with a .preinit_array pointer.
117 * sysdeps/init_array/gmon-start.c: New file. Use that.
118 * sysdeps/init_array/crti.S: New file, empty except for comments.
119 * sysdeps/init_array/crtn.S: Likewise.
120
e6b5a293 1212013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
122
123 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
124 definining bcopy.
80f844c9
OB
125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
126 Remove Prefer_SSE_for_memop.
127 * sysdeps/x86_64/multiarch/init-arch.h: Remove
128 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
129 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
131 memset-x86-64.
80f844c9 132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 133 Remove bzero, memset ifunc support.
80f844c9
OB
134 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
135 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
136 * sysdeps/x86_64/multiarch/memset.S: Likewise.
137 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
138
fb6b0fcb
AS
1392013-03-11 Andreas Schwab <schwab@suse.de>
140
141 [BZ #15234]
142 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
143 by SHLIB_COMPAT.
144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
145 (GLIBC_2.16): Remove pthread_atfork.
146
3e6bd4b1
PP
1472013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
148
149 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
150 (ptestcases.h): Likewise.
151
222d7f00
RM
1522013-03-08 Roland McGrath <roland@hack.frob.com>
153
154 * Makeconfig ($(common-objpfx)config.status): Depend on
155 sysdeps/*/preconfigure{,.in} too.
156
1ba4f030
JM
1572013-03-08 Joseph Myers <joseph@codesourcery.com>
158
a222d91a
JM
159 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
160 (__free_hook): Use void * instead of __malloc_ptr_t.
161 (__malloc_hook): Likewise.
162 (__realloc_hook): Likewise.
163 (__memalign_hook): Likewise.
164 (__after_morecore_hook): Likewise.
165 * malloc/arena.c (save_malloc_hook): Likewise.
166 (save_free_hook): Likewise.
167 * malloc/hooks.c (malloc_hook_ini): Likewise.
168 (realloc_hook_ini): Likewise.
169 (memalign_hook_ini): Likewise.
170 * malloc/malloc.c (malloc_hook_ini): Likewise.
171 (realloc_hook_ini): Likewise.
172 (memalign_hook_ini): Likewise.
173 (__free_hook): Likewise.
174 (__malloc_hook): Likewise.
175 (__realloc_hook): Likewise.
176 (__memalign_hook): Likewise.
177 (__libc_malloc): Likewise.
178 (__libc_free): Likewise.
179 (__libc_realloc): Likewise.
180 (__libc_memalign): Likewise.
181 (__libc_valloc): Likewise.
182 (__libc_pvalloc): Likewise.
183 (__libc_calloc): Likewise.
184 (__posix_memalign): Likewise.
185 * malloc/morecore.c (__sbrk): Likewise.
186 (__default_morecore): Likewise.
187
5cc45e10
JM
188 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
189
dd54b864
JM
190 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
191 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
192 __malloc_ptrdiff_t.
193
1ba4f030
JM
194 * malloc/malloc.h (__malloc_size_t): Remove macro.
195 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
196 __malloc_size_t.
197 (old_memalign_hook): Likewise.
198 (old_realloc_hook): Likewise.
199 (struct hdr): Likewise.
200 (flood): Likewise.
201 (mallochook): Likewise.
202 (memalignhook): Likewise.
203 (reallochook): Likewise.
204 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
205 (tr_old_realloc_hook): Likewise.
206 (tr_old_memalign_hook): Likewise.
207 (tr_mallochook): Likewise.
208 (tr_reallochook): Likewise.
209 (tr_memalignhook): Likewise.
210
edf66e57
AZ
2112013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
212
213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
214 default_ldbl_pack and using as default implementation.
215 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
216 implementation.
217 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
218 redundant definition.
219 (ldbl_insert_mantissa): Likewise.
220 (ldbl_canonicalize): Likewise.
221 (ldbl_nearbyint): Likewise.
222 (ldbl_pack): Rename to ldbl_pack_ppc.
223 (ldbl_unpack): Rename to ldbl_unpack_ppc.
224 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
225 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
226
6d9145d8
SP
2272013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
228
229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
230 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
232 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
234 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
235 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
236 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
237
4dd4e157
AJ
2382013-03-07 Andreas Jaeger <aj@suse.de>
239
240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
241 bits/mman-linux.h.
242
adbb8027
SP
2432013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
244
ce544b5b
SP
245 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
246 Include mpa.h and declare __MPEXP.
247 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
248 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
249 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
251 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
252 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
253 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
254
4cc149fd
SP
255 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
256 (__slowpow): Use long double EXPL and LOGL functions to
257 compute POW.
258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
259 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
260 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
262 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
263 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
264
e6ebd4a7
SP
265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
266 intermediate variable to calculate exponent.
267 (__sqr): Likewise.
268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
269 Likewise.
270 (__sqr): Likewise.
271
82a9811d
SP
272 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
273 [!NO__SQR]: Define __sqr.
274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
275 and NO__SQR. Remove all code except __mul and __sqr. Include
276 sysdeps/ieee754/dbl-64/mpa.c.
277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
278
adbb8027
SP
279 [BZ #12723]
280 * posix/Makefile (tests): Add tst-pathconf.
281 * posix/tst-pathconf.c: New test case.
282 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
283 _PC_PIPE_BUF.
284 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
285
39120df9
PF
2862013-03-06 Patsy Franklin <pfrankli@redhat.com>
287
288 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
289
67525cb8
AJ
2902013-03-06 Andreas Jaeger <aj@suse.de>
291
664a9ce4
AJ
292 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
293 definition via __MAP_ANONYMOUS.
294
8e39047d
AJ
295 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
296 it's not part of Linux headers.
297
67525cb8
AJ
298 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
299 (MAP_HUGE_MASK): Define.
300
301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
302 Define.
303 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
304 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
305 Define.
306 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
307 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
308 Define.
309 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
311 Define.
312 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
313
314 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
315 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
316 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
317 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
318 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
319 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
320
321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
322 Handle f2fs.
323
324 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
325 Handle f2fs and efivarfs.
326
327 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
328 f2fs.
329
330 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
331 (EFIVARFS_MAGIC): Add.
332 (F2FS_LINK_MAX): Add.
333
e1b42695
PP
3342013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
335
336 * stdio-common/vfprintf.c: Replace __builtin_expect with
337 __glibc_unlikely.
338
2d67d91a
JM
3392013-03-06 Joseph Myers <joseph@codesourcery.com>
340
341 [BZ #13550]
342 * sysdeps/generic/bp-sym.h: Remove file.
343 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
344 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
345 <bp-sym.h> and <bp-asm.h>.
346 (__longjmp): Don't use BP_SYM.
347 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
348 and <bp-asm.h>.
349 (memcpy): Don't use BP_SYM.
350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
351 <bp-sym.h> and <bp-asm.h>.
352 (memcpy): Don't use BP_SYM.
353 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
354 <bp-asm.h>.
355 (memcpy): Don't use BP_SYM.
356 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
357 <bp-asm.h>.
358 (memset): Don't use BP_SYM.
359 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
360 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
361 (__bzero): Don't use BP_SYM.
362 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
363 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
365 <bp-sym.h> and <bp-asm.h>.
366 (memcmp): Don't use BP_SYM. Remove comment about bounded
367 pointers.
368 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
369 <bp-sym.h> and <bp-asm.h>.
370 (memcpy): Don't use BP_SYM.
371 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
372 <bp-sym.h> and <bp-asm.h>.
373 (memset): Don't use BP_SYM.
374 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
375 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
376 (__bzero): Don't use BP_SYM.
377 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
378 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
380 <bp-sym.h> and <bp-asm.h>.
381 (strncmp): Don't use BP_SYM. Remove comment about bounded
382 pointers.
383 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
384 <bp-sym.h> and <bp-asm.h>.
385 (memcpy): Don't use BP_SYM.
386 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
387 <bp-sym.h> and <bp-asm.h>.
388 (memset): Don't use BP_SYM.
389 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
390 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
391 (__bzero): Don't use BP_SYM.
392 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
393 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
395 <bp-sym.h> and <bp-asm.h>.
396 (__memchr): Don't use BP_SYM.
397 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
398 <bp-sym.h> and <bp-asm.h>.
399 (memcmp): Don't use BP_SYM. Remove comment about bounded
400 pointers.
401 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
402 <bp-sym.h> and <bp-asm.h>.
403 (memcpy): Don't use BP_SYM.
404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
405 <bp-sym.h> and <bp-asm.h>.
406 (__mempcpy): Don't use BP_SYM.
407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
408 <bp-sym.h> and <bp-asm.h>.
409 (__memrchr): Don't use BP_SYM.
410 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
411 <bp-sym.h> and <bp-asm.h>.
412 (memset): Don't use BP_SYM.
413 (__bzero): Likewise.
414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
415 <bp-sym.h> and <bp-asm.h>.
416 (__rawmemchr): Don't use BP_SYM.
417 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
418 <bp-sym.h> and <bp-asm.h>.
419 (__STRCMP): Don't use BP_SYM.
420 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
421 <bp-sym.h> and <bp-asm.h>.
422 (strchr): Don't use BP_SYM.
423 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
424 <bp-sym.h> and <bp-asm.h>.
425 (__strchrnul): Don't use BP_SYM.
426 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
427 <bp-sym.h> and <bp-asm.h>.
428 (strlen): Don't use BP_SYM.
429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
430 <bp-sym.h> and <bp-asm.h>.
431 (strncmp): Don't use BP_SYM. Remove comment about bounded
432 pointers.
433 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
434 <bp-sym.h> and <bp-asm.h>.
435 (__strnlen): Don't use BP_SYM.
436 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
437 <bp-sym.h> and <bp-asm.h>.
438 (__GI__setjmp): Don't use BP_SYM.
439 (_setjmp): Likewise.
440 (__sigsetjmp): Likewise.
441 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
442 (L(start_addresses)): Don't use BP_SYM.
443 (_start): Likewise.
444 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
445 <bp-asm.h>.
446 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
447 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
448 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
449 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
450 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
451 <bp-asm.h>.
452 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
453 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
454 about bounded pointers.
455 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
456 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
457 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
458 <bp-asm.h>.
459 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
460 about bounded pointers. Remove GKM FIXME comments.
461 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
462 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
463 <bp-asm.h>.
464 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
465 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
466 Remove GKM FIXME comments.
467 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
468 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
469 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
470 <bp-asm.h>.
471 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
472 about bounded pointers. Remove GKM FIXME comment.
473 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
474 and <bp-asm.h>.
475 (strncmp): Don't use BP_SYM. Remove comment about bounded
476 pointers.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
478 <bp-sym.h> and <bp-asm.h>.
479 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
481 <bp-sym.h> and <bp-asm.h>.
482 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
483 comment.
484
cdcf361f
PP
4852013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
486
487 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
488 call free(NULL).
489
3c4a2b15
DM
4902013-03-05 David S. Miller <davem@davemloft.net>
491
492 * po/es.po: Update from translation team.
493
cdcf361f 4942013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
495
496 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
497 <bits/mman-linux.h>.
498 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
499 is fine.
500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
501 <bits/mman-linux.h> to end of file.
502 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
503 is fine.
504 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
505 <bits/mman-linux.h> to end of file.
506 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
507 is fine.
508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
509 <bits/mman-linux.h> to end of file.
510
511 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
512 (MCL_CURRENT, MCL_FUTURE): Define here.
513
5f67c04f
AK
5142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
515
8a4473cc 516 [BZ #15232]
5f67c04f
AK
517 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
518 attribute_hidden.
519 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
520
c3e94a95
AK
5212013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
522
523 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
524 fourth parameter needed for rt_sigprocmask syscall.
525 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
526 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
527 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
528 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
529 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
530 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
531
cfb6382a
JM
5322013-03-04 Joseph Myers <joseph@codesourcery.com>
533
534 [BZ #13550]
535 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
536 comment about bounded pointers.
537 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
538 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
539
539d8e01
AJ
5402013-03-04 Andreas Jaeger <aj@suse.de>
541
542 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
543 common definitions.
544
545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
546 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
547 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
548 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
549 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
551
2e167a70 5522013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
553
554 [BZ #15055]
555 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
556 __ieee754_sqrl instead of __sqrl.
557
68508633
JM
5582013-03-01 Joseph Myers <joseph@codesourcery.com>
559
560 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
561 * sysdeps/powerpc/fpu_control.h: ... here.
562 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
563 * sysdeps/powerpc/bits/fenvinline.h: ... here.
564 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
565 * sysdeps/powerpc/bits/mathinline.h: ... here.
566
7775448e
RM
5672013-03-01 Roland McGrath <roland@hack.frob.com>
568
569 * elf/dl-hwcaps.c (_dl_important_hwcaps):
570 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
571 to just [NEED_DL_SYSINFO_DSO].
572 * elf/dl-support.c: Likewise.
573 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
574 * elf/rtld.c (dl_main): Likewise.
575 * elf/setup-vdso.h (setup_vdso): Likewise.
576 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
577 * sysdeps/unix/sysv/linux/dl-sysdep.c
578 (_dl_discover_osversion): Likewise.
579
4e9b5995
CD
5802013-03-01 Carlos O'Donell <carlos@redhat.com>
581
582 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
583 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
584
e23872c8
SP
5852013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
586
e5c74c63
SP
587 * NEWS: Mention libm performance improvements and non-x86 PI
588 futex support.
589
e23872c8
SP
590 * csu/libc-start.c (__pthread_initialize_minimal): Change
591 function arguments.
592 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
593
b5510883
JM
5942013-02-28 Joseph Myers <joseph@codesourcery.com>
595
596 [BZ #13550]
597 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
598 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
599 <bp-sym.h> and <bp-asm.h>.
600 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
601 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
602 and <bp-asm.h>.
603 (memcpy): Don't use BP_SYM.
604 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
605 <bp-asm.h>.
606 (__mpn_add_n): Don't use BP_SYM.
607 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
608 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
609 and <bp-asm.h>.
610 (__mpn_addmul_1): Don't use BP_SYM.
611 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
612 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
613 <bp-sym.h>.
614 (_setjmp): Don't use BP_SYM.
615 (__novmx_setjmp): Likewise.
616 (__GI__setjmp): Likewise.
617 (__vmx_setjmp): Likewise.
618 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
619 <bp-sym.h>.
620 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
621 (__bzero): Don't use BP_SYM.
622 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
623 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
624 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
625 <bp-sym.h> and <bp-asm.h>.
626 (memcpy): Don't use BP_SYM.
627 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
628 <bp-sym.h> and <bp-asm.h>.
629 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
630 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
631 <bp-sym.h> and <bp-asm.h>.
632 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
633 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
634 <bp-asm.h>.
635 (__mpn_lshift): Don't use BP_SYM.
636 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
637 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
638 <bp-asm.h>.
639 (memset): Don't use BP_SYM.
640 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
641 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
642 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
643 <bp-asm.h>.
644 (__mpn_mul_1): Don't use BP_SYM.
645 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
646 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
647 <bp-sym.h> and <bp-asm.h>.
648 (memcmp): Don't use BP_SYM.
649 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
650 <bp-sym.h> and <bp-asm.h>.
651 (memcpy): Don't use BP_SYM.
652 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
653 <bp-sym.h> and <bp-asm.h>.
654 (memset): Don't use BP_SYM.
655 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
656 <bp-sym.h> and <bp-asm.h>.
657 (strncmp): Don't use BP_SYM.
658 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
659 <bp-sym.h> and <bp-asm.h>.
660 (memcpy): Don't use BP_SYM.
661 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
662 <bp-sym.h> and <bp-asm.h>.
663 (memset): Don't use BP_SYM.
664 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
665 <bp-sym.h> and <bp-asm.h>.
666 (__memchr): Don't use BP_SYM.
667 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
668 <bp-sym.h> and <bp-asm.h>.
669 (memcmp): Don't use BP_SYM.
670 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
671 <bp-sym.h> and <bp-asm.h>.
672 (memcpy): Don't use BP_SYM.
673 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
674 <bp-sym.h> and <bp-asm.h>.
675 (__mempcpy): Don't use BP_SYM.
676 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
677 <bp-sym.h> and <bp-asm.h>.
678 (__memrchr): Don't use BP_SYM.
679 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
680 <bp-sym.h> and <bp-asm.h>.
681 (memset): Don't use BP_SYM.
682 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
683 <bp-sym.h> and <bp-asm.h>.
684 (__rawmemchr): Don't use BP_SYM.
685 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
686 <bp-sym.h> and <bp-asm.h>.
687 (__STRCMP): Don't use BP_SYM.
688 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
689 <bp-sym.h> and <bp-asm.h>.
690 (strchr): Don't use BP_SYM.
691 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
692 <bp-sym.h> and <bp-asm.h>.
693 (__strchrnul): Don't use BP_SYM.
694 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
695 <bp-sym.h> and <bp-asm.h>.
696 (strlen): Don't use BP_SYM.
697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
698 <bp-sym.h> and <bp-asm.h>.
699 (strncmp): Don't use BP_SYM.
700 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
701 <bp-sym.h> and <bp-asm.h>.
702 (__strnlen): Don't use BP_SYM.
703 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
704 <bp-asm.h>.
705 (__mpn_rshift): Don't use BP_SYM.
706 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
707 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
708 <bp-sym.h> and <bp-asm.h>.
709 (__sigsetjmp): Don't use BP_SYM.
710 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
711 (L(start_addresses)): Don't use BP_SYM.
712 (_start): Likewise.
713 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
714 <bp-asm.h>.
715 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
716 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
717 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
718 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
719 <bp-asm.h>.
720 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
721 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
722 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
723 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
724 <bp-asm.h>.
725 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
726 comments.
727 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
728 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
729 <bp-asm.h>.
730 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
731 FIXME comments.
732 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
733 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
734 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
735 <bp-asm.h>.
736 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
737 comment.
738 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
739 and <bp-asm.h>.
740 (strncmp): Don't use BP_SYM,
741 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
742 <bp-asm.h>.
743 (__mpn_sub_n): Don't use BP_SYM.
744 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
745 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
746 and <bp-asm.h>.
747 (__mpn_submul_1): Don't use BP_SYM.
748 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
750 <bp-sym.h> and <bp-asm.h>.
751 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
753 <bp-sym.h> and <bp-asm.h>.
754 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
755 comment.
756
8d19fe64
SP
7572013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
758
759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
760 Use ZK to minimize writes to Z.
761 (sub_magnitudes): Simplify code a bit.
762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
763 Use ZK to minimize writes to Z.
764 (sub_magnitudes): Simplify code a bit.
765
85bd816a
RM
7662013-02-27 Roland McGrath <roland@hack.frob.com>
767
768 * csu/gmon-start.c: Add special exception to license text.
769
b5977bf2
RH
7702013-02-27 Richard Henderson <rth@redhat.com>
771
772 * scripts/config.guess: Update from config.git.
773 * scripts/config.sub: Likewise.
774
11d6e2f2
SP
7752013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
776
09c14ed2
SP
777 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
778
a688864e
SP
779 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
780
6295157a
SP
781 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
782
b8de2202
SP
783 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
784
11d6e2f2
SP
785 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
786
7e80ddb8
RM
7872013-02-26 Roland McGrath <roland@hack.frob.com>
788
789 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
790 [$(build-shared = yes].
7e80ddb8 791
7da6d9ed
SP
7922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
793
45f05884
SP
794 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
795 (__mul): Reduce iterations for calculating mantissa.
796
2236d359
SP
797 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
798 MPTWO.
799 (__mpranred): Likewise.
800
7da6d9ed
SP
801 [BZ #15160]
802 * malloc/memusagestat.c (main): Draw graphs for heap and stack
803 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
804
b7688c42
PE
8052013-02-26 Paul Eggert <eggert@cs.ucla.edu>
806
807 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
808 Define __attribute__.
809
53a5c423
SP
8102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
811
812 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
813 unused.
814 * posix/regex_internal.h (__attribute): Remove.
815 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
816 (re_string_context_at): Likewise.
817 (bitset_not): Use __attribute__ and mark function as possibly
818 unused.
819 (bitset_merge): Likewise.
820 (bitset_mask): Likewise.
821 (re_string_char_size_at): Likewise.
822 (re_string_wchar_at): Likewise.
823 (re_string_elem_size_at): Likewise.
824
60f5a8b5
SP
8252013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
826
2a983a2e
SP
827 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
828 code.
829 (cc32): Likewise.
830
e69804d1
SP
831 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
832 (__acr): Likewise.
833 (__cpy): Likewise.
834 (norm): Likewise.
835 (denorm): Likewise.
836 (__dbl_mp): Likewise.
837 (add_magnitudes): Likewise.
838 (sub_magnitudes): Likewise.
839 (__mul): Likewise.
840 (__inv): Likewise.
841
2f22a1e8
SP
842 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
843 style.
844
8930ddc7
SP
845 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
846 style.
847
dc60cb11
SP
848 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
849 code.
850
60f5a8b5
SP
851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
852 up changes with default code.
853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
854 Likewise.
855
b4d1fd33
AM
8562013-02-24 Allan McRae <allan@archlinux.org>
857
faf6f8bc
AM
858 * manual/socket.texi (The Internet Namespace): Order menu items
859 to match that in the file.
860
b4d1fd33
AM
861 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
862 node listing of the info page menu.
863
2366713d
JM
8642013-02-21 Joseph Myers <joseph@codesourcery.com>
865
866 [BZ #13550]
867 * sysdeps/i386/bp-asm.h: Remove file.
868 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
869 (PARMS): Do not use macros from bp-asm.h.
870 (S1): Likewise.
871 (S2): Likewise.
872 (SIZE): Likewise.
873 (__mpn_add_n): Do not use BP_SYM
874 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
875 "bp-asm.h".
876 (PARMS): Do not use macros from bp-asm.h.
877 (S1): Likewise.
878 (SIZE): Likewise.
879 (__mpn_addmul_1): Do not use BP_SYM
880 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
881 "bp-asm.h".
882 (PARMS): Do not use macros from bp-asm.h.
883 (SIGMSK): Likewise.
884 (_setjmp): Likewise. Do not use BP_SYM.
885 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
886 "bp-asm.h".
887 (PARMS): Do not use macros from bp-asm.h.
888 (SIGMSK): Likewise.
889 (setjmp): Likewise. Do not use BP_SYM.
890 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
891 "bp-asm.h".
892 (PARMS): Do not use macros from bp-asm.h.
893 (__frexp): Do not use BP_SYM.
894 (frexp): Likewise.
895 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
896 "bp-asm.h".
897 (PARMS): Do not use macros from bp-asm.h.
898 (__frexpf): Do not use BP_SYM.
899 (frexpf): Likewise.
900 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
901 "bp-asm.h".
902 (PARMS): Do not use macros from bp-asm.h.
903 (__frexpl): Do not use BP_SYM.
904 (frexpl): Likewise.
905 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
906 "bp-asm.h".
907 (PARMS): Do not use macros from bp-asm.h.
908 (__remquo): Do not use BP_SYM.
909 (remquo): Likewise.
910 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
911 "bp-asm.h".
912 (PARMS): Do not use macros from bp-asm.h.
913 (__remquof): Do not use BP_SYM.
914 (remquof): Likewise.
915 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
916 "bp-asm.h".
917 (PARMS): Do not use macros from bp-asm.h.
918 (__remquol): Do not use BP_SYM.
919 (remquol): Likewise.
920 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
921 "bp-asm.h".
922 (PARMS): Do not use macros from bp-asm.h.
923 (DEST): Likewise.
924 (SRC): Likewise.
925 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
926 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
927 "bp-asm.h".
928 (PARMS): Do not use macros from bp-asm.h.
929 (strlen): Do not use BP_SYM.
930 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
931 "bp-asm.h".
932 (PARMS): Do not use macros from bp-asm.h.
933 (S1): Likewise.
934 (S2): Likewise.
935 (SIZE): Likewise.
936 (__mpn_add_n): Do not use BP_SYM.
937 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
938 "bp-asm.h".
939 (PARMS): Do not use macros from bp-asm.h.
940 (S1): Likewise.
941 (SIZE): Likewise.
942 (__mpn_addmul_1): Do not use BP_SYM.
943 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
944 weak_alias.
945 (bzero): Likewise.
946 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
947 "bp-asm.h".
948 (PARMS): Do not use macros from bp-asm.h.
949 (S): Likewise.
950 (SIZE): Likewise.
951 (__mpn_lshift): Do not use BP_SYM.
952 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
953 "bp-asm.h".
954 (PARMS): Do not use macros from bp-asm.h.
955 (DEST): Likewise.
956 (SRC): Likewise.
957 (LEN): Likewise.
958 (memcpy): Likewise. Do not use BP_SYM.
959 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
960 libc_hidden_def and weak_alias.
961 (mempcpy): Do not use BP_SYM in weak_alias.
962 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
963 "bp-asm.h".
964 (PARMS): Do not use macros from bp-asm.h.
965 (DEST): Likewise.
966 (LEN): Likewise.
967 [!BZERO_P] (CHR): Likewise.
968 (memset): Likewise. Do not use BP_SYM.
969 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
970 "bp-asm.h".
971 (PARMS): Do not use macros from bp-asm.h.
972 (S1): Likewise.
973 (SIZE): Likewise.
974 (__mpn_mul_1): Do not use BP_SYM.
975 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
976 "bp-asm.h".
977 (PARMS): Do not use macros from bp-asm.h.
978 (S): Likewise.
979 (SIZE): Likewise.
980 (__mpn_rshift): Do not use BP_SYM.
981 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
982 "bp-asm.h".
983 (PARMS): Do not use macros from bp-asm.h.
984 (STR): Likewise.
985 (CHR): Likewise.
986 (strchr): Likewise. Do not use BP_SYM.
987 (index): Do not use BP_SYM in weak_alias.
988 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
989 "bp-asm.h".
990 (PARMS): Do not use macros from bp-asm.h.
991 (DEST): Likewise.
992 (SRC): Likewise.
993 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
994 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
995 "bp-asm.h".
996 (PARMS): Do not use macros from bp-asm.h.
997 (strlen): Do not use BP_SYM.
998 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
999 "bp-asm.h".
1000 (PARMS): Do not use macros from bp-asm.h.
1001 (S1): Likewise.
1002 (S2): Likewise.
1003 (SIZE): Likewise.
1004 (__mpn_sub_n): Do not use BP_SYM.
1005 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1006 "bp-asm.h".
1007 (PARMS): Do not use macros from bp-asm.h.
1008 (S1): Likewise.
1009 (SIZE): Likewise.
1010 (__mpn_submul_1): Do not use BP_SYM.
1011 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1012 "bp-asm.h".
1013 (PARMS): Do not use macros from bp-asm.h.
1014 (S1): Likewise.
1015 (S2): Likewise.
1016 (SIZE): Likewise.
1017 (__mpn_add_n): Do not use BP_SYM.
1018 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1019 weak_alias.
1020 (bzero): Likewise.
1021 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1022 "bp-asm.h".
1023 (PARMS): Do not use macros from bp-asm.h.
1024 (BLK2): Likewise.
1025 (LEN): Likewise.
1026 (memcmp): Do not use BP_SYM.
1027 (bcmp): Do not use BP_SYM in weak_alias.
1028 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1029 "bp-asm.h".
1030 (PARMS): Do not use macros from bp-asm.h.
1031 (DEST): Likewise.
1032 (SRC): Likewise.
1033 (LEN): Likewise.
1034 (memcpy): Likewise. Do not use BP_SYM.
1035 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1036 "bp-asm.h".
1037 (PARMS): Do not use macros from bp-asm.h.
1038 (DEST): Likewise.
1039 (SRC): Likewise.
1040 (LEN): Likewise.
1041 (memmove): Likewise. Do not use BP_SYM.
1042 * sysdeps/i386/i686/mempcpy.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 (SRC): Likewise.
1047 (LEN): Likewise.
1048 (__mempcpy): Likewise. Do not use BP_SYM.
1049 (mempcpy): Do not use BP_SYM in weak_alias.
1050 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1051 "bp-asm.h".
1052 (PARMS): Do not use macros from bp-asm.h.
1053 (DEST): Likewise.
1054 (LEN): Likewise.
1055 [!BZERO_P] (CHR): Likewise.
1056 (memset): Likewise. Do not use BP_SYM.
1057 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1058 "bp-asm.h".
1059 (PARMS): Do not use macros from bp-asm.h.
1060 (STR2): Likewise.
1061 (strcmp): Do not use BP_SYM.
1062 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1063 "bp-asm.h".
1064 (PARMS): Do not use macros from bp-asm.h.
1065 (STR): Likewise.
1066 (DELIM): Likewise.
1067 [USE_AS_STRTOK_R] (SAVE): Likewise.
1068 (FUNCTION): Likewise. Do not use BP_SYM.
1069 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1070 aliases.
1071 (strtok_r): Likewise.
1072 (__GI___strtok_r): Likewise.
1073 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1074 (PARMS): Do not use macros from bp-asm.h.
1075 (S): Likewise.
1076 (SIZE): Likewise.
1077 (__mpn_lshift): Do not use BP_SYM.
1078 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1079 (PARMS): Do not use macros from bp-asm.h.
1080 (STR): Likewise.
1081 (CHR): Likewise.
1082 (__memchr): Do not use BP_SYM.
1083 (memchr): Do not use BP_SYM in weak_alias.
1084 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1085 (PARMS): Do not use macros from bp-asm.h.
1086 (BLK2): Likewise.
1087 (LEN): Likewise.
1088 (memcmp): Do not use BP_SYM.
1089 (bcmp): Do not use BP_SYM in weak_alias.
1090 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1091 (PARMS): Do not use macros from bp-asm.h.
1092 (S1): Likewise.
1093 (SIZE): Likewise.
1094 (__mpn_mul_1): Do not use BP_SYM.
1095 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1096 "bp-asm.h".
1097 (PARMS): Do not use macros from bp-asm.h.
1098 (STR): Likewise.
1099 (CHR): Likewise.
1100 (__rawmemchr): Do not use BP_SYM.
1101 (rawmemchr): Do not use BP_SYM in weak_alias.
1102 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1103 (PARMS): Do not use macros from bp-asm.h.
1104 (S): Likewise.
1105 (SIZE): Likewise.
1106 (__mpn_rshift): Do not use BP_SYM.
1107 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1108 (PARMS): Do not use macros from bp-asm.h.
1109 (SIGMSK): Likewise.
1110 (__sigsetjmp): Likewise. Do not use BP_SYM.
1111 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1112 (_start): Do not use BP_SYM.
1113 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1114 (PARMS): Do not use macros from bp-asm.h.
1115 (DEST): Likewise.
1116 (SRC): Likewise.
1117 (__stpcpy): Likewise. Do not use BP_SYM.
1118 (stpcpy): Do not use BP_SYM in weak_alias.
1119 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1120 "bp-asm.h".
1121 (PARMS): Do not use macros from bp-asm.h.
1122 (DEST): Likewise.
1123 (SRC): Likewise.
1124 (LEN): Likewise.
1125 (__stpncpy): Likewise. Do not use BP_SYM.
1126 (stpncpy): Do not use BP_SYM in weak_alias.
1127 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1128 (PARMS): Do not use macros from bp-asm.h.
1129 (STR): Likewise.
1130 (CHR): Likewise.
1131 (strchr): Likewise. Do not use BP_SYM.
1132 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1133 "bp-asm.h".
1134 (PARMS): Do not use macros from bp-asm.h.
1135 (STR): Likewise.
1136 (CHR): Likewise.
1137 (__strchrnul): Likewise. Do not use BP_SYM.
1138 (strchrnul): Do not use BP_SYM in weak_alias.
1139 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1140 "bp-asm.h".
1141 (PARMS): Do not use macros from bp-asm.h.
1142 (STOP): Likewise.
1143 (strcspn): Do not use BP_SYM.
1144 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1145 "bp-asm.h".
1146 (PARMS): Do not use macros from bp-asm.h.
1147 (STR): Likewise.
1148 (STOP): Likewise.
1149 (strpbrk): Likewise. Do not use BP_SYM.
1150 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1151 "bp-asm.h".
1152 (PARMS): Do not use macros from bp-asm.h.
1153 (STR): Likewise.
1154 (CHR): Likewise.
1155 (strrchr): Likewise. Do not use BP_SYM.
1156 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1157 (PARMS): Do not use macros from bp-asm.h.
1158 (SKIP): Likewise.
1159 (strspn): Do not use BP_SYM.
1160 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1161 (PARMS): Do not use macros from bp-asm.h.
1162 (STR): Likewise.
1163 (DELIM): Likewise.
1164 (SAVE): Likewise.
1165 (FUNCTION): Likewise. Do not use BP_SYM.
1166 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1167 aliases.
1168 (strtok_r): Likewise.
1169 (__GI___strtok_r): Likewise.
1170 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1171 (PARMS): Do not use macros from bp-asm.h.
1172 (S1): Likewise.
1173 (S2): Likewise.
1174 (SIZE): Likewise.
1175 (__mpn_sub_n): Do not use BP_SYM.
1176 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1177 "bp-asm.h".
1178 (PARMS): Do not use macros from bp-asm.h.
1179 (S1): Likewise.
1180 (SIZE): Likewise.
1181 (__mpn_submul_1): Do not use BP_SYM.
1182 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1183 <bp-sym.h>.
1184 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1185 and <bp-asm.h>.
1186 (PARMS): Do not use macros from bp-asm.h.
1187 (FLAGS): Likewise.
1188 (PTID): Likewise.
1189 (TLS): Likewise.
1190 (CTID): Likewise.
1191 (__clone): Do not use BP_SYM.
1192 (clone): Do not use BP_SYM in weak_alias.
1193 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1194 and <bp-asm.h>.
1195 (PARMS): Do not use macros from bp-asm.h.
1196 (LEN): Likewise.
1197 (__mmap64): Do not use BP_SYM.
1198 (mmap64): Do not use BP_SYM in weak_alias.
1199 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1200 <bp-sym.h> and <bp-asm.h>.
1201 (PARMS): Do not use macros from bp-asm.h.
1202 (__posix_fadvise64_l64): Do not use BP_SYM.
1203 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1204 (PARMS): Do not use macros from bp-asm.h.
1205 (NSOPS): Likewise.
1206 (semtimedop): Do not use BP_SYM.
1207 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1208 and <bp-asm.h>.
1209
582a3cff
AM
12102013-02-21 Allan McRae <allan@archlinux.org>
1211
1212 * manual/message.texi (Charset conversion in gettext):
1213 Move @end statement to beginning of line.
1214
bab8a695
SP
12152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1216
80945231
SP
1217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1218 static.
1219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1220 Likewise.
1221
bab8a695
SP
1222 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1223 (denorm): Likewise.
1224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1226
e21d7aa7
AK
12272013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1228
1229 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1230 tail-call to the resolved function if pltexit isn't needed.
1231
4c7a4263
SP
12322013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1233
1234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1235 or Y being zero as being unlikely.
1236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1237 Likewise.
1238
41f49342
CD
12392013-02-20 Carlos O'Donell <carlos@redhat.com>
1240
1241 * manual/nss.texi (System Databases and Name Service Switch):
1242 Remove frobnicate @pxref.
1243
50022a93
TS
12442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1245
1246 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1247 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1248
08cbd996
PM
12492013-02-20 Petr Machata <pmachata@redhat.com>
1250
1251 * elf/elf.h (R_ARM_TARGET1): New macro.
1252 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1253 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1254 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1255 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1256 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1257 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1258 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1259 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1260 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1261 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1262 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1263 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1264 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1265 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1266 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1267 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1268 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1269 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1270 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1271 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1272 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1273 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1274 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1275 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1276 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1277 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1278 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1279 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1280 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1281 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1282 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1283 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1284 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1285 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1286 (R_ARM_THM_GOT_BREL12): Likewise.
1287 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1288 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1289 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1290 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1291 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1292 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1293 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1294 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1295 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1296
c7b275d6
TS
12972013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1298
1299 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1300 __attribute_used__ to __attribute__ ((unused)).
1301
20cd7fb3
SP
13022013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1303
1304 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1305 powerpc mpa.c.
1306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1307 comment formatting.
1308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1309
92945b52
JM
13102013-02-19 Joseph Myers <joseph@codesourcery.com>
1311
1312 [BZ #13550]
1313 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1314 Remove macro.
1315 (ENTER): Remove both macro definitions.
1316 (LEAVE): Likewise.
1317 (CHECK_BOUNDS_LOW): Likewise.
1318 (CHECK_BOUNDS_HIGH): Likewise.
1319 (CHECK_BOUNDS_BOTH): Likewise.
1320 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1321 (RETURN_BOUNDED_POINTER): Likewise.
1322 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1323 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1324 (POP_ERRNO_LOCATION_RETURN): Likewise.
1325 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1326 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1327 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1328 macros.
1329 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1330 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1331 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1332 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1333 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1334 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1335 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1336 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1337 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1338 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1339 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1340 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1341 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1342 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1343 removed macros.
1344 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1345 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1346 macros.
1347 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1348 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1349 * sysdeps/i386/i586/memset.S (memset): Likewise.
1350 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1351 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1352 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1353 macros.
1354 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1355 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1356 Change uses of L(2) to L(out).
1357 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1358 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1359 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1360 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1361 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1362 removed macros.
1363 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1364 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1365 macros.
1366 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1367 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1368 (RETURN): Do not use macro LEAVE.
1369 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1370 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1371 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1372 * sysdeps/i386/i686/memset.S (memset): Likewise.
1373 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1374 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1375 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1376 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1377 Likewise.
1378 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1379 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1380 L(1_2) and L(1_3) into L(1).
1381 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1382 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1383 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1384 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1385 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1386 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1387 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1388 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1389 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1390 macros.
1391 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1392 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1393 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1394 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1395 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1396 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1397 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1398 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1399 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1400 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1401 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1402 * sysdeps/i386/strspn.S (strspn): Likewise.
1403 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1404 conditional code.
1405 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1406 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1407 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1408 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1409 L(1_3) into L(1_1).
1410 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1411 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1412 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1413 macros.
1414 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1415
2389741a
JJ
14162013-02-19 Jakub Jelinek <jakub@redhat.com>
1417
1418 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1419 macro.
1420
2016b3cd
SP
14212013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1422
e4f22324
SP
1423 * math/atest-exp.c (exp_mpn): Remove ROUND.
1424 * math/atest-exp2.c (exp_mpn): Likewise.
1425 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1426
2016b3cd
SP
1427 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1428 * stdlib/tst-tls-atexit-lib.c: Likewise.
1429 * stdlib/tst-tls-atexit.c: Likewise.
1430
4be9b544
MF
14312013-02-18 Mike Frysinger <vapier@gentoo.org>
1432
1433 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1434 and __attribute_alloc_size__.
1435
2f62b9ee
MF
14362013-02-18 Mike Frysinger <vapier@gentoo.org>
1437
1438 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1439 __attribute_alloc_size__.
1440 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1441 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1442
6ff444c4
MF
14432013-02-18 Mike Frysinger <vapier@gentoo.org>
1444
1445 * include/programs/xmalloc.h: New file.
1446 * catgets/gencat.c: Include it.
1447 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1448 * elf/pldd.c: Likewise.
1449 * iconv/iconv_charmap.c: Likewise.
1450 * iconv/iconvconfig.c: Likewise.
1451 * iconv/strtab.c: Likewise.
1452 * locale/programs/locale.c: Likewise.
1453 * locale/programs/localedef.h: Likewise.
1454 * locale/programs/simple-hash.c: Likewise.
1455 * nscd/nscd.h: Likewise.
1456 * nss/makedb.c: Likewise.
1457 * sysdeps/generic/ldconfig.h: Likewise.
1458
be179c8a
SP
14592013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1460
ba384f6e
SP
1461 * Versions.def: Add GLIBC_2.18.
1462 * include/link.h (struct link_map): New member l_tls_dtor_count.
1463 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1464 (__call_tls_dtors): Likewise.
1465 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1466 __cxa_thread_atexit_impl.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1468 Likewise.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1470 Likewise.
1471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1472 Likewise.
1473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1474 Likewise.
1475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1477 Likewise.
1478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1479 Likewise.
1480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1482 Likewise.
1483 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1484 (tests): Add test case tst-tls-atexit.
1485 (modules-names): Add shared library for tst-tls-atexit.
1486 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1487 (GLIBC_PRIVATE): Add __call_tls_dtors.
1488 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1489 for libstdc++.
1490 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1491 * stdlib/tst-tls-atexit.c: New test case.
1492 * stdlib/tst-tls-atexit-lib.c: New test case.
1493
ffaa74cf 1494 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1495
be179c8a
SP
1496 * elf/Versions (ld): Add _dl_find_dso_for_object.
1497 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1498 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1499 (dl_open_worker): Use _dl_find_dso_for_object.
1500 * elf/dl-sym.c (do_sym): Likewise.
1501 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1502
f78b5caa
AK
15032013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1504
1505 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1506 Syntactic changes only.
1507 (_dl_runtime_profile): Do a tail-call to the resolved function.
1508
29691210
JM
15092013-02-17 Joseph Myers <joseph@codesourcery.com>
1510
1511 [BZ #13550]
1512 * sysdeps/x86_64/bp-asm.h: Remove file.
1513 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1514 <bp-sym.h> and <bp-asm.h>.
1515 (__clone): Do not use BP_SYM.
1516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1517 <bp-sym.h> and <bp-asm.h>.
1518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1519 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1520 "bp-asm.h".
1521 (_setjmp): Do not use BP_SYM.
1522 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1523 "bp-asm.h".
1524 (setjmp): Do not use BP_SYM.
1525 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1526 libc_hidden_def.
1527 (mempcpy): Do not use BP_SYM in weak_alias.
1528 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1529 "bp-asm.h".
1530 (strchr): Do not use BP_SYM.
1531 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1532 "bp-asm.h".
1533 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1534 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1535 (_start): Do not use BP_SYM.
1536 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1537 "bp-asm.h".
1538 (strcat): Do not use BP_SYM.
1539 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1540 "bp-asm.h".
1541 (STRCMP): Do not use BP_SYM.
1542 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1543 "bp-asm.h".
1544 (STRCPY): Do not use BP_SYM.
1545 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1546 "bp-asm.h".
1547 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1548 "bp-asm.h".
1549 (FUNCTION): Do not use BP_SYM.
1550 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1551 weak_alias.
1552 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1553
f238fd19
AJ
15542013-02-17 Andreas Jaeger <aj@suse.de>
1555
1556 * time/Versions: Sort entries.
1557 * string/Versions: Likewise.
1558 * resolv/Versions: Likewise.
1559 * posix/Versions: Likewise.
1560 * iconv/Versions: Likewise.
1561 * elf/Versions: Likewise.
1562 * wcsmbs/Versions: Likewise.
1563
bd07f23c 15642013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1565
22af19f9
SP
1566 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1567 loop termination condition.
1568
4709fe76
SP
1569 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1570 variable to calculate EZ.
1571 (__sqr): Likewise.
2d0e0f29
SP
1572
1573 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1574 the lower precision input.
1575
daaa7713
JM
15762013-02-15 Joseph Myers <joseph@codesourcery.com>
1577
1578 [BZ #13550]
1579 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1580 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1581 (run-via-rtld-prefix): Do not handle %-bp tests.
1582 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1583 (all-object-suffixes): Remove .ob.
1584 (bppfx): Remove variable.
1585 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1586 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1587 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1588 [$(build-bounded) = yes] (libtype.ob): Likewise.
1589 * Makerules (elide-routines.ob): Remove variable.
1590 (do-tests-clean): Do not handle *-bp.out.
1591 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1592 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1593 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1594 (tests): Do not include $(tests-bp.out).
1595 (xtests): Do not include $(xtests-bp.out).
1596 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1597 [$(build-bounded) = yes] ($(addprefix
1598 $(objpfx),$(binaries-bounded))): Remove rule.
1599 ($(objpfx)%-bp.out): Remove rule.
1600 * config.make.in (build-bounded): Remove variable.
1601 * crypt/Makefile [$(build-bounded) = yes]
1602 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1603 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1604 append to variable.
1605 [$(build-bounded) = yes] (install-lib): Likewise.
1606 [$(build-bounded) = yes] (generated): Likewise.
1607 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1608 Remove rule.
1609 * intl/Makefile [$(build-bounded) = yes]
1610 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1611 * math/Makefile [$(build-bounded) = yes]
1612 ($(tests:%=$(objpfx)%-bp): Likewise.
1613 * misc/Makefile [$(build-bounded) = yes]
1614 ($(objpfx)tst-tsearch-bp): Likewise.
1615 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1616 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1617 Remove dependency.
1618 * string/Makefile (o-objects.ob): Remove variable.
1619 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1620 (CFLAGS-.ob): Remove variable.
1621 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1622 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1623 both definitions of variable.
1624 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1625 (ASFLAGS-.ob): Remove variable.
1626
e97ed6dd
JM
16272013-02-14 Joseph Myers <joseph@codesourcery.com>
1628
2bdd4ca6
JM
1629 [BZ #13550]
1630 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1631 Remove __BOUNDED_POINTERS__ from condition.
1632 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1633 * string/bits/string2.h [!__NO_STRING_INLINES &&
1634 !__BOUNDED_POINTERS__]: Likewise.
1635 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1636 Likewise.
1637 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1638 Remove conditional code.
1639 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1640 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1641 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1642 condition.
1643
e97ed6dd
JM
1644 [BZ #13550]
1645 * csu/libc-start.c: Do not include <bp-sym.h>.
1646 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1647 * elf/dl-open.c: Do not include <bp-sym.h>.
1648 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1649 * math/fegetenv.c: Do not include <bp-sym.h>.
1650 (fegetenv): Do not use BP_SYM in versioned symbols.
1651 * nptl/sysdeps/pthread/bits/libc-lockP.h
1652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1653 <bp-sym.h>.
1654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1655 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1657 (__pthread_mutex_destroy): Likewise.
1658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1659 (__pthread_mutex_lock): Likewise.
1660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1661 (__pthread_mutex_trylock): Likewise.
1662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1663 (__pthread_mutex_unlock): Likewise.
1664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1665 (__pthread_mutexattr_init): Likewise.
1666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1667 (__pthread_mutexattr_destroy): Likewise.
1668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1669 (__pthread_mutexattr_settype): Likewise.
1670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1671 (__pthread_rwlock_init): Likewise.
1672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1673 (__pthread_rwlock_destroy): Likewise.
1674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1675 (__pthread_rwlock_rdlock): Likewise.
1676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1677 (__pthread_rwlock_tryrdlock): Likewise.
1678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1679 (__pthread_rwlock_wrlock): Likewise.
1680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1681 (__pthread_rwlock_trywrlock): Likewise.
1682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1683 (__pthread_rwlock_unlock): Likewise.
1684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1685 (__pthread_key_create): Likewise.
1686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1687 (__pthread_setspecific): Likewise.
1688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1689 (__pthread_getspecific): Likewise.
1690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1691 Likewise.
1692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1693 (_pthread_cleanup_push_defer): Likewise.
1694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1695 (_pthread_cleanup_pop_restore): Likewise.
1696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1697 (pthread_setcancelstate): Likewise.
1698 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1699 <bp-sym.h>.
1700 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1701 (memchr): Do not use BP_SYM in weak_alias.
1702 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1703 (fegetenv): Do not use BP_SYM in versioned symbols.
1704 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1705 (fesetenv): Do not use BP_SYM in versioned symbols.
1706 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1707 (feupdateenv): Do not use BP_SYM in versioned symbols.
1708 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1709 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1710 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1711 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1712 (open64): Do not use BP_SYM in weak_alias.
1713 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1714 (fegetenv): Do not use BP_SYM in versioned symbols.
1715 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1716 (fesetenv): Do not use BP_SYM in versioned symbols.
1717 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1718 (feupdateenv): Do not use BP_SYM in versioned symbols.
1719 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1720 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1721 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1722 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1723 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1724 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1725 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1726 <bp-sym.h>.
1727 (__libc_start_main): Do not use BP_SYM.
1728
d6752ccd
SP
17292013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1730
cb57ce60
SP
1731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1732 redundant return line.
1733 (norm): Likewise.
1734 (denorm): Likewise.
1735 (dbl_mp): Likewise.
1736 (sub_magnitudes): Likewise.
1737 (__add): Likewise.
1738 (__sub): Likewise.
1739 (__mul): Likewise.
1740 (__inv): Likewise.
1741 (__dvd): Likewise.
1742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1743 (norm): Likewise.
1744 (denorm): Likewise.
1745 (dbl_mp): Likewise.
1746 (sub_magnitudes): Likewise.
1747 (__add): Likewise.
1748 (__sub): Likewise.
1749 (__mul): Likewise.
1750 (__inv): Likewise.
1751 (__dvd): Likewise.
1752
f414520d
SP
1753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1754 instead of __mul.
1755 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1756 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1757 (cc32): Likewise.
1758
d6752ccd
SP
1759 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1760 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1762 of __mul for squares.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1764 function
1765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1766 Likewise.
1767 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1768 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1769
70d9946a
JM
17702013-02-13 Joseph Myers <joseph@codesourcery.com>
1771
1772 [BZ #13550]
1773 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1774 code.
1775 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1776 prototype or function definition. Rename ubp_* variables and
1777 parameters. Remove argv definitions conditional on
1778 [__BOUNDED_POINTERS__].
1779 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1780 * elf/dl-runtime.c (_dl_fixup): Likewise.
1781 * include/set-hooks.h (RUN_HOOK): Likewise.
1782 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1783 definition.
1784 * string/strcpy.c (strcpy): Do not use __unbounded.
1785 * sysdeps/generic/frame.h (struct layout): Likewise.
1786 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1787 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1788 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1789 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1790 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1791 (__backtrace): Likewise.
1792 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1793 use __ptrvalue.
1794 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1795 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1796 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1797 Likewise.
1798 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1799 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1800 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1801 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1802 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1803 Do not use __unbounded.
1804 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1805 Rename __unboundedrlimits parameter to rlimits in prototype.
1806 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1807 Do not use __unbounded.
1808 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1809 not use __ptrvalue.
1810 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1811 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1812 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1813 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1814 __ptrvalue or __unbounded.
1815 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1816 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1817 use __unbounded.
1818 (__new_msgctl): Do not use __ptrvalue.
1819 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1820 __unbounded.
1821 (__libc_msgrcv): Do not use __ptrvalue.
1822 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1823 startup_info): Do not use __unbounded.
1824 (__libc_start_main): Likewise. Rename ubp_* variables and
1825 parameters. Remove argv definitions conditional on
1826 [__BOUNDED_POINTERS__].
1827 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1828 __ptrvalue.
1829 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1830 use __unbounded.
1831 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1832 or __ptrvalue.
1833 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1834 use __unbounded.
1835 (__new_shmctl): Do not use __ptrvalue.
1836 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1837 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1838 Likewise.
1839 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1841 (__libc_sigaction): Likewise.
1842 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1843 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1844 Likewise.
1845 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1846
cc7834d6
OB
18472013-02-13 Ondřej Bílka <neleai@seznam.cz>
1848
ffb1ec7b 1849 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1850
1851 * string/mempcpy.c: Implement by calling memcpy.
1852
bdf02814
SP
18532013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1854
c2af38aa
SP
1855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1856
4e92d59e
SP
1857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1858 evaluation.
1859
909279a5
SP
1860 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1861 values in the mantissa.
1862
bdf02814
SP
1863 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1864 minimize writes to Z.
1865 (sub_magnitudes): Simplify code a bit.
1866
cd525923
RM
18672013-02-12 Roland McGrath <roland@hack.frob.com>
1868
1869 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1870 from the message. The linker prefixes all warnings with that already.
1871
7e2f0d2d
AS
18722013-02-12 Andreas Schwab <schwab@suse.de>
1873
a445af0b
AS
1874 [BZ #15078]
1875 * posix/regexec.c (extend_buffers): Add parameter min_len.
1876 (check_matching): Pass minimum needed length.
1877 (clean_state_log_if_needed): Likewise.
1878 (get_subexp): Likewise.
1879 * posix/Makefile (tests): Add bug-regex34.
1880 (bug-regex34-ENV): Define.
1881 * posix/bug-regex34.c: New file.
1882
7e2f0d2d
AS
1883 [BZ #11561]
1884 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1885 elements compare against the byte sequence of it, not its name.
1886 * posix/Makefile (tests): Add bug-regex35.
1887 (bug-regex35-ENV): Define.
1888 * posix/bug-regex35.c: New file.
1889
a175b684
TV
18902013-02-11 Tom de Vries <tom@codesourcery.com>
1891
1892 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1893 comment.
1894 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1895 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1896 (CHECK_EOL): Add undef.
1897
310998fe 18982013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1899
1900 * bits/stdlib-bsearch.h: New file.
1901 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1902 * stdlib/stdlib.h: Likewise.
41eda41d 1903
8ded91fb
RM
19042013-02-11 Roland McGrath <roland@hack.frob.com>
1905
1906 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1907 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1908 declaration.
1909 * manual/search.texi (Array Search Function): Add missing const in
1910 lfind prototype.
1911 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1912 declaration to use rlim_t.
1913 (Basic Scheduling Functions): Remove erroneous const from
1914 sched_getparam prototype. Remove erroneous * from
1915 sched_get_priority_max and sched_get_priority_min prototypes.
1916 (Resource Usage): Fix summary @comment on vtimes to refer to
1917 sys/vtimes.h rather than vtimes.h.
1918 Add missing *s in vtimes prototype.
1919 (Limits on Resources): Fix ulimit prototype to return long int.
1920 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1921 prototypes to use long int rather than double.
1922 (BSD Random): Fix initstate and setstate to use char *, not void *.
1923 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1924 prototype to make second argument 'struct aiocb64 *const[]'.
1925 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1926 (Status of AIO Operations): Remove erroneous const in aio_return and
1927 aio_return64 prototypes.
1928 (Synchronizing I/O): Fix sync prototype to return void.
1929 * manual/startup.texi (Suboptions): Remove an erroneous const in
1930 getsubopt prototype.
1931 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1932 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1933 use size_t rather than int.
1934 (Scanning All Users): Likewise for getpwent_r.
1935 (Setting Groups): Add missing const to setgroups prototype.
1936 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1937 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1938 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1939 'const void *' rather than 'const char *'.
1940 (Host Address Functions): Likewise for inet_ntop.
1941 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1942 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1943 ssize_t for return value.
1944 (Sending Data): Likewise for send, sendto, sendmsg.
1945 (Socket Option Functions): Add a missing const in setsockopt prototype.
1946 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1947 use wchar_t for the argument.
1948 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1949 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1950 take no arguments.
1951 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1952 double/float/long double for second argument.
1953 Fix return types of significand, significandf, significandl.
1954 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1955 argument in fchmod prototype.
1956 (File Owner): Use uid_t and gid_t in fchown prototype.
1957 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1958 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1959 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1960 use 'const struct dirent **' as argument types to CMP function pointer
1961 argument.
1962 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1963 (File Times): Fix summary magic @comment for struct utimbuf and utime
1964 to refer to utime.h, not time.h.
1965 * manual/string.texi (Argz Functions): Add missing const in
1966 argz_extract and argz_next prototypes.
1967 (Finding Tokens in a String): Likewise for basename.
1968 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1969 (Copying and Concatenation): Fix typo in wmemmove prototype.
1970 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1971 (Signal Stack): Remove erroneous const in sigstack prototype.
1972 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1973 prototype.
1974 (Simple Calendar Time): Likewise for stime.
1975 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1976 prototype.
1977 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1978 say sys/sysctl.h instead.
1979 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1980 and vsyslog prototypes.
1981
fe77fe6d
TV
19822013-02-11 Tom de Vries <tom@codesourcery.com>
1983
1984 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1985 Remove.
1986
3a09b620
RM
19872013-02-11 Roland McGrath <roland@hack.frob.com>
1988
1989 * misc/sys/mman.h: Fix typo in mremap comment.
1990
550a0b89
RM
19912013-02-08 Roland McGrath <roland@hack.frob.com>
1992
1993 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1994 the '\0' terminator.
1995
a2da1673
JM
19962013-02-08 Joseph Myers <joseph@codesourcery.com>
1997
1998 [BZ #13550]
1999 * debug/segfault.c: Don't include <bp-checks.h>.
2000 * sysdeps/generic/bp-checks.h: Remove file.
2001 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2002 (__GETDENTS): Don't use CHECK_N.
2003 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2004 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2005 (__getgroups): Don't use CHECK_N.
2006 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2007 (setgroups): Don't use CHECK_N.
2008 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2009 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2010 (__libc_msgrcv): Don't use CHECK_N.
2011 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2012 (__libc_msgsnd): Don't use CHECK_N.
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2014 <bp-checks.h>.
2015 (__libc_pread): Don't use CHECK_N.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2017 include <bp-checks.h>.
2018 (__libc_pread64): Don't use CHECK_N.
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2020 include <bp-checks.h>.
2021 (__libc_pwrite): Don't use CHECK_N.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2023 include <bp-checks.h>.
2024 (__libc_pwrite64): Don't use CHECK_N.
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2026 <bp-checks.h>.
2027 (__libc_pread): Don't use CHECK_N.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2029 include <bp-checks.h>.
2030 (__libc_pread64): Don't use CHECK_N.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2032 include <bp-checks.h>.
2033 (__libc_pwrite): Don't use CHECK_N.
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2035 include <bp-checks.h>.
2036 (__libc_pwrite64): Don't use CHECK_N.
2037 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2038 (do_pread): Don't use CHECK_N.
2039 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2040 (do_pread64): Don't use CHECK_N.
2041 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2042 (do_pwrite): Don't use CHECK_N.
2043 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2044 (do_pwrite64): Don't use CHECK_N.
2045 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2046 (__libc_readv): Don't use CHECK_N.
2047 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2048 (semop): Don't use CHECK_N.
2049 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2050 <bp-checks.h>.
2051 (semtimedop): Don't use CHECK_N.
2052 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2053 (__libc_pread): Don't use CHECK_N.
2054 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2055 <bp-checks.h>.
2056 (__libc_pread64): Don't use CHECK_N.
2057 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2058 <bp-checks.h>.
2059 (__libc_pwrite): Don't use CHECK_N.
2060 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2061 <bp-checks.h>.
2062 (__libc_pwrite64): Don't use CHECK_N.
2063 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2064 <bp-checks.h>.
2065 (__libc_msgrcv): Don't use CHECK_N.
2066 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2067 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2068 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2069 (__libc_writev): Don't use CHECK_N.
2070
b84660a8
RM
20712013-02-08 Roland McGrath <roland@hack.frob.com>
2072
7f3e75f8
RM
2073 * string/strcpy.c: Removed unused variable.
2074
b84660a8
RM
2075 * Makeconfig (+sysdep-includes): Define with := rather than =.
2076 Use an existing include/ subdir of each sysdeps dir before it.
2077
471514d3
CD
20782013-02-08 Carlos O'Donell <carlos@redhat.com>
2079
2080 * nscd/connection.c (register_traced_file): Comment function.
2081 [HAVE_INOTIFY] (union __inev): Define.
2082 [HAVE_INOTIFY] (inotify_check_files): New function.
2083 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2084 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2085 clear_db_cache.
2086 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2087
b2d3c3be
CD
20882013-02-08 Carlos O'Donell <carlos@redhat.com>
2089
2090 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2091 loaded if not already and that a failure is permanent.
2092
b39949d2
CD
20932013-02-08 Carlos O'Donell <carlos@redhat.com>
2094
ddacd1db 2095 [BZ #15006]
b39949d2
CD
2096 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2097 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2098
b2c9eff4
JM
20992013-02-08 Joseph Myers <joseph@codesourcery.com>
2100
f3aae3f3
JM
2101 [BZ #13550]
2102 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2103 (CHECK_1_NULL_OK): Likewise.
2104 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2105 (__fxstat): Do not use CHECK_1.
2106 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2107 <bp-checks.h>.
2108 (___fxstat64): Do not use CHECK_1.
2109 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2110 <bp-checks.h>.
2111 (__fxstatat): Do not use CHECK_1.
2112 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2113 <bp-checks.h>.
2114 (__fxstatat64): Do not use CHECK_1.
2115 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2116 <bp-checks.h>.
2117 (__fxstat): Do not use CHECK_1.
2118 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2119 <bp-checks.h>.
2120 (__fxstatat): Do not use CHECK_1.
2121 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2122 <bp-checks.h>.
2123 (__getresgid): Do not use CHECK_1.
2124 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2125 <bp-checks.h>.
2126 (__getresuid): Do not use CHECK_1.
2127 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2128 <bp-checks.h>.
2129 (__lxstat): Do not use CHECK_1.
2130 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2131 <bp-checks.h>.
2132 (__old_msgctl): Do not use CHECK_1.
2133 (__new_msgctl): Likewise.
2134 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2135 <bp-checks.h>.
2136 (__new_setrlimit): Do not use CHECK_1.
2137 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2138 <bp-checks.h>.
2139 (__old_shmctl): Do not use CHECK_1.
2140 (__new_shmctl): Likewise.
2141 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2142 <bp-checks.h>.
2143 (__xstat): Do not use CHECK_1.
2144 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2145 (__lxstat): Do not use CHECK_1.
2146 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2147 <bp-checks.h>.
2148 (___lxstat64): Do not use CHECK_1.
2149 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2150 (__old_msgctl): Do not use CHECK_1.
2151 (__new_msgctl): Likewise.
2152 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2153 <bp-checks.h>.
2154 (__gettimeofday): Do not use CHECK_1.
2155 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2156 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2157 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2158 <bp-checks.h>.
2159 (__gettimeofday): Do not use CHECK_1.
2160 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2161 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2162 (__new_shmctl): Do not use CHECK_1.
2163 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2164 <bp-checks.h>.
2165 (do_sigtimedwait): Do not use CHECK_1.
2166 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2167 <bp-checks.h>.
2168 (do_sigwaitinfo): Do not use CHECK_1.
2169 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2170 <bp-checks.h>.
2171 (msgctl): Do not use CHECK_1.
2172 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2173 <bp-checks.h>.
2174 (shmctl): Do not use CHECK_1.
2175 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2176 (ustat): Do not use CHECK_1.
2177 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2178 <bp-checks.h>.
2179 (__fxstat): Do not use CHECK_1.
2180 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2181 <bp-checks.h>.
2182 (__fxstatat): Do not use CHECK_1.
2183 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2184 <bp-checks.h>.
2185 (__lxstat): Do not use CHECK_1.
2186 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2187 <bp-checks.h>.
2188 (__xstat): Do not use CHECK_1.
2189 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2190 (__xstat): Do not use CHECK_1.
2191 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2192 (___xstat64): Do not use CHECK_1.
2193
b2c9eff4
JM
2194 [BZ #13550]
2195 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2196 definitions.
2197 (CHECK_BOUNDS_HIGH): Likewise.
2198 * string/strcpy.c: Do not include <bp-checks.h>.
2199 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2200
f1d70dad
RM
22012013-02-07 Roland McGrath <roland@hack.frob.com>
2202
2203 * nscd/nscd-client.h (__nscd_drop_map_ref):
2204 Add __attribute__ ((unused)).
2205 * nis/nss-nisplus.h (niserr2nss): Likewise.
2206
2207 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2208 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2209
2210 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2211 Remove inline keyword.
2212 * include/rounding-mode.h (round_away): Likewise.
2213 * libio/wfileops.c (adjust_wide_data): Likewise.
2214 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2215 (__m128i_strloadu_tolower): Likewise.
2216 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2217 (__m128i_strloadu_tolower): Likewise.
2218 * time/mktime.c (ydhms_diff): Likewise.
2219 * locale/elem-hash.h (elem_hash): Likewise.
2220 * locale/setlocale.c (setdata): Likewise.
2221 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2222 (re_string_wchar_at): Likewise.
2223 (bitset_not, bitset_merge, bitset_mask): Likewise.
2224 [!(__GNUC__ > 3)] (inline): Remove macro.
2225 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2226 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2227 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2228 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2229 * string/memcmp.c (memcmp_bytes): Likewise.
2230 * locale/programs/locarchive.c (compute_hashval): Likewise.
2231 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2232 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2233 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2234 * nss/getent.c (print_rpc, print_protocols): Likewise.
2235 (print_passwd, print_group, print_aliases): Likewise.
2236 * nis/nss-nisplus.h (niserr2nss): Likewise.
2237 * nscd/connections.c (restart_p): Likewise.
2238 Change return type to bool.
2239
eab55bfb
RM
22402013-02-05 Roland McGrath <roland@hack.frob.com>
2241
7bd642f5
RM
2242 * Makeconfig (all-Depend-files): Add existing
2243 $(sorted-subdirs:=/Depend) files.
2244 (all-subdirs): Remove nss.
2245 * sysdeps/unix/inet/Subdirs: Add it here instead.
2246 * hesiod/Depend: New file.
2247
573c29b2
RM
2248 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2249 instead of calling alloca.
2250
b2e25af0
RM
2251 * io/lseek.c (__lseek): Rename to __libc_lseek.
2252 Define __lseek as an alias.
2253
eab55bfb
RM
2254 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2255
9a0d1941
CD
22562013-02-04 Carlos O'Donell <carlos@redhat.com>
2257
2258 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2259 else clause and remove check for non-standard endianness.
2260
b83bbec4
DM
22612013-02-04 David S. Miller <davem@davemloft.net>
2262
2263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2264
6277fdab
JM
22652013-02-04 Joseph Myers <joseph@codesourcery.com>
2266
2267 [BZ #13550]
2268 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2269 (__ubp_memchr): Remove prototype.
2270 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2271 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2272 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2273 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2274 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2275 Remove alias.
2276 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2277 (__ubp_memchr): Likewise.
2278 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2279 (__ubp_memchr): Likewise.
2280 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2281 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2282 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2283 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2284 CHECK_STRING.
2285 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2286 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2287 (__getcwd): Do not use CHECK_STRING.
2288 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2289 <bp-checks.h>.
2290 (__real_chown): Do not use CHECK_STRING.
2291 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2292 <bp-checks.h>.
2293 (fchownat): Do not use CHECK_STRING.
2294 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2295 CHECK_STRING.
2296 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2297 <bp-checks.h>.
2298 (__lchown): Do not use CHECK_STRING.
2299 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2300 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2301 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2302 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2304 include <bp-checks.h>.
2305 (truncate64): Do not use CHECK_STRING.
2306 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2307 <bp-checks.h>.
2308 (__real_chown): Do not use CHECK_STRING.
2309 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2310 <bp-checks.h>.
2311 (__lchown): Do not use CHECK_STRING.
2312 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2313 <bp-checks.h>.
2314 (__chown): Do not use CHECK_STRING.
2315 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2316 <bp-checks.h>.
2317 (truncate64): Do not use CHECK_STRING.
2318 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2319 Likewise.
2320 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2321 (__xmknod): Do not use CHECK_STRING.
2322 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2323 <bp-checks.h>.
2324 (__xmknodat): Do not use CHECK_STRING.
2325 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2326 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2327
903ae060
AS
23282013-02-04 Andreas Schwab <schwab@suse.de>
2329
2330 [BZ #14142]
2331 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2332 * include/netdb.h: Likewise for h_errno.
2333 * elf/tst-stackguard1.c: Include <tls.h>.
2334
542f9466
JK
23352013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2336
2337 * elf/link.h (struct link_map): Extend the l_addr comment.
2338 * include/link.h (struct link_map): Likewise.
2339
e782a927
JM
23402013-02-01 Joseph Myers <joseph@codesourcery.com>
2341
2342 [BZ #13550]
2343 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2344 (BOUNDED_1): Remove macro.
2345 * debug/backtrace.c: Don't include <bp-checks.h>.
2346 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2347 (__backtrace): Likewise.
2348 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2349 <bp-checks.h>.
2350 (__backtrace): Don't use BOUNDED_1.
2351 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2352 <bp-checks.h>.
2353 (__backtrace): Don't use BOUNDED_1.
2354 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2355 (__backtrace): Don't use BOUNDED_1.
2356 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2357 (shmat): Don't use BOUNDED_N.
2358
8cf28c5e
JM
23592013-01-31 Joseph Myers <joseph@codesourcery.com>
2360
3a7ac8a0
JM
2361 [BZ #13550]
2362 * sysdeps/generic/bp-start.h: Remove file.
2363 * csu/libc-start.c: Don't include <bp-start.h>.
2364 (LIBC_START_MAIN): Set up __environ directly instead of using
2365 INIT_ARGV_and_ENVIRON.
2366 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2367 <bp-start.h>.
2368
f3499f95
JM
2369 [BZ #13550]
2370 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2371 definitions.
2372 (CHECK_FCNTL): Likewise.
2373 (CHECK_N_PAGES): Likewise.
2374
32a45bea
JM
2375 [BZ #13550]
2376 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2377 definitions.
2378 (CHECK_SIGSET_NULL_OK): Likewise.
2379 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2380 <bp-checks.h>.
2381 (sigpending): Don't use CHECK_SIGSET.
2382 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2383 <bp-checks.h>.
2384 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2385 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2386 <bp-checks.h>.
2387 (do_sigsuspend): Don't use CHECK_SIGSET.
2388 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2389 use CHECK_SIGSET.
2390 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2391 (do_sigwait): Don't use CHECK_SIGSET.
2392 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2393 use CHECK_SIGSET.
2394 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2395 include <bp-checks.h>.
2396 (sigpending): Don't use CHECK_SIGSET.
2397 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2398 include <bp-checks.h>.
2399 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2400 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2401 <bp-checks.h>.
2402 (sigpending): Don't use CHECK_SIGSET.
2403 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2404 <bp-checks.h>.
2405 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2406
2e8a5c8c
JM
2407 [BZ #13550]
2408 * sysdeps/generic/bp-semctl.h: Remove file.
2409 * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
2414 and <bp-semctl.h>.
2415 (__old_semctl): Don't use CHECK_SEMCTL.
2416 (__new_semctl): Likewise.
2417 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2418 <bp-checks.h> and <bp-semctl.h>.
2419 (__old_semctl): Don't use CHECK_SEMCTL.
2420 (__new_semctl): Likewise.
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2422 <bp-checks.h> and <bp-semctl.h>.
2423 (semctl): Don't use CHECK_SEMCTL.
2424
c2d54929
JM
2425 [BZ #13550]
2426 * Makerules (elide-bp-thunks): Remove variable.
2427 (elide-routines.oS): Don't use $(elide-bp-thunks).
2428 (elide-routines.os): Likewise.
2429 (elide-routines.o): Likewise.
2430 (elide-routines.op): Likewise.
2431 (elide-routines.og): Likewise.
2432 (objects): Don't use $(bp-thunks).
2433 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2434 include.
2435 (common-generated): Do not add s-proto-bp.d.
2436 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2437 (int): Likewise.
2438 (typ): Likewise.
2439 Do not generate makefile rules for bounded-pointer thunks.
2440 * sysdeps/generic/bp-thunks.h: Remove file.
2441 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2442 * sysdeps/unix/s-proto-bp.S: Likewise.
2443
8cf28c5e
JM
2444 [BZ #15062]
2445 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2446 parts of result separately when argument is not close to line from
2447 -i to i and one part of argument is small.
2448 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2449 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2450 * math/libm-test.inc (cacos_test): Add more tests.
2451 (casin_test): Likewise.
2452 (casinh_test): Likewise.
2453 * sysdeps/i386/fpu/libm-test-ulps: Update.
2454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2455
c4e33b8d
DM
24562013-01-31 David S. Miller <davem@davemloft.net>
2457
2458 * po/de.po: Update from translation team.
2459
3b60b421
MK
24602013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2461
2462 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2463
bb931195
TS
24642013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2465
b5a5da23
TS
2466 * configure.in (_AC_PROG_CC_C89): New definition.
2467 * configure: Regenerate.
2468
bb931195
TS
2469 * configure.in (AC_PROG_CPP): New definition.
2470 * configure: Regenerate.
2471
8c53a12c
JM
24722013-01-23 Joseph Myers <joseph@codesourcery.com>
2473
2474 * debug/tst-backtrace.h: New file.
2475 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2476 (ret): Remove variable.
2477 (x): Likewise.
2478 (FAIL): Remove macro.
2479 (NO_INLINE): Likewise.
2480 (fn1): Use match function instead of strstr.
2481 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2482 (ret): Remove variable.
2483 (x): Likewise.
2484 (FAIL): Remove macro.
2485 (NO_INLINE): Likewise.
2486 (fn): Use match function instead of strstr.
2487 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2488 (ret): Remove variable.
2489 (x): Likewise.
2490 (FAIL): Remove macro.
2491 (NO_INLINE): Likewise.
2492 (handle_signal): Use match function instead of strstr.
2493 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2494 (ret): Remove variable.
2495 (x): Likewise.
2496 (FAIL): Remove macro.
2497 (NO_INLINE): Likewise.
2498 (handle_signal): Use match function instead of strstr.
2499
4858fa2a
RM
25002013-01-23 Roland McGrath <roland@hack.frob.com>
2501
2502 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2503
bae8e7f5
DM
25042013-01-23 David S. Miller <davem@davemloft.net>
2505
2506 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2507 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2508 argument of CAS if possible.
2509 * sysdeps/sparc/sparc64/bits/atomic.h
2510 (__arch_compare_and_exchange_val_32_acq): Likewise.
2511 (__arch_compare_and_exchange_val_64_acq): Likewise.
2512
9cbbc4ae
PT
25132013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2514
2515 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2516 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2517 Include <limits.h>.
67b3f58c 2518 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2519
5655a0b5
AC
25202013-01-23 Adam Conrad <adconrad@0c3.net>
2521
2522 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2523 (LDFLAGS-tst-array5): Likewise.
2524
052aff95
JM
25252013-01-23 Joseph Myers <joseph@codesourcery.com>
2526
2527 [BZ #15036]
2528 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2529 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2530 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2531 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2532
7c1e01aa
DM
25332013-01-21 David S. Miller <davem@davemloft.net>
2534
2535 * sysdeps/sparc/backtrace.c: New file.
2536 * sysdeps/sparc/sparc32/backtrace.h: New file.
2537 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2538 * sysdeps/sparc/sparc64/backtrace.h: New file.
2539 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2540 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2541 -funwind-tables.
2542
ab087e0a
AS
25432013-01-21 Andreas Schwab <schwab@suse.de>
2544
2545 [BZ #15020]
2546 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2547 closed its stdout.
2548
ed689c2f
AS
25492013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2550
2551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2552 "mpa2.h".
2553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2554
31d470ac
JM
25552013-01-18 Joseph Myers <joseph@codesourcery.com>
2556 Mark Mitchell <mark@codesourcery.com>
2557 Tom de Vries <tom@codesourcery.com>
2558 Paul Pluzhnikov <ppluzhnikov@google.com>
2559
2560 * debug/tst-backtrace2.c: New file.
2561 * debug/tst-backtrace3.c: Likewise.
2562 * debug/tst-backtrace4.c: Likewise.
2563 * debug/tst-backtrace5.c: Likewise.
2564 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2565 (CFLAGS-tst-backtrace3.c): Likewise.
2566 (CFLAGS-tst-backtrace4.c): Likewise.
2567 (CFLAGS-tst-backtrace5.c): Likewise.
2568 (LDFLAGS-tst-backtrace2): Likewise.
2569 (LDFLAGS-tst-backtrace3): Likewise.
2570 (LDFLAGS-tst-backtrace4): Likewise.
2571 (LDFLAGS-tst-backtrace5): Likewise.
2572 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2573 tst-backtrace4 and tst-backtrace5.
2574
90567f30 25752013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2576 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2577
2578 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2579 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2580 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2581 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2583 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2584 "+r" and remove output regs list as redundant. Add explicit inline
2585 asm to specify register of return val to work around compiler codegen
2586 bug. Remove (int) cast on return value. Add return type parameter to
2587 use in macro so that this macro does not truncate return value for
2588 64-bit values.
2589 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2590 pass to INTERNAL_VSYSCALL_NCS.
2591 (INLINE_VSYSCALL): Add 'long int' as return type to
2592 INTERNAL_VSYSCALL_NCS macro invocation.
2593 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2594 INTERNAL_VSYSCALL_NCS macro invocation.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2596
d3b9ea61
SP
25972013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2598
0b57daeb
SP
2599 [BZ #14496]
2600 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2601 Fix application of SIMD FP exception mask.
2602
caa99d06
SP
2603 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2604 mp_no from a power of two.
2605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2606 __mpexp_twomm1. Use __pow_mp.
2607
d3b9ea61
SP
2608 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2609 multiplication.
2610
1dbaee3c
DM
26112013-01-17 David S. Miller <davem@davemloft.net>
2612
2613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2614
728d7b43
JM
26152013-01-17 Joseph Myers <joseph@codesourcery.com>
2616
2617 [BZ #15023]
2618 * include/complex.h: Condition contents on [!_COMPLEX_H].
2619 (__kernel_casinhf): New prototype.
2620 (__kernel_casinh): Likewise.
2621 (__kernel_casinhl): Likewise.
2622 * math/Makefile (libm_calls): Add k_casinh.
2623 * math/k_casinh.c: New file.
2624 * math/k_casinhf.c: Likewise.
2625 * math/k_casinhl.c: Likewise.
2626 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2627 finite nonzero arguments.
2628 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2629 finite nonzero arguments.
2630 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2631 finite nonzero arguments.
2632 * math/s_casinh.c: Do not include <float.h>.
2633 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2634 * math/s_casinhf.c: Do not include <float.h>.
2635 (__casinhf): Move code for finite nonzero arguments to
2636 k_casinhf.c.
2637 * math/s_casinhl.c: Do not include <float.h>.
2638 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2639 redefine.
2640 (__casinhl): Move code for finite nonzero arguments to
2641 k_casinhl.c.
2642 * math/libm-test.inc (cacos_test): Add more tests.
2643 * sysdeps/i386/fpu/libm-test-ulps: Update.
2644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2645
2a26ef3a
PT
26462013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2647
2648 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2649 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2650 [!HAVE_MREMAP]: Remove [defined linux] case.
2651 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2652
a897655d
SP
26532013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2654
2655 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2656
881ebe89 26572013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2658
2659 * elf/elf.h (R_386_SIZE32): New relocation.
2660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2661 R_386_SIZE32.
2662 (elf_machine_rela): Likewise.
2663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2664 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2665
59981e9b
JM
26662013-01-17 Joseph Myers <joseph@codesourcery.com>
2667
2668 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2669 (FP_FAST_FMA): Do not define.
2670 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2671 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2672 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2673 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2674 !_SOFT_FLOAT]: Likewise.
2675 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2676 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2677 value.
2678 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2679 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2680 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2681 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2682 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2683 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2684 file.
2685
cfa8054f
AS
26862013-01-16 Andreas Schwab <schwab@suse.de>
2687
2688 [BZ #14327]
2689 * include/stdlib.h (__mktemp): Add declaration.
2690 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2691 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2692
dd930cc5
SP
26932013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2694
881ebe89
SP
2695 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2696 definitions.
2697 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2698 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2699 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2700 definitions here.
2701 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2702 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2703 definitions.
2704 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2705 and ONE.
2706 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2707 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2708 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2709 definitions.
2710 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2711 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2712 definitions.
2713 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 2714
dd930cc5
SP
2715 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2716
c19a9f89
DM
27172013-01-15 David S. Miller <davem@davemloft.net>
2718
1aa61767
DM
2719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2720 trunc{,f} to libm-sysdep_routes.
2721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2723 file.
2724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2726 file.
2727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2728 file.
2729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2731 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2732 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2733 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2734 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2735 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2736 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2737
c42d5e98
DM
2738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2739 nearbyint{,f} to libm-sysdep_routes.
2740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2742 New file.
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2744 file.
2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2746 New file.
2747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2748 file.
2749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2751 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2752 file.
2753 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2754 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2755 file.
2756 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2757 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2758 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2759
c19a9f89
DM
2760 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2761 libc_feholdexcept and libc_fesetenv.
2762
357679d2
MF
27632013-01-15 Mike Frysinger <vapier@gentoo.org>
2764
2765 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2766
65a82e3d
DM
27672013-01-14 David S. Miller <davem@davemloft.net>
2768
8b954ab9
DM
2769 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2770 (SPARC_ASM_VIS2_IFUNC): Likewise.
2771 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2773 use of 'siam' instruction.
2774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2775 Likewise.
2776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2777 Likewise.
2778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2779 Likewise.
2780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2785 file.
2786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2787 file.
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2789 file.
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2791 file.
2792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2797 new VIS2 routines.
2798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2801 Likewise.
2802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2807 routines to libm-sysdep_routines.
2808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2809
65a82e3d
DM
2810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2811 fdim/fdimf to libm-sysdep_routines.
2812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2813 file.
2814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2816 file.
2817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2820 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2821 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2822 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2823 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2824
e34ab705
SP
28252013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2826
2a91b573
SP
2827 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2828 to optimize copies.
2829
1066a534
SP
2830 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2833
e34ab705
SP
2834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2835 local variable MPTWO.
2836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2837 Likewise.
2838
aba5e596
MF
28392013-01-13 Mike Frysinger <vapier@gentoo.org>
2840
2841 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2842 GLOB_NOESCAPE.
2843
e557e9e5
MF
28442013-01-13 Mike Frysinger <vapier@gentoo.org>
2845
2846 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2847
0428cec9
MF
28482013-01-13 Mike Frysinger <vapier@gentoo.org>
2849
2850 * manual/pattern.texi (glob_t): Document gl_flags.
2851 (glob64_t): Likewise.
2852
8794a964
DM
28532013-01-11 David S. Miller <davem@davemloft.net>
2854
66438c3f
RM
2855 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2856 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2857 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2858 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2859 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2860 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2861 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2862 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2863 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2864 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2865 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2866 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2867 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2868
4ae4244d
DM
2869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2870 sparc V9 rather than using V8 code.
2871 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2872 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2873
8794a964
DM
2874 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2875 Move to...
2876 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2877 Here.
2878
6270516e
RM
28792013-01-11 Roland McGrath <roland@hack.frob.com>
2880
2881 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2882 not in the main loop.
2883 * configure: Regenerated.
2884
6a57d931
JM
28852013-01-11 Joseph Myers <joseph@codesourcery.com>
2886
2887 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2888 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2889 to just #else.
2890 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2891 [!__GLIBC_HAVE_LONG_LONG] case.
2892 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2893 condition to just #else.
2894 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2895 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2896 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2897 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2898 unconditional.
2899 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2900 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2901 #elif condition to just #else.
2902 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2903 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2904 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2905 #elif condition to just #else.
2906
0e8529e9
SE
29072013-01-11 Steve Ellcey <sellcey@mips.com>
2908
2909 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2910 (EF_MIPS_ARCH_64): Fix value.
2911 (EF_MIPS_ARCH_32R2): New.
2912 (EF_MIPS_ARCH_64R2): New.
2913
740b3dbe
L
29142013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2915
2916 * Makeconfig (+link-pie-before-libc): New.
2917 (+link-pie-after-libc): Likewise.
2918 (+link-pie-tests): Likewise.
2919 (+link-pie): Rewritten.
2920 (link-before-libc): Remove $(config-LDFLAGS).
2921 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2922 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2923 (config-LDFLAGS): Renamed to ...
2924 (rtld-LDFLAGS): This.
2925 (rtld-tests-LDFLAGS): New macro.
2926 (link-libc-rpath-link): Likewise.
2927 (link-libc-tests-rpath-link): Likewise.
2928 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2929 (link-libc): Prepand $(link-libc-rpath-link).
2930 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2931 (test-program-prefix): New macro.
2932 (test-via-rtld-prefix): Likewise.
2933 (test-program-cmd): Likewise.
2934 (host-test-program-cmd): Likewise.
2935 * Makefile ($(common-objpfx)testrun.sh): Replace
2936 $(run-program-prefix) with $(test-program-prefix).
2937 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2938 $(rtld-LDFLAGS).
2939 ($(common-objpfx)shlib.lds): Likewise.
2940 (build-module-helper): Likewise.
2941 ($(common-objpfx)format.lds): Likewise.
2942 * Rules (binaries-pie-tests): New.
2943 (binaries-pie-notests): Likewise.
2944 (binaries-pie): Rewritten.
2945 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2946 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2947 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2948 (make-test-out): Replace $(host-built-program-cmd) with
2949 $(host-test-program-cmd).
2950 * config.make.in (build-hardcoded-path-in-tests): New variable.
2951 * configure.in (--enable-hardcoded-path-in-tests): New configure
2952 option.
2953 (hardcoded_path_in_tests): New AC_SUBST.
2954 * configure: Regenerated.
2955 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2956 $(built-program-cmd) with $(test-program-cmd).
2957 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2958 (test_program_cmd): This.
2959 * elf/Makefile ($(objpfx)order.out): Run test with
2960 $(test-program-prefix).
2961 ($(objpfx)order2.out): Likewise.
2962 ($(objpfx)tst-initorder.out): Likewise.
2963 ($(objpfx)tst-initorder2.out): Likewise.
2964 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2965 $(test-program-cmd).
2966 ($(objpfx)tst-array1-static.out): Likewise.
2967 ($(objpfx)tst-array2.out): Likewise.
2968 ($(objpfx)tst-array3.out): Likewise.
2969 ($(objpfx)tst-array4.out): Likewise.
2970 ($(objpfx)tst-array5.out): Likewise.
2971 ($(objpfx)tst-array5-static.out): Likewise.
2972 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2973 $(test-program-cmd).
2974 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2975 $(run-program-prefix) with $(test-program-prefix).
2976 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2977 (test_program_prefix): This.
2978 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2979 $(run-program-prefix) with $(test-program-prefix).
2980 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2981 (test_program_prefix): This.
2982 * iconvdata/tst-tables.sh: Likewise.
2983 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2984 $(run-program-prefix) with $(test-program-prefix).
2985 ($(objpfx)tst-translit.out): Likewise.
2986 ($(objpfx)tst-gettext2.out): Likewise.
2987 ($(objpfx)tst-gettext4.out): Likewise.
2988 ($(objpfx)tst-gettext6.out): Likewise.
2989 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2990 (test_program_prefix): This.
2991 * intl/tst-gettext2.sh: Likewise.
2992 * intl/tst-gettext4.sh Likewise.
2993 * intl/tst-gettext6.sh: Likewise.
2994 * intl/tst-translit.sh: Likewise.
2995 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2996 with $(test-program-cmd).
2997 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2998 $(run-program-prefix) with $(test-program-prefix).
2999 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3000 (test_program_prefix): This.
3001 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3002 $(run-program-prefix) with $(test-program-prefix).
3003 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3004 (test_program_prefix): This.
3005 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3006 * posix/Makefile ($(objpfx)globtest.out): Replace
3007 $(run-via-rtld-prefix) and $(test-wrapper) with
3008 $(test-program-prefix) and $(test-via-rtld-prefix).
3009 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3010 $(test-program-prefix).
3011 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3012 $(host-test-program-cmd).
3013 (tst-spawn-ARGS): Likewise.
3014 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3015 $(test-program-prefix).
3016 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3017 (test_via_rtld_prefix): This.
3018 (test_wrapper): Renamed to ...
3019 (test_program_prefix): This.
3020 (run_program_prefix): Replaced by test_program_prefix.
3021 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3022 (test_program_prefix): This.
3023 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3024 with $(host-test-program-cmd).
3025 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3026 $(run-program-prefix) with $(test-program-prefix).
3027 ($(objpfx)tst-printf.out): Likewise.
3028 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3029 $(test-program-cmd).
3030 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3031 (test_program_prefix): This.
3032 * stdio-common/tst-unbputc.sh: Likewise.
3033 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3034 $(run-program-prefix) with $(test-program-prefix).
3035 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3036 (test_program_prefix): This.
3037 * string/Makefile ($(objpfx)tst-svc.out): Replace
3038 $(built-program-cmd) with $(test-program-cmd).
3039
c6fe55cf
AJ
30402013-01-11 Andreas Jaeger <aj@suse.de>
3041
3042 [BZ #15003]
3043 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3044 value. Sync with Linux 3.7.
3045
9e6919c8
DM
30462013-01-10 David S. Miller <davem@davemloft.net>
3047
3048 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3051
1c9f1a02
RM
30522013-01-10 Roland McGrath <roland@hack.frob.com>
3053
3054 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3055 never set.
3056 * configure: Regenerated.
3057
b9de2dde
DM
30582013-01-10 David S. Miller <davem@davemloft.net>
3059
3060 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3061 sparc V9 rather than using V8 code.
3062 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3063 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3064
e7f68ef4
RM
30652013-01-10 Roland McGrath <roland@hack.frob.com>
3066
3067 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3068 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3069 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3070 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3071 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3072 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3073 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3074 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3075 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3076 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3077 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3078 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3079 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3080 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3081 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3082 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3083 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3084 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3085 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3086 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3087 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3088 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3089 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3090 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3091 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3092 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3093 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3094
5a47cc9c
DM
30952013-01-10 David S. Miller <davem@davemloft.net>
3096
3097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3098
4cf8f209
L
30992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 * posix/Makefile (tests-static): New variable.
3102 (tests): Add $(tests-static).
3103 (tst-exec-static-ARGS): New variable.
3104 (tst-spawn-static-ARGS): Likewise.
3105 * posix/tst-exec-static.c: New file.
3106 * posix/tst-spawn-static.c: Likewise.
3107 * posix/tst-exec.c: Support run directly.
3108 * posix/tst-spawn.c: Likewise.
3109
fed0faa1
JM
31102013-01-10 Joseph Myers <joseph@codesourcery.com>
3111
828beb13
JM
3112 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3113 long.
3114 * math/bits/mathcalls.h (llrint): Likewise.
3115 (llround): Likewise.
3116 * stdlib/stdlib.h (struct drand48_data): Likewise.
3117 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3118 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3119 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3120 Likewise.
3121 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3122 Likewise.
3123 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3124 (elf_greg_t): Likewise.
3125 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3126 (__jmp_buf): Likewise.
3127 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3128 definitions.
3129 (llrint): Likewise, for all definitions.
3130 (llrintl): Likewise.
3131
fed0faa1
JM
3132 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3133 Remove [__GNUC__] condition.
3134 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3135 condition to just [__USE_ISOC99].
3136 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3137
1a20cb20
L
31382013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3139
3140 [BZ #14200]
3141 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3142 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3143 defined.
3144 (_POSIX_V6_ILP32_OFF32): Likewise.
3145 (_XBS5_ILP32_OFF32): Likewise.
3146 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3147 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3148
751b85f7
SP
31492013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3150
7490eb81
SP
3151 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3152
751b85f7
SP
3153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3154 doubles __mpexp_twomm1. Adjust usage.
3155 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3156 Remove.
3157
988197f0
AS
31582013-01-10 Andreas Schwab <schwab@suse.de>
3159
3160 [BZ #14964]
3161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3162 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3163
e83d7298
DM
31642013-01-09 David S. Miller <davem@davemloft.net>
3165
034ed64b 3166 [BZ #15003]
e83d7298
DM
3167 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3168 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3169 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3170 TCP_FASTOPEN): Define.
3171 (tcp_repair_opt): New structure.
3172 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3173 enum values.
3174 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3175 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3176 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3177 (tcp_cookie_transactions): New structure.
3178
d5e0b9bd
AB
31792013-01-09 Anton Blanchard <anton@samba.org>
3180
3181 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3182 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3184 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3185
0c07e3ea
JM
31862013-01-09 Joseph Myers <joseph@codesourcery.com>
3187
3188 * include/features.h (__USE_ANSI): Remove.
3189
232f7002
RM
31902013-01-09 Roland McGrath <roland@hack.frob.com>
3191
ad98e30c
RM
3192 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3193
232f7002
RM
3194 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3195
950c99ca
SP
31962013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3197
b5792741
SP
3198 * sysdeps/s390/fpu/libm-test-ulps: Update.
3199
47cf2278
SP
3200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3201
950c99ca
SP
3202 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3203 (__acr): Likewise.
3204 (__cpy): Likewise.
3205 (norm): Likewise.
3206 (denorm): Likewise.
3207 (__mp_dbl): Likewise.
3208 (__dbl_mp): Likewise.
3209 (add_magnitudes): Likewise.
3210 (sub_magnitudes): Likewise.
3211 (__add): Likewise.
3212 (__sub): Likewise.
3213 (__mul): Likewise.
3214 (__inv): Likewise.
3215 (__dvd): Likewise.
3216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3217 (__acr): Likewise.
3218 (__cpy): Likewise.
3219 (norm): Likewise.
3220 (denorm): Likewise.
3221 (__mp_dbl): Likewise.
3222 (__dbl_mp): Likewise.
3223 (add_magnitudes): Likewise.
3224 (sub_magnitudes): Likewise.
3225 (__add): Likewise.
3226 (__sub): Likewise.
3227 (__mul): Likewise.
3228 (__inv): Likewise.
3229 (__dvd): Likewise.
3230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3231 (__acr): Likewise.
3232 (__cpy): Likewise.
3233 (norm): Likewise.
3234 (denorm): Likewise.
3235 (__mp_dbl): Likewise.
3236 (__dbl_mp): Likewise.
3237 (add_magnitudes): Likewise.
3238 (sub_magnitudes): Likewise.
3239 (__add): Likewise.
3240 (__sub): Likewise.
3241 (__mul): Likewise.
3242 (__inv): Likewise.
3243 (__dvd): Likewise.
3244
eede9df9
JM
32452013-01-08 Joseph Myers <joseph@codesourcery.com>
3246
3247 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3248 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3249 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3250 2 && __USE_EXTERN_INLINES]: Likewise.
3251
c40ea3d9
AJ
32522013-01-08 Andreas Jaeger <aj@suse.de>
3253
3254 [BZ# 14985]
3255 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3256 Remove.
3257 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3258 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3259
2ccdea26
AB
32602013-01-07 Anton Blanchard <anton@samba.org>
3261
3262 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3263 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3264 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3265 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3266 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3267 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3268 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3269 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3271 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3272 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3273 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3276 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3277 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3278 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3279 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3280 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3284 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3285 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3286 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3287 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3288 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3289 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3291 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3292 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3294 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3295 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3296 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3297 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3298 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3299 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3300 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3301 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3302 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3303 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3304 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3305
a9708fed
JM
33062013-01-07 Joseph Myers <joseph@codesourcery.com>
3307
375607b9
JM
3308 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3309 (__MALLOC_PMT): Likewise.
3310 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3311 [__GNUC__], only on [_LIBC].
3312 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3313 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3314 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3315 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3316 forward declaration.
3317 (realloc_hook_ini): Likewise.
3318 (memalign_hook_ini): Likewise.
3319 (__libc_memalign): Do not use __MALLOC_PMT in variable
3320 declaration.
3321 (__libc_valloc): Likewise.
3322 (__libc_pvalloc): Likewise.
3323 (__libc_calloc): Likewise.
3324 (__posix_memalign): Likewise.
3325
a9708fed
JM
3326 [BZ #14996]
3327 * math/s_casinh.c: Include <float.h>.
3328 (__casinh): Do not do computation with squaring and square root
3329 for large arguments.
3330 * math/s_casinhf.c: Include <float.h>.
3331 (__casinhf): Do not do computation with squaring and square root
3332 for large arguments.
3333 * math/s_casinhl.c: Include <float.h>.
3334 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3335 (__casinhl): Do not do computation with squaring and square root
3336 for large arguments.
3337 * math/libm-test.inc (casin_test): Add more tests.
3338 (casinh_test): Likewise.
3339 * sysdeps/i386/fpu/libm-test-ulps: Update.
3340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3341
afec409a
L
33422013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3343
3344 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3345 (__x86_64_raw_data_cache_size): Likewise.
3346 (__x86_64_data_cache_size_half): Likewise.
3347 (__x86_64_raw_data_cache_size_half): Likewise.
3348 (__x86_64_shared_cache_size): Likewise.
3349 (__x86_64_raw_shared_cache_size): Likewise.
3350 (__x86_64_shared_cache_size_half): Likewise.
3351 (__x86_64_raw_shared_cache_size_half): Likewise.
3352 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3353 to ...
3354 (__x86_data_cache_size): This.
3355 (__x86_64_raw_data_cache_size): Renamed to ...
3356 (__x86_raw_data_cache_size): This.
3357 (__x86_64_data_cache_size_half): Renamed to ...
3358 (__x86_data_cache_size_half): This.
3359 (__x86_64_raw_data_cache_size_half): Renamed to ...
3360 (__x86_raw_data_cache_size_half): This.
3361 (__x86_64_shared_cache_size): Renamed to ...
3362 (__x86_shared_cache_size): This.
3363 (__x86_64_raw_shared_cache_size): Renamed to ...
3364 (__x86_raw_shared_cache_size): This.
3365 (__x86_64_shared_cache_size_half): Renamed to ...
3366 (__x86_shared_cache_size_half): This.
3367 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3368 (__x86_raw_shared_cache_size_half): This.
3369 * sysdeps/x86_64/memcpy.S: Updated.
3370 * sysdeps/x86_64/memset.S: Likewise.
3371 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3374
0b3986d0
DM
33752013-01-04 David S. Miller <davem@davemloft.net>
3376
3377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3378
e47686e9
AS
33792013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3380
d643bac1
AS
3381 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3382 1 to avoid redefinition warning.
3383 (__USE_GNU): Don't define.
3384 (init_signaling_nan): Protoize.
3385
e47686e9
AS
3386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3387
b18decba
SP
33882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3389
fffb407f
SP
3390 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3392 (__cpymn): Likewise.
3393 (norm): Remove commented code.
3394 (denorm): Likewise.
3395 (__mp_dbl): Likewise.
3396 (__inv): Likewise.
3397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3398 (__cpymn): Likewise.
3399 (norm): Remove commented code.
3400 (denorm): Likewise.
3401 (__mp_dbl): Likewise.
3402 (__inv): Likewise.
3403
b18decba
SP
3404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3405 mp_no value for 1.0 and 2.0.
3406 (norm): Use RADIXI instead of radixi.d.
3407 (denorm): Likewise.
3408 (__mul): Use 0.0 instead of zero.d.
3409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3410 mp_no value for 1.0 and 2.0.
3411 (norm): Use RADIXI instead of radixi.d.
3412 (denorm): Likewise.
3413 (__mul): Use 0.0 instead of zero.d.
3414
cdc1c96f
JM
34152013-01-04 Joseph Myers <joseph@codesourcery.com>
3416
3417 [BZ #14994]
3418 * math/s_casinh.c (__casinh): Reduce finite argument to first
3419 quadrant then set signs of results at the end.
3420 * math/s_casinhf.c (__casinhf): Likewise.
3421 * math/s_casinhl.c (__casinhl): Likewise.
3422 * math/libm-test.inc (casin_test): Add more tests.
3423 (casinh_test): Likewise.
3424 * sysdeps/i386/fpu/libm-test-ulps: Update.
3425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3426
302913e1
SP
34272013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3428
6420d207
SP
3429 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3430
a9e48ab4
SP
3431 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3432
b7837264
SP
3433 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3434 declarations.
3435 (denorm): Likewise.
3436 (__mp_dbl): Likewise.
3437 (__inv): Likewise.
3438
f8af25d2
SP
3439 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3440 and adjust the header comment.
3441
302913e1
SP
3442 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3443 variable name from declaration.
3444
5d7dd1ca
L
34452013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3446
3447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3448 Initialize COMMON_CPUID_INDEX_7 element.
3449 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3450 (CPUID_RTM): Likewise.
3451 (HAS_RTM): Likewise.
3452 (COMMON_CPUID_INDEX_7): New enum.
3453
2f5f40f4
AS
34542013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3455
3456 [BZ #14981]
3457 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3458 size is zero, record memory as freed.
3459
4056f4a0
AJ
34602013-01-03 Andreas Jaeger <aj@suse.de>
3461
3462 * po/ia.po: Add new Interlingua translation.
3463
ab15736f 34642012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3465
3466 * locale/programs/localedef.c: Fix description of '--posix' flag.
3467
568035b7
JM
34682013-01-02 Joseph Myers <joseph@codesourcery.com>
3469
e6898b8d
JM
3470 * NEWS: Update dates in second copyright notice.
3471 * README: Update copyright dates in example.
3472 * manual/libc.texinfo: Update copyright dates.
3473 * scripts/test-installation.pl: Update copyright date in --version
3474 output.
3475
0e2f9562
JM
3476 * hurd/ctty-input.c: Fix copyright notice formatting.
3477 * hurd/ctty-output.c: Likewise.
3478 * hurd/dtable.c: Likewise.
3479 * hurd/hurd-raise.c: Likewise.
3480 * hurd/hurdprio.c: Likewise.
3481 * hurd/msgportdemux.c: Likewise.
3482 * misc/sys/file.h: Likewise.
3483 * misc/sys/ioctl.h: Likewise.
3484 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3485 * sysdeps/mach/hurd/chdir.c: Likewise.
3486 * sysdeps/mach/hurd/fchdir.c: Likewise.
3487 * sysdeps/mach/hurd/rename.c: Likewise.
3488 * sysdeps/mach/hurd/rmdir.c: Likewise.
3489 * sysdeps/mach/hurd/seekdir.c: Likewise.
3490 * sysdeps/mach/hurd/setsid.c: Likewise.
3491 * sysdeps/posix/wait3.c: Likewise.
3492
568035b7
JM
3493 * All files with FSF copyright notices: Update copyright dates
3494 using scripts/update-copyrights.
3495 * intl/plural.c: Regenerated.
3496 * locale/programs/charmap-kw.h: Likewise.
3497 * locale/programs/locfile-kw.h: Likewise.
3498
da08f647
SP
34992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3500
0f5477af
SP
3501 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3502 four values.
3503
44e0d4c2
SP
3504 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3505 calculation loop and add branch prediction.
3506
4d55b4e5
SP
3507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3508 check access beyond bounds of m1np.
3509
da08f647
SP
3510 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3511 MPTWO.
3512 (__inv): Remove local variable MPTWO to use the global
3513 constant.
3514 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3515 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3516 variable MPTWO.
3517 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3518 MP3HALFS static const.
3519
8e051029
DM
35202013-01-01 David S. Miller <davem@davemloft.net>
3521
3522 * po/ca.po: Update from translation team.
3523
f4cf5f2d
JM
35242013-01-01 Joseph Myers <joseph@codesourcery.com>
3525
3526 * scripts/update-copyrights: New file.
3527 * Makeconfig: Reformat copyright notice.
3528 * ctype/ctype.h: Likewise.
3529 * debug/swprintf_chk.c: Likewise.
3530 * elf/dl-cache.c: Likewise.
3531 * elf/dl-debug.c: Likewise.
3532 * elf/dl-object.c: Likewise.
3533 * grp/initgroups.c: Likewise.
3534 * hurd/Makefile: Likewise.
3535 * hurd/hurd/signal.h: Likewise.
3536 * hurd/hurdfault.c: Likewise.
3537 * hurd/hurdioctl.c: Likewise.
3538 * hurd/hurdlookup.c: Likewise.
3539 * hurd/intr-msg.c: Likewise.
3540 * iconv/gconv_open.c: Likewise.
3541 * libio/swprintf.c: Likewise.
3542 * locale/lc-ctype.c: Likewise.
3543 * locale/nl_langinfo.c: Likewise.
3544 * mach/Machrules: Likewise.
3545 * mach/Makefile: Likewise.
3546 * malloc/obstack.h: Likewise.
3547 * manual/Makefile: Likewise.
3548 * manual/tsort.awk: Likewise.
3549 * misc/bits/stab.def: Likewise.
3550 * nis/nis_print_group_entry.c: Likewise.
3551 * nis/nis_table.c: Likewise.
3552 * nis/nss_compat/compat-pwd.c: Likewise.
3553 * nis/nss_compat/compat-spwd.c: Likewise.
3554 * po/Makefile: Likewise.
3555 * posix/fnmatch.c: Likewise.
3556 * posix/regex.h: Likewise.
3557 * resolv/Makefile: Likewise.
3558 * resolv/nss_dns/dns-network.c: Likewise.
3559 * resolv/res_hconf.c: Likewise.
3560 * scripts/gen-sorted.awk: Likewise.
3561 * soft-fp/soft-fp.h: Likewise.
3562 * stdio-common/printf.h: Likewise.
3563 * stdlib/monetary.h: Likewise.
3564 * stdlib/random.c: Likewise.
3565 * stdlib/random_r.c: Likewise.
3566 * sysdeps/generic/Makefile: Likewise.
3567 * sysdeps/gnu/Makefile: Likewise.
3568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3591 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3592 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3594 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3595 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3596 * sysdeps/mach/hurd/errnos.awk: Likewise.
3597 * sysdeps/mach/hurd/fork.c: Likewise.
3598 * sysdeps/mach/hurd/getcwd.c: Likewise.
3599 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3600 * sysdeps/mach/hurd/mmap.c: Likewise.
3601 * sysdeps/mach/hurd/utimes.c: Likewise.
3602 * sysdeps/mach/hurd/xmknod.c: Likewise.
3603 * sysdeps/posix/profil.c: Likewise.
3604 * sysdeps/posix/readdir_r.c: Likewise.
3605 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3606 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3607 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3608 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3610 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3612 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3614 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3615 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3616 * sysdeps/pthread/lio_listio.c: Likewise.
3617 * sysdeps/sparc/dl-procinfo.h: Likewise.
3618 * sysdeps/unix/i386/sysdep.S: Likewise.
3619 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3620 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3621 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3622 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3624 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3625 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3626 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3627 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3628 * sysdeps/wordsize-32/divdi3.c: Likewise.
3629 * time/sys/time.h: Likewise.
3630 * wcsmbs/Makefile: Likewise.
3631
0549fbba
DM
36322013-01-01 David S. Miller <davem@davemloft.net>
3633
a141f1a7
DM
3634 * po/fr.po: Update from translation team.
3635
0549fbba
DM
3636 * catgets/gencat.c: Update copyright year.
3637 * csu/version.c: Likewise.
3638 * debug/catchsegv.sh: Likewise.
3639 * debug/pcprofiledump.c: Likewise.
3640 * debug/xtrace.sh: Likewise.
3641 * elf/ldconfig.c: Likewise.
3642 * elf/ldd.bash.in: Likewise.
3643 * elf/pldd.c: Likewise.
3644 * elf/sotruss.ksh: Likewise.
3645 * elf/sprof.c: Likewise.
3646 * iconv/iconv_prog.c: Likewise.
3647 * iconv/iconvconfig.c: Likewise.
3648 * locale/programs/locale.c: Likewise.
3649 * locale/programs/localedef.c: Likewise.
3650 * login/programs/pt_chown.c: Likewise.
3651 * malloc/memusage.sh: Likewise.
3652 * malloc/memusagestat.c: Likewise.
3653 * malloc/mtrace.pl: Likewise.
3654 * nscd/nscd.c: Likewise.
3655 * nss/getent.c: Likewise.
3656 * nss/makedb.c: Likewise.
3657 * posix/getconf.c: Likewise.
3658
18ea052c
SP
36592012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3660
3661 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3662 numbers.
3663
9c89fca6
MF
36642012-12-30 Mike Frysinger <vapier@gentoo.org>
3665
3666 * math/bits/mathcalls.h (modf): Use __nonnull.
3667
085ec079
SP
36682012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3669
3670 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3671 (split): Use macro CN instead of the bare value.
3672 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3673 could be used.
3674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3675 instead of the bare value.
3676 (power1): Likewise.
3677
6d9f97e1
SP
36782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3679
d63f73be
SP
3680 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3681 __ATAN_TWOM.
3682 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3683
6d9f97e1
SP
3684 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3685 their values.
3686 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3687 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3688 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3689 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3690
4c4febf5
AJ
36912012-12-28 Andreas Jaeger <aj@suse.de>
3692
af5843ef
AJ
3693 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3694 values are from Linux 3.7.
3695
4c4febf5
AJ
3696 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3697 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3698
99136f82
SP
36992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3700
2f216c3c 3701 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
3702 TRUE case.
3703
99136f82
SP
3704 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3705 (norm): Likewise.
3706 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3707 variables with preprocessor constants.
3708 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3709 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3710 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3711
7fffbdff
BH
37122012-12-27 Bruno Haible <bruno@clisp.org>
3713
3714 [BZ #14317]
3715 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3716 only if needed.
3717
b76eb5f0
SP
37182012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3719
31a7fe5c
SP
3720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3721 and use variable directly.
3722 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3723
b76eb5f0
SP
3724 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3725 MPONE.
3726 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3727 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3728 variable MPONE.
3729 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3731 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3732 include directive. Remove local variable MPONE.
3733 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3734 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3735 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3736
2c8bfe7d
DM
37372012-12-25 David S. Miller <davem@davemloft.net>
3738
3739 * version.h (RELEASE): Set to "development".
3740 (VERSION): Set to "2.17.90".
3741 * NEWS: Add 2.18 section.
3742
147d03b0
DM
37432012-12-21 David S. Miller <davem@davemloft.net>
3744
3745 * po/hr.po: Update from translation team.
3746
a8ebb2b9
AK
37472012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3748
3749 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3750
95b4f1b6
SE
37512012-12-19 Steve Ellcey <sellcey@mips.com>
3752
b2d94007 3753 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 3754
cedb2a90
MS
37552012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3756
3757 * manual/contrib.texi (Contributors): Spelling correction.
3758
bbf527d6
DM
37592012-12-15 David S. Miller <davem@davemloft.net>
3760
3761 * po/ru.po: Update from translation team.
3762
bc38c906
DM
37632012-12-13 David S. Miller <davem@davemloft.net>
3764
85429b1a
DM
3765 * NEWS: Mention IFUNC testsuite enhancements.
3766
d283e353
DM
3767 * po/pl.po: Update from translation team.
3768 * po/bg.po: Likewise.
3769
bc38c906
DM
3770 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3771 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3772
a181b0d7
DM
37732012-12-11 David S. Miller <davem@davemloft.net>
3774
4641d57e
DM
3775 * po/sv.po: Update from translation team.
3776
f7bc6495
DM
3777 * po/vi.po: Update from translation team.
3778
6fc9048f
DM
3779 * po/cs.po: Update from translation team.
3780
a181b0d7
DM
3781 * po/de.po: Update from translation team.
3782 * po/eo.po: Likewise.
3783 * po/nl.po: Likewise.
3784
f70bfe80
SP
37852012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3786
3c8b4190
SP
3787 [BZ #14246]
3788 * manual/argp.texi (Argp Helper Functions): Move node to follow
3789 Argp Parsing State.
3790
f70bfe80
SP
3791 [BZ #14872]
3792 * manual/conf.texi (Limits on File System Capacity): Mention if
3793 terminating null is included in the max size.
3794
188f0adf
AJ
37952012-12-10 Andreas Jaeger <aj@suse.de>
3796
3797 * po/cs.po: Update from translation team.
3798
56e7d3ad
SP
37992012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3800
3801 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3802 void pointer and cast to uintptr_t.
3803 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3804 path.
3805 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3806 * sysdeps/s390/s390-64/memset.S: Likewise.
3807
76f2d2ea 38082012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3809
3810 [BZ #14833]
3811 * menual/message.texi (Message Translation): Fix typos.
3812 (Helper programs for gettext): Likewise.
3813
67cbf9a2
AS
38142012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3815
3816 [BZ #14898]
3817 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3818 Change to -1.
3819
682d0e9a
DM
38202012-12-07 David S. Miller <davem@davemloft.net>
3821
3822 * po/libc.pot: Update.
3823
573cd484
RH
38242012-12-07 Richard Henderson <rth@redhat.com>
3825
7e9da188 3826 [BZ #10114]
573cd484
RH
3827 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3828 normal/normal case to before the switch.
3829 (_FP_DIV): Likewise.
3830
e933a943
MF
38312012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3832 Mike Frysinger <vapier@gentoo.org>
3833
3834 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3835 check for __NR_fadvise64_64.
3836
82123268
CM
38372012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3838
3839 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3840 0, not just to plain "0" as a statement.
3841 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3842 with cw.
3843
d9814526
JM
38442012-12-06 Joseph Myers <joseph@codesourcery.com>
3845
3846 * NEWS: Use sourceware.org in Bugzilla URL.
3847
7728c574
SP
38482012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3849
f16946dd
SP
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3851 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3852
5704bbcb
SP
3853 * stdio-common/tst-put-error.c (do_test): Add newline to the
3854 padded test to ensure flush.
3855
17aa0516
JL
38562012-12-05 Jeff Law <law@redhat.com>
3857
3858 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3859
363313b5
JM
38602012-12-05 Joseph Myers <joseph@codesourcery.com>
3861
effbd42a
JM
3862 * README: Don't refer to ports add-on as distributed separately.
3863 Mention AArch64 in list of systems supported in the ports add-on.
3864
87600365
JM
3865 * LICENSES: Add more non-FSF copyright and license notices.
3866
a0d7066a
JM
3867 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3868 ((unused)).
3869
66ca5a5b
JM
3870 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3871
363313b5
JM
3872 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3873 10000 as width of padded output.
3874
b37984ad
JM
38752012-12-04 Joseph Myers <joseph@codesourcery.com>
3876
9003570a
JM
3877 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3878
b37984ad
JM
3879 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3880 variable LX with __attribute__ ((unused)).
3881 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3882 Likewise.
3883 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3885 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3886 with __attribute__ ((unused)).
3887
c8df52ec
DM
38882012-12-04 David S. Miller <davem@abraco.davemloft.net>
3889
3890 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3891
b3b099af
JM
38922012-12-04 Joseph Myers <joseph@codesourcery.com>
3893
c33aa6e3
JM
3894 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3895 (CFLAGS-nldbl-acos.c): New variable.
3896 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3897 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3898 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3899 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3900 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3901 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3902 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3903 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3904 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3905 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3906 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3907 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3908 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3909 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3910 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3911 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3912 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3913 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3914 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3915 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3916 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3917 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3918 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3919 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3920 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3921 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3922 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3923 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3924 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3925 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3926 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3927 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3928 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3929 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3930 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3931 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3932 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3933 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3934 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3935 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3936 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3937 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3938 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3939 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3940 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3941 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3942 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3943 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3944 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3945 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3946 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3947 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3948 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3949 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3950 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3951 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3952 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3953 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3954 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3955 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3956 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3957 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3958 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3959 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3960 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3961 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3962 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3963 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3964 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3965 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3966 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3967 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3968 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3969 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3970 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3971 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3972 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3973 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3974 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3975 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3976 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3977 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3978 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3979 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3980 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3981 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3982 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3983 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3984 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3985 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3986 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3987 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3988 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3989 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3990 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3991 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3992 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3993
20f0018d
JM
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3995 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3996
b3b099af
JM
3997 [BZ #14914]
3998 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3999 whole low double instead of just low 47 bits when splitting values
4000 into two parts.
4001
029264d1
AM
40022012-12-03 Allan McRae <allan@archlinux.org>
4003
4004 * manual/stdio.texi (Predefined Printf Handlers): Remove
4005 @hsep and @vsep usage.
4006
c9d6789e
MF
40072012-12-03 Mike Frysinger <vapier@gentoo.org>
4008
4009 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4010 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4011
4b7634a5
JL
40122012-12-03 Jeff Law <law@redhat.com>
4013
4014 * time/sys/time.h (settimeofday): Do not mark TV argument
4015 as __nonnull.
4016
eb6cbd24
MF
40172012-12-01 Mike Frysinger <vapier@gentoo.org>
4018
4019 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4020 when currently writing and seek to current position when not.
4021 * libio/Makefile (tests): Remove bug-fclose1.
4022 * libio/bug-fclose1.c: Delete.
4023
f638872a
JM
40242012-12-01 Joseph Myers <joseph@codesourcery.com>
4025
4026 * manual/arith.texi (feenableexcept): Fix typo.
4027 (fedisableexcept): Likewise.
4028
48085d14
RM
40292012-11-30 Roland McGrath <roland@hack.frob.com>
4030
4031 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4032 second, differently-typed declaration, rather than a cast.
4033
1a538b9f
SP
40342012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4035
4036 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4037 * include/rpc/svc.h: ... here.
4038
d07f2ff1 40392012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4040
4041 [BZ #13013]
4042 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4043 depending n and resplen2 to catch cases where answer
4044 equals answerp2.
4045
c93ec1f0
CD
40462012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4047
4048 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4049 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4050
37db69de
MF
40512012-11-29 Mike Frysinger <vapier@gentoo.org>
4052
4053 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4054
e10c4e4f
RM
40552012-11-29 Roland McGrath <roland@hack.frob.com>
4056
4057 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4058
2af1b328
JL
40592012-11-28 Jeff Law <law@redhat.com>
4060
4061 [BZ #13761]
4062 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4063 dataset_temporary. Track alloca usage into alloca_used.
4064 If dataset is large allocate and release it via malloc/free.
4065
111db5b1
FW
40662012-06-04 Florian Weimer <fweimer@redhat.com>
4067
f06cc227 4068 [BZ #14197]
111db5b1
FW
4069 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4070
dd694abd
DM
40712012-11-28 David S. Miller <davem@davemloft.net>
4072
4073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4074
9984dd01
JM
40752012-11-28 Joseph Myers <joseph@codesourcery.com>
4076
4077 [BZ #14803]
4078 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4079 of pi/2 rounded to nearest to 64 bits.
4080 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4081 nearest to 64 bits.
4082 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4083 bits.
4084
14bc93a9
JL
40852012-11-28 Jeff Law <law@redhat.com>
4086 Martin Osvald <mosvald@redhat.com>
4087
4088 [BZ #14889]
4089 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4090 * sunrpc/svc.c: Include time.h.
4091 (__svc_accept_failed): New function.
4092 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4093 any reason other than EINTR, call __svc_accept_failed.
4094 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4095 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4096
e3c6aa3a
AS
40972012-11-28 Andreas Schwab <schwab@suse.de>
4098
4099 * scripts/abilist.awk: Also handle indirect functions in .opd
4100 section.
4101
1bead169
JM
41022012-11-28 Joseph Myers <joseph@codesourcery.com>
4103
4104 [BZ #13881]
4105 * sysdeps/x86/fpu/powl_helper.c: New file.
4106 * sysdeps/x86/fpu/Makefile: Likewise.
4107 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4108 (p3): New object.
4109 (__ieee754_powl): Use __powl_helper for finite arguments except
4110 integer exponents below 8.
4111 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4112 (p3): New object.
4113 (__ieee754_powl): Use __powl_helper for finite arguments except
4114 integer exponents below 8.
4115 * math/libm-test.inc (pow_test): Add more tests and enable some
4116 previously disabled tests.
4117 * sysdeps/i386/fpu/libm-test-ulps: Update.
4118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4119
0817d63d
SP
41202012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4121 Carlos O'Donell <carlos_odonell@mentor.com>
4122
4123 * nss/makedb.c (is_prime): Assert that input is odd and greater
4124 than 4. Note that fact in a comment too.
4125 (next_prime): Add 4 to input.
4126
de2fd463
SP
41272012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4128
4129 [BZ #11741]
4130 * libio/Makefile (tests): Add test case tst-fwrite-error.
4131 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4132 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4133 * libio/tst-fwrite-error.c: New test case.
4134
c515fb51
L
41352012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4136
4137 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4138 before casting to void *.
4139 * include/libc-internal.h (__pointer_type): New macro.
4140 (__integer_if_pointer_type_sub): Likewise.
4141 (__integer_if_pointer_type): Likewise.
4142 (cast_to_integer): Likewise.
4143 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4144 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4145 before casting to atomic64_t.
4146 (atomic_exchange_acq): Likewise.
4147 (__arch_exchange_and_add_body): Likewise.
4148 (__arch_add_body): Likewise.
4149 (atomic_add_negative): Likewise.
4150 (atomic_add_zero): Likewise.
4151
4cf77aa9
JM
41522012-11-26 Joseph Myers <joseph@codesourcery.com>
4153
4154 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4155 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4156 (add_fdes): Likewise.
4157 (linear_search_fdes): Likewise.
4158 (binary_search_unencoded_fdes): Likewise.
4159
d260b3b4
AS
41602012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4161
4162 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4163
67060746
AC
41642012-11-24 Adam Conrad <adconrad@0c3.net>
4165
4166 * configure.in: Autodetect C++ header directories.
4167 * configure: Regenerated.
4168
800938a1
MF
41692012-11-23 Mike Frysinger <vapier@gentoo.org>
4170
4171 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4172
4e6e34e6
AS
41732012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4174
4175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4176
7c7feb47
JM
41772012-11-22 Joseph Myers <joseph@codesourcery.com>
4178
7184dcdf
JM
4179 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4180 LDBL_MANT_DIG == 106]: Disable some tests.
4181 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4182 Likewise.
4183 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4184 Likewise.
4185
0a42601f
JM
4186 [BZ #14871]
4187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4188 input for small inputs. Return +/- pi/2 for large inputs.
4189 * math/libm-test.inc (atan_test): Add more tests.
4190
79c9b9fe
JM
4191 * sysdeps/generic/unwind-dw2-fde-glibc.c
4192 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4193 __attribute__ ((unused)).
4194
c60d3bf2
JM
4195 [BZ #14645]
4196 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4197 x * y if x and y are nonzero and z is zero.
4198
ef1e0867
JM
4199 [BZ #14811]
4200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4201 nonzero exponents with absolute value below 0x1p-117 to +/-
4202 0x1p-117.
4203
1468ded3
JM
4204 [BZ #14869]
4205 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4206 up arguments below 2**-450, not just those below 2**-500.
4207 * math/libm-test.inc (hypot_test): Add another test.
4208
8e27e3cc
JM
4209 [BZ #14868]
4210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4211 Return a+b for ratio over 2**120, not 2**60.
4212 * math/libm-test.inc (hypot_test): Add another test.
4213
c9c0279b
JM
4214 * math/libm-test.inc (clog_test): Use
4215 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4216 (clog10_test): Likewise.
4217
7c7feb47
JM
4218 [BZ #6778]
4219 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4220
fff1530e
AS
42212012-11-22 Andreas Schwab <schwab@suse.de>
4222
4223 * sysdeps/i386/fpu/libm-test-ulps: Update.
4224
94558d30
PT
42252012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4226
4227 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4228 printf output with newline.
4229
7e1be741
L
42302012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4231
6bfea974
L
4232 [BZ #14865]
4233 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4234 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4235 -z nodlopen, -z initfirst and -z execstack support.
4236 * configure: Regenerated.
4237
7e1be741
L
4238 * elf/elf.h (DF_1_NODIRECT): New macro.
4239 (DF_1_IGNMULDEF): Likewise.
4240 (DF_1_NOKSYMS): Likewise.
4241 (DF_1_NOHDR): Likewise.
4242 (DF_1_EDITED): Likewise.
4243 (DF_1_NORELOC): Likewise.
4244 (DF_1_SYMINTPOSE): Likewise.
4245 (DF_1_GLOBAUDIT): Likewise.
4246 (DF_1_SINGLETON): Likewise.
4247 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4248 DT_1_SUPPORTED_MASK bits.
4249 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4250
105ce2ce
CD
42512012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4252
4253 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4254
123be9de
TS
42552012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4256
d072f3f7
TS
4257 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4258 macro.
4259
123be9de
TS
4260 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4261 (sendmmsg): Move declarations...
4262 * socket/sys/socket.h: ... here.
4263 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4264 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4265 include it from...
4266 * socket/recvmmsg.c: ... this new file.
4267 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4268 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4269 definition of __sendmmsg hidden.
4270 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4271 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4272 Move ENOSYS stub into and include it from...
4273 * socket/sendmmsg.c: ... this new file.
4274 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4275 (sysdep_routines): Move recvmmsg and sendmmsg...
4276 * socket/Makefile (routines): ... here.
4277 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4278 (GLIBC_PRIVATE): Add __sendmmsg.
4279 * include/sys/socket.h (__sendmmsg): Add declarations.
4280 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4281 sendmmsg.
4282
cf9a5d18
JM
42832012-11-20 Joseph Myers <joseph@codesourcery.com>
4284
4285 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4286 variable I1 with __attribute__ ((unused)).
4287 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4288
ecd4caf9
JM
42892012-11-19 Joseph Myers <joseph@codesourcery.com>
4290
be14d48f
JM
4291 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4292 DUMMY variables with __attribute__ ((unused)).
4293
ecd4caf9
JM
4294 * bits/byteswap.h: Include <bits/types.h>.
4295 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4296
986cab95
PT
42972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4298
4299 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4300 string_t. Do not manually set errno.
4301 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4302 length with __strnlen. Make sure to both set errno and return it on
4303 failure.
4304
6d33cc9d
DM
43052012-11-19 David S. Miller <davem@davemloft.net>
4306
4307 With help from Joseph Myers.
4308 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4309 very large arguments properly.
4310 * math/libm-test.inc (atan_test): New tests.
4311 (atan2_test): New tests.
4312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4314
ee663277
JM
43152012-11-19 Joseph Myers <joseph@codesourcery.com>
4316
877f2d8e
JM
4317 [BZ #14856]
4318 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4319 Define to 3.
4320
116fc08a
JM
4321 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4322 [POSIX] (EADDRNOTAVAIL): Likewise.
4323 [POSIX] (EAFNOSUPPORT): Likewise.
4324 [POSIX] (EALREADY): Likewise.
4325 [POSIX] (ECONNABORTED): Likewise.
4326 [POSIX] (ECONNREFUSED): Likewise.
4327 [POSIX] (ECONNRESET): Likewise.
4328 [POSIX] (EDESTADDRREQ): Likewise.
4329 [POSIX] (EDQUOT): Likewise.
4330 [POSIX] (EHOSTUNREACH): Likewise.
4331 [POSIX] (EIDRM): Likewise.
4332 [POSIX] (EISCONN): Likewise.
4333 [POSIX] (ELOOP): Likewise.
4334 [POSIX] (EMULTIHOP): Likewise.
4335 [POSIX] (ENETDOWN): Likewise.
4336 [POSIX] (ENETUNREACH): Likewise.
4337 [POSIX] (ENOBUFS): Likewise.
4338 [POSIX] (ENODATA): Likewise.
4339 [POSIX] (ENOLINK): Likewise.
4340 [POSIX] (ENOMSG): Likewise.
4341 [POSIX] (ENOPROTOOPT): Likewise.
4342 [POSIX] (ENOSR): Likewise.
4343 [POSIX] (ENOSTR): Likewise.
4344 [POSIX] (ENOTCONN): Likewise.
4345 [POSIX] (ENOTSOCK): Likewise.
4346 [POSIX] (EOPNOTSUPP): Likewise.
4347 [POSIX] (EOVERFLOW): Likewise.
4348 [POSIX] (EPROTO): Likewise.
4349 [POSIX] (EPROTONOSUPPORT): Likewise.
4350 [POSIX] (EPROTOTYPE): Likewise.
4351 [POSIX] (ESTALE): Likewise.
4352 [POSIX] (ETIME): Likewise.
4353 [POSIX] (ETXTBSY): Likewise.
4354 [POSIX] (EWOULDBLOCK): Likewise.
4355 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4356 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4357 [POSIX] (SEEK_CUR): Likewise.
4358 [POSIX] (SEEK_END): Likewise.
4359 [POSIX || UNIX98] (mode_t): Do not require.
4360 [POSIX] (off_t): Likewise.
4361 [POSIX] (pid_t): Likewise.
4362 [POSIX] (sys/stat.h): Do not allow header.
4363 [POSIX] (unistd.h): Likewise.
4364 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4365 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4366 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4367 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4368 require.
4369 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4370 sigevent): Specify elements.
4371 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4372 entry.
4373 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4374 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4375
a483863f
JM
4376 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4377 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4378 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4379 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4380 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4381 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4382 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4383 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4384 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4385 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4386 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4387 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4388 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4389 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4390 Likewise.
4391 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4392 Likewise.
4393 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4394 Likewise.
4395 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4396 Likewise.
4397 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4398 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4399 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4400 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4401 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4402 Specify lower bound on value.
4403 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4404 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4405 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4406 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4407 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4408 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4409 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4410 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4411 value.
4412 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4413 as optional.
4414 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4415 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4416 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4417 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4418 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4419 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4420 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4421 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4422 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4423 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4424 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4425 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4426 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4427 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4428 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4429 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4430 entry.
4431 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4432 optional.
4433 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4436 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4437 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4438 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4439 Likewise.
4440 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4441 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4442 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4443 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4444 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4445 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4446 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4447 as optional.
4448 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4449 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4450 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4451 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4452 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4453 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4454 specify as optional.
4455 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4456 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4457 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4458 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4459 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4460 [XPG3] (NL_LANGMAX): Likewise.
4461 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4462 [POSIX || XPG3] (NL_NMAX): Likewise.
4463 [POSIX || XPG3] (NL_SETMAX): Likewise.
4464 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4465 [XPG3] (NZERO): Likewise.
4466 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4467 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4468 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4469 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4470 (REG_ERANGE): Expect.
4471 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4472 optional-constant.
4473 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4474 Use (void) in prototype.
4475 [POSIX] (*_t): Allow.
4476 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4477 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4478 (WRDE_BADVAL): Expect.
4479
5ba924e3
JM
4480 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4481 expect.
4482 [XPG3 || XPG4] (O_RSYNC): Likewise.
4483 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4484 Likewise.
4485 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4486 [XPG3 || XPG4] (sigqueue): Likewise.
4487 [XPG3 || XPG4] (sigtimedwait): Likewise.
4488 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4489 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4490 [XPG3 || XPG4] (vsnprintf): Likewise.
4491 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4492 Likewise.
4493 [XPG3 || XPG4] (blksize_t): Likewise.
4494 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4495 Likewise.
4496 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4497 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4498 [XPG3 || XPG4] (struct itimerspec): Likewise.
4499 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4500 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4501 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4502 [XPG3 || XPG4] (clockid_t): Likewise.
4503 [XPG3 || XPG4] (timer_t): Likewise.
4504 [XPG3 || XPG4] (clock_getres): Likewise.
4505 [XPG3 || XPG4] (clock_gettime): Likewise.
4506 [XPG3 || XPG4] (clock_settime): Likewise.
4507 [XPG3 || XPG4] (nanosleep): Likewise.
4508 [XPG3 || XPG4] (timer_create): Likewise.
4509 [XPG3 || XPG4] (timer_delete): Likewise.
4510 [XPG3 || XPG4] (timer_gettime): Likewise.
4511 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4512 [XPG3 || XPG4] (timer_settime): Likewise.
4513 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4514 [XPG3 || XPG4] (getlogin_r): Likewise.
4515 [XPG3 || XPG4] (pread): Likewise.
4516 [XPG3 || XPG4] (pthread_atfork): Likewise.
4517 [XPG3 || XPG4] (pwrite): Likewise.
4518
ee663277
JM
4519 [BZ #14835]
4520 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4521 <bits/siginfo.h>.
4522
942caa16
PT
45232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4524
e19af380
PT
4525 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4526 finalizing MALLSTREAM.
4527
942caa16
PT
4528 * sysdeps/mach/hurd/syncfs.c: New file.
4529
cfde9b46
SP
45302012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4531
4532 [BZ #14719]
4533 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4534 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4535 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4536 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4537 (_nss_dns_gethostbyname4_r): Likewise.
4538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4539 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4540
f6da27e5
PH
45412012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4542
4543 [BZ #13763]
4544 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4545
6665d4a2
SM
45462012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4547
1f51ee92
SM
4548 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4549 * elf/cache.c (print_entry): Print ",AArch64" for
4550 FLAG_AARCH64_LIB64
4551
6665d4a2
SM
4552 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4553 * elf/cache.c (print_entry): Print ",hard-float" for
4554 FLAG_ARM_LIBHF.
4555
05b227bd
DM
45562012-11-18 David S. Miller <davem@davemloft.net>
4557
4558 With help from Joseph Myers.
4559 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4560 cutoff to 2**-13.
4561 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4562 cutoff to 2**-25.
4563 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4564 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4565 small.
4566 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4567 * math/libm-test.inc (y0_test): New tests.
4568 (y1_test): New tests.
4569 * sysdeps/i386/fpu/libm-test-ulps: Update.
4570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4572
786b0b67
AS
45732012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4574
4575 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4576 64-bit targets.
4577 * configure: Regenerated.
4578
8e18b86d
DM
45792012-11-17 David S. Miller <davem@davemloft.net>
4580
4581 [BZ #14811]
4582 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4583 nonzero exponents with absolute value below 0x1p-128 to +/-
4584 0x1p-128.
4585
531f1ae0
JM
45862012-11-17 Joseph Myers <joseph@codesourcery.com>
4587
12df29e2
JM
4588 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4589
150dc1a0
JM
4590 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4591
531f1ae0
JM
4592 * posix/getconf-speclist.c: New file.
4593 * posix/posix-envs.def: Likewise.
4594 * posix/confstr.c (START_ENV_GROUP): New macro.
4595 (END_ENV_GROUP): Likewise.
4596 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4597 (KNOWN_PRESENT_ENV_STRING): Likewise.
4598 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4599 (UNKNOWN_ENVIRONMENT): Likewise.
4600 (confstr): Include posix-envs.def instead of handling
4601 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4602 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4603 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4604 (END_ENV_GROUP): Likewise.
4605 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4606 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4607 (UNKNOWN_ENVIRONMENT): Likewise.
4608 (__sysconf): Include posix-envs.def instead of handling associated
4609 cases directly here.
4610 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4611 preprocessing getconf-speclist.c rather than running getconf or
4612 generating empty file.
4613
a93f9cbc
PT
46142012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4615
4616 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4617
d64d9f87
AL
46182012-11-16 Andrej Lajovic <natrij@gmail.com>
4619
4620 [BZ #14672]
4621 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4622
447885eb
DM
46232012-11-16 David S. Miller <davem@davemloft.net>
4624
4625 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4626 smaller than LDBL_EPSILON/2.0L, just return xm1.
4627
bcbf9830
L
46282012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4629
4630 * elf/tst-array1.c (init): Set constructor priority to 1000.
4631 (fini): Set destructor priority to 1000.
4632 * elf/tst-array2dep.c: Likewise.
4633
2b766585
SP
46342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4635
4636 [BZ #11741]
4637 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4638 (_IO_new_file_xsputn): Also return EOF if none of the input
4639 data was written when overflow failed.
4640 * libio/iopadn.c (_IO_padn): Likewise.
4641 * libio/iowpadn.c (_IO_wpadn): Likewise.
4642 * stdio-common/tst-put-error.c: Add copyright notice.
4643 (do_test): Add case for printing padded string.
4644 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4645 _IO_padn returned error.
4646 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4647 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4648 return EOF.
4649
b1848fde
SP
46502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4651
4652 * libio/libioP.h: Add comment note that the references to C++
4653 bits are now obsolete.
4654
2fd89785
MS
46552012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4656
4657 * math/libm-test.inc (check_complex): Use asprintf.
4658
e3ea5409
JM
46592012-11-14 Joseph Myers <joseph@codesourcery.com>
4660
4661 * debug/pcprofiledump.c (print_version): Update copyright year.
4662 * malloc/memusagestat.c (print_version): Likewise.
4663
2e64d265
L
46642012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4665
4666 [BZ #14831]
4667 * elf/Makefile (tests): Add tst-audit8.
4668 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4669 ($(objpfx)tst-audit8.out): New target.
4670 (tst-audit8-ENV): New variable.
4671 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4672 audit if l_reloc_result is NULL.
4673 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4674 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4675 * elf/tst-audit8.c: New file.
4676
c485e4d2
MS
46772012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4678
4679 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4680 * misc/Makefile (CFLAGS-select.c): Define.
4681 * posix/Makefile (CFLAGS-pause.c): Define.
4682
3a0d900a
DM
46832012-11-13 David S. Miller <davem@davemloft.net>
4684
4685 * crypt/Makefile: Move test targets after toplevel Rules
4686 inclusion. Grab any necessary sysdep routines when linking.
4687 * crypt/md5.c (md5_process_block): Remove define, we will always
4688 name it __md5_process_block.
4689 (md5_finish_ctx): Update md5_process_block call.
4690 (md5_stream): Likewise.
4691 (md5_process_bytes): Likewise.
4692 (md5_process_block): Rename to __md5_process_block and move to ...
4693 * crypt/md5-block.c: ... here.
4694 * crypt/sha256.c (sha256_process_block): Move to ...
4695 * crypt/sha256-block.c: ... here.
4696 * crypt/sha512.c (sha512_process_block): Move to ...
4697 * crypt/sha512-block.c: ... here.
4698 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4699 path.
4700 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4701 * sysdeps/sparc/sparc64/multiarch/Makefile
4702 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4703 crypt subdir.
4704 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4705 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4706 multiarch changes.
4707 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4708 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4709 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4710 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4711 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4712 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4713 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4714 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4715 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4716 file.
4717 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4718 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4719 file.
4720 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4721
8ca89318
JM
47222012-11-13 Joseph Myers <joseph@codesourcery.com>
4723
e27d476a
JM
4724 * timezone/tzselect.ksh: Update from tzcode git revision
4725 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4726 * timezone/zdump.c: Likewise.
4727 * timezone/zic.c: Likewise.
4728 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4729 in TZVERSION setting, not $(PKGVERSION).
4730 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4731 REPORT_BUGS_TO settings.
4732
8ca89318
JM
4733 [BZ #14838]
4734 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4735 macro.
4736
47594329
MS
47372012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4738
4739 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4740 detection to immediately after _FP_ROUND().
4741 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4742 bits are 0.
4743
640ac3f1
DM
47442012-11-11 David S. Miller <davem@davemloft.net>
4745
4746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4747 inttypes.h
4748 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4749 __close rather than their public counterparts.
4750
3d2577bb
JM
47512012-11-10 Joseph Myers <joseph@codesourcery.com>
4752
4753 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4754 file.
4755 [UNIX98] (sem_timedwait): Do not expect.
4756 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4757 [XPG4 || UNIX98] (sockatmark): Do not expect.
4758 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4759 (clock_getcpuclockid): Do not expect.
4760 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4761 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4762 Do not expect.
4763 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4764 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4765 [UNIX98] (vwscanf): Likewise.
4766 [UNIX98] (vswscanf): Likewise.
4767
fb1ae1ee
JM
47682012-11-09 Joseph Myers <joseph@codesourcery.com>
4769
9ec6f8bd
JM
4770 * timezone/version.h: Remove file.
4771 * timezone/README: Do not refer to version.h.
4772 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4773 $(objpfx)version.h.
4774 ($(objpfx)zdump.o): Likewise.
c3f81911 4775 ($(objpfx)version.h): New target.
9ec6f8bd 4776
0aa8f8a1
JM
4777 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4778 2012i.
4779 * timezone/README: Don't mention modification to tzselect.ksh.
4780 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4781 work on unmodified tzselect.ksh. Substitute version numbers in
4782 tzselect.ksh.
4783
4e87147f
JM
4784 * Makefile (format-me): Remove.
4785 (INSTALL): Adjust indentation. Use commands directly instead of
4786 using $(format-me).
4787
8b748aed
JM
4788 * aclocal.m4 (ACX_PKGVERSION): New macro.
4789 (ACX_BUGURL): Likewise.
4790 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4791 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4792 (REPORT_BUGS_TO): Likewise.
4793 * configure: Regenerated.
4794 * config.h.in (PKGVERSION): New macro.
4795 (REPORT_BUGS_TO): Likewise.
4796 * config.make.in (PKGVERSION): New variable.
4797 (PKGVERSION_TEXI): Likewise.
4798 (REPORT_BUGS_TO): Likewise.
4799 (REPORT_BUGS_TEXI): Likewise.
4800 * Makefile (format-me): Use -I$(common-objpfx)manual.
4801 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4802 ($(common-objpfx)manual/%): New target.
4803 (manual/%): Remove target.
4804 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4805 (print_version): Use PKGVERSION.
4806 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4807 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4808 and REPORT_BUGS_TO.
4809 ($(objpfx)xtrace): Likewise.
4810 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4811 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4812 (print_version): Use PKGVERSION.
4813 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4814 (do_version): Use PKGVERSION.
4815 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4816 REPORT_BUGS_TO.
4817 (common-ldd-rewrite): Likewise.
4818 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4819 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4820 (print_version): Use PKGVERSION.
4821 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4822 * elf/pldd.c (argp_program_bug_address): Remove variable.
4823 (more_help): New function.
4824 (argp): Use more_help.
4825 (print_version): Use PKGVERSION.
4826 * elf/sln.c (main): Use PKGVERSION.
4827 (usage): Use REPORT_BUGS_TO.
4828 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4829 (top level): Use PKGVERSION.
4830 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4831 (print_version): Use PKGVERSION.
4832 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4833 (print_version): Use PKGVERSION.
4834 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4835 (print_version): Use PKGVERSION.
4836 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4837 (print_version): Use PKGVERSION.
4838 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4839 (print_version): Use PKGVERSION.
4840 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4841 (print_version): Use PKGVERSION.
4842 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4843 and BUGURL.
4844 ($(objpfx)memusage): Likewise.
4845 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4846 (do_version): Use PKGVERSION.
4847 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4848 (print_version): Use PKGVERSION.
4849 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4850 ($PKGVERSION): New variable.
4851 ($REPORT_BUGS_TO): Likewise.
4852 (usage): Use $REPORT_BUGS_TO.
4853 (top level): Use $PKGVERSION.
4854 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4855 ($(objpfx)pkgvers.texi): New rule.
4856 ($(objpfx)stamp-pkgvers): Likewise.
4857 * manual/install.texi: Include pkgvers.texi.
4858 (--with-pkgversion): Document new configure option.
4859 (--with-bugurl): Likewise.
4860 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4861 than necessarily for this particular distribution. Use
4862 REPORT_BUGS_TO for where to report bugs.
4863 * INSTALL: Regenerated.
4864 * manual/libc.texinfo: Include pkgvers.texi.
4865 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4866 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4867 (print_version): Use PKGVERSION.
4868 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4869 (print_version): Use PKGVERSION.
4870 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4871 (print_version): Use PKGVERSION.
4872 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4873 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4874 macro.
4875 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4876 (print_version): Use PKGVERSION.
4877 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4878 (print_version): Use PKGVERSION.
4879 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4880 and PKGVERSION.
4881
92e4b6a9
JM
4882 * timezone/checktab.awk: Update from tzcode 2012i.
4883 * timezone/ialloc.c: Likewise.
4884 * timezone/private.h: Likewise.
4885 * timezone/scheck.c: Likewise.
4886 * timezone/tzfile.h: Likewise.
4887 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4888 (TZVERSION): Hardcode tzcode version number.
4889 * timezone/zdump.c: Update from tzcode 2012i.
4890 * timezone/zic.c: Likewise.
4891 * timezone/version.h: New file.
4892 * timezone/README: Describe version.h. Update upstream location.
4893
9bde902c
JM
4894 [BZ #14824]
4895 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4896 (mktemp): Enable declaration.
4897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4899 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4901 Likewise.
4902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4903 Likewise.
4904 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4905 Likewise.
4906 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4907 Likewise.
4908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4909 Likewise.
4910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4911 Likewise.
4912
fb1ae1ee
JM
4913 [BZ #14821]
4914 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4915 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4916 for copies of such integer values.
4917 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4918 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4919
2c1adbcb
AJ
49202012-11-09 Andreas Jaeger <aj@suse.de>
4921
4922 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4923 definitions and declarations that are provided by
4924 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4925
d0f8457e
AK
49262012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4927
3a235abb 4928 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4929 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4930 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4931 definition.
4932
57241e26
MS
49332012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4934
4935 * elf/elf.h: Update comment before AArch64 relocations.
4936
60e8270d
DM
49372012-11-07 David S. Miller <davem@davemloft.net>
4938
4939 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4940 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4941 (__start_context): Declare.
4942 (__makecontext_ret): Delete.
4943 (__makecontext): Hook up __start_context instead of
4944 __makecontext_ret.
4945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4946 (sysdep_routines): Add __start_context when in stdlib.
4947
0fbb0fbc
JM
49482012-11-07 Joseph Myers <joseph@codesourcery.com>
4949
4950 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4951 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4952 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4953 hardcoded "nm".
4954 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4955 (READELF): New variable. Use it instead of hardcoded "readelf".
4956
eb48db7e
L
49572012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4958
4959 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4960 * sysdeps/x86/Makefile: Here.
4961 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4962 * sysdeps/x86/tst-xmmymm.sh: This.
4963
05bcf62a
JM
49642012-11-07 Joseph Myers <joseph@codesourcery.com>
4965
c4b6cf53
JM
4966 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4967 expectations.
4968 [UNIX98] (pthread_barrier_t): Do not expect.
4969 [UNIX98] (pthread_barrierattr_t): Likewise.
4970 [UNIX98] (pthread_spinlock_t): Likewise.
4971 [UNIX98] (pthread_barrier_destroy): Likewise.
4972 [UNIX98] (pthread_barrier_init): Likewise.
4973 [UNIX98] (pthread_barrier_wait): Likewise.
4974 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4975 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4976 [UNIX98] (pthread_barrierattr_init): Likewise.
4977 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4978 [UNIX98] (pthread_getcpuclockid): Likewise.
4979 [UNIX98] (pthread_mutex_timedlock): Likewise.
4980 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4981 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4982 [UNIX98] (pthread_sigmask): Likewise.
4983 [UNIX98] (pthread_spin_destroy): Likewise.
4984 [UNIX98] (pthread_spin_init): Likewise.
4985 [UNIX98] (pthread_spin_lock): Likewise.
4986 [UNIX98] (pthread_spin_trylock): Likewise.
4987 [UNIX98] (pthread_spin_unlock): Likewise.
4988 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4989 Do not expect.
4990 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4991 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4992 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4993 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4994 [XPG3 || XPG4] (pthread_key_t): Likewise.
4995 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4996 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4997 [XPG3 || XPG4] (pthread_once_t): Likewise.
4998 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4999 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5000 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5001 [XPG3 || XPG4] (pthread_t): Likewise.
5002
cbe6e120
JM
5003 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5004 not expect.
5005 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5006
1b126443
JM
5007 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5008 Change function return type to int.
5009
b961a573
JM
5010 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5011 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5012 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5013 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5014 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5015 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5016 [!POSIX] (posix_madvise): Likewise.
5017 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5018 && !UNIX98].
5019 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5020 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5021 (mode_t): Likewise.
5022 (posix_mem_offset): Likewise.
5023 (posix_typed_mem_get_info): Likewise.
5024 (posix_typed_mem_open): Likewise.
5025
9e188909
JM
5026 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5027 Change condition to [XOPEN2K8].
5028
05bcf62a
JM
5029 * conform/conformtest.pl: Preprocess allow-header data with -x c
5030 instead of from stdin.
5031 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5032 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5033 [C99-based standards] (cerfc): Likewise.
5034 [C99-based standards] (cexp2): Likewise.
5035 [C99-based standards] (cexpm1): Likewise.
5036 [C99-based standards] (clog10): Likewise.
5037 [C99-based standards] (clog1p): Likewise.
5038 [C99-based standards] (clog2): Likewise.
5039 [C99-based standards] (clgamma): Likewise.
5040 [C99-based standards] (ctgamma): Likewise.
5041 [C99-based standards] (cerff): Likewise.
5042 [C99-based standards] (cerfcf): Likewise.
5043 [C99-based standards] (cexp2f): Likewise.
5044 [C99-based standards] (cexpm1f): Likewise.
5045 [C99-based standards] (clog10f): Likewise.
5046 [C99-based standards] (clog1pf): Likewise.
5047 [C99-based standards] (clog2f): Likewise.
5048 [C99-based standards] (clgammaf): Likewise.
5049 [C99-based standards] (ctgammaf): Likewise.
5050 [C99-based standards] (cerfl): Likewise.
5051 [C99-based standards] (cerfcl): Likewise.
5052 [C99-based standards] (cexp2l): Likewise.
5053 [C99-based standards] (cexpm1l): Likewise.
5054 [C99-based standards] (clog10l): Likewise.
5055 [C99-based standards] (clog1pl): Likewise.
5056 [C99-based standards] (clog2l): Likewise.
5057 [C99-based standards] (clgammal): Likewise.
5058 [C99-based standards] (ctgammal): Likewise.
5059 * conform/data/inttypes.h-data [C99-based standards]: Include
5060 stdint.h-data. Remove all expectations for stdint.h contents.
5061 [C99-based standards] (PRI*): Do not allow.
5062 [C99-based standards] (SCN*): Likewise.
5063 [C99-based standards] (*_t): Likewise.
5064 [C99-based-standards] (PRId8): Expect macro.
5065 [C99-based-standards] (PRIi8): Likewise.
5066 [C99-based-standards] (PRIo8): Likewise.
5067 [C99-based-standards] (PRIu8): Likewise.
5068 [C99-based-standards] (PRIx8): Likewise.
5069 [C99-based-standards] (PRIX8): Likewise.
5070 [C99-based-standards] (SCNd8): Likewise.
5071 [C99-based-standards] (SCNi8): Likewise.
5072 [C99-based-standards] (SCNo8): Likewise.
5073 [C99-based-standards] (SCNu8): Likewise.
5074 [C99-based-standards] (SCNx8): Likewise.
5075 [C99-based-standards] (PRIdLEAST8): Likewise.
5076 [C99-based-standards] (PRIiLEAST8): Likewise.
5077 [C99-based-standards] (PRIoLEAST8): Likewise.
5078 [C99-based-standards] (PRIuLEAST8): Likewise.
5079 [C99-based-standards] (PRIxLEAST8): Likewise.
5080 [C99-based-standards] (PRIXLEAST8): Likewise.
5081 [C99-based-standards] (SCNdLEAST8): Likewise.
5082 [C99-based-standards] (SCNiLEAST8): Likewise.
5083 [C99-based-standards] (SCNoLEAST8): Likewise.
5084 [C99-based-standards] (SCNuLEAST8): Likewise.
5085 [C99-based-standards] (SCNxLEAST8): Likewise.
5086 [C99-based-standards] (PRIdFAST8): Likewise.
5087 [C99-based-standards] (PRIiFAST8): Likewise.
5088 [C99-based-standards] (PRIoFAST8): Likewise.
5089 [C99-based-standards] (PRIuFAST8): Likewise.
5090 [C99-based-standards] (PRIxFAST8): Likewise.
5091 [C99-based-standards] (PRIXFAST8): Likewise.
5092 [C99-based-standards] (SCNdFAST8): Likewise.
5093 [C99-based-standards] (SCNiFAST8): Likewise.
5094 [C99-based-standards] (SCNoFAST8): Likewise.
5095 [C99-based-standards] (SCNuFAST8): Likewise.
5096 [C99-based-standards] (SCNxFAST8): Likewise.
5097 [C99-based-standards] (PRId16): Likewise.
5098 [C99-based-standards] (PRIi16): Likewise.
5099 [C99-based-standards] (PRIo16): Likewise.
5100 [C99-based-standards] (PRIu16): Likewise.
5101 [C99-based-standards] (PRIx16): Likewise.
5102 [C99-based-standards] (PRIX16): Likewise.
5103 [C99-based-standards] (SCNd16): Likewise.
5104 [C99-based-standards] (SCNi16): Likewise.
5105 [C99-based-standards] (SCNo16): Likewise.
5106 [C99-based-standards] (SCNu16): Likewise.
5107 [C99-based-standards] (SCNx16): Likewise.
5108 [C99-based-standards] (PRIdLEAST16): Likewise.
5109 [C99-based-standards] (PRIiLEAST16): Likewise.
5110 [C99-based-standards] (PRIoLEAST16): Likewise.
5111 [C99-based-standards] (PRIuLEAST16): Likewise.
5112 [C99-based-standards] (PRIxLEAST16): Likewise.
5113 [C99-based-standards] (PRIXLEAST16): Likewise.
5114 [C99-based-standards] (SCNdLEAST16): Likewise.
5115 [C99-based-standards] (SCNiLEAST16): Likewise.
5116 [C99-based-standards] (SCNoLEAST16): Likewise.
5117 [C99-based-standards] (SCNuLEAST16): Likewise.
5118 [C99-based-standards] (SCNxLEAST16): Likewise.
5119 [C99-based-standards] (PRIdFAST16): Likewise.
5120 [C99-based-standards] (PRIiFAST16): Likewise.
5121 [C99-based-standards] (PRIoFAST16): Likewise.
5122 [C99-based-standards] (PRIuFAST16): Likewise.
5123 [C99-based-standards] (PRIxFAST16): Likewise.
5124 [C99-based-standards] (PRIXFAST16): Likewise.
5125 [C99-based-standards] (SCNdFAST16): Likewise.
5126 [C99-based-standards] (SCNiFAST16): Likewise.
5127 [C99-based-standards] (SCNoFAST16): Likewise.
5128 [C99-based-standards] (SCNuFAST16): Likewise.
5129 [C99-based-standards] (SCNxFAST16): Likewise.
5130 [C99-based-standards] (PRId32): Likewise.
5131 [C99-based-standards] (PRIi32): Likewise.
5132 [C99-based-standards] (PRIo32): Likewise.
5133 [C99-based-standards] (PRIu32): Likewise.
5134 [C99-based-standards] (PRIx32): Likewise.
5135 [C99-based-standards] (PRIX32): Likewise.
5136 [C99-based-standards] (SCNd32): Likewise.
5137 [C99-based-standards] (SCNi32): Likewise.
5138 [C99-based-standards] (SCNo32): Likewise.
5139 [C99-based-standards] (SCNu32): Likewise.
5140 [C99-based-standards] (SCNx32): Likewise.
5141 [C99-based-standards] (PRIdLEAST32): Likewise.
5142 [C99-based-standards] (PRIiLEAST32): Likewise.
5143 [C99-based-standards] (PRIoLEAST32): Likewise.
5144 [C99-based-standards] (PRIuLEAST32): Likewise.
5145 [C99-based-standards] (PRIxLEAST32): Likewise.
5146 [C99-based-standards] (PRIXLEAST32): Likewise.
5147 [C99-based-standards] (SCNdLEAST32): Likewise.
5148 [C99-based-standards] (SCNiLEAST32): Likewise.
5149 [C99-based-standards] (SCNoLEAST32): Likewise.
5150 [C99-based-standards] (SCNuLEAST32): Likewise.
5151 [C99-based-standards] (SCNxLEAST32): Likewise.
5152 [C99-based-standards] (PRIdFAST32): Likewise.
5153 [C99-based-standards] (PRIiFAST32): Likewise.
5154 [C99-based-standards] (PRIoFAST32): Likewise.
5155 [C99-based-standards] (PRIuFAST32): Likewise.
5156 [C99-based-standards] (PRIxFAST32): Likewise.
5157 [C99-based-standards] (PRIXFAST32): Likewise.
5158 [C99-based-standards] (SCNdFAST32): Likewise.
5159 [C99-based-standards] (SCNiFAST32): Likewise.
5160 [C99-based-standards] (SCNoFAST32): Likewise.
5161 [C99-based-standards] (SCNuFAST32): Likewise.
5162 [C99-based-standards] (SCNxFAST32): Likewise.
5163 [C99-based-standards] (PRId64): Likewise.
5164 [C99-based-standards] (PRIi64): Likewise.
5165 [C99-based-standards] (PRIo64): Likewise.
5166 [C99-based-standards] (PRIu64): Likewise.
5167 [C99-based-standards] (PRIx64): Likewise.
5168 [C99-based-standards] (PRIX64): Likewise.
5169 [C99-based-standards] (SCNd64): Likewise.
5170 [C99-based-standards] (SCNi64): Likewise.
5171 [C99-based-standards] (SCNo64): Likewise.
5172 [C99-based-standards] (SCNu64): Likewise.
5173 [C99-based-standards] (SCNx64): Likewise.
5174 [C99-based-standards] (PRIdLEAST64): Likewise.
5175 [C99-based-standards] (PRIiLEAST64): Likewise.
5176 [C99-based-standards] (PRIoLEAST64): Likewise.
5177 [C99-based-standards] (PRIuLEAST64): Likewise.
5178 [C99-based-standards] (PRIxLEAST64): Likewise.
5179 [C99-based-standards] (PRIXLEAST64): Likewise.
5180 [C99-based-standards] (SCNdLEAST64): Likewise.
5181 [C99-based-standards] (SCNiLEAST64): Likewise.
5182 [C99-based-standards] (SCNoLEAST64): Likewise.
5183 [C99-based-standards] (SCNuLEAST64): Likewise.
5184 [C99-based-standards] (SCNxLEAST64): Likewise.
5185 [C99-based-standards] (PRIdFAST64): Likewise.
5186 [C99-based-standards] (PRIiFAST64): Likewise.
5187 [C99-based-standards] (PRIoFAST64): Likewise.
5188 [C99-based-standards] (PRIuFAST64): Likewise.
5189 [C99-based-standards] (PRIxFAST64): Likewise.
5190 [C99-based-standards] (PRIXFAST64): Likewise.
5191 [C99-based-standards] (SCNdFAST64): Likewise.
5192 [C99-based-standards] (SCNiFAST64): Likewise.
5193 [C99-based-standards] (SCNoFAST64): Likewise.
5194 [C99-based-standards] (SCNuFAST64): Likewise.
5195 [C99-based-standards] (SCNxFAST64): Likewise.
5196 [C99-based-standards] (PRIdMAX): Likewise.
5197 [C99-based-standards] (PRIiMAX): Likewise.
5198 [C99-based-standards] (PRIoMAX): Likewise.
5199 [C99-based-standards] (PRIuMAX): Likewise.
5200 [C99-based-standards] (PRIxMAX): Likewise.
5201 [C99-based-standards] (PRIXMAX): Likewise.
5202 [C99-based-standards] (SCNdMAX): Likewise.
5203 [C99-based-standards] (SCNiMAX): Likewise.
5204 [C99-based-standards] (SCNoMAX): Likewise.
5205 [C99-based-standards] (SCNuMAX): Likewise.
5206 [C99-based-standards] (SCNxMAX): Likewise.
5207 [C99-based-standards] (PRIdPTR): Likewise.
5208 [C99-based-standards] (PRIiPTR): Likewise.
5209 [C99-based-standards] (PRIoPTR): Likewise.
5210 [C99-based-standards] (PRIuPTR): Likewise.
5211 [C99-based-standards] (PRIxPTR): Likewise.
5212 [C99-based-standards] (PRIXPTR): Likewise.
5213 [C99-based-standards] (SCNdPTR): Likewise.
5214 [C99-based-standards] (SCNiPTR): Likewise.
5215 [C99-based-standards] (SCNoPTR): Likewise.
5216 [C99-based-standards] (SCNuPTR): Likewise.
5217 [C99-based-standards] (SCNxPTR): Likewise.
5218 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5219 allow.
5220 * conform/data/stdint.h-data: Update comments to clarify
5221 requirements.
5222 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5223 type.
5224 [C99-based standards] (INT8_MAX): Likewise.
5225 [C99-based standards] (INT16_MIN): Likewise.
5226 [C99-based standards] (INT16_MAX): Likewise.
5227 [C99-based standards] (INT32_MIN): Likewise.
5228 [C99-based standards] (INT32_MAX): Likewise.
5229 [C99-based standards] (INT64_MIN): Likewise.
5230 [C99-based standards] (INT64_MAX): Likewise.
5231 [C99-based standards] (UINT8_MAX): Likewise.
5232 [C99-based standards] (UINT16_MAX): Likewise.
5233 [C99-based standards] (UINT32_MAX): Likewise.
5234 [C99-based standards] (UINT64_MAX): Likewise.
5235 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5236 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5237 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5238 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5239 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5240 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5241 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5242 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5243 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5244 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5245 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5246 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5247 [C99-based standards] (INT_FAST8_MIN): Likewise.
5248 [C99-based standards] (INT_FAST8_MAX): Likewise.
5249 [C99-based standards] (INT_FAST16_MIN): Likewise.
5250 [C99-based standards] (INT_FAST16_MAX): Likewise.
5251 [C99-based standards] (INT_FAST32_MIN): Likewise.
5252 [C99-based standards] (INT_FAST32_MAX): Likewise.
5253 [C99-based standards] (INT_FAST64_MIN): Likewise.
5254 [C99-based standards] (INT_FAST64_MAX): Likewise.
5255 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5256 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5257 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5258 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5259 [C99-based standards] (INTPTR_MIN): Likewise.
5260 [C99-based standards] (INTPTR_MAX): Likewise.
5261 [C99-based standards] (UINTPTR_MAX): Likewise.
5262 [C99-based standards] (INTMAX_MIN): Likewise.
5263 [C99-based standards] (INTMAX_MAX): Likewise.
5264 [C99-based standards] (UINTMAX_MAX): Likewise.
5265 [C99-based standards] (PTRDIFF_MIN): Likewise.
5266 [C99-based standards] (PTRDIFF_MAX): Likewise.
5267 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5268 [C99-based standards] (SIZE_MAX): Likewise.
5269 [C99-based standards] (WCHAR_MAX): Likewise.
5270 [C99-based standards] (WINT_MAX): Likewise.
5271 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5272 constraint on value.
5273 [C99-based standards] (WCHAR_MIN): Likewise.
5274 [C99-based standards] (WINT_MIN): Likewise.
5275 [C99-based standards] (*_t): Allow.
5276 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5277 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5278 Include math.h-data and complex.h-data. Remove all expectations
5279 of math.h and complex.h contents.
5280 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5281 at end of line.
5282 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5283 (struct tm): Expect tag.
5284 [C99-based-standards] (wcstof): Expect function.
5285 [C99-based-standards] (wcstold): Likewise.
5286 [C99-based-standards] (wcstoll): Likewise.
5287 [C99-based-standards] (wcstoull): Likewise.
5288 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5289 macro-int-constant. Specify type.
5290 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5291 constraint on value.
5292 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5293 Specify type.
5294 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5295 Specify value.
5296 [ISO C standards]: Do not allow headers.
5297 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5298 wcs[abcdefghijklmnopqrstuvwxyz]*.
5299 [ISO C standards] (*_t): Do not allow.
5300 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5301 Expect function.
5302 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5303 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5304 Specify type.
5305 [ISO C standards]: Do not allow headers.
5306 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5307 is[abcdefghijklmnopqrstuvwxyz]*.
5308 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5309 to[abcdefghijklmnopqrstuvwxyz]*.
5310 [ISO C standards] (*_t): Do not allow.
5311 * conform/data/stdalign.h-data: New file.
5312 * conform/data/stdbool.h-data: Likewise.
5313 * conform/data/stdnoreturn.h-data: Likewise.
5314
7514feb8
RM
53152012-11-07 Roland McGrath <roland@hack.frob.com>
5316
5317 [BZ #14815]
5318 * manual/filesys.texi (Directory Entries): Typo fix.
5319 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5320
19b2ecfc
MS
53212012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5322
5323 * elf/elf.h (EM_AARCH64): New macro.
5324 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5325 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5326 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5327 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5328 (R_AARCH64_TLSDESC): Likewise.
5329 (NT_ARM_TLS): Likewise.
5330 (NT_ARM_HW_BREAK): Likewise.
5331 (NT_ARM_HW_WATCH): Likewise.
5332
60e235ee
JM
53332012-11-07 Joseph Myers <joseph@codesourcery.com>
5334
5335 [BZ #14811]
5336 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5337 (__ieee754_powl): Saturate nonzero exponents with absolute value
5338 below 0x1p-79 to +/- 0x1p-79.
5339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5340 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5341 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5342 nonzero exponents with absolute value below 0x1p-32 to +/-
5343 0x1p-32.
5344 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5345 (__ieee754_powl): Saturate nonzero exponents with absolute value
5346 below 0x1p-79 to +/- 0x1p-79.
5347 * math/libm-test.inc (pow_test): Add more tests.
5348
0ab234b7
AK
53492012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5350
5351 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5352 _dl_s390_cap_flags with kernel. Increase string length.
5353 (_dl_s390_platforms): Add z196 and zEC12.
5354
45832f74
JM
53552012-11-07 Joseph Myers <joseph@codesourcery.com>
5356
5357 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5358 Change XOPEN21K to XOPEN2K.
5359
19218757
MK
53602012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5361
5362 * string/memmove.c: Use memcpy when possible.
5363
c5f45721
AJ
53642012-11-06 Andreas Jaeger <aj@suse.de>
5365
5366 * po/eo.po: Update from translation team.
5367
82477c28
JM
53682012-11-06 Joseph Myers <joseph@codesourcery.com>
5369
5370 [BZ #14793]
5371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5372 exponent and small x and y exponents, scale x or y up. Increase
5373 by 2 the exponent used in scaling up.
5374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5376 * math/libm-test.inc (fma_test): Add more tests.
5377 (fma_test_towardzero): Likewise.
5378 (fma_test_downward): Likewise.
5379 (fma_test_upward): Likewise.
5380
99252c8c
JM
53812012-11-05 Joseph Myers <joseph@codesourcery.com>
5382
acfa885f
JM
5383 [BZ #14805]
5384 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5385 fenv_t *.
5386
99252c8c
JM
5387 [BZ #14801]
5388 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5389 namespace for names of struct fields.
5390 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5391 fenv_t fields.
5392 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5393 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5394
d6d98dea
ST
53952012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5396
5397 [BZ #3665]
5398 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5399
e10bb107
TS
54002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5401
5402 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5403 PTR_DEMANGLE.
5404
5405 [BZ #5246]
5406 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5407 PTR_DEMANGLE.
5408
a0c2940d
JM
54092012-11-04 Joseph Myers <joseph@codesourcery.com>
5410
5411 [BZ #14797]
5412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5413 definitely overflow as x * y not x * y + z.
5414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5416 * math/libm-test.inc (fma_test): Add more tests.
5417 (fma_test_towardzero): Likewise.
5418 (fma_test_downward): Likewise.
5419 (fma_test_upward): Likewise.
5420
b830319d
TS
54212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5422
5423 [BZ #157]
5424
5425 * include/stub-tag.h: Remove file.
5426 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5427 '#include' of it.
5428 * manual/maint.texi (Porting): Don't reference it.
5429 * Makerules ($(objpfx)stubs): Likewise.
5430 * dirent/closedir.c: Don't include <stub-tag.h>.
5431 * dirent/dirfd.c: Likewise.
5432 * dirent/fdopendir.c: Likewise.
5433 * dirent/getdents.c: Likewise.
5434 * dirent/getdents64.c: Likewise.
5435 * dirent/opendir.c: Likewise.
5436 * dirent/readdir.c: Likewise.
5437 * dirent/readdir64.c: Likewise.
5438 * dirent/readdir64_r.c: Likewise.
5439 * dirent/readdir_r.c: Likewise.
5440 * dirent/rewinddir.c: Likewise.
5441 * dirent/seekdir.c: Likewise.
5442 * dirent/telldir.c: Likewise.
5443 * gmon/profil.c: Likewise.
5444 * grp/setgroups.c: Likewise.
5445 * inet/if_index.c: Likewise.
5446 * io/access.c: Likewise.
5447 * io/chdir.c: Likewise.
5448 * io/chmod.c: Likewise.
5449 * io/chown.c: Likewise.
5450 * io/close.c: Likewise.
5451 * io/dup.c: Likewise.
5452 * io/dup2.c: Likewise.
5453 * io/dup3.c: Likewise.
5454 * io/euidaccess.c: Likewise.
5455 * io/faccessat.c: Likewise.
5456 * io/fchdir.c: Likewise.
5457 * io/fchmod.c: Likewise.
5458 * io/fchmodat.c: Likewise.
5459 * io/fchown.c: Likewise.
5460 * io/fchownat.c: Likewise.
5461 * io/fcntl.c: Likewise.
5462 * io/flock.c: Likewise.
5463 * io/fstatfs.c: Likewise.
5464 * io/fstatfs64.c: Likewise.
5465 * io/fstatvfs.c: Likewise.
5466 * io/fstatvfs64.c: Likewise.
5467 * io/futimens.c: Likewise.
5468 * io/fxstat.c: Likewise.
5469 * io/fxstat64.c: Likewise.
5470 * io/fxstatat.c: Likewise.
5471 * io/fxstatat64.c: Likewise.
5472 * io/getcwd.c: Likewise.
5473 * io/isatty.c: Likewise.
5474 * io/lchmod.c: Likewise.
5475 * io/lchown.c: Likewise.
5476 * io/link.c: Likewise.
5477 * io/linkat.c: Likewise.
5478 * io/lseek.c: Likewise.
5479 * io/lseek64.c: Likewise.
5480 * io/lxstat64.c: Likewise.
5481 * io/mkdir.c: Likewise.
5482 * io/mkdirat.c: Likewise.
5483 * io/mkfifo.c: Likewise.
5484 * io/mkfifoat.c: Likewise.
5485 * io/open.c: Likewise.
5486 * io/open64.c: Likewise.
5487 * io/openat.c: Likewise.
5488 * io/openat64.c: Likewise.
5489 * io/pipe.c: Likewise.
5490 * io/pipe2.c: Likewise.
5491 * io/poll.c: Likewise.
5492 * io/posix_fadvise.c: Likewise.
5493 * io/posix_fadvise64.c: Likewise.
5494 * io/posix_fallocate.c: Likewise.
5495 * io/posix_fallocate64.c: Likewise.
5496 * io/read.c: Likewise.
5497 * io/readlink.c: Likewise.
5498 * io/readlinkat.c: Likewise.
5499 * io/rmdir.c: Likewise.
5500 * io/sendfile.c: Likewise.
5501 * io/sendfile64.c: Likewise.
5502 * io/statfs.c: Likewise.
5503 * io/statfs64.c: Likewise.
5504 * io/statvfs.c: Likewise.
5505 * io/statvfs64.c: Likewise.
5506 * io/symlink.c: Likewise.
5507 * io/symlinkat.c: Likewise.
5508 * io/ttyname.c: Likewise.
5509 * io/ttyname_r.c: Likewise.
5510 * io/umask.c: Likewise.
5511 * io/unlink.c: Likewise.
5512 * io/unlinkat.c: Likewise.
5513 * io/utime.c: Likewise.
5514 * io/utimensat.c: Likewise.
5515 * io/write.c: Likewise.
5516 * io/xmknod.c: Likewise.
5517 * io/xmknodat.c: Likewise.
5518 * io/xstat.c: Likewise.
5519 * io/xstat64.c: Likewise.
5520 * login/getpt.c: Likewise.
5521 * login/grantpt.c: Likewise.
5522 * login/unlockpt.c: Likewise.
5523 * math/e_acoshl.c: Likewise.
5524 * math/e_acosl.c: Likewise.
5525 * math/e_asinl.c: Likewise.
5526 * math/e_atan2l.c: Likewise.
5527 * math/e_atanhl.c: Likewise.
5528 * math/e_coshl.c: Likewise.
5529 * math/e_expl.c: Likewise.
5530 * math/e_fmodl.c: Likewise.
5531 * math/e_gammal_r.c: Likewise.
5532 * math/e_hypotl.c: Likewise.
5533 * math/e_j0l.c: Likewise.
5534 * math/e_j1l.c: Likewise.
5535 * math/e_jnl.c: Likewise.
5536 * math/e_lgammal_r.c: Likewise.
5537 * math/e_log10l.c: Likewise.
5538 * math/e_log2l.c: Likewise.
5539 * math/e_logl.c: Likewise.
5540 * math/e_powl.c: Likewise.
5541 * math/e_rem_pio2l.c: Likewise.
5542 * math/e_sinhl.c: Likewise.
5543 * math/e_sqrtl.c: Likewise.
5544 * math/fclrexcpt.c: Likewise.
5545 * math/fedisblxcpt.c: Likewise.
5546 * math/feenablxcpt.c: Likewise.
5547 * math/fegetenv.c: Likewise.
5548 * math/fegetexcept.c: Likewise.
5549 * math/fegetround.c: Likewise.
5550 * math/feholdexcpt.c: Likewise.
5551 * math/fesetenv.c: Likewise.
5552 * math/fesetround.c: Likewise.
5553 * math/feupdateenv.c: Likewise.
5554 * math/fgetexcptflg.c: Likewise.
5555 * math/fraiseexcpt.c: Likewise.
5556 * math/fsetexcptflg.c: Likewise.
5557 * math/ftestexcept.c: Likewise.
5558 * math/k_cosl.c: Likewise.
5559 * math/k_rem_pio2l.c: Likewise.
5560 * math/k_sinl.c: Likewise.
5561 * math/k_tanl.c: Likewise.
5562 * math/s_asinhl.c: Likewise.
5563 * math/s_atanl.c: Likewise.
5564 * math/s_cbrtl.c: Likewise.
5565 * math/s_erfl.c: Likewise.
5566 * math/s_expm1l.c: Likewise.
5567 * math/s_log1pl.c: Likewise.
5568 * math/s_tanhl.c: Likewise.
5569 * misc/acct.c: Likewise.
5570 * misc/brk.c: Likewise.
5571 * misc/chflags.c: Likewise.
5572 * misc/chroot.c: Likewise.
5573 * misc/fchflags.c: Likewise.
5574 * misc/fgetxattr.c: Likewise.
5575 * misc/flistxattr.c: Likewise.
5576 * misc/fremovexattr.c: Likewise.
5577 * misc/fsetxattr.c: Likewise.
5578 * misc/fsync.c: Likewise.
5579 * misc/ftruncate.c: Likewise.
5580 * misc/futimes.c: Likewise.
5581 * misc/futimesat.c: Likewise.
5582 * misc/getdomain.c: Likewise.
5583 * misc/getdtsz.c: Likewise.
5584 * misc/gethostid.c: Likewise.
5585 * misc/gethostname.c: Likewise.
5586 * misc/getloadavg.c: Likewise.
5587 * misc/getpagesize.c: Likewise.
5588 * misc/getsysstats.c: Likewise.
5589 * misc/getxattr.c: Likewise.
5590 * misc/gtty.c: Likewise.
5591 * misc/ioctl.c: Likewise.
5592 * misc/lgetxattr.c: Likewise.
5593 * misc/listxattr.c: Likewise.
5594 * misc/llistxattr.c: Likewise.
5595 * misc/lremovexattr.c: Likewise.
5596 * misc/lsetxattr.c: Likewise.
5597 * misc/lutimes.c: Likewise.
5598 * misc/madvise.c: Likewise.
5599 * misc/mincore.c: Likewise.
5600 * misc/mlock.c: Likewise.
5601 * misc/mlockall.c: Likewise.
5602 * misc/mmap.c: Likewise.
5603 * misc/mprotect.c: Likewise.
5604 * misc/msync.c: Likewise.
5605 * misc/munlock.c: Likewise.
5606 * misc/munlockall.c: Likewise.
5607 * misc/munmap.c: Likewise.
5608 * misc/preadv.c: Likewise.
5609 * misc/preadv64.c: Likewise.
5610 * misc/ptrace.c: Likewise.
5611 * misc/pwritev.c: Likewise.
5612 * misc/pwritev64.c: Likewise.
5613 * misc/readv.c: Likewise.
5614 * misc/reboot.c: Likewise.
5615 * misc/remap_file_pages.c: Likewise.
5616 * misc/removexattr.c: Likewise.
5617 * misc/revoke.c: Likewise.
5618 * misc/select.c: Likewise.
5619 * misc/setdomain.c: Likewise.
5620 * misc/setegid.c: Likewise.
5621 * misc/seteuid.c: Likewise.
5622 * misc/sethostid.c: Likewise.
5623 * misc/sethostname.c: Likewise.
5624 * misc/setregid.c: Likewise.
5625 * misc/setreuid.c: Likewise.
5626 * misc/setxattr.c: Likewise.
5627 * misc/sstk.c: Likewise.
5628 * misc/stty.c: Likewise.
5629 * misc/swapoff.c: Likewise.
5630 * misc/swapon.c: Likewise.
5631 * misc/sync.c: Likewise.
5632 * misc/syncfs.c: Likewise.
5633 * misc/syscall.c: Likewise.
5634 * misc/truncate.c: Likewise.
5635 * misc/ualarm.c: Likewise.
5636 * misc/usleep.c: Likewise.
5637 * misc/ustat.c: Likewise.
5638 * misc/utimes.c: Likewise.
5639 * misc/vhangup.c: Likewise.
5640 * misc/writev.c: Likewise.
5641 * posix/_exit.c: Likewise.
5642 * posix/alarm.c: Likewise.
5643 * posix/execve.c: Likewise.
5644 * posix/fexecve.c: Likewise.
5645 * posix/fork.c: Likewise.
5646 * posix/fpathconf.c: Likewise.
5647 * posix/getaddrinfo.c: Likewise.
5648 * posix/getegid.c: Likewise.
5649 * posix/geteuid.c: Likewise.
5650 * posix/getgid.c: Likewise.
5651 * posix/getgroups.c: Likewise.
5652 * posix/getlogin.c: Likewise.
5653 * posix/getlogin_r.c: Likewise.
5654 * posix/getpgid.c: Likewise.
5655 * posix/getpid.c: Likewise.
5656 * posix/getppid.c: Likewise.
5657 * posix/getresgid.c: Likewise.
5658 * posix/getresuid.c: Likewise.
5659 * posix/getsid.c: Likewise.
5660 * posix/getuid.c: Likewise.
5661 * posix/glob64.c: Likewise.
5662 * posix/nanosleep.c: Likewise.
5663 * posix/pathconf.c: Likewise.
5664 * posix/pause.c: Likewise.
5665 * posix/posix_madvise.c: Likewise.
5666 * posix/pread.c: Likewise.
5667 * posix/pread64.c: Likewise.
5668 * posix/pwrite.c: Likewise.
5669 * posix/pwrite64.c: Likewise.
5670 * posix/sched_getaffinity.c: Likewise.
5671 * posix/sched_getp.c: Likewise.
5672 * posix/sched_gets.c: Likewise.
5673 * posix/sched_primax.c: Likewise.
5674 * posix/sched_primin.c: Likewise.
5675 * posix/sched_rr_gi.c: Likewise.
5676 * posix/sched_setaffinity.c: Likewise.
5677 * posix/sched_setp.c: Likewise.
5678 * posix/sched_sets.c: Likewise.
5679 * posix/sched_yield.c: Likewise.
5680 * posix/setgid.c: Likewise.
5681 * posix/setlogin.c: Likewise.
5682 * posix/setpgid.c: Likewise.
5683 * posix/setresgid.c: Likewise.
5684 * posix/setresuid.c: Likewise.
5685 * posix/setsid.c: Likewise.
5686 * posix/setuid.c: Likewise.
5687 * posix/sleep.c: Likewise.
5688 * posix/spawni.c: Likewise.
5689 * posix/sysconf.c: Likewise.
5690 * posix/times.c: Likewise.
5691 * posix/wait.c: Likewise.
5692 * posix/wait3.c: Likewise.
5693 * posix/wait4.c: Likewise.
5694 * posix/waitpid.c: Likewise.
5695 * resolv/gai_sigqueue.c: Likewise.
5696 * resource/getpriority.c: Likewise.
5697 * resource/getrlimit.c: Likewise.
5698 * resource/getrusage.c: Likewise.
5699 * resource/nice.c: Likewise.
5700 * resource/setpriority.c: Likewise.
5701 * resource/setrlimit.c: Likewise.
5702 * resource/ulimit.c: Likewise.
5703 * rt/aio_cancel.c: Likewise.
5704 * rt/aio_fsync.c: Likewise.
5705 * rt/aio_read.c: Likewise.
5706 * rt/aio_sigqueue.c: Likewise.
5707 * rt/aio_suspend.c: Likewise.
5708 * rt/aio_write.c: Likewise.
5709 * rt/clock_getres.c: Likewise.
5710 * rt/clock_gettime.c: Likewise.
5711 * rt/clock_nanosleep.c: Likewise.
5712 * rt/clock_settime.c: Likewise.
5713 * rt/lio_listio.c: Likewise.
5714 * rt/mq_close.c: Likewise.
5715 * rt/mq_getattr.c: Likewise.
5716 * rt/mq_notify.c: Likewise.
5717 * rt/mq_open.c: Likewise.
5718 * rt/mq_receive.c: Likewise.
5719 * rt/mq_send.c: Likewise.
5720 * rt/mq_setattr.c: Likewise.
5721 * rt/mq_timedreceive.c: Likewise.
5722 * rt/mq_timedsend.c: Likewise.
5723 * rt/mq_unlink.c: Likewise.
5724 * rt/shm_open.c: Likewise.
5725 * rt/shm_unlink.c: Likewise.
5726 * rt/timer_create.c: Likewise.
5727 * rt/timer_delete.c: Likewise.
5728 * rt/timer_getoverr.c: Likewise.
5729 * rt/timer_gettime.c: Likewise.
5730 * rt/timer_settime.c: Likewise.
5731 * setjmp/__longjmp.c: Likewise.
5732 * setjmp/setjmp.c: Likewise.
5733 * signal/kill.c: Likewise.
5734 * signal/killpg.c: Likewise.
5735 * signal/raise.c: Likewise.
5736 * signal/sigaction.c: Likewise.
5737 * signal/sigaltstack.c: Likewise.
5738 * signal/sigblock.c: Likewise.
5739 * signal/sigignore.c: Likewise.
5740 * signal/sigintr.c: Likewise.
5741 * signal/signal.c: Likewise.
5742 * signal/sigpause.c: Likewise.
5743 * signal/sigpending.c: Likewise.
5744 * signal/sigqueue.c: Likewise.
5745 * signal/sigreturn.c: Likewise.
5746 * signal/sigset.c: Likewise.
5747 * signal/sigsetmask.c: Likewise.
5748 * signal/sigstack.c: Likewise.
5749 * signal/sigsuspend.c: Likewise.
5750 * signal/sigtimedwait.c: Likewise.
5751 * signal/sigvec.c: Likewise.
5752 * signal/sigwait.c: Likewise.
5753 * signal/sigwaitinfo.c: Likewise.
5754 * signal/sysv_signal.c: Likewise.
5755 * socket/accept.c: Likewise.
5756 * socket/accept4.c: Likewise.
5757 * socket/bind.c: Likewise.
5758 * socket/connect.c: Likewise.
5759 * socket/getpeername.c: Likewise.
5760 * socket/getsockname.c: Likewise.
5761 * socket/getsockopt.c: Likewise.
5762 * socket/isfdtype.c: Likewise.
5763 * socket/listen.c: Likewise.
5764 * socket/recv.c: Likewise.
5765 * socket/recvfrom.c: Likewise.
5766 * socket/recvmsg.c: Likewise.
5767 * socket/send.c: Likewise.
5768 * socket/sendmsg.c: Likewise.
5769 * socket/sendto.c: Likewise.
5770 * socket/setsockopt.c: Likewise.
5771 * socket/shutdown.c: Likewise.
5772 * socket/sockatmark.c: Likewise.
5773 * socket/socket.c: Likewise.
5774 * socket/socketpair.c: Likewise.
5775 * stdio-common/ctermid.c: Likewise.
5776 * stdio-common/cuserid.c: Likewise.
5777 * stdio-common/remove.c: Likewise.
5778 * stdio-common/rename.c: Likewise.
5779 * stdio-common/renameat.c: Likewise.
5780 * stdio-common/tempname.c: Likewise.
5781 * stdlib/getcontext.c: Likewise.
5782 * stdlib/makecontext.c: Likewise.
5783 * stdlib/setcontext.c: Likewise.
5784 * stdlib/swapcontext.c: Likewise.
5785 * stdlib/system.c: Likewise.
5786 * streams/fattach.c: Likewise.
5787 * streams/fdetach.c: Likewise.
5788 * streams/getmsg.c: Likewise.
5789 * streams/getpmsg.c: Likewise.
5790 * streams/putmsg.c: Likewise.
5791 * streams/putpmsg.c: Likewise.
5792 * sysdeps/unix/bsd/getpt.c: Likewise.
5793 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5794 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5795 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5797 Likewise.
5798 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5799 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5800 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5801 * sysvipc/msgctl.c: Likewise.
5802 * sysvipc/msgget.c: Likewise.
5803 * sysvipc/msgrcv.c: Likewise.
5804 * sysvipc/msgsnd.c: Likewise.
5805 * sysvipc/semctl.c: Likewise.
5806 * sysvipc/semget.c: Likewise.
5807 * sysvipc/semop.c: Likewise.
5808 * sysvipc/semtimedop.c: Likewise.
5809 * sysvipc/shmat.c: Likewise.
5810 * sysvipc/shmctl.c: Likewise.
5811 * sysvipc/shmdt.c: Likewise.
5812 * sysvipc/shmget.c: Likewise.
5813 * termios/tcdrain.c: Likewise.
5814 * termios/tcflow.c: Likewise.
5815 * termios/tcflush.c: Likewise.
5816 * termios/tcgetattr.c: Likewise.
5817 * termios/tcgetpgrp.c: Likewise.
5818 * termios/tcsendbrk.c: Likewise.
5819 * termios/tcsetattr.c: Likewise.
5820 * termios/tcsetpgrp.c: Likewise.
5821 * time/adjtime.c: Likewise.
5822 * time/clock.c: Likewise.
5823 * time/getitimer.c: Likewise.
5824 * time/gettimeofday.c: Likewise.
5825 * time/setitimer.c: Likewise.
5826 * time/settimeofday.c: Likewise.
5827 * time/stime.c: Likewise.
5828 * time/time.c: Likewise.
5829
58302012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5831
a20492cf
PT
5832 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5833 /usr/old/bin.
5834
72e182e3
PT
5835 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5836 instead of spaces.
5837 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5838
fbeafede
JM
58392012-11-03 Joseph Myers <joseph@codesourcery.com>
5840
5b5b04d6
JM
5841 [BZ #14796]
5842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5843 FE_TONEAREST before applying Dekker multiplication and Knuth
5844 addition. Clear inexact exceptions and check for exact zero
5845 results afterwards.
5846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5847 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5849 * math/libm-test.inc (fma_test): Add more tests.
5850 (fma_test_towardzero): Likewise.
5851 (fma_test_downward): Likewise.
5852 (fma_test_upward): Likewise.
5853 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5854 function.
5855 (libc_fesetround): New macro.
5856 (libc_fesetroundf): Likewise.
5857 (libc_fesetroundl): Likewise.
5858 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5859 function.
5860 (libc_fesetround_387): Likewise.
5861 (libc_fesetroundf): New macro.
5862 (libc_fesetround): Likewise.
5863 (libc_fesetroundl): Likewise.
5864 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5865 function.
5866 (libc_fesetroundf): New macro.
5867 (libc_fesetround): Likewise.
5868 (libc_fesetroundl): Likewise.
5869 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5870 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5871 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5872 libm_hidden_ver.
5873 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5874 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5875 libm_hidden_def.
5876 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5877 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5878 libm_hidden_ver.
5879 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5880 libm_hidden_def.
5881
fbeafede
JM
5882 [BZ #3439]
5883 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5884 integer constant usable in #if and use that to give value to enum
5885 constant.
5886 (FE_DIVBYZERO): Likewise.
5887 (FE_UNDERFLOW): Likewise.
5888 (FE_OVERFLOW): Likewise.
5889 (FE_INVALID): Likewise.
5890 (FE_INVALID_SNAN): Likewise.
5891 (FE_INVALID_ISI): Likewise.
5892 (FE_INVALID_IDI): Likewise.
5893 (FE_INVALID_ZDZ): Likewise.
5894 (FE_INVALID_IMZ): Likewise.
5895 (FE_INVALID_COMPARE): Likewise.
5896 (FE_INVALID_SOFTWARE): Likewise.
5897 (FE_INVALID_SQRT): Likewise.
5898 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5899 (FE_TONEAREST): Likewise.
5900 (FE_TOWARDZERO): Likewise.
5901 (FE_UPWARD): Likewise.
5902 (FE_DOWNWARD): Likewise.
5903 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5904 (FE_DIVBYZERO): Likewise.
5905 (FE_OVERFLOW): Likewise.
5906 (FE_UNDERFLOW): Likewise.
5907 (FE_INEXACT): Likewise.
5908 (FE_TONEAREST): Likewise.
5909 (FE_DOWNWARD): Likewise.
5910 (FE_UPWARD): Likewise.
5911 (FE_TOWARDZERO): Likewise.
5912 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5913 (FE_UNDERFLOW): Likewise.
5914 (FE_OVERFLOW): Likewise.
5915 (FE_DIVBYZERO): Likewise.
5916 (FE_INVALID): Likewise.
5917 (FE_TONEAREST): Likewise.
5918 (FE_TOWARDZERO): Likewise.
5919 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5920 (FE_OVERFLOW): Likewise.
5921 (FE_UNDERFLOW): Likewise.
5922 (FE_DIVBYZERO): Likewise.
5923 (FE_INEXACT): Likewise.
5924 (FE_TONEAREST): Likewise.
5925 (FE_TOWARDZERO): Likewise.
5926 (FE_UPWARD): Likewise.
5927 (FE_DOWNWARD): Likewise.
5928 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5929 (FE_DIVBYZERO): Likewise.
5930 (FE_OVERFLOW): Likewise.
5931 (FE_UNDERFLOW): Likewise.
5932 (FE_INEXACT): Likewise.
5933 (FE_TONEAREST): Likewise.
5934 (FE_DOWNWARD): Likewise.
5935 (FE_UPWARD): Likewise.
5936 (FE_TOWARDZERO): Likewise.
5937
105ca950
CM
59382012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5939
5940 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5941
a542b389
AS
59422012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5943
5944 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5945 commands. Quote $PWD.
5946 (blacklist_exports): Don't use remove_newlines. Replace "declare
5947 -x" by "export".
5948 (remove_newlines): Remove.
5949
f62c8abc
L
59502012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5951
5952 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5953 * stdlib/stdlib.h (atof): Moved to ...
5954 * include/bits/stdlib-float.h: Here. New file.
5955 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5956 * stdlib/bits/stdlib-float.h: New file.
5957 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5958 -mno-sse -mno-mmx.
5959 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5960 <xmmintrin.h>.
5961
0155d5b2
JM
59622012-11-02 Joseph Myers <joseph@codesourcery.com>
5963
a68d0680
JM
5964 * conform/conformtest.pl (@headers): Add fenv.h.
5965 * conform/data/fenv.h-data: New file.
5966 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5967 include of <math/fenv.h>.
5968
caf7f573
JM
5969 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5970 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5971 && !UNIX98]. Enables tests for XOPEN2K8.
5972 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5973 POSIX2008]: Likewise.
5974
6c073ad6
JM
5975 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5976 (struct rusage): Do not expect type or its members.
5977
0155d5b2
JM
5978 [BZ #3439]
5979 * math/math.h (FP_NAN): Define macro to integer constant usable in
5980 #if and use that to give value to enum constant.
5981 (FP_INFINITE): Likewise.
5982 (FP_ZERO): Likewise.
5983 (FP_SUBNORMAL): Likewise.
5984 (FP_NORMAL): Likewise.
5985
b5dcacb4
AS
59862012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5987
5988 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5989 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5990 arguments.
5991
f7934be8
RM
59922012-11-02 Roland McGrath <roland@hack.frob.com>
5993
5994 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5995 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5996 autoconf-time if not.
5997 * configure.in: Remove AC_PREREQ.
5998
d7d08bde
TMQMF
59992012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6000
6001 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6002 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6003 of the internal implementation.
6004
dcdae19a
JM
60052012-11-02 Joseph Myers <joseph@codesourcery.com>
6006
6007 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6008 except include of <misc/sys/syslog.h>.
6009
d6cffd3e
AS
60102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6011
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6013 function returns with a NULL context exit with zero.
6014
b3563932
TMQMF
60152012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6016
6017 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6018
b288a93d
L
60192012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6020
6021 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6022 (run_program_cmd): This.
6023 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6024 (tst_langinfo): New variable. Use it.
6025
a2421a68
SAS
60262012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6027
6028 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6029 floating point opcodes.
6030
6f796e1b
TS
60312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6032
7402596b
TS
6033 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6034 variable.
6035
d0d4f868
TS
6036 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6037
6f796e1b
TS
6038 * sysdeps/mach/hurd/powerpc: Remove directory.
6039 * sysdeps/mach/powerpc: Likewise.
6040
4da224a2
AS
60412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6042
6043 * scripts/check-local-headers.sh: Ignore c++ headers.
6044
341dd673
TS
60452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6046
6047 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6048 __libc_cleanup_region_start argument.
6049
473611b2
JM
60502012-11-01 Joseph Myers <joseph@codesourcery.com>
6051
6052 [BZ #14784]
6053 [BZ #14785]
6054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6055 x * y using scaling, not as x * y + z.
6056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6058 * math/libm-test.inc (fma_test): Add more tests.
6059 (fma_test_towardzero): Likewise.
6060 (fma_test_downward): Likewise.
6061 (fma_test_upward): Likewise.
6062
4078da3d
TS
60632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6064
6065 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6066
903252aa
JM
60672012-10-31 Joseph Myers <joseph@codesourcery.com>
6068
6069 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6070 New variable.
6071
cbc818d0
TS
60722012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6073
6074 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6075
5a03cb1e
AS
60762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6077
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6079 Fix sort order.
6080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6081 Likewise.
6082
90aff2ff
TMQMF
60832012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6084
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6086 Fix the order of the list for glibc 2.17.
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6088 Likewise.
6089
1818fcb7
AS
60902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6091
6092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6093
ef82f4da
JM
60942012-10-31 Joseph Myers <joseph@codesourcery.com>
6095
16a0e2ec
JM
6096 [BZ #14610]
6097 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6098 for low part of x being zero before using __atanl (y).
6099 * math/libm-test.inc (atan2_test): Add another test.
6100
0eb69512
JM
6101 * manual/install.texi (Configuring and compiling): Document
6102 general use of test-wrapper and test-wrapper-env.
6103 * INSTALL: Regenerated.
6104
ef82f4da
JM
6105 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6106 (__fma): 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 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6110 (__fmal): Do not extract and scale down low bits on after-rounding
6111 systems when result rounded to normal precision would have normal
6112 exponent.
6113 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6114 (__fmal): Do not extract and scale down low bits on after-rounding
6115 systems when result rounded to normal precision would have normal
6116 exponent.
6117 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6118 macro.
6119 (fma_test): Add more tests.
6120 (fma_test_towardzero): Likewise.
6121 (fma_test_downward): Likewise.
6122 (fma_test_upward): Likewise.
6123
954ef0d9
L
61242012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6125
6126 * sysdeps/i386/tininess.h: Renamed to ...
6127 * sysdeps/x86/tininess.h: This.
6128 * sysdeps/x86_64/tininess.h: Removed.
6129
df61ffb2
JM
61302012-10-30 Joseph Myers <joseph@codesourcery.com>
6131
6132 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6133 input. Use $(build-program-cmd).
6134 ($(objpfx)tst-array1-static.out): Likewise.
6135 ($(objpfx)tst-array2.out): Likewise.
6136 ($(objpfx)tst-array3.out): Likewise.
6137 ($(objpfx)tst-array4.out): Likewise.
6138 ($(objpfx)tst-array5.out): Likewise.
6139 ($(objpfx)tst-array5-static.out): Likewise.
6140
01767843
CM
61412012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6142
47cc1490
CM
6143 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6144 if defined.
6145
01767843
CM
6146 * nss/nsswitch.h (nss_interface_function): Provide new
6147 macro for use with NSS functions.
6148 * grp/initgroups.c: Use new macro.
6149 * nss/getXXbyYY.c: Likewise.
6150 * nss/getXXbyYY_r.c: Likewise.
6151 * nss/getXXent.c: Likewise.
6152 * nss/getXXent_r.c: Likewise.
6153 * sysdeps/posix/getaddrinfo.c: Likewise.
6154
8321aa97
AJ
61552012-10-30 Andreas Jaeger <aj@suse.de>
6156
6157 * po/ru.po: Update Russion translation from translation project.
6158
2a27fd6d
JM
61592012-10-30 Joseph Myers <joseph@codesourcery.com>
6160
8627a232
JM
6161 [BZ #14152]
6162 [BZ #14783]
6163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6164 result and shift together with sticky bit instead of replicating
6165 round-to-nearest rounding.
6166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6168 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6169 missing underflow exceptions.
6170 (fma_test_towardzero): Add more tests.
6171 (fma_test_downward): Likewise.
6172 (fma_test_upward): Likewise.
6173
2a27fd6d
JM
6174 [BZ #14047]
6175 * sysdeps/generic/tininess.h: New file.
6176 * sysdeps/i386/tininess.h: Likewise.
6177 * sysdeps/sh/tininess.h: Likewise.
6178 * sysdeps/x86_64/tininess.h: Likewise.
6179 * stdlib/tst-strtod-underflow.c: Likewise.
6180 * stdlib/tst-tininess.c: Likewise.
6181 * stdlib/strtod_l.c: Include <tininess.h>.
6182 (round_and_return): Do not set errno for exact underflow cases.
6183 Force an underflow exception when setting errno for underflow.
6184 Determine underflow based on rounding to normal precision if
6185 TININESS_AFTER_ROUNDING.
6186 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6187 ERANGE for exact underflow cases.
6188 * stdlib/Makefile (tests): Add tst-tininess and
6189 tst-strtod-underflow.
6190 ($(objpfx)tst-tininess): Use $(link-libm).
6191 ($(objpfx)tst-strtod-underflow): Likewise.
6192
e7170363
AJ
61932012-10-30 Andreas Jaeger <aj@suse.de>
6194
e5088dc6
AJ
6195 [BZ#14767]
6196 * elf/Makefile (tests): Remove conditional for have-initfini-array
6197 since this is now always required and the variable does not exist
6198 anymore.
6199 (tests-static): Likewise.
6200 (modules-names): Likewise.
6201
e7170363 6202 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6203
6204 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6205 merged with constructor/destructor.
6206 (init_array): Likewise.
6207 * elf/tst-array2dep.c (fini_array): Likewise.
6208 (init_array): Likewise.
6209
60457d8a
MF
62102012-10-29 Mike Frysinger <vapier@gentoo.org>
6211
6212 * manual/message.texi: Delete @cartouche tags.
6213
8bece752
PT
62142012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6215
94ce799f
PT
6216 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6217 EOPNOTSUPP.
6218 * sysdeps/mach/hurd/fsync.c: Likewise.
6219
8bece752
PT
6220 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6221 [_POSIX_REALTIME_SIGNALS]: Change condition to
6222 [_POSIX_REALTIME_SIGNALS > 0].
6223
86ebe6b1
AJ
62242012-10-27 Andreas Jaeger <aj@suse.de>
6225
6226 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6227 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6229 [__WORDSIZE != 64]: Likewise.
6230
54399c08
L
62312012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6232
6233 * iconvdata/tst-table.sh: Remove ${SHELL}.
6234 * iconvdata/tst-tables.sh: Likewise.
6235
e2211bed
DM
62362012-10-25 David S. Miller <davem@davemloft.net>
6237
6238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6239 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6240 of strtoull.
6241
f303f97c
DM
6242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6243 ifunc-impl-list.c
6244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6245 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6246 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6247 file.
6248
1e9d84cd
RM
62492012-10-25 Roland McGrath <roland@hack.frob.com>
6250
6251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6252 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6253 __getdirentries.
6254
df381762
JM
62552012-10-25 Joseph Myers <joseph@codesourcery.com>
6256 Jim Blandy <jimb@codesourcery.com>
6257
6258 * scripts/cross-test-ssh.sh: New file.
6259 * manual/install.texi (Configuring and compiling): Document use of
6260 cross-test-ssh.sh.
6261 * INSTALL: Regenerated.
6262
bff64913
PT
62632012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6264
6265 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6266 EOPNOTSUPP.
6267
25fe8932
JM
62682012-10-25 Joseph Myers <joseph@codesourcery.com>
6269
6270 * Makeconfig (run-program-prefix): Fix comment.
6271
cc1290d0
JM
62722012-10-24 Joseph Myers <joseph@codesourcery.com>
6273 Jim Blandy <jimb@codesourcery.com>
6274
6275 * Makeconfig (test-wrapper): New variable,
6276 (test-wrapper-env): Likewise.
6277 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6278 (run-built-tests): Define to yes.
6279 (run-program-prefix): Use $(test-wrapper).
6280 (built-program-cmd): Likewise.
6281 * Rules (make-test-out): Use $(test-wrapper-env) and
6282 $(host-built-program-cmd).
6283 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6284 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6285 tst-pathopt.sh.
6286 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6287 $(test-wrapper-env) to tst-rtld-load-self.sh.
6288 ($(objpfx)order2.out): Use $(test-wrapper).
6289 ($(objpfx)tst-initorder.out): Likewise.
6290 ($(objpfx)tst-initorder2.out): Likewise.
6291 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6292 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6293 (test_wrapper_env): New variable. Use it to run ld.so.
6294 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6295 Use it to run ld.so.
6296 (test_wrapper_env): Likewise.
6297 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6298 $(test-wrapper) to run-iconv-test.sh.
6299 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6300 (ICONV): Use $test_wrapper.
6301 * posix/Makefile ($(objpfx)globtest.out): Pass
6302 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6303 globtest.sh, not $(run-program-prefix).
6304 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6305 (test_wrapper): Likewise.
6306 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6307 set together with run_via_rtld_prefix.
6308 (run_program_prefix): Define in terms of test_wrapper and
6309 run_via_rtld_prefix.
6310
6e6249d0
RM
63112012-10-24 Roland McGrath <roland@hack.frob.com>
6312
6313 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6314 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6315 Targets removed.
6316
6317 [BZ #14743]
6318 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6319 Declare __clock_getres, __clock_gettime, __clock_settime,
6320 __clock_nanosleep, and __clock_getcpuclockid.
6321 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6322 Remove librt_hidden_def (clock_gettime).
6323 * sysdeps/unix/clock_gettime.c: Likewise.
6324 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6326 * rt/clock_getres.c: Define __clock_getres as an alias.
6327 * sysdeps/posix/clock_getres.c: Likewise.
6328 * rt/clock_settime.c: Define __clock_settime as an alias.
6329 * sysdeps/unix/clock_settime.c: Likewise.
6330 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6331 * sysdeps/unix/clock_nanosleep.c: Likewise.
6332 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6333 * rt/clock-compat.c: New file.
6334 * rt/Makefile (librt-routines): Add clock-compat and move
6335 $(clock-routines) to ...
6336 (routines): ... here, new variable.
6337 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6338 Don't add get_clockfreq here.
6339 * rt/Versions (libc: GLIBC_2.17): New version set.
6340 Add clock_* symbols here.
6341 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6342 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6343 (GLIBC_2.17): Add clock_* symbols.
6344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6348 Likewise.
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6350 Likewise.
6351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6355 * NEWS: Mention the move.
6356
6357 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6358 Use __open, __read, __close rather than their public counterparts.
6359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6360 (__get_clockfreq_via_cpuinfo): Likewise.
6361 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6362 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6363
6364 * config.h.in (HAVE_IFUNC): New #undef.
6365 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6366 was successful.
6367 * configure: Regenerated.
6368
0cae3f4b
MF
63692012-10-24 Mike Frysinger <vapier@gentoo.org>
6370
6371 * configure.in: Move READELF check to start of file.
6372 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6373 libc_cv_asm_gnu_indirect_function in the process.
6374 * configure: Regenerated.
6375
8175a253
MF
63762012-10-24 Mike Frysinger <vapier@gentoo.org>
6377
6378 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6379 send the output to /dev/null.
6380 (libc_cv_cc_with_libunwind): Likewise.
6381 (libc_cv_as_noexecstack): Likewise.
6382 * configure: Regenerate.
6383
0708a7d1
JM
63842012-10-24 Joseph Myers <joseph@codesourcery.com>
6385
10b40d85
JM
6386 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6387
0708a7d1
JM
6388 * posix/globtest.sh (TMPDIR): Do not set.
6389 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6390 (testout): Likewise.
6391
9fddec1a
AJ
63922012-10-24 Andreas Jaeger <aj@suse.de>
6393
3a8db22f
AJ
6394 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6395 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6396 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6397 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6398 posix_fadvise64, posix_fallocate64.
6399
9fddec1a
AJ
6400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6401 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6402 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6403 Likewise.
6404 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6405 Likewise.
6406 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6407
6408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6409 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6410 <bits/fcntl-linux.h>.
6411 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6412
6413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6414 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6415 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6416 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6417 [__WORDSIZE != 64]: Likewise.
6418
ebfd1bbd
JM
64192012-10-23 Joseph Myers <joseph@codesourcery.com>
6420
03ac099f
JM
6421 * Makeconfig (run-built-tests): New variable.
6422 * Rules [$(cross-compiling) = yes]: Change condition to
6423 [$(run-built-tests) = no].
6424 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6425 to [$(run-built-tests) = yes].
6426 * elf/Makefile [$(cross-compiling) = no]: Likewise
6427 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6428 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6429 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6430 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6431 * io/Makefile [$(cross-compiling) = no]: Likewise.
6432 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6433 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6434 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6435 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6436 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6437 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6438 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6439 * string/Makefile [$(cross-compiling) = no]: Likewise.
6440
ebfd1bbd
JM
6441 * posix/Makefile ($(objpfx)globtest.out): Pass
6442 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6443 $(rtld-installed-name).
6444 * posix/globtest.sh (elf_objpfx): Remove variable.
6445 (rtld_installed_name): Likewise.
6446 (library_path): Likewise.
6447 (run_program_prefix): New variable. Use for running globtest
6448 binary.
6449
166bca24
JB
64502012-10-23 Jim Blandy <jimb@codesourcery.com>
6451 Joseph Myers <joseph@codesourcery.com>
6452
6453 * Makeconfig (host-built-program-cmd): New variable.
6454 * elf/Makefile (tst-stackguard1-ARGS): Use
6455 $(host-built-program-cmd).
6456 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6457 (tst-spawn-ARGS): Likewise.
6458 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6459
88866099
JM
64602012-10-23 Joseph Myers <joseph@codesourcery.com>
6461 Jim Blandy <jimb@codesourcery.com>
6462
6463 * Makeconfig (run-via-rtld-prefix): New variable.
6464 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6465 (built-program-cmd): Likewise.
6466
b4b4c296
AJ
64672012-10-22 Andreas Jaeger <aj@suse.de>
6468
6469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6470 __O_RSYNC if it exists, otherwise to O_SYNC.
6471
6fb54a22
JB
64722012-10-22 Jim Blandy <jimb@codesourcery.com>
6473 Joseph Myers <joseph@codesourcery.com>
6474
6475 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6476 /dev/null.
6477 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6478 from /dev/null
6479 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6480 /dev/null.
6481
481b90b9
AJ
64822012-10-22 Andreas Jaeger <aj@suse.de>
6483
2a0e2669
AJ
6484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6485 Define always.
6486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6487
76e38f9a
AJ
6488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6489 bits/fcntl-linux.h.
6490
7cd37b43
AJ
6491 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6492 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6493
481b90b9
AJ
6494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6495 to __O_LARGEFILE.
6496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6497 to __O_LARGEFILE.
6498
aba75984
JB
64992012-10-21 Jim Blandy <jimb@codesourcery.com>
6500 Joseph Myers <joseph@codesourcery.com>
6501
6502 * config.make.in (NM): New variable.
6503
88d4247f
AJ
65042012-10-21 Andreas Jaeger <aj@suse.de>
6505
6506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6507 definitions and declarations that are provided by
6508 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6509
f2eed205
L
65102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6511
6512 [BZ #14683]
6513 * elf/Makefile (tests-static): Add tst-leaks1-static.
6514 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6515 ($(objpfx)tst-leaks1-static): New rule.
6516 ($(objpfx)tst-leaks1-static-mem): Likewise.
6517 (tst-leaks1-static-ENV): New macro.
6518 * elf/dl-open.c (dl_open_worker): Check the main application
6519 only if SHARED is defined.
6520 * elf/tst-leaks1-static.c: New file.
6521
335e6931
AJ
65222012-10-20 Andreas Jaeger <aj@suse.de>
6523
6524 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6525 generic values for Linux.
6526 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6527 and declarations that are provided by <bits/fcntl-linux.h> and
6528 include <bits/fcntl-linux.h>.
6529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6531
ac5c94d3
RM
65322012-10-20 Roland McGrath <roland@hack.frob.com>
6533
6534 * io/fcntl.h: Move include of <bits/types.h> to the top and
6535 include it unconditionally.
6536
de54b33a
L
65372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6538
228cfb01
L
6539 * wcsmbs/Makefile (tests-ifunc): New variable.
6540 (tests): Add $(tests-ifunc).
6541 * wcsmbs/test-wcschr-ifunc.c: New file.
6542 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6543 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6544 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6545 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6546 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6547
69f07e5f
L
6548 * string/Makefile (tests-ifunc): New variable.
6549 (tests): Add $(tests-ifunc).
6550 * string/test-memccpy.c (TEST_NAME): New macro.
6551 * string/test-memchr.c (TEST_NAME): Likewise.
6552 * string/test-memcmp.c (TEST_NAME): Likewise.
6553 * string/test-memcpy.c (TEST_NAME): Likewise.
6554 * string/test-memmem.c (TEST_NAME): Likewise.
6555 * string/test-memmove.c (TEST_NAME): Likewise.
6556 * string/test-memset.c (TEST_NAME): Likewise.
6557 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6558 * string/test-stpcpy.c (TEST_NAME): Likewise.
6559 * string/test-stpncpy.c (TEST_NAME): Likewise.
6560 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6561 * string/test-strcasestr.c (TEST_NAME): Likewise.
6562 * string/test-strcat.c (TEST_NAME): Likewise.
6563 * string/test-strchr.c (TEST_NAME): Likewise.
6564 * string/test-strcmp.c(TEST_NAME): Likewise.
6565 * string/test-strcpy.c (TEST_NAME): Likewise.
6566 * string/test-strcspn.c (TEST_NAME): Likewise.
6567 * string/test-strlen.c (TEST_NAME): Likewise.
6568 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6569 * string/test-strncmp.c (TEST_NAME): Likewise.
6570 * string/test-strncpy.c (TEST_NAME): Likewise.
6571 * string/test-strnlen.c (TEST_NAME): Likewise.
6572 * string/test-strpbrk.c (TEST_NAME): Likewise.
6573 * string/test-strrchr.c (TEST_NAME): Likewise.
6574 * string/test-strspn.c (TEST_NAME): Likewise.
6575 * string/test-strstr.c (TEST_NAME): Likewise.
6576 * string/test-bcopy-ifunc.c: New file.
6577 * string/test-bzero-ifunc.c: Likewise.
6578 * string/test-memccpy-ifunc.c: Likewise.
6579 * string/test-memchr-ifunc.c: Likewise.
6580 * string/test-memcmp-ifunc.c: Likewise.
6581 * string/test-memcpy-ifunc.c: Likewise.
6582 * string/test-memmem-ifunc.c: Likewise.
6583 * string/test-memmove-ifunc.c: Likewise.
6584 * string/test-mempcpy-ifunc.c: Likewise.
6585 * string/test-memset-ifunc.c: Likewise.
6586 * string/test-rawmemchr-ifunc.c: Likewise.
6587 * string/test-stpcpy-ifunc.c: Likewise.
6588 * string/test-stpncpy-ifunc.c: Likewise.
6589 * string/test-strcasecmp-ifunc.c: Likewise.
6590 * string/test-strcasestr-ifunc.c: Likewise.
6591 * string/test-strcat-ifunc.c: Likewise.
6592 * string/test-strchr-ifunc.c: Likewise.
6593 * string/test-strchrnul-ifunc.c: Likewise.
6594 * string/test-strcmp-ifunc.c: Likewise.
6595 * string/test-strcpy-ifunc.c: Likewise.
6596 * string/test-strcspn-ifunc.c: Likewise.
6597 * string/test-strlen-ifunc.c: Likewise.
6598 * string/test-strncasecmp-ifunc.c: Likewise.
6599 * string/test-strncat-ifunc.c: Likewise.
6600 * string/test-strncmp-ifunc.c: Likewise.
6601 * string/test-strncpy-ifunc.c: Likewise.
6602 * string/test-strnlen-ifunc.c: Likewise.
6603 * string/test-strpbrk-ifunc.c: Likewise.
6604 * string/test-strrchr-ifunc.c: Likewise.
6605 * string/test-strspn-ifunc.c: Likewise.
6606 * string/test-strstr-ifunc.c: Likewise.
6607
de54b33a
L
6608 * debug/Makefile (tests-ifunc): New variable.
6609 (tests): Add $(tests-ifunc).
6610 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6611 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6612 * debug/test-stpcpy_chk-ifunc.c: New file.
6613 * debug/test-strcpy_chk-ifunc.c: Likewise.
6614
88481c16
SP
66152012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6616
6617 [BZ #13601]
6618 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6619 header is not read in.
6620
135948bd
JM
66212012-10-19 Joseph Myers <joseph@codesourcery.com>
6622
89f1c388
JM
6623 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6624 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6625 directly. Pass built executable to script as
6626 $(built-program-cmd).
6627 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6628 $testprogram without using LD_LIBRARY_PATH and $ldso.
6629
e40a0d21
JM
6630 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6631 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6632 $(rtld-installed-name).
6633 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6634 (rtld_installed_name): Likewise.
6635 (library_path): Likewise.
6636 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6637 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6638 $(run-program-prefix) to tst-tables.sh.
6639 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6640 it to run tst-table-from and tst-table-to.
6641 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6642 Pass it to tst-table.sh.
6643 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6644 $(run-program-prefix) to tst-gettext.sh.
6645 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6646 tst-translit.sh.
6647 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6648 tst-gettext2.sh.
6649 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6650 to run tst-gettext.
6651 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6652 to run tst-gettext2.
6653 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6654 to run tst-translit.
6655 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6656 $(run-program-prefix) to tst-mtrace.sh.
6657 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6658 to run tst-mtrace.
6659 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6660 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6661 $(rtld-installed-name).
6662 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6663 (rtld_installed_name): Likewise.
6664 (run_program_prefix): New variable. Use it to run wordexp-test.
6665
728e272a
JM
6666 * Makeconfig (ARCH): Remove all definitions.
6667 (machine): Likewise.
6668 [ARCH]: Remove conditional code.
6669 [!objdir]: Give error.
6670 [!objdir] (objpfx): Remove.
6671 [!objdir] (common-objpfx): Likewise.
6672 [!objdir] (common-objdir): Likewise.
6673 * configure.in (config_makefile): Remove. Hardcode Makefile in
6674 AC_CONFIG_FILES call.
6675 * configure: Regenerated.
6676
d528cdcf
JM
6677 [BZ #13888]
6678 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6679 or TMPDIR.
6680 (testout): Likewise.
6681
135948bd
JM
6682 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6683 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6684 $(rtld-installed-name).
6685 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6686 (rtld_installed_name): Likwise.
6687 (runit): Remove function.
6688 (run_getconf): New variable, Use it for running getconf binary.
6689
38c78296
L
66902012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6691
6692 [BZ #14716]
6693 * string/test-memmem.c (check_result): New function.
6694 (do_one_test): Use it.
6695 (check1): New function.
6696 (test_main): Use it.
6697
d077f65f
MT
66982012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6699
6700 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6701
ced52c71
JM
67022012-10-18 Joseph Myers <joseph@codesourcery.com>
6703
6704 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6705 (_G_LSEEK64): Likewise.
6706 (_G_MMAP64): Likewise.
6707 (_G_FSTAT64): Likewise.
6708 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6709 (_G_LSEEK64): Likewise.
6710 (_G_MMAP64): Likewise.
6711 (_G_FSTAT64): Likewise.
6712 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6713 unconditional. Call __mmap64 directly.
6714 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6715 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6716 __lseek64 directly.
6717 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6718 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6719 __mmap64 directly.
6720 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6721 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6722 __lseek64 directly.
6723 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6724 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6725 __lseek64 directly.
6726 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6727 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6728 __lseek64 directly.
6729 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6730 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6731 __fxstat64 directly.
6732 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6733 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6734 unconditional.
6735 (freopen64) [!_G_OPEN64]: Remove conditional code.
6736 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6737 unconditional.
6738 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6739 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6740 unconditional.
6741 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6742 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6743 unconditional.
6744 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6745 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6746 unconditional.
6747 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6748 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6749 unconditional.
6750 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6751 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6752 unconditional.
6753 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6754 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6755 unconditional.
6756 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6757
b741de23
SP
67582012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6759
6760 [BZ #12140]
6761 * manual/memory.texi (Malloc Tunable Parameters): Add note
6762 about free list pointers overwriting some perturb bytes.
6763 Wording suggested by Roland McGrath.
6764
f9b9d9c9
JM
67652012-10-17 Joseph Myers <joseph@codesourcery.com>
6766
6767 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6768 (lgamma_test): Likewise.
6769 (tgamma_test): Likewise.
6770
172a631a
FW
67712012-10-16 Florian Weimer <fweimer@redhat.com>
6772
6773 [BZ #14700]
6774 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6775 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6776
e9f37252
MK
67772012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6778
6779 * NEWS: Mention BZ #14716.
6780 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6781 when removing AVAILABLE1_USES_J macro.
6782
d394eb74
L
67832012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6784
6785 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6786 (__bswap_64): __uint64_t for unsigned 64-bit int.
6787
ca38dc17
AS
67882012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6789
6790 * include/string.h (memmem): Declare libc hidden alias.
6791 * string/memmem.c (memmem): Define libc hidden alias.
6792 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6793 __read, __close instead of open, read, close.
6794
9a387d1f
L
67952012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6796
ac49ecaf
L
6797 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6798 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6799 global and hidden.
6800 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6801 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6802 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6803 Likewise.
6804 (__rawmemchr_sse2): Likewise.
6805 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6806 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6807 (__strchr_sse2): Likewise.
6808 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6809 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6810 (__strcasecmp_sse2): Likewise.
6811 (__strncasecmp_sse2): Likewise.
6812 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6813 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6814 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6815 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6816 (__strrchr_sse2): Likewise.
6817 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6818 ifunc-impl-list.c.
6819 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6820 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6821 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6822 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6823 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6824 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6825 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6826 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6827 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6828 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6829 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6830 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6831 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6832 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6833 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6834 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6835 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6836 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6837 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6838 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6839 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6840 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6841 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6842 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6843 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6844 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6845 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6846 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6847 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6848 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6849
b090e8ea
L
6850 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6851 global and hidden.
6852 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6853 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6854 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6855 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6856 Likewise.
6857 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6858 Likewise.
6859 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6860 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6861 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6862 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6863 ifunc-impl-list.c.
6864 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6879 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6882 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6884 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6885 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6886 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6887 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6889 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6890 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6891 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6892 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6893 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6894 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6895 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6896 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6897 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6898 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6899 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6900 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6901 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6902 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6903 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6904 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6905
11dd4af6
L
6906 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6907 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6908 * include/ifunc-impl-list.h: New file.
6909 * misc/ifunc-impl-list.c: Likewise.
6910 * misc/Makefile (routines): Add ifunc-impl-list.
6911 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6912 * string/test-string.h: Include <ifunc-impl-list.h>.
6913 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6914 impl_array): New variables.
6915 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6916 are defined.
6917 (test_init): Call __libc_ifunc_impl_list to initialize
6918 func_list if TEST_IFUNC and TEST_NAME are defined.
6919
9a387d1f
L
6920 * string/Makefile (strop-tests): Add bcopy and bzero.
6921 * string/test-bcopy.c: New file.
6922 * string/test-bzero.c: Likewise.
6923 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6924 defined.
6925 * string/test-memset.c: Support bzero test if TEST_BZERO is
6926 defined.
6927 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6928 __libc_memmove.
6929 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6930 __libc_memset.
6931 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6932 of memset.
6933
472371b9
JM
69342012-10-10 Joseph Myers <joseph@codesourcery.com>
6935
1e4a9536
JM
6936 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6937 * configure: Regenerated.
6938
d173d12e
JM
6939 * Makeconfig (+link-static-before-libc): Don't include
6940 $(link-static-libc).
6941
472371b9
JM
6942 * libio/libio.h (_IO_pos_t): Remove.
6943
89a3ad0b
AO
69442012-10-10 Alexandre Oliva <aoliva@redhat.com>
6945
6946 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6947 McGrath.
6948
e7451425
AO
69492012-10-10 Alexandre Oliva <aoliva@redhat.com>
6950
6951 * crypt/crypt-entry.c: Include fips-private.h.
6952 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6953 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6954 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6955 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6956
4ba74a35
AO
69572012-10-10 Alexandre Oliva <aoliva@redhat.com>
6958
6959 * crypt/crypt-private.h: Include stdbool.h.
6960 (_ufc_setup_salt_r): Return bool.
6961 * crypt/crypt-entry.c: Include errno.h.
6962 (__crypt_r): Return NULL with EINVAL for bad salt.
6963 * crypt/crypt_util.c (bad_for_salt): New.
6964 (_ufc_setup_salt_r): Check that salt is long enough and within
6965 the specified alphabet.
6966 * crypt/badsalttest.c: New file.
6967 * crypt/Makefile (tests): Add it.
6968 ($(objpfx)badsalttest): New.
6969
f96f1242
MK
69702012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6971
6972 * NEWS: Add entry for BZ #14602.
6973
0e8e0c1c
JM
69742012-10-09 Joseph Myers <joseph@codesourcery.com>
6975
6976 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6977 type-generic.
6978 * math/libm-test.inc: Update comment listing what functions and
6979 macros are tested.
6980 (isgreater_test): New function.
6981 (isgreaterequal_test): Likewise.
6982 (isless_test): Likewise.
6983 (islessequal_test): Likewise.
6984 (islessgreater_test): Likewise.
6985 (isunordered_test): Likewise.
6986 (main): Call the new functions.
6987
273edc5e
RM
69882012-10-09 Roland McGrath <roland@hack.frob.com>
6989
b8493de0
RM
6990 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6991 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6992 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6993 * sysdeps/i386/configure: Regenerated.
6994 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6995 * sysdeps/mach/configure: Regenerated.
6996 * sysdeps/mach/hurd/configure: Regenerated.
6997 * sysdeps/powerpc/configure: Regenerated.
6998 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6999 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7000 * sysdeps/s390/s390-32/configure: Regenerated.
7001 * sysdeps/s390/s390-64/configure: Regenerated.
7002 * sysdeps/sh/configure: Regenerated.
7003 * sysdeps/sparc/configure: Regenerated.
7004 * sysdeps/unix/sysv/linux/configure: Regenerated.
7005 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7006 * sysdeps/x86_64/configure: Regenerated.
7007
273edc5e
RM
7008 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7009 defined. Don't check if MAP is NULL.
7010
c8450f70
JM
70112012-10-09 Joseph Myers <joseph@codesourcery.com>
7012
7013 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7014 (_G_stat64): Likewise.
7015 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7016 (_G_stat64): Likewise.
7017 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7018 instead of struct _G_stat64.
7019 * libio/fileops.c (mmap_remap_check): Likewise.
7020 (decide_maybe_mmap): Likewise.
7021 (_IO_new_file_seekoff): Likewise.
7022 (_IO_file_stat): Likewise.
7023 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7024 _G_off64_t.
7025 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7026 instead of struct _G_stat64.
7027 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7028
57e605ba
MK
70292012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7030
7031 [BZ #14602]
7032 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7033 Replace with ...
7034 (CHECK_EOL): New macro.
7035 (two_way_short_needle): Check beginning of haystack for EOL. Use
7036 CHECK_EOL.
7037 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7038 Replace with CHECK_EOL.
7039 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7040 Replace with CHECK_EOL.
7041
ef1bb361
JM
70422012-10-08 Joseph Myers <joseph@codesourcery.com>
7043
7044 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7045 type-generic.
7046 * math/libm-test.inc: Update comment listing what functions and
7047 macros are tested.
7048 (finite_test): New function.
7049 (isinf_test): Likewise.
7050 (isnan_test): Likewise.
7051 (fpclassify_test): Test subnormal input.
7052 (isfinite_test): Likewise.
7053 (isnormal_test): Likewise.
7054 (main): Call the new functions.
7055
55f11534
JN
70562012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7057
7058 [BZ #14660]
7059 * Makerules (%.dynsym): Force C locale when running
7060 $(OBJDUMP) --dynamic-syms.
7061
1ab29350
AS
70622012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7063
7064 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7065 <stdint.h>.
7066
f1ecb7ef
DM
70672012-10-06 David S. Miller <davem@davemloft.net>
7068
7069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7070 upper 32-bits of the length value in %o2 since we use branch-on-register
7071 tests which consider the entire 64-bit register.
7072
5d41d91a
L
70732012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7074
7075 * string/test-strstr.c (check2): Add a test for page boundary.
7076
3baddb72
DM
70772012-10-05 David S. Miller <davem@davemloft.net>
7078
7079 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7080 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7081 file.
7082 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7083 sysdep_routines.
7084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7085 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7086 and bzero when HWCAP_SPARC_CRYPTO is present.
7087
9cee5585
L
70882012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7089
d7e0dab9
L
7090 [BZ #14602]
7091 * string/test-strstr.c (check2): New function.
7092 (test_main): Call check2.
7093
03759f47
L
7094 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7095 and bug-strchr1.
7096 * string/bug-strcasestr1.c (do_test): Moved to ...
7097 * string/test-strcasestr.c (check1): Here. New function.
7098 (do_one_test): Break out result checking code into ...
7099 (check_result): This. New function.
7100 (do_one_test): Call check_result.
7101 (test_main): Call check1.
7102 * string/bug-strchr1.c (do_test): Moved to ...
7103 * string/test-strchr.c (check1): Here. New function.
7104 (do_one_test): Break out result checking code into ...
7105 (check_result): This. New function.
7106 (do_one_test): Call check_result.
7107 (test_main): Call check1.
7108 * string/bug-strstr1.c (main): Moved to ...
046f153e 7109 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7110 (do_one_test): Break out result checking code into ...
7111 (check_result): This. New function.
7112 (do_one_test): Call check_result.
7113 (test_main): Call check1.
7114 * string/bug-strcasestr1.c: Removed.
7115 * string/bug-strchr1.c: Likewise.
7116 * string/bug-strstr1.c: Likewise.
7117
53cea63e
L
7118 * elf/Makefile (dl-routines): Add hwcaps.
7119 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7120 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7121 (_dl_important_hwcaps): Moved to ...
7122 * elf/dl-hwcaps.c: Here. New file.
7123 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7124
9cee5585 7125 [BZ #14557]
bb859b06
L
7126 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7127 if IS_IN_rtld isn't defined.
7128
9cee5585
L
7129 * elf/dl-support.c (_dl_sysinfo_map): New.
7130 Include "get-dynamic-info.h" and "setup-vdso.h".
7131 (_dl_non_dynamic_init): Call setup_vdso.
7132 * elf/dynamic-link.h: Don't include <assert.h>.
7133 (elf_get_dynamic_info): Moved to ...
7134 * elf/get-dynamic-info.h: Here. New file.
7135 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7136 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7137 * elf/setup-vdso.h: Here. New file.
7138 * elf/rtld.c: Include "setup-vdso.h".
7139 (dl_main): Call setup_vdso.
7140
23c31b76
JM
71412012-10-05 Joseph Myers <joseph@codesourcery.com>
7142
28234b07
JM
7143 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7144 creal in comment listing functions tested. List finite, isinf,
7145 isnan, isless, islessequal, isgreater, isgreaterequal,
7146 islessgreater, isunordered, lgamma_r and pow10 as functions and
7147 macros not tested. Mention which functions not tested are aliases
7148 for other functions. Fix typo. Note that signs of NaNs are not
7149 tested.
7150
23c31b76
JM
7151 * scripts/config.guess: Update from config.git.
7152 * scripts/config.sub: Likewise.
7153
9043e228
RM
71542012-10-04 Roland McGrath <roland@hack.frob.com>
7155
7156 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7157 * misc/madvise.c (madvise): Renamed to __madvise.
7158 Make madvise a weak alias.
7159 * include/sys/mman.h: Declare __madvise.
7160 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7161 * sysdeps/unix/syscalls.list
7162 (madvise): Make __madvise the strong name, and madvise a weak alias.
7163 * sysdeps/unix/sysv/linux/syscalls.list
7164 (madvise, mmap): Remove redundant entries.
7165 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7166 * malloc/malloc.c (mtrim): Likewise.
7167 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7168
f57f8055
RM
71692012-10-03 Roland McGrath <roland@hack.frob.com>
7170
7171 * sysdeps/mach/hurd/dl-cache.c: File removed.
7172 * config.h.in (USE_LDCONFIG): New #undef.
7173 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7174 * configure: Regenerated.
7175 * elf/Makefile (dl-routines): Add dl-cache only under
7176 [$(use-ldconfig) = yes].
7177 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7178 cache on [USE_LDCONFIG].
7179 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7180 [USE_LDCONFIG].
7181 * elf/rtld.c (dl_main): Likewise.
7182
5bb0c10a
PT
71832012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7184
7185 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7186 _SC_LEVEL4_CACHE_LINESIZE.
7187
010188c6
RM
71882012-10-03 Roland McGrath <roland@hack.frob.com>
7189
7190 * sysdeps/unix/bsd/confstr.h: File removed.
7191
b6c5ec07
AO
71922012-10-02 Alexandre Oliva <aoliva@redhat.com>
7193
7194 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7195 sys/sdt-config.h.
7196
408223d4
RM
71972012-10-02 Roland McGrath <roland@hack.frob.com>
7198
7199 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7200 Make 'mapoff' field ElfW(Off) rather than off_t.
7201
bb9510dc
DL
72022012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7203
fc997c6e
DL
7204 * nscd/Makefile: Remove nscd-cflags and all its users.
7205 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7206 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7207
bb9510dc
DL
7208 [BZ #10631]
7209 * malloc.c (malloc_printerr): Clarify error message.
7210
05699367
L
72112012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7212
7213 [BZ #14648]
7214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7215 Set bit_FMA_Usable if FMA is supported.
7216 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7217 macro.
7218 (bit_FMA4_Usable): Updated.
7219 (index_FMA_Usable): New macro.
7220 (CPUID_FMA): Likewise
7221 (HAS_FMA): Defined with bit_FMA_Usable.
7222
51367701
RM
72232012-10-01 Roland McGrath <roland@hack.frob.com>
7224
7225 * bits/types.h (__swblk_t): Type removed.
7226 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7227 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7229 (__SWBLK_T_TYPE): Likewise.
7230 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7231 (__SWBLK_T_TYPE): Likewise.
7232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7233 (__SWBLK_T_TYPE): Likewise.
7234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7235 (__SWBLK_T_TYPE): Likewise.
7236
4d57bf63 72372012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7238 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7239
7240 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7241 (xdr_mapname): Use YPMAXMAP as maxsize.
7242 (xdr_peername): Use YPMAXPEER as maxsize.
7243 (xdr_keydat): Use YPAXRECORD as maxsize.
7244 (xdr_valdat): Use YPMAXRECORD as maxsize.
7245
93c65d43
RM
72462012-10-01 Roland McGrath <roland@hack.frob.com>
7247
497a03d6
RM
7248 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7249
93c65d43
RM
7250 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7251 * csu/init-first.c: ... here.
7252 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7253 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7254 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7255 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7256 * sysdeps/i386/init-first.c: File removed.
7257 * sysdeps/sh/init-first.c: File removed.
7258
bec749fd
JM
72592012-10-01 Joseph Myers <joseph@codesourcery.com>
7260
7261 [BZ #14645]
7262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7263 if x * y might underflow to zero and z is zero.
7264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7265 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7266 * math/libm-test.inc (min_subnorm_value): New variable.
7267 (fma_test): Add more tests.
7268 (fma_test_towardzero): Likewise.
7269 (fma_test_downward): Likewise
7270 (fma_test_upward): Likewise.
7271 (initialize): Set min_subnorm_value.
7272
8ec5b013
JM
72732012-09-29 Joseph Myers <joseph@codesourcery.com>
7274
7275 [BZ #14638]
7276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7277 0 + 0.
7278 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7279 mode for addition resulting in exact zero.
7280 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7282 exact 0 + 0.
7283 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7285 * math/libm-test.inc (fma_test): Add more tests.
7286 (fma_test_towardzero): New function.
7287 (fma_test_downward): Likewise.
7288 (fma_test_upward): Likewise.
7289 (main): Call the new functions.
7290
b1fa802e
DM
72912012-09-28 David S. Miller <davem@davemloft.net>
7292
7293 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7294
d3b9fd9e
RM
72952012-09-28 Roland McGrath <roland@hack.frob.com>
7296
ea4d37b3
RM
7297 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7298 instead of SIGALRM.
7299
ac51c949
RM
7300 * sysdeps/gnu/_G_config.h: Moved to ...
7301 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7302 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7303 * sysdeps/generic/_G_config.h: ... here.
7304
28c195f7
RM
7305 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7306
848917f9
RM
7307 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7308
6bacf05b
RM
7309 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7310 Conditionalize target on [libnss_test1.so-version].
7311
91363dbb
RM
7312 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7313
cc87f7d8
RM
7314 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7315 (elfobjdir): Move out of conditionals.
7316
b1c608fe
RM
7317 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7318 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7319 (__nss_lookup_function): Conditionalize label remove_from_tree on
7320 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7321
1d9a6d96
DM
73222012-09-28 David S. Miller <davem@davemloft.net>
7323
7324 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7325 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7326 file.
7327 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7328 sysdep_routines.
7329 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7331 when HWCAP_SPARC_CRYPTO is present.
7332
72581615
PT
73332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7334
7335 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7336
715a900c
JL
73372012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7338
7339 [BZ #6530]
7340 * stdio-common/vfprintf.c (process_string_arg): Revert
7341 2000-07-22 change.
7342
73432011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7344
7345 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7346 for testcase.
7347 * stdio-common/tst-sprintf.c: Include <locale.h>
7348 (main): Test sprintf's handling of incomplete multibyte
7349 characters.
7350
9bac1d86
L
73512012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7352
7353 * elf/dl-runtime.c (VERSYMIDX): Removed.
7354 * elf/dl-version.c (VERSYMIDX): Likewise.
7355 * elf/do-rel.h (VERSYMIDX): Likewise.
7356 (VALIDX): Likewise.
7357 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7358 * elf/rtld.c (VALIDX): Likewise.
7359 (ADDRIDX): Likewise.
9bac1d86
L
7360 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7361 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7362 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7363 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7364 (VALIDX): Likewise.
7365 (ADDRIDX): Likewise.
9bac1d86 7366
b31606c0
PT
73672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7368
7369 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7370
11541177
JL
73712012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7372
7373 [BZ #11438]
7374 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7375 to global scope.
7376 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7377 addresses are in the same scope as 192.0.2/24.
7378 * posix/gai.conf: Document new scope table defaults.
7379
adb26fae
SP
73802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7381
7382 [BZ #5298]
7383 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7384 for ftell. Compute offsets from write pointers instead.
7385 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7386
4573c6b0
SP
73872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7388
7389 [BZ #14543]
7390 * libio/Makefile (tests): New test case tst-fseek.
7391 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7392 combination works in wide mode.
7393 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7394 state when the external buffer state changes.
7395
aa9bbfe6
DM
73962012-09-27 David S. Miller <davem@davemloft.net>
7397
7398 [BZ #14376]
7399 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7400 pass reloc->r_addend in as the 'high' argument to
7401 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7402
784421e7
DM
7403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7404
c39bc8b8
PT
74052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7406
7407 * rt/tst-aio2.c: Include <pthread.h>.
7408 * rt/tst-aio3.c: Likewise.
7409
1ccc2399
SE
74102012-09-27 Steve Ellcey <sellcey@mips.com>
7411
7412 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7413
31ed4153
L
74142012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7415
25f5f885
L
7416 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7417 contents on [SHARED].
31ed4153 7418
b7bfe116
MP
74192012-09-26 Marek Polacek <polacek@redhat.com>
7420
7421 [BZ #14530]
7422 [BZ #13741]
7423 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7424 for C++ and GCC <4.3 as well as for non GCC compilers.
7425
43c4edba
MT
74262012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7427
7428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7429
6a1bf82f
RM
74302012-09-25 Roland McGrath <roland@hack.frob.com>
7431
7432 * Makefile.in (all, install): Declare with .PHONY.
7433 Reported by Michael Hope <michael.hope@linaro.org>.
7434
8ad11b9a
TMQMF
74352012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7436
7437 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7438 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7439 system header.
7440 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7441 Likewise.
7442 (sydep_routines): Add the new and the internal functions.
7443 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7444 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7446 (GLIBC_2.17): Add the new function.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7448 (GLIBC_2.17): Likewise.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7450 (GLIBC_2.17): Likewise.
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7452 (GLIBC_2.17): Likewise.
7453 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7454
7e2fca8d
AM
74552012-09-25 Alan Modra <amodra@gmail.com>
7456
7457 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7458 Add release barrier before setting once_control to say
7459 initialisation is done. Add hints on lwarx. Use macro in
7460 place of isync.
7461 (clear_once_control): Add release barrier.
7462
b87c4b24
JM
74632012-09-25 Joseph Myers <joseph@codesourcery.com>
7464
d032e0d2
JM
7465 [BZ #13629]
7466 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7467 specially.
7468 * math/s_clog10.c (__clog10): Likewise.
7469 * math/s_clog10f.c (__clog10f): Likewise.
7470 * math/s_clog10l.c (__clog10l): Likewise.
7471 * math/s_clogf.c (__clogf): Likewise.
7472 * math/s_clogl.c (__clogl): Likewise.
7473 * math/Makefile (libm-calls): Add x2y2m1.
7474 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7475 (__x2y2m1): Likewise.
7476 (__x2y2m1l): Likewise.
7477 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7478 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7481 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7482 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7483 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7484 * sysdeps/i386/fpu/libm-test-ulps: Update.
7485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7486
b87c4b24
JM
7487 [BZ #14621]
7488 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7489 int as type of variable DEPTH.
7490 (glob): Use size_t instead of int as type of variables NEWCOUNT
7491 and OLD_PATHC.
7492
6d3bf199
LD
74932012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7494
22bf5c17
LD
7495 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7496 Add s_sincosf-sse2.
7497 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7498 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7499 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7500 macros for using routine as __sincosf_ia32.
7501 Use macro for function declaration and weak_alias.
7502 * sysdeps/i386/fpu/libm-test-ulps: Update.
7503
7504 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7506
7507 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7508 subnormal argument.
7509 * math/s_cexpf.c (__cexpf): Likewise.
7510 * math/s_csinf.c (__csinf): Likewise.
7511 * math/s_csinhf.c (__csinhf): Likewise.
7512 * math/s_ctanf.c (__ctanf): Likewise.
7513 * math/s_ctanhf.c (__ctanhf): Likewise.
7514 * math/s_ccosh.c (__ccoshf): Likewise.
7515 * math/s_cexp.c (__cexpl): Likewise.
7516 * math/s_csin.c (__csin): Likewise.
7517 * math/s_csinh.c (__csinh): Likewise.
7518 * math/s_ctan.c (__ctan): Likewise.
7519 * math/s_ctanh.c (ctanh): Likewise.
7520 * math/s_ccoshl.c (__ccoshl): Likewise.
7521 * math/s_cexpl.c (__cexpl): Likewise.
7522 * math/s_csinl.c (__csinl): Likewise.
7523 * math/s_csinhl.c (__csinhl): Likewise.
7524 * math/s_ctanl.c (__ctanl): Likewise.
7525 * math/s_ctanhl.c (__ctanhl): Likewise.
7526
203e5603
JM
75272012-09-25 Joseph Myers <joseph@codesourcery.com>
7528
7529 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7530 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7531 (_IO_off_t): Define to __off_t, not _G_off_t.
7532 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7533 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7534 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7535 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7536 type of __dummy and __dummy2 fields.
7537 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7538 (_G_ssize_t): Likewise.
7539 (_G_off_t): Likewise.
7540 (_G_pid_t): Likewise.
7541 (_G_uid_t): Likewise.
7542 (_G_wchar_t): Likewise.
7543 (_G_wint_t): Likewise.
7544 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7545 (_G_ssize_t): Likewise.
7546 (_G_off_t): Likewise.
7547 (_G_pid_t): Likewise.
7548 (_G_uid_t): Likewise.
7549 (_G_wchar_t): Likewise.
7550 (_G_wint_t): Likewise.
7551 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7552 (_G_ssize_t): Likewise.
7553 (_G_off_t): Likewise.
7554 (_G_pid_t): Likewise.
7555 (_G_uid_t): Likewise.
7556 (_G_wchar_t): Likewise.
7557 (_G_wint_t): Likewise.
7558
9fab36eb
SP
75592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7560
7561 * malloc/arena.c: Include malloc-sysdep.h.
7562 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7563 is sufficient to shrink the heap or an unmap is needed.
7564 * sysdeps/generic/malloc-sysdep.h: New file. Define
7565 new function check_may_shrink_heap.
7566 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7567 new function check_may_shrink_heap.
7568
2b4f00d1
SP
75692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7570
7571 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7572 comments.
7573
9a9028b1
DL
75742012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7575
57c69bef
DL
7576 * catgets/test-gencat.sh: Add "set -e".
7577 * elf/tst-pathopt.sh: Likewise.
7578 * grp/tst_fgetgrent.sh: Likewise.
7579 * iconvdata/run-iconv-test.sh: Likewise.
7580 * intl/tst-gettext.sh: Likewise.
7581 * intl/tst-gettext2.sh: Likewise.
7582 * intl/tst-gettext4.sh: Likewise.
7583 * intl/tst-gettext6.sh: Likewise.
7584 * intl/tst-translit.sh: Likewise.
7585 * io/ftwtest-sh: Likewise.
7586 * libio/test-freopen.sh: Likewise.
7587 * malloc/tst-mtrace.sh: Likewise.
7588 * posix/globtest.sh: Likewise.
7589 * posix/tst-getconf.sh: Likewise.
7590 * posix/wordexp-tst.sh: Likewise.
7591 * stdio-common/tst-printf.sh: Likewise.
7592 * stdio-common/tst-unbputc.sh: Likewise.
7593 * stdlib/tst-fmtmsg.sh: Likewise.
7594 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7595 * catgets/Makefile: Do not specify -e option when running
7596 testsuite shell scripts.
7597 * elf/Makefile: Likewise.
7598 * grp/Makefile: Likewise.
7599 * iconvdata/Makefile: Likewise.
7600 * intl/Makefile: Likewise.
7601 * io/Makefile: Likewise.
7602 * libio/Makefile: Likewise.
7603 * malloc/Makefile: Likewise.
7604 * posix/Makefile: Likewise.
7605 * stdio-common/Makefile: Likewise.
7606 * stdlib/Makefile: Likewise.
7607 * sysdeps/x86_64/Makefile: Likewise.
7608
9a9028b1
DL
7609 * io/ftwtest-sh: Add copyright header.
7610 * posix/globtest.sh: Likewise.
7611 * posix/tst-getconf.sh: Likewise.
7612 * posix/wordexp-tst.sh: Likewise.
7613 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7614
ced6f16e
L
76152012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7616
94b32c39
L
7617 [BZ #13679]
7618 * Makeconfig (+link): Defined as $(+link-static) if
7619 $(build-shared) isn't yes.
7620 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7621 isn't yes.
7622 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7623
189e935b
L
7624 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7625
ced6f16e
L
7626 [BZ #14562]
7627 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7628 new chunk size with MALLOC_ALIGN_MASK.
7629
a9f8e53a
JM
76302012-09-24 Joseph Myers <joseph@codesourcery.com>
7631
7632 [BZ #5044]
7633 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7634 <rounding-mode.h>.
7635 (__printf_fphex): Determine rounding using get_rounding_mode and
7636 round_away.
7637 * stdio-common/tst-printf-round.c (struct hex_test): New
7638 structure.
7639 (hex_tests): New variable.
7640 (test_hex_in_one_mode): New function.
7641 (do_test): Also run tests for hex float output.
7642
43153109
JM
76432012-09-21 Joseph Myers <joseph@codesourcery.com>
7644
7645 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7646 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7647 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7648 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7649 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7650 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7651 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7652 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7653
8a26625d
JM
76542012-09-20 Joseph Myers <joseph@codesourcery.com>
7655
7656 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7657 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7658 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7659 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7660
f3fd569c
DL
76612012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7662
7663 [BZ #14579]
7664 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7665 mode only.
7666 * elf/tst-rtld-load-self.sh: New test.
7667 * elf/Makefile: Run it.
7668
63bbedd4
JM
76692012-09-18 Joseph Myers <joseph@codesourcery.com>
7670
7671 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7672 (tst-writev-ENV): Remove.
7673 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7674
626f8b6a
CM
76752012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7676
7677 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7678
b7aaa4d6
JM
76792012-09-17 Joseph Myers <joseph@codesourcery.com>
7680
7681 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7682 unconditional.
7683 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7684 Likewise.
7685 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7686 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7687 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7688 Likewise.
7689
65513990
L
76902012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7691
7692 [BZ #14587]
7693 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7694 * config.make.in (have-cpp-asm-debuginfo): Removed.
7695 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7696 * configure: Regenerated.
7697
784761be
JM
76982012-09-14 Joseph Myers <joseph@codesourcery.com>
7699
7700 [BZ #5044]
7701 * stdio-common/printf_fp.c: Include <stdbool.h> and
7702 <rounding-mode.h>.
7703 (___printf_fp): Determine rounding using get_rounding_mode and
7704 round_away.
7705 * stdio-common/tst-printf-round.c: New file.
7706 * stdio-common/Makefile (tests): Add tst-printf-round.
7707 (link-libm): New variable.
7708 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7709
9503345f
L
77102012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7711
7712 [BZ #14576]
7713 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7714 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7715 Likewise.
7716 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7717 Likewise.
7718
ad35fc00
JM
77192012-09-13 Joseph Myers <joseph@codesourcery.com>
7720
7721 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7722 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7723 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7724 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7725
6c9b0f68
JM
77262012-09-12 Joseph Myers <joseph@codesourcery.com>
7727
7728 [BZ #14518]
7729 * include/rounding-mode.h: New file.
7730 * sysdeps/generic/get-rounding-mode.h: Likewise.
7731 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7732 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7733 (MAX_VALUE): New macro.
7734 (MIN_VALUE): Likewise.
7735 (overflow_value): New function.
7736 (underflow_value): Likewise.
7737 (round_and_return): Use overflow_value and underflow_value to
7738 determine return values in overflow and underflow cases. Use
7739 round_away to determine rounding depending on rounding mode.
7740 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7741 determine return values in overflow and underflow cases.
7742 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7743 (struct test_results): New structure.
7744 (struct test): Use struct test_results to store expected results
7745 for all rounding modes.
7746 (TEST): Include expected results for all rounding modes.
7747 (test_in_one_mode): New function.
7748 (do_test): Use test_in_one_mode to compute and check results.
7749 Check results for all rounding modes.
7750 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7751 $(link-libm).
7752
19fcedd5
AM
77532012-12-09 Allan McRae <allan@archlinux.org>
7754
1e9d84cd 7755 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 7756
8bbfd2f1
JM
77572012-09-11 Joseph Myers <joseph@codesourcery.com>
7758
7759 * sysdeps/generic/_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/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7776 (_G_int32_t): Likewise.
7777 (_G_uint16_t): Likewise.
7778 (_G_uint32_t): Likewise.
7779 (_G_HAVE_BOOL): Likewise.
7780 (_G_HAVE_ATEXIT): Likewise.
7781 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7782 (_G_HAVE_IO_FILE_OPEN): Likewise.
7783
b1dc5912
L
77842012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 * csu/libc-tls.c: Update copyright years.
7787
0e886ef9
JM
77882012-09-10 Joseph Myers <joseph@codesourcery.com>
7789
28361c5e
JM
7790 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7791 [!_G_USING_THUNKS]: Remove conditional code.
7792 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7793 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7794
0e886ef9
JM
7795 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7796 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7797 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7798 (_G_VTABLE_LABEL_PREFIX): Likewise.
7799 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7800 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7801 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7802 (_G_VTABLE_LABEL_PREFIX): Likewise.
7803 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7804 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7805 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7806 (_G_VTABLE_LABEL_PREFIX): Likewise.
7807 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7808
bcba7aa2
L
78092012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7810
7811 * libio/Makefile: Include ../Makeconfig before tests.
7812 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7813 only if $(build-shared) is yes.
7814
06585ee8
L
7815 * iconv/gconv_db.c: Update copyright years.
7816
80ccd52c
LD
78172012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7818
7819 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7820 unwind info if defined PIC. Fix special cases description.
7821 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7822
7823 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7824 DP_HI_MASK entry.
7825 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7826
691bc9c1
L
78272012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7828
3d9b46b3
L
7829 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7830
de2139a9
L
7831 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7832 is NULL.
7833
5ca78dd0
L
7834 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7835 (LDLIBS-tst-chk4): This.
7836 (LDFLAGS-tst-chk5): Renamed to ...
7837 (LDLIBS-tst-chk5): This.
7838 (LDFLAGS-tst-chk6): Renamed to ...
7839 (LDLIBS-tst-chk6): This.
7840 (LDFLAGS-tst-lfschk4): Renamed to ...
7841 (LDLIBS-tst-lfschk4): This.
7842 (LDFLAGS-tst-lfschk5): Renamed to ...
7843 (LDLIBS-tst-lfschk5): This.
7844 (LDFLAGS-tst-lfschk6): Renamed to ...
7845 (LDLIBS-tst-lfschk6): This.
7846
691bc9c1
L
7847 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7848 on $(common-objpfx)soversions.mk.
7849
65cafb1c
JM
78502012-09-07 Joseph Myers <joseph@codesourcery.com>
7851
7852 [BZ #10014]
7853 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7854 example host name.
7855
c78ab094
SP
78562012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7857
7858 * malloc/arena.c (arena_get_retry): New function that gets
7859 another arena for the caller to try its request on.
7860 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7861 current arena cannot fulfill the request.
7862 (__libc_memalign): Likewise.
7863 (__libc_memalign): Likewise.
7864 (__libc_pvalloc): Likewise.
7865 (__libc_calloc): Likewise.
7866
01f49f59
JT
78672012-09-05 John Tobey <john.tobey@gmail.com>
7868
7869 [BZ #13542]
7870 * manual/arith.texi (Operations on Complex): Fix description
7871 of carg branch cut.
7872
4c23fed5
JM
78732012-09-06 Joseph Myers <joseph@codesourcery.com>
7874
1d3c8572
JM
7875 [BZ #10014]
7876 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7877 host name.
7878
4c23fed5
JM
7879 [BZ #10038]
7880 * manual/memory.texi (Memory): Make order of menu items match
7881 order of sections.
7882
04570aaa
L
78832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7884
7885 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7886 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7887 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7888
b80af2f4
L
78892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7890
7891 * csu/libc-tls.c (static_dtv): Renamed to ...
7892 (_dl_static_dtv): This. Make it global.
7893 (_dl_initial_dtv): Removed.
7894 (__libc_setup_tls): Updated.
7895 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7896 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7897 DL_INITIAL_DTV.
7898
2abe9f15
PM
78992012-09-06 Petr Machata <pmachata@redhat.com>
7900
7901 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7902 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7903 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7904 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7905
0948c3af
L
79062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7907
7908 [BZ #14545]
7909 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7910 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7911 freeing dtv[-1].
7912
a5055ad1
L
79132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7914
7915 [BZ #14544]
7916 * Makeconfig (link-static-before-libc): Replace $(+prector)
7917 with $(+prectorT).
7918 (link-static-after-libc): Replace $(+postctor) with
7919 $(+postctorT).
7920 (link-bounded): Replace $(+prector)/$(+postctor) with
7921 $(+prectorT)/$(+postctorT).
7922 (+prectorT): New macro.
7923 (+postctorT): Likewise.
7924
ed8c2ecd
JM
79252012-09-06 Joseph Myers <joseph@codesourcery.com>
7926
7927 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7928 (round_str): Handle values above the maximum for IBM long double
7929 as inexact.
7930 * stdlib/tst-strtod-round.c (tests): Regenerated.
7931
14c996c8
AK
79322012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7933
7934 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7935 assembler flag.
7936 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7937 zarch_nohighgprs around the zarch optimized routines.
7938 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7939 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7940 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7941 for zarch.
7942
430d6ce6
DM
79432012-09-05 David S. Miller <davem@davemloft.net>
7944
7945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7946
ff04dda4
DM
7947 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7948 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7949 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7950 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7951 entries.
7952
24d4e01b
AO
79532012-09-05 Alexandre Oliva <aoliva@redhat.com>
7954
7955 * malloc/arena.c: Fold copyright years.
7956 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7957
61d58174
AO
79582012-09-05 Alexandre Oliva <aoliva@redhat.com>
7959
7960 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7961
20196a5e
AO
79622012-09-05 Alexandre Oliva <aoliva@redhat.com>
7963
7964 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7965
5c447383
AO
79662012-09-05 Alexandre Oliva <aoliva@redhat.com>
7967
7968 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7969 change internal state upon failure.
7970
fad64255
AO
79712012-09-05 Alexandre Oliva <aoliva@redhat.com>
7972
7973 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7974 * malloc/memusage.c (mmap): Likewise.
7975 (mmap64, mremap): Likewise. Adjust name in comment.
7976
1ffb8c90
SP
79772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7978
7979 * libio/fileops.c: Fix typos in comments.
7980 * libio/oldfileops.c: Likewise.
7981 * libio/wfileops.c: Likewise.
7982
6ef9cc37
SP
79832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7984
7985 [BZ #1349]
7986 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7987 (tst-malloc-usable-ENV): Set environment for test case.
7988 * malloc/hooks.c (malloc_check_get_size): New function to get
7989 requested size.
7990 * malloc/malloc.c (musable): Use malloc_check_get_size.
7991 * malloc/tst-malloc-usable.c: New test case.
7992
4d038ae3
AS
79932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7994
7995 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7996
c4e85184
AM
79972012-09-05 Allan McRae <allan@archlinux.org>
7998
b9dafc56 7999 [BZ #13966]
c4e85184
AM
8000 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8001 determine header location.
8002 * configure: Regenerated.
8003
e1343020
AS
80042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8005
8006 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8007 float format.
8008 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8009 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8010 format.
e1343020
AS
8011 (test): Regenerate.
8012
0a9f1987
DM
80132012-09-04 David S. Miller <davem@davemloft.net>
8014
8015 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8016 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8017 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8018
29237804
FW
80192012-09-04 Florian Weimer <fweimer@redhat.com>
8020
8021 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8022 failures.
8023
edb3cb88
FW
8024 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8025
60160d83
JM
80262012-09-04 Joseph Myers <joseph@codesourcery.com>
8027
8028 [BZ #9914]
8029 * libio/iogetdelim.c: Include <limits.h>.
8030 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8031 + len + 1 would overflow.
8032
bcd6c8dc
AJ
80332012-09-03 Andreas Jaeger <aj@suse.de>
8034
8035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8036 * sysdeps/i386/fpu/libm-test-ulps: Update.
8037
4ffffbd2
LD
80382012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8039
8040 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8041 Add s_sinf-sse2, s_conf-sse2.
8042
8043 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8044 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8045 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8046 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8047
8048 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8049 for using routine as __sinf_ia32.
8050 Use macro for function declaration and weak_alias.
8051 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8052 for using routine as __cosf_ia32.
8053 Use macro for function declaration and weak_alias.
8054
8055 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8056 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8057
8058 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8059 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8061
8062 * math/libm-test.inc (cos_test): Add more test cases.
8063 (sin_test): Likewise.
8064 (sincos_test): Likewise.
8065
511fa286
AK
80662012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8067
8068 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8069 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8070 hidden.
8071 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8072
5f30cfec
L
80732012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8074
8075 [BZ #14538]
8076 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8077 first element of the GOT.
8078 (elf_machine_load_address): Return the difference between
8079 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8080
0786794f
AM
80812012-09-01 Allan McRae <allan@archlinux.org>
8082
5f30cfec
L
8083 [BZ #13412]
8084 * configure.in (AWK): Require gawk version 3.0 or later.
8085 * configure: Regenerated.
0786794f 8086
26889eac
JM
80872012-09-01 Joseph Myers <joseph@codesourcery.com>
8088
8089 * sysdeps/unix/sysv/linux/kernel-features.h
8090 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8091 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8092 [__NR_clock_getres]: Make code unconditional.
8093 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8094 (clock_getcpuclockid): Remove code left unreachable by removal of
8095 conditionals.
8096 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8097 code unconditional.
8098 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8099 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8100 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8101 Make code unconditional.
8102 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8103 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8104 * sysdeps/unix/sysv/linux/clock_settime.c
8105 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8106 conditional code.
8107 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8108 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8109
d22e28b0
L
81102012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8111
8112 [BZ #14476]
8113 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8114 scripts/test-installation.pl.
8115
8116 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8117 and $ld_so_version if it is set.
8118
050af9c4
SP
81192012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8120
8121 [BZ #14516]
8122 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8123 failure if reading from procfs failed.
8124 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8125
ad845c0b
JM
81262012-08-27 Joseph Myers <joseph@codesourcery.com>
8127
8128 * sysdeps/unix/sysv/linux/kernel-features.h
8129 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8130 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8131 Remove conditional code.
8132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8133 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8134 Remove conditional code.
8135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8136 * sysdeps/unix/sysv/linux/i386/fxstat.c
8137 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8139 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8140 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8142 * sysdeps/unix/sysv/linux/i386/lxstat.c
8143 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8145 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8146 Remove conditional code.
8147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8148 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8149 Remove conditional code.
8150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8151 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8152 <kernel-features.h>.
8153 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8154 Remove.
8155 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8156 Remove conditional code.
8157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8158 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8159 Remove conditional.
8160
5dbf56af
MF
81612012-08-27 Mike Frysinger <vapier@gentoo.org>
8162
8163 [BZ #5400]
8164 * NEWS: Add fixed bug number.
8165
d6e70f43
JM
81662012-08-27 Joseph Myers <joseph@codesourcery.com>
8167
7efb4737
JM
8168 [BZ #14519]
8169 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8170 underflowing exponent in case of negative sign.
8171 * stdlib/tst-strtod-round-data: Add more tests.
8172 * stdlib/tst-strtod-round.c (tests): Regenerated.
8173
af92131a
JM
8174 [BZ #3479]
8175 * stdlib/strtod_l.c (NDIG): Remove.
8176 (HEXNDIG): Likewise.
8177 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8178 smallest representable value.
8179 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8180 lie within an exact representation of 1/2 ulp of the result.
8181 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8182 unconditionally.
8183 (TENS_P9_IDX): Define unconditionally.
8184 (TENS_P9_SIZE): Likewise.
8185 (TENS_P10_IDX): Likewise.
8186 (TENS_P10_SIZE): Likewise.
8187 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8188 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8189 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8190 entries for 10^2^13 and 10^2^14.
8191 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8192 (TENS_P13_IDX): Define.
8193 (TENS_P13_SIZE): Likewise.
8194 (TENS_P14_IDX): Likewise.
8195 (TENS_P14_SIZE): Likewise.
8196 (_fpioconst_pow10): Change array size to
8197 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8198 unconditional.
8199 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8200 1024]: Add entries for 10^2^13 and 10^2^14.
8201 [LAST_POW10 > _LAST_POW10]: Remove #error.
8202 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8203 (_fpioconst_pow10): Change array size to
8204 FPIOCONST_POW10_ARRAY_SIZE.
8205 * stdlib/gen-fpioconst.c: New file.
8206 * stdlib/gen-tst-strtod-round.c: Likewise.
8207 * stdlib/tst-strtod-round-data: Likewise.
8208 * stdlib/tst-strtod-round.c: Likewise.
8209 * stdlib/Makefile (tests): Add tst-strtod-round.
8210
d6e70f43
JM
8211 [BZ #14459]
8212 * stdlib/strtod_l.c: Include <stdint.h>.
8213 (NDEBUG): Do not define.
8214 (round_and_return): Change EXPONENT parameter to type intmax_t.
8215 Rearrange calculations to avoid internal overflow possibilities.
8216 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8217 Rearrange calculations to avoid internal overflow possibilities.
8218 Assert that number fits inside MPNSIZE limbs.
8219 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8220 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8221 calculations and add assertions to avoid internal overflow
8222 possibilities. Add casts to avoid signed/unsigned operations.
8223 * stdlib/tst-strtod-overflow.c: New file.
8224 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8225
1f529f7d
MP
82262012-08-25 Marek Polacek <polacek@redhat.com>
8227
8228 * time/time.h: Fix some typos in comments.
8229
59a629f1
RM
82302012-08-23 Roland McGrath <roland@hack.frob.com>
8231
8232 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8233 * posix/tst-rfc3484-2.c: Likewise.
8234 * posix/tst-rfc3484-3.c: Likewise.
8235
d3bafbc9
SM
82362012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8237
8238 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8239 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8240
4efcc022
JM
82412012-08-23 Joseph Myers <joseph@codesourcery.com>
8242
8243 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8244 #include of fxstatat64.c.
8245
3cc3ef96
RM
82462012-08-22 Roland McGrath <roland@hack.frob.com>
8247
f04e2132
RM
8248 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8249 * shadow/getspent_r.c: Likewise.
8250 * shadow/getspnam.c: Likewise.
8251 * shadow/getspnam_r.c: Likewise.
8252 * gshadow/getsgent.c: Likewise.
8253 * gshadow/getsgent_r.c: Likewise.
8254 * gshadow/getsgnam.c: Likewise.
8255 * gshadow/getsgnam_r.c: Likewise.
8256 * inet/getnetbyad.c: Likewise.
8257 * inet/getnetbyad_r.c: Likewise.
8258 * inet/getnetbynm.c: Likewise.
8259 * inet/getnetbynm_r.c: Likewise.
8260 * inet/getnetent.c: Likewise.
8261 * inet/getnetent_r.c: Likewise.
8262 * inet/getproto.c: Likewise.
8263 * inet/getproto_r.c: Likewise.
8264 * inet/getprtent.c: Likewise.
8265 * inet/getprtent_r.c: Likewise.
8266 * inet/getprtname.c: Likewise.
8267 * inet/getprtname_r.c: Likewise.
8268 * inet/getrpcbyname.c: Likewise.
8269 * inet/getrpcbyname_r.c: Likewise.
8270 * inet/getrpcbynumber.c: Likewise.
8271 * inet/getrpcbynumber_r.c: Likewise.
8272 * inet/getrpcent.c: Likewise.
8273 * inet/getrpcent_r.c: Likewise.
8274 * inet/getaliasent.c: Likewise.
8275 * inet/getaliasent_r.c: Likewise.
8276 * inet/getaliasname.c: Likewise.
8277 * inet/getaliasname_r.c: Likewise.
8278 * nscd/getgrgid_r.c: Likewise.
8279 * nscd/getgrnam_r.c: Likewise.
8280 * nscd/gethstbyad_r.c: Likewise.
8281 * nscd/gethstbynm3_r.c: Likewise.
8282 * nscd/getpwnam_r.c: Likewise.
8283 * nscd/getpwuid_r.c: Likewise.
8284 * nscd/getsrvbynm_r.c: Likewise.
8285 * nscd/getsrvbypt_r.c: Likewise.
8286 * nscd/gai.c: Likewise.
8287
c53d909c
RM
8288 * configure.in (build_nscd): New substituted variable, set
8289 by --disable-build-nscd and defaults to $use_nscd.
8290 * configure: Regenerated.
8291 * config.make.in (build-nscd): New substituted variable.
8292 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8293 Change conditional to require [$(build-nscd) = yes] as well.
8294 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8295
3cc3ef96
RM
8296 [BZ# 13696]
8297 * configure.in (use_nscd): New substituted variable, set by
8298 --disable-nscd. If enabled, define USE_NSCD.
8299 * configure: Regenerated.
8300 * config.h.in: Add USE_NSCD.
8301 * config.make.in (use-nscd): New substituted variable.
8302 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8303 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8304 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8305 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8306 (CFLAGS-getgrnam_r.c): Likewise.
8307 (CFLAGS-initgroups.c): Likewise.
8308 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8309 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8310 Variables removed.
8311 * inet/getnetgrent_r.c
8312 (nscd_setnetgrent): New function, broken out of ...
8313 (setnetgrent): ... here. Call it.
8314 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8315 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8316 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8317 * nscd/Makefile (routines, aux): Move definitions after include of
8318 Makeconfig. Conditionalize on [$(use-nscd) != no].
8319 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8320 Conditionalize on [USE_NSCD].
8321 (is_nscd, nscd_init_cb): Likewise.
8322 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8323 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8324 * nss/nss_db/db-init.c: Likewise.
8325 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8326 [USE_NSCD].
8327 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8328 (make_request): Use it.
8329 (cache_valid_p): New function.
8330 (__check_pf): Use it.
8331 * NEWS: Add item for --disable-nscd.
8332
07e51550
DL
83332012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8334
8335 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8336 to support sed >= 4.2.1-20-ga9bf076.
8337 * configure: Regenerated.
8338
35a5b08b
RM
83392012-08-22 Roland McGrath <roland@hack.frob.com>
8340
8341 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8342 Conditionalize whole body on [IREL].
8343
8479f23a
JL
83442012-08-22 Jeff Law <law@redhat.com>
8345
8346 [BZ #14505]
8347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8348 if the family is PF_UNSPEC.
8349
48da0b21
MF
83502012-08-22 Mike Frysinger <vapier@gentoo.org>
8351
8352 * Makerules (lib-version): Rename from V.
8353 (install-lib-nosubdir): Change V to lib-version.
8354
15d0da8c
WS
83552012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8356
8357 [BZ #14252]
8358 * powerpc32/power6/wcschr.c: New file.
8359 * powerpc32/power6/wcscpy.c: New file.
8360 * powerpc32/power6/wcsrchr.c: New file.
8361 * powerpc64/power6/wcschr.c: New file.
8362 * powerpc64/power6/wcscpy.c: New file.
8363 * powerpc64/power6/wcsrchr.c: New file.
8364
bcca0895
MK
83652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8366
8367 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8368 (two_way_short_needle): Use it.
5a4aaa33
RM
8369 * string/strstr.c (AVAILABLE1_USES_J): Define.
8370 * string/strcasestr.c: Likewise.
99677e57
MK
8371
8372 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8373 array references.
8374 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8375
400726de
MK
8376 [BZ #11607]
8377 * NEWS: Add an entry.
8378 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8379 define their defaults.
8380 (two_way_short_needle): Detect end-of-string on-the-fly.
8381 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8382 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8383 * string/bug-strcasestr1.c: New test.
8384 * string/Makefile: Run it.
8385
20a71f2c
MK
83862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8387
8388 [BZ #11607]
8389 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8390 the first character.
8391
21ad0558
RM
83922012-08-21 Roland McGrath <roland@hack.frob.com>
8393
8394 * csu/elf-init.c (__libc_csu_irel): Function removed.
8395 * csu/libc-start.c (apply_irel): New function.
8396 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8397
0e1d9911
JM
83982012-08-21 Joseph Myers <joseph@codesourcery.com>
8399
8400 * sysdeps/unix/sysv/linux/kernel-features.h
8401 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8402 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8403 <kernel-features.h>.
8404 [__NR_fadvise64_64]: Make code unconditional.
8405 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8406 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8407 !__NR_fadvise64_64)]: Likewise.
8408 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8409 !__NR_fadvise64_64))]: Likewise.
8410 [__NR_fadvise64]: Make code unconditional.
8411 [!__NR_fadvise64]: Remove conditional code.
8412 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8413 <kernel-features.h>.
8414 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8415 unconditional.
8416 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8417 conditional code.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8419 not include <kernel-features.h>.
8420 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8421 unconditional.
8422 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8423 conditional code.
8424 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8425 include <kernel-features.h>.
8426 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8427 unconditional.
8428 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8429 conditional code.
8430
14a50c9d
WS
84312012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8432
8433 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8434 slight instruction rearrangements per scrollpipe analysis.
8435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8436
c0f4faf0
RM
84372012-08-20 Roland McGrath <roland@hack.frob.com>
8438
696da859
RM
8439 * manual/syslog.texi (syslog; vsyslog, closelog):
8440 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8441 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8442
c0f4faf0
RM
8443 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8444 DSOCAPS to match condition on defining it.
8445
348363b2
JM
84462012-08-20 Joseph Myers <joseph@codesourcery.com>
8447
a35cbf28
JM
8448 * sysdeps/unix/sysv/linux/kernel-features.h
8449 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8451 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8452 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8454 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8455 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8457 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8458 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8459
445f7ecd
JM
8460 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8461 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8462
348363b2
JM
8463 * sysdeps/unix/sysv/linux/kernel-features.h
8464 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8465 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8466 unconditional.
8467 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8468 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8469 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8470 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8471 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8472 Make code unconditional.
8473 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8474 (__mmap64) [!__NR_mmap2]: Likewise.
8475 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8476 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8477 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8478 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8479 [__NR_mmap2]: Make code unconditional.
8480 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8481 (__mmap64) [!__NR_mmap2]: Likewise.
8482
bc5bc0e5
AK
84832012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8484
8485 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8486
88d506de
AJ
84872012-08-18 Andreas Jaeger <aj@suse.de>
8488
8489 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8490
493387d2
MF
84912012-08-18 Mike Frysinger <vapier@gentoo.org>
8492
8493 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8494 * include/unistd.h (__have_sock_cloexec): Likewise.
8495 (__have_pipe2): Likewise.
8496 (__have_dup3): Likewise.
8497
a277af22
MF
84982012-08-18 Mike Frysinger <vapier@gentoo.org>
8499
8500 [BZ #9685]
8501 * include/unistd.h (__have_pipe2): Change define into an extern int.
8502 (__have_dup3): Likewise.
8503 * socket/have_sock_cloexec.c: Include fcntl.h.
8504 (__have_pipe2): New variable.
8505 (__have_dup3): Likewise.
8506
fdab8fd3
MF
85072012-08-17 Mike Frysinger <vapier@gentoo.org>
8508
8509 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8510
31035e80
MP
85112012-08-17 Marek Polacek <polacek@redhat.com>
8512
8513 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8514 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8515
3bd9e993
RM
85162012-08-17 Roland McGrath <roland@hack.frob.com>
8517
c91c505f
RM
8518 * configure.in: Add AC_SUBST for sysheaders.
8519 * configure: Regenerated.
8520 * config.make.in (sysheaders): New substituted variable.
8521
7c6f9d53
RM
8522 * sysdeps/unix/mkfifo.c: Moved ...
8523 * sysdeps/posix/mkfifo.c: ... here.
8524 * sysdeps/unix/mkfifoat.c: Moved ...
8525 * sysdeps/posix/mkfifoat.c: ... here.
8526
8527 * sysdeps/unix/utime.c: Moved ...
8528 * sysdeps/posix/utime.c: ... here.
8529
8530 * sysdeps/unix/time.c: Moved ...
8531 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8532 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8533 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8534
8535 * sysdeps/unix/nice.c: Moved ...
8536 * sysdeps/posix/nice.c: ... here.
8537
8538 * sysdeps/unix/alarm.c: Moved ...
8539 * sysdeps/posix/alarm.c: ... here.
8540
3bd9e993
RM
8541 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8542
d1f09384
JL
85432012-08-17 Jeff Law <law@redhat.com>
8544
8545 * intl/Makefile (codeset_mo): New variable.
8546 ($(codeset_mo)): New target.
8547 (tst-codeset.out): Depend on that. Remove explicit rule.
8548 (tst-gettext3.out, tst-gettext5.out): Likewise.
8549 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8550 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8551 * intl/tst-codeset.sh: Remove.
8552 * intl/tst-gettext3.sh: Likewise.
8553 * intl/tst-gettext5.sh: Likewise.
8554
2ae1ae5c
RM
85552012-08-17 Roland McGrath <roland@hack.frob.com>
8556
c31fdb83
RM
8557 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8558 * sysdeps/unix/syscalls.list: ... here.
8559
a0844057
RM
8560 * sysdeps/posix/getaddrinfo.c
8561 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8562 (gaiconf_init, gaiconf_reload): Use them.
8563 [!_STATBUF_ST_NSEC]
8564 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8565 Define using time_t rather than struct timespec.
8566
750c1f2a
RM
8567 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8568 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8569 Macros removed.
8570 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8571 [!NO_THREADS].
8572 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8573 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8574 Likewise.
8575
2ae1ae5c
RM
8576 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8577 __libc_cleanup_push argument.
8578
e66a42f5
RM
8579 * bits/param.h: New file.
8580 * misc/sys/param.h: New file.
8581 * include/sys/param.h: New file.
8582 * misc/Makefile (headers): Add bits/param.h.
8583 * sysdeps/generic/sys/param.h: File removed.
8584 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8585 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8586 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8587 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8588
b7c08a66
RM
8589 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8590 last change.
8591
b2e1c562
RM
8592 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8593 [_IO_MTSAFE_IO].
8594 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8595 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8596 New macros.
8597
c75ccd4c
RM
8598 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8599 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8600 rather than -D_IO_MTSAFE_IO conditionally.
8601 * stdio-common/Makefile (CPPFLAGS): Likewise.
8602 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8603 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8604 Use $(libio-mtsafe).
8605 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8606 of -D_IO_MTSAFE_IO.
8607 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8608 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8609 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8610 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8611 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8612 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8613 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8614 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8615 (CFLAGS-fread_u_chk.c): Likewise.
8616 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8617 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8618 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8619 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8620 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8621 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8622 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8623 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8624 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8625
8626 * libio/Makefile: Test [$(libc-reentrant) = yes]
8627 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8628
8629 * Makeconfig
8630 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8631 * sysdeps/pthread/configure: File removed.
8632 * sysdeps/pthread/Makeconfig: New file.
8633 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8634 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8635
d9195db8
GB
86362012-08-16 Gary Benson <gbenson@redhat.com>
8637
8638 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8639 unmapping the first object in a namespace.
8640
86466cd9
RM
86412012-08-16 Roland McGrath <roland@hack.frob.com>
8642
8643 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8644 (__internal_setnetgrent): ... this. Add internal_function to
8645 definition. Add libc_hidden_def.
8646 (setnetgrent): Update caller.
8647 (internal_endnetgrent): Renamed to ...
8648 (__internal_endnetgrent): ... this. Add internal_function to
8649 definition. Add libc_hidden_def.
8650 (endnetgrent): Update caller.
8651 (internal_getnetgrent_r): Renamed to ...
8652 (__internal_getnetgrent_r): ... this. Add internal_function to
8653 definition. Add libc_hidden_def.
8654 (__getnetgrent_r): Update caller.
8655 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8656
c3c8283c
JM
86572012-08-16 Joseph Myers <joseph@codesourcery.com>
8658
8659 * stdlib/longlong.h: Update from GCC.
8660
db1ee0a8
RM
86612012-08-16 Roland McGrath <roland@hack.frob.com>
8662
8663 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8664 on _QL, which is set by umul_ppmm but never used.
8665 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8666 variables, which are set by GMP macros but never used.
8667 * stdio-common/_itowa.c (_itowa): Likewise.
8668 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8669 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8670
30f69637
CD
86712012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8672
8673 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8674 struct La_sh_regs is not constant.
8675 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8676 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8677 and struct La_sparc64_regs are not constant.
8678
93a78ac4
JM
86792012-08-16 Joseph Myers <joseph@codesourcery.com>
8680
8681 * sysdeps/unix/sysv/linux/kernel-features.h
8682 (__ASSUME_POSIX_TIMERS): Remove.
8683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8685 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8686 Make code unconditional.
8687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8688 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8689 Make code unconditional.
8690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8691 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8692 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8694 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8695 Make code unconditional.
8696 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8697 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8698 (__libc_missing_posix_timers): Remove.
8699
dd924cd7
RM
87002012-08-15 Roland McGrath <roland@hack.frob.com>
8701
4b4f2771
RM
8702 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8703 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8704
601c888b
RM
8705 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8706
176790a7
RM
8707 * elf/dl-sym.c: Include <stdlib.h>.
8708
329bc018
RM
8709 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8710 constants, which avoids warnings in 32-bit builds.
8711
e04e272d
RM
8712 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8713 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8714
952bf94a
RM
8715 * misc/lseek.c: File moved to ...
8716 * io/lseek.c: ... here.
8717
7c99b50a
RM
8718 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8719
dd924cd7
RM
8720 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8721 shifting LEN more than 31 bits at once.
8722
b3f479a8
LD
87232012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8724
8725 [BZ #14195]
8c4ae0d4
RM
8726 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8727 segmentation fault for a case of two empty input strings.
b3f479a8
LD
8728 * string/test-strncasecmp.c (check1): Renamed to...
8729 (bz12205): ...this.
8730 (bz14195): Add new testcase for two empty input strings and N > 0.
8731 (test_main): Call new testcase, adapt for renamed function.
8732
9c55864e
AJ
87332012-08-15 Andreas Jaeger <aj@suse.de>
8734
8735 [BZ #14090]
8736 * crypt/md5test2.c: New test, based on test supplied by Serge
8737 Belyshev <belyshev@depni.sinp.msu.ru>.
8738 * crypt/Makefile (xtests): Add md5test-giant..
8739 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8740
02dcb6c5
PE
87412012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8742
8743 [BZ #14090]
8744 * crypt/md5.c (md5_process_block): Don't assume the buffer
8745 length is less than 2**32.
8746 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8747 length is less than 2**64.
8748
a3f95dcc
RM
87492012-08-15 Roland McGrath <roland@hack.frob.com>
8750
be75d758
RM
8751 * string/str-two-way.h: Include <sys/param.h>.
8752 (MAX): Macro removed.
8753
7312ca90
RM
8754 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8755 Move #define and #undef of memmove to just before and after
8756 including <string.h>.
8757
9a0a5486
RM
8758 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8759 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8760 and after including <string.h>. Move declarations of
8761 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8762 to before #include "string/memmove.c".
8763
67cc348d
RM
8764 * include/dirent.h: Declare __getdirentries.
8765
a3f95dcc
RM
8766 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8767 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8768
ca98e171
MF
87692012-08-14 Mike Frysinger <vapier@gentoo.org>
8770
8771 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8772 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8773 * sysdeps/i386/configure: Regenerated.
8774 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8775 STABS_CURRENT_FILE, and STABS_FUN.
8776 (END): Remove call to STABS_FUN_END.
8777 (STABS_CURRENT_FILE1): Delete.
8778 (STABS_CURRENT_FILE): Likewise.
8779 (STABS_FUN): Likewise.
8780 (STABS_FUN_END): Likewise.
8781 (STABS_FUN2): Likewise.
8782 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8783 * sysdeps/x86_64/configure: Regenerated.
8784
5908bf46
RM
87852012-08-14 Roland McGrath <roland@hack.frob.com>
8786
8787 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8788 * elf/dl-lookup.c: Likewise.
5908bf46 8789
f2c05b9e
JM
87902012-08-14 Joseph Myers <joseph@codesourcery.com>
8791
8792 * sysdeps/unix/sysv/linux/kernel-features.h
8793 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8794 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8795 unconditionally.
8796 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8797 unconditionally.
8798 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8799 condition on __ASSUME_CLONE_THREAD_FLAGS.
8800
e11f5155
AJ
88012012-08-14 Andreas Jaeger <aj@suse.de>
8802
8803 * sysdeps/i386/fpu/libm-test-ulps: Update.
8804
51a9ba86
MK
88052012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8806
2fdd4f78
AJ
8807 * include/atomic.h (atomic_exchange_and_add): Split into ...
8808 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8809 New atomic macros.
51a9ba86 8810
ba6cba9e
MT
88112012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8812
8813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8814
42443a47
JL
88152012-08-13 Jeff Law <law@redhat.com>
8816
8817 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8818 null byte in the output string.
8819
121dce05
JM
88202012-08-10 Joseph Myers <joseph@codesourcery.com>
8821
8822 * sysdeps/unix/sysv/linux/kernel-features.h
8823 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8824 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8825 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8827 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8828 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8829 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8830
bf51f568
JL
88312012-08-09 Jeff Law <law@redhat.com>
8832
8833 [BZ #13939]
8834 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8835 When avoid_arena is set, don't retry in the that arena. Pick the
8836 next one, whatever it might be.
8837 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8838 (arena_lock): Pass in new parameter to arena_get2.
8839 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8840 arena_get2.
8841 (__libc_malloc): Unify retrying after main arena failure with
8842 __libc_memalign version.
8843 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8844
f85fa270
L
88452012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8846
8847 [BZ #14166]
8848 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8849 to __redirect_strstr.
8850 (__strstr_sse42): Use typeof __redirect_strstr.
8851 (__strstr_ia32): Likewise.
8852 (__libc_strstr): New prototype.
8853 (strstr): Renamed to ...
8854 (__libc_strstr): This.
8855 (strstr): New strong alias of __libc_strstr.
8856 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8857 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8858 __redirect_time.
8859 Include <time.h>.
8860 (__libc_time): New prototype.
8861 (time_ifunc): Replace time with __libc_time.
8862 (time): New strong alias and hidden definition of __libc_time.
8863 (__GI_time): Remove strong alias.
8864 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8865 Include <stddef.h>.
8866 (memmove): Redefined to __redirect_memmove.
8867 (__memmove_sse2): Use typeof __redirect_memmove.
8868 (__memmove_ssse3): Likewise.
8869 (__memmove_ssse3_back): Likewise.
8870 (__libc_memmove): New prototype.
8871 (memmove): Renamed to ...
8872 (__libc_memmove): This.
8873 (memmove): New strong alias of __libc_memmove.
8874
33b4a91e
MS
88752012-08-08 Mark Salter <msalter@redhat.com>
8876
8877 * elf/elf.h
8878 (R_MN10300_TLS_GD): Define.
8879 (R_MN10300_TLS_LD): Likewise.
8880 (R_MN10300_TLS_LDO): Likewise.
8881 (R_MN10300_TLS_GOTIE): Likewise.
8882 (R_MN10300_TLS_IE): Likewise.
8883 (R_MN10300_TLS_LE): Likewise.
8884 (R_MN10300_TLS_DTPMOD): Likewise.
8885 (R_MN10300_TLS_DTPOFF): Likewise.
8886 (R_MN10300_TLS_TPOFF): Likewise.
8887 (R_MN10300_SYM_DIFF): Likewise.
8888 (R_MN10300_ALIGN): Likewise.
8889 (R_MN10300_NUM): Update.
8890
b36137f1
JM
88912012-08-08 Joseph Myers <joseph@codesourcery.com>
8892
8893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8894 Remove.
8895
cdd915fd
RM
88962012-08-08 Roland McGrath <roland@hack.frob.com>
8897
a2433aac
RM
8898 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8899
cdd915fd
RM
8900 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8901 sysdeps/unix -> sysdeps/posix move.
8902 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8903
bf9b740a
AM
89042012-08-07 Allan McRae <allan@archlinux.org>
8905
8906 [BZ #14303]
8907 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8908 (SUNOS_CPP): Likewise.
8909 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8910 not found.
8911 (open_input): Call CPP using execvp.
8912
93df14ee
JM
89132012-08-07 Joseph Myers <joseph@codesourcery.com>
8914
8915 * sysdeps/unix/sysv/linux/kernel-features.h
8916 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8917 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8918 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8919 (__ASSUME_WAITID_SYSCALL): Likewise.
8920 * sysdeps/unix/sysv/linux/dl-execstack.c
8921 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8922 code unconditional.
8923 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8924 conditional code.
8925 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8926 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8927 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8928 code.
8929 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8930 unconditional.
8931 [__ASSUME_WAITID_SYSCALL]: Likewise.
8932 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8933
d34689de
RM
89342012-08-07 Roland McGrath <roland@hack.frob.com>
8935
a281decc
RM
8936 * sysdeps/unix/closedir.c: Renamed to ...
8937 * sysdeps/posix/closedir.c: ... here.
8938 * sysdeps/unix/dirfd.c: Renamed to ...
8939 * sysdeps/posix/dirfd.c: ... here.
8940 * sysdeps/unix/dirstream.h: Renamed to ...
8941 * sysdeps/posix/dirstream.h: ... here.
8942 * sysdeps/unix/fdopendir.c: Renamed to ...
8943 * sysdeps/posix/fdopendir.c: ... here.
8944 * sysdeps/unix/opendir.c: Renamed to ...
8945 * sysdeps/posix/opendir.c: ... here.
8946 * sysdeps/unix/readdir.c: Renamed to ...
8947 * sysdeps/posix/readdir.c: ... here.
8948 * sysdeps/unix/readdir_r.c: Renamed to ...
8949 * sysdeps/posix/readdir_r.c: ... here.
8950 * sysdeps/unix/rewinddir.c: Renamed to ...
8951 * sysdeps/posix/rewinddir.c: ... here.
8952 * sysdeps/unix/seekdir.c: Renamed to ...
8953 * sysdeps/posix/seekdir.c: ... here.
8954 * sysdeps/unix/telldir.c: Renamed to ...
8955 * sysdeps/posix/telldir.c: ... here.
8956 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8957 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8958 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8959 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8960
22895b47
RM
8961 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8962 * bits/fcntl.h: ... here.
8963
707a53b6
RM
8964 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8965 not 0.
8966 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8967 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8968 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8969 (struct flock): Move l_start, l_len to the beginning.
8970 Use __pid_t for l_pid.
8971 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8972 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8973 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8974 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8975 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8976 [__USE_LARGEFILE64] (struct flock64): New type.
8977 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8978
f0bd3e25
RM
8979 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8980 * bits/dirent.h: ... here.
8981
d34689de
RM
8982 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8983 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8984
6dad2c06
JM
89852012-08-07 Joseph Myers <joseph@codesourcery.com>
8986
8987 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8988 Change from 2.6.0 to 2.6.16.
8989 * sysdeps/unix/sysv/linux/configure: Regenerated.
8990 * sysdeps/unix/sysv/linux/kernel-features.h
8991 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8992 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8993 version.
8994 (__ASSUME_UTIMES): Likewise.
8995 (__ASSUME_CLONE_STOPPED): Remove.
8996 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8997 architectures, not kernel version.
8998 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8999 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9000 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9001 (__ASSUME_WAITID_SYSCALL): Likewise.
9002 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9003 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9004 * README: State 2.6.16 as minimum Linux kernel version. Do not
9005 refer to older versions.
9006
03af9520
RM
90072012-08-06 Roland McGrath <roland@hack.frob.com>
9008
8e49df1d
RM
9009 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9010 Define alphasort64 as an alias.
9011 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9012 Define versionsort64 as an alias.
9013 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9014 Define scandir64 as an alias.
9015 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9016 Define scandirat64 as an alias.
9017 * dirent/alphasort64.c (alphasort64):
9018 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9019 * dirent/versionsort64.c: Likewise.
9020 * dirent/scandir64.c: Likewise.
9021 * dirent/scandirat64.c: Likewise.
9022 * sysdeps/wordsize-64/alphasort.c: File removed.
9023 * sysdeps/wordsize-64/alphasort64.c: File removed.
9024 * sysdeps/wordsize-64/scandir.c: File removed.
9025 * sysdeps/wordsize-64/scandir64.c: File removed.
9026 * sysdeps/wordsize-64/scandirat.c: File removed.
9027 * sysdeps/wordsize-64/scandirat64.c: File removed.
9028 * sysdeps/wordsize-64/versionsort.c: File removed.
9029 * sysdeps/wordsize-64/versionsort64.c: File removed.
9030 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9031 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9032 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9034 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9036 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9037 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9038
9039 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9041 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9043 [defined __arch64__ || defined __sparcv9]
9044 (__INO_T_MATCHES_INO64_T): New macro.
9045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9046 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9047 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9048 * sysdeps/unix/sysv/linux/bits/dirent.h
9049 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9050 (_DIRENT_MATCHES_DIRENT64): New macro.
9051
03af9520
RM
9052 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9053 Define lockf64 as an alias.
9054 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9055 Define fseeko64 as an alias.
9056 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9057 Define ftello64 as an alias.
9058 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9059 Define _IO_fgetpos64 and fgetpos64 as aliases.
9060 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9061 Define _IO_fsetpos64 and fsetpos64 as aliases.
9062 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9063 Conditionalize body on this.
9064 * libio/fseeko64.c: Likewise.
9065 * libio/ftello64.c: Likewise.
9066 * libio/iofgetpos64.c: Likewise.
9067 * libio/iofsetpos64.c: Likewise.
9068 * sysdeps/wordsize-64/lockf.c: File removed.
9069 * sysdeps/wordsize-64/lockf64.c: File removed.
9070 * sysdeps/wordsize-64/fseeko.c: File removed.
9071 * sysdeps/wordsize-64/fseeko64.c: File removed.
9072 * sysdeps/wordsize-64/ftello.c: File removed.
9073 * sysdeps/wordsize-64/ftello64.c: File removed.
9074 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9075 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9076 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9077 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9078 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9079 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9084 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9085 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9086 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9087 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9088
9089 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9091 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9093 [defined __arch64__ || defined __sparcv9]
9094 (__OFF_T_MATCHES_OFF64_T): New macro.
9095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9096 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9098 (__OFF_T_MATCHES_OFF64_T): New macro.
9099
c5757acd
L
91002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9101
9102 * stdlib/secure-getenv.c (__secure_getenv): Replace
9103 GLIBC_2_16 with GLIBC_2_17.
9104
3a31811e
L
91052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9106
9107 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9108 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9109
faa2bccb
DM
91102012-08-03 David S. Miller <davem@davemloft.net>
9111
9112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9113
85fe1997
JM
91142012-08-03 Joseph Myers <joseph@codesourcery.com>
9115
9116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9117 Remove.
9118 (__ASSUME_CORRECT_SI_PID): Likewise.
9119 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9120 (__ASSUME_TMPFS_NAME): Likewise.
9121 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9122 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9123 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9124 (HAVE_AUX_SECURE): Make definition unconditional.
9125 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9126 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9127
4f75b7a0
RM
91282012-08-03 Roland McGrath <roland@hack.frob.com>
9129
9130 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9131 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9132 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9133 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9134 __eloop_threshold instead of SYMLOOP_MAX.
9135
9136 * sysdeps/generic/eloop-threshold.h: New file.
9137 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9138 of MAXSYMLINKS.
9139 * elf/chroot_canon.c (chroot_canon): Likewise.
9140
7aab07e4
JM
91412012-08-03 Joseph Myers <joseph@codesourcery.com>
9142
9143 [BZ #13717]
9144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9145 Change to 2.6.0 everywhere.
9146 * sysdeps/unix/sysv/linux/configure: Regenerated.
9147 * sysdeps/unix/sysv/linux/kernel-features.h
9148 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9149 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9150 kernel versions.
9151 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9152 (__ASSUME_FUTEX_REQUEUE): Remove.
9153 (__ASSUME_STATFS64): Define unconditionally.
9154 (__ASSUME_AT_SECURE): Likewise.
9155 (__ASSUME_CORRECT_SI_PID): Likewise.
9156 (__ASSUME_TGKILL): Define without depending on kernel version for
9157 i386.
9158 (__ASSUME_UTIMES): Likewise.
9159 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9160 kernel version.
9161 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9162 (__ASSUME_TMPFS_NAME): Likewise.
9163 * README: Update reference to Linux kernel versions.
9164
b67e9372
MP
91652012-08-02 Marek Polacek <polacek@redhat.com>
9166
1f529f7d 9167 [BZ# 14150]
b67e9372
MP
9168 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9169 libc_cv_asm_type_prefix with %.
9170 * configure: Regenerated.
d2441631
RM
9171 * include/libc-symbols.h: Remove comment about
9172 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9173 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9174 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9175 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9176 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9177 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9178 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9179 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9180 * elf/tst-unique2mod1.c: Likewise.
9181 * elf/tst-unique1mod2.c: Likewise.
9182 * elf/tst-unique1mod1.c: Likewise.
9183 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9184 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9185 Replace ASM_TYPE_DIRECTIVE with .type.
9186 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9187 * sysdeps/i386/sysdep.h: Likewise.
9188 * sysdeps/x86_64/sysdep.h: Likewise.
9189 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9191 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9192 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9193 * sysdeps/powerpc/powerpc32/sysdep.h:
9194 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9195 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9196 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9197 * sysdeps/i386/fpu/e_powf.S: Likewise.
9198 * sysdeps/i386/fpu/e_expl.S: Likewise.
9199 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9200 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9201 * sysdeps/i386/fpu/e_pow.S: Likewise.
9202 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9203 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9204 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9205 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9206 * sysdeps/i386/fpu/e_log2.S: Likewise.
9207 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9208 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9209 * sysdeps/i386/fpu/e_powl.S: Likewise.
9210 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9211 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9212 * sysdeps/i386/fpu/e_logl.S: Likewise.
9213 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9214 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9215 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9216 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9217 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9218 * sysdeps/i386/fpu/e_log.S: Likewise.
9219 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9220 * sysdeps/i386/fpu/e_logf.S: Likewise.
9221 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9222 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9223 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9224 * sysdeps/i386/fpu/e_log10.S: Likewise.
9225 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9226 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9227 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9228 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9229 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9230 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9231 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9232 * sysdeps/i386/i686/strtok.S: Likewise.
9233 * sysdeps/i386/i386-mcount.S: Likewise.
9234 * sysdeps/i386/strtok.S: Likewise.
9235 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9236 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9238 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9239 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9240 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9241 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9242 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9243 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9244 * sysdeps/x86_64/_mcount.S: Likewise.
9245 * sysdeps/x86_64/strtok.S: Likewise.
9246 * sysdeps/sh/_mcount.S: Likewise.
9247
2747bf9a
RM
92482012-08-01 Roland McGrath <roland@hack.frob.com>
9249
9250 * libio/iofopen.c: Include <fcntl.h>.
9251 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9252 (_IO_fopen64, fopen64): Define as aliases.
9253 * libio/iofopen64.c: Include <fcntl.h>.
9254 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9255 Conditionalize body on this.
9256 * sysdeps/wordsize-64/iofopen.c: File removed.
9257 * sysdeps/wordsize-64/iofopen64.c: File removed.
9258
3fb791b8
MP
92592012-08-01 Marek Polacek <polacek@redhat.com>
9260
9261 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9262 Use dlfcn directly instead of a variable.
9263 (binfmt-subdir): Do not define.
9264 (dlfcn): Likewise.
9265
a9f1039f
JM
92662012-08-01 Joseph Myers <joseph@codesourcery.com>
9267
23bddc06
JM
9268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9269 Remove all definitions.
9270 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9271 <kernel-features.h>.
9272 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9273 (miss_F_GETOWN_EX): Remove all definitions.
9274 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9275 macro definition.
9276 [!__ASSUME_FCNTL64]: Remove conditional code.
9277 [__ASSUME_FCNTL64]: Make code unconditional.
9278 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9279 <kernel-features.h>.
9280 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9281 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9282 (lockf64) [__NR_fcntl64]: Make code unconditional.
9283 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9284
a9f1039f
JM
9285 * sysdeps/unix/sysv/linux/kernel-features.h
9286 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9287 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9288 Make code unconditional.
9289 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9290 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9292 [__NR_vfork]: Make code unconditional.
9293 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9294 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9296 [__NR_vfork]: Make code unconditional.
9297 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9298 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9299
09c0ee5f
RM
93002012-08-01 Roland McGrath <roland@hack.frob.com>
9301
48aec5b9
RM
9302 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9303 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9304
cd97c966
RM
9305 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9306 Define mkstemp64 as an alias.
3f55550c
RM
9307 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9308 Define mkstemps64 as an alias.
cd97c966
RM
9309 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9310 Define mkostemp64 as an alias.
b8625cfc
RM
9311 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9312 Define mkostemps64 as an alias.
cd97c966
RM
9313 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9314 Conditionalize body on this.
9315 * misc/mkostemp64.c: Likewise.
b8625cfc 9316 * misc/mkostemps64.c: Likewise.
3f55550c 9317 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9318 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9319 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9320 * sysdeps/wordsize-64/mkostemp.c: File removed.
9321 * sysdeps/wordsize-64/mkstemp.c: File removed.
9322 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9324 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9326
09c0ee5f
RM
9327 [BZ #14138]
9328 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9329 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9330 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9331 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9332
9333 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9334 compat_symbol macros from <shlib-compat.h> rather than the underlying
9335 default_symbol_version and symbol_version macros, so that DEFAULT
9336 lines in shlib-versions are respected.
9337 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9338
7e66ee51
FW
93392012-08-01 Florian Weimer <fweimer@redhat.com>
9340
9341 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9342 Declare with warn_unused_result.
9343 (setgid, setregid, setegid, setresgid): Likewise.
9344 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9345 Likewise.
9346 * WUR-REPORT: Remove set*id functions.
9347
d2a54255
PT
93482012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9349
9350 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9351
7ecdb005
RM
93522012-07-31 Roland McGrath <roland@hack.frob.com>
9353
789bd351
RM
9354 * include/sys/socket.h (__libc_accept, __libc_accept4):
9355 Add attribute_hidden.
9356 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9357
40ce302d
RM
9358 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9359 use of PTR_MANGLE.
9360 * inet/getnetgrent_r.c (setup): Likewise.
9361
7ecdb005
RM
9362 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9363
e2eabb2c
DM
93642012-07-31 David S. Miller <davem@davemloft.net>
9365
9366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9367
d0419dbf
JM
93682012-07-31 Joseph Myers <joseph@codesourcery.com>
9369
9370 [BZ #13629]
9371 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9372 value between 1.0 and 2.0 and smaller part has absolute value less
9373 than 1.0.
9374 * math/s_clog10.c (__clog10): Likewise.
9375 * math/s_clog10f.c (__clog10f): Likewise.
9376 * math/s_clog10l.c (__clog10l): Likewise.
9377 * math/s_clogf.c (__clogf): Likewise.
9378 * math/s_clogl.c (__clogl): Likewise.
9379 * math/libm-test.inc (clog_test): Add more tests.
9380 (clog10_test): Likewise.
9381 * sysdeps/i386/fpu/libm-test-ulps: Update.
9382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9383
2bc13872
FW
93842012-07-31 Florian Weimer <fweimer@redhat.com>
9385
9386 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9387 Exit with zero in case no suitable GID is found, and write a
9388 message to standard error.
9389
bea9b193
RM
93902012-07-30 Roland McGrath <roland@hack.frob.com>
9391
9392 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9393 rather than to 1.
9394 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9395 (MAXPATHLEN): Removed.
9396 (NOGROUP, NODEV): New macros.
9397 (setbit, clrbit, isset, isclr): New macros.
9398 (howmany, roundup, powerof2): New macros.
9399 (DEV_BSIZE): New macro.
9400
9401 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9402 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9403
9404 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9405 definition on [!__NO_LONG_DOUBLE_MATH].
9406
9407 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9408 PTR_MANGLE and PTR_DEMANGLE.
9409
9410 * socket/accept4.c (accept4): Rename to __libc_accept4.
9411 Define accept4 as a weak alias.
9412
9413 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9414 on [_DIRENT_HAVE_D_TYPE].
9415 * io/ftw.c (ftw_dir): Likewise.
9416
9417 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9418
9419 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9420
9421 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9422 Use the BSD numbers rather than the arbitrary ones we had.
9423 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9424 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9425 (SIGXCPU, SIGXFSZ): New macros.
9426 (_NSIG): Now 32.
9427
9428 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9429 initializer on [_LIBC_REENTRANT].
9430
9431 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9432 definitions inside [_POSIX_MAPPED_FILES].
9433
9434 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9435
9436 * dirent/opendir.c: Include <fcntl.h>.
9437
9438 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9439 (__libc_getspecific): Likewise.
9440 (__libc_key_create): Likewise.
9441
9442 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9443 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9444 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9445 (tmpfile64): Define as alias.
9446 * sysdeps/wordsize-64/tmpfile.c: File removed.
9447 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9448 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9449 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9450
9451 * stdio-common/vfscanf.c: Include <stdbool.h>.
9452 * nss/makedb.c: Likewise.
9453 * stdio-common/_i18n_number.h: Likewise.
9454 * argp/argp-help.c: Likewise.
9455 * posix/wordexp.c: Likewise.
9456 * sysdeps/posix/spawni.c: Likewise.
9457 * nss/nss_files/files-initgroups.c: Likewise.
9458 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9459 * nss/nss_files/files-initgroups.c: Likewise.
9460 * nss/nss_db/db-netgrp.c: Likewise.
9461 * nss/nss_db/db-initgroups.c: Likewise.
9462 * io/fchmodat.c: Include <sys/stat.h>.
9463
9464 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9465 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9466
9467 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9468 [HAVE_MMAP].
9469
9470 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9471 Add multiple inclusion protection.
9472
e5abc686
DM
94732012-07-27 David S. Miller <davem@davemloft.net>
9474
9475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9476
815e6fa3
GB
94772012-07-27 Gary Benson <gbenson@redhat.com>
9478
9479 [BZ #14298]
9480 * elf/rtld.c: Include <stap-probe.h>.
9481 (dl_main): Added static probes "init_start" and "init_complete".
9482 * elf/dl-load.c: Include <stap-probe.h>.
9483 (lose): Take new parameter "nsid".
9484 Added static probe "map_failed".
9485 (_dl_map_object_from_fd): Pass namespace id to lose.
9486 Added static probe "map_start".
9487 (open_verify): Pass namespace id to lose.
9488 * elf/dl-open.c: Include <stap-probe.h>.
9489 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9490 and "reloc_complete".
9491 * elf/dl-close.c: Include <stap-probe.h>.
9492 (_dl_close_worker): Added static probes "unmap_start" and
9493 "unmap_complete".
9494 * elf/rtld-debugger-interface.txt: New file documenting the above.
9495
9f98c16c
RM
94962012-07-26 Roland McGrath <roland@hack.frob.com>
9497
9498 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9499 rather than a string variable.
9500 * sunrpc/rpc_main.c (h_output): Likewise.
9501 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9502
f3c22df3
PT
95032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9504
9505 * inet/check_native.c: New file.
9506
3129cfc6
JM
95072012-07-26 Joseph Myers <joseph@codesourcery.com>
9508
da865e95
JM
9509 [BZ #13629]
9510 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9511 if larger part has absolute value 1.0.
9512 * math/s_clog10.c (__clog10): Likewise.
9513 * math/s_clog10f.c (__clog10f): Likewise.
9514 * math/s_clog10l.c (__clog10l): Likewise.
9515 * math/s_clogf.c (__clogf): Likewise.
9516 * math/s_clogl.c (__clogl): Likewise.
9517 * math/libm-test.inc (clog_test): Add more tests.
9518 (clog10_test): Likewise.
9519 * sysdeps/i386/fpu/libm-test-ulps: Update.
9520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9521
3129cfc6
JM
9522 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9523 (pltexit): Likewise.
9524 (La_regs): Likewise.
9525 (La_retval): Likewise.
9526 (int_retval): Likewise.
9527 Update #error for removed macros to refer only to definitions in
9528 tst-audit.h.
9529 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9530 macro.
9531 (pltexit): Likewise.
9532 (La_regs): Likewise.
9533 (La_retval): Likewise.
9534 (int_retval): Likewise.
9535 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9536 macro.
9537 (pltexit): Likewise.
9538 (La_regs): Likewise.
9539 (La_retval): Likewise.
9540 (int_retval): Likewise.
9541 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9542 macro.
9543 (pltexit): Likewise.
9544 (La_regs): Likewise.
9545 (La_retval): Likewise.
9546 (int_retval): Likewise.
9547 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9548 macro.
9549 (pltexit): Likewise.
9550 (La_regs): Likewise.
9551 (La_retval): Likewise.
9552 (int_retval): Likewise.
9553 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9554 macro.
9555 (pltexit): Likewise.
9556 (La_regs): Likewise.
9557 (La_retval): Likewise.
9558 (int_retval): Likewise.
9559 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9560 macro.
9561 (pltexit): Likewise.
9562 (La_regs): Likewise.
9563 (La_retval): Likewise.
9564 (int_retval): Likewise.
9565 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9566 macro definitions in tst-audit.h.
9567 * sysdeps/i386/tst-audit.h: New file.
9568 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9569 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9570 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9571 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9572 * sysdeps/sh/tst-audit.h: Likewise.
9573 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9574 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9575 * sysdeps/x86_64/tst-audit.h: Likewise.
9576
bfc07087
AJ
95772012-07-26 Andreas Jaeger <aj@suse.de>
9578
b1b2aaf8
AJ
9579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9580 ptrace.
9581
9582 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9583 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9584 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9585 PTRACE_O_MASK.
9586 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9587 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9588 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9589
bfc07087
AJ
9590 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9591 value.
9592
9593 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9594 _sigsys.
9595 (si_call_addr, si_syscall, si_arch): Define new macro.
9596 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9597 _sigsys.
9598 (si_call_addr, si_syscall, si_arch): Define new marcro.
9599 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9600 _sigsys.
9601 (si_call_addr, si_syscall, si_arch): Define new macro.
9602 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9603 _sigsys.
9604 (si_call_addr, si_syscall, si_arch): Define new macro.
9605
89b4b02f
JM
96062012-07-25 Joseph Myers <joseph@codesourcery.com>
9607
9608 [BZ #13717]
9609 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9610 Change to 2.4.21 where previously 2.4.1.
9611 * sysdeps/unix/sysv/linux/configure: Regenerated.
9612 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9613 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9614 Linux kernel version.
9615 (__ASSUME_STD_AUXV): Remove.
9616 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9617 kernel version.
9618 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9619 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9620 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9621 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9622 (__ASSUME_NETLINK_SUPPORT): Likewise.
9623 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9624 (__no_netlink_support): Remove conditional definition.
9625 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9626 Remove.
9627 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9628 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9629 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9630 (if_nameindex_ioctl): Remove.
9631 (if_nameindex_netlink): Do not handle __no_netlink_support.
9632 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9633 code.
9634 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9635 Remove conditional code.
9636 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9637 code.
9638 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9639 unconditional.
9640 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9641 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9642 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9643 Remove.
9644 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9645 [!__ASSUME_STD_AUXV]: Remove conditional code.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9647 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9648 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9650 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9651 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9652 code.
9653 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9655 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9656 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9657 conditional code.
9658 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9660 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9661 code.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9663 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9664 conditional code.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9666 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9667 code unconditional.
9668 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9669 conditional code.
9670 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9671 unconditional.
9672 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9673 conditional code.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9675 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9676 unconditional.
9677 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9678 conditional code.
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9680 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9681 code unconditional.
9682 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9683 conditional code.
9684 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9685 unconditional.
9686 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9687 conditional code.
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9689 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9690 code unconditional.
9691 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9692 conditional code.
9693 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9694 unconditional.
9695 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9696 conditional code.
9697
842a39cd
AS
96982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9699
9700 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9701 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9702 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9703 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9704 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9705 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9706 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9707 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9708 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9709 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9710 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9711 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9712 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9713 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9714 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9715 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9716 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9717 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9718 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9720 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9721 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9722 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9723
84b3fd84
FW
97242012-07-25 Florian Weimer <fweimer@redhat.com>
9725
9726 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
9727 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9728 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9729 Introduce __libc_secure_getenv.
0c7936d5
FW
9730 * stdlib/Versions (2.17): Add secure_getenv
9731 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9732 * stdlib/secure-getenv.c: Rename __secure_getenv to
9733 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9734 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
9735 * stdlib/tst-secure-getenv.c: New.
9736 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
9737 * manual/startup.texi (Environment Access): Document
9738 secure_getenv.
84b3fd84
FW
9739 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9740 __libc_secure_getenv.
9741 * inet/ruserpass.c (ruserpass): Likewise.
9742 * malloc/mtrace.c (mtrace): Likewise.
9743 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 9744 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
9745 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9746 * sysdeps/posix/tempname.c: Likewise. Evaluate
9747 HAVE_SECURE_GETENV.
9748 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 9749 __secure_getenv to __libc_secure_getenv.
84b3fd84 9750 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9752 Likewise.
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9754 Likewise.
9755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9757 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 9762
56e49b71
JM
97632012-07-25 Joseph Myers <joseph@codesourcery.com>
9764
9765 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9766 (struct La_i86_retval): Likewise.
9767 (struct La_x86_64_regs): Likewise.
9768 (struct La_x86_64_retval): Likewise.
9769 (struct La_x32_regs): Likewise.
9770 (struct La_x32_retval): Likewise.
9771 (struct La_ppc32_regs): Likewise.
9772 (struct La_ppc32_retval): Likewise.
9773 (struct La_ppc64_regs): Likewise.
9774 (struct La_ppc64_retval): Likewise.
9775 (struct La_sh_regs): Likewise.
9776 (struct La_sh_retval): Likewise.
9777 (struct La_s390_32_regs): Likewise.
9778 (struct La_s390_32_retval): Likewise.
9779 (struct La_s390_64_regs): Likewise.
9780 (struct La_s390_64_retval): Likewise.
9781 (struct La_sparc32_regs): Likewise.
9782 (struct La_sparc32_retval): Likewise.
9783 (struct La_sparc64_regs): Likewise.
9784 (struct La_sparc64_retval): Likewise.
9785 (struct audit_ifaces): Remove architecture-specific pltenter and
9786 pltexit members.
9787 * sysdeps/i386/ldsodefs.h: New file.
9788 * sysdeps/powerpc/ldsodefs.h: Likewise.
9789 * sysdeps/s390/ldsodefs.h: Likewise.
9790 * sysdeps/sh/ldsodefs.h: Likewise.
9791 * sysdeps/sparc/ldsodefs.h: Likewise.
9792 * sysdeps/x86_64/ldsodefs.h: Likewise.
9793
354691b7
MP
97942012-07-25 Marek Polacek <polacek@redhat.com>
9795
9796 [BZ #6808]
9797 * math/libm-test.inc (yn_test): Add another test.
9798 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9799 to ERANGE when the result is +-Inf.
9800 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9801 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9802 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9803 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9804
bf9e2071
JM
98052012-07-24 Joseph Myers <joseph@codesourcery.com>
9806
9807 * conform/data/time.h-data (NULL): Use macro-constant. Require
9808 equal to 0.
9809 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9810 clock_t.
9811 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9812
57633811
TS
98132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9814
9815 * configure.in <sysdeps resolving>: Correct printing
9816 Implies_before.
9817 * configure: Regenerate.
9818
c23c33b0
TS
98192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9820
9821 * math/w_ilogb.c: Include <limits.h>.
9822 * math/w_ilogbl.c: Likewise.
9823
b5982523
JM
98242012-07-20 Joseph Myers <joseph@codesourcery.com>
9825
9826 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9827 va_copy. Document allowing for unavailable va_copy only as
9828 pre-C99 compatibility.
9829 * manual/string.texi (Copying and Concatenation): Use va_copy
9830 instead of __va_copy in concat example.
9831
ac4ea442
PT
98322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9833
9834 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9835 (__sendto): Use create_address_port. Initialize APORT and deallocate
9836 it if not null.
9837
f98eafbd
PT
9838 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9839 with O_NOLINK passed to __file_name_lookup.
9840
898c7aab
PT
9841 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9842 with O_NOLINK passed to __file_name_lookup.
9843
0ced335a
PT
9844 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9845 negative N or less than NGIDS.
9846
b3404dbd
PT
9847 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9848 type to string_t. Set ERANGE as errno and return it if NAME is not big
9849 enough. Use memcpy instead of strncpy.
9850
0f48659e
JM
98512012-07-20 Joseph Myers <joseph@codesourcery.com>
9852
9853 * elf/Makefile (check-data): Remove.
9854 (localplt.data): New vpath directive.
9855 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9856 instead of $(check-data).
9857 * scripts/data/localplt-generic.data: Move to ...
9858 * sysdeps/generic/localplt.data: ... here.
9859 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9860 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9861 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9863 ... here.
9864 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9866 ... here.
9867 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9869 ... here.
9870 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9872 ... here.
9873 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9875 ... here.
9876 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9878 ... here.
9879
d37cbdaa
AZ
98802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9881
9882 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9883 PPC32 and PPC64 files.
9884 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9885 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9886
46f85fc2
AK
98872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9888
9889 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9890 __makecontext_ret to ...
9891 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9892 ... here and call exit if uc_link is NULL. New file.
9893 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9894 __makecontext_ret.S.
9895 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9896 __makecontext_ret to ...
9897 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9898 ... here and call exit if uc_link is NULL. New file.
9899 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9900 __makecontext_ret.S.
9901
08f43f9b
AK
99022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9903
9904 * elf/elf.h (R_390_IRELATIVE): New definition.
9905 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9906 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9907 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9908 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9909 (elf_machine_lazy_rel): Likewise.
9910 * sysdeps/s390/dl-irel.h: New file.
9911 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9912 * sysdeps/s390/s390-64/memset.S: New asm code.
9913 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9914 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9915 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9916 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9917 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9918 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9919 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9920 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9921 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9922 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9923 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9924 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9925 * sysdeps/s390/s390-32/memset.S: New asm code.
9926 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9927
3b05db33
MP
99282012-07-17 Marek Polacek <polacek@redhat.com>
9929
9930 [BZ #14349]
9931 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9932 * sysdeps/s390/s390-64/configure.in: Likewise.
9933 * sysdeps/sparc/configure.in: Likewise.
9934 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9935 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9936 * sysdeps/i386/configure.in: Likewise.
9937 * sysdeps/x86_64/configure.in: Likewise.
9938 * sysdeps/sh/configure.in: Likewise.
9939 * sysdeps/s390/s390-32/configure: Regenerated.
9940 * sysdeps/s390/s390-64/configure: Likewise.
9941 * sysdeps/x86_64/configure: Likewise.
9942 * sysdeps/sh/configure: Likewise.
9943 * sysdeps/powerpc/powerpc64/configure: Likewise.
9944 * sysdeps/powerpc/powerpc32/configure: Likewise.
9945 * sysdeps/sparc/configure: Likwise.
9946 * sysdeps/i386/configure: Likewise.
9947
a66877c6
MP
9948 * elf/dl-open.c: Comment fixes.
9949
cfc82fd8
JM
99502012-07-17 Joseph Myers <joseph@codesourcery.com>
9951
bd29910a
JM
9952 * Makefile [CXX] (check-data): Remove.
9953 [CXX] (c++-types.data): New vpath directive.
9954 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9955 vpath. Do not allow for C++ type data being missing.
9956 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9957 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9958 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9959 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9960 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9961 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9962 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9964 ... here.
9965 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9967 ... here.
9968 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9970 ... here.
9971 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9973 ... here.
9974 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9976 ... here.
9977 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9979 ... here.
9980 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9982 ... here.
9983 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9985
cfc82fd8
JM
9986 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9987 definitions to architecture-specific files.
9988 (TLS_IE): Likewise.
9989 (TLS_LD): Likewise.
9990 (TLS_GD): Likewise.
9991 * sysdeps/i386/tls-macros.h: New file.
9992 * sysdeps/powerpc/tls-macros.h: Likewise.
9993 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9994 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9995 * sysdeps/sh/tls-macros.h: Likewise.
9996 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9997 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9998 * sysdeps/x86_64/tls-macros.h: Likewise.
9999
f7db3170
TS
100002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10001
07cbfc23
TS
10002 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10003 zero value for regular exit case.
10004
f7db3170
TS
10005 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10006 (__start_context): Preserve zero value for regular exit case.
10007
dc97c227
TS
100082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10009 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10010
10011 * manual/setjmp.texi (setcontext): Clarify normal process
10012 termination when uc_link is the null pointer.
10013 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10014 exit call.
10015
d0cd7d02
AS
100162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10017
10018 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10019 preprocessor. Test for each exception mask separately.
10020
dd318934
AJ
100212012-07-16 Andreas Jaeger <aj@suse.de>
10022
10023 * po/ru.po: Update from translation team.
10024
8048311a
JM
100252012-07-15 Joseph Myers <joseph@codesourcery.com>
10026
10027 * conform/data/string.h-data (NULL): Use macro-constant. Require
10028 equal to 0.
10029 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10030 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10031 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10032 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10034
b637d46e
AJ
100352012-07-13 Andreas Jaeger <aj@suse.de>
10036
10037 * po/fr.po: Update from translation team.
10038
541428fe
MP
100392012-07-12 Marek Polacek <polacek@redhat.com>
10040
10041 [BZ #14173]
10042 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10043 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10044 loop condition.
10045
ec332e94
JM
100462012-07-12 Joseph Myers <joseph@codesourcery.com>
10047
10048 [BZ #13717]
10049 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10050 Change to 2.4.1 where previously 2.4.0.
10051 * sysdeps/unix/sysv/linux/configure: Regenerated.
10052 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10053 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10054 version.
10055 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10056 (__ASSUME_AT_CLKTCK): Remove.
10057 (__ASSUME_AT_PAGESIZE): Likewise.
10058 (__ASSUME_AT_XID): Likewise.
10059 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10060 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10061 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10062 unconditionally.
10063 (HAVE_AUX_PAGESIZE): Likewise.
10064 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10065 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10066 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10067
7b6e99be
JB
100682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10069
10070 [BZ #14307]
10071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10072 the temporary buffer used to invoke __gethostbyname2_r,
10073 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10074 host_data / struct gaih_addrtuple.
10075 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10076 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10077 header file nss/nsswitch.h.
10078 * nss/nsswitch.h (global scope): Add definition of implementation
10079 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10080 resolv/nss_dns/dns-host.c).
10081
608404eb
AJ
100822012-07-11 Andreas Jaeger <aj@suse.de>
10083
10084 * po/fr.po: Update from translation team.
10085
71220aca
AJ
10086 * po/sv.po: Update from translation team
10087 * po/fr.po: Another update from translation team.
10088
28cfe843
AZ
100892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10090
10091 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10092 for subnormals or multiply small sinh result by itself.
10093 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10095
6b90f981
DM
100962012-07-11 David S. Miller <davem@davemloft.net>
10097
10098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10099
c6825772
AS
101002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10101
10102 [BZ #14347]
10103 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10104 (INTERNAL_MARK): Shift it here.
10105
7b8e0d49
MP
101062012-07-10 Marek Polacek <polacek@redhat.com>
10107
10108 [BZ #14151]
10109 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10110 libc_cv_asm_global_directive with .globl.
10111 * configure: Regenerated.
10112 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10113 with .globl.
10114 * sysdeps/i386/configure: Regenerated.
10115 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10116 with .globl.
10117 * sysdeps/x86_64/configure: Regenerated.
10118 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10119 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10120 * elf/tst-unique2mod2.c: Likewise.
10121 * elf/tst-unique2mod1.c: Likewise.
10122 * elf/tst-unique1mod2.c: Likewise.
10123 * elf/tst-unique1mod1.c: Likewise.
10124 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10125 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10126 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10127 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10128 * sysdeps/mach/sysdep.h: Likewise.
10129 * sysdeps/i386/sysdep.h: Likewise.
10130 * sysdeps/i386/i386-mcount.S: Likewise.
10131 * sysdeps/x86_64/_mcount.S: Likewise.
10132 * sysdeps/x86_64/sysdep.h: Likewise.
10133 * sysdeps/sh/_mcount.S: Likewise.
10134 * sysdeps/sh/sysdep.h: Likewise.
10135 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10136 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10137 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10138 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10139 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10140 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10141 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10142 * locale/localeinfo.h: Likewise.
10143 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10144 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10145
6c55cda3
RM
101462012-07-09 Roland McGrath <roland@hack.frob.com>
10147
10148 [BZ #14336]
10149 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10150 system".
10151 * manual/message.texi (The Uniforum approach): Likewise.
10152 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10153 (glibc iconv Implementation): Likewise.
10154
638a572e
JM
101552012-07-09 Joseph Myers <joseph@codesourcery.com>
10156
10157 [BZ #14337]
10158 * math/s_clog.c (__clog): Avoid scaling a value down where that
10159 could result in underflow.
10160 * math/s_clog10.c (__clog10): Likewise.
10161 * math/s_clog10f.c (__clog10f): Likewise.
10162 * math/s_clog10l.c (__clog10l): Likewise.
10163 * math/s_clogf.c (__clogf): Likewise.
10164 * math/s_clogl.c (__clogl): Likewise.
10165 * math/libm-test.inc (clog_test): Add more tests.
10166 (clog10_test): Likewise.
10167 * sysdeps/i386/fpu/libm-test-ulps: Update.
10168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10169
261f4859
AS
101702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10171
0abaf3e4
AS
10172 [BZ #14283]
10173 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10174 by 7 not 8 to examine high bit of fractional part.
10175
261f4859
AS
10176 [BZ #14042]
10177 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10178 for call to __mcount_internal.
10179 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10180 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10181 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10182
f17ac40d
JM
101832012-07-06 Joseph Myers <joseph@codesourcery.com>
10184
9ad63c23
JM
10185 [BZ #14154]
10186 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10187 approximation for values within 0x1p-13f of an odd multiple of
10188 pi/4.
10189 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10190 exception. Add more tests.
10191 * sysdeps/i386/fpu/libm-test-ulps: Update.
10192
f17ac40d
JM
10193 [BZ #6778]
10194 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10195 inputs and return -1 for them. Do not check for +Inf in case not
10196 reachable for +Inf.
10197 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10198 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10199 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10200 and return -1 for them. Do not check for +Inf in case not
10201 reachable for +Inf.
10202 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10203 define.
10204 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10205 and return -1 for them. Do not check for +Inf in case not
10206 reachable for +Inf.
10207 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10208 spurious underflow.
10209 * sysdeps/i386/fpu/libm-test-ulps: Update.
10210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211
fb21f89b
MF
102122012-07-06 Mike Frysinger <vapier@gentoo.org>
10213
10214 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10215
cdfe2c5e
JM
102162012-07-05 Joseph Myers <joseph@codesourcery.com>
10217
10218 [BZ #14157]
10219 [BZ #14331]
10220 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10221 could result in spurious underflow. Scale down values above
10222 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10223 * math/s_csqrtf.c (__csqrtf): Likewise.
10224 * math/s_csqrtl.c (__csqrtl): Likewise.
10225 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10226 spurious underflow.
10227 * sysdeps/i386/fpu/libm-test-ulps: Update.
10228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10229
70d35b67
AS
102302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10231
704bc459
AS
10232 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10233 xopen-msg.sed.
10234 * catgets/xopen-msg.awk: New file.
10235 * catgets/xopen-msg.sed: Removed.
10236
70d35b67
AS
10237 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10238 po2text.sed.
10239 * intl/po2test.awk: New file.
10240 * intl/po2test.sed: Removed.
10241
ca61cf32
JM
102422012-07-04 Joseph Myers <joseph@codesourcery.com>
10243
10244 [BZ #14328]
10245 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10246 or multiply small sinh result by itself.
10247 * math/s_ctanf.c (__ctanf): Likewise.
10248 * math/s_ctanh.c (__ctanh): Likewise.
10249 * math/s_ctanhf.c (__ctanhf): Likewise.
10250 * math/s_ctanhl.c (__ctanhl): Likewise.
10251 * math/s_ctanl.c (__ctanl): Likewise.
10252 * math/libm-test.inc (ctan_test_tonearest): New function.
10253 (ctan_test_towardzero): Likewise.
10254 (ctan_test_downward): Likewise.
10255 (ctan_test_upward): Likewise.
10256 (ctanh_test_tonearest): Likewise.
10257 (ctanh_test_towardzero): Likewise.
10258 (ctanh_test_downward): Likewise.
10259 (ctanh_test_upward): Likewise.
10260 (main): Call these new functions.
10261 * sysdeps/i386/fpu/libm-test-ulps: Update.
10262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10263
ca48a46a
MF
102642012-07-03 Mike Frysinger <vapier@gentoo.org>
10265
10266 * .gitignore: Delete /ports entry.
10267
9d63d37d
AJ
102682012-07-03 Andreas Jaeger <aj@suse.de>
10269
10270 * po/bg.po: Update from translation team.
10271 * po/cs.po: Likewise.
10272 * po/de.po: Likewise.
10273 * po/hr.po: Likewise.
10274 * po/nl.pl: Likewise.
10275 * po/pl.po: Likewise.
10276 * po/vi.po: Likewise.
10277
370ca3d2
JM
102782012-07-03 Joseph Myers <joseph@codesourcery.com>
10279
95f5a9a8
JM
10280 * Makeconfig [!+link] (+link-before-libc): New variable.
10281 [!+link] (+link-after-libc): Likewise.
10282 [!+link] (+link-tests): Likewise.
10283 [!+link] (+link): Define in terms of $(+link-before-libc) and
10284 $(+link-after-libc).
10285 [!+link-static] (+link-static-before-libc): New variable.
10286 [!+link-static] (+link-static-after-libc): Likewise.
10287 [!+link-static] (+link-static-tests): Likewise.
10288 [!+link-static] (+link-static): Define in terms of
10289 $(+link-static-before-libc) and $(+link-static-after-libc).
10290 [build-shared] (link-libc-before-gnulib): New variable.
10291 [build-shared] (link-libc-tests): Likewise.
10292 [build-shared] (link-libc): Define in terms of
10293 $(link-libc-before-gnulib).
10294 [!build-shared] (link-libc-tests): New variable.
10295 (link-libc-static-tests): New variable.
10296 [!gnulib] (gnulib-arch): New variable.
10297 [!gnulib] (gnulib-tests): Likewise.
10298 [!gnulib] (static-gnulib-arch): Likewise.
10299 [!gnulib] (static-gnulib-tests): Likewise.
10300 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10301 Define with "=" instead of ":=".
10302 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10303 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10304 * Rules (binaries-all-notests): New variable.
10305 (binaries-all-tests): Likewise.
10306 (binaries-static-notests): Likewise.
10307 (binaries-static-tests): Likewise.
10308 (binaries-all): Define using $(binaries-all-notests) and
10309 $(binaries-all-tests).
10310 (binaries-static): Define using $(binaries-static-notests) and
10311 $(binaries-static-tests).
10312 (binaries-shared-tests): New variable.
10313 (binaries-shared-notests): Likewise.
10314 (binaries-shared): Remove variable.
10315 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10316 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10317 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10318 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10319 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10320 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10321 * elf/Makefile (sln-modules): New variable.
10322 (extra-objs): Add $(sln-modules:=.o).
10323 (ldconfig-modules): Add static-stubs.
10324 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10325 * elf/static-stubs.c: New file.
10326
7a845b2c
JM
10327 [BZ #14283]
10328 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10329 by 7 not 8 to examine high bit of fractional part. Use volatile
10330 variables when splitting into final array of floats if
10331 __FLT_EVAL_METHOD__ != 0.
10332 * math/libm-test.inc (cos_test): Add another test.
10333 (sin_test): Likewise.
10334 * sysdeps/i386/fpu/libm-test-ulps: Update.
10335
e2283f38
JM
10336 [BZ #14273]
10337 * math/libm-test.inc (cosh_test): Add more tests.
10338
370ca3d2
JM
10339 * version.h (RELEASE): Set to "development".
10340 (VERSION): Set to "2.16.90".
10341
ee9247c3
CD
103422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10343
10344 * NEWS: Update copyright. Remove last-updated date.
10345 Mention math library bug fixes and timezone data changes.
10346 * README: Mention GNU/Hurd, x32, and HPPA support status.
10347
4648c381
TS
103482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10349
10350 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10351
aac78a43
AJ
103522012-06-27 Andreas Jaeger <aj@suse.de>
10353
10354 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10355
ed3dbfad
AJ
103562012-06-25 Andreas Jaeger <aj@suse.de>
10357
10358 * sysdeps/s390/fpu/libm-test-ulps: Update.
10359
4d0ee855
AS
103602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10361 Thomas Schwinge <thomas@codesourcery.com>
10362
10363 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10364 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10365 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10366 fanotify_mark.
10367
af1bce34
TS
103682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10369
a9fa33ba
TS
10370 * sysdeps/mach/start.c: Remove file.
10371 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10372 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10373 * sysdeps/sh/init-first.c: Likewise.
10374
58f902b8
TS
10375 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10376 registers for frame unwinding purposes, add CFI directives.
10377 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10378 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10379 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10380 Likewise.
10381
1518f58b
TS
10382 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10383 __fortify_fail returning.
10384 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10385
db9b5059
TS
10386 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10387 sysdeps/sh/____longjmp_chk.S.
10388 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10389 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10390 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10391 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10392
967705fe
TS
10393 * sysdeps/sh/abort-instr.h: New file.
10394 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10395 process in case exit returns.
10396
a9def8c4
TS
10397 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10398 initialize the GOT register before use.
10399
2a649725
TS
10400 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10401 calculation of ARGC > 4.
10402
af1bce34
TS
10403 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10404 meaningful names to some local labels.
10405
d230f50a
KK
104062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10407 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10408
10409 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10410 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10411 (__arch_compare_and_exchange_val_16_acq): Likewise.
10412 (__arch_compare_and_exchange_val_32_acq): Likewise.
10413 (atomic_exchange_and_add): Fix gUSA sequence.
10414 (atomic_add): Likewise.
10415 (atomic_add_negative): Likewise.
10416 (atomic_add_zero): Likewise.
10417 (atomic_bit_test_set): Likewise.
10418
0479b305
AS
104192012-06-22 Andreas Schwab <schwab@redhat.com>
10420
10421 [BZ #13579]
10422 * include/link.h (struct link_map): Add l_free_initfini.
10423 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10424 l_initfini.
10425 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10426 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10427 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10428 set.
10429
0e3933b9
CD
104302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10431
10432 * configure.in: Use AC_LANG_SOURCE.
10433 * configure: Regenerate.
10434
4248b1b1
RM
104352012-06-22 Roland McGrath <roland@hack.frob.com>
10436
10437 * configure.in (libc_cv_localstatedir): New substituted variable.
10438 * configure: Regenerated.
10439 * config.make.in (localstatedir): New variable, substituted from
10440 libc_cv_localstatedir.
10441 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10442 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10443 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10444 * sysdeps/gnu/configure: Regenerated.
10445
006dd861
JL
104462012-06-21 Jeff Law <law@redhat.com>
10447
10448 [BZ #14277]
10449 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10450 free. Simplify list management for _LIBC case.
10451
79662d42
JM
104522012-06-21 Joseph Myers <joseph@codesourcery.com>
10453
b7abb4bf
JM
10454 [BZ #14273]
10455 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10456 Clear sign bit of 64-bit integer value before comparing against
10457 overflow value.
10458
79662d42
JM
10459 * sysdeps/mach/configure: Regenerated.
10460
1f150908
L
104612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10462
10463 [BZ #14278]
10464 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10465
28363bbf
JL
104662012-06-21 Jeff Law <law@redhat.com>
10467
10468 [BZ #13882]
10469 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10470 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10471 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10472 * elf/dl-open.c (dl_open_worker): Likewise.
10473
09615db4
CD
104742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10475
10476 * scripts/list-sources.sh: Scan PORTS for translations.
10477 * po/libc.pot: Regenerated.
10478
2174c6dd
AJ
104792012-06-21 Andreas Jaeger <aj@suse.de>
10480
10481 [BZ #12194]
10482 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10483 warning.
10484 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10485 * bits/byteswap-16.h (__bswap_16): Likewise.
10486 * bits/byteswap.h (__bswap_constant_16): Likewise.
10487
3ee947b1
L
104882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10489
10490 [BZ #14117]
a2f34833
L
10491 * sysdeps/i386/fpu_control.h: Removed.
10492 * sysdeps/x86_64/fpu_control.h: Moved to ...
10493 * sysdeps/x86/fpu_control.h: Here.
10494
3ee947b1
L
10495 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10496 (_FPU_SETCW): Likewise.
10497
ed1825f8
L
104982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10499
25f1282a
L
10500 [BZ #14117]
10501 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10502 * sysdeps/x86/fpu/bits/mathinline.h: This.
10503 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10504
ed1825f8
L
10505 [BZ #14050]
10506 [BZ #14117]
10507 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10508 functions if __x86_64__ is defined.
10509
36d54b74
CLT
105102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10511
10512 * string/endian.h: Add !__ASSEMBLER__ condition for including
10513 conversion interfaces.
10514
10285c21
JM
105152012-06-15 Joseph Myers <joseph@codesourcery.com>
10516
10517 [BZ #14241]
10518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10519 of ABS(x) in calculating zero to negative powers other than odd
10520 integers.
10521 * math/libm-test.inc (pow_test): Add more tests.
10522
06c5abbd
AJ
105232012-06-15 Andreas Jaeger <aj@suse.de>
10524
10525 * manual/contrib.texi (Contributors): Update entry of Liubov
10526 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10527 Machado Filho.
10528
a3aeac40
CH
105292012-06-15 Cyril Hrubis <metan@ucw.cz>
10530
10531 * string/string.h: Add __wur to GNU version of strerror_r.
10532
49bdf4c1
L
105332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10534
10535 [BZ #14229]
10536 * string/Makefile (tests): Add tst-strtok_r.
10537 * string/tst-strtok_r.c: New file.
10538 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10539 RAX_LP/RDX_LP on SAVE_PTR.
10540
834f9b8d
RM
105412012-06-14 Roland McGrath <roland@hack.frob.com>
10542
10543 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10544
75fa1921
JM
105452012-06-14 Joseph Myers <joseph@codesourcery.com>
10546
10547 * libm_test.inc (csqrt_test): Allow more spurious underflow
10548 exceptions.
10549 (j0_test): Likewise.
10550 (j1_test): Likewise.
10551 (y0_test): Likewise.
10552 (y1_test): Likewise.
10553
771766df
CD
105542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10555
10556 * po/Makefile (libc.pot): Use UTF-8 charset.
10557
ceb9e56b
PP
105582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10559
10560 [BZ #14210]
10561 Suppress sign-conversion warning from FD_SET.
10562 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10563 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10564 not unsigned long int.
10565 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10566
ddb28975
L
105672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10568
10569 [BZ #14050]
10570 [BZ #14117]
10571 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10572 __extern_always_inline instead of __extern_inline.
10573 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10574 (__signbit): Likewise.
10575 (__signbitl): Support C++ namespace.
10576 (lrintf): New inline function.
10577 (lrint): Likewise.
10578 (llrintf): Likewise.
10579 (llrint): Likewise.
10580 (fmaxf): Likewise.
10581 (fmax): Likewise.
10582 (fminf): Likewise.
10583 (fmin): Likewise.
10584 (rint): Likewise.
10585 (rintf): Likewise.
10586 (ceil): Likewise.
10587 (ceilf): Likewise.
10588 (floor): Likewise.
10589 (floorf): Likewise.
10590 (nearbyint): Likewise.
10591 (nearbyintf): Likewise.
10592
d7b4fb26
TS
105932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10594
10595 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10596 non-default versions.
10597
eb55f5c2
RM
105982012-06-11 Roland McGrath <roland@hack.frob.com>
10599
10600 [BZ #14218]
10601 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10602
366af02c
TS
106032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10604
99ff6e5c
TS
10605 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10606 (FE_UPWARD, FE_DOWNWARD): Don't define.
10607 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10608 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10609
366af02c
TS
10610 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10611 reading it.
10612 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10613 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10614
793ea851
KK
106152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10616
10617 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10619 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10620 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10621
a728a38f
L
106222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10623
10624 [BZ #14117]
c08010c7
L
10625 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10626 * sysdeps/i386/fpu/Implies: New file.
10627 * sysdeps/x86_64/fpu/Implies: Likewise.
10628 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10629 * sysdeps/x86/fpu/bits/fenv.h: This.
10630
a728a38f
L
10631 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10632 __SSE_MATH__.
10633
6e230d11
SP
106342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10635
10636 [BZ #14134]
10637 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10638 character 0xffff that matches the last element of the
10639 conversion table.
10640
1b671feb
AZ
106412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10642
10643 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10644 fmodl commit.
10645
6043738b
AZ
106462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10647
10648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10649 values higher than 25.6283.
10650
34ae0b32
AZ
106512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10652
10653 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10654 subnormal exponent extraction and add some __builtin_expect.
10655 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10656 Fix for subnormal mantissa calculation.
10657
1214ec8f
MF
106582012-06-04 Mike Frysinger <vapier@gentoo.org>
10659
10660 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10661 cpu2 is -1 and errno is not ENOSYS.
10662
f3d1f93c
L
106632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10664
10665 [BZ #14117]
0e4a3cd7
L
10666 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10667 * sysdeps/x86/bits/string.h: This.
10668 * sysdeps/x86_64/bits/string.h: Removed.
10669
6704c645
L
10670 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10671 if not compiling for x86-64, but compiling for >= i486.
10672
48495318
L
10673 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10674 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10675
14adcbfc
L
10676 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10677 New macro from Linux kernel 3.4.0.
10678 (FP_XSTATE_MAGIC2): Likewise.
10679 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10680 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10681 (struct _fpx_sw_bytes): New struct.
10682 (struct _xsave_hdr): Likewise.
10683 (struct _ymmh_state): Likewise.
10684 (struct _xstate): Likewise.
10685
68e408ab
L
10686 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10687 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10688 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10689 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10690 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10691 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10692
f3d1f93c
L
10693 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10694 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10695 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10696 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10697 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10698 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10699
d9dc34cd
TMQMF
107002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10701
10702 [BZ #13743]
10703 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10704 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10705 (sysdep_headers): Include sys/platform/ppc.h.
10706 * sysdeps/powerpc/test-gettimebase.c: Test for
10707 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10708 * manual/Makefile (appendices): Include platform.texi.
10709 * manual/contrib.texi (Contributors): Update @node pointers.
10710 * manual/maint.texi (Maintenance): Likewise.
10711 (Platform): New node.
10712 * manual/platform.texi: New file. Document the new features.
10713
4af3879c
SP
107142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10715 Jakub Jelinek <jakub@redhat.com>
10716
10717 [BZ #14188]
10718 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10719 where __builtin_expect is unavailable.
10720
2fd6ff13
DM
107212012-06-03 David S. Miller <davem@davemloft.net>
10722
10723 * stdlib/longlong.h: Updated from GCC.
10724
173f7220
AS
107252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10726
10727 [BZ #14042]
10728 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10729 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10730 __mcount_internal.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10732 (GLIBC_2.16): Likewise.
10733
f34a1c6f
L
107342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10735
10736 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10737
88a4576f
JM
107382012-06-01 Joseph Myers <joseph@codesourcery.com>
10739
ea32bcdd
JM
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10741 (default-abi): New variable.
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10743 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10744 variable.
10745 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10746 Likewise.
10747 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10748 Likewise.
10749 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10750 Likewise.
10751
88a4576f
JM
10752 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10753 definition. Document in comment.
10754
402fe938
DM
107552012-06-01 David S. Miller <davem@davemloft.net>
10756
10757 * stdlib/longlong.h: Updated from GCC.
10758
3553723f
L
107592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10760
10761 [BZ #14117]
3bd872c4
L
10762 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10763 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10764 sys/debugreg.h sys/io.h here.
10765 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10766 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10767 sys/io.h.
10768 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10769 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10770 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10771 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10772 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10773 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10774
3553723f
L
10775 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10776 Define only if __x86_64__ is defined.
10777
4842e4fe
JM
107782012-06-01 Joseph Myers <joseph@codesourcery.com>
10779
c5bfe3d5
JM
10780 [BZ #14048]
10781 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10782 Use int64_t for variable i.
10783 * math/libm-test.inc (fmod_test): Add more tests.
10784
4842e4fe
JM
10785 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10786 z computation is not scheduled after fetestexcept.
10787 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10788 Use math_force_eval instead of asm to ensure calculation scheduled
10789 before exception test.
10790 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10791 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10792
efb73488
AJ
107932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10794
10795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10796 computation is not scheduled after fetestexcept.
10797
29bcce7c
L
107982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10799
10800 [BZ #14117]
10801 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10802 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10803
73a68f94
AZ
108042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10805
10806 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10807 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10808
67b6df78
L
108092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10810
edf2933a 10811 [BZ #14117]
ebc64a18
L
10812 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10813 <bits/wordsize.h>.
10814 (__WCHAR_MIN): Support __WORDSIZE == 64.
10815 (__WCHAR_MAX): Likewise.
10816
edf2933a
L
10817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10818 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10819
57c6cf40
L
10820 [BZ #14183]
10821 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10822 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10823
67b6df78 10824 [BZ #14117]
8eb6281e
L
10825 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10827
aac639f4
L
10828 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10829 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10830
67b6df78
L
10831 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10832 Defined to 1 if __x86_64__ isn't defined.
10833 (_STAT_VER_LINUX_OLD): New.
10834 (st_atime): Remove duplicate.
10835 (st_mtime): Likewise.
10836 (st_ctime): Likewise.
10837
1c2cfe81
DM
108382012-05-31 David S. Miller <davem@davemloft.net>
10839
10840 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10841 entries.
10842
5be8418c
AS
108432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10844
e7725326
AS
10845 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10846 gen-libm-test.pl.
10847
5be8418c
AS
10848 [BZ #14132]
10849 * elf/dl-reloc.c: Include <_itoa.h>.
10850 (_dl_reloc_bad_type): Remove use of INTUSE.
10851 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10852 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10853 * stdio-common/psiginfo.c (psiginfo): Likewise.
10854 * stdio-common/psignal.c (psignal): Likewise.
10855 * string/strsignal.c (strsignal): Likewise.
10856 * include/signal.h (_sys_siglist): Declare hidden proto.
10857 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10858 INTVARDEF with libc_hidden_data_def.
10859 * stdio-common/itoa-udigits.c: Likewise.
10860 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10861 (_itoa_lower_digits_internal): Remove declaration.
10862 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10863 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10864 (_sys_sigabbrev_internal): Remove aliases.
10865 (_sys_siglist): Define hidden alias.
10866
507352f1
MT
108672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10868
10869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10870 bits/sysctl.h.
10871
42bbb1c3
L
108722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10873
10874 [BZ #14117]
6bd784b6
L
10875 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10876 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10877
8bca20f0
L
10878 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10879 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10880 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10881 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10882 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10883 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10884
f9e890a9
L
10885 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10886 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10887 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10888
471101a1
L
10889 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10890 with __addr.
10891 (insw): Likewise.
10892 (insl): Likewise.
10893 (outsb): Likewise.
10894 (outsw): Likewise.
10895 (outsl): Likewise.
10896
6451c862
L
10897 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10898 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10899 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10900
a254b8c9
L
10901 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10902 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10903 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10904 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10905 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10906 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10907
b8dfdd92
L
10908 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10909 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10910
578cd270
L
10911 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10912 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10913
de662f5f
L
10914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10917
25653439
L
10918 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10919 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10920 to ...
10921 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10922
6bad24a0
L
10923 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10924 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10925 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10926
42bbb1c3
L
10927 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10928 for x86-64.
10929 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10930
2d10d547
JM
109312012-05-31 Joseph Myers <joseph@codesourcery.com>
10932
10933 * math/math.h (M_El): Use two more decimal places.
10934 (M_LOG2El): Likewise.
10935 (M_LOG10El): Likewise.
10936 (M_LN2l): Likewise.
10937 (M_LN10l): Likewise.
10938 (M_PIl): Likewise.
10939 (M_PI_2l): Likewise.
10940 (M_PI_4l): Likewise.
10941 (M_1_PIl): Likewise.
10942 (M_2_PIl): Likewise.
10943 (M_2_SQRTPIl): Likewise.
10944 (M_SQRT2l): Likewise.
10945 (M_SQRT1_2l): Likewise.
10946
f230c29b
DM
109472012-05-31 David S. Miller <davem@davemloft.net>
10948
10949 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10950 values between float registers.
10951 * sysdeps/sparc/sparc64/memset.S: Likewise.
10952 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10953
fed806c3
MF
109542012-05-31 Mike Frysinger <vapier@gentoo.org>
10955
10956 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10957 -D_FORTIFY_SOURCE=1.
10958 (CPPFLAGS-tst-longjmp_chk.c): Define.
10959 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10960 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10961 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10962 CFLAGS-tst-wchar-h.c.
10963
30917259
MP
109642012-05-31 Marek Polacek <polacek@redhat.com>
10965
10966 [BZ #14132]
10967 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10968 __endmntent_internal): Remove declaration.
10969 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10970 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10971 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10972
1c58d5dc
DM
109732012-05-30 David S. Miller <davem@davemloft.net>
10974
10975 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10976 (___Q_simulate_exceptions): Use real FP ops rather than writing
10977 into the %fsr.
10978 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10979 Likewise.
10980
7dc00e0d
L
109812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10982
10983 [BZ #14117]
0bd53985
L
10984 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10985 * sysdeps/x86/bits/xtitypes.h: This.
10986
3a257e66
L
10987 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10988 * sysdeps/x86/bits/wordsize.h: This.
10989
62f62904
L
10990 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10991 * sysdeps/x86/bits/huge_vall.h: This.
10992
404fe9d9
L
10993 * sysdeps/i386/bits/select.h: Removed.
10994 * sysdeps/x86_64/bits/select.h: Renamed to ...
10995 * sysdeps/x86/bits/select.h: This.
10996
d48d0446
L
10997 * sysdeps/i386/bits/setjmp.h: Removed.
10998 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10999 * sysdeps/x86/bits/setjmp.h: This.
11000
7dc00e0d
L
11001 * sysdeps/i386/bits/mathdef.h: Removed.
11002 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11003 * sysdeps/x86/bits/mathdef.h: This.
11004
03277f8f
AS
110052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11006
11007 [BZ #14132]
11008 * include/sys/socket.h (__connect_internal)
11009 (__libc_sa_len_internal): Remove declaration.
11010 (__connect, __libc_sa_len): Declare hidden_proto.
11011 (SA_LEN): Remove use of INTUSE.
11012 * socket/connect.c: Add libc_hidden_def.
11013 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11014 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11015 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11016 alias.
11017 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11018 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11019 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11020 of adding _internal alias.
11021
13764867
L
110222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11023
11024 [BZ #14117]
6bd97696
L
11025 * sysdeps/i386/bits/link.h: Removed.
11026 * sysdeps/i386/bits/linkmap.h: Likewise.
11027 * sysdeps/x86_64/bits/link.h: Renamed to ...
11028 * sysdeps/x86/bits/link.h: This.
11029 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11030 * sysdeps/x86/bits/linkmap.h: This.
11031
f726f0bb
L
11032 * sysdeps/i386/bits/endian.h: Removed.
11033 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11034 * sysdeps/x86/bits/endian.h: This.
11035
13764867
L
11036 * sysdeps/i386/bits/byteswap.h: Removed.
11037 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11038 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11039 * sysdeps/x86/bits/byteswap.h: This.
11040 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11041 * sysdeps/x86/bits/byteswap-16.h: This.
11042 * sysdeps/i386/Implies: Add x86.
11043 * sysdeps/x86_64/Implies: Likewise.
11044
ae251b0b
DM
110452012-05-30 David S. Miller <davem@davemloft.net>
11046
11047 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11048 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11049 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11050 (FP_TRAPPING_EXCEPTIONS): Define.
11051 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11052 (FP_TRAPPING_EXCEPTIONS): Define.
11053 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11054 subnormals only when inexact has been signalled or underflow
11055 exceptions are enabled.
11056 (_FP_PACK_CANONICAL): Likewise.
11057
d5c90867
L
110582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11059
11060 [BZ #14183]
11061 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11062 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11063
63f1549e
RH
110642012-05-30 Richard Henderson <rth@twiddle.net>
11065
8d8f2279
RH
11066 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11067 with #ifndef NOT_IN_libc.
11068
63f1549e
RH
11069 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11070 marked to avoid plt entry.
11071
0ab0291b
L
110722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11073
11074 [BZ #14112]
11075 * Makeconfig (default-abi): New macro.
11076 (abi-includes): Likewise.
11077 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11078 $(abi-$(default-abi)-lib-soname) for soname if defined.
11079 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11080 abi-variants.
11081 * Makefile (installed-stubs): Likewise.
11082 * include/stubs-biarch.h: Removed.
11083 * scripts/lib-names.awk: Only handle one library at a time.
11084 * scripts/soversions.awk: Remove WORDSIZE support.
11085 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11086 entries.
11087 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11088 Removed.
11089 (syscall-list-default-condition): Likewise.
11090 (syscall-list-default-condition): Likewise.
11091 (syscall-list-includes): Likewise.
11092 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11093 syscall-list-* with abi-*. Handle undefined abi-variants.
11094 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11095 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11096 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11097 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11098 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11099 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11100 Removed.
11101 (syscall-list-32-options): Likewise.
11102 (syscall-list-32-condition): Likewise.
11103 (syscall-list-64-options): Likewise.
11104 (syscall-list-64-condition): Likewise.
11105 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11106 macro.
11107 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11108 Renamed to ...
11109 (abi-*): This.
11110 (abi-64-ld-soname): New macro.
11111 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11112 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11113 Renamed to ...
11114 (abi-*): This.
11115 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11116 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11117
4da0431d
JM
111182012-05-30 Joseph Myers <joseph@codesourcery.com>
11119
3a85279c
JM
11120 * sysdeps/unix/sysv/linux/kernel-features.h
11121 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11122 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11123 include <kernel-features.h>.
11124 [!__NR_ftruncate64]: Remove conditional code.
11125 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11126 [__NR_ftruncate64]: Make code unconditional.
11127 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11128 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11129 include <kernel-features.h>.
11130 [!__NR_ftruncate64]: Remove conditional code.
11131 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11132 [__NR_ftruncate64]: Make code unconditional.
11133 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11135 include <kernel-features.h>.
11136 [!__NR_ftruncate64]: Remove conditional code.
11137 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11138 [__NR_ftruncate64]: Make code unconditional.
11139 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11141 include <kernel-features.h>.
11142 [!__NR_ftruncate64]: Remove conditional code.
11143 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11144 [__NR_ftruncate64]: Make code unconditional.
11145 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11146
4da0431d
JM
11147 * configure.in (libc_cv_fpie): Weaken to a compile test using
11148 LIBC_TRY_CC_OPTION.
11149 * configure: Regenerated.
11150
11ef492c
AK
111512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11152
11153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11157 Refreshed.
11158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11164 Refreshed.
11165
d66ef399
DM
111662012-05-27 David S. Miller <davem@davemloft.net>
11167
11168 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11169 (___Q_zero): New.
11170 (__Q_simulate_exceptions): Return void. Change to simulate
11171 exceptions by writing into the %fsr.
11172 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11173 (__Qp_handle_exceptions): Likewise.
11174 (numbers): Delete.
11175 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11176 __Qp_handle_exceptions.
11177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11178 __Qp_handle_exceptions.
11179 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11180 as unused and give dummy FP_RND_NEAREST initializer.
11181 (FP_INHIBIT_RESULTS): Define.
11182 (___Q_simulate_exceptions): Update declaration.
11183 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11184 formatting.
11185 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11186 as unused and give dummy FP_RND_NEAREST initializer.
11187 (__Qp_handle_exceptions): Update declaration.
11188 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11189 formatting.
11190
04fb54b5
TS
111912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11192
11193 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11194 the temporary FPU control word.
11195 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11196 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11197 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11198 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11199 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11200 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11201 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11202 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11203 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11204 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11205 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11206
3f99608f
KK
112072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11208
11209 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11210 fields.
11211
65a4de4e
CLT
112122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11213
11214 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11215 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11216 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11217 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11218 Likewise.
11219 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11220 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11221 Likewise.
11222
15749d40
UD
112232012-05-27 Ulrich Drepper <drepper@gmail.com>
11224
11225 * po/h.po: Update from translation team.
11226
25dbcb27
AS
112272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11228
3d3f8e55
AS
11229 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11230
25dbcb27
AS
11231 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11232 handling of denormals.
11233 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11234 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11235 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11236 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11237 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11238 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11239 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11240 Likewise.
11241
7ad47a80 112422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11243
11244 [BZ #14152]
11245 * math/libm-test.inc (fma_test): Don't always expect underflow
11246 exception.
11247
9c6ea9fa
SP
112482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11249
11250 [BZ #12416]
11251 * elf/tst-execstack.c: Include stackinfo.h.
11252 (do_test): Adjust test case to ensure that pthread_getattr_np
11253 behaviour remains the same after marking stack executable.
11254
a8239222
JM
112552012-05-25 Joseph Myers <joseph@codesourcery.com>
11256
11257 * sysdeps/unix/sysv/linux/kernel-features.h
11258 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11259 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11260 kernel-features.h.
11261 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11262 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11263 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11264 kernel-features.h.
11265 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11266 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11267
918b5606
L
112682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11269
11270 * configure.in: Define the default includes to being none.
11271 * configure: Regenerated.
11272
3a097cc7
RM
112732012-05-25 Roland McGrath <roland@hack.frob.com>
11274
8422c9a5
RM
11275 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11276 * sysdeps/x86_64/setjmp.S: Likewise.
11277 * sysdeps/i386/bsd-setjmp.S: Likewise.
11278 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11279 * sysdeps/i386/setjmp.S: Likewise.
11280 * sysdeps/i386/__longjmp.S: Likewise.
11281 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11282 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11283
3a097cc7
RM
11284 * include/stap-probe.h: New file.
11285 * configure.in: Handle --enable-systemtap.
11286 * configure: Regenerated.
11287 * config.h.in (USE_STAP_PROBE): New #undef.
11288 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11289 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11290 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11291
21708942
JM
112922012-05-25 Joseph Myers <joseph@codesourcery.com>
11293
11294 [BZ #13717]
11295 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11296 to 2.4.0 where earlier.
11297 * sysdeps/unix/sysv/linux/configure: Regenerated.
11298 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11299 <kernel-features.h>.
11300 [__ASSUME_32BITUIDS]: Make code unconditional.
11301 [!__ASSUME_32BITUIDS]: Remove conditional code.
11302 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11303 <kernel-features.h>.
11304 [__ASSUME_32BITUIDS]: Make code unconditional.
11305 [!__ASSUME_32BITUIDS]: Remove conditional code.
11306 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11307 [__ASSUME_32BITUIDS]: Make code unconditional.
11308 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11309 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
11342 <kernel-features.h>.
11343 [__ASSUME_32BITUIDS]: Make code unconditional.
11344 [!__ASSUME_32BITUIDS]: Remove conditional code.
11345 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11346 <kernel-features.h>.
11347 [__ASSUME_32BITUIDS]: Make code unconditional.
11348 [!__ASSUME_32BITUIDS]: Remove conditional code.
11349 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11350 <kernel-features.h>.
11351 [__NR_setresgid] (__setresgid): Do not declare.
11352 [__ASSUME_32BITUIDS]: Make code unconditional.
11353 [!__ASSUME_32BITUIDS]: Remove conditional code.
11354 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11355 <kernel-features.h>.
11356 [__NR_setresuid] (__setresuid): Do not declare.
11357 [__ASSUME_32BITUIDS]: Make code unconditional.
11358 [!__ASSUME_32BITUIDS]: Remove conditional code.
11359 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
11392 <kernel-features.h>.
11393 [__ASSUME_32BITUIDS]: Make code unconditional.
11394 [!__ASSUME_32BITUIDS]: Remove conditional code.
11395 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11396 <kernel-features.h>.
11397 [__ASSUME_32BITUIDS]: Make code unconditional.
11398 [!__ASSUME_32BITUIDS]: Remove conditional code.
11399 * sysdeps/unix/sysv/linux/kernel-features.h
11400 (__ASSUME_SETRESUID_SYSCALL): Remove.
11401 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11402 (__ASSUME_32BITUIDS): Likewise.
11403 (__ASSUME_LDT_WORKS): Likewise.
11404 (__ASSUME_O_DIRECTORY): Likewise.
11405 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11406 architecture but not kernel version.
11407 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11408 (__ASSUME_MMAP2_SYSCALL): Likewise.
11409 (__ASSUME_STAT64_SYSCALL): Likewise.
11410 (__ASSUME_IPC64): Likewise.
11411 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11412 <kernel-features.h>.
11413 [__ASSUME_32BITUIDS]: Make code unconditional.
11414 [!__ASSUME_32BITUIDS]: Remove conditional code.
11415 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11416 <kernel-features.h>.
11417 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11418 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11419 132096]: Remove conditional code.
11420 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11421 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11422 <kernel-features.h>.
11423 [__ASSUME_32BITUIDS]: Make code unconditional.
11424 [!__ASSUME_32BITUIDS]: Remove conditional code.
11425 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11426 <kernel-features.h>.
11427 [__ASSUME_32BITUIDS]: Make code unconditional.
11428 [!__ASSUME_32BITUIDS]: Remove conditional code.
11429 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11430 <kernel-features.h>.
11431 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11432 unconditional.
11433 (__setresgid): Do not declare.
11434 [__ASSUME_32BITUIDS]: Make code unconditional.
11435 [!__ASSUME_32BITUIDS]: Remove conditional code.
11436 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11437 <kernel-features.h>.
11438 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11439 unconditional.
11440 (__setresuid): Do not declare.
11441 [__ASSUME_32BITUIDS]: Make code unconditional.
11442 [!__ASSUME_32BITUIDS]: Remove conditional code.
11443 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11444 <kernel-features.h>.
11445 [__ASSUME_32BITUIDS]: Make code unconditional.
11446 [!__ASSUME_32BITUIDS]: Remove conditional code.
11447 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11448 <kernel-features.h>.
11449 [__ASSUME_32BITUIDS]: Make code unconditional.
11450 [!__ASSUME_32BITUIDS]: Remove conditional code.
11451
a386f1cc
RH
114522012-05-25 Richard Henderson <rth@twiddle.net>
11453
11454 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11455 dl_hwcap to ifunc resolver.
11456 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11457 elf_ifunc_invoke.
11458 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11459 dl_hwcap to ifunc resolver.
11460 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11461
b6550497
JM
114622012-05-24 Joseph Myers <joseph@codesourcery.com>
11463
11464 [BZ #14153]
11465 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11466 for |x| <= 2**-26, not 2**-57.
11467 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11468 exception.
11469
b0bc23a1
JL
114702012-05-24 Jeff Law <law@redhat.com>
11471
11472 * stdio-common/Makefile (tests): Add bug25.
11473 * stdio-common/bug25.c: New test.
11474
347c92e9
L
114752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11476
11477 [BZ #13576]
11478 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11479 multiple of MALLOC_ALIGNMENT in size.
11480 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11481
6bcc8b3f
JM
114822012-05-24 Joseph Myers <joseph@codesourcery.com>
11483
11484 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11485 Require >= 256.
11486 (FILENAME_MAX): Use macro-int-constant.
11487 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11488 (_IOFBF): Use macro-int-constant.
11489 (_IOLBF): Likewise.
11490 (_IONBF): Likewise.
11491 (SEEK_CUR): Likewise.
11492 (SEEK_END): Likewise.
11493 (SEEK_SET): Likewise.
11494 (TMP_MAX): Likewise.
11495 (EOF): Use macro-int-constant. Require < 0.
11496 (NULL): Use macro-constant. Require == 0.
11497 (stdin): Require type to be FILE *.
11498 (stdout): Likewise.
11499 (stderr): Likewise.
11500 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11501 macro-int-constant.
11502 (EXIT_SUCCESS): Likewise.
11503 (NULL): Use macro-constant. Require == 0.
11504 (RAND_MAX): Use macro-int-constant.
11505 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11506 [C99-based standards] (strtof): Require function.
11507 [C99-based standards] (strtold): Likewise.
11508 [C99-based standards] (strtoll): Likewise.
11509 [C99-based standards] (strtoull): Likewise.
11510 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11511 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11512 [ISO || ISO99 || ISO11] (math.h): Likewise.
11513 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11514 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11516
d18ea0c5
AS
115172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11518
11519 [BZ #14132]
56d25bb8
AS
11520 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11521 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11522 * intl/dgettext.c (DCGETTEXT): Likewise.
11523 * intl/gettext.c (DCGETTEXT): Likewise.
11524 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11525 * posix/regex_internal.h (gettext): Likewise.
11526 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11527 Remove declaration.
11528 * include/argz.h (__argz_count_internal)
11529 (__argz_stringify_internal): Remove declaration.
11530 (__argz_count, __argz_stringify): Declare hidden proto.
11531 * intl/dcgettext.c: Remove use of INTDEF.
11532 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11533 * string/argz-stringify.c: Likewise.
11534 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11535 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11536 Declare hidden proto.
d18ea0c5
AS
11537 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11538 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11539 Declare hidden proto.
11540 * include/stdio.h (__asprintf_internal): Don't declare.
11541 (__asprintf): Don't define as macro. Declare hidden proto.
11542 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11543 (__fsetlocking): Declare hidden proto.
11544 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11545 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11546 hidden proto.
11547 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11548 (_IO_setlinebuf): Remove use of INTUSE.
11549 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11550 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11551 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11552 Remove declaration.
11553 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11554 (_IO_do_flush): Remove use of INTUSE.
11555 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11556 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11557 (_IO_adjust_column, _IO_least_wmarker)
11558 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11559 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11560 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11561 (_IO_default_doallocate, _IO_wdefault_doallocate)
11562 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11563 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11564 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11565 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11566 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11567 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11568 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11569 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11570 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11571 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11572 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11573 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11574 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11575 proto.
11576 (_IO_flush_all_internal, _IO_adjust_column_internal)
11577 (_IO_default_uflow_internal, _IO_default_finish_internal)
11578 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11579 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11580 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11581 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11582 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11583 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11584 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11585 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11586 (_IO_file_close_internal, _IO_file_close_it_internal)
11587 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11588 (_IO_file_init_internal, _IO_file_attach_internal)
11589 (_IO_file_fopen_internal, _IO_file_read_internal)
11590 (_IO_file_sync_internal, _IO_file_seek_internal)
11591 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11592 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11593 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11594 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11595 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11596 (_IO_list_all_internal, _IO_link_in_internal)
11597 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11598 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11599 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11600 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11601 (_IO_do_write_internal, _IO_padn_internal)
11602 (_IO_getline_info_internal, _IO_getline_internal)
11603 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11604 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11605 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11606 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11607 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11608 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11609 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11610 with libc_hidden_ver, remove use of INTUSE.
11611 * libio/genops.c: Likewise.
11612 * libio/freopen.c: Likewise.
11613 * libio/freopen64.c: Likewise.
11614 * libio/iofclose.c: Likewise.
11615 * libio/iofdopen.c: Likewise.
11616 * libio/iofflush.c: Likewise.
11617 * libio/iofflush_u.c: Likewise.
11618 * libio/iofgets.c: Likewise.
11619 * libio/iofgets_u.c: Likewise.
11620 * libio/iofopen.c: Likewise.
11621 * libio/iofopncook.c: Likewise.
11622 * libio/iofread.c: Likewise.
11623 * libio/iofread_u.c: Likewise.
11624 * libio/ioftell.c: Likewise.
11625 * libio/iofwrite.c: Likewise.
11626 * libio/iogetline.c: Likewise.
11627 * libio/iogets.c: Likewise.
11628 * libio/iogetwline.c: Likewise.
11629 * libio/iopadn.c: Likewise.
11630 * libio/iopopen.c: Likewise.
11631 * libio/ioseekoff.c: Likewise.
11632 * libio/ioseekpos.c: Likewise.
11633 * libio/iosetbuffer.c: Likewise.
11634 * libio/iosetvbuf.c: Likewise.
11635 * libio/ioungetc.c: Likewise.
11636 * libio/ioungetwc.c: Likewise.
11637 * libio/iovdprintf.c: Likewise.
11638 * libio/iovsprintf.c: Likewise.
11639 * libio/iovsscanf.c: Likewise.
11640 * libio/memstream.c: Likewise.
11641 * libio/obprintf.c: Likewise.
11642 * libio/oldfileops.c: Likewise.
11643 * libio/oldiofclose.c: Likewise.
11644 * libio/oldiofdopen.c: Likewise.
11645 * libio/oldiofopen.c: Likewise.
11646 * libio/oldiopopen.c: Likewise.
11647 * libio/oldstdfiles.c: Likewise.
11648 * libio/putc.c: Likewise.
11649 * libio/setbuf.c: Likewise.
11650 * libio/setlinebuf.c: Likewise.
11651 * libio/stdfiles.c: Likewise.
11652 * libio/strops.c: Likewise.
11653 * libio/vasprintf.c: Likewise.
11654 * libio/vscanf.c: Likewise.
11655 * libio/vsnprintf.c: Likewise.
11656 * libio/vswprintf.c: Likewise.
11657 * libio/wfiledoalloc.c: Likewise.
11658 * libio/wfileops.c: Likewise.
11659 * libio/wgenops.c: Likewise.
11660 * libio/wmemstream.c: Likewise.
11661 * libio/wstrops.c: Likewise.
11662 * libio/__fpurge.c: Likewise.
11663 * libio/__fsetlocking.c: Likewise.
11664 * assert/assert.c: Likewise.
11665 * debug/fgets_chk.c: Likewise.
11666 * debug/fgets_u_chk.c: Likewise.
11667 * debug/fread_chk.c: Likewise.
11668 * debug/fread_u_chk.c: Likewise.
11669 * debug/gets_chk.c: Likewise.
11670 * debug/obprintf_chk.c: Likewise.
11671 * debug/vasprintf_chk.c: Likewise.
11672 * debug/vdprintf_chk.c: Likewise.
11673 * debug/vsnprintf_chk.c: Likewise.
11674 * debug/vsprintf_chk.c: Likewise.
11675 * malloc/mtrace.c: Likewise.
11676 * misc/error.c: Likewise.
11677 * misc/syslog.c: Likewise.
11678 * stdio-common/asprintf.c: Likewise.
11679 * stdio-common/fxprintf.c: Likewise.
11680 * stdio-common/getw.c: Likewise.
11681 * stdio-common/isoc99_fscanf.c: Likewise.
11682 * stdio-common/isoc99_scanf.c: Likewise.
11683 * stdio-common/isoc99_vfscanf.c: Likewise.
11684 * stdio-common/isoc99_vscanf.c: Likewise.
11685 * stdio-common/isoc99_vsscanf.c: Likewise.
11686 * stdio-common/printf-prs.c: Likewise.
11687 * stdio-common/printf_fp.c: Likewise.
11688 * stdio-common/printf_fphex.c: Likewise.
11689 * stdio-common/printf_size.c: Likewise.
11690 * stdio-common/putw.c: Likewise.
11691 * stdio-common/scanf.c: Likewise.
11692 * stdio-common/sprintf.c: Likewise.
11693 * stdio-common/tmpfile.c: Likewise.
11694 * stdio-common/vfprintf.c: Likewise.
11695 * stdio-common/vfscanf.c: Likewise.
11696 * stdlib/strfmon_l.c: Likewise.
11697 * sunrpc/openchild.c: Likewise.
11698 * sunrpc/xdr_stdio.c: Likewise.
11699 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11700 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11701
d6c33fda
RM
117022012-05-24 Roland McGrath <roland@hack.frob.com>
11703
c1487492
RM
11704 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11705
11706 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11707 in the third column, to generate for the shared library an IFUNC
11708 that uses _dl_vdso_vsym.
11709 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11710 * Makeconfig (object-suffixes-noshared): New variable.
11711
11712 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11713 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11714 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11715 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11716
d6c33fda
RM
11717 [BZ #14132]
11718 * include/sys/time.h (__gettimeofday): Remove macro.
11719 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11720 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11721 Remove INTDEF.
11722 (__gettimeofday): Add libc_hidden_def.
11723 (gettimeofday): Add libc_hidden_weak.
11724 * sysdeps/mach/gettimeofday.c: Likewise.
11725 * sysdeps/posix/gettimeofday.c: Likewise.
11726 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11727 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11729 (__gettimeofday_internal): Remove strong_alias.
11730 (__gettimeofday): Add libc_hidden_def.
11731 (gettimeofday): Add libc_hidden_weak.
11732 * sysdeps/unix/syscalls.list (gettimeofday):
11733 Remove __gettimeofday_internal alias.
11734
b5a2bbe6
L
117352012-05-24 Daniel Jacobowitz <drow@false.org>
11736 H.J. Lu <hongjiu.lu@intel.com>
11737
11738 [BZ #12495]
11739 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11740 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11741 (largebin_index_32_big): New.
11742 (largebin_index): Use it for 16-byte alignment.
11743 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11744 correction with front_misalign.
11745
cfba4fda
L
117462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11747
7f907421
L
11748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11750 Likewise.
11751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11752 Likewise.
11753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11754 Likewise.
11755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11756 Likewise.
11757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11758 Likewise.
11759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11760 Likewise.
11761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11762 Likewise.
11763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11764 Likewise.
11765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11766 Likewise.
11767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11768 Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11770 Likewise.
11771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11772 Likewise.
11773
cfba4fda
L
11774 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11775 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11776
80bad0cc
JM
117772012-05-24 Joseph Myers <joseph@codesourcery.com>
11778
7a25eb06
JM
11779 [BZ #10846]
11780 [BZ #14036]
11781 * math/libm-test.inc (exp_test): Add test from bug 14036.
11782 (pow_test): Add test from bug 10846.
11783
795405f9
JM
11784 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11785 and other flags.
11786 (special_function): Do not include flags in test name.
11787 (parse_args): Likewise.
11788 * sysdeps/i386/fpu/libm-test-ulps: Update.
11789 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11790 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11791 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11793
80bad0cc
JM
11794 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11795 exceptions.
11796 * math/libm-test.inc ("Philosophy"): Update comment about
11797 exception testing.
11798 (UNDERFLOW_EXCEPTION): New macro.
11799 (UNDERFLOW_EXCEPTION_OK): Likewise.
11800 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11801 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11802 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11803 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11804 (INVALID_EXCEPTION_OK): Update value.
11805 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11806 (OVERFLOW_EXCEPTION_OK): Likewise.
11807 (IGNORE_ZERO_INF_SIGN): Likewise.
11808 (test_exceptions): Handle underflow exceptions.
11809 (acos_test): Update for underflow exception expectations.
11810 (cexp_test): Likewise.
11811 (clog_test): Likewise.
11812 (clog10_test): Likewise.
11813 (csqrt_test): Likewise.
11814 (ctan_test): Likewise.
11815 (ctanh_test): Likewise.
11816 (exp_test): Likewise.
11817 (exp10_test): Likewise.
11818 (exp2_test): Likewise.
11819 (expm1_test): Likewise.
11820 (fma_test): Likewise.
11821 (j0_test): Likewise.
11822 (jn_test): Likewise.
11823 (nexttoward_test): Likewise.
11824 (pow_test): Likewise.
11825 (scalbn_test): Likewise.
11826 (scalbln_test): Likewise.
11827 (tan_test): Likewise.
11828 (y1_test): Likewise.
11829 * sysdeps/i386/fpu/libm-test-ulps: Update.
11830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11831
9e0e3d0b
DM
118322012-05-23 David S. Miller <davem@davemloft.net>
11833
11834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11835 (__libc_sigaction): Remove unused local variables.
11836
ccd0a08f
L
118372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11838
11839 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11840
62bdf9a6
PE
118412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11842
f8591f80
PE
11843 mktime: avoid signed integer overflow
11844 * time/mktime.c (__mktime_internal): Do not mishandle the case
11845 where diff == INT_MIN.
11846
94c7d826
PE
11847 mktime: simplify computation of average
11848 * time/mktime.c (ranged_convert): Use new time_t_avg function
11849 instead of rolling our own (probably-slower) code.
11850
ce73d683
PE
11851 mktime: do not assume signed right shift propagates sign bit
11852 * time/mktime.c (isdst_differ): New static function.
11853 (__mktime_internal): No need to normalize tm_isdst now.
11854 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11855 tm_isdst values.
11856
72a22e59
PE
11857 mktime: merge another wrapv change from gnulib
11858 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11859 from some compilers.
11860
68605433
PE
11861 mktime: remove incorrect attempt at unusual arithmetics
11862 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11863 The code didn't really work on such machines anyway.
11864 (TYPE_MINIMUM): Assume two's complement.
11865 (twos_complement_arithmetic): Verify that long_int and time_t
11866 are two's complement (or unsigned, in the latter case).
11867
03cf7fe3
PE
11868 mktime: check signed shifts on long_int and time_t, too
11869 * time/mktime.c (SHR): Check that shifts work as desired
11870 on the types long_int and time_t too, as SHR is used on
11871 such types.
11872
f04dfbc2
PE
11873 mktime: do not assume 'long' is wide enough
11874 * time/mktime.c (verify): Move decl up.
11875 (long_int): New type.
11876 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11877 to remove assumption in the code that 'long' is wide enough to
11878 store year values. This assumption is not true on x32 and on
11879 some non-glibc platforms.
11880
62bdf9a6
PE
11881 mktime: merge wrapv change from gnulib
11882 * time/mktime.c (WRAPV): New macro.
11883 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11884 (guess_time_tm, __mktime_internal): Do not assume that signed
11885 integer overflow wraps around; modern compilers generate code
11886 where this assumption is no longer valid.
11887
5e292e4f
L
118882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11889
11890 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11891 Replace "jmp L(pseudo_end)" with "ret".
11892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11893 Likewise.
11894
8caf8c87
AJ
118952012-05-23 Andreas Jaeger <aj@suse.de>
11896
11897 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11898 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11899
1a09dc56
AJ
119002012-05-23 Andreas Jaeger <aj@suse.de>
11901 Maximilian Attems <max@stro.at>
11902
11903 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11904 New macros.
11905
1c87aba0
L
119062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11909 code so that pseudo_end is just ret and the stack pointer is
11910 correct also for static library in error case.
11911
40e45bd5
JM
119122012-05-23 Joseph Myers <joseph@codesourcery.com>
11913
c2670533
JM
11914 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11915 move to syscalls.list.
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11920
40e45bd5
JM
11921 * manual/install.texi (Running make install): Do not mention Linux
11922 kernel version for which pt_chown is not needed.
11923 (Linux): Do not mention problems with nscd with 2.0 kernels.
11924 * INSTALL: Regenerated.
11925
be08eda5
AJ
119262012-05-23 Andreas Jaeger <aj@suse.de>
11927
11928 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11929 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11930 macro.
11931 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11932 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11933 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11934 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11935 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11936 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11937 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11938 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11939 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11940 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11941 * sysdeps/unix/sysv/linux/bits/in.h
11942 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11943
a6a056bb
RM
119442012-05-22 Roland McGrath <roland@hack.frob.com>
11945
11946 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11947 (PREPARE_VERSION): Just use assert instead, it will be elided
11948 under [NDEBUG] anyway.
11949
c9009328
L
119502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 * sysdeps/unix/sysv/linux/Makefile: Include
11953 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11954 (sysdep_routines): Remove sysctl.
c9009328
L
11955 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11956 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11957 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11958 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11959 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11960
73338355
AJ
119612012-05-22 Andreas Jaeger <aj@suse.de>
11962
11963 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11964 that pseudo_end is just ret and the stack pointer is correct also
11965 for static library in error case.
11966
d44638b0
PP
119672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11968
11969 [BZ #14122]
11970 * nss/nsswitch.c (defconfig_entries): New variable.
11971 (__nss_database_lookup): Don't leak defconfig entries.
11972 (nss_parse_service_list): Don't leak on error paths.
11973 (free_database_entries): New function.
11974 (free_defconfig): New function.
11975 (free_mem): Move common code to free_database_entries.
11976
31a39bd8
L
119772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11978
da0331a8
L
11979 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11980 Add arch_prctl.
11981 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11982
31a39bd8
L
11983 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11984 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11986 New macro.
11987 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11988 (INTERNAL_SYSCALL_TYPES): Likewise.
11989 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11990 (LOAD_REGS_TYPES_[1-6]): Likewise.
11991 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11992 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11993
45470df3
AZ
119942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11995
11996 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11997 copysignl for GLIBC_2_0.
11998 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11999 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12001 logbl for GLIBC_2_0.
12002 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12003 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12004
98a61bcb
L
120052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12006
a4f6e481
L
12007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12008 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12009
f63d5db6
L
12010 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12011 Use "neg %eax".
12012
98a61bcb
L
12013 * time/mktime.c: Update copyright years.
12014
95770f14
PE
120152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12016
6226efbd
PE
12017 mktime: merge comment-quoting-style change from gnulib
12018 * time/mktime.c: Quote 'like this' in comments.
12019 The GNU coding standards suggest that we no longer quote `like this',
12020 as "`" and "'" are typically rendered asymmetrically nowadays.
12021 The typical gnulib style is to quote 'like this' when quoting
12022 code, and "like this" when quoting English.
12023
b99e4f78
PE
12024 * time/mktime.c (compile-command): Add "-I.".
12025
643e01e6
PE
12026 mktime: merge mktime-internal.h change from gnulib
12027 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12028
2554247d
PE
12029 mktime: merge time_r change from gnulib
12030 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12031
826dd0ab
PE
12032 mktime: merge DEBUG change from gnulib
12033 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12034 case system <time.h> has a #define.
12035
bd83aabe
PE
12036 mktime: merge <sys/types.h> change from gnulib
12037 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12038 since <time.t> is now guaranteed to define time_t.
12039
95770f14
PE
12040 mktime: merge HAVE_CONFIG_H change from gnulib
12041 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12042
5e1a27a9
L
120432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12044
0e44a77e
L
12045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12046 Use "neg %eax".
12047
5e1a27a9
L
12048 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12049 __rlim_t cast.
12050 (struct rusage): Use anonymous union to pad each field to
12051 __syscall_slong_t.
12052
46259bec
DM
120532012-05-21 David S. Miller <davem@davemloft.net>
12054
12055 * Makefules (o-iterator): Remove .s cases.
12056 (compile-command.s): Delete.
12057 (COMPILE.s): Delete.
12058 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12059
59f0c22e
JM
120602012-05-21 Joseph Myers <joseph@codesourcery.com>
12061
12062 * configure.in (libc_cv_predef_stack_protector): Only consider
12063 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12064 * configure: Regenerated.
12065
20c07380
L
120662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12067
bbb3154b
L
12068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12069 New macro. Use R*LP on int and pointer.
12070 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12071 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12072 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12073 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12074
20c07380
L
12075 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12076 [__WORDSIZE_TIME64_COMPAT32] instead of
12077 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12078 (struct utmp): Likewise.
12079 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12080 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12081 Renamed to ...
12082 (__WORDSIZE_TIME64_COMPAT32): This.
12083 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12084 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12085 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12086 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12087 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12088 (__WORDSIZE_TIME64_COMPAT32): New macro.
12089
d8d1017e
AJ
120902012-05-21 Andreas Jaeger <aj@suse.de>
12091
12092 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12093 only if [SHARED]. Add prototype for __wcschr_ia32.
12094
6c7fb145
RM
120952012-05-21 Roland McGrath <roland@hack.frob.com>
12096
12097 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12098 of %rbp unmolested in the jmp_buf while mangling the low bits.
12099 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12100 unmolested high bits of %rbp while demangling the low bits.
12101 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12102
66274218
AJ
121032012-05-21 Andreas Jaeger <aj@suse.de>
12104
07c58f8f
AJ
12105 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12106 * sunrpc/svc_simple.c: Use it for registerrpc.
12107 * sunrpc/xcrypt.c: Use it for passwd2des.
12108
66274218
AJ
12109 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12110
61f65140
L
121112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12112
12113 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12114 Don't define if [__SYSCALL_WORDSIZE != 32].
12115 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12116 New macro.
12117
5fefb436
AJ
121182012-05-21 Bruno Haible <bruno@clisp.org>
12119 Andreas Jaeger <aj@suse.de>
12120
12121 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12122 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12123 inptr and inend for must_buffer_ch.
12124 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12125 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12126 * stdio-common/Makefile (tests): Remove bug15.
12127 (bug15-ENV): Remove macro.
12128 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12129 anymore.
12130
d8e272ab
AJ
121312012-05-19 Andreas Jaeger <aj@suse.de>
12132 Roland McGrath <roland@hack.frob.com>
12133
12134 * manual/contrib.texi: Completely rewritten. It contains now an
12135 alphabetical list of contributors and their contributions.
12136
4a56a162
RH
121372012-05-21 Richard Henderson <rth@twiddle.net>
12138
12139 * misc/getauxval.c (__getauxval): Use unsigned long int.
12140 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12141 (getauxval): Use unsigned long int.
12142
d024d23c
L
121432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12144
12145 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12146
cbc00a03
RM
121472012-05-21 Roland McGrath <roland@hack.frob.com>
12148
12149 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12150 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12151 __alignof__ (long double).
12152
478143fa
AZ
121532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12154
12155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12156
c7683a6d
RH
121572012-05-20 Richard Henderson <rth@twiddle.net>
12158
12159 * misc/getauxval.c: New file.
12160 * misc/sys/auxv.h: New file.
12161 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12162 (routines): Add getauxval.
12163 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12164 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12165 * elf/dl-sysdep.c (_dl_auxv): Remove.
12166 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12167 * elf/dl-support.c (_dl_auxv): New variable.
12168 (_dl_aux_init): Initialize it.
12169 * manual/startup.texi (Auxiliary Vector): New node.
12170 * sysdeps/generic/bits/hwcap.h: New file.
12171 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12172 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12173 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12174 * sysdeps/sparc/sysdep.h: ... here. Include it.
12175 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12176 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12178 Update.
c7683a6d
RH
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12187
a6f1845d
AZ
121882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12189
12190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12191
cbcbe830
DM
121922012-05-19 David S. Miller <davem@davemloft.net>
12193
12194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12195
e0b16cc2
JM
121962012-05-19 Joseph Myers <joseph@codesourcery.com>
12197
12198 [BZ #14123]
12199 * math/s_ccosh.c: Include <float.h>
12200 (__ccosh): Avoid internal overflow calculating sinh and cosh
12201 values before multiplying by sin and cos values.
12202 * math/s_ccoshf.c: Likewise.
12203 * math/s_ccoshl.c: Likewise.
12204 * math/s_csin.c: Likewise.
12205 * math/s_csinf.c: Likewise.
12206 * math/s_csinl.c: Likewise.
12207 * math/s_csinh.c: Likewise.
12208 * math/s_csinhf.c: Likewise.
12209 * math/s_csinhl.c: Likewise.
12210 * math/libm-test.inc (ccos_test): Add more tests.
12211 (ccosh_test): Likewise.
12212 (csin_test): Likewise.
12213 (csinh_test): Likewise.
12214 * sysdeps/i386/fpu/libm-test-ulps: Update.
12215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12216
6ad13e08
L
122172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12218
f66f0ce8
L
12219 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12220 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12221
6ad13e08
L
12222 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12223
b1d072a7
JM
122242012-05-19 Joseph Myers <joseph@codesourcery.com>
12225
12226 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12227 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12228 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12229 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12230 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12231 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12232 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12233 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12234 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12235 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12236 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12237 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12238 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12239 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12240 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12241 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12242 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12243 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12244 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12245 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12246 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12247 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12248 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12249 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12250 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12251 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12252 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12253 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12254 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12255 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12256 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12257
9eae47cb
AJ
122582012-05-18 Andreas Jaeger <aj@suse.de>
12259
12260 * csu/.gitignore: Delete.
12261
bb07f69f
L
122622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12263
12264 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12265 (timex): Use __syscall_slong_t.
12266
e6bdb741
AJ
122672012-05-18 Andreas Jaeger <aj@suse.de>
12268 Carlos O'Donell <carlos_odonell@mentor.com>
12269
12270 * manual/install.texi (Configuring and compiling): Update
12271 description about files modified in the source directory.
d6c33fda 12272 * INSTALL: Regenerated.
e6bdb741 12273
1b74487e
L
122742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12275
12276 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12277 value. Use "or" to set return value to -1.
12278 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12279 negate return value.
12280
a88b64b9
TMQMF
122812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12282
12283 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12284 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12285 failure if the compiler has Graphite support disabled.
12286 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12287 Likewise.
12288 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12289 CFLAGS-memmove.c): Likewise.
12290 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12291 Likewise.
12292
3707636e
L
122932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12294
610b8622
L
12295 * sysdeps/x86_64/x32/_itoa.h: New file.
12296
7cd195df
L
12297 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12298 getdents system call only if kernel and user dirents have the
12299 same d_ino and d_off.
12300
94b07d20
L
12301 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12302 LLONG_MAX != LONG_MAX.
12303 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12304 (_fitoa_word): Likewise.
12305
18298070
L
12306 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12307 years.
12308 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12309 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12310 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12311
553c7ea4
L
12312 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12313 include <bits/wordsize.h>. Check __x86_64__ instead of
12314 __WORDSIZE.
12315 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12316 if __x86_64__ is defined. Use anonymous union on fpstate.
12317
3707636e
L
12318 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12319 anonymous union.
12320
b53ef01a
AS
123212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12322
37fb1dc0
AS
12323 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12324 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12325 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12326 Refer to _rtld_local_ro instead of _rtld_global_ro.
12327 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12328 Likewise.
12329 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12330 Likewise.
12331 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12332 Likewise.
12333 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12334 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12335 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12336
b53ef01a
AS
12337 * sysdeps/powerpc/powerpc32/dl-machine.c
12338 (__elf_machine_runtime_setup) [PROF]: Don't reference
12339 _dl_prof_resolve.
12340
7a185db2
AJ
123412012-05-18 Andreas Jaeger <aj@suse.de>
12342
12343 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12344 function only available for GCCs before 3.4 since GCC 3.4
12345 introduced a builtin.
12346 (lrint): Likewise.
12347 (llrintf): Likewise.
12348 (llrint): Likewise.
12349 (fmaxf): Likewise.
12350 (fmax): Likewise.
12351 (fminf): Likewise.
12352 (fmin): Likewise.
12353 (rint): Likewise.
12354 (rintf): Likewise.
12355 (nearbyint): Likewise.
12356 (nearbyintf): Likewise.
12357 (ceil): Likewise.
12358 (ceilf): Likewise.
12359 (floor): Likewise.
12360 (floorf): Likewise.
12361
3e5aef87
L
123622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12363
428bd707
L
12364 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12365 on both fields and cast pointer to __syscall_ulong_t.
12366
3e5aef87
L
12367 * bits/types.h (__fsword_t): New type.
12368 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12369 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12370 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12371 (__FSWORD_T_TYPE): Likewise.
12372 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12373 (__FSWORD_T_TYPE): Likewise.
12374 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12375 (__FSWORD_T_TYPE): Likewise.
12376 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12377 (__FSWORD_T_TYPE): Likewise.
12378 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12379 __SWORD_TYPE with __fsword_t.
12380 (statfs64): Likewise.
12381
1ba7c3dc
DM
123822012-05-17 David S. Miller <davem@davemloft.net>
12383
12384 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12385
59910343
AJ
123862012-05-17 Andreas Jaeger <aj@suse.de>
12387
12388 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12389 warning.
12390
2e4c1e9e
L
123912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12392
12393 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12394
de7f5ce7
AJ
123952012-05-17 Andreas Jaeger <aj@suse.de>
12396
12397 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12398 when it is used.
12399
286abc3d
CM
124002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12401
12402 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12403
477cc68e
L
124042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12405
12406 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12407 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12408
1a0994f5
CD
124092012-05-17 Andreas Jaeger <aj@suse.de>
12410 Carlos O'Donell <carlos_odonell@mentor.com>
12411
12412 [BZ #14059]
12413 * sysdeps/x86_64/multiarch/init-arch.h
12414 (bit_YMM_Usable): Rename to...
12415 (bit_AVX_Usable): ... this.
12416 (bit_FMA4_Usable): New macro.
12417 (bit_XMM_state): New macro.
12418 (bit_YMM_state): New macro.
12419 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12420 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12421 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12422 (CPUID_OSXSAVE): New macro.
12423 (CPUID_AVX): New macro.
12424 (CPUID_FMA4): New macro.
12425 (index_YMM_Usable): Rename to...
12426 (index_AVX_Usable): ... this.
12427 (HAS_AVX): Use HAS_ARCH_FEATURE.
12428 (HAS_FMA4): Likewise.
12429 (HAS_YMM_USABLE): Remove.
12430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12431 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12432 are present.
12433 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12434 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12435 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12436 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12437 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12438
0af797de
CM
124392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12440
12441 * math/libm-test.c: Support platforms without multiple rounding modes.
12442 * math/bug-nextafter.c: Support platforms without FP exceptions.
12443 * math/bug-nexttoward.c: Likewise.
12444 * math/test-fenv.c: Likewise.
12445 * math/test-misc.c: Likewise.
12446 * stdlib/bug-getcontext.c: Likewise.
12447
e39745ff
AJ
124482012-05-17 Andreas Jaeger <aj@suse.de>
12449
12450 * manual/examples/search.c (critter_cmp): Change signature to
12451 avoid warnings.
12452 * manual/string.texi (Collation Functions): Likewise.
12453
48970aba
L
124542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 * bits/types.h: Fold copyright years.
12457 * bits/typesizes.h: Likewise.
12458 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12462 * time/time.h: Likewise.
12463
bedee953
PP
124642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12465
12466 [BZ #208]
12467 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12468 in instead of returning them. Return void.
12469 (__libc_mallinfo): Accumulate over all arenas.
12470 (__malloc_stats): Adjust for change in int_mallinfo interface.
12471
61653dfb
RM
124722012-05-16 Roland McGrath <roland@hack.frob.com>
12473
30b99d79
RM
12474 [BZ #10375]
12475 * configure.in (NM): Add AC_CHECK_TOOL for it.
12476 (libc_extra_cflags): New substituted variable.
12477 Check for -fstack-protector being used implicitly.
12478 * configure: Regenerated.
12479 * config.make.in (config-extra-cflags): New variable,
12480 gets @libc_extra_cflags@.
12481 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12482
61653dfb
RM
12483 [BZ #10375]
12484 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12485 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12486 * configure: Regenerated.
12487 * config.make.in (CPPUNDEFS): New substituted variable.
12488 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12489 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12490 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12491
661768bb
L
124922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12493
12494 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12495 (mq_attr): Use __syscall_slong_t.
12496
d4261567
L
124972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12498
12499 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12500 Check __x86_64__ instead of __WORDSIZE.
12501 (_STAT_VER_LINUX): Likewise.
12502 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12503 __syscall_ulong_t and __syscall_slong_t.
12504 (stat64): Likewise.
12505
cf3ff365
L
125062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12507
12508 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12509
76cf3e4d
L
125102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12511
12512 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12513
a637753a
L
125142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12515
12516 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12517 __syscall_ulong_t.
12518
d5e05119
L
12519 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12520 include <bits/wordsize.h>. Check __x86_64__ instead of
12521 __WORDSIZE.
12522 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12523 defined.
12524 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12525
f62ee380
L
12526 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12527 include <bits/wordsize.h>. Check __x86_64__ instead of
12528 __WORDSIZE.
12529 (user_regs_struct): Use "__extension__ unsigned long long"
12530 instead of "unsigned long" if __x86_64__ is defined.
12531 (user): Likewise. Pad after pointer field if __ILP32__ is
12532 defined.
12533
4e124ced
JM
125342012-05-16 Joseph Myers <joseph@codesourcery.com>
12535
6a3951a0
JM
12536 * configure.in (makeinfo): Require version 4.5 or later. Allow
12537 versions 5 to 9.
12538 * configure: Regenerated.
12539 * manual/install.texi (texinfo): Increase version requirement to
12540 4.5 or later.
12541 * INSTALL: Regenerated.
12542
4e124ced
JM
12543 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12544
953ca31a
L
125452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12546
12547 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12548
617aca05
L
12549 * sysdeps/x86_64/x32/ffs.c: New file.
12550
5762f7ae
L
12551 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12552 __syscall_ulong_t.
12553 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12554 defined. Use __syscall_ulong_t.
12555 (shminfo): Use __syscall_ulong_t.
12556 (shm_info): Likewise.
12557
a26b6856
L
12558 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12559 __syscall_ulong_t.
12560
cb2b9ef7
L
12561 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12562 <bits/wordsize.h>.
12563 (msgqnum_t): Use __syscall_ulong_t.
12564 (msglen_t): Likewise.
12565 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12566 __syscall_ulong_t.
12567
34683bb0
L
12568 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12569 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12570
84a68786
L
12571 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12572
48baa5f1
L
12573 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12574 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12575
180be88b
L
12576 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12577 __syscall_slong_t.
12578
5e90c8ad
L
12579 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12580 include <bits/wordsize.h>. Check __x86_64__ instead of
12581 __WORDSIZE.
12582
23dfb58b
L
12583 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12584 "unsigned long long int" if __x86_64__ is defined.
12585 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12586
ce5d54b0
L
12587 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12588 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12589 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12590
13dc9eac
L
12591 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12592 <stdint.h>.
12593 (GET_PC): Cast to uintptr_t first.
12594 (GET_FRAME): Likewise.
12595 (GET_STACK): Likewise.
12596
a7895d15
L
12597 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12598 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12599 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12600 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12601 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12602 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12603 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12605 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12606 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12607 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12608 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12609 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12610 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12611 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12612 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12613 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12614 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12615 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12616 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12617 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12618 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12619 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12620 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12621 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12622 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12623 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12624 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12625 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12626
656416c9
AS
126272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12628
5bd66283
AS
12629 * Makerules (+depfiles): Also collect depfiles from .oS in
12630 $(extra-objs).
12631 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12632 .oS, $(libnldbl-routines)).
12633
656416c9
AS
12634 * Makerules (native-compile-mkdep-flags): Define.
12635 * sunrpc/Makefile (extra-objs): Add $(addprefix
12636 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12637 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12638 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12639 calling $(make-target-directory).
12640
a46f2169
L
126412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12642
12643 * bits/types.h (__snseconds_t): Removed.
12644 * time/time.h (struct timespec): Replace __snseconds_t with
12645 __syscall_slong_t.
12646 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12647 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12648 Likewise.
12649 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12650 (__SNSECONDS_T_TYPE): Likewise.
12651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12652 (__SNSECONDS_T_TYPE): Likewise.
12653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12654 (__SNSECONDS_T_TYPE): Likewise.
12655
6af6528b
L
126562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12657
12658 * sysdeps/mach/hurd/bits/typesizes.h
12659 (__SYSCALL_SLONG_TYPE): New macro.
12660 (__SYSCALL_ULONG_TYPE): Likewise.
12661
de986b56
L
126622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12663
12664 * bits/types.h (__syscall_slong_t): New type.
12665 (__syscall_ulong_t): Likewise.
12666
12667 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12668 (__SYSCALL_ULONG_TYPE): Likewise.
12669 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12670 (__SYSCALL_SLONG_TYPE): Likewise.
12671 (__SYSCALL_ULONG_TYPE): Likewise.
12672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12673 (__SYSCALL_SLONG_TYPE): Likewise.
12674 (__SYSCALL_ULONG_TYPE): Likewise.
12675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12676 (__SYSCALL_SLONG_TYPE): Likewise.
12677 (__SYSCALL_ULONG_TYPE): Likewise.
12678
85736dc7
L
126792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12680
12681 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12682 Add sigaltstack-offsets.sym.
12683 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12684 <sigaltstack-offsets.h>.
12685 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12686 longjmp_msg pointer.
12687 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12688 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12689 signal stack.
12690 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12691
cc03b296
JM
126922012-05-15 Joseph Myers <joseph@codesourcery.com>
12693
a9538892
JM
12694 * elf/stackguard-macros.h: Remove file.
12695 * sysdeps/generic/stackguard-macros.h: New file.
12696 * sysdeps/i386/stackguard-macros.h: Likewise.
12697 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12698 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12699 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12700 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12701 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12702 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12703 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12704 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12705 <elf/stackguard-macros.h>.
12706
cc03b296
JM
12707 [BZ #14109]
12708 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12709 __aligned__ in attribute.
12710 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12711 (gregset_t): Likewise.
12712
93171016
L
127132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12714
12715 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12716 * sysdeps/x86_64/64/Implies-after: Here. New file.
12717 * sysdeps/x86_64/x32/Implies-after: New file.
12718
d86813a0
L
127192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12720
12721 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12722 and access return value for _dl_profile_fixup. Use R10_LP to
12723 load frame size.
12724
2953ec75
L
127252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12726
12727 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12728
3b550e9e
L
127292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12730
12731 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12732 * sysdeps/x86_64/x32/sysdep.h: New file.
12733
eda41706
L
127342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12735
12736 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12737 * sysdeps/x86_64/setjmp.S: Likewise.
12738
9ea01d93
AZ
127392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12740
12741 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12742 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12743 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12744 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12745 remove unused global constant.
12746
02a91938
CM
127472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12748
12749 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12750 include of <not-cancel.h>.
12751
6540185f
RM
127522012-05-15 Roland McGrath <roland@hack.frob.com>
12753
12754 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12755
509072a0
AJ
127562012-05-15 Jeff Law <law@redhat.com>
12757 Andreas Jaeger <aj@suse.de>
12758
12759 [BZ #13594]
12760 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12761 out from...
12762 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12763 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12764 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12765 code changing __hst_map_handle.map.
12766
ba75122d
RM
127672012-05-15 Roland McGrath <roland@hack.frob.com>
12768
12769 * configure.in (sysnames): Look for Implies-before and Implies-after
12770 files.
12771 * configure: Regenerated.
12772
890d8bd8
L
127732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12774
12775 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12776 8-byte data alignment with LP_SIZE alignment.
12777
f6ee6623
L
127782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12779
12780 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12781 into R10_LP.
12782
ea2626f6
L
127832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12784
12785 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12786
085f715e
L
127872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12788
12789 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12790 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12791 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12792 Likewise.
12793 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12794
be8498fc
L
127952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12796
12797 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12798 (stackinfo_sub_sp): Likewise.
12799
70bc83b9
L
128002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12801
12802 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12803 RAX_LP.
12804
9bc0b730
L
128052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12806
12807 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12808 into R*_LP.
12809
6d2850e7
L
128102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12811
12812 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12813 sizes into R*_LP.
12814
3cb84561
L
128152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12816
12817 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12818
54e2ed81
L
128192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12820
12821 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12822 into R11_LP and load __x86_64_shared_cache_size_half into
12823 R8_LP.
12824
8a17f349
L
128252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12828 R8_LP.
12829
777b1eea
AZ
128302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12831
12832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12833 logb for POWER7.
12834 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12835 logbf for POWER7.
12836 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12837 logbl for POWER7.
12838 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12839 powerpc32/power7/fpu/s_logb.c via #include.
12840 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12841 powerpc32/power7/fpu/s_logbf.c via #include.
12842 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12843 powerpc32/power7/fpu/s_logbl.c via #include.
12844
d20d4ac2
JM
128452012-05-15 Joseph Myers <joseph@codesourcery.com>
12846
12847 * README.libm: Remove file.
12848
6cdef1ab
L
128492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12850
12851 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12852 count for x32. Use R*_LP and omit operand-size suffix.
12853
0b254d8f
L
128542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12855
12856 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12857 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12858 * sysdeps/x86_64/x32/shlib-versions: New file.
12859
ceb809dc
RM
128602012-05-14 Roland McGrath <roland@hack.frob.com>
12861
12862 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12863 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12864 Use _dl_fatal_printf instead.
12865
37f1abd4
JM
128662012-05-14 Joseph Myers <joseph@codesourcery.com>
12867
12868 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12869 set if not set by the user. Do not allow for being unset.
12870 * sysdeps/unix/sysv/linux/configure: Regenerated.
12871
11de3a33
L
128722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12873
12874 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12875 the `q' suffix from lea and replace .quad with ASM_ADDR.
12876
e02f153a
L
128772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12878
12879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12880 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12881 instead of $17.
12882 (PTR_DEMANGLE): Likewise.
12883
520ae0fd
L
128842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12885
12886 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12887 (LP_OP): Likewise.
12888 (ASM_ADDR): Likewise.
12889 (RAX_LP): Likewise.
12890 (RBP_LP): Likewise.
12891 (RBX_LP): Likewise.
12892 (RCX_LP): Likewise.
12893 (RDI_LP): Likewise.
12894 (RSI_LP): Likewise.
12895 (RSP_LP): Likewise.
12896 (R8_LP): Likewise.
12897 (R9_LP): Likewise.
12898 (R10_LP): Likewise.
12899 (R10_LP): Likewise.
12900 (R11_LP): Likewise.
12901 (R12_LP): Likewise.
12902 (R13_LP): Likewise.
12903 (R14_LP): Likewise.
12904 (R15_LP): Likewise.
12905
b985be81
L
129062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12907
12908 * sysdeps/x86_64/x32/dl-machine.h: New file.
12909
6a4888ff
AJ
129102012-05-14 Andreas Jaeger <aj@suse.de>
12911
12912 * manual/Makefile (subdir): Remove export of subdir.
12913 (all): Remove target.
12914 (.PHONY): Remove all from list.
12915 (mkinstalldirs): Remove.
12916 (.PHONY): Remove installdirs from list.
12917 ($(inst_infodir)/libc.info): Use make-target-directory.
12918 (installdirs): Remove.
12919 (subdir_%): Remove.
12920 (glibc-targets): Remove.
12921 (lib): Remove.
12922 (stubs): Remove.
12923 ($(objpfx)stubs ../po/manual.pot): Remove.
12924 ($(objpfx)stamp%): Remove.
12925 (make-target-directory): Remove.
12926 (subdir_install): Remove.
12927 (routines): Remove.
12928 (aux): Remove.
12929 (sources): Remove.
12930 (objects): Remove.
12931 (headers): Remove.
12932
12933 [BZ #13750]
12934 * manual/.gitignore: Remove, it's not needed anymore.
12935 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12936 all files in it.
12937 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12938 directory.
12939 (texis): Renamed to $(objpfx)texis.
12940 (texis-path): New, contains path to generated files.
12941 (chapters.%): Use texis-path for complete path, add extra argument
12942 libc-texinfo.sh.
12943 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12944 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12945 (summary,texi, stamp-summary): Use complete path of
12946 files. Generate files in build dir.
12947 (dir-add.texi): Build in build dir.
12948 (libm-err.texi,stamp-libm-err): Likewise.
12949 (version.texi, stamp-version): Likewise.
12950 (.%c.texi): Likewise.
12951 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12952 (mostlyclean): Remove target.
12953 (realclean): Remove target.
12954 (generated): Add new variable with contents from mostlyclean and
12955 realclean, remove entries duplicated in common-mostlyclean, add
12956 stamp-libm-err and stamp-version.
12957 (generated-dirs): Add libc directory.
12958 ($(inst_infodir)/libc.info): Install files from build dir.
12959
12960 * manual/install.texi (Configuring and compiling): Adjust since
12961 the info files are not part of the tar ball anymore.
12962
7ac77294
AJ
129632012-05-14 Andreas Jaeger <aj@suse.de>
12964
12965 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12966 variable.
12967
ffb7875d
JM
129682012-05-14 Joseph Myers <joseph@codesourcery.com>
12969
12970 [BZ #13717]
12971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12972 to 2.2.0 where earlier.
12973 * sysdeps/unix/sysv/linux/configure: Regenerated.
12974 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12975 Remove conditional code.
12976 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12977 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12978 Remove conditional code.
12979 [!__NR_lchown]: Likewise.
12980 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12981 [__NR_lchown]: Likewise.
12982 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12983 comment referencing __ASSUME_LCHOWN_SYSCALL.
12984 * sysdeps/unix/sysv/linux/i386/sigaction.c
12985 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12986 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12987 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12988 Remove conditional code.
12989 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12990 (__protocol_available): Remove #if 0 code.
12991 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12992 conditional code.
12993 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12994 * sysdeps/unix/sysv/linux/kernel-features.h
12995 (__ASSUME_GETCWD_SYSCALL): Don't define.
12996 (__ASSUME_REALTIME_SIGNALS): Likewise.
12997 (__ASSUME_PREAD_SYSCALL): Likewise.
12998 (__ASSUME_PWRITE_SYSCALL): Likewise.
12999 (__ASSUME_POLL_SYSCALL): Likewise.
13000 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13001 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13002 non-SPARC.
13003 (__ASSUME_SIOCGIFNAME): Don't define.
13004 (__ASSUME_MSG_NOSIGNAL): Likewise.
13005 (__ASSUME_SENDFILE): Define unconditionally.
13006 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13007 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13008 conditional code.
13009 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13010 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13011 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13012 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13013 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13014 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13015 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13017 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13020 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13023 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13026 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13029 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13032 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13035 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13040 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13041 Remove conditional code.
13042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13043 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13044 Remove conditional code.
13045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13046 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13047 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13048 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13049 Remove conditional code.
13050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13051 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13052 Remove conditional code.
13053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13054 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13055 Remove conditional code.
13056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13057 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13058 Remove conditional code.
13059 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13060 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13061 Remove conditional code.
13062 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13063 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13064 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13066 * sysdeps/unix/sysv/linux/sigaction.c
13067 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13068 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13069 * sysdeps/unix/sysv/linux/sigpending.c
13070 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13071 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13072 * sysdeps/unix/sysv/linux/sigprocmask.c
13073 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13074 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13075 * sysdeps/unix/sysv/linux/sigsuspend.c
13076 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13077 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13078 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13079 (__libc_missing_rt_sigs): Remove.
13080 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13081 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13082 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13083 Remove conditional code.
13084 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13085 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13086 return 1.
13087 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13088 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13089 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13090 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13091
1bfb7291
AJ
130922012-05-14 Andreas Jaeger <aj@suse.de>
13093
caae5a81
AJ
13094 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13095 it's not used in glibc.
13096 (__coshm1): Likewise.
13097 (__acosh1p): Likewise.
13098 (__sgn): Likewise.
13099
1bfb7291
AJ
13100 * manual/string.texi (Copying and Concatenation): Add missing
13101 variable in concat example.
13102 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13103
c044d724
L
131042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13105
144c5467 13106 [BZ #14103]
c044d724
L
13107 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13108 __builtin_clzl with __builtin_clzll.
13109
2523c62b
L
131102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13111
13112 [BZ #14104]
13113 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13114 libc_freeres_ptr.
13115
d7bb4c42
LD
131162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13117
13118 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13119 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13120 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13121 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13122
9dc4e1fb
MF
131232012-05-14 Mike Frysinger <vapier@gentoo.org>
13124
13125 * NEWS: Update ia64 info.
13126
c7df0112
AS
131272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13128
13129 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13130 used as bcopy.
13131
dc70356c
TS
131322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13133
13134 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13135 * sysdeps/unix/syscalls.list (dup3): Likewise.
13136 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13137 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13138
9fb1a21f
L
131392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13140
13141 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13142 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13143
4822a2a5
L
131442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13145
13146 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13147 thread pointer.
13148 (TLS_IE): Use mov/add instead of movq/addq to load thread
13149 pointer.
13150 (TLS_GD_PREFIX): New.
13151 (TLS_GD): Use it.
13152
842b81d6
DM
131532012-05-11 David S. Miller <davem@davemloft.net>
13154
13155 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13156 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13157 (_FPU_SETCW): Likewise.
13158
1cf463cd
L
131592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13162 is 32-byte aligned.
13163
60cc4a18
AS
131642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13165
13166 [BZ #11837]
13167 * iconvdata/gb18030.c: Update tables.
13168 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13169 characters specially.
13170 (BODY for TO_LOOP): Add encoding of missing ranges.
13171
febb44a4
TS
131722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13173
13174 [BZ #13673]
13175 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13176 * sysdeps/mach/hurd/dup3.c: Likewise.
13177 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13178 * sysdeps/powerpc/memmove.c:: Likewise.
13179
0a10fb9e
L
131802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13181
13182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13183 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13184
df8a552f
L
131852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13186
13187 * elf/elf.h (R_X86_64_RELATIVE64): New.
13188 (R_X86_64_NUM): Updated.
13189 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13190 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13191 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13192 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13193 tst-quad1pie tst-quad2pie
13194 (modules-names): Add tst-quadmod1 tst-quadmod2.
13195 ($(objpfx)tst-quad1): New dependency.
13196 ($(objpfx)tst-quad2): Likewise.
13197 ($(objpfx)tst-quad1pie): Likewise.
13198 ($(objpfx)tst-quad2pie): Likewise.
13199 * sysdeps/x86_64/tst-quad1.c: New file.
13200 * sysdeps/x86_64/tst-quad1pie.c: New file.
13201 * sysdeps/x86_64/tst-quad2.c: Likewise.
13202 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13203 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13204 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13205 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13206 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13207
f34d6f84
ST
132082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13209
f42d41d1
ST
13210 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13211 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13212 * streams/stropts.h (t_scalar_t): Define type.
13213
3c3571fc
ST
13214 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13215 (_PATH_PRESERVE): Set to "/var/lib".
13216 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13217
61f06bd3
ST
13218 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13219 instead of int.
13220
918d4d71
ST
13221 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13222 if __dir_mkfile succeeded.
13223
f34d6f84
ST
13224 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13225 checking for _hurd_dtablesize. Unlock it right after having
13226 finished _hurd_dtable allocation.
13227
10589b4a
TS
132282012-05-10 Thomas Schwinge <thomas@schwinge.name>
13229
674cdbc7
TS
13230 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13231 * sysdeps/mach/hurd/configure: Regenerated.
13232 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13233 special-casing to...
13234 * sysdeps/gnu/configure.in: ... this new file.
13235 * sysdeps/unix/sysv/linux/configure: Regenerated.
13236 * sysdeps/gnu/configure: New generated file.
13237
8e41b99f
TS
13238 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13239 for Linux: use nsec instead of usec, as well as:
13240 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13241 members of type struct timespec.
13242 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13243 New macros.
13244 (struct stat64): Likewise.
13245 (_STATBUF_ST_NSEC): New macro.
13246 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13247
10589b4a
TS
13248 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13249 __strtoul_internal rather than strtoul.
13250
63643c85
PT
132512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13252
13253 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13254 and reject them.
13255
3faebe6a
ST
132562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13257
13258 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13259 which preserves existing values.
13260 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13261
c6474b07
PT
132622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13263
13264 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13265 TIMEOUT values. Return EINVAL for NFDS values either negative or
13266 greater than FD_SETSIZE.
13267
1043890b
ST
132682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13269
13270 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13271 allocated, call __vm_protect to finish enabling the existing space, and
13272 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13273 allocate the remainder.
13274
37ed8b9b
PT
132752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13276
13277 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13278 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13279
db653660
ST
132802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13281
37ed8b9b
PT
13282 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13283 sysdeps/mach/hurd/readlink.c.
b29d4053 13284
db653660
ST
13285 * posix/tst-sysconf.c (posix_options): Only use
13286 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13287 _POSIX_SYNCHRONIZED_IO when they are defined
13288 * sysdeps/mach/hurd/bits/posix_opt.h:
13289 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13290 (_XOPEN_REALTIME): Undefine macro.
13291 (_XOPEN_REALTIME_THREADS): Undefine macro.
13292 (_XOPEN_SHM): Undefine macro.
13293 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13294 macro to -1.
13295 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13296 macro to -1.
13297 (_POSIX_ASYNC_IO): Undefine macro.
13298 (_POSIX_PRIORITIZED_IO): Undefine macro.
13299 (_POSIX_SPIN_LOCKS): Define macro to -1.
13300
ee16e894
ST
13301 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13302 SA_NODEFER, SA_RESETHAND.
13303 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13304 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13305 F_DUPFD_CLOEXEC.
13306
6103ae3b
TS
133072012-05-10 Thomas Schwinge <thomas@schwinge.name>
13308
13309 * elf/Makefile (pldd-modules): Define unconditionally.
13310
80b4e5f3
TS
133112012-05-10 Thomas Schwinge <thomas@schwinge.name>
13312
13313 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13314
edadcbd6
ST
133152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13316
13317 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13318 Return ENOENT when name is empty.
13319 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13320
80694780
TS
133212012-05-10 Thomas Schwinge <thomas@schwinge.name>
13322
1792c087
TS
13323 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13324
80694780
TS
13325 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13326
6b645f0d
ST
133272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13328
80694780
TS
13329 Fix mlock in all cases except non-readable pages.
13330 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13331 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13332
6b645f0d
ST
13333 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13334 (__mkdir): When path is `/', just fail with EEXIST.
13335 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13336
e468f8a3
TS
133372012-05-10 Thomas Schwinge <thomas@schwinge.name>
13338
13339 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13340 <sys/uio.h> (for writev).
13341 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13342 and <sys/param.h> (for MIN).
13343
a4186cff
PT
133442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13345
13346 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13347 REQUESTED_TIME. Properly set the remaining time and return EINTR
13348 if interrupted.
13349
510bbf14
TS
133502012-05-10 Thomas Schwinge <thomas@schwinge.name>
13351
13352 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13353 Depend on against $(link-rpcuserlibs).
13354
5d5722e8
ST
133552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13356
a4186cff
PT
13357 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13358 (__libc_stack_end): Do not use attribute_relro.
13359 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13360 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13361 to libthread-provided value.
a4186cff
PT
13362 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13363 attribute_relro.
5d5722e8 13364
37233df9
TS
133652012-05-10 Thomas Schwinge <thomas@schwinge.name>
13366
be971a2b
TS
13367 [BZ #3748]
13368 * bits/libc-lock.h (__libc_once_get): New macro.
13369 * sysdeps/mach/bits/libc-lock.h: Likewise.
13370 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13371 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13372 instead of using implementation details.
13373
37233df9
TS
13374 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13375 * libio/freopen.c: Likewise.
13376 * libio/freopen64.c: Likewise.
13377 * misc/syslog.c: Likewise.
13378 * nscd/connections.c: Likewise.
13379 * nscd/netgroupcache.c: Likewise.
13380 * sysdeps/posix/getcwd.c: Likewise.
13381
38de94a5
RM
133822012-05-10 Roland McGrath <roland@hack.frob.com>
13383
13384 * math/w_ilogbf.c: Add #include <limits.h>.
13385
67530489
ST
133862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13387
a4186cff 13388 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13389 path instead of returning without unlocking.
13390
67530489
ST
13391 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13392 immediate-write ioctls.
13393 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13394
5aa3a74a
TS
133952012-05-10 Thomas Schwinge <thomas@schwinge.name>
13396
18bad2ae
TS
13397 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13398 __builtin_frame_address instead of making assumptions about the
13399 location of the return address relative to DATA. Force early load of
13400 the return address.
13401 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13402 __builtin_frame_address.
13403
5aa3a74a
TS
13404 dup3 for GNU Hurd.
13405 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13406 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13407 implement dup3 and do some further code clean-ups.
13408 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13409 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13410
ecd0de9a
ST
134112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13412
cd9fa985
ST
13413 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13414
a4186cff
PT
13415 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13416 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13417 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13418 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13419 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13420 d->port.lock.
802ca5a5 13421
a4186cff
PT
13422 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13423 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13424 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13425
bcf55240
TS
134262012-05-10 Thomas Schwinge <thomas@schwinge.name>
13427
6960eb42
TS
13428 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13429 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13430 definitions.
13431
eb43375f
TS
13432 accept4 for GNU Hurd.
13433 * include/sys/socket.h (__libc_accept4): New prototype.
13434 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13435 to implement __libc_accept4.
13436 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13437 __libc_accept4.
13438 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13439
bcf55240
TS
13440 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13441 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13442 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13443 signal-defines.sym.
13444
6178c55b
ST
134452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13446
a4186cff 13447 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13448
6f080c2f
TS
134492012-05-10 Thomas Schwinge <thomas@schwinge.name>
13450
13451 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13452 assertion on O_CLOEXEC flag.
13453 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13454 * hurd/intern-fd.c: Likewise.
13455 * hurd/port2fd.c: Likewise.
13456
bcfe3a54
ST
134572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13458
13459 [BZ #3906]
13460 * bits/in.h (IPV6_PKTINFO): Define new macro.
13461 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13462
89c9aa49
AZ
134632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13464
13465 [BZ #13954]
13466 [BZ #13955]
13467 [BZ #13956]
13468 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13470 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13471 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13472 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13473 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13474 * math/libm-test.inc (logb_test) : Additional logb tests.
13475
021db4be
AJ
134762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13477 Andreas Jaeger <aj@suse.de>
13478
13479 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13480 * configure: Regenerated.
13481 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13482 * config.make.in (link-obsolete-rpc): New substituted variable.
13483 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13484 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13485 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13486 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13487 so that libc.a contains the symbols.
13488 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13489 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13490 * sunrpc/auth_none.c: Likewise.
13491 * sunrpc/auth_unix.c: Likewise.
13492 * sunrpc/authdes_prot.c: Likewise.
13493 * sunrpc/authuxprot.c: Likewise.
13494 * sunrpc/clnt_gen.c: Likewise.
13495 * sunrpc/clnt_perr.c: Likewise.
13496 * sunrpc/clnt_raw.c: Likewise.
13497 * sunrpc/clnt_simp.c: Likewise.
13498 * sunrpc/clnt_tcp.c: Likewise.
13499 * sunrpc/clnt_udp.c: Likewise.
13500 * sunrpc/clnt_unix.c: Likewise.
13501 * sunrpc/des_crypt.c: Likewise.
13502 * sunrpc/des_soft.c: Likewise.
13503 * sunrpc/get_myaddr.c: Likewise.
13504 * sunrpc/key_call.c: Likewise.
13505 * sunrpc/key_prot.c: Likewise.
13506 * sunrpc/netname.c: Likewise.
13507 * sunrpc/pm_getmaps.c: Likewise.
13508 * sunrpc/pm_getport.c: Likewise.
13509 * sunrpc/pmap_clnt.c: Likewise.
13510 * sunrpc/pmap_prot.c: Likewise.
13511 * sunrpc/pmap_prot2.c: Likewise.
13512 * sunrpc/pmap_rmt.c: Likewise.
13513 * sunrpc/publickey.c: Likewise.
13514 * sunrpc/rpc_cmsg.c: Likewise.
13515 * sunrpc/rpc_common.c: Likewise.
13516 * sunrpc/rpc_dtable.c: Likewise.
13517 * sunrpc/rpc_prot.c: Likewise.
13518 * sunrpc/rpc_thread.c: Likewise.
13519 * sunrpc/rtime.c: Likewise.
13520 * sunrpc/svc.c: Likewise.
13521 * sunrpc/svc_auth.c: Likewise.
13522 * sunrpc/svc_raw.c: Likewise.
13523 * sunrpc/svc_run.c: Likewise.
13524 * sunrpc/svc_tcp.c: Likewise.
13525 * sunrpc/svc_udp.c: Likewise.
13526 * sunrpc/svc_unix.c: Likewise.
13527 * sunrpc/svcauth_des.c: Likewise.
13528 * sunrpc/xcrypt.c: Likewise.
13529 * sunrpc/xdr.c: Likewise.
13530 * sunrpc/xdr_array.c: Likewise.
13531 * sunrpc/xdr_float.c: Likewise.
13532 * sunrpc/xdr_intXX_t.c: Likewise.
13533 * sunrpc/xdr_mem.c: Likewise.
13534 * sunrpc/xdr_rec.c: Likewise.
13535 * sunrpc/xdr_ref.c: Likewise.
13536 * sunrpc/xdr_sizeof.c: Likewise.
13537 * sunrpc/xdr_stdio.c: Likewise.
13538
b5c086a2
RM
135392012-05-10 Roland McGrath <roland@hack.frob.com>
13540
13541 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13542 change. Update copyright years.
13543
6d74dd09
JM
135442012-05-10 Joseph Myers <joseph@codesourcery.com>
13545
13546 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13547
28e72501
MK
135482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13549 Joseph Myers <joseph@codesourcery.com>
13550 Paul Pluzhnikov <ppluzhnikov@google.com>
13551
13552 [BZ #14012]
13553 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13554 requiring rpcgen.
13555 [cross-compiling] (extra-libs): Likewise.
13556 [cross-compiling] (extra-libs-others): Likewise.
13557 [cross-compiling] (librpcsvc-routines): Likewise.
13558 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13559 [cross-compiling] (omit-deps): Likewise.
13560 (sunrpc-CPPFLAGS): New variable.
13561 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13562 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13563 (cross-rpcgen-objs): New variable.
13564 (extra-objs): Append $(cross-rpcgen-objs).
13565 ($(cross-rpcgen-objs)): New rule.
13566 ($(objpfx)cross-rpcgen): Likewise.
13567 (rpcgen-cmd): Define to use $(built-program-file). Expand
13568 comment.
13569 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13570 ($(objpfx)x%.stmp): Likewise.
13571 * sunrpc/proto.h [IS_IN_build] (_): Define.
13572 [IS_IN_build] (_libc_intl_domainname): Likewise.
13573
c8c59454
L
135742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13575
13576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13577 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13578 and R_X86_64_TPOFF64.
13579
6f27cd16
JM
135802012-05-10 Joseph Myers <joseph@codesourcery.com>
13581
13582 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13583 sysdeps/unix/sysv/syscalls.list.
13584 (stime): Likewise.
13585 (utime): Likewise.
13586 * sysdeps/unix/sysv/syscalls.list: Remove file.
13587
02467e1c
PE
135882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13589
13590 [BZ #3440]
13591 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13592 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13593 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13594 (__LC_IDENTIFICATION): Make these macros useful in #if
13595 expressions, as required by C99.
13596
da392631
AS
135972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13598
13599 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13600 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13601 after this.
13602
8115f29b
L
136032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13604
13605 * stdlib/longlong.h: Updated from GCC.
13606
bdd74070
AJ
136072012-05-09 Andreas Jaeger <aj@suse.de>
13608
edfe0dbe
AJ
13609 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13610 default is first entry.
13611 (run_mode): Set type.
13612 (main): Remove informal message about syslog.
13613 (options): Fix typo.
13614
bcfe3a54
ST
13615 [BZ #14053]
13616 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13617 to asm.
bcfe3a54
ST
13618 (lrint): Likewise.
13619 (llrintf): Likewise.
13620 (llrint): Likewise.
13621 (rint): Likewise.
13622 (rintf): Likewise.
13623 (nearbyint): Likewise.
13624 (nearbyintf): Likewise.
bdd74070 13625
91d8d69e
AJ
136262012-05-09 Andreas Jaeger <aj@suse.de>
13627 Pedro Alves <palves@redhat.com>
13628
13629 * nscd/nscd.c (run_mode): Use enum.
13630 (main): Cleanup coding style issue.
13631
bb90b80b
AJ
136322012-05-09 Alexandre Oliva <aoliva@redhat.com>
13633 Andreas Jaeger <aj@suse.de>
13634
bcfe3a54
ST
13635 * nscd/nscd.c (go_background): Replaced with...
13636 (run_mode): ... this.
bb90b80b 13637 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13638 (options): Add -F --foreground.
13639 (main): Implement it.
13640 (parse_opt): Parse it.
bb90b80b 13641
1a4b75a1
AJ
136422012-05-09 Andreas Jaeger <aj@suse.de>
13643
13644 [BZ #14083]
13645 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13646 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13647 -Wconversion warning.
13648 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13649 Likewise.
13650
b1cc2472
JM
136512012-05-09 Joseph Myers <joseph@codesourcery.com>
13652
13653 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13654 == 0.
13655 (LC_ALL): Use macro-int-constant.
13656 (LC_COLLATE): Likewise.
13657 (LC_CTYPE): Likewise.
13658 (LC_MESSAGES): Likewise.
13659 (LC_MONETARY): Likewise.
13660 (LC_NUMERIC): Likewise.
13661 (LC_TIME): Likewise.
13662 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13663 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13664 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13665 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13666 Specify type.
13667 [C99-based standards] (float_t): Expect type.
13668 [C99-based standards] (double_t): Expect type.
13669 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13670 type.
13671 [C99-based standards] (HUGE_VALL): Likewise.
13672 [C99-based standards] (INFINITY): Likewise.
13673 [C99-based standards] (NAN): Likewise.
13674 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13675 [C99-based standards] (FP_NAN): Likewise.
13676 [C99-based standards] (FP_NORMAL): Likewise.
13677 [C99-based standards] (FP_SUBNORMAL): Likewise.
13678 [C99-based standards] (FP_ZERO): Likewise.
13679 [C99-based standards] (FP_FAST_FMA): Use
13680 optional-macro-int-constant. Specify type. Require == 1.
13681 [C99-based standards] (FP_FAST_FMAF): Likewise.
13682 [C99-based standards] (FP_FAST_FMAL): Likewise.
13683 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13684 [C99-based standards] (FP_ILOGBNAN): Likewise.
13685 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13686 Specify type.
13687 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13688 [C99-based standards] (math_errhandling): Specify type.
13689 [ISO99 || ISO11] (signgam): Do not allow.
13690 [non-C99-based standards] (copysignf): Do not allow.
13691 [non-C99-based standards] (exp2f): Likewise.
13692 [non-C99-based standards] (log2f): Likewise.
13693 [non-C99-based standards] (modff): Allow.
13694 [non-C99-based standards] (erff): Do not allow.
13695 [non-C99-based standards] (erfcf): Likewise.
13696 [non-C99-based standards] (gammaf): Likewise.
13697 [non-C99-based standards] (hypotf): Likewise.
13698 [non-C99-based standards] (j0f): Likewise.
13699 [non-C99-based standards] (j1f): Likewise.
13700 [non-C99-based standards] (jnf): Likewise.
13701 [non-C99-based standards] (lgammaf): Likewise.
13702 [non-C99-based standards] (tgammaf): Likewise.
13703 [non-C99-based standards] (y0f): Likewise.
13704 [non-C99-based standards] (y1f): Likewise.
13705 [non-C99-based standards] (ynf): Likewise.
13706 [non-C99-based standards] (isnanf): Likewise.
13707 [non-C99-based standards] (acoshf): Likewise.
13708 [non-C99-based standards] (asinhf): Likewise.
13709 [non-C99-based standards] (atanhf): Likewise.
13710 [non-C99-based standards] (cbrtf): Likewise.
13711 [non-C99-based standards] (expm1f): Likewise.
13712 [non-C99-based standards] (ilogbf): Likewise.
13713 [non-C99-based standards] (log1pf): Likewise.
13714 [non-C99-based standards] (logbf): Likewise.
13715 [non-C99-based standards] (nextafterf): Likewise.
13716 [non-C99-based standards] (remainderf): Likewise.
13717 [non-C99-based standards] (rintf): Likewise.
13718 [non-C99-based standards] (scalbf): Likewise.
13719 [non-C99-based standards] (copysignl): Likewise.
13720 [non-C99-based standards] (exp2l): Likewise.
13721 [non-C99-based standards] (log2l): Likewise.
13722 [non-C99-based standards] (modfl): Allow.
13723 [non-C99-based standards] (erfl): Do not allow.
13724 [non-C99-based standards] (erfcl): Likewise.
13725 [non-C99-based standards] (gammal): Likewise.
13726 [non-C99-based standards] (hypotl): Likewise.
13727 [non-C99-based standards] (j0l): Likewise.
13728 [non-C99-based standards] (j1l): Likewise.
13729 [non-C99-based standards] (jnl): Likewise.
13730 [non-C99-based standards] (lgammal): Likewise.
13731 [non-C99-based standards] (tgammal): Likewise.
13732 [non-C99-based standards] (y0l): Likewise.
13733 [non-C99-based standards] (y1l): Likewise.
13734 [non-C99-based standards] (ynl): Likewise.
13735 [non-C99-based standards] (isnanl): Likewise.
13736 [non-C99-based standards] (acoshl): Likewise.
13737 [non-C99-based standards] (asinhl): Likewise.
13738 [non-C99-based standards] (atanhl): Likewise.
13739 [non-C99-based standards] (cbrtl): Likewise.
13740 [non-C99-based standards] (expm1l): Likewise.
13741 [non-C99-based standards] (ilogbl): Likewise.
13742 [non-C99-based standards] (log1pl): Likewise.
13743 [non-C99-based standards] (logbl): Likewise.
13744 [non-C99-based standards] (nextafterl): Likewise.
13745 [non-C99-based standards] (remainderl): Likewise.
13746 [non-C99-based standards] (rintl): Likewise.
13747 [non-C99-based standards] (scalbl): Likewise.
13748 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13749 [non-C99-based standards] (FP_*): Do not allow.
13750 [C99-based standards] (FP_*): Change to
13751 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13752 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13753 allow.
13754 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13755 (SIG_ERR): Likewise.
13756 [X/Open-based standards] (SIG_HOLD): Likewise.
13757 (SIG_IGN): Likewise.
13758 (SIGABRT): Use macro-int-constant. Specify type. Require
13759 positive value.
13760 (SIGFPE): Likewise.
13761 (SIGILL): Likewise.
13762 (SIGINT): Likewise.
13763 (SIGSEGV): Likewise.
13764 (SIGTER): Likewise.
13765 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13766 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13767 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13768 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13769 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13770 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13771 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13772 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13773 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13774 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13775 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13776 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13777 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13778 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13779 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13780 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13781 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13782 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13783 [X/Open-based standards] (SIGTRAP): Likewise.
13784 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13785 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13786 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13787 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13788 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13789 allow.
13790
b9f1922d
IW
137912012-05-08 Ian Wienand <ianw@vmware.com>
13792
13793 [BZ #14080]
13794 * time/tzset.c (__tzset_parse_tz): Update default rules for
13795 daylight time changes in the Energy Policy Act of 2005.
13796
1db86e88
AJ
137972012-05-09 Andreas Jaeger <aj@suse.de>
13798
13799 [BZ #13983]
13800 * elf/ldconfig.c (parse_conf): Change string to make clear that
13801 ldconfig only issued a warning if ld.so.conf does not exist.
13802
dee4a4e3
DM
138032012-05-08 David S. Miller <davem@davemloft.net>
13804
ee0db190
DM
13805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13806 movxtod instead of popping the value on the stack.
13807
dee4a4e3
DM
13808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13809
6a43ec98
CD
138102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13811
13812 * config.h.in: Add HAVE_ARM_PCS_VFP.
13813
05c2c961
RMG
138142012-05-08 Roland Mc Grath <roland@hack.frob.com>
13815
bcfe3a54
ST
13816 [BZ #13979]
13817 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13818 checking but the checks are disabled for any reason.
05c2c961 13819
4b30f61a
L
138202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13823 and ELF64_R_TYPE with ELFW(R_TYPE).
13824
eee2bc67
JM
138252012-05-08 Joseph Myers <joseph@codesourcery.com>
13826
7ea5391a
JM
13827 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13828 (ulimit): Likewise.
13829
eee2bc67
JM
13830 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13831 (settimeofday): Likewise.
13832
abb66a67
MF
138332012-05-08 Mike Frysinger <vapier@gentoo.org>
13834
13835 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13836 a struct th_u2 inside the union, and move tu_block/tu_code into
13837 a new th_u3 union of tu_block/tu_code inside of that. Move
13838 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13839 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13840 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13841 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13842 (th_stuff): Change to th_u1.tu_stuff.
13843 (th_data): Define.
13844 (th_msg): Change to th_u1.th_u2.tu_data.
13845
7f18b530
DM
138462012-05-07 David S. Miller <davem@davemloft.net>
13847
05760585
DM
13848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13849
7f18b530
DM
13850 [BZ #14074]
13851 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13852 (SETUP_PIC_REG): Use it.
13853 (SETUP_PIC_REG_LEAF): Use it.
13854
495fd99f
JM
138552012-05-07 Joseph Myers <joseph@codesourcery.com>
13856
13857 [BZ #13885]
13858 [BZ #13923]
13859 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13860 USE_AS_EXPM1L.
13861 (EXPL_FINITE): Likewise.
13862 (FLDLOG): Likewise.
13863 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13864 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13865 e_expl.S.
13866 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13867 USE_AS_EXPM1L.
13868 (EXPL_FINITE): Likewise.
13869 (FLDLOG): Likewise.
13870 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13871 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13872 e_expl.S.
13873 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13874 test of -max_value argument for long double.
13875 * sysdeps/i386/fpu/libm-test-ulps: Update.
13876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13877
6693d694
DM
138782012-05-06 David S. Miller <davem@davemloft.net>
13879
13880 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13881 quad soft-float symbols whose references which are compiler
13882 generated.
13883 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13884
6c23e11c
JM
138852012-05-06 Joseph Myers <joseph@codesourcery.com>
13886
d8b82cad
JM
13887 [BZ #13884]
13888 [BZ #13914]
13889 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13890 USE_AS_EXP10L.
13891 (EXPL_FINITE): Likewise.
13892 (FLDLOG): Likewise.
13893 (c0): Likewise.
13894 (c1): Likewise.
13895 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13896 Adjust comments for base varying.
13897 (__expl_finite): Change alias to EXPL_FINITE.
13898 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13899 e_expl.S.
13900 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13901 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13903 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13904 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13905 USE_AS_EXP10L.
13906 (EXPL_FINITE): Likewise.
13907 (FLDLOG): Likewise.
13908 (c0): Likewise.
13909 (c1): Likewise.
13910 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13911 Adjust comments for base varying.
13912 (__expl_finite): Change alias to EXPL_FINITE.
13913 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13914 tests for bugs.
13915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13916
6c23e11c
JM
13917 [BZ #14064]
13918 * math/libm-test.inc (check_float_internal): Correct ulp
13919 calculation for subnormal expected results.
13920
29ba805c
AJ
139212012-05-06 Andreas Jaeger <aj@suse.de>
13922
13923 * Makeconfig (+math-flags): New, set to -frounding-math.
13924 (+cflags): Add +math-flags so that all of glibc gets compiled with
13925 it.
13926
13927 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13928
7b17aeda
JM
139292012-05-05 Joseph Myers <joseph@codesourcery.com>
13930
5779f134
JM
13931 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13932 Disable one test.
13933
41498f4d
JM
13934 [BZ #13787]
13935 [BZ #13922]
13936 [BZ #14036]
13937 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13938 (__ieee754_expl): Allow for and saturate large arguments.
13939 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13940 (u_threshold): Likewise.
13941 (__exp): Call __ieee754_exp before checking for overflow and
13942 underflow.
13943 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13944 (u_threshold): Likewise.
13945 (__expf): Call __ieee754_expf before checking for overflow and
13946 underflow.
13947 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13948 (u_threshold): Likewise.
13949 (__expl): Call __ieee754_expl before checking for overflow and
13950 underflow.
13951 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13952 (__ieee754_expl): Allow for and saturate large arguments.
13953 * math/libm-test.inc (exp_test): Add another test. Do not allow
13954 missing overflow exception on overflow.
13955 (expm1_test): Do not allow missing overflow exception on overflow.
13956
6698b8bf
JM
13957 * sysdeps/i386/fpu/e_expl.c: Move to ...
13958 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13959 rather than using inline asm.
13960 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13961 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13962 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13963
7b17aeda
JM
13964 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13965 (nice): Likewise.
13966 (poll): Likewise.
13967 (signal): Likewise.
13968 (time): Likewise.
13969 (times): Likewise.
13970
f7c85819
JM
139712012-05-04 Joseph Myers <joseph@codesourcery.com>
13972
13973 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13974 sysdeps/unix/common/syscalls.list.
13975 (fchmod): Likewise.
13976 (fchown): Likewise.
13977 (ftruncate): Likewise.
13978 (getrusage): Likewise.
13979 (gettimeofday): Likewise.
13980 (setpgid): Likewise.
13981 (setregid): Likewise.
13982 (setreuid): Likewise.
13983 (sigaction): Likewise.
13984 (truncate): Likewise.
13985 (vhangup): Likewise.
13986 * sysdeps/unix/common/syscalls.list: Remove file.
13987 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13988 * sysdeps/unix/sysv/linux/Implies: Likewise.
13989
336270d0
L
139902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13991
13992 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13994 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13995 Moved to ...
13996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13997 Here.
13998 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13999 to ...
14000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14001 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14002 to ...
14003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14004 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14005 to ...
14006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14007 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14008 to ...
14009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14010 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14011 to ...
14012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14013 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14014 to ...
14015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14016 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14017 to ...
14018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14019 Here.
14020 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14021 to ...
14022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14023 Here.
14024 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14025 to ...
14026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14027 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14028 Moved to ...
14029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14030 Here.
14031 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14032 to ...
14033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14034
d128e450
JM
140352012-05-04 Joseph Myers <joseph@codesourcery.com>
14036
fa8ee516
JM
14037 * sysdeps/unix/common/bits/dirent.h: Remove file.
14038 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14039
d128e450
JM
14040 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14041 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14042 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14043 * sysdeps/unix/bsd/isatty.c: Likewise.
14044 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14045 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14046 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14047
ff8faaf0 140482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14049
62881be4 14050 [BZ #13563]
31dc8730
AZ
14051 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14052 long double comparison inaccuracies.
14053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14055
6fef930c
AS
140562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14057
14058 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14059 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14060
8f203e6c
JM
140612012-05-04 Joseph Myers <joseph@codesourcery.com>
14062
14063 [BZ #14049]
14064 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14065 nonzero digits before rounding a hex value.
14066 * stdlib/tst-strtod.c (tests): Add another test.
14067
5197d9c2
AK
140682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14069
14070 * sysdeps/s390/fpu/libm-test-ulps: Update.
14071
f0c1dedf
AJ
140722012-05-03 Andreas Jaeger <aj@suse.de>
14073
14074 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14075 does not get optimized out.
14076 (malloc_opt_barrier): New.
14077
a65ef2ae 140782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14079 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14080
2b942cb7 14081 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14082 intermediate file deletion.
2b942cb7 14083 (generated): Add .symlist files.
a65ef2ae 14084
54b71e02
JM
140852012-05-03 Joseph Myers <joseph@codesourcery.com>
14086
14087 [BZ #13775]
14088 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14089 Redirect under this condition.
14090 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14091 [__USE_GNU] (__dprintf_chk): Not under this condition.
14092 [__USE_GNU] (__vdprintf_chk): Likewise.
14093 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14094 under this condition.
14095 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14096 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14097 [__USE_XOPEN2K8] (vdprintf): Likewise.
14098 [__USE_GNU] (__dprintf_chk): Not under this condition.
14099 [__USE_GNU] (__vdprintf_chk): Likewise.
14100 [__USE_GNU] (dprintf): Likewise.
14101 [__USE_GNU] (vdprintf): Likewise.
14102
d3dfcc41
RM
141032012-05-03 Roland McGrath <roland@hack.frob.com>
14104
14105 * elf/Makefile (common-generated): Set this instead of generated for
14106 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14107 $(all-built-dso)-derived lists.
14108
7ac30cc5
AJ
141092012-05-03 Andreas Jaeger <aj@suse.de>
14110
0c51e550
AJ
14111 * sysdeps/i386/fpu/libm-test-ulps: Update.
14112
7ac30cc5
AJ
14113 * FAQ: Removed.
14114 * FAQ.in: Likewise.
14115 * scripts/gen-FAQ.pl: Likewise.
14116 * manual/install.texi (Installation): Point to online location of
14117 FAQ.
14118 * Makefile (files-for-dist): Remove FAQ.
14119 (FAQ): Remove.
14120
d4c2917f
AM
141212012-05-02 Allan McRae <allan@archlinux.org>
14122
14123 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14124 (LDFLAGS-reldepmod5.so): Likewise.
14125 (LDFLAGS-reldep6mod1.so): Likewise.
14126 (LDFLAGS-reldep6mod4.so): Likewise.
14127 (LDFLAGS-reldep8mod3.so): Likewise.
14128 (LDFLAGS-unload4mod1.so): Likewise.
14129 (LDFLAGS-unload4mod2.so): Likewise.
14130 (LDFLAGS-tst-initorder): Likewise.
14131 (LDFLAGS-tst-initordera2.so): Likewise.
14132 (LDFLAGS-tst-initordera3.so): Likewise.
14133 (LDFLAGS-tst-initordera4.so): Likewise.
14134 (LDFLAGS-tst-initorderb2.so): Likewise.
14135 (LDFLAGS-noload): Likewise.
14136 (LDFLAGS-next): Likewise.
14137 (LDFLAGS-order2mod1.so): Likewise.
14138 (LDFLAGS-order2mod2.so): Likewise.
14139 (LDFLAGS-tst-initorder2): Likewise.
14140 (LDFLAGS-tst-initorder2a.so): Likewise.
14141 (LDFLAGS-tst-initorder2b.so): Likewise.
14142 (LDFLAGS-tst-initorder2c.so): Likewise.
14143 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14144
d77f993f
DM
141452012-05-02 David S. Miller <davem@davemloft.net>
14146
14147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14148
171a70b4
PP
141492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14150
14151 [BZ #14055]
14152 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14153
0be196ad
AJ
141542012-05-02 Andreas Jaeger <aj@suse.de>
14155
14156 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14157 since we manipulate rounding mode.
14158 (CPPFLAGS-test-idouble.c): Likewise.
14159 (CPPFLAGS-test-ifloat.c): Likewise.
14160 (CFLAGS-test-ldouble.c): Likewise.
14161 (CFLAGS-test-double.c): Likewise.
14162 (CFLAGS-test-float.c): Likewise.
14163 (CFLAGS-test-misc.c): Likewise.
14164 (CFLAGS-test-test-fenv.c): Likewise.
14165
4f9d04aa
AZ
141662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14167
2b942cb7
RM
14168 [BZ #2550]
14169 [BZ #2570]
14170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14171 comparisons to determine direction to adjust input.
4f9d04aa 14172
82a79e7d
RM
141732012-05-01 Roland McGrath <roland@hack.frob.com>
14174
f5a01ca9
RM
14175 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14176 output to the target.
14177
90fe4186
RM
14178 * scripts/localplt.awk: New file.
14179 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14180 (check-localplt-CFLAGS): Variable removed.
14181 ($(all-built-dso:=.jmprel)): New static pattern rule.
14182 (generated): Add those targets.
14183 (localplt-built-dso): New variable.
14184 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14185
14186 * elf/check-localplt.c: File removed.
14187
82397ed6
RM
14188 * scripts/check-execstack.awk: New file.
14189 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14190 (check-execstack-CFLAGS): Variable removed.
14191 ($(objpfx)check-execstack.h): Target removed.
14192 ($(objpfx)execstack-default): New target.
14193 (generated): Add that instead of check-execstack.h.
14194 ($(all-built-dso:=.phdr)): New static pattern rule.
14195 (generated): Add those targets.
14196 * elf/check-execstack.c: File removed.
14197
82a79e7d
RM
14198 * scripts/check-textrel.awk: New file.
14199 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14200 (check-textrel-CFLAGS): Variable removed.
14201 (all-built-dso): Use := to define.o
14202 ($(all-built-dso:=.dyn)): New static pattern rule.
14203 (generated): Add those targets.
14204 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14205 * config.make.in (READELF): New substituted variable.
14206 * elf/check-textrel.c: File removed.
14207
62fde54f 142082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14209
615605c9
JM
14210 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14211 allow.
14212 * conform/data/ctype.h-data [C99-based standards] (isblank):
14213 Expect function.
14214 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14215 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14216 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14217 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14218 Specify type. Require positive value.
14219 (EILSEQ): Likewise.
14220 (ERANGE): Likewise.
14221 [ISO || POSIX] (EILSEQ): Do not expect.
14222 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14223 Specify type. Require positive value.
14224 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14225 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14226 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14227 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14228 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14229 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14230 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14231 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14232 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14233 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14234 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14235 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14236 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14237 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14238 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14239 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14240 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14241 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14242 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14243 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14244 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14245 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14246 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14247 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14248 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14249 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14250 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14251 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14252 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14253 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14254 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14255 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14256 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14257 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14258 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14259 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14260 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14261 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14262 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14263 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14264 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14265 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14266 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14267 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14268 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14269 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14270 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14271 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14272 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14273 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14274 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14275 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14276 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14277 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14278 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14279 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14280 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14281 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14282 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14283 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14284 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14285 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14286 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14287 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14288 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14289 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14290 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14291 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14292 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14293 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14294 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14295 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14296 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14297 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14298 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14299 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14300 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14301 Require >= 2.
14302 (FLT_ROUNDS): Expect as macro, not constant.
14303 (FLT_MANT_DIG): Use macro-int-constant.
14304 (DBL_MANT_DIG): Likewise.
14305 (LDBL_MANT_DIG): Likewise.
14306 (FLT_DIG): Likewise.
14307 (DBL_DIG): Likewise.
14308 (LDBL_DIG): Likewise.
14309 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14310 (DBL_MIN_EXP): Likewise.
14311 (LDBL_MIN_EXP): Likewise.
14312 (FLT_MAX_EXP): Use macro-int-constant.
14313 (DBL_MAX_EXP): Likewise.
14314 (LDBL_MAX_EXP): Likewise.
14315 (FLT_MAX_10_EXP): Likewise.
14316 (DBL_MAX_10_EXP): Likewise.
14317 (LDBL_MAX_10_EXP): Likewise.
14318 (FLT_MAX): Use macro-constant.
14319 (DBL_MAX): Likewise.
14320 (LDBL_MAX): Likewise.
14321 (FLT_EPSILON): Use macro-constant. Give upper bound.
14322 (DBL_EPSILON): Likewise.
14323 (LDBL_EPSILON): Likewise.
14324 (FLT_MIN): Likewise.
14325 (DBL_MIN): Likewise.
14326 (LDBL_MIN): Likewise.
14327 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14328 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14329 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14330 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14331 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14332 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14333 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14334 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14335 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14336 [ISO11] (FLT_TRUE_MIN): Likewise.
14337 [ISO11] (LDBL_TRUE_MIN): Likewise.
14338 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14339 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14340 (SCHAR_MIN): Use macro-int-constant. Specify type.
14341 (SCHAR_MAX): Likewise.
14342 (UCHAR_MAX): Likewise.
14343 (CHAR_MIN): Likewise.
14344 (CHAR_MAX): Likewise.
14345 (MB_LEN_MAX): Use macro-int-constant.
14346 (SHRT_MIN): Use macro-int-constant. Specify type.
14347 (SHRT_MAX): Likewise.
14348 (USHRT_MAX): Likewise.
14349 (INT_MAX): Likewise.
14350 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14351 bound negative.
14352 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14353 bound with "U".
14354 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14355 bound with "L".
14356 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14357 bound negative. Suffix upper bound with "L".
14358 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14359 bound with "UL".
14360 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14361 Specify type.
14362 [C99-based standards] (LLONG_MAX): Likewise.
14363 [C99-based standards] (ULLONG_MAX): Likewise.
14364 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14365 == 0.
14366 [ISO11] (max_align_t): Require type.
14367 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14368
c9140a62
JM
14369 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14370 from $CFLAGS, without defining away __attribute__ calls.
14371 (checknamespace): Use $CFLAGS_namespace.
14372
9af0bf29
JM
14373 * conform/conformtest.pl (@keywords): Only include C99 keywords
14374 for standards based on C99 or C11.
14375
343222a2
JM
14376 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14377 Disable tests.
14378 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14379 UNIX98]: Likewise.
14380
661f8cf0
JM
14381 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14382 usability of symbols in #if.
14383
ee74b9cb
JM
14384 * conform/conformtest.pl: If macro or constant types start
14385 "promoted:", expect the symbol to be of the following type
14386 promoted by the integer promotions.
62fde54f 14387
aafc49b3
JM
14388 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14389 in one place. Also handle "macro-constant".
14390
fefdf574
JM
14391 * conform/conformtest.pl: Only accept expected macro values with
14392 "==". Parse all "macro" lines in one place.
14393 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14394
f2d922fe
JM
14395 * conform/conformtest.pl: Handle braced types on "constant" lines
14396 instead of handling "typed-constant".
14397 * conform/data/signal.h-data: Use "constant" instead of
14398 "typed-constant".
14399
d22956c9
JM
14400 * conform/conformtest.pl: Handle "optional-" at start of lines in
14401 one place rather than duplicating several cases. Handle each
14402 format of "macro" line with initial "optional-".
14403
028e2e38
JM
14404 * conform/conformtest.pl: Only accept expected constant or
14405 optional-constant values with "==". Parse all "constant" lines in
14406 one place. Parse all "optional-constant" lines in one place.
14407 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14408 * conform/data/fmtmsg.h-data: Likewise.
14409 * conform/data/netinet/in.h-data: Likewise.
14410 * conform/data/tar.h-data: Likewise.
14411 * conform/data/limits.h-data: Use "==" form on "constant" and
14412 "optional-constant" lines.
14413
1b8f2850
JM
14414 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14415 Use -std=c99 for XOPEN2K.
14416 (@knownproblems): Remove.
14417 (newtoken): Don't check %isknown.
14418
a05a144b
JM
14419 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14420 Do not expect macro.
14421 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14422 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14423 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14424 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14425 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14426 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14427 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14428 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14429 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14430 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14431 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14432 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14433 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14434 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14435 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14436 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14437 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14438 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14439 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14440 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14441 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14442 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14443 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14444 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14445 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14446 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14447 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14448 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14449 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14450 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14451 [XPG3] (acosh): Likewise.
14452 [XPG3] (asinh): Likewise.
14453 [XPG3] (atanh): Likewise.
14454 [XPG3] (cbrt): Likewise.
14455 [XPG3] (expm1): Likewise.
14456 [XPG3] (ilogb): Likewise.
14457 [XPG3] (log1p): Likewise.
14458 [XPG3] (logb): Likewise.
14459 [XPG3] (nextafter): Likewise.
14460 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14461 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14462 [XPG3] (remainder): Likewise.
14463 [XPG3] (rint): Likewise.
14464 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14465 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14466 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14467 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14468 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14469 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14470 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14471 [UNIX98 || XOPEN2K] (scalb): Expect.
14472 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14473 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14474 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14475 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14476 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14477 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14478 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14479 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14480 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14481 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14482 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14483 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14484 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14485 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14486 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14487 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14488 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14489 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14490 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14491 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14492 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14493 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14494 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14495 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14496 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14497 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14498 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14499 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14500 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14501 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14502 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14503 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14504 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14505 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14506 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14507 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14508 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14509 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14510 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14511 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14512 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14513 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14514 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14515 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14516 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14517 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14518 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14519 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14520 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14521 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14522 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14523 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14524 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14525 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14526 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14527 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14528 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14529 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14530 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14531 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14532 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14533 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14534 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14535 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14536 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14537 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14538 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14539 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14540 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14541 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14542 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14543 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14544 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14545 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14546 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14547 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14548 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14549 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14550 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14551 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14552 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14553 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14554 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14555 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14556 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14557 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14558 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14559 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14560 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14561 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14562 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14563 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14564 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14565 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14566 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14567 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14568 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14569 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14570 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14571 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14572 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14573 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14574 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14575 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14576 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14577 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14578 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14579 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14580 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14581 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14582 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14583 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14584 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14585 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14586 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14587 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14588 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14589 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14590 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14591 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14592 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14593 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14594 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14595 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14596 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14597 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14598 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14599 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14600 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14601 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14602 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14603 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14604 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14605 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14606 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14607 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14608 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14609
73c5ebe3
JM
14610 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14611 _XOPEN_SOURCE_EXTENDED for XPG4.
14612
39c33b6c
JM
14613 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14614
62fde54f
JM
14615 * Makeconfig (localtime): Remove variable.
14616 (inst_localtime-file): Likewise.
14617
0741d64c
AS
146182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14619
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14621 Update.
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14623 Update.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14625 Update.
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14627 Update.
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14629 Update.
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14631 Update.
14632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14633 Update.
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14635 Update.
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14637 Update.
14638
7cb029ee
JM
146392012-05-01 Joseph Myers <joseph@codesourcery.com>
14640
14641 [BZ #2550]
14642 [BZ #2570]
14643 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14644 comparisons to determine direction to adjust input.
14645 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14646 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14647 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14648 Likewise.
14649 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14650 Likewise.
14651 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14652 Likewise.
14653 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14654 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14655 Likewise.
14656 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14657 Likewise.
14658 * math/libm-test.inc (nexttoward_test): Add more tests.
14659
412bd966
AS
146602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14661
14662 [BZ #14040]
14663 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14664 in version GLIBC_2.1, not GLIBC_2.0.
14665 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14666 Likewise.
14667
9568c0c2
JM
146682012-04-30 Joseph Myers <joseph@codesourcery.com>
14669
adfbc8ac
JM
14670 [BZ #13942]
14671 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14672 (1 - x) * (1 + x).
14673 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14674 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14675 * math/libm-test.inc (acos_test): Add more tests.
14676 (asin_test): Likewise.
14677 * sysdeps/i386/fpu/libm-test-ulps: Update.
14678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14679
5ba3cc69
JM
14680 [BZ #14034]
14681 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14682 of square root.
14683 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14684 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14685 * math/libm-test.inc (acos_test_tonearest): New function.
14686 (acos_test_towardzero): Likewise.
14687 (acos_test_downward): Likewise.
14688 (acos_test_upward): Likewise.
14689 (asin_test_tonearest): Likewise.
14690 (asin_test_towardzero): Likewise.
14691 (asin_test_downward): Likewise.
14692 (asin_test_upward): Likewise.
14693 (main): Call the new functions.
14694 * sysdeps/i386/fpu/libm-test-ulps: Update.
14695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14696
9568c0c2
JM
14697 [BZ #13884]
14698 [BZ #13924]
14699 * math/e_exp10.c: Include <float.h>.
14700 (__ieee754_exp10): Handle underflow here rather than multiplying
14701 large negative argument by M_LN10.
14702 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14703 of __ieee754_expf.
14704 * math/e_exp10l.c: Include <float.h>.
14705 (__ieee754_exp10l): Handle underflow here rather than multiplying
14706 large negative argument by M_LN10l.
14707 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14708 spurious overflow exception on underflow.
14709
5ac3ea17
MP
147102012-04-29 Marek Polacek <polacek@redhat.com>
14711
14712 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14713 (__fortify_function): New macro.
14714 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14715 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14716 __extern_always_inline.
14717 * libio/bits/stdio2.h: Likewise.
14718 * libio/bits/stdio.h: Likewise.
14719 * string/string.h: Likewise.
14720 * string/bits/string3.h: Likewise.
14721 * include/stdio.h: Likewise.
14722 * stdlib/bits/stdlib.h: Likewise.
14723 * stdlib/stdlib.h: Likewise.
14724 * rt/bits/mqueue2.h: Likewise.
14725 * rt/mqueue.h: Likewise.
14726 * posix/bits/unistd.h: Likewise.
14727 * posix/unistd.h: Likewise.
14728 * io/bits/poll2.h: Likewise.
14729 * io/bits/fcntl2.h: Likewise.
14730 * io/fcntl.h: Likewise.
14731 * io/sys/poll.h: Likewise.
14732 * misc/bits/syslog.h: Likewise.
14733 * misc/bits/syslog-ldbl.h: Likewise.
14734 * misc/sys/syslog.h: Likewise.
14735 * socket/bits/socket2.h: Likewise.
14736 * socket/sys/socket.h: Likewise.
14737 * debug/tst-chk1.c: Likewise.
14738 * wcsmbs/bits/wchar2.h: Likewise.
14739 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14740 * wcsmbs/wchar.h: Likewise.
14741
ecf0ebfb
AJ
147422012-04-29 Andreas Jaeger <aj@suse.de>
14743
14744 * Makerules (tests): Remove enable-check-abi protection.
14745 (check-abi-warn): Remove.
14746 (check-abi-%): Remove check-abi-warn usage.
14747
14748 * configure.in: Remove check-abi configure option.
14749 * configure: Regenerated.
14750 * config.make.in (enable-check-abi): Remove.
14751
6d5c57fa
AS
147522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14753
24c5d07e 14754 [BZ #14033]
ded5180a
AS
14755 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14756 double functions to double *_finite functions.
14757
7e0d315d
AS
14758 [BZ #13941]
14759 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14760 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14761 LDBL_MIN_EXP.
14762 * stdio-common/Makefile (tests): Add tst-sprintf3.
14763 * stdio-common/tst-sprintf3.c: New file.
14764
6d5c57fa
AS
14765 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14766 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14767
0749ff8b
JM
147682012-04-28 Joseph Myers <joseph@codesourcery.com>
14769
14770 * conform/conformtest.pl: Remove duplicate typed-constant
14771 handling.
14772
8dbd5d7b
DM
147732012-04-28 David S. Miller <davem@davemloft.net>
14774
14775 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14776 (check-abi-%): Remove AWK script prerequisite and explicit
14777 abilist directory.
14778 (check-abi): Rewrite to just diff the symlist with the abilist.
14779 (config-tls, config-abi-config): Delete, no longer used.
14780 (update-abi-%): Remove AWK script and explicit abilist directory.
14781 (update-abi): Rewrite to simply compare and conditionally copy the
14782 symlist and the sysdep abilist file. Remove update-abi-config
14783 checks.
14784 * abilist/ld.abilist: Remove.
14785 * abilist/libBrokenLocale.abilist: Remove.
14786 * abilist/libanl.abilist: Remove.
14787 * abilist/libcrypt.abilist: Remove.
14788 * abilist/libdl.abilist: Remove.
14789 * abilist/librt.abilist: Remove.
14790 * abilist/libthread_db.abilist: Remove.
14791 * abilist/libutil.abilist: Remove.
14792 * scripts/extract-abilist.awk: Remove.
14793 * scripts/merge-abilist.awk: Remove.
14794 * sysdeps/generic/libcidn.abilist: New file.
14795 * sysdeps/generic/libnss_compat.abilist: New file.
14796 * sysdeps/generic/libnss_db.abilist: New file.
14797 * sysdeps/generic/libnss_dns.abilist: New file.
14798 * sysdeps/generic/libnss_files.abilist: New file.
14799 * sysdeps/generic/libnss_hesiod.abilist: New file.
14800 * sysdeps/generic/libnss_nis.abilist: New file.
14801 * sysdeps/generic/libnss_nisplus.abilist: New file.
14802 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14803 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14804 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14805 file.
14806 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14807 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14808 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14809 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14810 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14811 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14812 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14813 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14814 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14815 file.
14816 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14817 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14818 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14819 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14820 file.
14821 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14822 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14823 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14824 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14825 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14826 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14827 file.
14828 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14829 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14830 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14831 file.
14832 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14834 New file.
14835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14836 New file.
14837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14838 New file.
14839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14840 New file.
14841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14842 New file.
14843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14844 New file.
14845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14846 New file.
14847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14848 New file.
14849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14850 New file.
14851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14852 New file.
14853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14854 New file.
14855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14856 New file.
14857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14858 New file.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14860 file.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14862 New file.
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14864 New file.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14866 file.
14867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14868 New file.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14870 New file.
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14872 file.
14873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14874 New file.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14876 New file.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14878 New file.
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14880 New file.
14881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14882 New file.
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14884 New file.
14885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14887 file.
14888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14889 New file.
14890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14891 file.
14892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14893 file.
14894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14895 file.
14896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14897 file.
14898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14899 file.
14900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14901 New file.
14902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14903 file.
14904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14905 file.
14906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14907 New file.
14908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14909 file.
14910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14912 file.
14913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14914 New file.
14915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14916 file.
14917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14918 file.
14919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14920 file.
14921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14922 file.
14923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14924 file.
14925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14926 New file.
14927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14928 file.
14929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14930 file.
14931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14932 New file.
14933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14934 file.
14935 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14936 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14937 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14938 file.
14939 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14940 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14941 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14942 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14943 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14944 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14945 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14946 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14947 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14948 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14951 file.
14952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14953 New file.
14954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14955 file.
14956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14957 file.
14958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14959 file.
14960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14961 file.
14962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14963 file.
14964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14965 New file.
14966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14967 New file.
14968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14969 file.
14970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14971 New file.
14972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14973 file.
14974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14976 file.
14977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14978 New file.
14979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14980 file.
14981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14982 file.
14983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14984 file.
14985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14986 file.
14987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14988 file.
14989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14990 New file.
14991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14992 New file.
14993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14994 file.
14995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14996 New file.
14997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14998 file.
14999
41d73a1b
JM
150002012-04-28 Joseph Myers <joseph@codesourcery.com>
15001
15002 * conform/conformtest.pl: Fix typo in handling typed-constant from
15003 allow-header.
15004
28aeeda4
JM
150052012-04-27 Joseph Myers <joseph@codesourcery.com>
15006
adae8f5e
JM
15007 * README: Cut down references to pre-2.6 Linux kernels and
15008 Linuxthreads. Update lists of configurations in libc and ports
15009 and sort alphabetically. Say "or newer" with Linux kernel version
15010 requirements.
15011
28aeeda4
JM
15012 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15013
a462cb63
RA
150142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15015
15016 [BZ #887]
15017 * math/libm-test.inc (logb_test_downward): New test to expose
15018 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15019 rounding mode.
15020
6ad3493e
JM
150212012-04-27 Joseph Myers <joseph@codesourcery.com>
15022
15023 [BZ #14027]
15024 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15025 to be done.
15026 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15027 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15028
2ce4f015
JM
150292012-04-26 Joseph Myers <joseph@codesourcery.com>
15030
5aeb141a
JM
15031 * sysdeps/unix/i386/brk.S: Remove file.
15032 * sysdeps/unix/i386/dl-brk.S: Likewise.
15033 * sysdeps/unix/i386/pipe.S: Likewise.
15034 * sysdeps/unix/i386/sigreturn.S: Likewise.
15035 * sysdeps/unix/i386/syscall.S: Likewise.
15036 * sysdeps/unix/i386/vfork.S: Likewise.
15037 * sysdeps/unix/i386/wait.S: Likewise.
15038
7143acae
JM
15039 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15040 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15041
2ce4f015
JM
15042 * configure.in (arm*-none*): Do not allow without
15043 --enable-hacker-mode.
15044 (netbsd*): Remove case setting base_os.
15045 (386bsd*): Likewise.
15046 (freebsd*): Likewise.
15047 (bsdi*): Likewise.
15048 (osf*): Likewise.
15049 (sunos*): Likewise.
15050 (ultrix*): Likewise.
15051 (newsos*): Likewise.
15052 (dynix*): Likewise.
15053 (*bsd*): Likewise.
15054 (sysv*): Likewise.
15055 (isc*): Likewise.
15056 (esix*): Likewise.
15057 (sco*): Likewise.
15058 (minix*): Likewise.
15059 (irix4*): Likewise.
15060 (irix6*): Likewise.
15061 (solaris[2-9]*): Likewise.
15062 (none): Likewise.
15063 * configure: Regenerated.
15064
0ac229c8
AZ
150652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15066
15067 [BZ #11521]
15068 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15069 overflow or cancellation in calculating denominator.
15070 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15072 down expression to avoid unexpected rounding in newer GCCs.
15073 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15074
33f244f4
DM
150752012-04-26 David S. Miller <davem@davemloft.net>
15076
15077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15078 long-double compat symbols.
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15092
cfa1f3e8
DM
150932012-04-25 David S. Miller <davem@davemloft.net>
15094
15095 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15096 HWCAP_* values only after the memory barriers have been defined.
15097 (atomic_full_barrier): Define.
15098 (atomic_read_barrier): Define.
15099 (atomic_write_barrier): Define.
15100
6e236b92
SP
151012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15102
15103 * shlib-versions: Add libgcc_s version information.
15104 * sysdeps/generic/libgcc_s.h: Remove.
15105 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15106 libgcc_s.h.
15107 * sysdeps/gnu/unwind-resume.c: Likewise.
15108 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15109
aab39a09
DM
151102012-04-25 David S. Miller <davem@davemloft.net>
15111
15112 * sysdeps/unix/sparc/brk.S: Delete.
15113 * sysdeps/unix/sparc/dl-brk.S: Delete.
15114 * sysdeps/unix/sparc/pipe.S: Delete.
15115 * sysdeps/unix/sparc/sysdep.S: Delete.
15116 * sysdeps/unix/sparc/sysdep.h: Delete.
15117 * sysdeps/unix/sparc/vfork.S: Delete.
15118 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15119 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15120 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15121 ret_ERRVAL, r0, r1, MOVE): Define.
15122 (JUMPTARGET): Remove.
15123 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15124 sysdeps/unix/sparc/sysdep.h
15125 (ENTRY, END): Remove.
15126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15127
a3cc4f48
JM
151282012-04-25 Joseph Myers <joseph@codesourcery.com>
15129
2ed8cda2
JM
15130 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15131 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15132 -DIS_IN_build.
15133
35d76d59
JM
15134 * timezone/README: Update upstream location and email address for
15135 tzcode and tzdata.
15136 * timezone/zdump.c: Update from tzcode 2012b.
15137 * timezone/zic.c: Likewise.
15138
a3cc4f48
JM
15139 * configure.in (libc_cv_as_needed): Remove test.
15140 * configure: Regenerated.
15141 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15142 conditional definition.
15143 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15144 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15145 * config.make.in (have-as-needed): Remove variable.
15146
ceab42c3
SP
151472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15148 Paul Pluzhnikov <ppluzhnikov@google.com>
15149
15150 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15151 strings correctly.
15152
3ce2865f
CLT
151532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15154
15155 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15156 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15157 * sysdeps/sh/strlen.S: Likewise.
15158
f37e0d68
JM
151592012-04-24 Joseph Myers <joseph@codesourcery.com>
15160
ae186e9a
JM
15161 * sysdeps/unix/fork.S: Remove file.
15162 * sysdeps/unix/i386/fork.S: Likewise.
15163 * sysdeps/unix/sparc/fork.S: Likewise.
15164
b96914af
JM
15165 * sysdeps/unix/system.c: Remove file.
15166 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15167
f37e0d68
JM
15168 * sysdeps/unix/getegid.S: Remove file.
15169 * sysdeps/unix/geteuid.S: Likewise.
15170
87ef29ca
RM
151712012-04-24 Roland McGrath <roland@hack.frob.com>
15172
83bcd236
RM
15173 * scripts/check-localplt.awk: New file.
15174 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15175 of diff.
15176 * scripts/data/localplt-generic.data: Add a comment.
15177
87ef29ca
RM
15178 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15179 NODE when __dir_mkfile failed.
15180 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15181 Reported by Ludovic Courtès <ludo@gnu.org>.
15182
e5a6e567
AJ
151832012-04-24 Andreas Jaeger <aj@suse.de>
15184
15185 * Makerules (common-clean): Also remove gen-as-const-headers
15186 files.
15187
c1820385
JM
151882012-04-24 Joseph Myers <joseph@codesourcery.com>
15189
15190 * Makerules (native-compile): Do not change working directory for
15191 build. Use $(OUTPUT_OPTION) in command.
15192 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15193
94e02fc4
AZ
151942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15195
15196 [BZ #13886]
15197 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15198 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15199 * math/libm-test.inc (floor_test): Add more tests.
15200 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15201
3a533ca3
JM
152022012-04-24 Joseph Myers <joseph@codesourcery.com>
15203
940ab4b3
JM
15204 * sysdeps/unix/getdents.c: Remove file.
15205 * sysdeps/unix/sysv/getdents.c: Likewise.
15206 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15207
90e037bd
JM
15208 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15209 sysdeps/unix/mman/syscalls.list.
15210 (mmap): Likewise.
15211 (mprotect): Likewise.
15212 (msync): Likewise.
15213 (munmap): Likewise.
15214 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15215 * sysdeps/unix/mman/syscalls.list: Remove.
15216 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15217
3a533ca3
JM
15218 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15219 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15220 * configure: Regenerated.
15221 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15222 $(libgcc_s_suffix).
15223 * config.make.in (libgcc_s_suffix): Remove variable.
15224
1ad743de
JM
152252012-04-23 Joseph Myers <joseph@codesourcery.com>
15226
4ad451e2
JM
15227 * sysdeps/unix/sysv/gethostname.c: Move to ...
15228 * sysdeps/posix/gethostname.c: ... here.
15229
5e37ce39
JM
15230 * sysdeps/unix/execve.S: Remove file.
15231
1ad743de
JM
15232 * sysdeps/unix/_exit.S: Remove file.
15233
4e681b5b
AJ
152342012-04-23 Andreas Jaeger <aj@suse.de>
15235
15236 [BZ #13739]
15237 * manual/Makefile: Remove make dist support, there's no
15238 need for a stand-alone documentation tar ball.
15239 (TEXI2DVI): Define always, it's not in Makeconfig.
15240 (dist): Removed.
15241 (tar-it): Removed.
15242 (edition): Removed.
15243 (glibc-doc-$(edition).tar): Removed
15244 (%.Z): Removed.
15245 (%.gz): Removed.
15246 (%.uu): Removed.
15247 (ETAGS): Remove, it's in Makeconfig.
15248 (move-if-change): Remove, it's in Makeconfig.
15249
38686a03 152502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15251
15252 [BZ #13970]
15253 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15254 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15255 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15256 (strtod_l, strtof_l, strtold_l): Remove __wur.
15257 It is not necessarily an error to ignore strtol's return value.
15258 One can reliably look at the stored endptr to decide whether
15259 the number had valid syntax.
15260
7c0616fa
AJ
152612012-04-21 Andreas Jaeger <aj@suse.de>
15262
803cb6b7 15263 [BZ #13739]
7c0616fa
AJ
15264 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15265
b0fe253f
JM
152662012-04-21 Joseph Myers <joseph@codesourcery.com>
15267
15268 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15269 * sysdeps/unix/sysv/Versions: Remove file.
15270
8280f22d
MT
152712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15272
15273 [BZ #13927]
15274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15275
75ce411f 152762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15277
15278 [BZ #7064]
15279 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15280 version from __vm86.
15281
097d59fa
JM
152822012-04-20 Joseph Myers <joseph@codesourcery.com>
15283
a90f3bcb
JM
15284 * sysdeps/unix/common/lxstat.c: Remove file.
15285 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15286
edc7ea78
JM
15287 * sysdeps/unix/sysv/Makefile: Remove file.
15288
cb78c221
JM
15289 * sysdeps/unix/sysv/direct.h: Remove file.
15290
efa6a45f
JM
15291 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15292 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15293 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15294 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15295 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15296 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15297 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15298
9c9f2d0c
JM
15299 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15300
4541c83b
JM
15301 * sysdeps/unix/xmknod.c: Remove file.
15302 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15303
f5d153a0
JM
15304 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15305
aa746595
JM
15306 * sysdeps/unix/sysv/i386/time.S: Remove file.
15307
cce5905e
JM
15308 * sysdeps/unix/fxstat.c: Remove file.
15309 * sysdeps/unix/xstat.c: Likewise.
15310 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15311
37fa3841
JM
15312 * sysdeps/unix/sysv/sigaction.c: Remove file.
15313
ff1962a3
JM
15314 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15315 (sysdep_headers): Remove variable.
15316 [termio.h not in sysdep_headers] (generated): Likewise.
15317 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15318 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15319 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15320 * sysdeps/unix/sysv/tcflow.c: Likewise.
15321 * sysdeps/unix/sysv/tcflush.c: Likewise.
15322 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15323 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15324 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15325 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15326 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15327
e7740d31
JM
15328 * sysdeps/unix/siglist.c: Remove file.
15329
ee06f18b
JM
15330 * sysdeps/unix/getppid.S: Remove file.
15331
097d59fa
JM
15332 * sysdeps/unix/mkdir.c: Remove file.
15333 * sysdeps/unix/rmdir.c: Likewise.
15334
ff3d51ec
AS
153352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15336
15337 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15338 ERR_MAX value.
15339 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15340 errlist-compat value.
15341
50f81fd7
DM
153422012-04-18 David S. Miller <davem@davemloft.net>
15343
15344 * sysdeps/generic/memcopy.h (reg_char): Delete.
15345 * debug/strcat_chk.c: Use char, not reg_char.
15346 * debug/strcpy_chk.c: Likewise.
15347 * debug/strncat_chk.c: Likewise.
15348 * debug/strncpy_chk.c: Likewise.
15349 * string/memchr.c: Likewise.
15350 * string/memrchr.c: Likewise.
15351 * string/rawmemchr.c: Likewise.
15352 * string/strcat.c: Likewise.
15353 * string/strchr.c: Likewise.
15354 * string/strchrnul.c: Likewise.
15355 * string/strcmp.c: Likewise.
15356 * string/strcpy.c: Likewise.
15357 * string/strncat.c: Likewise.
15358 * string/strncmp.c: Likewise.
15359 * string/strncpy.c: Likewise.
15360
8ff41c46
WS
153612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15362
15363 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15364 __builtin_memcopy is called when src and dest ranges are known to not
15365 overlap.
15366
6b652f46
WS
153672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15368
15369 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15370 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15371 fwd_align_merge macro call.
15372 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15373 bwd_align_merge macro call.
15374 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15375
b282631e
WS
153762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15377
15378 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15379 bwd_align_merge macros.
15380 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15381 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15382 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15383
95aa737c
DM
153842012-04-18 David S. Miller <davem@davemloft.net>
15385
15386 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15387
7a99a614
AJ
153882012-04-18 Andreas Jaeger <aj@suse.de>
15389
15390 [BZ# 6794]
15391 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15392 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15393 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15394
15395 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15396 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15397 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15398
15399 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15400 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15401 Adjust for changed ldbl-128 files.
15402
15403 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15404 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15405 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15406
e5270c23
DM
154072012-04-17 David S. Miller <davem@davemloft.net>
15408
15409 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15410
fb5e92c9
AS
154112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15412
15413 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15414 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15415 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15416 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15417 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15418 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15419
76da7265
AZ
154202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15421
15422 [BZ #6794]
15423 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15424 * math/libm-test.inc: Add ilogb errno and exception tests.
15425 * math/w_ilogb.c: New file: ilogb wrapper.
15426 * math/w_ilogbf.c: New file: ilogbf wrapper.
15427 * math/w_ilogbl.c: New file: ilogbl wrapper.
15428 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15429 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15430 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15431 exception being thrown with 0.0 as argument.
15432 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15433 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15434 exception being thrown with 0.0 as argument.
15435 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15436 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15437 exception being thrown with 0.0 as argument.
15438 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15439 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15440 exception being thrown with 0.0 as argument.
15441 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15442 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15443 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15444 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15445 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15446 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15447 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15448 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15449 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15450
0396e69d
PB
154512012-04-17 Petr Baudis <pasky@ucw.cz>
15452
15453 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15454 with altivec.
15455
750b5926
MP
154562012-04-16 Marek Polacek <polacek@redhat.com>
15457
15458 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15459
751728a1
MP
154602012-04-16 Marek Polacek <polacek@redhat.com>
15461
15462 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15463 operands of fdivp instruction.
15464
34a27407
L
154652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15466
15467 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15468 * elf/tst-auditmod3b.c: Likewise.
15469 * elf/tst-auditmod4b.c: Likewise.
15470 * elf/tst-auditmod5b.c: Likewise.
15471 * elf/tst-auditmod6b.c: Likewise.
15472 * elf/tst-auditmod6c.c: Likewise.
15473 * elf/tst-auditmod7b.c: Likewise.
15474 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15475 * sysdeps/x86_64/preconfigure.in: Likewise.
15476 * sysdeps/x86_64/preconfigure: Regenerated.
15477
7e73e17d
L
154782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15479
15480 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15481 __ILP32__.
15482
c7a6ab72
AB
154832012-04-13 Antoine Balestrat <merkil33@gmail.com>
15484
15485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15486 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15487
a9e8e0e0
CL
154882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15489
15490 [BZ #13973]
15491 * locale/iso-639.def: Fix gl language name. Spotted by
15492 Yaron Shahrabani.
15493
ec98af7d
RM
154942012-04-12 Roland McGrath <roland@hack.frob.com>
15495
15496 [BZ #2074]
15497 * libio/libio.h (__io_write_fn): Update comment.
15498
247c3ede
PB
154992012-04-12 Petr Baudis <pasky@ucw.cz>
15500
15501 [BZ #2074]
15502 * stdio.texi (Hook Functions): The user provided writer function
15503 is not allowed to return -1.
15504
55939d6d
DM
155052012-04-11 David S. Miller <davem@davemloft.net>
15506
15507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15508
90020f5a
MF
155092012-04-11 Mike Frysinger <vapier@gentoo.org>
15510
15511 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15512 Add a leading slash to rtkaio.
15513
288f9098
JM
155142012-04-11 Jim Meyering <meyering@redhat.com>
15515
90020f5a
MF
15516 [BZ #11959]
15517 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15518 It is not necessarily an error to ignore fwrite's return
15519 value. One can reliably use ferror to test for errors after
15520 the fact.
288f9098 15521
4be2b570
L
155222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15523
15524 * bits/types.h (__snseconds_t): New type.
15525 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15526
15527 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15528 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15529 (__SNSECONDS_T_TYPE): Likewise.
15530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15531 (__SNSECONDS_T_TYPE): Likewise.
15532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15533 (__SNSECONDS_T_TYPE): Likewise.
15534
288f9098 155352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15536
15537 [BZ #2636]
15538 * manual/time.texi (Processor Time): Return type of times is
15539 elapsed real time since an arbitrary point in the past.
15540 (CPU Time): Move CLK_TCK from here...
15541 (Processor Time): ...to here. Correct description.
15542 * manual/conf.texi (Constants for Sysconf): Correct description of
15543 _SC_CLK_TCK.
15544
d7dd4413
DM
155452012-04-10 David S. Miller <davem@davemloft.net>
15546
15547 [BZ #13967]
15548 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15549 where the is a gap between DT_REL(A) and DT_JMPREL.
15550
b46068fc
L
155512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15552
15553 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15554 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15555 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15556
73d65cc3
SP
155572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15558
15559 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15560 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15561 (dl_main): Handle --inhibit-cache.
15562 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15563 _dl_inhibit_cache.
15564 * elf/dl-load.c (_dl_map_object): Use it.
15565 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15566
bcc8d661
JM
155672012-04-09 Joseph Myers <joseph@codesourcery.com>
15568
8f9a2fae
JM
15569 [BZ #13872]
15570 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15571 (__ieee754_powl): Saturate large exponents rather than testing for
15572 overflow of y*log2(x).
15573 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15574 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15575 exceptions.
15576
bcc8d661
JM
15577 [BZ #11521]
15578 * math/s_ctan.c: Include <float.h>.
15579 (__ctan): Avoid internal overflow or cancellation in calculating
15580 denominator.
15581 * math/s_ctanf.c: Likewise.
15582 * math/s_ctanl.c: Likewise.
15583 * math/s_ctanh.c: Likewise.
15584 * math/s_ctanhf.c: Likewise.
15585 * math/s_ctanhl.c: Likewise.
15586 * math/libm-test.inc (ctan_test): Add more tests.
15587 (ctanh_test): Likewise.
15588 * sysdeps/i386/fpu/libm-test-ulps: Update.
15589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15590
823fbbb4
AJ
155912012-04-09 Andreas Jaeger <aj@suse.de>
15592
03879793
AJ
15593 [BZ #6894]
15594 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15595 is an optional BSD extension.
15596
823fbbb4
AJ
15597 [BZ #10254]
15598 * manual/stdio.texi (Opening Streams): Document additional fopen
15599 parameters.
15600
8de131cb
RM
156012012-04-09 Roland McGrath <roland@hack.frob.com>
15602
15603 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15604 %eax without telling the compiler.
15605
c0ed9d7d
CD
156062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15607
15608 [BZ # 13963]
15609 * manual/install.texi: Use sourceware.org.
15610
c483f6b4
JM
156112012-04-09 Joseph Myers <joseph@codesourcery.com>
15612
d7dd9453
JM
15613 [BZ #13873]
15614 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15615 (__ieee754_pow): Generate overflow and underflow using huge*huge
15616 and tiny*tiny rather than just returning constant infinity or zero
15617 for large exponents.
15618 * math/libm-test.inc (pow_test): Require overflow exceptions for
15619 applicable cases of large exponents.
15620
c483f6b4
JM
15621 [BZ #706]
15622 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15623 (__ieee754_pow): Use iterative multiplication algorithm only for
15624 integer exponents with absolute value below 1024. Check for odd
15625 integer exponents when using algorithm for real exponents.
15626 * math/libm-test.inc (pow_test): Add more tests.
15627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15628
d2de7579
JM
156292012-04-08 Joseph Myers <joseph@codesourcery.com>
15630
15631 [BZ #13705]
15632 * math/libm-test.inc (exp_test): Do not allow overflow exception
15633 on underflow test.
15634
f77f1232
AJ
156352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15636
15637 [BZ #13705]
15638 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15639 instead of __kernel_standard_f.
15640
3884932b
MF
156412012-04-08 Mike Frysinger <vapier@gentoo.org>
15642
15643 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15644 * sysdeps/x86_64/memset_chk.S: Likewise.
15645
54472e9c
AJ
156462012-04-08 Andreas Jaeger <aj@suse.de>
15647
6ab0fbfc
AJ
15648 [BZ #10153]
15649 * manual/startup.texi (Environment Access): Describe return value
15650 for putenv and setenv.
15651
61efba8c
AJ
15652 [BZ #6895]
15653 * manual/filesys.texi (Directory Entries): Add description for
15654 DT_LNK.
15655
95c3f29a
AJ
15656 [BZ #6890]
15657 * manual/filesys.texi (Directory Entries): Clarify that it's file
15658 system not operating system in the description of DT_UNKNOWN.
15659
54472e9c
AJ
15660 [BZ #6578]
15661 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15662
624254b1
SC
156632012-04-08 Stephen Compall <s11@member.fsf.org>
15664
15665 [BZ #6649]
15666 * manual/llio.texi (Opening and Closing Files): Add cross
15667 reference to explain mode argument.
15668
1e4920e0
MF
156692012-04-07 Mike Frysinger <vapier@gentoo.org>
15670
15671 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15672 * sysdeps/x86_64/memset_chk.S: Likewise.
15673
5ed848f3
DM
156742012-04-07 David S. Miller <davem@davemloft.net>
15675
15676 * elf/elf.h (R_SPARC_WDISP10): Define.
15677 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15678 R_SPARC_SIZE32.
15679 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15680 R_SPARC_SIZE64 and R_SPARC_H34.
15681
96154cd8
CD
156822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15683
15684 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15685 conditions and remove no longer applicable assertion.
15686
9904dc47
L
156872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15688
15689 * bits/byteswap.h: Include <features.h>.
15690 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15691 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15692
f8887d0a
L
156932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15694
15695 * bits/byteswap.h (__bswap_16): Removed.
15696 Include <bits/byteswap-16.h> to get __bswap_16.
15697 * sysdeps/i386/bits/byteswap.h: Likewise.
15698 * sysdeps/s390/bits/byteswap.h: Likewise.
15699 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15700 * bits/byteswap-16.h: New file.
15701 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15702 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15703 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15704 * string/Makefile (headers): Add bits/byteswap-16.h.
15705
62470f60
PP
157062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15707
15708 [BZ #13895]
15709 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15710 extra indirection.
15711 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15712 * nss/tst-nss-static.c: New.
15713
4dad7bab
RM
157142012-04-06 Robert Millan <rmh@gnu.org>
15715
15716 [BZ #6486]
15717 * manual/llio.texi (File Position Primitive): lseek
15718 refers to WHENCE when it really means OFFSET.
15719
e9142a17
AJ
157202012-04-06 Andreas Jaeger <aj@suse.de>
15721
2c040eff
AJ
15722 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15723 strncmp declarations.
15724
e9142a17
AJ
15725 * abilist/libc.abilist: Add __poll and __ppoll.
15726
ff9f1c5f
DM
157272012-04-05 David S. Miller <davem@davemloft.net>
15728
dcd2ae90
DM
15729 * scripts/check-local-headers.sh: Accept a host triplet in the
15730 path matched by the exclude regexp.
15731
993eb054
DM
15732 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15733 definition.
15734 * sysdeps/powerpc/powerpc32/dl-machine.h
15735 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15736 * sysdeps/s390/s390-32/dl-machine.h
15737 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15738 * sysdeps/sparc/sparc32/dl-machine.h
15739 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15740 * sysdeps/sparc/sparc64/dl-machine.h
15741 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15742
ff9f1c5f
DM
15743 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15744 lazy binding.
48e2e132 15745 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
15746 undefined symbol errors.
15747
48e2e132 15748 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
15749 DT_NEEDED entries.
15750
e80d6f94
MM
157512012-04-05 Michael Matz <matz@suse.de>
15752
15753 [BZ #13592]
15754 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15755
349fa79f
AJ
157562012-04-05 Andreas Jaeger <aj@suse.de>
15757
15758 [BZ #13908]
15759 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15760 comment.
15761
f402708f
KK
157622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15763
15764 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15765 which ROUND is no valid rounding mode.
15766
2ecccfc9
KK
157672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15768
15769 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15770 read again.
15771 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15772
8a53f50f
KK
157732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15774
15775 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15776 an exception using FPU order intentionally.
15777
157782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15779
15780 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15781 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15782 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15783 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15784
d653abb7
SJ
157852012-04-05 Simon Josefsson <simon@josefsson.org>
15786
15787 [BZ #12340]
15788 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15789 EINVAL when BUFLEN is too smal.
15790
c3b1bf7d
TS
157912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15792
15793 [BZ #13553]
15794 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15795 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15796
b1aa60f3
AJ
157972012-04-03 Andreas Jaeger <aj@suse.de>
15798
c3b1bf7d 15799 [BZ #13938]
67f60a26
AJ
15800 * manual/setjmp.texi (System V contexts): Fix sentence.
15801
b1aa60f3
AJ
15802 [BZ #13926]
15803 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15804 New macro for this case.
15805 [!__GNUC__] (__bswap_64): New inline function for this case.
15806 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15807 * bits/byteswap.h: Likewise.
15808 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15809 ull, guard with __GLIBC_HAVE_LONG_LONG.
15810
15811 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15812 __GLIBC_HAVE_LONG_LONG.
15813
15814 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15815 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15816
39c59c35
TMQMF
158172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15818
15819 [BZ #13691]
15820 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15821 inptr and inend, rather than using last_ch.
15822
135ffda8
DM
158232012-04-02 David S. Miller <davem@davemloft.net>
15824
15825 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15826 * stdio-common/printf-parse.h (read_int): Change return type to
15827 'int', return -1 on INT_MAX overflow.
15828 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15829 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15830 overflows INT_MAX. Check for overflow of in-format-string precision
15831 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15832 SIZE_MAX not INT_MAX for integer overflow test.
15833 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15834 skip the construct in the format string but do not record anything.
15835 * stdio-common/bug22.c: Adjust to test both width/prevision
15836 INT_MAX overflow as well as total length INT_MAX overflow. Check
15837 explicitly for proper errno values.
15838
228c019e
TS
158392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15840
302cadd3
TS
15841 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15842 CHAR_MAX.
15843 * string/test-strcmp.c [! WIDE]: Likewise.
15844 * time/tst-mktime2.c: Likewise for INT_MAX.
15845 * string/test-string.h: #include <sys/param.h> for MIN.
15846
228c019e
TS
15847 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15848 * sysdeps/i386/init-first.c (init): Likewise.
15849 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15850 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15851 * sysdeps/sh/init-first.c (init): Likewise.
15852
cfa633f5
UD
158532012-04-01 Ulrich Drepper <drepper@gmail.com>
15854
15855 * po/ru.po: Update from translation team.
d1635ef8 15856 * po/vi.po: Likewise.
cfa633f5 15857
6cd0a5ea
SP
158582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15859
15860 * resolv/nss_dns/dns-host.c: Merge copyright years.
15861
4b43400f
LD
158622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15863
15864 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15865 Optimize memcpy with prefetch if
15866 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15867 src, dst pointers have unequal 16 byte alignments.
15868
48c41d04
SP
158692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15870
15871 [BZ #13928]
15872 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15873 from a CNAME entry and return the minimum ttl for the query.
15874 (gaih_getanswer_slice): Likewise.
15875
b8dc394d
JL
158762012-03-30 Jeff Law <law@redhat.com>
15877
15878 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15879 due to long keys.
15880 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15881 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15882
2f5a5ed0
JL
15883 * resolv/nss_dns/dns-host.c: Update copyright year.
15884
1d39e359
UD
158852012-03-30 Ulrich Drepper <drepper@gmail.com>
15886
c030f70c 15887 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15888 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15889
1d39e359
UD
15890 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15891 comments for sendmmsg.
15892
158932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15894
15895 [BZ #13691]
15896 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15897 with only 1 character between 0x0041 and 0x01b0.
15898 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15899 * wcsmbs/tst-mbsnrtowcs.c: New file.
15900
20fde227
DM
159012012-03-29 David S. Miller <davem@davemloft.net>
15902
15903 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15904 small copies by hand.
15905
984a4237
JL
159062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15907
15908 [BZ #13761]
15909 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15910 _nss_compat_initgroups_dyn): Fall back to malloc/free
15911 for large group memberships.
15912
18c9d62b
DM
159132012-03-28 David S. Miller <davem@davemloft.net>
15914
88d85d4f
DM
15915 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15916 that branches into memcpy.
15917 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15918 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15919 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15920 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15922 bits.
15923 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15924 implementation too.
15925 * sysdeps/sparc/mempcpy.S: New file.
15926
e5aa83e1
DM
15927 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15928 the IFUNC routine in the libc case.
15929 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15930
88570753
DM
15931 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15932 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15933 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15934 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15935 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15936 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15937 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15938 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15939
249d7567
DM
15940 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15941 loop to 256 bytes instead of 64 bytes and fix test signedness.
15942
18c9d62b
DM
15943 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15944 * sysdeps/sparc/sparc32/Makefile: rather than here...
15945 * sysdeps/sparc/sparc64/Makefile: and here.
15946
05f3d1f6
UD
159472012-03-28 Ulrich Drepper <drepper@gmail.com>
15948
15949 * malloc/mallocbug.c: Avoid warnings about unused variables.
15950
86ae07a8
JL
159512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15952
15953 [BZ #13760]
15954 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15955 in the right place. Discard and retry query if response is
15956 larger than input buffer size.
15957
41bf21a1
JM
159582012-03-28 Joseph Myers <joseph@codesourcery.com>
15959
d6270972
JM
15960 [BZ #369]
15961 [BZ #2678]
15962 [BZ #3866]
15963 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15964 x for large integer exponent.
15965 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15966 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15967 sign of result as needed afterwards.
15968 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15969 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15970 result for underflowing pow the same as for overflow.
15971 (__kernel_standard_l): Handle powl overflow and underflow here
15972 rather than calling __kernel_standard.
15973 * math/libm-test.inc (pow_test): Add more tests.
15974
414fca03 15975 [BZ #3868]
41bf21a1
JM
15976 [BZ #13879]
15977 [BZ #13910]
15978 [BZ #13911]
15979 [BZ #13912]
15980 [BZ #13913]
15981 [BZ #13915]
15982 [BZ #13916]
15983 [BZ #13917]
15984 [BZ #13918]
15985 [BZ #13919]
15986 [BZ #13920]
15987 [BZ #13921]
15988 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15989 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15990 (__kernel_standard_l): New function.
15991 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15992 __kernel_standard.
15993 * math/w_acosl.c (__acosl): Likewise.
15994 * math/w_asinl.c (__asinl): Likewise.
15995 * math/w_atan2l.c (__atan2l): Likewise.
15996 * math/w_atanhl.c (__atanhl): Likewise.
15997 * math/w_coshl.c (__coshl): Likewise.
15998 * math/w_exp10l.c (__exp10l): Likewise.
15999 * math/w_exp2l.c (__exp2l): Likewise.
16000 * math/w_fmodl.c (__fmodl): Likewise.
16001 * math/w_hypotl.c (__hypotl): Likewise.
16002 * math/w_j0l.c (__j0l, __y0l): Likewise.
16003 * math/w_j1l.c (__j1l, __y1l): Likewise.
16004 * math/w_jnl.c (__jnl, __ynl): Likewise.
16005 * math/w_lgammal.c (__lgammal): Likewise.
16006 * math/w_log10l.c (__log10l): Likewise.
16007 * math/w_log2l.c (__log2l): Likewise.
16008 * math/w_logl.c (__logl): Likewise.
16009 * math/w_powl.c (__powl): Likewise.
16010 * math/w_remainderl.c (__remainderl): Likewise.
16011 * math/w_scalbl.c (sysv_scalbl): Likewise.
16012 * math/w_sinhl.c (__sinhl): Likewise.
16013 * math/w_sqrtl.c (__sqrtl): Likewise.
16014 * math/w_tgammal.c (__tgammal): Likewise.
16015 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16016 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16017 * math/libm-test.inc (acos_test): Add more tests.
16018 (acosh_test): Likewise.
16019 (asin_test): Likewise.
16020 (atanh_test): Likewise.
16021 (exp_test): Likewise.
16022 (exp10_test): Likewise.
16023 (exp2_test): Likewise.
16024 (expm1_test): Likewise.
16025 (lgamma_test): Likewise.
16026 (log_test): Likewise.
16027 (log10_test): Likewise.
16028 (log1p_test): Likewise.
16029 (log2_test): Likewise.
16030 (pow_test): Do not allow some spurious overflow exceptions.
16031 (sqrt_test): Add more tests.
16032 (tgamma_test): Likewise.
16033 (y0_test): Likewise.
16034 (y1_test): Likewise.
16035 (yn_test): Likewise.
16036
dd62fda6
AB
160372012-03-27 Anton Blanchard <anton@samba.org>
16038
16039 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16040 MAP_HUGETLB.
16041 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16042 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16043 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16044
1e3cdfda
AJ
160452012-03-27 David S. Miller <davem@davemloft.net>
16046
b855ab85
DM
16047 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16048
1e3cdfda
AJ
16049 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16050 have-as-vis3 check.
16051
160522012-03-27 Andreas Jaeger <aj@suse.de>
16053
16054 * sysdeps/x86_64/elf/configure.in: Moved to ...
16055 * sysdeps/x86_64/configure.in: ... here.
16056 * sysdeps/x86_64/elf/start.S: Moved to ...
16057 * sysdeps/x86_64/start.S: ... here.
16058 * sysdeps/x86_64/elf/configure: Delete.
16059
16060 * sysdeps/x86_64/configure.in: Merge contents from
16061 sysdeps/i386/configure.in (without i686 check).
16062
16063 * sysdeps/i386/elf/Versions: Merge into ...
16064 * sysdeps/i386/Versions: ... this.
16065 * sysdeps/i386/elf/Versions: Delete file.
16066 * sysdeps/i386/elf/start.S: Moved to ...
16067 * sysdeps/i386/start.S: ...here.
16068 * sysdeps/i386/elf/configure.in: Merge into...
16069 * sysdeps/i386/configure.in: ...here.
16070 * sysdeps/i386/elf/configure.in: Delete file.
16071 * sysdeps/i386/elf/configure: Delete file.
16072
16073 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16074 * debug/backtracesyms.c: ... here.
16075 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16076 * debug/backtracesymsfd.c: ... here.
16077 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16078 * sysdeps/generic/ifunc-sel.h: ... here.
16079
16080 * sysdeps/unix/i386/start.c: Delete file.
16081 * sysdeps/unix/sparc/start.c: Delete file.
16082 * sysdeps/unix/start.c: Delete file.
16083
16084 * sysdeps/sh/elf/configure.in: Moved to ...
16085 * sysdeps/sh/configure.in: ... here.
16086 * sysdeps/sh/elf/start.S: Moved to ...
16087 * sysdeps/sh/start.S: ... here.
16088 * sysdeps/sh/elf/configure: Delete file.
16089
16090 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16091 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16092 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16093 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16094 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16095 * sysdeps/powerpc/powerpc64/start.S: here.
16096 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16097 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16098 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16099 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16100 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16101
16102 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16103 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16104 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16105 * sysdeps/powerpc/powerpc32/start.S: ... here.
16106 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16107 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16108 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16109
16110 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16111 * sysdeps/powerpc/ifunc-sel.h: ... here.
16112 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16113 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16114
16115 * sysdeps/sparc/elf/configure.in: Moved to ...
16116 * sysdeps/sparc/configure.in: ... here.
16117 * sysdeps/sparc/elf/configure: Delete file.
16118 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16119 * sysdeps/sparc/sparc32/start.S: ... here.
16120 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16121 * sysdeps/sparc/sparc64/start.S: ... here.
16122 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16123 * sysdeps/sparc/sparc32/Makefile: ... this.
16124 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16125 * sysdeps/sparc/sparc64/Makefile: ... this.
16126
16127 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16128 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16129 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16130 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16131 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16132 * sysdeps/s390/s390-32/setjmp.S: ... here.
16133 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16134 * sysdeps/s390/s390-32/configure.in: ... here.
16135 * sysdeps/s390/s390-32/elf/configure: Delete file.
16136 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16137 * sysdeps/s390/s390-32/start.S: ... here.
16138
16139 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16140 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16141 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16142 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16143 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16144 * sysdeps/s390/s390-64/setjmp.S: ... here.
16145 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16146 * sysdeps/s390/s390-64/configure.in: ... here
16147 * sysdeps/s390/s390-64/elf/configure: Delete file.
16148 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16149 * sysdeps/s390/s390-64/start.S: ... here.
16150 * sysdeps/s390/s390-64/elf/configure: Delete.
16151
16152 * configure.in: Remove support for elf directories in sysdeps.
16153
16154 * configure: Regenerated.
16155 * sysdeps/i386/configure: Regenerated.
16156 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16157 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16158 * sysdeps/s390/s390-32/configure: Regenerated.
16159 * sysdeps/s390/s390-64/configure: Regenerated.
16160 * sysdeps/sh/configure: Regenerated.
16161 * sysdeps/sparc/configure: Regenerated.
16162 * sysdeps/x86_64/configure: Regenerated.
16163
a3f61311
AS
161642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16165
c876e002
AS
16166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16167
a3f61311
AS
16168 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16169 denormal result into account.
16170
ac4c54f0
RM
161712012-03-25 Roland McGrath <roland@hack.frob.com>
16172
16173 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16174 Reported by Allan McRae <allan@archlinux.org>.
16175
6a9b9c02
JL
161762012-03-23 Jeff Law <law@redhat.com>
16177
16178 * nss/getnssent.c (__nss_getent): Fix typo.
16179
4c42a0c1
DM
161802012-03-23 David S. Miller <davem@davemloft.net>
16181
16182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16183
1532c7ac
L
161842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16185
16186 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16187 to pad to uint64_t for each field.
16188 (dl_tls_index): Replace unsigned long with uint64_t.
16189
3ff42526
PP
161902012-03-23 Daniel Jacobowitz <dmj@google.com>
16191 Paul Pluzhnikov <ppluzhnikov@google.com>
16192
16193 [BZ #6528]
16194 * grp/Makefile (otherlibs): Don't set it.
16195 * inet/Makefile (otherlibs): Likewise.
16196 * login/Makefile (otherlibs): Likewise.
16197 * nscd/Makefile (otherlibs): Likewise.
16198 * posix/Makefile (otherlibs): Likewise.
16199 * pwd/Makefile (otherlibs): Likewise.
16200 * rt/Makefile (otherlibs): Likewise.
16201 * sunrpc/Makefile (otherlibs): Likewise.
16202 * nss/Makefile (otherlibs): Likewise.
16203 Add libnss_files to routines and static-only-routines.
16204 ($(objpfx)getent): Remove rule.
16205 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16206 static-only-routines.
16207
7c69cd14
JM
162082012-03-22 Joseph Myers <joseph@codesourcery.com>
16209
16210 [BZ #13892]
16211 * math/s_cexp.c: Include <float.h>.
16212 (__cexp): Handle exp result overflowing not necessarily
16213 overflowing both real and imaginary parts of result.
16214 * math/s_cexpf.c: Likewise.
16215 * math/s_cexpl.c: Likewise.
16216 * math/libm-test.inc (cexp_test): Add more tests.
16217 * sysdeps/i386/fpu/libm-test-ulps: Update.
16218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16219
81b035fe
L
162202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16221
16222 * include/link.h (ELFW): New macro.
16223 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16224 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16225
1da7940c
L
162262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16227
16228 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16229 with uint64_t.
16230
b749dbb9
L
162312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16232
16233 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16234 declaration.
16235 (struct La_x32_retval): Likewise.
16236
2ff87f3f
L
162372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16238
16239 * sysdeps/x86_64/preconfigure.in: New file.
16240 * sysdeps/x86_64/preconfigure: New generated file.
16241
c0df8e69
JM
162422012-03-22 Joseph Myers <joseph@codesourcery.com>
16243
48e44791
JM
16244 [BZ #13824]
16245 * math/e_exp2l.c: Include <float.h>.
16246 (__ieee754_exp2l): Handle overflow and underflow cases
16247 separately. Only pass fractional part of argument to
16248 __ieee754_expl.
16249 * math/libm-test.inc (exp2_test): Add more tests.
16250
c0df8e69
JM
16251 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16252 negating x to take absolute value.
16253 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16254 Likewise.
16255 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16256 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16257 Likewise.
16258 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16259 computing low part if x was negated.
16260 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16261
c8e43ba7
L
162622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16263
16264 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16265 la_x32_gnu_pltexit.
16266 (pltexit): Cast int_retval to ptrdiff_t.
16267 * elf/tst-auditmod3b.c: Likewise.
16268 * elf/tst-auditmod4b.c: Likewise.
16269 * elf/tst-auditmod5b.c: Likewise.
16270 * elf/tst-auditmod6b.c: Likewise.
16271 * elf/tst-auditmod6c.c: Likewise.
16272 * elf/tst-auditmod7b.c: Likewise.
16273
16274 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16275 and x32_gnu_pltexit.
16276
16277 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16278 __ELF_NATIVE_CLASS.
16279 (La_x32_regs): New macro.
16280 (La_x32_retval): Likewise.
16281 (la_x32_gnu_pltenter): New function prototype.
16282 (la_x32_gnu_pltexit): Likewise.
16283
7998fa78
AS
162842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16285
dcb33988
AS
16286 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16287 exponent.
16288
233fc563
AS
16289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16290
7998fa78
AS
16291 * configure.in (libc_cv_cc_nofma): Check for option to disable
16292 generation of FMA instructions.
16293 * configure: Regenerate.
16294 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16295 * sysdeps/ieee754/dbl-64/Makefile: New file.
16296 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16297 Remove brandred-fma4.
16298 (CFLAGS-brandred-fma4.c): Remove.
16299 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16300 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16301 define.
16302 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16303 define.
16304
8e95c99a
L
163052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16306
16307 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16308 LLONG_MAX != LONG_MAX.
16309 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16310 (_fitoa_word): Likewise.
16311 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16312 LLONG_MAX != LONG_MAX.
16313 * stdio-common/_itowa.h: Include <_itoa.h>.
16314 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16315 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16316 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16317 only if not defined.
16318 (_ITOA_WORD_TYPE): Likewise.
16319 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16320 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16321
6f4db457
DM
163222012-03-21 David S. Miller <davem@davemloft.net>
16323
16324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16325
7785fe5a
L
163262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16327
16328 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16329 of x86_64 when setting libc_cv_slibdir, libdir and
16330 libc_cv_localedir.
16331 * sysdeps/unix/sysv/linux/configure: Regenerated.
16332
4535cd55
JM
163332012-03-21 Joseph Myers <joseph@codesourcery.com>
16334
16335 * manual/lang.texi (Old Varargs): Remove section.
16336 (How Variadic): Update menu.
16337 (va_start): Do not mention varargs.h.
16338
17228132
TS
163392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16340 Joseph Myers <joseph@codesourcery.com>
16341
16342 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16343 link test.
16344 * configure: Regenerated.
16345
8149f976
TS
163462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16347
05f3d1f6
UD
16348 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16349 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16350 conformtest.pl
8149f976 16351
1a4ac776
JM
163522012-03-21 Joseph Myers <joseph@codesourcery.com>
16353
be22ce65
JM
16354 * NOTES: Remove.
16355 * Makefile (files-for-dist): Remove NOTES.
16356 (NOTES): Remove rule.
16357 * README: Don't refer to NOTES.
16358 * manual/creature.texi: Don't include macros.texi.
16359 * manual/intro.texi (creature.texi): Remove comment referring to
16360 NOTES.
16361
40b601fb
JM
16362 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16363 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16364 * configure: Regenerated.
16365 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16366 LIBC_TRY_CC_OPTION.
16367 (libc_cv_as_i686): Likewise.
16368 (libc_cv_cc_avx): Likewise.
16369 (libc_cv_cc_sse2avx): Likewise.
16370 (libc_cv_cc_fma4): Likewise.
16371 (libc_cv_cc_novzeroupper): Likewise.
16372 * sysdeps/i386/configure: Regenerated.
16373
1a4ac776
JM
16374 [BZ #13883]
16375 * sysdeps/i386/fpu/s_cexp.S: Remove.
16376 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16377 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16378 * math/libm-test.inc (cexp_test): Add more tests.
16379 * sysdeps/i386/fpu/libm-test-ulps: Update.
16380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16381
a458e7fe
AM
163822012-03-21 Allan McRae <allan@archlinux.org>
16383
16384 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16385
0cb7efc5
JM
163862012-03-21 Joseph Myers <joseph@codesourcery.com>
16387
16388 [BZ #13871]
16389 * math/w_exp2.c: Do not include <float.h>.
16390 (o_threshold, u_threshold): Remove.
16391 (__exp2): Calculate result before checking finiteness and calling
16392 __kernel_standard.
16393 * math/w_exp2f.c: Likewise.
16394 * math/w_exp2l.c: Likewise.
16395 * math/libm-test.inc (exp2_test): Require overflow exception for
16396 1e6 input.
2460d3aa
JM
16397
16398 [BZ #3866]
16399 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16400 range of signed 64-bit integers before using fistpll. Remove
16401 checks for whether integers fit in mantissa bits.
16402 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16403 the range of signed 32-bit integers before using fistpl. Remove
16404 checks for whether integers fit in mantissa bits.
16405 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16406 (__ieee754_powl): Test for y outside the range of signed 64-bit
16407 integers before using fistpll. Reduce 64-bit values to 63-bit
16408 ones as needed.
16409 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16410 divide-by-zero is raised for zero to large negative powers.
16411 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16412 (__ieee754_powl): Test for y outside the range of signed 64-bit
16413 integers before using fistpll. Reduce 64-bit values to 63-bit
16414 ones as needed.
16415 * math/libm-test.inc (pow_test): Add more tests.
16416
eb96ffb0
L
164172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16418
16419 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16420 <stdio-common/_itoa.h>.
16421 * debug/segfault.c: Likewise.
16422 * elf/dl-cache.c: Likewise.
16423 * elf/dl-minimal.c: Likewise.
16424 * elf/dl-misc.c: Likewise.
16425 * elf/dl-sysdep.c: Likewise.
16426 * elf/dl-version.c: Likewise.
16427 * elf/rtld.c: Likewise.
16428 * hurd/hurdsock.c: Likewise.
16429 * hurd/lookup-retry.c: Likewise.
16430 * malloc/malloc.c: Likewise.
16431 * malloc/mtrace.c: Likewise.
16432 * nscd/nscd_getgr_r.c: Likewise.
16433 * nscd/nscd_getpw_r.c: Likewise.
16434 * nscd/nscd_getserv_r.c: Likewise.
16435 * posix/getopt_init.c: Likewise.
16436 * posix/wordexp.c: Likewise.
16437 * stdio-common/_itoa.c: Likewise.
16438 * stdio-common/printf_fphex.c: Likewise.
16439 * stdio-common/vfprintf.c: Likewise.
16440 * string/_strerror.c: Likewise.
16441 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16442 * sysdeps/i386/i686/hp-timing.h: Likewise.
16443 * sysdeps/mach/_strerror.c: Likewise.
16444 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16445 * sysdeps/mach/hurd/sethostid.c: Likewise.
16446 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16447 * sysdeps/mach/xpg-strerror.c: Likewise.
16448 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16449 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16450 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16451 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16452 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16453 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16454 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16455 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16456 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16457 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16458 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16459 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16460 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16461 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16462 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16463 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16464 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16465 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16466 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16467 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16468 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16469
16470 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16471
16472 * stdio-common/_itoa.h: Moved to ...
16473 * sysdeps/generic/_itoa.h: Here.
16474
16475 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16476
16477 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16478 instead of "_itoa.h" and "_itowa.h".
16479 * stdio-common/vfprintf.: Likewise.
16480
d1af992d
L
164812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16482
16483 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16484 <bits/wordsize.h>.
16485 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16486 (__signbit): Likwise.
16487 (llrintf): Likwise.
16488 (llrint): Likwise.
16489
114883e0
L
164902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16491
16492 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16493 __WORDSIZE != 64.
16494
c135cc1b
JM
164952012-03-20 Joseph Myers <joseph@codesourcery.com>
16496
16497 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16498 OVERFLOW_EXCEPTION_OK.
16499 * math/libm-test.inc ("Philosophy"): Update comment about
16500 exception testing.
16501 (OVERFLOW_EXCEPTION): Define.
16502 (OVERFLOW_EXCEPTION_OK): Likewise.
16503 (INVALID_EXCEPTION_OK): Renumber.
16504 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16505 (IGNORE_ZERO_INF_SIGN): Likewise.
16506 (test_exceptions): Handle FE_OVERFLOW.
16507 (exp10_test): Expect overflow exceptions.
16508 (exp2_test): Likewise.
16509 (expm1_test): Likewise.
16510 (nextafter_test): Likewise.
16511 (pow_test): Likewise.
16512 (scalbn_test): Likewise.
16513 (scalbln_test): Likewise.
16514
95443d88
L
165152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16516
16517 * sysdeps/x86_64/bits/atomic.h
16518 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16519 64bit integer.
16520 (atomic_exchange_acq): Likewise.
16521 (__arch_exchange_and_add_body): Likewise.
16522 (__arch_add_body): Likewise.
16523 (atomic_add_negative): Likewise.
16524 (atomic_add_zero): Likewise.
16525
490df6c4
L
165262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16527
c2722551 16528 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16529 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16530
5e52b189
L
165312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16532
16533 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16534 Check __x86_64__ instead of __WORDSIZE.
16535
a9879d4c
L
165362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16537
16538 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16539
5df98260
DM
165402012-03-19 David S. Miller <davem@davemloft.net>
16541
e1497744
DM
16542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16543
5df98260
DM
16544 * sysdeps/sparc/fpu/fenv_private.h: New file.
16545 * sysdeps/sparc/fpu/math_private.h: Use it.
16546 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16547 Remove.
16548 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16549 (libc_feholdexcept_setroundl): Remove.
16550 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16551 Remove.
16552 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16553 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16554
b4c35121
L
165552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16556
16557 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16558 int64_t instead of long int.
16559 (INSERT_WORDS64): Likwise.
16560
56965fd7
L
165612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16562
16563 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16564 _Unwind_GetCFA return to _Unwind_Ptr first.
16565
83d1aec8
JM
165662012-03-19 Joseph Myers <joseph@codesourcery.com>
16567
1897ad44
JM
16568 [BZ #13629]
16569 * math/s_clog.c: Include <float.h>.
16570 (__clog): Scale large or subnormal inputs.
16571 * math/s_clogf.c: Likewise.
16572 * math/s_clogl.c: Likewise.
16573 * math/s_clog10.c: Include <float.h>.
16574 (M_LOG10_2): Define.
16575 (__clog10): Scale large or subnormal inputs.
16576 * math/s_clog10f.c: Likewise.
16577 * math/s_clog10l.c: Likewise.
16578 * math/libm-test.inc (clog_test): Add more tests.
16579 (clog10_test): Likewise.
16580 * sysdeps/i386/fpu/libm-test-ulps: Update.
16581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16582
7726d6a9
JM
16583 [BZ #11451]
16584 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16585 x and y.
16586 * math/libm-test.inc (atan2_test): Add another test.
16587
83d1aec8
JM
16588 * Makerules (common-objdir-compile): Remove.
16589 * sysdeps/unix/Makefile (config-generated): Do not add
16590 $(unix-generated) to variable.
16591 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16592 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16593 Remove rule.
16594 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16595 Likewise.
16596 [generic bits/local_lim.h] (before-compile): Do not append to
16597 variable.
16598 [generic bits/local_lim.h] (common-generated): Likewise.
16599 [generic sys/param.h] (before-compile): Do not append to variable.
16600 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16601 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16602 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16603 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16604 include.
16605 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16606 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16607 [generic sys/param.h] ($(addprefix
16608 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16609 [generic sys/param.h] (common-generated): Do not append to
16610 variable.
16611 [generic sys/param.h] (sysdep_headers): Likewise.
16612 [generic bits/errno.h] (before-compile): Do not append to
16613 variable.
16614 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16615 rule.
16616 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16617 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16618 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16619 [generic bits/errno.h] (common-generated): Do not append to
16620 variable.
16621 [generic bits/ioctls.h] (before-compile): Do not append to
16622 variable.
16623 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16624 rule.
16625 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16626 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16627 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16628 rule.
16629 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16630 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16631 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16632 [generic bits/ioctls.h] (common-generated): Do not append to
16633 variable.
16634 [generic sys/syscall.h] (syscall.h): Remove variable.
16635 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16636 rule.
16637 [generic sys/syscall.h] (before-compile): Do not append to
16638 variable.
16639 [generic sys/syscall.h] (common-generated): Likewise.
16640 * sysdeps/unix/errnos-tmpl.c: Remove file.
16641 * sysdeps/unix/errnos.awk: Likewise.
16642 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16643 * sysdeps/unix/ioctls.awk: Likewise.
16644 * sysdeps/unix/mk-local_lim.c: Likewise.
16645 * sysdeps/unix/snarf-ioctls: Likewise.
16646
4851a949
RH
166472012-03-19 Richard Henderson <rth@twiddle.net>
16648
bd37f2ee
RH
16649 * sysdeps/i386/fpu/fenv_private.h: New file.
16650 * sysdeps/i386/fpu/math_private.h: Use it.
16651 (math_opt_barrier, math_force_eval): Remove.
16652 (libc_feholdexcept_setround_53bit): Remove.
16653 (libc_feupdateenv_53bit): Remove.
16654 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16655 (math_opt_barrier, math_force_eval): Remove.
16656 (libc_feholdexcept): Remove.
16657 (libc_feholdexcept_setround): Remove.
16658 (libc_fetestexcept, libc_fesetenv): Remove.
16659 (libc_feupdateenv_test): Remove.
16660 (libc_feupdateenv, libc_feholdsetround): Remove.
16661 (libc_feresetround): Remove.
16662
d0adc922
RH
16663 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16664 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16665
0fe0f1f8
RH
16666 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16667 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16668 (libc_feupdateenv_testl): New.
16669 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16670 (libc_feupdateenv_testf): New.
16671 (libc_feupdateenv): Use libc_feupdateenv_test.
16672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16673 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16674
eb92c487
RH
16675 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16676 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16677 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16678 (libc_feresetround_noex): New.
16679 (libc_feresetround_noexf): New.
16680 (libc_feresetround_noexl): New.
16681 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16682 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16683 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16684 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16685 SET_RESTORE_ROUND.
16686 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16687 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16688 (__cos): Likewise.
16689 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16690 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16691 SET_RESTORE_ROUND_NOEX.
16692 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16693 SET_RESTORE_ROUND_NOEXF.
16694 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16695 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16696 (libc_feholdsetroundf): New.
16697 (libc_feresetround, libc_feresetroundf): New.
16698
7d2e8012
RH
16699 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16700 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16701 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16702
b4dabbb4
RH
16703 * sysdeps/generic/math_private.h: Include <fenv.h>.
16704 (default_libc_feholdexcept): New.
16705 (default_libc_feholdexcept_setround): New.
16706 (default_libc_fesetenv, default_libc_feupdateenv): New.
16707 (libc_feholdexcept): Only define if undefined.
16708 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16709 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16710 (libc_feholdexcept_setroundl): Likewise.
16711 (libc_feholdexcept_setround_53bit): Likewise.
16712 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16713 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16714 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16715 (libc_feupdateenv_53bit): Likewise.
16716 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16717 (libc_feholdexcept): Convert from macro to inline function.
16718 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16719 (libc_fesetenv, libc_feupdateenv): Likewise.
16720
4851a949
RH
16721 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16722 not previously defined.
16723 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16724 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16725 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16726 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16727 * sysdeps/ieee754/flt-32/math_private.h: New file.
16728 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16729 math_private.h below SET_FLOAT_WORD.
16730 (__isnan, __isinf_ns, __finite): Remove.
16731 (__isnanf, __isinf_nsf, __finitef): Remove.
16732
e79d442e
AS
167332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16734
16735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16736
90b80344
DM
167372012-03-17 David S. Miller <davem@davemloft.net>
16738
16739 [BZ #6471]
16740 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16741 for 2.16.
16742
edc21804
DM
167432012-03-16 David S. Miller <davem@davemloft.net>
16744
77e927af
DM
16745 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16746 warnings.
16747
374976dd
DM
16748 [BZ #6471]
16749 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16750 properly.
16751 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16752 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16753 sysdep_routines when subdir is sysvipc.
16754 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16755 __getshmlba helper.
16756
edc21804
DM
16757 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16758
473c3ef3
L
167592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16760
16761 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16762 [__LP64__].
16763
eb0f39b6
L
167642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16765
16766 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16767 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16768 (__lround): Renamed to ...
16769 (__llround): This. Replace long int with long long int.
16770 Define lround functions as aliases of llround functions.
16771 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16772
6b6cd74b
L
167732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16774
16775 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16776 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16777 adresses to uintptr_t. Replace "long int" and "unsigned long
16778 int" with "greg_t" on va_arg.
16779
f1a77b01
L
167802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16781
16782 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16783 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16784
16785 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16786 Move e_machine check before EI_CLASS check. Handle x32
16787 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16788 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16789 SKIP_EM_IA_64 and include
16790 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16791
16792 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16793 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16794 (add_system_dir): New macro.
16795
16796 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16797 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16798
11b90b9f
JM
167992012-03-16 Joseph Myers <joseph@codesourcery.com>
16800
c36e1d23
JM
16801 [BZ #2551]
16802 [BZ #2552]
16803 [BZ #2553]
16804 [BZ #2554]
16805 [BZ #2562]
16806 [BZ #2563]
16807 [BZ #2565]
16808 [BZ #2566]
16809 [BZ #2576]
16810 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16811 (y0): Likewise.
16812 * math/w_j0f.c (j0f): Likewise.
16813 (y0f): Likewise.
16814 * math/w_j0l.c (__j0l): Likewise.
16815 (__y0l): Likewise.
16816 * math/w_j1.c (j1): Likewise.
16817 (y1): Likewise.
16818 * math/w_j1f.c (j1f): Likewise.
16819 (y1f): Likewise.
16820 * math/w_j1l.c (__j1l): Likewise.
16821 (__y1l): Likewise.
16822 * math/w_jn.c (jn): Likewise.
16823 (yn): Likewise.
16824 * math/w_jnf.c (jnf): Likewise.
16825 (ynf): Likewise.
16826 * math/w_jnl.c (__jnl): Likewise.
16827 (__ynl): Likewise.
16828 * math/libm-test.inc (j0_test): Add more tests.
16829 (j1_test): Likewise.
16830 (jn_test): Likewise. Add trailing semicolon to existing test.
16831 (y0_test): Likewise.
16832 (y1_test): Likewise.
16833 * sysdeps/i386/fpu/libm-test-ulps: Update.
16834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16835
11b90b9f
JM
16836 [BZ #13851]
16837 [BZ #13854]
16838 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16839 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16840 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16841 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16842 (__tanl): Set errno for infinite argument.
16843 * sysdeps/i386/fpu/mptan.c: Remove.
16844 * sysdeps/i386/fpu/s_tan.S: Likewise.
16845 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16846 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16847 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16848 * math/libm-test.inc (tan_test): Add more tests and enable more
16849 tests for double and long double.
16850 * sysdeps/i386/fpu/libm-test-ulps: Update.
16851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16852
6a1bd2a1
JK
168532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16854
16855 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16856 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16857
10a803e0
RM
168582012-03-16 Roland McGrath <roland@hack.frob.com>
16859
16860 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16861 * configure.in: Use it for both main tree and add-ons.
16862 * configure: Regenerated.
16863
f196c7f7
L
168642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16865
16866 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16867
8848d99d
JM
168682012-03-16 Joseph Myers <joseph@codesourcery.com>
16869
96cbe7f4
JM
16870 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16871 in comment.
16872
8848d99d
JM
16873 [BZ #13851]
16874 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16875 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16878 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16879 infinite argument.
16880 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16882 != 0 for prec == 2.
16883 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16884 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16885 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16886 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16887 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16888 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16889 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16890 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16891 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16892 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16893 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16894 * math/libm-test.inc (cos_test): Add more tests and enable more
16895 tests for long double.
16896 (sin_test): Likewise.
16897 (sincos_test): Likewise.
16898 * sysdeps/i386/fpu/libm-test-ulps: Update.
16899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16900
dd7f4703
DM
169012012-03-16 David S. Miller <davem@davemloft.net>
16902
16903 * sysdeps/sparc/fpu/math_private.h: New file.
16904
006f1daa
DM
169052012-03-15 David S. Miller <davem@davemloft.net>
16906
c0c83bc8
DM
16907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16908 file.
e6a62e18 16909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16911 file.
e6a62e18
DM
16912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16918 sysdep routines.
16919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16920
88cb87d9
DM
16921 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16922 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16923
006f1daa 16924 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16926 sparc-ifunc.h
006f1daa 16927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16929 Likewise.
16930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16931 Likewise.
006f1daa
DM
16932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16936 Likewise.
006f1daa
DM
16937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16942 Likewise.
16943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16944 Likewise.
006f1daa
DM
16945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16951 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16952 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16963 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16964 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16969
11e0098e
AS
169702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16971
16972 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16973 scaling.
16974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16975
e85b09d0
AJ
169762012-03-15 Andreas Jaeger <aj@suse.de>
16977
16978 [BZ #13852]
16979 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16980 ieee754/flt-32 implementation for sin, cos and sincos.
16981 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16982 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16983 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16984 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16985 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16986 ieee754/flt-32 implementation for tan.
16987
16988 * math/libm-test.inc (cos_test): Enable some large input tests for
16989 float as well
16990 (sin_test): Likewise.
16991 (sincos_test): Likewise.
16992 (tan_test): Add tests for large input.
16993
16994 * sysdeps/i386/fpu/libm-test-ulps: Update.
16995
81c64153
AJ
169962012-03-15 Andreas Jaeger <aj@suse.de>
16997
16998 [BZ #13658]
16999 * math/libm-test.inc (cos_test): Add more test cases.
17000 (sin_test): Likewise.
17001 (sincos_test): Likewise.
17002
7bbfa5c6
AJ
170032012-03-15 Andreas Jaeger <aj@suse.de>
17004
17005 [BZ #13837]
17006 * math/libm-test.inc (cos_test): Add a test case for large input
17007 value.
17008 (sin_test): Likewise.
17009 (sincos_test): Likewise.
17010
170112012-03-15 Andreas Jaeger <aj@suse.de>,
17012 Joseph Myers <joseph@codesourcery.com>
17013
17014 [BZ #13658]
0671f479 17015 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17016 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17017 * sysdeps/i386/fpu/branred.c: Likewise.
17018 * sysdeps/i386/fpu/dosincos.c: Likewise.
17019 * sysdeps/i386/fpu/mpa.c: Likewise.
17020 * sysdeps/i386/fpu/s_cos.S: Likewise.
17021 * sysdeps/i386/fpu/s_sin.S: Likewise.
17022 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17023 * sysdeps/i386/fpu/sincos32.c: Likewise.
17024
17025 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17026 Define.
17027 (libc_feupdateenv_53bit): Define.
17028 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17029 Define.
17030 (libc_feupdateenv_53bit): Define.
17031
17032 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17033 53 bit (without extend i386 double precision).
17034
17035 * math/libm-test.inc (sincos_test): Add tests for large input.
17036 (sin): Likewise.
17037 (cos): Likewise.
17038
17039 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17040
9cad04ea
AS
170412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17042
17043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17044
f7062b9a
DM
170452012-03-15 David S. Miller <davem@davemloft.net>
17046
17047 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17048 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17049 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17050 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17063 file.
f7062b9a 17064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17066 file.
f7062b9a 17067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17069 file.
f7062b9a 17070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17072 file.
f7062b9a
DM
17073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17074 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17075 fmin/fmax sysdep routines.
17076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17077
7bd951ff
DM
170782012-03-14 David S. Miller <davem@davemloft.net>
17079
559398ab
DM
17080 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17084 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17087 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17100 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17101 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17103 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17104 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17105 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17106 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17109 routines.
17110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17111 file.
559398ab 17112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17114 file.
559398ab 17115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17117 file.
559398ab 17118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17120 file.
559398ab 17121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17123 file.
559398ab 17124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17126 file.
17127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17128 file.
17129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17130 file.
17131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17132 file.
17133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17134 New file.
17135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17136 file.
17137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17138 file.
559398ab 17139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17141 file.
559398ab 17142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17144 file.
559398ab 17145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17147 file.
559398ab 17148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17150 VIS3 routines.
559398ab
DM
17151
17152 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17153 New file.
17154
5a1c1e32
DM
17155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17156
eae47a36
DM
17157 * sysdeps/sparc/configure.in: New file.
17158 * sysdeps/sparc/configure: Generate.
17159 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17160 * configure: Regenerate.
17161 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17162 * config.make.in (have-as-vis3): New.
17163 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17164 available use -Av9d instead of -Av9a.
17165 * sysdeps/sparc/sparc64/Makefile: Likewise.
17166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17168 New file.
17169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17170 file.
17171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17172 New file.
17173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17174 file.
eae47a36
DM
17175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17176 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17177 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17178 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17180
c0c83bc8
DM
17181 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17182 fzeros/fnegs to load 0x80000000 into a float register instead of
17183 using the stack.
7bd951ff
DM
17184 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17185
bd951ccb
JM
171862012-03-14 Joseph Myers <joseph@codesourcery.com>
17187
17188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17189 bits/syscall.h.
17190 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17191 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17192 ($(inst_includedir)/bits/syscall.h): Remove rule.
17193 ($(objpfx)bits/syscall.d): Include instead of
17194 $(objpfx)syscall-list.d.
17195 (generated): Change syscall-list.h and syscall-list.d to
17196 bits/syscall.h and bits/syscall.d.
17197
bb4e6db2
RM
171982012-03-14 Roland McGrath <roland@hack.frob.com>
17199
17200 [BZ #13846]
17201 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17202
aa4a2ae1
JM
172032012-03-14 Joseph Myers <joseph@codesourcery.com>
17204
e456826d
JM
17205 [BZ #13841]
17206 * math/s_csqrt.c: Include <float.h>.
17207 (__csqrt): Scale large or subnormal inputs.
17208 * math/s_csqrtf.c: Likewise.
17209 * math/s_csqrtl.c: Likewise.
17210 * math/libm-test.inc (csqrt_test): Add more tests.
17211 * sysdeps/i386/fpu/libm-test-ulps: Update.
17212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17213
aa4a2ae1
JM
17214 [BZ #13840]
17215 * math/libm-test.inc (hypot_test): Add more tests.
17216
7c10fd35
DM
172172012-03-13 David S. Miller <davem@davemloft.net>
17218
17219 [BZ #13840]
17220 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17221 double-precision for the calculation instead of scaling.
17222
f453b98b
JM
172232012-03-13 Joseph Myers <joseph@codesourcery.com>
17224
17225 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17226 manipulate bits before adding and subtracting TWO52[sx].
17227 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17228 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17229 Likewise.
17230 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17231
09a3453f
DM
172322012-03-13 David S. Miller <davem@davemloft.net>
17233
8e59da90
DM
17234 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17235 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17237 rtld-global-offsets.h
17238 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17239
2a8ab7f2
DM
17240 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17241 large parameters.
17242
10f62770
DM
17243 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17244
5f0bdb18
DM
17245 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17246 'err' in the ifdef scope in which it is actually used.
17247
09a3453f
DM
17248 * nss/nss_db/db-init.c: Include string.h
17249
b4b2eb5e
DM
172502012-03-12 David S. Miller <davem@davemloft.net>
17251
98bb2f1c
DM
17252 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17253 masking out of the most significant byte of random value used.
17254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17255 Fix coding style in previous change.
17256
b4b2eb5e
DM
17257 * sysdeps/unix/sysv/linux/kernel-features.h
17258 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17259 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17260 expression.
17261 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17262 later.
17263
6e226b09
DM
172642012-03-11 David S. Miller <davem@davemloft.net>
17265
a1bcbd40
DM
17266 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17267 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17269 for 'resultvar' otherwise things get truncated on 64-bit.
17270
cb9d6174
DM
17271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17272 Fix masking out of the most significant byte of random value used.
17273
6e226b09
DM
17274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17275
058c132d
AS
172762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17277
17278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17279
2d2cd515
DM
172802012-03-09 David S. Miller <davem@davemloft.net>
17281
17282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17283 variables with appropriate CPP guards.
17284 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17285 frame pointer, not the stack pointer. Correct layout comments. Fix test
17286 on resulting framesize and the management of the outregs buffer for pltexit.
17287 Preserve floating point return values across _dl_call_pltexit call.
17288 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17289 framesize and the management of the outregs buffer for pltexit.
17290 Preserve floating point return values across _dl_call_pltexit
17291 call.
17292 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17293 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17294 (print_exit): Fix format string for return register value.
17295
9a07f9d0
JM
172962012-03-10 Joseph Myers <joseph@codesourcery.com>
17297
17298 * sunrpc/Makefile (others): Add rpcgen.
17299 ($(objpfx)rpcgen): Remove special build rule and dependency on
17300 libc.
17301 * sunrpc/rpcgen.c: New file.
17302
547b5e30
PE
173032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17304
c524201a
PE
17305 [BZ #13673]
17306 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17307 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17308 * sysdeps/i386/crti.S: Likewise.
17309 * sysdeps/i386/crtn.S: Likewise.
17310 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17311 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17312 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17313 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17314 * sysdeps/sh/crti.S: Likewise.
17315 * sysdeps/sh/crtn.S: Likewise.
17316 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17317
7b6235f2
PE
17318 [BZ #13673]
17319 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17320 with URL.
17321 * locale/programs/locfile-kw.gperf: Likewise.
17322 * locale/programs/charmap-kw.h: Regenerated.
17323 * locale/programs/locfile-kw.h: Likewise.
17324
547b5e30
PE
17325 [BZ #13673]
17326 * intl/plural.y: Replace FSF snail mail address with URL.
17327 * intl/plural.c: Regenerated.
17328
5f0a5dae
RH
173292012-03-09 Richard Henderson <rth@twiddle.net>
17330
17331 * include/math_private.h: Remove file.
17332 * math/math_private.h: Move file ...
17333 * sysdeps/generic/math_private.h: ... here.
17334
b8c03620
RH
17335 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17336 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17337 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17338
4e234f5d 17339 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17340 and <math_private.h>.
17341 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17342 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17343 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17344 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17345 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17352 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17353 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17358 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17359 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17362 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17363 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17365 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17366 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17374 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17375 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17409 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17411 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17420 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17429 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17430 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17431 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17432 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17433 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17434 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17435 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17436 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17437 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17438 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17439 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17440 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17441 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17442 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17443 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17444 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17445 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17446 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17447 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17448 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17449 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17451 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17452 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17453 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17454 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17455 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17456 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17457 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17458 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17459 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17460 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17461 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17462 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17463 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17464 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17465 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17466 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17467 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17468 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17469 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17470 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17471 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17472 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17473 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17474 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17475 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17476 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17477 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17478 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17479 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17480 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17481 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17482 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17483 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17484 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17485 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17486 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17487 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17488 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17489 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17490 * sysdeps/ieee754/k_standard.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17541 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17542 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17543 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17551 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17552 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17554 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17557 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17560 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17564 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17581 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17596 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17598 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17601 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17602 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17603 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17604 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17605 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17606 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17607 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17608 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17610 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17611 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17613 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17614 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17615 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17618 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17619 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17623 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17628 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17637 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17638 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17639 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17640 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17641 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17642 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17643 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17644 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17645 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17646 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17647 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17649 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17651 * sysdeps/ieee754/s_lib_version.c: Likewise.
17652 * sysdeps/ieee754/s_matherr.c: Likewise.
17653 * sysdeps/ieee754/s_signgam.c: Likewise.
17654 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17655 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17656 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17657 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17658 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17659 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17660 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17661 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17662 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17663 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17664 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17665 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17666 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17667 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17668 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17669 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17670 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17671 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17672 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17673 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17675
1991fa03
JM
176762012-03-09 Joseph Myers <joseph@codesourcery.com>
17677
17678 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17679 * sunrpc/rpc_main.c: Likewise.
17680 * sunrpc/rpc_svcout.c: Likewise.
17681
60d6f5a6
DM
176822012-03-09 David S. Miller <davem@davemloft.net>
17683
17684 * include/math_private.h: New file.
17685
4962050e
JM
176862012-03-09 Joseph Myers <joseph@codesourcery.com>
17687
02a6f887
JM
17688 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17689 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17690 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17691 from <bits/socket_type.h>.
17692 (enum __socket_type): Don't define here.
17693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17695 bits/socket_type.h.
17696
c6e013c1
JM
17697 [BZ #13566]
17698 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17699 checking __USE_GNU.
17700
4962050e
JM
17701 * Makerules ($(inst_includedir)/%.h): New rule.
17702 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17703 (install-others): Remove variable setting.
17704 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17705
38842f45
RH
177062012-03-08 Richard Henderson <rth@twiddle.net>
17707
67bb6da6
RH
17708 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17709 from macro to inline function; merge with the
17710 !__LIBC_INTERNAL_MATH_INLINES version.
17711 (__ieee754_sqrtf): Likewise.
17712
15194b4b
RH
17713 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17714 to inline function.
17715 (__rintf, __floor, __floorf): Likewise.
17716
64e21ede
RH
17717 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17718 macro to inline function.
17719 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17720
38842f45
RH
17721 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17722 not <math/math_private.h>.
17723
c64bf5fe
DM
177242012-03-08 David S. Miller <davem@davemloft.net>
17725
17726 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17727 copyright year.
17728 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17729
82d86f28
TS
177302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17731
17732 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17733 normalization.
17734 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17735 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17736
aea5d727
UD
177372012-03-08 Ulrich Drepper <drepper@gmail.com>
17738
17739 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17740 be defined individually, they must be defined as a block. Define
17741 S for printing a string instead of hidint the different by using a
17742 macro for adding the 'l'.
17743 * stdio-common/tst-fphex-wide.c: Adjust.
17744
70bca0a3
MP
177452012-03-07 Marek Polacek <polacek@redhat.com>
17746
17747 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17748
65b81130
MP
177492012-03-08 Marek Polacek <polacek@redhat.com>
17750
17751 [BZ #13806]
17752 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17753 * stdio-common/tst-fphex.c: Define a few macros to make the
17754 test reusable. Use them.
17755 * stdio-common/tst-fphex-wide.c: New file.
17756
07037eeb
JM
177572012-03-08 Joseph Myers <joseph@codesourcery.com>
17758
a7a93d50
JM
17759 [BZ #6911]
17760 * manual/macros.texi (gnusystems): New macro.
17761 (nongnusystems): Likewise.
17762 (gnulinuxhurdsystems): Likewise.
17763 (gnuhurdsystems): Likewise..
17764 (gnulinuxsystems): Likewise.
17765 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17766 variants of the GNU system, not "GNU system".
17767 * manual/conf.texi: Likewise.
17768 * manual/errno.texi: Likewise. Update example of errno macro
17769 expansion.
17770 * manual/filesys.texi: Likewise.
17771 (getumask): Document as specific to GNU/Hurd.
17772 * manual/install.texi: Likewise. Reword some references to
17773 GNU/Linux.
17774 * manual/intro.texi: Likewise.
17775 * manual/io.texi: Likewise.
17776 (File Name Portability): Detail which constraints are inapplicable
17777 to all GNU systems and which are only inapplicable to GNU/Hurd.
17778 * manual/job.texi: Likewise.
17779 * manual/llio.texi: Likewise.
17780 (O_NOCTTY): Document as present on GNU/Linux.
17781 * manual/maint.texi: Likewise.
17782 * manual/memory.texi: Likewise.
17783 * manual/pattern.texi: Likewise.
17784 * manual/pipe.texi: Likewise.
17785 * manual/process.texi: Likewise.
17786 * manual/resource.texi: Likewise.
17787 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17788 child on GNU/Hurd.
17789 * manual/setjmp.texi: Likewise.
17790 * manual/signal.texi: Likewise.
17791 * manual/startup.texi: Likewise.
17792 * manual/stdio.texi: Likewise.
17793 * manual/terminal.texi: Likewise.
17794 (ONLCR): Document as POSIX.
17795 (OXTABS): Document availability on GNU/Linux as XTABS.
17796 (ONOEOT): Document availability separately from other bits.
17797 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17798 * manual/time.texi: Likewise.
17799 * manual/users.texi: Likewise.
17800 * INSTALL: Regenerated.
17801 * sysdeps/gnu/errlist.c: Regenerated.
17802
07037eeb
JM
17803 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17804 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17805 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17806 puts.
17807 * configure: Regenerated.
17808
d1d3431a
JM
178092012-03-07 Joseph Myers <joseph@codesourcery.com>
17810
af6a1e37
JM
17811 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17812 default includes instead of AC_HEADER_CHECK.
17813 * sysdeps/i386/configure: Regenerated.
17814
d1d3431a
JM
17815 [BZ #10716]
17816 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17817 * math/s_cacoshf.c (__cacoshf): Likewise.
17818 * math/s_cacoshl.c (__cacoshl): Likewise.
17819 * math/s_casinh.c (__casinh): Set signs of result from argument.
17820 * math/s_casinhf.c (__casinhf): Likewise.
17821 * math/s_casinhl.c (__casinhl): Likewise.
17822 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17823 (casinh_test): Add more tests.
17824 * sysdeps/i386/fpu/libm-test-ulps: Update.
17825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17826
482ff4da
UD
178272012-03-07 Ulrich Drepper <drepper@gmail.com>
17828
872fda05
UD
17829 * po/zh_TW.po: Update from translation team.
17830
a4300c7a
UD
17831 * login/Makefile (distribute): Remove variable.
17832 * catgets/Makefile: Likewise.
17833 * mach/Makefile: Likewise.
17834 * malloc/Makefile: Likewise.
17835 * misc/Makefile: Likewise.
17836 * iconv/Makefile: Likewise.
17837 * nscd/Makefile: Likewise.
17838 * hurd/Makefile: Likewise.
17839 * manual/Makefile: Likewise.
17840 * locale/Makefile: Likewise.
17841 * intl/Makefile: Likewise.
17842 * conform/Makefile: Likewise.
17843 * nss/Makefile: Likewise.
17844 * time/Makefile: Likewise.
17845 * soft-fp/Makefile: Likewise.
17846 * dirent/Makefile: Likewise.
17847 * gmon/Makefile: Likewise.
17848 * po/Makefile: Likewise.
17849 * rt/Makefile: Likewise.
17850 * socket/Makefile: Likewise.
17851 * math/Makefile: Likewise.
17852 * signal/Makefile: Likewise.
17853 * debug/Makefile: Likewise.
17854 * elf/Makefile: Likewise.
17855 * timezone/Makefile: Likewise.
17856 * stdlib/Makefile: Likewise.
17857 * iconvdata/Makefile: Likewise.
17858 * sunrpc/Makefile: Likewise.
17859 * io/Makefile: Likewise.
17860 * argp/Makefile: Likewise.
17861 * inet/Makefile: Likewise.
17862 * hesiod/Makefile: Likewise.
17863 * grp/Makefile: Likewise.
17864 * csu/Makefile: Likewise.
17865 * wctype/Makefile: Likewise.
17866 * crypt/Makefile: Likewise.
17867 * libio/Makefile: Likewise.
17868 * string/Makefile: Likewise.
17869 * nis/Makefile: Likewise.
17870 * resolv/Makefile: Likewise.
17871 * stdio-common/Makefile: Likewise.
17872 * wcsmbs/Makefile: Likewise.
17873 * dlfcn/Makefile: Likewise.
17874 * posix/Makefile: Likewise.
17875
3b7c4e74 17876 [BZ #6959]
482ff4da
UD
17877 * timezone/Makefile: Don't install timezone files, just the programs
17878 and scripts.
17879
f72ed77d
UD
178802012-03-06 Ulrich Drepper <drepper@gmail.com>
17881
a000466f
UD
17882 * nss/databases.def: Add missing gshadow entry.
17883
f72ed77d
UD
17884 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17885
a53b7a4e
MP
178862012-03-06 Marek Polacek <polacek@redhat.com>
17887
17888 [BZ #13726]
17889 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17890 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17891 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17892 * stdio-common/tst-long-dbl-fphex.c: New file.
17893
e9258400
DM
178942012-03-06 David S. Miller <davem@davemloft.net>
17895
17896 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17897 (set_obp_int): New function.
17898 (get_obp_int): New function.
17899 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17900 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17901 Avoid unused variable warnings on 'val' and use builtin_expect.
17902 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17903 __builtin_expect.
e9258400
DM
17904 (INLINE_CLONE_SYSCALL): Likewise.
17905
3bd2c723
DM
179062012-03-05 David S. Miller <davem@davemloft.net>
17907
17908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17909
bbb78d03
AS
179102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17911
884c5db4
AS
17912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17913
bbb78d03
AS
17914 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17915 only for |x| >= 40.
17916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17917
1c9f702a 179182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17919
17920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17921 Replace gettimeofday with __vdso_gettimeofday.
17922
7be16f82
RM
17923 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17924 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17925 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17926
17927 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17928 time with __vdso_time.
17929
ed58a00f
JM
179302012-03-05 Joseph Myers <joseph@codesourcery.com>
17931
17932 * manual/lang.texi (size_t): Note types to which size_t may be
17933 equivalent with the GNU C Library, but do not describe when
17934 differences between them are significant.
17935
30ee4ced
AJ
179362012-03-05 Andreas Jaeger <aj@suse.de>
17937
17938 * sysdeps/i386/fpu/libm-test-ulps: Update.
17939
b7cd39e8
JM
179402012-03-05 Joseph Myers <joseph@codesourcery.com>
17941
17942 [BZ #3976]
17943 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17944 (__ieee754_pow): Save and restore rounding mode and use
17945 round-to-nearest for main computations.
17946 * math/libm-test.inc (pow_test_tonearest): New function.
17947 (pow_test_towardzero): Likewise.
17948 (pow_test_downward): Likewise.
17949 (pow_test_upward): Likewise.
17950 (main): Call the new functions.
17951 * sysdeps/i386/fpu/libm-test-ulps: Update.
17952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17953
17954 [BZ #3976]
17955 * math/libm-test.inc (cosh_test_tonearest): New function.
17956 (cosh_test_towardzero): Likewise.
17957 (cosh_test_downward): Likewise.
17958 (cosh_test_upward): Likewise.
17959 (sinh_test_tonearest): Likewise.
17960 (sinh_test_towardzero): Likewise.
17961 (sinh_test_downward): Likewise.
17962 (sinh_test_upward): Likewise.
17963 (main): Call the new functions.
17964 * sysdeps/i386/fpu/libm-test-ulps: Update.
17965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17966
6c6a98c9
TV
179672012-03-05 Tom de Vries <tom@codesourcery.com>
17968
17969 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17970 default stack guard is set in last bytes.
17971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17972
21bb2d2e 179732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17974
21bb2d2e 17975 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17976
21bb2d2e
AJ
17977 [BZ #13656]
17978 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17979 possibly allocate from heap instead of stack.
17980 * stdio-common/bug-vfprintf-nargs.c: New file.
17981 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17982
c6922934
AS
179832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17984
17985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17986
bc957d53
MP
179872012-03-03 Marek Polacek <polacek@redhat.com>
17988
17989 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17990 * math/math_private.h: Likewise.
17991 * stdlib/tst-strtod.c: Likewise.
17992 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17993 * sysdeps/x86_64/bits/atomic.h: Likewise.
17994
6358490d
DM
179952012-03-02 David S. Miller <davem@davemloft.net>
17996
17997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18001 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18002 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18003 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18004 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18005
01ae168d
RM
180062012-03-02 Roland McGrath <roland@hack.frob.com>
18007
d9a17c07
RM
18008 [BZ #13792]
18009 * manual/examples/README: New file, says the example source files
18010 can be used under GPL>=2.
18011 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18012 line containing just "*/".
18013 * manual/examples/add.c: Add copyright header (GPL>=2).
18014 * manual/examples/argp-ex1.c: Likewise.
18015 * manual/examples/argp-ex2.c: Likewise.
18016 * manual/examples/argp-ex3.c: Likewise.
18017 * manual/examples/argp-ex4.c: Likewise.
18018 * manual/examples/atexit.c: Likewise.
18019 * manual/examples/db.c: Likewise.
18020 * manual/examples/dir.c: Likewise.
18021 * manual/examples/dir2.c: Likewise.
18022 * manual/examples/execinfo.c: Likewise.
18023 * manual/examples/filecli.c: Likewise.
18024 * manual/examples/filesrv.c: Likewise.
18025 * manual/examples/fmtmsgexpl.c: Likewise.
18026 * manual/examples/genpass.c: Likewise.
18027 * manual/examples/inetcli.c: Likewise.
18028 * manual/examples/inetsrv.c: Likewise.
18029 * manual/examples/isockad.c: Likewise.
18030 * manual/examples/longopt.c: Likewise.
18031 * manual/examples/memopen.c: Likewise.
18032 * manual/examples/memstrm.c: Likewise.
18033 * manual/examples/mkfsock.c: Likewise.
18034 * manual/examples/mkisock.c: Likewise.
18035 * manual/examples/mygetpass.c: Likewise.
18036 * manual/examples/pipe.c: Likewise.
18037 * manual/examples/popen.c: Likewise.
18038 * manual/examples/rprintf.c: Likewise.
18039 * manual/examples/search.c: Likewise.
18040 * manual/examples/select.c: Likewise.
18041 * manual/examples/setjmp.c: Likewise.
18042 * manual/examples/sigh1.c: Likewise.
18043 * manual/examples/sigusr.c: Likewise.
18044 * manual/examples/stpcpy.c: Likewise.
18045 * manual/examples/strdupa.c: Likewise.
18046 * manual/examples/strftim.c: Likewise.
18047 * manual/examples/strncat.c: Likewise.
18048 * manual/examples/subopt.c: Likewise.
18049 * manual/examples/swapcontext.c: Likewise.
18050 * manual/examples/termios.c: Likewise.
18051 * manual/examples/testopt.c: Likewise.
18052 * manual/examples/testpass.c: Likewise.
18053 * manual/examples/timeval_subtract.c: Likewise.
18054
01ae168d
RM
18055 [BZ #13792]
18056 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18057 function to ...
18058 * manual/timeval_subtract.c.texi: ... here, new file.
18059
49efa33d
DM
180602012-03-02 David S. Miller <davem@davemloft.net>
18061
18062 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18063
28afd92d
JM
180642012-03-02 Joseph Myers <joseph@codesourcery.com>
18065
804360ed
JM
18066 [BZ #3976]
18067 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18068 (__sin): Save and restore rounding mode and use round-to-nearest
18069 for all computations.
18070 (__cos): Save and restore rounding mode and use round-to-nearest
18071 for all computations.
18072 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18073 <fenv.h>.
18074 (tan): Save and restore rounding mode and use round-to-nearest for
18075 all computations.
18076 * math/libm-test.inc (cos_test_tonearest): New function.
18077 (cos_test_towardzero): Likewise.
18078 (cos_test_downward): Likewise.
18079 (cos_test_upward): Likewise.
18080 (sin_test_tonearest): Likewise.
18081 (sin_test_towardzero): Likewise.
18082 (sin_test_downward): Likewise.
18083 (sin_test_upward): Likewise.
18084 (tan_test_tonearest): Likewise.
18085 (tan_test_towardzero): Likewise.
18086 (tan_test_downward): Likewise.
18087 (tan_test_upward): Likewise.
18088 (main): Call the new functions.
18089 * sysdeps/i386/fpu/libm-test-ulps: Update.
18090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18091
a6d06d7b
JM
18092 [BZ #10135]
18093 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18094 small n, then large n, before computing and testing k+n.
18095 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18097 Likewise.
18098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18099 Likewise.
18100 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18101 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18102 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18103 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18104 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18105 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18106 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18107 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18108 * math/libm-test.inc (scalbn_test): Add more tests.
18109 (scalbln_test): Likewise.
18110
07e12bb3
JM
18111 * manual/filesys.texi (mode_t): Describe constraints on size and
18112 signedness, not exact equivalence to a particular type.
18113 (ino_t): Likewise.
18114 (ino64_t): Likewise.
18115 (dev_t): Likewise.
18116 (nlink_t): Likewise.
18117 (blkcnt_t): Likewise.
18118 (blkcnt64_t): Likewise.
18119 * manual/llio.texi (off_t): Likewise.
18120
28afd92d
JM
18121 [BZ #3976]
18122 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18123 (__ieee754_exp): Save and restore rounding mode and use
18124 round-to-nearest for all computations.
18125 * math/libm-test.inc (exp_test_tonearest): New function.
18126 (exp_test_towardzero): Likewise.
18127 (exp_test_downward): Likewise.
18128 (exp_test_upward): Likewise.
18129 (main): Call the new functions.
18130 * sysdeps/i386/fpu/libm-test-ulps: Update.
18131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18132
b1eeb65d
CD
181332012-03-01 Chris Demetriou <cgd@google.com>
18134
18135 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18136 have predictable order.
18137
53362a4b
DM
181382012-03-01 David S. Miller <davem@davemloft.net>
18139
3c969083
DM
18140 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18141
759707de
DM
18142 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18143 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18144 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18145 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18146
dfdb8ff2
DM
18147 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18148 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18149 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18151 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18152 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18153 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18154 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18155 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18156
ead89f96
DM
18157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18158
7f66bd07
DM
18159 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18160 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18162
53362a4b
DM
18163 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18164 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18165 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18166 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18167 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18168 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18169 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18170 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18171 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18172 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18173 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18174 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18175 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18176 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18177 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18179 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18180 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18181 * sysdeps/sparc/elf/configure: Regenerated.
18182
7b1902cb
JM
181832012-03-01 Joseph Myers <joseph@codesourcery.com>
18184
bec039bc
JM
18185 * configure.in (AS, LD): Require binutils 2.20 or later.
18186 * configure: Regenerated.
18187 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18188 as required minimum version.
18189 * INSTALL: Regenerated.
18190
7b1902cb
JM
18191 [BZ #2541]
18192 [BZ #4108]
18193 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18194 before squaring exponent.
18195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18196 bottom long double and 27 bits of top long double before squaring
18197 exponent.
18198 * math/libm-test.inc (erfc_test): Add more tests.
18199 * sysdeps/i386/fpu/libm-test-ulps: Update.
18200 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18202
f775c276
KT
182032012-03-01 Kai Tietz <ktietz@redhat.com>
18204
18205 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18206 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18207 containing bit-fields.
18208 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18209 * soft-fp/single.h (_FP_UNION_S): Likewise.
18210 * soft-fp/double.h (_FP_UNION_D): Likewise.
18211
5b8a4d4a
JM
182122012-02-29 Joseph Myers <joseph@codesourcery.com>
18213
0bab47b6
JM
18214 [BZ #13786]
18215 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18216 not include ../strcmp.S.
18217 [USE_AS_STRNCASECMP_L]: Likewise.
18218 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18219 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18220 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18221 (__strncasecmp_l_ia32): Define as alias to
18222 __strncasecmp_l_nonascii.
18223
0fcad3e2
JM
18224 [BZ #5794]
18225 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18226 * sysdeps/i386/fpu/libm-test-ulps: Update.
18227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18228
5b8a4d4a
JM
18229 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18231
8fdceb2e
JL
182322012-02-29 Jeff Law <law@redhat.com>
18233
18234 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18235 out of bounds read.
18236
1f393a11
MP
182372012-02-29 Marek Polacek <polacek@redhat.com>
18238
18239 [BZ #13706]
18240 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18241 * elf/Makefile: Add rules to run tst-unused-dep.out.
18242
8847f037
DM
182432012-02-28 David S. Miller <davem@davemloft.net>
18244
18245 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18246 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18247 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18248 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18249 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18250 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18251
169d7f11
JM
182522012-02-29 Joseph Myers <joseph@codesourcery.com>
18253
18254 * math/libm-test.inc (llround_test): Move one test from
18255 lround_test. Use TEST_f_L in moved test.
18256 (lround_test): Move misplaced test to llround_test. Add testcase
18257 from bug 2561.
18258
39adf059
UD
182592012-02-28 Ulrich Drepper <drepper@gmail.com>
18260
18261 * sysdeps/x86_64/fpu/e_expf.S: New file.
18262 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18263
71b5d1c5
SB
182642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18265
18266 [BZ #13637]
18267 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18268 of remain_len that may cause incomplete multi-byte character and
18269 false match.
18270 * posix/bug-regex33.c: New file.
18271 * posix/Makefile (tests): Add bug-regex33.
18272
1f77f049
JM
182732012-02-28 Joseph Myers <joseph@codesourcery.com>
18274
18275 * manual/macros.texi: New file.
18276 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18277 * manual/libc.texinfo: Include macros.texi.
18278 * manual/creatute.texi: Likewise.
18279 * manual/install.texi: Likewise.
18280 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18281 @glibcadj{} in references to the GNU C Library.
18282 * manual/charset.texi: Likewise.
18283 * manual/conf.texi: Likewise.
18284 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18285 when not using those macros.
18286 * manual/creature.texi: Likewise.
18287 * manual/crypt.texi: Likewise.
18288 * manual/errno.texi: Likewise.
18289 * manual/filesys.texi: Likewise.
18290 * manual/header.texi: Likewise.
18291 * manual/install.texi: Likewise.
18292 * manual/intro.texi: Likewise.
18293 * manual/io.texi: Likewise.
18294 * manual/job.texi: Likewise.
18295 * manual/lang.texi: Likewise.
18296 * manual/libc.texiinfo: Likewise.
18297 * manual/llio.texi: Likewise.
18298 * manual/locale.texi: Likewise.
18299 * manual/maint.texi: Likewise.
18300 * manual/math.texi: Likewise.
18301 * manual/memory.texi: Likewise.
18302 * manual/message.texi: Likewise.
18303 * manual/nss.texi: Likewise.
18304 * manual/pattern.texi: Likewise.
18305 * manual/process.texi: Likewise.
18306 * manual/resource.texi: Likewise.
18307 * manual/search.texi: Likewise.
18308 * manual/setjmp.texi: Likewise.
18309 * manual/signal.texi: Likewise.
18310 * manual/socket.texi: Likewise.
18311 * manual/startup.texi: Likewise.
18312 * manual/stdio.texi: Likewise.
18313 * manual/string.texi: Likewise.
18314 * manual/sysinfo.texi: Likewise.
18315 * manual/syslog.texi: Likewise.
18316 * manual/terminal.texi: Likewise.
18317 * manual/time.texi: Likewise.
18318 * manual/users.texi: Likewise.
18319 * INSTALL: Regenerated.
18320 * NOTES: Regenerated.
d40c5d54 18321 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18322
450bf206
AS
183232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18324
18325 * include/dirent.h: Include <dirstream.h> before
18326 <dirent/dirent.h>.
18327
741a235b
DM
183282012-02-28 David S. Miller <davem@davemloft.net>
18329
18330 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18331 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18332 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18333 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18334
d6b5aa58
DM
183352012-02-27 David S. Miller <davem@davemloft.net>
18336
1aff59a3
DM
18337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18339 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18340 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18341
d6b5aa58
DM
18342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18343 frame pointer instead of stack pointer relative arg slot.
18344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18345 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18346 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18347
433f48bf
CD
183482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18349
18350 [BZ #3992]
18351 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18352
d674b76d
DM
183532012-02-27 David S. Miller <davem@davemloft.net>
18354
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18359 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18360 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18361 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18362 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18363
0e7727f7
JM
183642012-02-27 Joseph Myers <joseph@codesourcery.com>
18365
18366 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18367 later. Allow versions 5-9.
43be4ca2 18368 * configure: Regenerated.
0e7727f7
JM
18369 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18370 required minimum version and 4.6 as recommended version. Do not
18371 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18372 * INSTALL: Regenerated.
0e7727f7 18373
a78bc654
DM
183742012-02-27 David S. Miller <davem@davemloft.net>
18375
428d5830
DM
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18380 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18381 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18382 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18383 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18384
a78bc654
DM
18385 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18386 manipulate bits before adding and subtracting TWO112[sx].
18387 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18388
4579f81c
RM
183892012-02-27 Roland McGrath <roland@hack.frob.com>
18390
36c8acb4
RM
18391 [BZ #13775]
18392 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18393 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18394 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18395 being in POSIX, because they are in 1003.1-2008.
18396
84ad622b
RM
18397 * rt/tst-aio.c: Include <fcntl.h>.
18398 * rt/tst-aio7.c: Likewise.
18399 * rt/tst-aio64.c: Likewise.
18400
4579f81c
RM
18401 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18402
abd923db
JM
184032012-02-27 Joseph Myers <joseph@codesourcery.com>
18404
18405 * manual/install.texi (--with-headers): Describe headers as
18406 interface headers, not private headers.
18407 (Specific advice for GNU/Linux systems): Describe use of headers
18408 from "make headers_install", not private headers from older
18409 kernels.
43be4ca2 18410 * INSTALL: Regenerated.
abd923db
JM
18411 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18412 Change to 2.6.19.
18413 * sysdeps/unix/sysv/linux/configure: Regenerated.
18414
6664049b
JM
18415 * manual/llio.texi (fclean): Remove documentation.
18416
bb8b6697
JM
18417 * manual/Makefile (libc-texi-generated): New variable. Include
18418 version.texi.
18419 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18420 $(libc-texi-generated), not duplicated list of files.
18421 (version.texi, stamp-version): New rules.
18422 (realclean): Remove $(libc-texi-generated), not individual files
18423 from that list. Do not remove dir-add.texinfo.
18424 * manual/libc.texinfo: Comment out uses of edition numbers and
18425 references to printed manual. Remove last-updated dates.
18426 (EDITION): Comment out.
18427 (ISBN): Likewise.
18428 (VERSION, UPDATED): Remove.
18429 (version.texi): Include.
18430
12e5c3b9
AS
184312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18432
18433 * sysdeps/posix/spawni.c: Include <signal.h>.
18434 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18435 * sysdeps/pthread/aio_fsync.c: Likewise.
18436
4efeffc1 184372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18438
ba63ba08
UD
18439 * conform/Makefile (tests): Run only when not cross-compiling and
18440 when fast-check is not defined.
18441
d94a4670
UD
18442 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18443 * conform/data/limits.h-data: Fixes for POSIX2008.
18444 * conform/run-conformtest.sh: Run all tests.
18445 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18446 headers.
18447 * include/bits/dlfcn.h: Likewise.
18448 * include/langinfo.h: Likewise.
18449 * include/monetary.h: Likewise.
18450 * include/sys/poll.h: Likewise.
18451
18452 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18453 for __USE_GNU.
18454 * posix/spawn.h: Define __need_sigset_t.
18455 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18456 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18457 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18458 to get sigevent_t only.
18459 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18460 only for __USE_GNU.
18461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18462 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18463 process_vm_writev only for __USE_GNU.
18464 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18465
18466 * conform/Makefile: For now ignore errors from run-conformtest.
18467 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18468 POSIX to avoid namespace pollution. Don't prepend headers.
18469 * conform/data/aio.h-data: Fixes for POSIX testing.
18470 * conform/data/fcntl.h-data: Likewise.
18471 * conform/data/glob.h-data: Likewise.
18472 * conform/data/grp.h-data: Likewise.
18473 * conform/data/pthread.h-data: Likewise.
18474 * conform/data/pwd.h-data: Likewise.
18475 * conform/data/signal.h-data: Likewise.
18476 * conform/data/spawn.h-data: Likewise.
18477 * conform/data/stdio.h-data: Likewise.
18478 * conform/data/stdlib.h-data: Likewise.
18479 * conform/data/stropts.h-data: Likewise.
18480 * conform/data/sys/mman.h-data: Likewise.
18481 * conform/data/sys/stat.h-data: Likewise.
18482 * conform/data/sys/types.h-data: Likewise.
18483 * conform/data/sys/wait.h-data: Likewise.
18484 * conform/data/time.h-data: Likewise.
18485 * conform/data/unistd.h-data: Likewise.
18486 * conform/data/utime.h-data: Likewise.
18487
18488 * io/sys/stat.h: fchmod was always in POSIX.
18489 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18490 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18491 * rt/aio.h: Define __need_timespec before including <time.h>.
18492 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18493 struct. Add forward declaration of pthread_attr_t and use it in
18494 sigevent.
18495 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18496 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18497 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18498 always remove CLK_TCK definition.
18499
c20105c3
AS
185002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18501
18502 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18503
7a270350
UD
185042012-02-25 Ulrich Drepper <drepper@gmail.com>
18505
31341567
UD
18506 * conform/run-conformtest.sh: New file.
18507 * conform/Makefile: Run run-conformtest for tests.
18508 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18509 support.
18510
18511 * conform/data/uchar.h-data: New file.
18512 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18513 * conform/data/arpa/inet.h-data: Likewise.
18514 * conform/data/assert.h-data: Likewise.
18515 * conform/data/complex.h-data: Likewise.
18516 * conform/data/cpio.h-data: Likewise.
18517 * conform/data/ctype.h-data: Likewise.
18518 * conform/data/dirent.h-data: Likewise.
18519 * conform/data/dlfcn.h-data: Likewise.
18520 * conform/data/errno.h-data: Likewise.
18521 * conform/data/fcntl.h-data: Likewise.
18522 * conform/data/float.h-data: Likewise.
18523 * conform/data/fmtmsg.h-data: Likewise.
18524 * conform/data/fnmatch.h-data: Likewise.
18525 * conform/data/ftw.h-data: Likewise.
18526 * conform/data/glob.h-data: Likewise.
18527 * conform/data/grp.h-data: Likewise.
18528 * conform/data/iconv.h-data: Likewise.
18529 * conform/data/inttypes.h-data: Likewise.
18530 * conform/data/langinfo.h-data: Likewise.
18531 * conform/data/libgen.h-data: Likewise.
18532 * conform/data/limits.h-data: Likewise.
18533 * conform/data/locale.h-data: Likewise.
18534 * conform/data/math.h-data: Likewise.
18535 * conform/data/monetary.h-data: Likewise.
18536 * conform/data/mqueue.h-data: Likewise.
18537 * conform/data/ndbm.h-data: Likewise.
18538 * conform/data/net/if.h-data: Likewise.
18539 * conform/data/netdb.h-data: Likewise.
18540 * conform/data/netinet/in.h-data: Likewise.
18541 * conform/data/nl_types.h-data: Likewise.
18542 * conform/data/poll.h-data: Likewise.
18543 * conform/data/pthread.h-data: Likewise.
18544 * conform/data/pwd.h-data: Likewise.
18545 * conform/data/regex.h-data: Likewise.
18546 * conform/data/sched.h-data: Likewise.
18547 * conform/data/search.h-data: Likewise.
18548 * conform/data/semaphore.h-data: Likewise.
18549 * conform/data/setjmp.h-data: Likewise.
18550 * conform/data/signal.h-data: Likewise.
18551 * conform/data/spawn.h-data: Likewise.
18552 * conform/data/stdarg.h-data: Likewise.
18553 * conform/data/stdio.h-data: Likewise.
18554 * conform/data/stdlib.h-data: Likewise.
18555 * conform/data/string.h-data: Likewise.
18556 * conform/data/strings.h-data: Likewise.
18557 * conform/data/stropts.h-data: Likewise.
18558 * conform/data/sys/ipc.h-data: Likewise.
18559 * conform/data/sys/mman.h-data: Likewise.
18560 * conform/data/sys/msg.h-data: Likewise.
18561 * conform/data/sys/resource.h-data: Likewise.
18562 * conform/data/sys/select.h-data: Likewise.
18563 * conform/data/sys/sem.h-data: Likewise.
18564 * conform/data/sys/shm.h-data: Likewise.
18565 * conform/data/sys/socket.h-data: Likewise.
18566 * conform/data/sys/stat.h-data: Likewise.
18567 * conform/data/sys/statvfs.h-data: Likewise.
18568 * conform/data/sys/time.h-data: Likewise.
18569 * conform/data/sys/timeb.h-data: Likewise.
18570 * conform/data/sys/times.h-data: Likewise.
18571 * conform/data/sys/types.h-data: Likewise.
18572 * conform/data/sys/uio.h-data: Likewise.
18573 * conform/data/sys/un.h-data: Likewise.
18574 * conform/data/sys/utsname.h-data: Likewise.
18575 * conform/data/sys/wait.h-data: Likewise.
18576 * conform/data/syslog.h-data: Likewise.
18577 * conform/data/tar.h-data: Likewise.
18578 * conform/data/termios.h-data: Likewise.
18579 * conform/data/utime.h-data: Likewise.
18580 * conform/data/utmpx.h-data: Likewise.
18581 * conform/data/varargs.h-data: Likewise.
18582 * conform/data/wchar.h-data: Likewise.
18583 * conform/data/wctype.h-data: Likewise.
18584 * conform/data/wordexp.h-data: Likewise.
18585
18586 * include/stropts.h: New file.
18587 * include/uchar.h: New file.
18588 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18589 * include/assert.h: Likewise.
18590 * include/ctype.h: Likewise.
18591 * include/dirent.h: Likewise.
18592 * include/dlfcn.h: Likewise.
18593 * include/fcntl.h: Likewise.
18594 * include/fnmatch.h: Likewise.
18595 * include/glob.h: Likewise.
18596 * include/grp.h: Likewise.
18597 * include/libio.h: Likewise.
18598 * include/locale.h: Likewise.
18599 * include/math.h: Likewise.
18600 * include/net/if.h: Likewise.
18601 * include/netdb.h: Likewise.
18602 * include/netinet/in.h: Likewise.
18603 * include/pthread.h: Likewise.
18604 * include/pwd.h: Likewise.
18605 * include/regex.h: Likewise.
18606 * include/sched.h: Likewise.
18607 * include/search.h: Likewise.
18608 * include/setjmp.h: Likewise.
18609 * include/signal.h: Likewise.
18610 * include/stdio.h: Likewise.
18611 * include/stdlib.h: Likewise.
18612 * include/string.h: Likewise.
18613 * include/sys/cdefs.h: Likewise.
18614 * include/sys/mman.h: Likewise.
18615 * include/sys/msg.h: Likewise.
18616 * include/sys/resource.h: Likewise.
18617 * include/sys/select.h: Likewise.
18618 * include/sys/socket.h: Likewise.
18619 * include/sys/stat.h: Likewise.
18620 * include/sys/statvfs.h: Likewise.
18621 * include/sys/time.h: Likewise.
18622 * include/sys/times.h: Likewise.
18623 * include/sys/uio.h: Likewise.
18624 * include/sys/utsname.h: Likewise.
18625 * include/sys/wait.h: Likewise.
18626 * include/termios.h: Likewise.
18627 * include/time.h: Likewise.
18628 * include/ulimit.h: Likewise.
18629 * include/unistd.h: Likewise.
18630 * include/utime.h: Likewise.
18631 * include/wchar.h: Likewise.
18632 * include/wctype.h: Likewise.
18633 * include/wordexp.h: Likewise.
18634
18635 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18636
7a270350
UD
18637 * time/time.h: TIME_UTC must be a macro.
18638 Make timespec_get available for ISO C11 only as well.
18639
7724defc
UD
186402012-02-24 Ulrich Drepper <drepper@gmail.com>
18641
18642 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18643 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18644
6b1d1d46
JM
186452012-02-24 Joseph Myers <joseph@codesourcery.com>
18646
18647 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18648
0f8bbd69
JM
186492012-02-24 Joseph Myers <joseph@codesourcery.com>
18650
18651 * manual/texinfo.tex: Update to version 2012-01-19.16.
18652
66ab80bc
JM
186532012-02-24 Joseph Myers <joseph@codesourcery.com>
18654
18655 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18656
74981cc5
RM
186572012-02-24 Roland McGrath <roland@hack.frob.com>
18658
ee968201
RM
18659 [BZ #13738]
18660 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18661 * manual/fdl-1.3.texi: New file.
18662 * manual/fdl-1.1.texi: File removed.
18663
74981cc5
RM
18664 [BZ #13738]
18665 * manual/libc.texinfo (FDL_VERSION): New @set.
18666 Use it for mention of FDL in cover text.
18667 (Documentation License): Use it in @include file name.
18668
7bb764bc
JM
186692012-02-22 Joseph Myers <joseph@codesourcery.com>
18670 Roland McGrath <roland@hack.frob.com>
18671
18672 [BZ #5461]
18673 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18674 not LONG_LONG_MAX and LONG_LONG_MIN.
18675 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18676 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18677 name.
18678 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18679
6cbeae47
JM
186802012-02-22 Joseph Myers <joseph@codesourcery.com>
18681
18682 [BZ #2547]
18683 [BZ #11365]
18684 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18685 manipulate bits before adding and subtracting TWO23[sx].
18686 * math/libm-test.inc (nearbyint_test): Add more tests.
18687
fe45ce09
JM
186882012-02-22 Joseph Myers <joseph@codesourcery.com>
18689
18690 [BZ #2548]
18691 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18692 bits before adding and subtracting TWO23[sx].
18693 * math/libm-test.inc (rint_test): Add more tests.
18694 (rint_test_tonearest): Likewise.
18695 (rint_test_towardzero): Likewise.
18696 (rint_test_downward): Likewise.
18697 (rint_test_upward: Likewise.
18698
ff3b3d82
JM
186992012-02-22 Joseph Myers <joseph@codesourcery.com>
18700
18701 [BZ #10110]
18702 * include/stdc-predef.h: New file. Extracted from features.h.
18703 * include/features.h: Include stdc-predef.h.
18704 * Makefile (headers): Add stdc-predef.h.
18705 * CONFORMANCE (Compiler limitations): Update.
18706
ef0aab35
JM
187072012-02-22 Joseph Myers <joseph@codesourcery.com>
18708
18709 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18710
58639409
DM
187112012-02-21 David S. Miller <davem@davemloft.net>
18712
18713 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18714 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18715
c0e70b25
DM
187162012-02-20 David S. Miller <davem@davemloft.net>
18717
18718 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18719 using a normal save/restore sequence, rather than allocating a
18720 dummy stack frame just to store a frame pointer and restore.
18721 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18722
fb06851d
JM
187232012-02-21 Joseph Myers <joseph@codesourcery.com>
18724
18725 * manual/install.texi: Fix stray word in line-wrapped comment.
18726
7a8b71c3
DM
187272012-02-20 David S. Miller <davem@davemloft.net>
18728
d510c123
DM
18729 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18730 both binutils and gcc support GOTDATA.
18731
0722d7c2
DM
18732 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18733 "rd %pc" in the PIC register setup sequences.
18734
3d2b3019
DM
18735 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18736 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18737 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18738 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18739 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18741 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18742 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18744 (SYSCALL_ERROR_HANDLER): Likewise.
18745 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18746 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18748 (SYSCALL_ERROR_HANDLER): Likewise.
18749
c80098a9
DM
18750 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18751 (HAVE_GCC_GOTDATA): New.
18752 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18753 relocation support in both binutils and gcc.
18754 * sysdeps/sparc/elf/configure: Regenerate.
18755
3a2545a0
DM
18756 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18757 * sysdeps/sparc/sparc32/elf/configure: Delete.
18758 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18759 * sysdeps/sparc/sparc64/elf/configure: Delete.
18760 * sysdeps/sparc/elf/configure.in: New file.
18761 * sysdeps/sparc/elf/configure: Generate.
18762
7a8b71c3
DM
18763 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18764 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18765 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18766 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18767 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18768
f1e86fca
JM
187692012-02-21 Joseph Myers <joseph@codesourcery.com>
18770
18771 * manual/install.texi: Do not mention specific glibc version
18772 numbers.
18773 * manual/libc.texinfo (VERSION, UPDATED): Update.
18774 (@copying): Use @copyright{} and range of years.
18775
0e7dfaef
JM
187762012-02-21 Joseph Myers <joseph@codesourcery.com>
18777
18778 [BZ #13695]
18779 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18780 [crti.S not in sysdirs] (generated): Do not append.
18781 [crti.S not in sysdirs] (omit-deps): Likewise.
18782 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18783 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18784 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18785 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18786 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18787 Likewise.
18788 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18789 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18790 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18791 * csu/defs.awk: Remove file.
18792 * sysdeps/generic/initfini.c: Likewise.
18793 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18794 variable.
18795 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18796 Likewise.
18797
599af3ca
JM
187982012-02-20 Joseph Myers <joseph@codesourcery.com>
18799
18800 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18801 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18802 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18803 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18804 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18805 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18806 <bits/epoll.h>.
18807 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18808 (__EPOLL_PACKED): Define to empty if not defined by
18809 <bits/epoll.h>.
18810 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18812 bits/epoll.h.
18813
0e499750
JM
188142012-02-20 Joseph Myers <joseph@codesourcery.com>
18815
18816 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18817 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18818 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18819 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18820 <bits/timerfd.h>.
18821 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18823 bits/timerfd.h.
18824
5ad91f6e
JM
188252012-02-20 Joseph Myers <joseph@codesourcery.com>
18826
18827 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18828 in C locale.
18829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18830 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18831 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18833
06b99b02
AJ
188342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18835
18836 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18837 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18838
7638c0fd
AS
188392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18840
18841 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18842 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18843 defined.
18844 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18845 Likewise.
18846 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18847 entry for 2.16.
18848
92221550
AJ
188492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18850
18851 * math/w_acos.c: Use non-signaling floating-point comparisons.
18852 * math/w_acosf.c: Likewise.
18853 * math/w_acosh.c: Likewise.
18854 * math/w_acoshf.c: Likewise.
18855 * math/w_acoshl.c: Likewise.
18856 * math/w_acosl.c: Likewise.
18857 * math/w_asin.c: Likewise.
18858 * math/w_asinf.c: Likewise.
18859 * math/w_asinl.c: Likewise.
18860 * math/w_atanh.c: Likewise.
18861 * math/w_atanhf.c: Likewise.
18862 * math/w_atanhl.c: Likewise.
18863 * math/w_exp2.c: Likewise.
18864 * math/w_exp2f.c: Likewise.
18865 * math/w_exp2l.c: Likewise.
18866 * math/w_j0.c: Likewise.
18867 * math/w_j0f.c: Likewise.
18868 * math/w_j0l.c: Likewise.
18869 * math/w_j1.c: Likewise.
18870 * math/w_j1f.c: Likewise.
18871 * math/w_j1l.c: Likewise.
18872 * math/w_jn.c: Likewise.
18873 * math/w_jnf.c: Likewise.
18874 * math/w_log.c: Likewise.
18875 * math/w_log10.c: Likewise.
18876 * math/w_log10f.c: Likewise.
18877 * math/w_log10l.c: Likewise.
18878 * math/w_log2.c: Likewise.
18879 * math/w_log2f.c: Likewise.
18880 * math/w_log2l.c: Likewise.
18881 * math/w_logf.c: Likewise.
18882 * math/w_logl.c: Likewise.
18883 * math/w_sqrt.c: Likewise.
18884 * math/w_sqrtf.c: Likewise.
18885 * math/w_sqrtl.c: Likewise.
18886 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18887 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18888 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18889 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18890 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18891
ebaf36eb
JM
188922012-02-19 Joseph Myers <joseph@codesourcery.com>
18893
18894 [BZ #9739]
18895 * manual/string.texi (strnlen): Use correct parameter name in
18896 equivalent expression.
18897
71c254a6
JM
188982012-02-19 Joseph Myers <joseph@codesourcery.com>
18899
18900 [BZ #11174]
18901 * manual/users.texi (seteuid): Consistently use neweuid for
18902 argument name.
18903
16d2c631
JM
189042012-02-19 Joseph Myers <joseph@codesourcery.com>
18905
18906 [BZ #13704]
18907 * manual/nss.texi (Services in the NSS configuration): Correct
18908 list of services in example configuration file.
18909
cd837b09
NB
189102012-02-19 Nick Bowler <nbowler@draconx.ca>
18911
18912 [BZ #11322]
18913 * manual/arith.texi: Remove statements about negative zero
18914 behaving identically to zero.
18915
02c4bbad
JM
189162012-02-18 Joseph Myers <joseph@codesourcery.com>
18917
18918 [BZ #5993]
18919 * manual/install.texi: Do not document upgrading from libc5.
18920
366842e7
JM
189212012-02-18 Joseph Myers <joseph@codesourcery.com>
18922
18923 [BZ #4596]
18924 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18925
dd54084d
DM
189262012-02-18 David S. Miller <davem@davemloft.net>
18927
18928 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18929 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18930 %o7 across the call.
18931 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18932 instead.
18933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18934 SETUP_PIC_REG_LEAF.
18935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18936 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18937 * sysdeps/sparc/crtn.S: Likewise.
18938
2bcc53a3
UD
189392012-02-17 Ulrich Drepper <drepper@gmail.com>
18940
18941 * aout/Makefile: Remove.
18942
09c093b5
RK
189432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18944
18945 [BZ #13058]
18946 * manual/examples/argp-ex1.c (main): Format definition in GNU
18947 style.
18948 * manual/examples/argp-ex2.c (main): Likewise.
18949 * manual/examples/argp-ex3.c (main): Likewise.
18950 * manual/examples/argp-ex4.c (main): Likewise.
18951 * manual/examples/longopt.c (main): Use new-style prototype
18952 definition.
18953 * manual/examples/strncat.c (main): Specify return type and use
18954 (void) for arguments.
18955 * manual/examples/subopt.c (main): Use char **argv argument.
18956
2ee633a2
JM
189572012-02-17 Joseph Myers <joseph@codesourcery.com>
18958
18959 [BZ #5077]
18960 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18961 rounding modes.
18962
0520adde
FB
189632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18964
18965 [BZ #6907]
18966 * manual/string.texi (strchr): Change when strchrnul is
18967 recommended.
18968
3f4081cd
DGM
189692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18970
18971 [BZ #174]
18972 * manual/locale.texi (setlocale): Document LOCPATH.
18973
d1b10e78
JM
189742012-02-17 Joseph Myers <joseph@codesourcery.com>
18975
18976 [BZ #10210]
18977 * manual/process.texi (execle): Move @dots{} before last argument.
18978
79c6869c
PB
189792012-02-17 Paul Bolle <pebolle@tiscali.nl>
18980
18981 [BZ #12047]
18982 * manual/charset.texi (Generic Charset Conversion): Fix typo
18983 (LC_TYPE -> LC_CTYPE).
18984
cc6e48bc
NB
189852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18986
18987 [BZ #5805]
18988 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18989 (scalbnf): Likewise.
18990 (scalbnl): Likewise.
18991 (scalbln): Likewise.
18992 (scalblnf): Likewise.
18993 (scalblnl): Likewise.
18994 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18995 (vwarnx): Likewise.
18996 (verr): Likewise.
18997 (verrx): Likewise.
18998 * manual/filesys.texi (telldir): Use braces around return type.
18999 * manual/llio.texi (mmap): Add space after comma.
19000 (mmap64): Likewise.
19001 * manual/math.texi (jn): Use @var{} on parameter names.
19002 (jnf): Likewise.
19003 (jnl): Likewise.
19004 (yn): Likewise.
19005 (ynf): Likewise.
19006 (ynl): Likewise.
19007 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19008 line.
19009 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19010 "...".
19011 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19012 (sched_get_priority_max): Likewise.
19013 * manual/signal.texi (sigvec): Add space after comma.
19014 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19015 names.
19016 (if_indextoname): Likewise.
19017 (if_freenameindex): Likewise.
19018 (sendto): Use ',' instead of '.' in prototype.
19019 * manual/startup.texi (syscall): Use @dots{} instead of literal
19020 "...".
19021 * manual/stdio.texi (__fpending): Separate initial words of
19022 paragraph from @deftypefun line.
19023 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19024 "...".
19025 (vsyslog): Use @var{} on parameter names.
19026 * manual/terminal.texi (stty): Use @var{} on parameter names.
19027 * manual/users.texi (getutmp): Use @var{} on parameter names.
19028 (getutmpx): Likewise.
19029
5b23062f
JM
190302012-02-17 Joseph Myers <joseph@codesourcery.com>
19031
19032 [BZ #6884]
19033 * manual/stdio.texi (fopen): Fix typos in description of
19034 ",ccs=STRING".
19035
8dee4833
AJ
190362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19037
19038 [BZ #4026]
19039 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19040 get clock_id definition.
19041
9078ce93
TS
190422012-02-17 Thomas Schwinge <thomas@schwinge.name>
19043
19044 [BZ #4822]
19045 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19046 (madvise): Cast every argument to void on its own.
19047
3835c55f
JM
190482012-02-17 Joseph Myers <joseph@codesourcery.com>
19049
19050 [BZ #9902]
19051 * manual/startup.texi (Exit Status): Fix typo.
19052
35c47e37
JM
190532012-02-17 Joseph Myers <joseph@codesourcery.com>
19054
19055 [BZ #10140]
19056 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19057 * manual/examples/argp-ex2.c: Likewise.
19058 * manual/examples/argp-ex3.c: Likewise.
19059
e3b69ca7
RH
190602012-02-16 Richard Henderson <rth@redhat.com>
19061
19062 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19063 * sysdeps/s390/s390-32/initfini.c: Remove.
19064 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19065 * sysdeps/s390/s390-64/initfini.c: Remove.
19066
df83af67
KK
190672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19068
19069 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19070 compiler output for sysdeps/generic/initfini.c.
19071 * sysdeps/sh/elf/initfini.c: Remove file.
19072
f63f3380
DM
190732012-02-16 David S. Miller <davem@davemloft.net>
19074
fb59b3a4
DM
19075 [BZ #11494]
19076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19077
f63f3380
DM
19078 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19079 * sysdeps/sparc/crti.S: New file.
19080 * sysdeps/sparc/crtn.S: New file.
19081 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19082 * sysdeps/sparc/sparc64/Makefile: Likewise.
19083
df6a4a4a
MF
190842012-02-15 Mike Frysinger <vapier@gentoo.org>
19085
6dd8f3dc 19086 [BZ #3335]
df6a4a4a
MF
19087 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19088
1cac7236
RM
190892012-02-15 Roland McGrath <roland@hack.frob.com>
19090
d2c736f8
RM
19091 [BZ #4822]
19092 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19093
1cac7236
RM
19094 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19095 (write, read, close): Likewise.
19096 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19097
8e475601
JM
190982012-02-15 Joseph Myers <joseph@codesourcery.com>
19099
19100 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19101 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19102 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19103 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19104 <bits/signalfd.h>.
19105 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19107 bits/signalfd.h.
19108
ed656b40
MP
191092012-02-14 Marek Polacek <polacek@redhat.com>
19110
19111 * sysdeps/x86_64/crti.S: New file.
19112 * sysdeps/x86_64/crtn.S: New file.
19113 * sysdeps/x86_64/elf/initfini.c: Remove file.
19114
2a979d3a
JM
191152012-02-13 Joseph Myers <joseph@codesourcery.com>
19116
19117 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19118 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19119 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19120 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19121 <bits/inotify.h>.
19122 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19124 bits/inotify.h.
19125
2a418ac3
JM
191262012-02-13 Joseph Myers <joseph@codesourcery.com>
19127
19128 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19129 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19130 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19131 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19132 <bits/eventfd.h>.
19133 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19135 bits/eventfd.h.
19136
fb779be7
TS
191372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19138
e19e83c5
RM
19139 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19140 __feraiseexcept instead of feraiseexcept.
7c35ffed 19141
fb779be7
TS
19142 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19143 nanosleep invocations.
19144 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19145 strings, and add error checking for a nanosleep invocations.
19146
59ba27a6
PE
191472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19148
19149 Replace FSF snail mail address with URLs, as per GNU coding standards.
19150 Most of the snail mail addresses were wrong anyway, and omitting
19151 them makes the source code easier to maintain. Almost all of the
19152 changes are to license notices and to locale LC_IDENTIFICATION
19153 addresses, except for this one:
19154 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19155 not its snail mail address.
19156
57b957eb
RH
191572012-02-09 Richard Henderson <rth@twiddle.net>
19158
af850b1c
RH
19159 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19160 of kernel-features.h.
19161
57b957eb
RH
19162 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19163
6b73181a
MP
191642012-02-08 Marek Polacek <polacek@redhat.com>
19165
19166 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19167 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19168 * sysdeps/gnu/_G_config.h: Likewise.
19169 * sysdeps/generic/_G_config.h: Likewise.
19170
26ecc33a
AS
191712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19172
6c6dbc63
AS
19173 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19174 tests.
19175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19176
e216c012
AS
19177 * sysdeps/powerpc/powerpc32/crti.S: New file.
19178 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19179 * sysdeps/powerpc/powerpc64/crti.S: New file.
19180 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19181
26ecc33a
AS
19182 * Makeconfig (have-initfini): Don't set.
19183 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19184 * configure.in (nopic_initfini): Don't substitute.
19185 * config.h.in (HAVE_INITFINI): Don't #undef.
19186 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19187 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19188
3add8e13
JM
191892012-02-08 Joseph Myers <joseph@codesourcery.com>
19190
19191 Support crti.S and crtn.S provided directly by architectures.
19192 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19193 [crti.S in sysdirs] (omit-deps): Likewise.
19194 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19195 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19196 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19197 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19198 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19199 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19200 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19201 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19202 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19203 compiler output for sysdeps/generic/initfini.c.
19204 * sysdeps/i386/elf/Makefile: Remove file.
19205 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19206
a22f12b4
MP
192072012-02-07 Marek Polacek <polacek@redhat.com>
19208
19209 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19210 * sysdeps/gnu/_G_config.h: Likewise.
19211 * sysdeps/mach/hurd/_G_config.h: Likewise.
19212
148cf100
MP
192132012-02-07 Marek Polacek <polacek@redhat.com>
19214
19215 * math/Makefile (tests): Add tst-CMPLX2.
19216 * math/tst-CMPLX2.c: New file.
19217
cfdc0dd7
AS
192182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19219
84ba42c4
AS
19220 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19221
cfdc0dd7
AS
19222 * math/libm-test.inc (jn_test): Add missing L suffix.
19223
622c86f4
MP
192242012-02-06 Marek Polacek <polacek@redhat.com>
19225
19226 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19227 * sysdeps/i386/fpu/e_powf.S: Likewise.
19228 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19229 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19230 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19231 * sysdeps/i386/fpu/e_pow.S: Likewise.
19232 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19233 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19234 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19235 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19236 * sysdeps/i386/fpu/e_log2.S: Likewise.
19237 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19238 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19239 * sysdeps/i386/fpu/e_powl.S: Likewise.
19240 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19241 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19242 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19243 * sysdeps/i386/fpu/e_logl.S: Likewise.
19244 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19245 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19246 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19247 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19248 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19249 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19250 * sysdeps/i386/fpu/e_log.S: Likewise.
19251 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19252 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19253 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19254 * sysdeps/i386/fpu/e_logf.S: Likewise.
19255 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19256 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19257 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19258 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19259 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19260 * sysdeps/i386/fpu/e_log10.S: Likewise.
19261 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19262 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19263 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19264 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19265 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19266 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19267 * sysdeps/i386/asm-syntax.h: Likewise.
19268 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19269 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19270 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19271 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19272 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19273 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19274 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19275 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19276 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19277 * sysdeps/powerpc/sysdep.h: Likewise.
19278 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19279 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19280
d4a54ac6
JM
192812012-02-06 Joseph Myers <joseph@codesourcery.com>
19282
19283 [BZ #411]
19284 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19285
314054ea
JM
192862012-02-06 Joseph Myers <joseph@codesourcery.com>
19287
19288 * sysdeps/i386/sysdep.h: Include <features.h>.
19289 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19290 version.
19291
d8e0ca50
JM
192922012-02-05 Joseph Myers <joseph@codesourcery.com>
19293
19294 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19295 Define.
19296 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19297 LOAD_PIC_REG_STR.
19298
b1da7dd9
JM
192992012-02-03 Joseph Myers <joseph@codesourcery.com>
19300
19301 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19302 (SETUP_PIC_REG): Use GET_PC_THUNK.
19303 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19304 macro.
19305
9a1d9254
JM
193062012-02-03 Joseph Myers <joseph@codesourcery.com>
19307
19308 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19309 for non-PIC compilation.
19310 (SETUP_PIC_REG): Add .p2align directive.
19311 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19312 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19313 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19314 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19315 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19316 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19317 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19318 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19319 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19320 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19321 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19322 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19323 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19324 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19325 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19326 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19327 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19328 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19329 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19330 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19331 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19333 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19334 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19335 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19337 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19338 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19339 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19340 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19341 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19344 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19345 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19346 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19347 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19348 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19349 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19350 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19351 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19352
65dc3b75
JM
193532012-02-03 Joseph Myers <joseph@codesourcery.com>
19354
19355 * math/tst-CMPLX.c: Include <stdio.h>.
19356
d55bf177
JM
193572012-01-31 Joseph Myers <joseph@codesourcery.com>
19358
19359 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19360 float.
19361 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19362 * sysdeps/sparc/bits/mathdef.h: Likewise.
19363
69db4f8f
MP
193642012-01-31 Marek Polacek <polacek@redhat.com>
19365
19366 * libio/libio.h: Don't define _PARAMS.
19367 * locale/programs/config.h: Don't define PARAMS.
19368 * stdlib/strtol_l.c: Likewise.
19369 (__strtol_l): Remove PARAMS from the prototype.
19370
41b81892
UD
193712012-01-31 Ulrich Drepper <drepper@gmail.com>
19372
3b49edc0
UD
19373 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19374 names. Just use the correct names. Remove unnecessary wrapper
19375 functions.
19376 * malloc/arena.c: Likewise.
19377 * malloc/hooks.c: Likewise.
19378
41b81892
UD
19379 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19380 ARENA_TEST says not to. Simplify test for creation of a new arena.
19381 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19382
27a25b6e
UD
193832012-01-30 Ulrich Drepper <drepper@gmail.com>
19384
19385 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19386 into tail calls.
19387 (update_get_addr): New function.
19388 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19389 GET_ADDR_MODULE parameter.
19390
c8a89e7d
JM
193912012-01-30 Joseph Myers <joseph@codesourcery.com>
19392
19393 * crypt/cert.c: Remove __STDC__ conditionals.
19394 * crypt/crypt-entry.c: Likewise.
19395 * crypt/crypt_util.c: Likewise.
19396 * libio/filedoalloc.c: Likewise.
19397 * libio/fileops.c: Likewise.
19398 * libio/genops.c: Likewise.
19399 * libio/iofclose.c: Likewise.
19400 * libio/iofdopen.c: Likewise.
19401 * libio/iofopen.c: Likewise.
19402 * libio/iofopen64.c: Likewise.
19403 * libio/iogetdelim.c: Likewise.
19404 * libio/iopopen.c: Likewise.
19405 * libio/obprintf.c: Likewise.
19406 * libio/oldfileops.c: Likewise.
19407 * libio/oldiofclose.c: Likewise.
19408 * libio/oldiofdopen.c: Likewise.
19409 * libio/oldiofopen.c: Likewise.
19410 * libio/oldiopopen.c: Likewise.
19411 * libio/wfiledoalloc.c: Likewise.
19412 * libio/wgenops.c: Likewise.
19413 * locale/programs/xmalloc.c: Likewise.
19414 * misc/syslog.c: Likewise.
19415 * stdio-common/xbug.c: Likewise.
19416 * string/memchr.c: Likewise.
19417 * string/memcmp.c: Likewise.
19418 * string/memrchr.c: Likewise.
19419 * string/rawmemchr.c: Likewise.
19420 * sysdeps/posix/getcwd.c: Likewise.
19421 * time/strftime_l.c: Likewise.
19422
3b100462
JM
194232012-01-30 Joseph Myers <joseph@codesourcery.com>
19424
19425 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19426 * config.make.in (config-cflags-sse2avx): Define.
19427 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19428 Fix typo.
19429
607998af
CM
194302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19431
19432 * scripts/config.guess: Update from upstream config git repository.
19433 * scripts/config.sub: Likewise.
19434
3601428f
CM
194352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19436
3ac8b282
CM
19437 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19438 (EM_NUM): Update.
19439 (R_TILEPRO_*, R_TILEGX_*): New macros.
19440
e034841e
CM
19441 * scripts/firstversions.awk: Fix bug in version range handling.
19442
540d7568
CM
19443 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19444
3601428f
CM
19445 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19446
463de862
CM
19447 * include/sys/epoll.h: New file.
19448 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19449 libc_hidden_def.
19450
73139a76
UD
194512012-01-28 Ulrich Drepper <drepper@gmail.com>
19452
96bc5b45
UD
19453 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19454 Avoid unnecessary __WORDSIZE == 64 test.
19455 (fmaxf): Use VEX format if possible.
19456 (fmax): Likewise.
19457 (fminf): Likewise.
19458 (fmin): Likewise.
19459
56f6f6a2
UD
19460 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19461 * math/math_private.h: Remove libc_fegetround* and
19462 libc_fesetround*.
19463 * sysdeps/i386/configure.in: Check for -msse2avx.
19464 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19465 also if SSE2AVX is defined.
19466 Remove libc_fegetround* and libc_fesetround*.
19467 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19468 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19469 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19470 of HAS_YMM_USABLE.
19471 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19472 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19473 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19474 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19475 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19476
73139a76
UD
19477 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19478
d73f93a4
AZ
194792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19480
19481 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19482 size is not set.
19483 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19484
6ee65ed6
UD
194852012-01-27 Ulrich Drepper <drepper@gmail.com>
19486
19487 [BZ #13618]
19488 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19489 relocation.
19490 * Makeconfig (libm): Define.
19491 * elf/Makefile: Add rules to build and run tst-relsort1.
19492 * elf/tst-relsort1.c: New file.
19493 * elf/tst-relsort1mod1.c: New file.
19494 * elf/tst-relsort1mod2.c: New file.
19495
8db21882
JM
194962012-01-27 Joseph Myers <joseph@codesourcery.com>
19497
19498 * math/s_ldexp.c: Remove __STDC__ conditionals.
19499 * math/s_ldexpf.c: Likewise.
19500 * math/s_ldexpl.c: Likewise.
19501 * math/s_nextafter.c: Likewise.
19502 * math/s_nexttowardf.c: Likewise.
19503 * math/s_significand.c: Likewise.
19504 * math/s_significandf.c: Likewise.
19505 * math/s_significandl.c: Likewise.
19506 * math/w_jnl.c: Likewise.
19507 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19508 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19509 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19510 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19511 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19512 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19513 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19514 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19516 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19517 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19518 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19519 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19522 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19523 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19524 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19525 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19526 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19527 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19528 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19529 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19531 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19532 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19533 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19534 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19535 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19536 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19537 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19538 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19539 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19540 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19541 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19542 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19543 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19544 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19545 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19546 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19547 * sysdeps/ieee754/k_standard.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19609 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19614 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19621 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19622 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19623 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19627 * sysdeps/ieee754/s_matherr.c: Likewise.
19628 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19629 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19630 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19631 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19632
965a54a4
JM
196332012-01-26 Joseph Myers <joseph@codesourcery.com>
19634
19635 * crypt/md5.h: Remove __STDC__ conditionals.
19636 * libio/libioP.h: Likewise.
19637 * locale/programs/config.h: Likewise.
19638 * sysdeps/generic/sysdep.h: Likewise.
19639 * sysdeps/i386/asm-syntax.h: Likewise.
19640 * sysdeps/s390/asm-syntax.h: Likewise.
19641 * sysdeps/unix/sysdep.h: Likewise.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19644
7071ad79
JM
196452012-01-26 Joseph Myers <joseph@codesourcery.com>
19646
19647 * libio/libio.h: Remove __STDC__ conditionals.
19648 * malloc/obstack.h: Likewise.
19649 * math/complex.h: Likewise.
19650 * math/math.h: Likewise.
19651 * sysdeps/generic/_G_config.h: Likewise.
19652 * sysdeps/gnu/_G_config.h: Likewise.
19653 * sysdeps/mach/hurd/_G_config.h: Likewise.
19654 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19655 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19656 * sysdeps/sparc/bits/mathdef.h: Likewise.
19657
afc5ed09
UD
196582012-01-26 Ulrich Drepper <drepper@gmail.com>
19659
19660 [BZ #13583]
19661 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19662 Clean up HAS_* macros.
afc5ed09 19663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19664 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19665 possible.
19666 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19667 HAS_AVX.
19668 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19669 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19670 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19672 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19673
bdb6de1d
JM
196742012-01-25 Joseph Myers <joseph@codesourcery.com>
19675
19676 * elf/tst-unique3.cc (gets): Remove declaration.
19677 * elf/tst-unique3lib.cc (gets): Likewise.
19678 * elf/tst-unique3lib2.cc (gets): Likewise.
19679 * elf/tst-unique4.cc (gets): Likewise.
19680
b15549e6
UD
196812012-01-24 Ulrich Drepper <drepper@gmail.com>
19682
19683 * include/stdio.h: Add C++ protection. Add gets declarations and
19684 definitions.
19685 * debug/tst-chk1.c: Don't declare gets here.
19686 * stdio-common/tst-gets.c: Likewise.
19687
a037381f
JM
196882012-01-24 Joseph Myers <joseph@codesourcery.com>
19689
19690 * posix/glob: Remove directory.
19691
f1d4aa75
JM
196922012-01-24 Joseph Myers <joseph@codesourcery.com>
19693
19694 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19695
81c0c964
PT
196962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19697
19698 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19699 of the non-standard EPFNOSUPPORT.
19700
0ea698ae
ST
197012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19702
19703 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19704 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19705 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19706
d220b117
UD
197072012-01-21 Ulrich Drepper <drepper@gmail.com>
19708
19709 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19710
3e1aa84e
UD
197112012-01-20 Ulrich Drepper <drepper@gmail.com>
19712
19713 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19714 transient errors.
19715 * nscd/grpcache.c (cache_addgr): Likewise.
19716 * nscd/hstcache.c (cache_addhst): Likewise.
19717 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19718 * nscd/pwdcache.c (cache_addpw): Likewise.
19719 * nscd/servicescache.c (cache_addserv): Likewise.
19720
400aa020
UD
197212012-01-16 Ulrich Drepper <drepper@gmail.com>
19722
d77e7869
UD
19723 * malloc/malloc.c: Various cleanups.
19724 * malloc/hooks.c: Likewise.
19725
400aa020
UD
19726 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19727 * stdlib/bug-fmtmsg1.c: New file.
19728
19729 * stdlib/fmtmsg.c (init): Add missing unlock.
19730 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19731
e0a309cf
MP
197322012-01-12 Marek Polacek <polacek@redhat.com>
19733
19734 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19735 and _GNU_SOURCE.
19736
929d11c7
WS
197372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19738
19739 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19740 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19741 macro to ensure uniqueness of label name.
19742 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19743 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19744
41d0e869
UD
197452012-01-11 Ulrich Drepper <drepper@gmail.com>
19746
0cc5ed3b
UD
19747 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19748
41d0e869
UD
19749 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19750 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19751 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19752 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19753
a47a831a
UD
197542012-01-10 Ulrich Drepper <drepper@gmail.com>
19755
daa891c0
UD
19756 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19757
19758 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19759 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19760 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19761
e58ef0f2
UD
19762 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19763
a47a831a 19764 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19765 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19766 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19768
19769 * math/bits/math-finite.h: Add ldexp support.
19770
a0bfc9c7
MP
197712012-01-10 Marek Polacek <polacek@redhat.com>
19772
19773 * locale/programs/localedef.h (show_archive_content): Add noreturn
19774 attribute.
19775
d6e97a1d
UD
197762012-01-09 Ulrich Drepper <drepper@gmail.com>
19777
19778 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19779
d5835c26
UD
197802012-01-08 Ulrich Drepper <drepper@gmail.com>
19781
e5f484c6
UD
19782 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19783
d5835c26
UD
19784 * io/Makefile (headers): Add bits/poll2.h.
19785
d1f741e9
WS
197862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19787
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19789 typo #include statement.
19790
ec09c1c4
UD
197912012-01-08 Ulrich Drepper <drepper@gmail.com>
19792
19793 * include/sys/cdefs.h: Define __attribute_alloc_size.
19794 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19795 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19796 * elf/pldd.c: Likewise.
19797 * iconv/iconv_charmap.c: Likewise.
19798 * iconv/iconvconfig.c: Likewise.
19799 * iconv/strtab.c: Likewise.
19800 * locale/programs/locale.c: Likewise.
19801 * locale/programs/localedef.h: Likewise.
19802 * locale/programs/simple-hash.c: Likewise.
19803 * nscd/nscd.h: Likewise.
19804 * nss/makedb.c: Likewise.
19805 * sysdeps/generic/ldconfig.h: Likewise.
19806 * locale/programs/localedef.c: Remove xmalloc prototype.
19807 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19808
20b38e03
PP
198092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19810
19811 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19812 appropriate.
19813
a0da5fe1
UD
198142012-01-08 Ulrich Drepper <drepper@gmail.com>
19815
1d5a644a 19816 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19817 * math/tst-CMPLX.c: New file.
1d5a644a 19818
8784a6db
UD
19819 * math/complex.h (CMPLXL): Fix typo.
19820
d9a216c0
UD
19821 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19822 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19823 GLIBC_2.16.
19824 * debug/tst-chk1.c: Add poll and ppoll tests.
19825 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19826 * include/sys/poll.h: Add hidden proto for ppoll.
19827 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19828 * sysdeps/mach/hurd/ppoll.c: Likewise.
19829 * io/ppoll.c: Likewise.
19830 * debug/poll_chk.c: New file.
19831 * debug/ppoll_chk.c: New file.
19832 * include/bits/poll2.h: New file.
19833 * io/bits/poll2.h: New file.
19834
ac097f5c
UD
19835 [BZ #1350]
19836 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19837
2119dcfa
UD
19838 * configure.in: static is always set to yes. Remove.
19839 * config.make.in: Don't set build-static.
19840 * Makeconfig: Remove use of build-static.
19841 * dlfcn/Makefile: Likewise.
19842 * elf/Makefile: Likewise.
19843 * math/Makefile: Likewise.
19844 * misc/Makefile: Likewise.
19845 * nptl/Makefile: Likewise.
19846 * sysdeps/mach/hurd/Makefile: Likewise.
19847
121766a9
UD
19848 * configure.in: PWD_P is not used anymore.
19849 * config.make.in: Remove PWD_P entry.
19850
51a1d39c 19851 * configure.in: Remove last remnants of RANLIB.
8720d066 19852 No need to check for signed size_t anymore.
215f4bdc
UD
19853 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19854 and IA-64.
3857022a 19855 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19856 * aclocal.m4: Likewise.
19857
d3ed7225
UD
19858 * wcsmbs/mbrtoc16.c: Implement using towc function.
19859 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19860 * wcsmbs/wcsmbsload.c: Likewise.
19861 * iconv/gconv_simple.c: Likewise.
19862 * iconv/gconv_int.h: Likewise.
19863 * iconv/gconv_builtin.h: Likewise.
19864 * iconv/iconv_prog.c: Remove CHAR16 handling.
19865
19866 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19867
19868 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19869
a0da5fe1
UD
19870 * configure.in: Remove --with-elf and --enable-bounded options.
19871 Dont set base_machine for ia64. More non-ELF conditions removed.
19872 Remove testing and setting of leading underscore information.
19873 * config.make.in (build-bounded): Set to no.
19874 * config.h.in: Remove NO_UNDERSCORES entry.
19875 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19876 them.
19877 * csu/start.c: Remove !NO_UNDERSCORE code.
19878 * locale/localeinfo.h: Likewise.
19879 * sysdeps/generic/machine-gmon.h: Likewise.
19880 * sysdeps/generic/sysdep.h: Likewise.
19881 * sysdeps/i386/sysdep.h: Likewise.
19882 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19883 * sysdeps/mach/sysdep.h: Likewise.
19884 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19886 * sysdeps/sh/sysdep.h: Likewise.
19887 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19888 * sysdeps/unix/i386/sysdep.S: Likewise.
19889 * sysdeps/unix/sparc/start.c: Likewise.
19890 * sysdeps/unix/sparc/sysdep.S: Likewise.
19891 * sysdeps/unix/sparc/sysdep.h: Likewise.
19892 * sysdeps/unix/start.c: Likewise.
19893 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19894 * sysdeps/x86_64/sysdep.h: Likewise.
19895
df78418a
UD
198962012-01-07 Ulrich Drepper <drepper@gmail.com>
19897
a784e502
UD
19898 [BZ #13553]
19899 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19900 for non-gcc.
19901 * argp/argp-fmtstream.h: Use const instead __const.
19902 * argp/argp.h: Likewise.
19903 * assert/assert.h: Likewise.
19904 * bits/fenv.h: Likewise.
19905 * bits/sched.h: Likewise.
19906 * bits/sigset.h: Likewise.
19907 * bits/sigthread.h: Likewise.
19908 * catgets/nl_types.h: Likewise.
19909 * conform/data/pthread.h-data: Likewise.
19910 * crypt/crypt-private.h: Likewise.
19911 * crypt/crypt.h: Likewise.
19912 * crypt/crypt_util.c: Likewise.
19913 * ctype/ctype.h: Likewise.
19914 * debug/execinfo.h: Likewise.
19915 * debug/mbsnrtowcs_chk.c: Likewise.
19916 * debug/mbsrtowcs_chk.c: Likewise.
19917 * debug/wcsnrtombs_chk.c: Likewise.
19918 * debug/wcsrtombs_chk.c: Likewise.
19919 * debug/wcstombs_chk.c: Likewise.
19920 * dirent/dirent.h: Likewise.
19921 * dlfcn/dlfcn.h: Likewise.
19922 * elf/neededtest4.c: Likewise.
19923 * grp/grp.h: Likewise.
19924 * gshadow/gshadow.h: Likewise.
19925 * iconv/gconv.h: Likewise.
19926 * iconv/gconv_int.h: Likewise.
19927 * iconv/gconv_simple.c: Likewise.
19928 * iconv/iconv.h: Likewise.
19929 * iconv/loop.c: Likewise.
19930 * iconv/skeleton.c: Likewise.
19931 * include/aio.h: Likewise.
19932 * include/aliases.h: Likewise.
19933 * include/argz.h: Likewise.
19934 * include/arpa/inet.h: Likewise.
19935 * include/assert.h: Likewise.
19936 * include/dirent.h: Likewise.
19937 * include/dlfcn.h: Likewise.
19938 * include/execinfo.h: Likewise.
19939 * include/fcntl.h: Likewise.
19940 * include/fenv.h: Likewise.
19941 * include/glob.h: Likewise.
19942 * include/grp.h: Likewise.
19943 * include/libintl.h: Likewise.
19944 * include/mntent.h: Likewise.
19945 * include/netdb.h: Likewise.
19946 * include/pwd.h: Likewise.
19947 * include/rpc/netdb.h: Likewise.
19948 * include/sched.h: Likewise.
19949 * include/search.h: Likewise.
19950 * include/shadow.h: Likewise.
19951 * include/signal.h: Likewise.
19952 * include/stdio.h: Likewise.
19953 * include/stdlib.h: Likewise.
19954 * include/string.h: Likewise.
19955 * include/sys/socket.h: Likewise.
19956 * include/sys/stat.h: Likewise.
19957 * include/sys/statfs.h: Likewise.
19958 * include/sys/statvfs.h: Likewise.
19959 * include/sys/syslog.h: Likewise.
19960 * include/sys/time.h: Likewise.
19961 * include/sys/uio.h: Likewise.
19962 * include/time.h: Likewise.
19963 * include/unistd.h: Likewise.
19964 * include/utmp.h: Likewise.
19965 * include/wchar.h: Likewise.
19966 * include/wctype.h: Likewise.
19967 * inet/aliases.h: Likewise.
19968 * inet/arpa/inet.h: Likewise.
19969 * inet/netinet/ether.h: Likewise.
19970 * inet/netinet/in.h: Likewise.
19971 * intl/libintl.h: Likewise.
19972 * io/bits/fcntl2.h: Likewise.
19973 * io/fcntl.h: Likewise.
19974 * io/ftw.h: Likewise.
19975 * io/sys/poll.h: Likewise.
19976 * io/sys/stat.h: Likewise.
19977 * io/sys/statfs.h: Likewise.
19978 * io/sys/statvfs.h: Likewise.
19979 * io/utime.h: Likewise.
19980 * libio/bits/stdio.h: Likewise.
19981 * libio/bits/stdio2.h: Likewise.
19982 * libio/libio.h: Likewise.
19983 * libio/libioP.h: Likewise.
19984 * libio/stdio.h: Likewise.
19985 * locale/lc-ctype.c: Likewise.
19986 * locale/locale.h: Likewise.
19987 * login/utmp.h: Likewise.
19988 * malloc/arena.c: Likewise.
19989 * malloc/malloc.c: Likewise.
19990 * malloc/malloc.h: Likewise.
19991 * malloc/mcheck.c: Likewise.
19992 * malloc/mtrace.c: Likewise.
19993 * math/bits/mathcalls.h: Likewise.
19994 * math/fenv.h: Likewise.
19995 * math/math_private.h: Likewise.
19996 * misc/bits/error.h: Likewise.
19997 * misc/bits/syslog.h: Likewise.
19998 * misc/err.h: Likewise.
19999 * misc/error.h: Likewise.
20000 * misc/fstab.h: Likewise.
20001 * misc/mntent.h: Likewise.
20002 * misc/regexp.h: Likewise.
20003 * misc/search.h: Likewise.
20004 * misc/sgtty.h: Likewise.
20005 * misc/sys/mman.h: Likewise.
20006 * misc/sys/syslog.h: Likewise.
20007 * misc/sys/uio.h: Likewise.
20008 * misc/sys/xattr.h: Likewise.
20009 * misc/ttyent.h: Likewise.
20010 * nis/rpcsvc/ypclnt.h: Likewise.
20011 * nss/nss.h: Likewise.
20012 * posix/bits/unistd.h: Likewise.
20013 * posix/fnmatch.h: Likewise.
20014 * posix/glob.h: Likewise.
20015 * posix/sched.h: Likewise.
20016 * posix/spawn.h: Likewise.
20017 * posix/sys/wait.h: Likewise.
20018 * posix/unistd.h: Likewise.
20019 * posix/wordexp.h: Likewise.
20020 * pwd/pwd.h: Likewise.
20021 * resolv/netdb.h: Likewise.
20022 * resource/sys/resource.h: Likewise.
20023 * rt/aio.h: Likewise.
20024 * rt/bits/mqueue2.h: Likewise.
20025 * rt/mqueue.h: Likewise.
20026 * shadow/shadow.h: Likewise.
20027 * signal/signal.h: Likewise.
20028 * socket/send.c: Likewise.
20029 * socket/sendto.c: Likewise.
20030 * socket/sys/socket.h: Likewise.
20031 * stdio-common/printf.h: Likewise.
20032 * stdlib/bits/stdlib.h: Likewise.
20033 * stdlib/fmtmsg.h: Likewise.
20034 * stdlib/monetary.h: Likewise.
20035 * stdlib/stdlib.h: Likewise.
20036 * stdlib/ucontext.h: Likewise.
20037 * streams/stropts.h: Likewise.
20038 * string/argz.h: Likewise.
20039 * string/bits/string2.h: Likewise.
20040 * string/string.h: Likewise.
20041 * string/strings.h: Likewise.
20042 * sunrpc/rpc/auth.h: Likewise.
20043 * sunrpc/rpc/auth_des.h: Likewise.
20044 * sunrpc/rpc/clnt.h: Likewise.
20045 * sunrpc/rpc/netdb.h: Likewise.
20046 * sunrpc/rpc/pmap_clnt.h: Likewise.
20047 * sunrpc/rpc/xdr.h: Likewise.
20048 * sysdeps/generic/inttypes.h: Likewise.
20049 * sysdeps/generic/net/if.h: Likewise.
20050 * sysdeps/generic/sys/swap.h: Likewise.
20051 * sysdeps/gnu/net/if.h: Likewise.
20052 * sysdeps/gnu/utmpx.h: Likewise.
20053 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20054 * sysdeps/i386/i486/bits/string.h: Likewise.
20055 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20056 * sysdeps/s390/bits/string.h: Likewise.
20057 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20058 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20059 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20060 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20061 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20062 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20063 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20064 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20065 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20066 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20067 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20068 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20069 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20070 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20071 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20072 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20073 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20075 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20076 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20077 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20078 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20079 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20080 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20081 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20082 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20083 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20085 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20086 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20087 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20088 * sysvipc/sys/ipc.h: Likewise.
20089 * sysvipc/sys/msg.h: Likewise.
20090 * sysvipc/sys/sem.h: Likewise.
20091 * sysvipc/sys/shm.h: Likewise.
20092 * termios/termios.h: Likewise.
20093 * time/sys/time.h: Likewise.
20094 * time/time.h: Likewise.
20095 * wcsmbs/bits/wchar2.h: Likewise.
20096 * wcsmbs/uchar.h: Likewise.
20097 * wcsmbs/wchar.h: Likewise.
20098 * wctype/wctype.h: Likewise.
20099
0269750c
UD
20100 [BZ #13551]
20101 * Makeconfig: Remove all but ELF support including AIX support.
20102 * Makerules: Likewise.
20103 * config.h.in: Likewise.
20104 * config.make.in: Likewise.
20105 * configure: Likewise.
20106 * configure.in: Likewise.
20107 * csu/Makefile: Likewise.
20108 * csu/version.c: Likewise.
20109 * debug/Makefile: Likewise.
20110 * dlfcn/Makefile: Likewise.
20111 * elf/Makefile: Likewise.
20112 * extra-lib.mk: Likewise.
20113 * iconv/Makefile: Likewise.
20114 * include/libc-symbols.h: Likewise.
20115 * include/shlib-compat.h: Likewise.
20116 * resolv/Makefile: Likewise.
20117 * resolv/res_libc.c: Likewise.
20118 * rt/Makefile: Likewise.
20119 * sysdeps/i386/asm-syntax.h: Likewise.
20120 * sysdeps/i386/sysdep.h: Likewise.
20121 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20122 * sysdeps/mach/sysdep.h: Likewise.
20123 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20124 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20125 * sysdeps/s390/asm-syntax.h: Likewise.
20126 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20127 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20128 * sysdeps/sh/sysdep.h: Likewise.
20129 * sysdeps/unix/sparc/sysdep.h: Likewise.
20130 * sysdeps/wordsize-32/divdi3.c: Likewise.
20131 * sysdeps/x86_64/sysdep.h: Likewise.
20132
00bbd29b
UD
20133 * argp/Versions: Remove _argp_unlock_xxx.
20134
20135 [BZ #13559]
20136 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20137 * abilist/libBrokenLocale.abilist: Likewise.
20138 * abilist/libanl.abilist: Likewise.
20139 * abilist/libc.abilist: Likewise.
20140 * abilist/libcrypt.abilist: Likewise.
20141 * abilist/libdl.abilist: Likewise.
20142 * abilist/libm.abilist: Likewise.
20143 * abilist/libnsl.abilist: Likewise.
20144 * abilist/libpthread.abilist: Likewise.
20145 * abilist/libresolv.abilist: Likewise.
20146 * abilist/librt.abilist: Likewise.
20147 * abilist/libthread_db.abilist: Likewise.
20148 * abilist/libutil.abilist: Likewise.
20149 * abilist/libnss_db.abilist: New file.
20150
20151 * scripts/abilist.awk: Add support for indirect functions.
20152
a2693a0e
UD
20153 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20154
3f05895f
UD
20155 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20156
ecb6fb48
UD
20157 * shlib-versions: Remove entries for ports architectures.
20158
664f8cb9
UD
20159 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20160 files in ports.
20161 * elf/stackguard-macros.h: Remove support for IA-64.
20162 * elf/tst-auditmod1.c: Likewise.
20163 * sysdeps/generic/ldsodefs.h: Likewise.
20164
7ae81d88
UD
20165 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20166 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20167 configure files.
20168
bdeba135
UD
20169 [BZ #13552]
20170 * configure.in: Remove --enable-omitfp support.
20171 * FAQ.in: Adjust.
20172 * config.make.in: Likewise.
20173 * Makeconfig: Likewise.
20174 * manual/install.texi: Likewise.
20175
d75a0a62
UD
20176 In case anyone cares, the IA-64 architecture could move to ports.
20177 * sysdeps/ia64/*: Removed.
20178 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20179 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20180
dcc9756b
UD
20181 [BZ #13555]
20182 * configure.in: Remove entries for unsupported architectures.
20183
d3761ebc 20184 [BZ #13533]
9954432e
UD
20185 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20186 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20187 routines.
20188 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20189 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20190 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20191 fall back to using wcrtomb.
20192 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20193 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20194 renaming.
20195 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20196 * wcsmbs/tst-c16c32-1.c: New file.
20197
20198 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20199 local variable.
20200
c3a87236
UD
20201 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20202
28926a1b
UD
20203 * elf/tst-unique3.cc: Add explicit declaration of gets.
20204 * elf/tst-unique3lib.cc: Likewise.
20205 * elf/tst-unique3lib2.cc: Likewise.
20206 * elf/tst-unique4.cc: Likewise.
20207
df78418a
UD
20208 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20209
8ecd6b2a
JM
202102012-01-06 Joseph Myers <joseph@codesourcery.com>
20211
20212 [BZ #13566]
20213 * assert/assert.h (static_assert): Don't define for C++.
20214 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20215 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20216
9f115170
UD
202172012-01-03 Ulrich Drepper <drepper@gmail.com>
20218
5e0d0300
UD
20219 * iconv/loop.c (single loop): Fix assertion in storing of
20220 remaining bytes.
20221
9f115170
UD
20222 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20223
81fb02b0
UD
202242012-01-01 Ulrich Drepper <drepper@gmail.com>
20225
20226 * posix/getconf.c: Update copyright year.
20227 * nss/getent.c: Likewise.
a316c1f6 20228 * nss/makedb.c: Likewise.
81fb02b0
UD
20229 * iconv/iconvconfig.c: Likewise.
20230 * iconv/iconv_prog.c: Likewise.
20231 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20232 * elf/pldd.c: Likewise.
20233 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20234 * catgets/gencat.c: Likewise.
20235 * csu/version.c: Likewise.
20236 * elf/ldd.bash.in: Likewise.
20237 * elf/sprof.c (print_version): Likewise.
20238 * locale/programs/locale.c: Likewise.
20239 * locale/programs/localedef.c: Likewise.
a316c1f6 20240 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20241 * nscd/nscd.c (print_version): Likewise.
20242 * debug/xtrace.sh: Likewise.
20243 * malloc/memusage.sh: Likewise.
20244 * malloc/mtrace.pl: Likewise.
20245 * debug/catchsegv.sh: Likewise.
20246
2ba92745
JJ
202472011-12-30 Jakub Jelinek <jakub@redhat.com>
20248
20249 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20250 pure attribute.
20251
dadebdae
UD
202522011-12-24 Ulrich Drepper <drepper@gmail.com>
20253
d3761ebc 20254 [BZ #13533]
db6af3eb
UD
20255 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20256 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20257 transformations.
20258 * iconv/gconv_int.h: Likewise.
20259 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20260 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20261 from libc for GLIBC_2.16.
20262 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20263 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20264 * wcsmbs/uchar.h: Really define mbstate_t.
20265 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20266 * wcsmbs/c16rtomb.c: New file.
20267 * wcsmbs/mbrtoc16.c: New file.
20268 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20269 for C/POSIX locale.
20270 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20271 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20272
dadebdae
UD
20273 * wcsmbs/wchar.h: Add missing __restrict.
20274
67371b56
UD
202752011-12-23 Ulrich Drepper <drepper@gmail.com>
20276
74033a25
UD
20277 [BZ #13532]
20278 * time/Makefile (routines): Add timespec_get.
20279 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20280 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20281 timespec for ISO C11.
20282 * time/timespec_get.c: New file.
20283 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20284 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20285
380d7e87
UD
20286 [BZ #13531]
20287 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20288 * stdlib/stdlib.h: Declare aligned_alloc.
20289 * Versions.def: Add GLIBC_2.16 for libc.
20290 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20291
4e9e7a35
UD
20292 [BZ 13527]
20293 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20294 ISO C11.
20295
380d7e87 20296 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20297 code.
20298
03a71829
UD
20299 [BZ #13528]
20300 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20301
839e283e
UD
20302 [BZ #13529]
20303 * assert/assert.h (static_assert): Define.
20304
ce5294e2 20305 * version.h: Update for 2.16 development version.
90fa7312 20306
8d44e150 20307 [BZ #13526]
d7809905
UD
20308 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20309 _ISOC11_SOURCE.
20310
c0da14cd
UD
20311 * version.h (RELEASE): Bump for 2.15 release.
20312 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20313
530a3249
MP
20314 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20315 Patch by Marek Polacek <mpolacek@redhat.com>.
20316
67371b56
UD
20317 * bits/byteswap.h: Protect long long constants with __extension__.
20318 * sysdeps/i386/bits/byteswap.h: Likewise.
20319 * sysdeps/ia64/bits/byteswap.h: Likewise.
20320 * sysdeps/s390/bits/byteswap.h: Likewise.
20321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20322
15db4de1
LD
203232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20324
20325 [BZ #13540]
bbe315ea
LD
20326 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20327 destination buffer.
15db4de1
LD
20328 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20329
2b2596b1
MP
203302011-12-23 Marek Polacek <polacek@redhat.com>
20331
20332 * elf/dl-addr.c (determine_info): Add inline keyword.
20333 * elf/tst-auditmod4b.c (check_avx): Likewise.
20334 * elf/tst-auditmod6b.c (check_avx): Likewise.
20335 * elf/tst-auditmod6c.c (check_avx): Likewise.
20336 * elf/tst-auditmod7b.c (check_avx): Likewise.
20337
70c6c246
UD
203382011-12-23 Ulrich Drepper <drepper@gmail.com>
20339
20340 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20341 !__SSE_MATH__.
20342
c044cf14
LD
203432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20344
15db4de1 20345 [BZ #13540]
c044cf14
LD
20346 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20347 processing for last bytes.
20348
6b13d9d9
BH
203492011-08-06 Bruno Haible <bruno@clisp.org>
20350
d455f537
BH
20351 [BZ #13061]
20352 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20353 U+0385, not to U+1FEE.
20354
6b13d9d9
BH
20355 [BZ #13062]
20356 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20357 entry for U+00A5 U+0301.
20358
db910efd
UD
203592011-12-22 Ulrich Drepper <drepper@gmail.com>
20360
27deeafc
UD
20361 [BZ #13166]
20362 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20363 buffer for the output is too small.
20364
aed9d171
UD
20365 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20366 optimization.
20367
db910efd
UD
20368 [BZ #13185]
20369 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20370 SSE flags if possible.
20371
2bd779ae
LD
203722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20373
e7f9dac3 20374 [BZ #13540]
2bd779ae
LD
20375 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20376 processing for last bytes.
20377
154bfc16
JM
203782011-12-22 Joseph Myers <joseph@codesourcery.com>
20379
20380 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20381 (syscall-list-default-options, syscall-list-default-condition)
20382 (syscall-list-includes): Define.
20383 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20384 list of ABIs and options and #if conditions for each ABI. Do not
20385 handle common syscalls between ABIs specially.
20386 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20387 Remove.
20388 (syscall-list-variants, syscall-list-32bit-options)
20389 (syscall-list-32bit-condition, syscall-list-64bit-options)
20390 (syscall-list-64bit-condition): Define.
20391 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20392 (syscall-list-variants, syscall-list-32bit-options)
20393 (syscall-list-32bit-condition, syscall-list-64bit-options)
20394 (syscall-list-64bit-condition): Define.
20395 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20396 Remove.
20397 (syscall-list-variants, syscall-list-32bit-options)
20398 (syscall-list-32bit-condition, syscall-list-64bit-options)
20399 (syscall-list-64bit-condition): Define.
20400 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20401 Remove.
20402 (syscall-list-variants, syscall-list-32bit-options)
20403 (syscall-list-32bit-condition, syscall-list-64bit-options)
20404 (syscall-list-64bit-condition): Define.
20405
21eaf3a5
UD
204062011-12-22 Ulrich Drepper <drepper@gmail.com>
20407
16c6f992
UD
20408 * locale/iso-639.def: Add brx entry.
20409
41043168
UD
20410 [BZ #13328]
20411 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20412 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20413
21eaf3a5
UD
20414 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20415 __feraiseexcept_renamed.
20416
e3a851a2
UD
204172011-12-21 Ulrich Drepper <drepper@gmail.com>
20418
4920765e
UD
20419 [BZ #13538]
20420 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20421 EPOLLET with unsigned values.
20422 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20423 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20424
e3a851a2
UD
20425 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20426 to large cancellation.
20427 * math/s_cacoshf.c: Likewise.
20428 * math/s_cacoshl.c: Likewise.
20429
b27e24b8
RK
204302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20431
20432 [BZ #13305]
aebefeee 20433 [BZ #12786]
b27e24b8
RK
20434 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20435 * math/s_cacoshf.c: Likewise.
20436 * math/s_cacoshl.c: Likewise.
20437
ee190f67
UD
204382011-12-21 Ulrich Drepper <drepper@gmail.com>
20439
20440 [BZ #13439]
20441 * iconv/gconv.h: Define __GCONV_SWAP.
20442 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20443 * iconvdata/utf-16.c: Likewise.
20444 * iconvdata/utf-32.c: Likewise.
20445
707f25df
AS
204462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20447
20448 [BZ #13524]
20449 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20450 numerator after shifting it by one limb.
20451
d2daaa1e
RÁE
204522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20453
20454 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20455 under [__USE_EXTERN_INLINES].
20456
a4647e72
UD
204572011-12-17 Ulrich Drepper <drepper@gmail.com>
20458
20459 [BZ #13446]
20460 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20461
f0b264f1
AZ
204622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20463
20464 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20465 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20466 optimized code.
20467 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20468 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20469 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20470 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20471 for strncasecmp/strncasecmp_l compilation.
20472 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20473 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20474
8ef4f244
MP
204752011-12-08 Marek Polacek <mpolacek@redhat.com>
20476
20477 [BZ #13484]
20478 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20479 of __asm__.
20480
97ac2654
UD
204812011-12-17 Ulrich Drepper <drepper@gmail.com>
20482
20483 [BZ #13506]
20484 * time/tzfile.c (__tzfile_read): Check values from file header.
20485
91d2a845
WS
204862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20487
20488 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20489 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20490 * powerpc/powerpc32/dl-start.S: Likewise.
20491 * powerpc/powerpc32/elf/start.S: Likewise.
20492 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20493 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20494 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20495 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20496 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20497 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20498 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20499 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20500 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20501 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20502 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20503 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20504 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20505 * powerpc/powerpc32/memset.S: Likewise.
20506 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20507 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20508 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20509 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20510 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20511 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20512 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20513 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20514 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20515 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20516 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20517 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20518 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20519
a1267ba1
AZ
205202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20521
20522 * math/libm-test.inc: Added more nearbyint tests.
20523 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20524 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20527
ad8ac1bd
RL
205282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20529
20530 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20531 FD_CLOEXEC.
20532
1d3e4b61
UD
205332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20534
20535 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20536 Add wcscpy-ssse3 wcscpy-c.
20537 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20538 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20539 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20540 * sysdeps/x86_64/wcschr.S: New file.
20541 * sysdeps/x86_64/wcsrchr.S: New file.
20542 * string/test-strcmp.c: Remove checking of wcscmp function for
20543 wrong alignments.
20544 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20545 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20546 wcsrchr-sse2 wcsrchr-c.
20547 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20548 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20549 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20550 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20551 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20552 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20553 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20554 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20555 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20556 * wcsmbc/wcschr.c (WCSCHR): New macro.
20557
5b330a2d
UD
205582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20559
20560 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20561 * wcsmbs/test-wcsrchr.c: New file.
20562 * string/test-strrchr.c: Add wcsrchr support.
20563 (WIDE): New macro.
20564 * wcsmbs/test-wcscpy.c: New file.
20565 * string/test-strcpy.c: Add wcscpy support.
20566 (WIDE): New macro.
26428b7c 20567
f039c043
UD
205682011-12-10 Ulrich Drepper <drepper@gmail.com>
20569
20570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20571 the inner loop.
20572
850fb039
AS
205732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20574
20575 [BZ #13472]
20576 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20577
4efbd5cb
UD
205782011-12-04 Ulrich Drepper <drepper@gmail.com>
20579
52ff5dd0 20580 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20581 Minor optimizations.
52ff5dd0 20582
4efbd5cb
UD
20583 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20584 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20585 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20586
8a426e12
UD
205872011-12-03 Ulrich Drepper <drepper@gmail.com>
20588
aff2453d
UD
20589 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20590 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20591 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20592 for gcc to avoid warnings.
20593 * inet/Makefile (tests): Add tst-checks.
20594 * inet/tst-checks.c: New file.
20595
20596 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20597 warning.
20598
20599 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20600 __wmemcmp_sse2.
20601
20602 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20603 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20604
8a426e12
UD
20605 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20606
9bea3473
UD
206072011-12-02 Ulrich Drepper <drepper@gmail.com>
20608
3a965496
UD
20609 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20610 problem.
20611
9bea3473
UD
20612 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20613
f101631b
UD
206142011-11-29 Joseph Myers <joseph@codesourcery.com>
20615
20616 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20617 conditional on GCC version.
20618 (__arch_compare_and_exchange_val_8_acq)
20619 (__arch_compare_and_exchange_val_16_acq)
20620 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20621 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20622 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20623
a98275aa
UD
206242011-12-02 Joseph Myers <joseph@codesourcery.com>
20625
20626 * sysdeps/sh/backtrace.c: New file.
20627
d4cc29a2
AS
206282011-12-02 Andreas Schwab <schwab@redhat.com>
20629
20630 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20631 parenthesis.
20632
6257af2d
AS
206332011-12-01 Andreas Schwab <schwab@redhat.com>
20634
20635 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20636 falling back to utime.
20637
b5f44c1a
AS
206382011-11-30 Andreas Schwab <schwab@redhat.com>
20639
20640 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20641 expectations for float.
20642
f3a6cc0a
AS
206432011-11-29 Andreas Schwab <schwab@redhat.com>
20644
20645 * locale/weight.h (findidx): Add parameter len.
20646 * locale/weightwc.h (findidx): Likewise.
20647 * posix/fnmatch_loop.c (FCT): Adjust caller.
20648 * posix/regcomp.c (build_equiv_class): Likewise.
20649 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20650 * posix/regexec.c (check_node_accept_bytes): Likewise.
20651 * string/strcoll_l.c (STRCOLL): Likewise.
20652 * string/strxfrm_l.c (STRXFRM): Likewise.
20653
9d65ea3a
UD
206542011-11-17 Ulrich Drepper <drepper@gmail.com>
20655
20656 * Makefile.in: Remove CVSOPT handling.
20657 * configure.in: Remove use of AC_REVISION.
20658 * iconvdata/Makefile (distribute): No need to filter out CVS.
20659 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20660 handling.
20661
5583a086
AS
206622011-11-16 Andreas Schwab <schwab@redhat.com>
20663
20664 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20665 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20666 [USE_AS_STRNCASECMP_L]: Likewise.
20667 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20668 NO_TLS_DIRECT_SEG_REFS.
20669 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20670 Fix argument offsets for non-PIC.
20671 [USE_AS_STRNCASECMP_L]: Likewise.
20672 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20673 NO_TLS_DIRECT_SEG_REFS.
20674
d62a8200
UD
206752011-11-15 Ulrich Drepper <drepper@gmail.com>
20676
9d65ea3a 20677 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20678 O_CLOEXEC.
20679 * locale/loadlocale.c (_nl_load_locale): Likewise.
20680
09f93bd3
AS
206812011-11-15 Andreas Schwab <schwab@redhat.com>
20682
446514f9
AS
20683 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20684 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20685 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20686 (SYSCALL_GETTIME): Set errno on error.
20687
09f93bd3
AS
20688 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20689 count references to noai6ai_cached.
20690
312be3f9
UD
206912011-11-15 Ulrich Drepper <drepper@gmail.com>
20692
20693 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20694
20695 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20696 FD_CLOEXEC for /proc/self/maps.
20697
20698 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20699 FD_CLOEXEC for /proc/meminfo.
20700
20701 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20702 gai.conf.
20703
20704 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20705 FD_CLOEXEC for given file.
20706
20707 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20708
20709 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20710 FD_CLOEXEC for /etc/hosts.
20711 (_gethtent): Likewise.
20712
20713 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20714
20715 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20716 cancellation and set FD_CLOEXEC for /etc/netgroup.
20717
20718 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20719 reading /etc/publickey.
20720
20721 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20722 allow cancellation when reading /etc/group.
20723
20724 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20725 cancellation.
20726 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20727
20728 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20729 when using data file.
20730
20731 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20732
20733 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20734 (write_nis_obj): Use "c" and "e" in fopen.
20735
20736 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20737
20738 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20739
20740 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20741
20742 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20743
20744 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20745 locale.alias.
20746
20747 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20748
20749 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20750
20751 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20752
20753 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20754 file parsing and set FD_CLOEXEC.
20755
82af0fa8
UD
207562011-11-14 Ulrich Drepper <drepper@gmail.com>
20757
20758 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20759
a5fb313c
AS
207602011-11-14 Andreas Schwab <schwab@redhat.com>
20761
20762 * malloc/arena.c (arena_get2): Don't call reused_arena when
20763 _int_new_arena failed.
20764
6abf3465
UD
207652011-11-14 Ulrich Drepper <drepper@gmail.com>
20766
20767 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20768 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20769 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20770 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20771 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20772 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20773 to compile strcasecmp and strncasecmp.
20774 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20775 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20776
20777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20778
76e3966e
UD
207792011-11-13 Ulrich Drepper <drepper@gmail.com>
20780
20781 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20782 locale-defines.sym to gen-as-const-headers.
20783 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20784 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20786 to compile strcasecmp and strncasecmp.
20787 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20788 strcasecmp_l and strncasecmp_l.
20789 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20790 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20791 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20792 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20793 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20794 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20795 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20796 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20797 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20798 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20799 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20800
ab26144e
UD
208012011-11-12 Ulrich Drepper <drepper@gmail.com>
20802
7edb22ef
UD
20803 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20804 result of SYSDEP_GETTIME_CPU to retval.
20805 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20806 parameter list to macro. Remove trailing semicolon. Adjust users.
20807
9694fc44
UD
20808 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20809 variable.
20810
8ad89ef8
UD
20811 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20812 mantissa words.
20813 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20814
0c822ef9
UD
20815 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20816 from unused variable.
20817
874e0564
UD
20818 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20819 DWARF definitions.
20820 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20821 for assembling.
20822
3a2edc79
UD
20823 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20824 over namespaces.
20825
f3c2577f
UD
20826 * sunrpc/rpc_prot.c (rejected): Fix case value.
20827
294ce126
UD
20828 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20829 unsigned long long int to avoid warnings in shift.
20830
5e2b63c6
UD
20831 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20832 of use of trans.
20833 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20834 variable tmp.
20835
e7f4b08e
UD
20836 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20837 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20838 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20839
ab26144e
UD
20840 * nis/nis_table.c (nis_list): Use variable of correct type for
20841 result of __follow_path call.
20842
8a6d5255
AZ
208432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20844
20845 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20846 of math functions ceil, trunc, floor, round, and sqrt, when
20847 avaliable on the platform.
20848 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20849 name clash.
20850 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20851 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20852 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20853
aaddc98c
MP
208542011-10-30 Marek Polacek <mpolacek@redhat.com>
20855
20856 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20857 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20858
95b7042b
RM
208592011-11-11 Roland McGrath <roland@hack.frob.com>
20860
20861 * include/unistd.h: Fix __readlink return type.
20862 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20863
57769839
UD
208642011-11-11 Ulrich Drepper <drepper@gmail.com>
20865
20866 * stdlib/ucontext.h: Undo last change for makecontext.
20867
edc5984d
AS
208682011-11-11 Andreas Schwab <schwab@redhat.com>
20869
98591e58
AS
20870 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20871
edc5984d
AS
20872 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20873 * setjmp/setjmp.h: Mark functions as non-leaf.
20874 * setjmp/bits/setjmp2.h: Likewise.
20875 * stdlib/ucontext.h: Likewise.
20876
77cdc054
AS
208772011-11-10 Andreas Schwab <schwab@redhat.com>
20878
20879 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20880 (reused_arena): Don't check arena limit.
20881 (arena_get2): Atomically check arena limit.
20882
fe72eebd
UD
208832011-11-08 Ulrich Drepper <drepper@gmail.com>
20884
5f078c32
UD
20885 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20886 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20887
fe72eebd
UD
20888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20889 instructions.
20890
ae1bc2fa
AS
208912011-11-07 Andreas Schwab <schwab@redhat.com>
20892
7583a88d
AS
20893 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20894 handler when locking.
20895
ae1bc2fa
AS
20896 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20897 Fix size of allocated buffer.
20898
10fb0bfa
AS
208992011-11-04 Andreas Schwab <schwab@redhat.com>
20900
998832a4
AS
20901 [BZ #10103]
20902 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20903 declarations for long double functions.
20904 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20905
10fb0bfa
AS
20906 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20907
3d7ba52b
AS
209082011-11-03 Andreas Schwab <schwab@redhat.com>
20909
a9ae54a1
AS
20910 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20911 installed.
20912
3d7ba52b
AS
20913 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20914 is disabled.
20915
bc8db248
ST
209162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20917
20918 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20919
45b96dd6
AS
209202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20921
647776f6
AS
20922 * include/alloca.h (stackinfo_alloca_round): Define.
20923 (extend_alloca): Use it.
20924 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20925 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20926 here.
20927
d91a8b93
AS
20928 * scripts/check-local-headers.sh: Ignore libaudit.h.
20929
45b96dd6
AS
20930 * nscd/Makefile (extra-objs): Make recursively expanded.
20931
432d41ce
UD
209322011-11-01 Ulrich Drepper <drepper@gmail.com>
20933
34372fc6
UD
20934 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20935 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20936
fadb59f8
UD
20937 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20938 * posix/tst-rfc3484-2.c: Likewise.
20939 * posix/tst-rfc3484-3.c: Likewise.
20940
78239589
UD
20941 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20942 process_vm_writev.
20943 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20944 process_vm_writev.
20945 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20946 process_vm_writev from libc using GLIBC_2.15 version.
20947
432d41ce
UD
20948 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20949
02f9c6cf
PP
209502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20951
20952 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20953 stack usage.
20954
3a2c0242
UD
209552011-10-31 Ulrich Drepper <drepper@gmail.com>
20956
f4ec4833
UD
20957 [BZ #13367]
20958 * nss/getent.c (initgroups_keys): Show error message in case no group
20959 names are given.
20960
3a2c0242
UD
20961 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20962 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20963 __bump_nl_timestamp.
20964 * nscd/connections (nscd_init): When host database is served open
20965 netlink socket and request notification about configuration changes.
20966 (main_loop_poll): Track netlink file descriptor and bump timestamp
20967 in case data becomes available.
20968 (main_loop_epoll): Likewise.
20969 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20970 (database_pers_head): Add extra_data fileds.
20971 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20972 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20973 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20974 Adjust caller.
20975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20976 in6ai data, call __free_in6ai.
20977 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20978 Add -DHAVE_NETLINK.
20979 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20980 interface information. Reuse previous data if netlink timestamp
20981 is not changed.
20982 (__bump_nl_timestamp): New function.
20983 (__free_in6ai): New function.
20984
636064eb
UD
209852011-10-30 Ulrich Drepper <drepper@gmail.com>
20986
20987 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20988 close_not_cancel_no_status here.
20989 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20990
9beb2334
UD
209912011-10-29 Ulrich Drepper <drepper@gmail.com>
20992
6ef76f3b
UD
20993 [BZ #13276]
20994 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20995 return value.
20996
0ffc4f3e 20997 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20998 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20999 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21000
cb95113e
UD
210012011-07-03 Andreas Jaeger <aj@suse.de>
21002
21003 [BZ #10709]
21004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21005 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21006 * math/libm-test.inc (sin_test): Add test case.
21007
a1b560ff
UD
210082011-10-29 Ulrich Drepper <drepper@gmail.com>
21009
c9aaface
UD
21010 [BZ #13337]
21011 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21012 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21013
d272e7f1
UD
21014 * elf/chroot_canon.c (chroot_canon): Cleanups.
21015
1bc33071
UD
21016 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21017
1760874d
TJ
21018 [BZ #13335]
21019 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21020 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21021
51d91b18
UD
21022 * string/test-strchr.c: Make usable for strchrnul testing.
21023 * string/test-strchrnul.c: New file.
21024 * string/Makefile (strop-tests): Add strchrnul.
21025
a1b560ff 21026 * po/it.po: Update from translation team.
b611fb81 21027 * po/es.po: Likewise.
a1b560ff 21028
a5b81e1f
UD
210292011-10-28 Ulrich Drepper <drepper@gmail.com>
21030
fd52bc6d
UD
21031 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21032 the three constants needed as parameters. Drop the others.
21033 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21034 __m128i_strloadu_tolower.
52e4b9eb
UD
21035 Create and initialize variable zero and use it in all the places
21036 where _mm_setzero_si128 was used.
fd52bc6d 21037
a5b81e1f
UD
21038 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21039 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21040 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21041 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21042 anymore.
21043 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21044 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21045 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21046 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21047 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21048 __mpranred, __mptan.
21049 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21050 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21051 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21052 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21053 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21054 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21055 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21056 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21057 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21058
b4343346
AS
210592011-10-28 Andreas Schwab <schwab@redhat.com>
21060
0c92d8a8
AS
21061 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21062 redefine if SHARED.
21063 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21064
b4343346
AS
21065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21066 wide char related routines to wcsmbs subdir.
21067
3871f58f
AS
210682011-10-27 Andreas Schwab <schwab@redhat.com>
21069
21070 [BZ #13344]
21071 * misc/sys/cdefs.h (__THROWNL): Define.
21072 * posix/unistd.h: Use __THREADNL instead of __THREAD
21073 for memory synchronization functions.
21074
94d44d9f
RM
210752011-10-26 Roland McGrath <roland@hack.frob.com>
21076
21b64b15 21077 [BZ #13349]
94d44d9f
RM
21078 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21079 doesn't exist.
21080 * manual/stdio.texi (Obstack Streams): Node removed.
21081
f6ce9294
AS
210822011-10-26 Andreas Schwab <schwab@redhat.com>
21083
80479147
AS
21084 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21085 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21086 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21087
f6ce9294
AS
21088 * math/math_private.h (math_force_eval): Allow non-addressable
21089 arguments.
21090 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21091
618280a1
UD
210922011-10-25 Ulrich Drepper <drepper@gmail.com>
21093
e0016b11
UD
21094 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21095 file is not needed.
21096
21097 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21098 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21099 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21100 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21101 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21102 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21103 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21104 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21105 Add AVX variants.
21106 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21107 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21108 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21109 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21110 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21111 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21112 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21113 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21114 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21115 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21116 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21117 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21118 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21119 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21120 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21121 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21122 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21123 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21124 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21125
21126 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21127 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21128
618280a1
UD
21129 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21130 place. Use VEX encoding when compiling for AVX.
21131
37822576
AS
211322011-10-25 Andreas Schwab <schwab@redhat.com>
21133
1f1e1947
AS
21134 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21135 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21136
37822576
AS
21137 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21138
31ea014d
UD
211392011-10-25 Ulrich Drepper <drepper@gmail.com>
21140
d7826aa1 21141 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21142 useless if() expression.
d7826aa1
UD
21143 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21151 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21152 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21153 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21154 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21155 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21156 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21157 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21158 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21159 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21161 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21162
31ea014d
UD
21163 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21164
16437fec
AS
211652011-10-25 Andreas Schwab <schwab@redhat.com>
21166
21167 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21168 condition.
21169 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21170
31d3cc00
UD
211712011-10-25 Ulrich Drepper <drepper@gmail.com>
21172
21173 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21174 .text section. Avoid duplicate constants.
21175 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21185 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21187 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21189 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21190 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21192 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21193 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21195 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21197 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21198 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21199 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21200 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21201 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21202 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21203 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21204 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21205 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21206 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21207 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21208 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21209 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21210 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21211 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21212 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21213 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21214 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21215 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21217 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21218 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21219 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21220
58985aa9
UD
212212011-10-24 Ulrich Drepper <drepper@gmail.com>
21222
202c9deb
UD
21223 * sysdeps/x86_64/dla.h: Move to ...
21224 * sysdeps/x86_64/fpu/dla.h: ...here.
21225 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21226 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21227
af968f62
UD
21228 * config.make.in: Add have-mfma4 entry.
21229 * configure.in: Substitute libc_cv_cc_fma4.
21230 * math/Makefile (dbl-only-routines): Add sincostab.
21231 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21232 Use __sincostab not sincos.
21233 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21234 name is a macro.
21235 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21239 using __copysign.
21240 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21241 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21242 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21243 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21244 and __inv.
21245 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21246 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21247 __copysign.
21248 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21249 define aliases when function name is a macro.
21250 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21251 sysdeps/ieee754/dbl-64/sincos.tbl.
21252 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21253 fma4-enabled routines.
21254 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21255 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21256 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21257 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21258 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21259 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21260 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21261 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21263 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21264 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21265 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21266 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21267 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21268 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21269 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21270 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21271 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21272 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21273 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21274 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21275 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21277 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21278 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21279 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21280 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21281 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21282 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21283 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21284
58985aa9
UD
21285 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21286 rename.
21287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21293 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21294 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21295
a201fbcf
AS
212962011-10-24 Andreas Schwab <schwab@redhat.com>
21297
21298 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21299
fc2ee42a
LD
213002011-10-23 Ulrich Drepper <drepper@gmail.com>
21301
bb3129bd
UD
21302 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21303
0275fff8
UD
21304 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21305 prediction.
21306 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21307
2fa2ae85
UD
21308 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21309 Remove unused variable magic_bits.
21310 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21311
fc2ee42a
LD
21312 * string/strnlen.c: Define and use STRNLEN macro.
21313 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21314 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21315 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21316 * wcsmbs/wcslen.c: Define and use WCSLEN.
21317 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21318 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21319 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21320 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21321 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21322 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21323 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21324
ce7dd29f
LD
213252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21326
21327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21328 strnlen-sse2-no-bsf.
21329 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21331 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21332 Add strnlen support.
21333 (USE_AS_STRNLEN): New macro.
21334 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21335 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21336 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21337 * sysdeps/x86_64/wcslen.S: New file.
21338
979c70a3
MZ
213392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21340
21341 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21342 XMM-moves are used for copying on small sizes.
21343
2d09f82f
LD
213442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21345
21346 * wcsmbs/Makefile (strop-tests): Add wcschr.
21347 * wcsmbs/test-wcschr.c: New file.
21348 * string/test-strchr.c: Update.
21349 Add wcschr support.
21350 (WIDE): New macro.
21351
619fccca
LD
213522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21353
2d09f82f 21354 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21355 * wcsmbs/test-wcslen.c: New file.
21356 * string/test-strlen.c: Update.
21357 Add wcslen support.
21358 (WIDE): New macro.
21359
09f699ea
UD
213602011-10-23 Ulrich Drepper <drepper@gmail.com>
21361
21362 * po/it.po: Update from translation team.
21363
95584d3b
LD
213642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21365
21366 * sysdeps/x86_64/wcscmp.S: Update.
21367 Fix wrong comparison semantics.
21368 wcscmp shall use signed comparison not unsigned.
21369 Don't use substraction to avoid overflow bug.
21370 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21371 * wcsmbc/wcscmp.c: Likewise.
21372 * string/test-strcmp.c: Likewise.
21373 Add new tests to check cases with negative values.
21374
c8b3296b
UD
213752011-10-23 Ulrich Drepper <drepper@gmail.com>
21376
21377 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21378 * sysdeps/x86_64/dla.h: ...here. New file.
21379 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21384 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21388
246ad57a
AS
213892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21390
21391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21392 __ynl_finite aliases.
21393
a1a87169
UD
213942011-10-22 Ulrich Drepper <drepper@gmail.com>
21395
0d355eb7
UD
21396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21397
a1a87169
UD
21398 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21399 define DLA_FMA.
21400 [DLA_FMA] (EMULV): Use DLA_FMA.
21401 [DLA_FMA] (MUL12): Use EMULV.
21402 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21403 that are not needed.
21404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21410 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21411
ee2aafe0
AS
214122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21413
21414 * math/s_nan.c: Undef __nan.
21415 * math/s_nanf.c: Undef __nanf.
21416 * math/s_nanl.c: Undef __nanl.
21417 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21418 "math_private.h".
21419
bc62c2fb
UD
214202011-10-22 Ulrich Drepper <drepper@gmail.com>
21421
77425c63
UD
21422 * math/s_catan.c: Add branch predictions.
21423 * math/s_catanf.c: Likewise.
21424 * math/s_catanh.c: Likewise.
21425 * math/s_catanhf.c: Likewise.
21426 * math/s_catanhl.c: Likewise.
21427 * math/s_catanl.c: Likewise.
21428 * math/s_cexp.c: Likewise.
21429 * math/s_cexpf.c: Likewise.
21430 * math/s_cexpl.c: Likewise.
21431 * math/s_clog.c: Likewise.
21432 * math/s_clog10.c: Likewise.
21433 * math/s_clog10f.c: Likewise.
21434 * math/s_clog10l.c: Likewise.
21435 * math/s_clogf.c: Likewise.
21436 * math/s_clogl.c: Likewise.
21437 * math/s_csqrt.c: Likewise.
21438 * math/s_csqrtf.c: Likewise.
21439 * math/s_csqrtl.c: Likewise.
21440 * math/s_ctanf.c: Likewise.
21441 * math/s_ctanh.c: Likewise.
21442 * math/s_ctanhf.c: Likewise.
21443 * math/s_ctanhl.c: Likewise.
21444 * math/s_ctanl.c: Likewise.
21445
bc62c2fb
UD
21446 * math/math_private.h: Define __nan, __nanf, __nanl.
21447 * math/s_cacosh.c: Include <math_private.h>.
21448 * math/s_cacoshl.c: Likewise.
21449 * math/s_casinh.c: Likewise.
21450 * math/s_casinhf.c: Likewise.
21451 * math/s_casinhl.c: Likewise.
21452 * math/s_ccos.c: Rely entire on ccosh.
21453 * math/s_ccosf.c: Rely entire on ccoshf.
21454 * math/s_ccosl.c: Rely entirely on ccoshl.
21455 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21456 Remove tests for FE_INVALID.
21457 * math/s_ccoshf.c: Likewise.
21458 * math/s_ccoshl.c: Likewise.
21459 * math/s_csin.c: Likewise.
21460 * math/s_csinf.c: Likewise.
21461 * math/s_csinh.c Likewise.
21462 * math/s_csinhf.c: Likewise.
21463 * math/s_csinhl.c: Likewise.
21464 * math/s_csinl.c: Likewise.
21465 * math/s_ctan.c: Likewise.
21466 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21467 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21468 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21469
8ec250a4
UD
214702011-10-21 Ulrich Drepper <drepper@gmail.com>
21471
c196fed8
UD
21472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21473 compilation problems.
21474
8ec250a4
UD
21475 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21476 __builtin_expect.
21477
8d4f46c6
UD
214782011-10-20 Ulrich Drepper <drepper@gmail.com>
21479
ed72b654
UD
21480 * sysdeps/i386/configure.in: Test for -mfma4 option.
21481 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21482 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21483 COMMON_CPUID_INDEX_80000001.
21484 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21485 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21486 use it if FMA3 is not supported.
21487 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21488
8d4f46c6
UD
21489 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21490 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21491
d45c60c2
AS
214922011-10-20 Andreas Schwab <schwab@redhat.com>
21493
21494 [BZ #12892]
21495 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21496 it would create a cycle with a link time dependency.
21497
d9a4d2ab
UD
214982011-10-19 Ulrich Drepper <drepper@gmail.com>
21499
855d1560
UD
21500 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21501 instruction.
21502 * string/Makefile (strop-tests): Add rawmemchr.
21503 * string/test-rawmemchr.c: New file.
21504
d9a4d2ab
UD
21505 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21506 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21507 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21508 when compiling str{,n}casecmp and when AVX is available. Hook up
21509 new optimized code in initializers.
21510
8f3b1ffe
AS
215112011-10-19 Andreas Schwab <schwab@redhat.com>
21512
21513 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21514 __feraiseexcept instead of feraiseexcept.
21515
d38f1dba
UD
215162011-10-18 Ulrich Drepper <drepper@gmail.com>
21517
d9a8d0ab
UD
21518 * math/math_private.h: Define defaults for libc_fetestexcept and
21519 libc_feupdateenv.
21520 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21521 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21522 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21523 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21524 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21525 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21526 libc_fetestexcept and libc_feupdateenv.
21527
4855e3dd
UD
21528 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21529 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21530 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21531 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21532 libc_feholdexcept_setround.
21533
581d30e3
UD
21534 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21535 Add s_nearbyint-c and s_nearbyintf-c.
21536 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21537 nearbyintf inlines.
21538 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21539 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21540 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21541 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21542
d38f1dba
UD
21543 * math/math_private.h: Define defaults for libc_fegetround,
21544 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21545 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21546 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21547 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21548 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21549 standard functions.
21550 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21551 Remove comments and hacks for old compiler versions.
21552 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21553 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21554 libc_feholdexceptl.
21555
caa6c9d8
AS
215562011-10-18 Andreas Schwab <schwab@redhat.com>
21557
21558 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21559 (__feraiseexcept_renamed): Add __NTH.
21560 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21561 namespace violations.
21562
97c066e6
UD
215632011-10-17 Ulrich Drepper <drepper@gmail.com>
21564
99ce7b04
UD
21565 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21566
1004d182
UD
21567 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21568
228a984d
UD
21569 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21570 recently added interfaces.
21571 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21572
c8553a6a
UD
21573 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21574 about macro parameter expansion.
21575
ed22dcf6
UD
21576 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21577 __NO_MATH_INLINES is defined. Cleanups.
21578
21579 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21580 and __floorf is target has SSE4.1.
21581 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21582 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21583 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21584 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21585
b171c137
UD
21586 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21587 name.
21588 (floorf): Likewise.
21589
97c066e6
UD
21590 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21591
629f62ef
AS
215922011-10-17 Andreas Schwab <schwab@redhat.com>
21593
49a43d80
AS
21594 * misc/sys/cdefs.h: Fix last change.
21595
629f62ef
AS
21596 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21597 database lookup.
21598
e453f6cd
UD
215992011-10-16 Ulrich Drepper <drepper@gmail.com>
21600
aa78043a
UD
21601 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21602
ad0f5cad
UD
21603 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21610 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21611 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21612 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21613 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21614 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21615 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21616 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21617 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21618 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21619 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21620 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21621 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21622 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21623 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21624 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21625
21626 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21627 ceil, ceilf, floor, floorf.
21628
21629 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21630 Perform IRELATIVE relocations last.
21631
e453f6cd
UD
21632 * elf/do-rel.h: Add another parameter nrelative, replacing the
21633 local variable with the same name. Change name of the function
21634 to end in Rel or Rela (uppercase).
21635 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21636 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21637 elf_dynamic_do_##reloc function.
21638
fd5bdc09
UD
216392011-10-15 Ulrich Drepper <drepper@gmail.com>
21640
79b195b5
UD
21641 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21642 is sufficient, at least on modern CPUs.
21643
d4a28569
UD
21644 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21645
b61099b5
UD
21646 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21648
bcf01e6d
UD
21649 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21650 __expl_finite.
21651 * math/bits/math-finite.h: Add entries for exp.
21652 * math/e_expl.c: Add __*_finite alias.
21653 * sysdeps/i386/fpu/e_exp.S: Likewise.
21654 * sysdeps/i386/fpu/e_expf.S: Likewise.
21655 * sysdeps/i386/fpu/e_expl.c: Likewise.
21656 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21658 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21659 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21660 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21661 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21662 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21663
ba1a0d59
UD
21664 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21665 is sufficient, at least on modern CPUs.
21666
fd5bdc09
UD
21667 * ctype/ctype-info.c (__ctype_init): Define.
21668 * include/ctype.h (__ctype_init): Declare.
21669 (__ctype_b_loc): The variable is always initialized.
21670 (__ctype_toupper_loc): Likewise.
21671 (__ctype_tolower_loc): Likewise.
21672 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21673 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21674
7872cfb0
AS
216752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21676
b468825a
AS
21677 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21678
7872cfb0
AS
21679 * configure.in: Also look in $cxxmachine/include for C++ system
21680 headers.
21681
be13f7bf
LD
216822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21683
21684 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21685 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21686 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21687 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21688 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21689 (USE_AS_WMEMCMP): New macro.
21690 Fixing indents.
21691 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21692 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21693 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21694 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21696 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21697 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21698 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21699 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21700 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21701 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21702 (USE_AS_WMEMCMP): New macro.
21703 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21704 * sysdeps/string/test-memcmp.c: Update.
21705 Fix simple_wmemcmp.
21706 Add new tests.
21707 * wcsmbs/wmemcmp.c: Update.
21708 (WMEMCMP): New macro.
21709 Fix overflow bug.
21710
556a2007
AJ
217112011-10-12 Andreas Jaeger <aj@suse.de>
21712
21713 [BZ #13268]
21714 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21715
538faaa7
UD
217162011-10-15 Ulrich Drepper <drepper@gmail.com>
21717
ab6737ff
UD
21718 * libio/iofwide.c (do_length): Avoid warning.
21719
538faaa7
UD
21720 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21721
396a21b1
UD
217222011-10-14 Ulrich Drepper <drepper@gmail.com>
21723
cdf2901f
UD
21724 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21725
38ad40ce
UD
21726 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21727 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21728 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21729 * sysdeps/i386/i686/fpu/e_log.S: New file.
21730 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21731 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21732
396a21b1
UD
21733 * ctype/ctype.h: Add support for inlined isXXX functions when
21734 compiling C++ code.
21735
6b1f68c9
AS
217362011-10-14 Andreas Schwab <schwab@redhat.com>
21737
349290c0
AS
21738 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21739
6b1f68c9
AS
21740 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21741
f2282d42
RM
217422011-10-13 Roland McGrath <roland@hack.frob.com>
21743
21744 [BZ #13291]
21745 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21746
5298ffa8
AS
217472011-10-13 Andreas Schwab <schwab@redhat.com>
21748
714fad23
AS
21749 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21750 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21751 feraiseexcept.
21752
81dcc7fb
AS
21753 * sysdeps/x86_64/memrchr.S: Check for zero size.
21754
5298ffa8
AS
21755 * string/stratcliff.c: Add memrchr tests.
21756
951fbcec
LD
217572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21758
21759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21760 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21761 rawmemchr-sse2 rawmemchr-sse2-bsf.
21762 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21763 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21764 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21765 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21766 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21767 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21768 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21769 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21770 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21771 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21772 * string/memrchr.c (MEMRCHR): New macro.
21773
0ac5ae23
UD
217742011-10-12 Ulrich Drepper <drepper@gmail.com>
21775
21776 Add integration with gcc's -ffinite-math-only and optimize wrapper
21777 functions in libm.
21778 * Versions.def: Define GLIBC_2.15 version for libm.
21779 * math/Makefile (headers): Add bits/math-finite.h.
21780 * math/bits/math-finite.h: New file.
21781 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21782 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21783 * math/e_acoshl.c: Add __*_finite alias.
21784 * math/e_acosl.c: Likewise.
21785 * math/e_asinl.c: Likewise.
21786 * math/e_atan2l.c: Likewise.
21787 * math/e_atanhl.c: Likewise.
21788 * math/e_coshl.c: Likewise.
21789 * math/e_exp10.c: Likewise.
21790 * math/e_exp10f.c: Likewise.
21791 * math/e_exp10l.c: Likewise.
21792 * math/e_exp2l.c: Likewise.
21793 * math/e_fmodl.c: Likewise.
21794 * math/e_gammal_r.c: Likewise.
21795 * math/e_hypotl.c: Likewise.
21796 * math/e_j0l.c: Likewise.
21797 * math/e_j1l.c: Likewise.
21798 * math/e_jnl.c: Likewise.
21799 * math/e_lgammal_r.c: Likewise.
21800 * math/e_log10l.c: Likewise.
21801 * math/e_log2l.c: Likewise.
21802 * math/e_logl.c: Likewise.
21803 * math/e_powl.c: Likewise.
21804 * math/e_sinhl.c: Likewise.
21805 * math/e_sqrtl.c: Likewise.
21806 * math/e_scalb.c: Completely rewritten and optimized.
21807 * math/e_scalbf.c: Likewise.
21808 * math/e_scalbl.c: Likewise.
21809 * math/w_acos.c: Likewise.
21810 * math/w_acosf.c: Likewise.
21811 * math/w_acosl.c: Likewise.
21812 * math/w_acosh.c: Likewise.
21813 * math/w_acoshf.c: Likewise.
21814 * math/w_acoshl.c: Likewise.
21815 * math/w_asin.c: Likewise.
21816 * math/w_asinf.c: Likewise.
21817 * math/w_asinl.c: Likewise.
21818 * math/w_atan2.c: Likewise.
21819 * math/w_atan2f.c: Likewise.
21820 * math/w_atan2l.c: Likewise.
21821 * math/w_atanh.c: Likewise.
21822 * math/w_atanhf.c: Likewise.
21823 * math/w_atanhl.c: Likewise.
21824 * math/w_exp10.c: Likewise.
21825 * math/w_exp10f.c: Likewise.
21826 * math/w_exp10l.c: Likewise.
21827 * math/w_fmod.c: Likewise.
21828 * math/w_fmodf.c: Likewise.
21829 * math/w_fmodl.c: Likewise.
21830 * math/w_j0.c: Likewise.
21831 * math/w_j0f.c: Likewise.
21832 * math/w_j0l.c: Likewise.
21833 * math/w_j1.c: Likewise.
21834 * math/w_j1f.c: Likewise.
21835 * math/w_j1l.c: Likewise.
21836 * math/w_jn.c: Likewise.
21837 * math/w_jnf.c: Likewise.
21838 * math/w_log.c: Likewise.
21839 * math/w_logf.c: Likewise.
21840 * math/w_logl.c: Likewise.
21841 * math/w_log10.c: Likewise.
21842 * math/w_log10f.c: Likewise.
21843 * math/w_log10l.c: Likewise.
21844 * math/w_log2.c: Likewise.
21845 * math/w_log2f.c: Likewise.
21846 * math/w_log2l.c: Likewise.
21847 * math/w_pow.c: Likewise.
21848 * math/w_powf.c: Likewise.
21849 * math/w_powl.c: Likewise.
21850 * math/w_remainder.c: Likewise.
21851 * math/w_remainderf.c: Likewise.
21852 * math/w_remainderl.c: Likewise.
21853 * math/w_scalb.c: Likewise.
21854 * math/w_scalbf.c: Likewise.
21855 * math/w_scalbl.c: Likewise.
21856 * math/w_sqrt.c: Likewise.
21857 * math/w_sqrtf.c: Likewise.
21858 * math/w_sqrtl.c: Likewise.
21859 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21860 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21861 used.
21862 * math/math_private.h: Declare __kernel_standard_f.
21863 * math/w_cosh.c: Remove cruft and optimize a bit.
21864 * math/w_coshf.c: Likewise.
21865 * math/w_coshl.c: Likewise.
21866 * math/w_exp2.c: Likewise.
21867 * math/w_exp2f.c: Likewise.
21868 * math/w_exp2l.c: Likewise.
21869 * math/w_hypot.c: Likewise.
21870 * math/w_hypotf.c: Likewise.
21871 * math/w_hypotl.c: Likewise.
21872 * math/w_lgamma.c: Likewise.
21873 * math/w_lgamma_r.c: Likewise.
21874 * math/w_lgammaf.c: Likewise.
21875 * math/w_lgammaf_r.c: Likewise.
21876 * math/w_lgammal.c: Likewise.
21877 * math/w_lgammal_r.c: Likewise.
21878 * math/w_sinh.c: Likewise.
21879 * math/w_sinhf.c: Likewise.
21880 * math/w_sinhl.c: Likewise.
21881 * math/w_tgamma.c: Likewise.
21882 * math/w_tgammaf.c: Likewise.
21883 * math/w_tgammal.c: Likewise.
21884 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21885 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21886 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21887 Minor optimizations. Pretty printing. Remove cruft.
21888 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21889 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21890 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21891 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21892 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21893 * sysdeps/i386/fpu/e_asin.S: Likewise.
21894 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21895 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21896 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21897 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21898 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21899 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21900 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21901 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21902 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21903 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21904 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21905 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21906 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21907 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21908 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21909 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21910 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21911 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21912 * sysdeps/i386/fpu/e_log.S: Likewise.
21913 * sysdeps/i386/fpu/e_log10.S: Likewise.
21914 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21915 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21916 * sysdeps/i386/fpu/e_log2.S: Likewise.
21917 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21918 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21919 * sysdeps/i386/fpu/e_logf.S: Likewise.
21920 * sysdeps/i386/fpu/e_logl.S: Likewise.
21921 * sysdeps/i386/fpu/e_pow.S: Likewise.
21922 * sysdeps/i386/fpu/e_powf.S: Likewise.
21923 * sysdeps/i386/fpu/e_powl.S: Likewise.
21924 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21925 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21926 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21927 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21928 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21929 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21930 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21931 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21932 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21933 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21934 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21936 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21938 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21939 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21940 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21941 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21942 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21943 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21944 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21946 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21947 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21949 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21950 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21951 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21953 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21954 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21955 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21956 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21957 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21958 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21959 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21960 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21961 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21962 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21963 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21964 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21965 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21966 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21967 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21968 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21969 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21970 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21971 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21972 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21973 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21974 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21978 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21979 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21982 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21988 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21989 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21990 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21991 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21992 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21994 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21996 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21997 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21998 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22001 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22002 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22003 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22004 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22005 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22006 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22007 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22008 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22009 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22010 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22011 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22012 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22013 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22014 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22015 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22016 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22017 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22018 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22019 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22020 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22021 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22022 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22023 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22024 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22025 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22026 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22027 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22028 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22029 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22030 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22031 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22032 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22033 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22034 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22035 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22036 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22037 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22038 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22039 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22040 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22041 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22042 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22043 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22044 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22045 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22046 (__isnanf): Likewise.
22047 (__isinf_ns): Likewise.
22048 (__isinf_nsf): Likewise.
22049 (__finite): Likewise.
22050 (__finitef): Likewise.
22051 (__ieee754_sqrt): Define as macro.
22052 (__ieee754_sqrtf): Define as macro.
22053 (__ieee754_sqrtl): Define as macro.
22054 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22055 inlined copy.
22056 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22057 __FINITE_MATH_ONLY__ consistent.
22058 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22059
12cc2fcd
AS
220602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22061
a843a204
AS
22062 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22063 of rawmemchr.
22064
12cc2fcd
AS
22065 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22066
c853acd5
UD
220672011-10-09 Ulrich Drepper <drepper@gmail.com>
22068
22069 * po/ja.po: Update from translation team.
22070
c658d255
RM
220712011-10-08 Roland McGrath <roland@hack.frob.com>
22072
110946e4
RM
22073 * locale/programs/locarchive.c (prepare_address_space): New function.
22074 (create_archive, enlarge_archive, open_archive): Use it.
22075
50604220
RM
22076 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22077 inside [SHARED], where it is used.
22078
c658d255
RM
22079 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22080
22081 * nss/getent.c (netgroup_keys): Remove unused variable.
22082 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22083
6a621eb7
UD
220842011-10-08 Ulrich Drepper <drepper@gmail.com>
22085
7edb55ce
UD
22086 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22087 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22089 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22090 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22091 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22092 * math/Makefile (libm-calls): Add s_isinf_ns.
22093 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22094 * math/multc3.c: Likewise.
22095 * math/s_casin.c: Likewise.
22096 * math/s_casinf.c: Likewise.
22097 * math/s_casinl.c: Likewise.
22098 * math/s_ccos.c: Likewise.
22099 * math/s_ccosf.c: Likewise.
22100 * math/s_ccosl.c: Likewise.
22101 * math/s_ctan.c: Likewise.
22102 * math/s_ctanf.c: Likewise.
22103 * math/s_ctanh.c: Likewise.
22104 * math/s_ctanhf.c: Likewise.
22105 * math/s_ctanhl.c: Likewise.
22106 * math/s_ctanl.c: Likewise.
22107 * math/w_fmod.c: Likewise.
22108 * math/w_fmodf.c: Likewise.
22109 * math/w_fmodl.c: Likewise.
22110 * math/w_remainder.c: Likewise.
22111 * math/w_remainderf.c: Likewise.
22112 * math/w_remainderl.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22114 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22115 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22117 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22118 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22119 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22120 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22121
187da0ae
UD
22122 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22123 of the number.
22124 * stdio-common/printf_fphex.c: Likewise.
22125 * stdio-common/printf_size.c: Likewise.
22126
9277c064
UD
22127 * math/e_exp10.c: Include math_private.h using <...> not "...".
22128 * math/e_exp10f.c: Likewise.
22129 * math/e_exp10l.c: Likewise.
22130 * math/e_exp2l.c: Likewise.
22131 * math/e_j0l.c: Likewise.
22132 * math/e_j1l.c: Likewise.
22133 * math/e_jnl.c: Likewise.
22134 * math/e_lgammal_r.c: Likewise.
22135 * math/e_rem_pio2l.c: Likewise.
22136 * math/e_scalb.c: Likewise.
22137 * math/e_scalbf.c: Likewise.
22138 * math/e_scalbl.c: Likewise.
22139 * math/k_cosl.c: Likewise.
22140 * math/k_sinl.c: Likewise.
22141 * math/k_tanl.c: Likewise.
22142 * math/s_cacoshf.c: Likewise.
22143 * math/s_catan.c: Likewise.
22144 * math/s_catanf.c: Likewise.
22145 * math/s_catanh.c: Likewise.
22146 * math/s_catanhf.c: Likewise.
22147 * math/s_catanhl.c: Likewise.
22148 * math/s_catanl.c: Likewise.
22149 * math/s_ccosh.c: Likewise.
22150 * math/s_ccoshf.c: Likewise.
22151 * math/s_ccoshl.c: Likewise.
22152 * math/s_cexp.c: Likewise.
22153 * math/s_cexpf.c: Likewise.
22154 * math/s_cexpl.c: Likewise.
22155 * math/s_clog.c: Likewise.
22156 * math/s_clog10.c: Likewise.
22157 * math/s_clog10f.c: Likewise.
22158 * math/s_clog10l.c: Likewise.
22159 * math/s_clogf.c: Likewise.
22160 * math/s_clogl.c: Likewise.
22161 * math/s_csin.c: Likewise.
22162 * math/s_csinf.c: Likewise.
22163 * math/s_csinh.c: Likewise.
22164 * math/s_csinhf.c: Likewise.
22165 * math/s_csinhl.c: Likewise.
22166 * math/s_csinl.c: Likewise.
22167 * math/s_csqrt.c: Likewise.
22168 * math/s_csqrtf.c: Likewise.
22169 * math/s_csqrtl.c: Likewise.
22170 * math/s_ctan.c: Likewise.
22171 * math/s_ctanf.c: Likewise.
22172 * math/s_ctanh.c: Likewise.
22173 * math/s_ctanhf.c: Likewise.
22174 * math/s_ctanhl.c: Likewise.
22175 * math/s_ctanl.c: Likewise.
22176 * math/s_ldexp.c: Likewise.
22177 * math/s_ldexpf.c: Likewise.
22178 * math/s_ldexpl.c: Likewise.
22179 * math/s_significand.c: Likewise.
22180 * math/s_significandf.c: Likewise.
22181 * math/s_significandl.c: Likewise.
22182 * math/w_acos.c: Likewise.
22183 * math/w_acosf.c: Likewise.
22184 * math/w_acosh.c: Likewise.
22185 * math/w_acoshf.c: Likewise.
22186 * math/w_acoshl.c: Likewise.
22187 * math/w_acosl.c: Likewise.
22188 * math/w_asin.c: Likewise.
22189 * math/w_asinf.c: Likewise.
22190 * math/w_asinl.c: Likewise.
22191 * math/w_atan2.c: Likewise.
22192 * math/w_atan2f.c: Likewise.
22193 * math/w_atan2l.c: Likewise.
22194 * math/w_atanh.c: Likewise.
22195 * math/w_atanhf.c: Likewise.
22196 * math/w_atanhl.c: Likewise.
22197 * math/w_cosh.c: Likewise.
22198 * math/w_coshf.c: Likewise.
22199 * math/w_coshl.c: Likewise.
22200 * math/w_dremf.c: Likewise.
22201 * math/w_exp10.c: Likewise.
22202 * math/w_exp10f.c: Likewise.
22203 * math/w_exp10l.c: Likewise.
22204 * math/w_exp2.c: Likewise.
22205 * math/w_exp2f.c: Likewise.
22206 * math/w_fmod.c: Likewise.
22207 * math/w_fmodf.c: Likewise.
22208 * math/w_fmodl.c: Likewise.
22209 * math/w_hypot.c: Likewise.
22210 * math/w_hypotf.c: Likewise.
22211 * math/w_hypotl.c: Likewise.
22212 * math/w_j0.c: Likewise.
22213 * math/w_j0f.c: Likewise.
22214 * math/w_j0l.c: Likewise.
22215 * math/w_j1.c: Likewise.
22216 * math/w_j1f.c: Likewise.
22217 * math/w_j1l.c: Likewise.
22218 * math/w_jn.c: Likewise.
22219 * math/w_jnf.c: Likewise.
22220 * math/w_jnl.c: Likewise.
22221 * math/w_lgamma.c: Likewise.
22222 * math/w_lgamma_r.c: Likewise.
22223 * math/w_lgammaf.c: Likewise.
22224 * math/w_lgammaf_r.c: Likewise.
22225 * math/w_lgammal.c: Likewise.
22226 * math/w_lgammal_r.c: Likewise.
22227 * math/w_log.c: Likewise.
22228 * math/w_log10.c: Likewise.
22229 * math/w_log10f.c: Likewise.
22230 * math/w_log10l.c: Likewise.
22231 * math/w_log2.c: Likewise.
22232 * math/w_log2f.c: Likewise.
22233 * math/w_log2l.c: Likewise.
22234 * math/w_logf.c: Likewise.
22235 * math/w_logl.c: Likewise.
22236 * math/w_pow.c: Likewise.
22237 * math/w_powf.c: Likewise.
22238 * math/w_powl.c: Likewise.
22239 * math/w_remainder.c: Likewise.
22240 * math/w_remainderf.c: Likewise.
22241 * math/w_remainderl.c: Likewise.
22242 * math/w_scalb.c: Likewise.
22243 * math/w_scalbf.c: Likewise.
22244 * math/w_scalbl.c: Likewise.
22245 * math/w_sinh.c: Likewise.
22246 * math/w_sinhf.c: Likewise.
22247 * math/w_sinhl.c: Likewise.
22248 * math/w_sqrt.c: Likewise.
22249 * math/w_sqrtf.c: Likewise.
22250 * math/w_sqrtl.c: Likewise.
22251 * math/w_tgamma.c: Likewise.
22252 * math/w_tgammaf.c: Likewise.
22253 * math/w_tgammal.c: Likewise.
22254
6a621eb7
UD
22255 * po/ja.po: Update from translation team.
22256
bf582445
AJ
222572011-09-29 Andreas Jaeger <aj@suse.de>
22258
f9efbf3a
AJ
22259 [BZ #13179]
22260 * sunrpc/netname.c (netname2host): Fix logic.
22261
bf582445
AJ
22262 [BZ #6779]
22263 [BZ #6783]
22264 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22265 correctly.
22266 * math/w_remainder.c (__remainder): Likewise.
22267 * math/w_remainderf.c (__remainderf): Likewise.
22268 * math/libm-test.inc (remainder_test): Add test cases.
22269
48693bea
AK
222702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22271
22272 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22273 sdiv_qrnnd.
22274
42622229
LD
222752011-10-07 Ulrich Drepper <drepper@gmail.com>
22276
22277 * string/test-memcmp.c: Avoid unncessary #defines.
22278 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22279
093ecf92
LD
222802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22281
22282 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22283 Use new sse2 version for core i3 - i7 as it's faster
22284 than sse42 version.
22285 (bit_Prefer_PMINUB_for_stringop): New.
22286 * sysdeps/x86_64/rawmemchr.S: Update.
22287 Replace with faster SSE2 version.
22288 * sysdeps/x86_64/memrchr.S: New file.
22289 * sysdeps/x86_64/memchr.S: Update.
22290 Replace with faster SSE2 version.
22291
fde56e5c
MP
222922011-09-12 Marek Polacek <mpolacek@redhat.com>
22293
22294 * elf/dl-load.c (lose): Add cast to avoid warning.
22295
21fd49a9
UD
222962011-10-07 Ulrich Drepper <drepper@gmail.com>
22297
5a06e643
UD
22298 * po/ca.po: Update from translation team.
22299
684ae515
UD
22300 * inet/getnetgrent_r.c: Hook up nscd.
22301 * nscd/Makefile (routines): Add nscd_netgroup.
22302 (nscd-modules): Add netgroupcache.
22303 (CFLAGS-netgroupcache.c): Define.
22304 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22305 (cache_search): Add const to second parameter.
22306 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22307 INNETGR.
22308 (dbs): Add netgrdb entry.
22309 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22310 (verify_persistent_db): Handle netgrdb.
22311 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22312 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22313 GETFDNETGR.
22314 (netgroup_response_header): Define.
22315 (innetgroup_response_header): Define.
22316 (datahead): Add netgroup_response_header and innetgroup_response_header
22317 elements.
22318 * nscd/nscd.conf: Add entries for netgroup cache.
22319 * nscd/nscd.h (dbtype): Add netgrdb.
22320 (_PATH_NSCD_NETGROUP_DB): Define.
22321 (netgroup_iov_disabled): Declare.
22322 (xmalloc, xcalloc, xrealloc): Move declarations here.
22323 (cache_search): Adjust prototype.
22324 Add netgroup-related prototypes.
22325 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22326 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22327 (__nscd_innetgr): Declare.
22328 * nscd/selinux.c (perms): Use access_vector_t as element type and
22329 add netgroup-related initializers.
22330 * nscd/netgroupcache.c: New file.
22331 * nscd/nscd_netgroup.c: New file.
22332 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22333 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22334 For four parameters use innetgr.
22335 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22336 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22337 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22338 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22339
21fd49a9
UD
22340 * nscd/connections.c (register_traced_file): Don't register file
22341 for disabled databases.
22342
054c0457
UD
223432011-10-06 Ulrich Drepper <drepper@gmail.com>
22344
32b63198
UD
22345 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22346
054c0457
UD
22347 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22348 from tree and freeing node.
22349
64031225
JO
223502011-09-25 Jiri Olsa <jolsa@redhat.com>
22351
22352 * nss/nsswitch.c (__nss_database_lookup): Handle
22353 nss_parse_service_list out of memory case.
22354
0490345c
JO
223552011-09-15 Jiri Olsa <jolsa@redhat.com>
22356
22357 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22358 out of memory case.
22359
3a62d00d
AS
223602011-10-04 Andreas Schwab <schwab@redhat.com>
22361
22362 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22363 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22364 pass it down.
22365 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22366 elf_machine_rela, elf_machine_lazy_rel.
22367 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22368 (ELF_DYNAMIC_DO_REL): Likewise.
22369 (ELF_DYNAMIC_DO_RELA): Likewise.
22370 (ELF_DYNAMIC_RELOCATE): Likewise.
22371 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22372 to ELF_DYNAMIC_DO_REL.
22373 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22374 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22375 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22376 elf_machine_rela.
22377 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22378 skip_ifunc, don't call ifunc function if non-zero.
22379 (elf_machine_rela): Likewise.
22380 (elf_machine_lazy_rel): Likewise.
22381 (elf_machine_lazy_rela): Likewise.
22382 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22383 (elf_machine_lazy_rel): Likewise.
22384 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22385 Likewise.
22386 (elf_machine_lazy_rel): Likewise.
22387 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22388 Likewise.
22389 (elf_machine_lazy_rel): Likewise.
22390 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22391 (elf_machine_lazy_rel): Likewise.
22392 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22393 (elf_machine_lazy_rel): Likewise.
22394 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22395 (elf_machine_lazy_rel): Likewise.
22396 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22397 (elf_machine_lazy_rel): Likewise.
22398 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22399 (elf_machine_lazy_rel): Likewise.
22400 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22401 (elf_machine_lazy_rel): Likewise.
22402
68577918
UD
224032011-09-28 Ulrich Drepper <drepper@gmail.com>
22404
22405 * nss/nss_files/files-init.c (_nss_files_init): Use static
22406 initialization for all the *_traced_file variables.
22407
68822d74
AS
224082011-09-28 Andreas Schwab <schwab@redhat.com>
22409
22410 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22411
2056100b
RM
224122011-09-27 Roland McGrath <roland@hack.frob.com>
22413
22414 [BZ #13226]
22415 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22416
32c76b63
AS
224172011-09-27 Andreas Schwab <schwab@redhat.com>
22418
22419 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22420 Reread the line before reparsing it.
22421
bf972c9d
AS
224222011-09-26 Andreas Schwab <schwab@redhat.com>
22423
22424 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22425
e057a1b5
JM
224262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22427 Maxim Kuvyrkov <maxim@codesourcery.com>
22428 Joseph Myers <joseph@codesourcery.com>
22429
22430 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22431 if needed for __stack_chk_guard.
22432
bc7e1c36
RM
224332011-09-19 Roland McGrath <roland@hack.frob.com>
22434
ecb1482f
RM
22435 * sysdeps/posix/spawni.c (script_execute): Always define it.
22436 It will be optimized away if unused.
22437 (maybe_script_execute): New function.
22438 (__spawni): Call it.
22439
bc7e1c36
RM
22440 * Makerules: Don't include tls.make.
22441 (config-tls): Always set to thread.
22442 * tls.make.c: File removed.
22443
1c3b002b
MF
224442011-09-19 Mike Frysinger <vapier@gentoo.org>
22445
22446 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22447 * config.make.in (CPPFLAGS-config): New substituted variable.
22448
2840865d
UD
224492011-09-15 Ulrich Drepper <drepper@gmail.com>
22450
88738eb6
UD
22451 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22452
cbf645a6 22453 [BZ #13192]
2840865d
UD
22454 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22455 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22456
b402e91a
RM
224572011-09-15 Roland McGrath <roland@hack.frob.com>
22458
22459 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22460 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22461 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22462 (CALL_FAIL): Likewise.
22463 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22464 (CALL_FAIL): Macro removed.
22465 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22466
4c1a1f71
UD
224672011-09-15 Ulrich Drepper <drepper@gmail.com>
22468
22469 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22470 for __FINITE_MATH_ONLY__ == 1.
22471
edc121be
AS
224722011-09-15 Andreas Schwab <schwab@redhat.com>
22473
22474 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22475 __ieee754_sqrt instead of sqrt.
22476 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22477 __ieee754_sqrtf instead of sqrtf.
22478 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22479 __floorf instead of floorf.
22480 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22481 __floorf, __truncf instead of floorf, truncf.
22482
cd205654
UD
224832011-09-14 Ulrich Drepper <drepper@gmail.com>
22484
ee4d0315
UD
22485 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22486
cd205654
UD
22487 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22488 __extern_always_inline.
22489 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22490 32-bit.
22491
48b67d71
AS
224922011-09-14 Andreas Schwab <schwab@redhat.com>
22493
22494 * elf/rtld.c (dl_main): Also relocate in dependency order when
22495 doing symbol dependency testing.
22496
1ae12c75
AS
224972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22498
22499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22500 Always define `refsym'.
22501
995a80df
AS
225022011-09-13 Andreas Schwab <schwab@redhat.com>
22503
e529793b
AS
22504 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22505 (__FD_ELT): Renamed from __FDELT.
22506 * misc/bits/select2.h (__FD_ELT): Likewise.
22507 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22508 __FD_MASK instead of __FDELT, __FDMASK.
22509 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22510 Likewise.
22511 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22512 Likewise.
22513
52d4fef8
AS
22514 * elf/Makefile (gen-ldd): Fix pattern.
22515
995a80df
AS
22516 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22517 (init_tls): Likewise.
22518
8682f8b0
UD
225192011-09-12 Ulrich Drepper <drepper@gmail.com>
22520
22521 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22522
de82006d
AS
225232011-09-12 Andreas Schwab <schwab@redhat.com>
22524
a7c8e6a1
AS
22525 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22526 `struct cmsghdr *' instead of `void *'.
22527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22528 Likewise.
22529
0f31fe77
AS
225302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22531
22532 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22533 if non-absolute.
22534 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22535 ldd_rewrite_script.
0f31fe77 22536
32b4c839
UD
225372011-09-11 Ulrich Drepper <drepper@gmail.com>
22538
83cd1420
UD
22539 * configure.in: Remove --with-tls option.
22540 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22541 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22542 out in case it is missing.
22543 * sysdeps/ia64/elf/configure.in: Likewise.
22544 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22545 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22546 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22547 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22548 * sysdeps/sh/elf/configure.in: Likewise.
22549 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22550 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22551 * sysdeps/x86_64/elf/configure.in: Likewise.
22552 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22553 * sysdeps/mach/hurd/tls.h: Likewise.
22554
633f745d
UD
22555 [BZ #13067]
22556 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22557
f318beb8
UD
22558 [BZ #13090]
22559 * configure.in: Fix use of AC_INIT.
22560
32b4c839
UD
22561 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22562
3ce1f295
UD
225632011-09-10 Ulrich Drepper <drepper@gmail.com>
22564
bb016596
UD
22565 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22566 __set_errno.
8e58439c
UD
22567 * malloc/hooks.c: Likewise.
22568
aebae053 22569 [BZ #11929]
02d46fc4
UD
22570 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22571 variables statically.
22572 (narenas): Initialize.
22573 (list_lock): Initialize.
bb016596
UD
22574 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22575 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22576 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22577 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22578 Add initializers to main_arena and mp_.
22579 (malloc_state): Remove pagesize member. Change all users to use
22580 GLRO(dl_pagesize).
22581
22582 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22583 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22584 is always initialized.
22585
22a89187
UD
22586 * malloc/malloc.c: Removed unused configurations and dead code.
22587 * malloc/arena.c: Likewise.
22588 * malloc/hooks.c: Likewise.
02d46fc4 22589 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22590
d063d164
UD
22591 * include/tls.h: Removed. USE___THREAD must always be defined.
22592 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22593 * elf/dl-libc.c: Likewise.
22594 * elf/dl-tsd.c: Likewise.
22595 * include/errno.h: Likewise.
22596 * include/netdb.h: Likewise.
22597 * include/resolv.h: Likewise.
22598 * inet/herrno-loc.c: Likewise.
22599 * inet/herrno.c: Likewise.
22600 * malloc/arena.c: Likewise.
22601 * malloc/hooks.c: Likewise.
22602 * malloc/malloc.c: Likewise.
22603 * resolv/res-state.c: Likewise.
22604 * resolv/res_libc.c: Likewise.
22605 * sysdeps/i386/dl-machine.h: Likewise.
22606 * sysdeps/ia64/dl-machine.h: Likewise.
22607 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22608 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22609 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22610 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22611 * sysdeps/sh/dl-machine.h: Likewise.
22612 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22614 * sysdeps/unix/i386/sysdep.S: Likewise.
22615 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22616 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22617 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22618 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22619 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22621 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22623 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22625 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22626 * sysdeps/x86_64/dl-machine.h: Likewise.
22627 * tls.make.c: Likewise.
22628
3ce1f295
UD
22629 * configure.in: Remove --with-__thread option. Make tests for
22630 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22631 tls_model attribute fail if no support is available. Remove
22632 USE_IN_LIBIO.
22633 * Makeconfig: Adjust for dropped configure option. All features are
22634 now mandatory.
22635 * Makerules: Likewise.
22636 * Versions.def: Likewise.
22637 * argp/argp-fmtstream.c: Likewise.
22638 * argp/argp-fmtstream.h: Likewise.
22639 * argp/argp-help.c: Likewise.
22640 * assert/assert.c: Likewise.
22641 * config.h.in: Likewise.
22642 * config.make.in: Likewise.
22643 * configure: Likewise.
22644 * configure.in: Likewise.
22645 * csu/Versions: Likewise.
22646 * csu/init.c: Likewise.
22647 * elf/tst-audit2.c: Likewise.
22648 * elf/tst-tls10.c: Likewise.
22649 * elf/tst-tls10.h: Likewise.
22650 * elf/tst-tls11.c: Likewise.
22651 * elf/tst-tls12.c: Likewise.
22652 * elf/tst-tls14.c: Likewise.
22653 * elf/tst-tlsmod11.c: Likewise.
22654 * elf/tst-tlsmod12.c: Likewise.
22655 * elf/tst-tlsmod13.c: Likewise.
22656 * elf/tst-tlsmod13a.c: Likewise.
22657 * elf/tst-tlsmod14a.c: Likewise.
22658 * elf/tst-tlsmod15b.c: Likewise.
22659 * elf/tst-tlsmod16a.c: Likewise.
22660 * elf/tst-tlsmod16b.c: Likewise.
22661 * elf/tst-tlsmod7.c: Likewise.
22662 * elf/tst-tlsmod8.c: Likewise.
22663 * elf/tst-tlsmod9.c: Likewise.
22664 * gmon/gmon.c: Likewise.
22665 * grp/fgetgrent_r.c: Likewise.
22666 * grp/putgrent.c: Likewise.
22667 * hurd/fopenport.c: Likewise.
22668 * include/libc-symbols.h: Likewise.
22669 * include/tls.h: Likewise.
22670 * intl/gettextP.h: Likewise.
22671 * intl/loadinfo.h: Likewise.
22672 * locale/global-locale.c: Likewise.
22673 * locale/localeinfo.h: Likewise.
22674 * mach/devstream.c: Likewise.
22675 * malloc/arena.c: Likewise.
22676 * malloc/set-freeres.c: Likewise.
22677 * misc/err.c: Likewise.
22678 * misc/getttyent.c: Likewise.
22679 * misc/mntent_r.c: Likewise.
22680 * posix/getopt.c: Likewise.
22681 * posix/wordexp.c: Likewise.
22682 * pwd/fgetpwent_r.c: Likewise.
22683 * resolv/Versions: Likewise.
22684 * resolv/res_hconf.c: Likewise.
22685 * shadow/fgetspent_r.c: Likewise.
22686 * shadow/putspent.c: Likewise.
22687 * stdio-common/printf_fphex.c: Likewise.
22688 * stdio-common/tmpfile.c: Likewise.
22689 * stdlib/abort.c: Likewise.
22690 * stdlib/fmtmsg.c: Likewise.
22691 * sunrpc/auth_unix.c: Likewise.
22692 * sunrpc/clnt_perr.c: Likewise.
22693 * sunrpc/clnt_tcp.c: Likewise.
22694 * sunrpc/clnt_udp.c: Likewise.
22695 * sunrpc/clnt_unix.c: Likewise.
22696 * sunrpc/openchild.c: Likewise.
22697 * sunrpc/svc_simple.c: Likewise.
22698 * sunrpc/svc_tcp.c: Likewise.
22699 * sunrpc/svc_udp.c: Likewise.
22700 * sunrpc/svc_unix.c: Likewise.
22701 * sunrpc/xdr.c: Likewise.
22702 * sunrpc/xdr_array.c: Likewise.
22703 * sunrpc/xdr_rec.c: Likewise.
22704 * sunrpc/xdr_ref.c: Likewise.
22705 * sunrpc/xdr_stdio.c: Likewise.
22706
1248c1c4
PB
227072011-09-09 Ulrich Drepper <drepper@gmail.com>
22708
22709 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22710
227112011-07-03 Andreas Jaeger <aj@suse.de>
22712
22713 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22714 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22715 regenerate with gen-libm-tests.pl.
22716
227172010-05-12 Petr Baudis <pasky@suse.cz>
22718
22719 [BZ #11589]
22720 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22721 around j0() zero points by switching to j1().
22722 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22723 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22725 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22726
f22e1074
UD
227272011-09-09 Ulrich Drepper <drepper@gmail.com>
22728
f19009c1
UD
22729 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22730 instead of 0.
22731 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 22732 instead of 0.
f19009c1
UD
22733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22734 Patch in part by Pavel Roskin <proski@gnu.org>.
22735
3f8cc204
UD
22736 [BZ #13138]
22737 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22738 realloc.
22739 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22740 Free memory block if necessary.
22741
f22e1074
UD
22742 [BZ #12847]
22743 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22744 be NULL. Don't lock in this case.
22745
0a2349f9
RM
227462011-09-09 Roland McGrath <roland@hack.frob.com>
22747
22748 * elf/elf.h (ELFOSABI_GNU): New macro.
22749 (ELFOSABI_LINUX): Define to that.
22750
f3cdd467
DZ
227512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22752
22753 * string/strncat.c (strncat): Undef the symbol in case it has been
22754 defined in bits/string.h.
22755
74718d13
UD
227562011-09-09 Ulrich Drepper <drepper@gmail.com>
22757
633e9e0f
UD
22758 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22759
0a2349f9 22760 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
22761 link map.
22762
f9924780
AJ
227632011-08-17 Andreas Jaeger <aj@suse.de>
22764
22765 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22766
7f5517aa
PP
227672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22768 Ian Lance Taylor <iant@google.com>
22769
22770 * math/libm-test.inc (lround_test): New testcase.
22771 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22772
762011fe
UD
227732011-09-08 Ulrich Drepper <drepper@gmail.com>
22774
92963737
UD
22775 * Makefile: Remove support for automatic cvs check-ins.
22776 * Makerules: Likewise.
22777 * config.make.in: Likewise.
22778 * configure.in: Likewise.
22779 * intl/Makefile: Likewise.
22780 * locale/Makefile: Likewise.
22781 * po/Makefile: Likewise.
22782 * posix/Makefile: Likewise.
22783 * sysdeps/gnu/Makefile: Likewise.
22784 * sysdeps/mach/hurd/Makefile: Likewise.
22785 * sysdeps/sparc/sparc32/Makefile: Likewise.
22786
b0727fd8
JS
22787 [BZ #13118]
22788 * posix/Makefile (bug-regex32-ENV): Define.
22789 Patch by John Stanley <jpsinthemix@verizon.net>.
22790
a0f33f99
UD
22791 * misc/Makefile (headers): Add bits/select2.h.
22792 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22793 * misc/bits/select2.h: New file.
22794 * include/bits/select2.h: New file.
22795 * debug/Makefile (routines): Add fdelt_chk.
22796 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22797 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22798 FD_ISSET.
22799 * debug/fdelt_chk.c: New file.
22800
762011fe
UD
22801 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22802 * wcsmbs/test-wmemcmp.c: Likewise.
22803 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22804 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22805
228062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22807
22808 * string/Makefile (strop-tests): Add memcmp.
22809 * string/test-wmemcmp.c: New file.
22810 * string/test-memcmp.c: Add wmemcmp support.
22811
7f513ec8
RM
228122011-09-08 Roland McGrath <roland@hack.frob.com>
22813
0442afb4
RM
22814 [BZ #13153]
22815 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22816 2011-07-19 change.
22817
7f513ec8
RM
22818 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22819 garbage value in a __mach_port_mod_refs call in the cases of the
22820 task-self and thread-self ports.
22821
a12b2239
ST
228222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22823
22824 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22825
610f9ab4
AS
228262011-09-08 Andreas Schwab <schwab@redhat.com>
22827
7f513ec8 22828 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22829
48882a1a
LD
228302011-09-07 Ulrich Drepper <drepper@gmail.com>
22831
b49865be
UD
22832 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22833
fdc86bc9
UD
22834 * elf/dl-libc.c (dlerror_run): Pass back error code from
22835 dl_catch_error.
22836
c966526a
UD
22837 [BZ #13123]
22838 * elf/dl-load.c (lose): Free l_origin if it is valid.
22839
48882a1a
LD
22840 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22841 names.
22842 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22843 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22844 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22845 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22846 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22847 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22848
77a2a8b4
AZ
228492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22850
22851 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22852 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22853 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22854 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22855 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22856 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22857 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22858 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22859 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22860 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22861
24f579d8
AM
228622011-08-15 Alan Modra <amodra@gmail.com>
22863
22864 [BZ #13092]
22865 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22866 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22867 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22868 ppc_mcount to static-only-routines.
22869 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22870 __mcount_internal.
22871 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22872 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22873
3d4837df
UD
228742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22875
22876 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22877 for finite and infinity parameters.
22878
22700377
WS
228792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22880
22881 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22882 and add nop instructions for throughput optimization.
22883 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22884
5025581e
WS
228852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22886
22887 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22888 aligned copy for power7 with vector-scalar instructions.
22889 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22890
08a300c9
L
228912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22894 AVX check.
22895
59178ef9
AS
228962011-09-07 Andreas Schwab <schwab@redhat.com>
22897
22898 [BZ #13144]
22899 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22900 last change.
22901
e38ba7ab
UD
229022011-09-07 Ulrich Drepper <drepper@gmail.com>
22903
22904 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22905 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22906 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22907 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22908 clock_gettime.
22909
d53a73ac
UD
229102011-09-06 Ulrich Drepper <drepper@gmail.com>
22911
fc8bffcc
UD
22912 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22913 Forgot to demangle the pointer.
22914
ceaa0c5d
UD
22915 * sysdeps/i386/sysdep.h: Define atom_text_section.
22916 * sysdeps/x86_64/sysdep.h: Likewise.
22917 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22918 section with atom_text_section.
22919 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22920 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22921 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22922 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22923 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22924
a77d3c17
UD
22925 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22926 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22927 already be defined. Change to take two parameters and don't assign
22928 result to variable. Adjust all users.
22929 Define INTERNAL_GETTIME if not already defined.
22930 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22931 call.
22932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22933 HAVE_CLOCK_GETTIME_VSYSCALL.
22934 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22935
d53a73ac
UD
22936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22937 gettimeofday vsyscall, just use time.
22938
a8f84144
AS
229392011-09-06 Andreas Schwab <schwab@redhat.com>
22940
22941 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22942 <errno.h>.
22943
ef606249
UD
229442011-09-06 Ulrich Drepper <drepper@gmail.com>
22945
22946 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22947 syscall on x86-64.
22948 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22949 syscall.
22950 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22951 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22952 syscall if possible.
22953
6585cb60
UD
229542011-09-05 Ulrich Drepper <drepper@gmail.com>
22955
22956 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22957 e_ident. Don't pass to find_mapsXX.
22958 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22959
a5f524e4
LD
229602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22961
22962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22963 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22964 * sysdeps/x86_64/multiarch/strchr.S: Update.
22965 Check bit_slow_BSF bit.
22966 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22967 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22968 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22969
554881ef
UD
229702011-09-05 Ulrich Drepper <drepper@gmail.com>
22971
d96de963
UD
22972 [BZ #13134]
22973 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22974 before glibc 2.15.
22975 (tryshell): Define.
22976 (__spawni): Change last parameter to be flag. Test
22977 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22978 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22979 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22980 * posix/spawni.c: Likewise.
22981 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22982 * posix/spawnp.c: Likewise. Change normal version to use
22983 SPAWN_XFLAGS_USE_PATH.
22984 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22985 SPAWN_XFLAGS_TRY_SHELL.
22986
d48e5868
UD
22987 [BZ #13150]
22988 * posix/glob.h: Remove gcc 1.x support.
22989
554881ef
UD
22990 [BZ #13068]
22991 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22992
693fb948
LD
229932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22994
22995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22996 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22997 strrchr-sse2-bsf
22998 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22999 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23000 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23001 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23002 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23003 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23004
1b48c537
UD
230052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23006
49d42c37
UD
23007 * sysdeps/x86_64/wcscmp.S: New file.
23008
1b48c537
UD
23009 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23010 wcscmp-c wcscmp-sse2
23011 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23012 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23013 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23014 * wcsmbs/wcscmp.c: Allow renaming.
23015
15c95c5d
DM
230162011-09-05 David S. Miller <davem@davemloft.net>
23017
23018 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23019 stack slot, rather than the struct return pointer slot.
23020 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23021 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23023 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23024
2f0ad8f3
UD
230252011-09-05 Ulrich Drepper <drepper@gmail.com>
23026
d88ae418
UD
23027 * po/ja.po: Update from translation team.
23028
2f0ad8f3
UD
23029 [BZ #13144]
23030 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23031 kernel in 64-bit binaries.
23032
5f4318d1
DM
230332011-09-01 David S. Miller <davem@davemloft.net>
23034
23035 * elf/elf.h (HWCAP_SPARC_*): Move to..
23036 * sysdeps/sparc/sysdep.h: this new file and add new values.
23037 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23038 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23039 _DL_HWCAP_COUNT to 24.
23040 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23041 entries.
23042 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23043 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23044 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23046 instead of magic constants.
23047 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23048
3ba57516
DM
230492011-08-31 David S. Miller <davem@davemloft.net>
23050
23051 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23053 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
23059 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23060 (PSEUDO): Reimplement to do errno handling inline.
23061 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23062 (SYSCALL_ERROR_HANDLER): New macro.
23063 (__SYSCALL_STRING): Do not do errno handling in asm.
23064 (__CLONE_SYSCALL_STRING): Delete.
23065 (__INTERNAL_SYSCALL_STRING): Delete.
23066 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23067 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23068 i386.
23069 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23070 (inline_syscall*): Add 'err' argument.
23071 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23072 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23073 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23074 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23075
23076 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23077 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23078
2bc17433
AS
230792011-08-30 Andreas Schwab <schwab@redhat.com>
23080
23081 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23082
fbeb5f4d
JO
230832011-08-29 Jiri Olsa <jolsa@redhat.com>
23084
23085 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23086 directive.
23087
ad69cc26
DM
230882011-08-24 David S. Miller <davem@davemloft.net>
23089
23090 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23091
39dd69df
AS
230922011-08-24 Andreas Schwab <schwab@redhat.com>
23093
23094 * elf/Makefile: Add rules to build and run unload8 test.
23095 * elf/unload8.c: New file.
23096 * elf/unload8mod1.c: New file.
23097 * elf/unload8mod1x.c: New file.
23098 * elf/unload8mod2.c: New file.
23099 * elf/unload8mod3.c: New file.
23100
23101 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23102 it wasn't used.
23103
2c0b250a
DM
231042011-08-23 David S. Miller <davem@davemloft.net>
23105
23106 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23107 subtract stack bias.
23108 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23109 %sp not %fp in calculations.
23110 (_JMPBUF_UNWINDS_ADJ): Likewise.
23111
22044b48
DM
23112 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23113 (aio_suspend): Call it to force an exception region around the
23114 AIO_MISC_WAIT() invocation.
23115
2cae4995
AS
231162011-08-23 Andreas Schwab <schwab@redhat.com>
23117
23118 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23119 backslash.
23120
873a772e
AJ
231212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23122
23123 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23124 protection macro.
23125 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23126 and <dl-machine.h>.
23127 (Elf64_FuncDesc): Remove.
23128
25ad0df1
DM
231292011-08-22 David S. Miller <davem@davemloft.net>
23130
23131 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23132 sigaltstack check, add missing cfi directives.
23133 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23134 missing cfi directives, and sigaltstack handling.
23135
e888bcbe
AS
231362011-08-16 Andreas Schwab <schwab@redhat.com>
23137
23138 [BZ #11724]
23139 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23140 object is seen twice.
23141 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23142
23143 * elf/Makefile (distribute): Add tst-initorder2.c.
23144 (tests): Add tst-initorder2.
23145 (modules-names): Add tst-initorder2a tst-initorder2b
23146 tst-initorder2c tst-initorder2d. Add rules to build them.
23147 ($(objpfx)tst-initorder2.out): New rule.
23148 * elf/tst-initorder2.c: New file.
23149 * elf/tst-initorder2.exp: New file.
23150
87162f46
AS
231512011-08-22 Andreas Schwab <schwab@redhat.com>
23152
70538b7f
AS
23153 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23154
f55ffe58
AS
23155 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23156 dependencies back to end of function.
23157
87162f46
AS
23158 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23159 $(elfobjdir)/ld.so.
23160
91b392a4
UD
231612011-08-21 Ulrich Drepper <drepper@gmail.com>
23162
23163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23164 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23166 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23167 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23168 of __vdso_gettimeofday.
23169 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23170 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23171 attribute_hidden.
23172 (_libc_vdso_platform_setup): Remove initialization of
23173 __vdso_gettimeofday and __vdso_time.
23174
5c43483f
UD
231752011-08-20 Ulrich Drepper <drepper@gmail.com>
23176
775a77e7
UD
23177 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23178 and fgetc_unlocked.
23179 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23180 getc_unlocked.
89f447ed 23181
49c74ba9
UD
23182 * elf/dl-open.c (add_to_global): Report additions to the global scope
23183 for LD_DEBUG=scopes.
23184 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23185 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23186
5c43483f
UD
23187 [BZ #13114]
23188 * stdio-common/Makefile (tests): Add bug24.
23189 * stdio-common/bug24.c: New file.
23190
a101b025
AJ
231912011-08-19 Andreas Jaeger <aj@suse.de>
23192
23193 [BZ #13114]
23194 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23195 non-existant file when using close-on-exec mode.
23196
c88f1766
UD
231972011-08-20 Ulrich Drepper <drepper@gmail.com>
23198
0276a718
UD
23199 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23200 the very first instruction.
23201
c88f1766
UD
23202 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23203 the CFI state in the end.
23204 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23205 inclusion of dl-trampoline.h.
23206 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23207
51ccffa0
AS
232082011-08-19 Andreas Schwab <schwab@redhat.com>
23209
94d7165f
AS
23210 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23211 expectations for long double.
23212
51ccffa0
AS
23213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23214 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23215
fd708658 232162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23217
23218 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23219 artificual limit depends upon the system page size.
23220
44f0a71e
UD
232212011-08-17 Ulrich Drepper <drepper@gmail.com>
23222
23223 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23224 * resolv/Makefile: Define CFLAGS-libresolv.
23225
8de79a24
AS
232262011-08-17 Andreas Schwab <schwab@redhat.com>
23227
23228 * nss/makedb.c (compute_tables): Make variables used in nested
23229 function static.
23230
27724598
UD
232312011-08-17 Ulrich Drepper <drepper@gmail.com>
23232
c5305d88
UD
23233 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23234 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23235 if buffer was too small.
23236
27724598
UD
23237 * elf/pldd.c (main): Attach to all threads in the process.
23238 Rewrite /proc handling to use *at functions.
23239
076fe015
UD
232402011-08-16 Ulrich Drepper <drepper@gmail.com>
23241
174baab3
UD
23242 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23243 specifies first scope to show.
23244 (dl_open_worker): Update callers. Move printing scope of new
23245 object to before the relocation.
44f0a71e 23246 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23247 * sysdeps/generic/ldsodefs.h: Update declaration.
23248
076fe015
UD
23249 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23250 string for the scope number.
23251
a60df2c3
UD
232522011-08-14 Ulrich Drepper <drepper@gmail.com>
23253
23254 * nscd/servicescache.c (cache_addserv): Make sure written is always
23255 initialized.
23256
5e4287d1
RM
232572011-08-14 Roland McGrath <roland@hack.frob.com>
23258
85ae0589
RM
23259 * sysdeps/i386/i486/bits/atomic.h
23260 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23261 statement expression, so as to suppress "set but not used" warning.
23262 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23263
69f63097
RM
23264 * string/strncat.c (STRNCAT): Use prototype definition.
23265
675456ef
RM
23266 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23267 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23268 -Iprograms here.
23269 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23270 (localedef-modules): Add localedef.
23271 (locale-modules): Add locale.
23272
5e4287d1
RM
23273 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23274 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23275 to avoid a warning.
23276
9c96ff23
DM
232772011-08-14 David S. Miller <davem@davemloft.net>
23278
23279 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23280 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23281
f9ddf089
UD
232822011-08-13 Ulrich Drepper <drepper@gmail.com>
23283
44f0a71e 23284 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23285 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23286 * elf/rtld.c (dl_main): Set l_name of vDSO.
23287 Call _dl_show_scope when DL_DEBUG_SCOPES.
23288 (process_dl_debug): Recognize scopes flag and also set it for all.
23289 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23290 Declare _dl_show_scope.
23291
1dc27704
UD
23292 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23293 (do_dlopen): Pass caller_dlopen to dl_open.
23294 (__libc_dlopen_mode): Initialize caller_dlopen.
23295
f9ddf089
UD
23296 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23297 of libc. Make tolower call locale-independent. Optimize a bit by
23298 using isdigit instead of isalnum.
23299 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23300
9ac533d3
UD
233012011-08-12 Ulrich Drepper <drepper@gmail.com>
23302
23303 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23304 was a dependency or dynamically loaded.
23305
89edf2e9
UD
233062011-08-11 Ulrich Drepper <drepper@gmail.com>
23307
8e999d29
UD
23308 * intl/l10nflist.c: Allow architecture-specific pop function.
23309 * sysdeps/x86_64/l10nflist.c: New file.
23310
89edf2e9
UD
23311 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23312 classification.
23313
14d96785
AS
233142011-08-10 Andreas Schwab <schwab@redhat.com>
23315
23316 * include/dirent.h: Add libc_hidden_proto for scandirat and
23317 scandirat64. Don't declare __scandirat64.
23318 * dirent/scandirat.c: Add libc_hidden_def.
23319 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23320 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23321
6761ac04
DM
233222011-08-10 David S. Miller <davem@davemloft.net>
23323
23324 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23325 enum.
23326 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23327 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23328 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23329
c55fbd1e
UD
233302011-08-09 Ulrich Drepper <drepper@gmail.com>
23331
23332 * Versions.def [libc]: Add GLIBC_2.15.
23333 * dirent/Makefile (routines): Add scandirat and scandirat64.
23334 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23335 GLIBC_2.15.
23336 * dirent/dirent.h: Declare scandirat and scandirat64.
23337 * dirent/scandirat.c: New file.
23338 * dirent/scandirat64.c: New file.
23339 * sysdeps/wordsize-64/scandirat.c: New file.
23340 * sysdeps/wordsize-64/scandirat64.c: New file.
23341 * dirent/opendir.c: Define opendirat.
23342 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23343 using scandirat.
23344 * dirent/scandir64.c: Adjust for scandir.c change.
23345 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23346 __scandirat64, and __scandir_cancel_handler.
23347 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23348 additional parameter and use openat instead of open (outside of ld.so).
23349 Add new __opendir as wrapper around __opendirat.
23350 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23351 here without requiring old scandirat implementation.
23352
879165f2
UD
233532011-08-08 Ulrich Drepper <drepper@gmail.com>
23354
23355 * dirent/scandir.c (cancel_handler): Renamed to
23356 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23357 defined. Adjust users.
23358 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23359 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23360
cb7e923b
UD
233612011-08-04 Ulrich Drepper <drepper@gmail.com>
23362
16292edd
UD
23363 * string/test-string.h (IMPL): Use __STRING to expand name and then
23364 stringify it.
23365
cb7e923b
UD
23366 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23367 of cleanups.
23368
cff82933
LD
233692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23370
23371 * string/Makefile: Update.
23372 (strop-tests): Append strncat.
23373 * string/test-wcscmp.c: New file.
23374 New comprehensive test for wcscmp.
23375 * string/test-strcmp.c: Update.
23376 (WIDE): New define.
23377
9be9bfcc
AS
233782011-07-22 Andreas Schwab <schwab@redhat.com>
23379
23380 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23381 line.
23382
2e96f1c7
AS
233832011-07-26 Andreas Schwab <schwab@redhat.com>
23384
23385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23386 encoding to ACE if AI_IDN.
23387
85188888
JJ
233882011-08-01 Jakub Jelinek <jakub@redhat.com>
23389
23390 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23391 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23392
5fa16e9b
LD
233932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23394
23395 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23396 Fix overflow bug in strncat.
23397 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23398
23399 * string/test-strncat.c: Update.
23400 Add new tests for checking overflow bugs.
23401
234022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23403
23404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23405 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23406 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23407 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23408 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23409 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23410 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23411 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23412 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23413
23414 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23415 (USE_AS_STRCAT): Define.
23416 Add strcat and strncat support.
23417 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23418
8c1a459f
AS
234192011-07-25 Andreas Schwab <schwab@redhat.com>
23420
23421 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23422 __n bigger than INT_MAX+1.
23423 (__strncmp_g): Likewise.
23424
bba33c28
UD
234252011-07-23 Ulrich Drepper <drepper@gmail.com>
23426
798be72d
UD
23427 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23428 * libio/stido.h: Likewise.
23429
8accd4dc
UD
23430 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23431 (AF_NFC): Define.
23432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23433 (AF_NFC): Define.
23434
cbff0d96
UD
23435 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23436 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23438 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23440
9191c04a
UD
23441 [BZ #13021]
23442 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23443 installed.
23444
bba33c28
UD
23445 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23446 typo.
23447 (_dl_x86_64_save_sse): Likewise.
23448
90f139dd
UD
234492011-07-22 Ulrich Drepper <drepper@gmail.com>
23450
1aae088a
UD
23451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23452 OSXSAVE.
23453 (_dl_x86_64_save_sse): Likewise.
23454
8e2045f5
UD
23455 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23456
90f139dd
UD
23457 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23458
1d002f25
AS
234592011-07-21 Andreas Schwab <schwab@redhat.com>
23460
23461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23462 change.
23463 (_dl_x86_64_save_sse): Use correct AVX check.
23464
21137f89
UD
234652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23466
23467 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23468 bug in strncpy/strncat.
23469 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23470
a65c0b7a
UD
234712011-07-21 Ulrich Drepper <drepper@gmail.com>
23472
23473 * string/tester.c (test_strcat): Add tests for different alignments
23474 of source and destination.
23475 (test_strncat): Likewise.
23476
6986b98a
UD
234772011-07-20 Ulrich Drepper <drepper@gmail.com>
23478
90bb2039
UD
23479 [BZ #12852]
23480 * posix/glob.c (glob): Check passed in values before using them in
23481 expressions to avoid some overflows.
23482 (glob_in_dir): Likewise.
23483
5644ef54
UD
23484 [BZ #13007]
23485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23486 check for AVX enablement so that we don't crash with old kernels and
23487 new hardware.
23488 * elf/tst-audit4.c: Add same checks here.
23489 * elf/tst-audit6.c: Likewise.
23490
23491 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23492
bfc9dc9b
AS
234932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23494
23495 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23496
702e64bb
UD
234972011-07-20 Ulrich Drepper <drepper@gmail.com>
23498
23499 * po/cs.po: Update from translation team.
23500 * po/bg.po: Likewise.
23501
295e904f
MP
235022011-07-12 Marek Polacek <mpolacek@redhat.com>
23503
23504 * misc/sys/cdefs.h: Add support for const attribute.
23505 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23506 to gnu_dev_{major,minor,makedev} functions.
23507
3ff94596
MP
235082011-07-20 Marek Polacek <mpolacek@redhat.com>
23509
23510 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23511
28b59fca
AS
235122011-07-20 Andreas Schwab <schwab@redhat.com>
23513
23514 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23515 strlen results.
23516
19df733e
AK
235172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23518
23519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23520 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23521 register in order to avoid conflicts with the soft frame pointer
23522 being held in r11 when necessary.
23523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23524 (INTERNAL_VSYSCALL_NCS): Likewise.
23525
c8835729
MP
235262011-07-14 Marek Polacek <mpolacek@redhat.com>
23527
23528 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23529 * elf/dl-fini.c (_dl_fini): Adjust caller.
23530 * elf/dl-close.c (_dl_close_worker): Likewise.
23531 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23532
b902330c
MP
235332011-07-15 Marek Polacek <mpolacek@redhat.com>
23534
8991e135
MP
23535 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23536 "aux_cache->nlibs < 0".
23537
b902330c
MP
23538 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23539 in the reload-count case.
23540
99710781
LD
235412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23542
23543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23544 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23545 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23546 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23547 * sysdeps/x86_64/multiarch/strcat.S: New file.
23548 * sysdeps/x86_64/multiarch/strncat.S: New file.
23549 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23550 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23551 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23552 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23553 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23554 (USE_AS_STRCAT): Define.
23555 Add strcat and strncat support.
23556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23557 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23558 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23559 * string/strncat.c: Update.
23560 (USE_AS_STRNCAT): Define.
23561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23562 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23563 and i7.
23564 * sysdeps/x86_64/multiarch/init-arch.h
23565 (bit_Prefer_PMINUB_for_stringop): New.
23566 (index_Prefer_PMINUB_for_stringop): Likewise.
23567 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23568 bit_Prefer_PMINUB_for_stringop.
23569
7dc6bd90
UD
235702011-07-19 Ulrich Drepper <drepper@gmail.com>
23571
23572 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23573 buffer64.
23574 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23575 of casting of buffer.
23576 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23577 buffer32 and buffer64.
23578 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23579 writes instead of casting of buffer.
23580 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23581 buffer32.
23582 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23583 casting of buffer.
23584
e0e72284
AS
235852011-07-19 Andreas Schwab <schwab@redhat.com>
23586
23587 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23588
feb1eb0b
UD
235892011-07-19 Ulrich Drepper <drepper@gmail.com>
23590
23591 * nscd/nscd.c (termination_handler): Don't do anything for a database
23592 if it has not yet been initialized.
23593
298711ff
UD
235942011-07-18 Ulrich Drepper <drepper@gmail.com>
23595
23596 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23597
235982011-07-15 Marek Polacek <mpolacek@redhat.com>
23599
23600 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23601
f9d68389
UD
236022011-07-18 Ulrich Drepper <drepper@gmail.com>
23603
23604 * po/nl.po: Update from translation team.
23605 * po/sv.po: Likewise.
23606
db290cf5
RM
236072011-07-16 Roland McGrath <roland@hack.frob.com>
23608
23609 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23610 now disallowed by GCC.
5c550700 23611
fd5e21c7
RM
23612 * configure.in (use-default-link): Default to yes if a test -shared
23613 link meets our qualifications.
23614 * configure: Regenerated.
23615
5c550700
RM
23616 * config.make.in (output-format): New variable.
23617 * configure.in: Check for ld --print-output-format support.
23618 * configure: Regenerated.
23619 * Makerules ($(common-objpfx)format.lds)
23620 [$(output-format) != unknown]: Just use $(output-format),
23621 instead of the linker-script munging.
23622
9fa2c032
RM
236232011-07-14 Roland McGrath <roland@hack.frob.com>
23624
a6928d51
RM
23625 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23626 of $(common-objpfx)shlib.lds.
23627 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23628
661607b3
RM
23629 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23630 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23631
9fa2c032
RM
23632 * configure.in (-z relro check): Adjust test code to add a large
23633 writable data section after it.
23634 * configure: Regenerated.
23635
defe9061
RM
236362011-07-11 Roland McGrath <roland@hack.frob.com>
23637
23638 * configure.in (-z relro check): Fix test code to make the variable
23639 truly const.
23640 * configure: Regenerated.
23641
319b9ad4
UD
236422011-07-11 Ulrich Drepper <drepper@gmail.com>
23643
23644 * nscd/nscd.h (struct traced_file): Define.
23645 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23646 elements. Add traced_files.
23647 (inotify_fd): Declare.
23648 (register_traced_file): Declare.
23649 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23650 (inotify_fd): Export.
23651 (resolv_conf_descr): Remove.
23652 (nscd_init): Move inotify descriptor creation to main.
23653 Don't register files for notification here.
23654 (register_traced_file): New function.
23655 (invalidate_cache): Don't use reset_res to determine whether to call
23656 res_init, go through the list of registered files.
23657 (main_loop_poll): The inotify descriptors are now stored in the
23658 structures for the traced files.
23659 (main_loop_epoll): Likewise
23660 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23661 to __nss_disable_nscd.
23662 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23663 for a database anymore. Check the records for all the registered
23664 files instead.
23665 * nss/Makefile (libnss_files-routines): Add files-init.
23666 (libnss_db-routines): Add db-init.
23667 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23668 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23669 * nss/nss_db/db-init.c: New file.
23670 * nss/nss_files/files-init.c: New file.
23671 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23672 __nss_lookup_function.
23673 (__nss_lookup_function): Call nss_load_library.
23674 (nss_load_all_libraries): New function.
23675 (__nss_disable_nscd): Take parameter with callback function for files
23676 to register. Set is_nscd. Load all the DSOs for the NSS modules
23677 used for the cached services.
23678 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23679 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23680 options for features to all the files in nscd.
23681
23682 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23683
23bee3e8
RM
236842011-07-10 Roland McGrath <roland@hack.frob.com>
23685
23686 * csu/elf-init.c (__libc_csu_init): Comment typo.
23687
46a5b7f0
UD
236882011-07-09 Ulrich Drepper <drepper@gmail.com>
23689
23690 * po/pl.po: Update from translation team.
23691 * po/ja.po: Likewise.
23692 * po/ru.po: Likewise.
23693 * po/ko.po: Likewise.
23694 * po/fr.po: Likewise.
23695
d30cf5bb
RM
236962011-07-09 Roland McGrath <roland@hack.frob.com>
23697
113ddea4
RM
23698 * configure.in (.ctors/.dtors header and trailer check):
23699 Use an empirical test on a built program.
23700 * configure: Regenerated.
23701
574920b4
RM
23702 * configure.in (-z relro check): Use an empirical test on a built DSO.
23703 Detect, but do not require, on ia64.
23704 * configure: Regenerated.
23705
d30cf5bb
RM
23706 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23707 Update tests that use readelf to use $READELF instead.
23708 * configure: Regenerated.
23709
8538fdb3
UD
237102011-07-08 Ulrich Drepper <drepper@gmail.com>
23711
23712 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23713 if the result is not used.
23714
04d08991
AJ
237152011-07-05 Andreas Jaeger <aj@suse.de>
23716
23717 [BZ#9696]
23718 * stdlib/tst-strtod.c: Add testcase.
23719
de283087
AD
237202011-07-07 Ulrich Drepper <drepper@gmail.com>
23721
4e5f31c8 23722 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 23723 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
23724 The latter has a higher limit. Take additional parameter to pass to
23725 the new function.
23726 (__pathconf): Pass file to __statfs_link_max.
23727 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23728 __statfs_link_max.
23729 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23730 __statfs_link_max.
23731
de283087
AD
23732 [BZ #12868]
23733 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23734 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23735 Handle Lustre.
23736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23737 (__statfs_filesize_max): Likewise.
23738 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23739
c75fa153
AJ
237402011-07-05 Andreas Jaeger <aj@suse.de>
23741
23742 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23743
1a544854
UD
237442011-07-06 Marek Polacek <mpolacek@redhat.com>
23745
23746 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23747 `status' variable.
23748 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23749 Likewise.
23750
6f0eec67
UD
237512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23752
23753 * Makefile (strop-tests): Add strncat.
23754 * string/test-strncat.c: New file.
23755
aae30307
UD
237562011-06-30 Marek Polacek <mpolacek@redhat.com>
23757
23758 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23759
c0cfb5eb
UD
237602011-06-21 Andreas Jaeger <aj@suse.de>
23761
23762 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23763 Copy rule from iconvdata/Makefile.
23764
01636b21
UD
237652011-07-06 Ulrich Drepper <drepper@gmail.com>
23766
23767 [BZ #12922]
23768 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23769 but no long options are defined, just return 'W'.
23770
9895c8bc
UD
237712011-06-22 Marek Polacek <mpolacek@redhat.com>
23772
23773 [BZ #9696]
23774 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23775
5d4cf042
UD
237762011-07-06 Ulrich Drepper <drepper@gmail.com>
23777
23778 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23779 netgroups to read.
960e5535 23780 (innetgr): Likewise.
5d4cf042 23781
751eb97e
RM
237822011-07-05 Roland McGrath <roland@hack.frob.com>
23783
23784 * config.make.in (install_root): Default to $(DESTDIR).
23785
f15f1e45
UD
237862011-07-05 Ulrich Drepper <drepper@gmail.com>
23787
23788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23789
4e34ac6a
RM
237902011-07-02 Roland McGrath <roland@hack.frob.com>
23791
5e9b6af4
RM
23792 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23793
84f9ea0f
RM
23794 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23795 containing directory rather than embedding absolute directory names.
23796
ea5ee9f7
RM
23797 * scripts/check-local-headers.sh: Rewritten using awk.
23798 Match by word, not by line. Print error messages for matches.
23799 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23800
1b74661a
RM
23801 * Makerules [shlib-lds-flags empty]:
23802 ($(common-objpfx)libc_pic.opts): New target.
23803 ($(common-objpfx)libc_pic.os.clean): New target.
23804 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23805
23806 * config.make.in (OBJCOPY): New variable.
23807 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23808 * configure: Regenerated.
23809
f781ef40
RM
23810 * config.make.in (use-default-link): New variable.
23811 * configure.in (use_default_link): Grok --with-default-link to set it.
23812 * configure: Regenerated.
23813 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23814 (shlib-lds, shlib-lds-flags): Define to empty.
23815
2d4fa81e
RM
23816 * Makerules (shlib-lds): New variable.
23817 (shlib-lds-flags): New variable.
23818 (build-shlib, build-moduile, build-module-asneeded): Use it.
23819 ($(common-objpfx)libc.so): Use $(shlib-lds).
23820 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23821 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23822
31fffa6b
RM
23823 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23824 DT_FLAGS/DT_FLAGS_1 with zero flags.
23825
4e34ac6a
RM
23826 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23827 linker script munging.
23828
fcfc776b
UD
238292011-07-02 Ulrich Drepper <drepper@gmail.com>
23830
23831 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23832 as 128-bit value.
23833 * crypt/sha512.c (sha512_process_block): Perform total addition using
23834 128-bit if possible.
23835 (__sha512_finish_ctx): Likewise.
23836 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23837 as 64-bit value.
23838 * crypt/sha256.c (SWAP64): Define.
23839 (sha256_process_block): Perform total addition using 64-bit if
23840 possible.
23841 (__sha256_finish_ctx): Likewise.
23842
99231d9a
UD
238432011-07-01 Ulrich Drepper <drepper@gmail.com>
23844
23845 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23847 * nscd/hstcache.c (cache_addhst): Likewise.
23848 * nscd/grpcache.c (cache_addgr): Likewise.
23849 * nscd/aicache.c (addhstaiX): Likewise
23850 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23851
445b4a53
TK
238522011-07-01 Thorsten Kukuk <kukuk@suse.de>
23853
23854 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23856 * nscd/hstcache.c (cache_addhst): Likewise.
23857 * nscd/grpcache.c (cache_addgr): Likewise.
23858 * nscd/aicache.c (addhstaiX): Likewise
23859
6d4d8e8e
AS
238602011-07-01 Andreas Schwab <schwab@redhat.com>
23861
23862 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23863 domain only when needed.
23864
89f654c5
AS
238652011-06-30 Andreas Schwab <schwab@redhat.com>
23866
23867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23868 is always restored.
23869
cf3b23ff
UD
238702011-06-29 Ulrich Drepper <drepper@gmail.com>
23871
23872 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23873 are re-adding the entry.
23874 * nscd/servicescache.c (cache_addserv): Likewise.
23875
751626f9
AJ
238762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23877
23878 * sysdeps/generic/dl-irel.h: fix protection against multiple
23879 inclusions.
23880 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23881
9113ea1f
UD
238822011-06-28 Ulrich Drepper <drepper@gmail.com>
23883
5c0b8d90
UD
23884 [BZ #12935]
23885 * malloc/memusage.sh: Fix quoting in message.
23886 * debug/xtrace.sh: Likewise.
23887
9113ea1f
UD
23888 * configure.in: Remove support for --experimental-malloc option, make
23889 it the default.
23890 * config.make.in: Likewise.
23891 * malloc/Makefile: Likewise.
23892
a4172181
AS
238932011-06-27 Andreas Schwab <schwab@redhat.com>
23894
23895 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23896 two-byte characters.
23897
78a7eee7
RM
238982011-06-27 Roland McGrath <roland@hack.frob.com>
23899
62bede13
RM
23900 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23901 AC_CACHE_CHECK invocation.
23902 * configure: Regenerated.
23903
78a7eee7
RM
23904 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23905
5ce33a62
UD
239062011-06-27 Ulrich Drepper <drepper@gmail.com>
23907
034807a9
UD
23908 [BZ #12350]
23909 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23910 bit from old_res_options.
23911
4902da17
UD
23912 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23913
5ce33a62
UD
23914 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23915 value type for setfct.
23916
c2344f56
L
239172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23918
23919 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23920 __gettimeofday instead of gettimeofday.
23921
68468076
UD
239222011-06-26 Ulrich Drepper <drepper@gmail.com>
23923
23924 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23925
acb0d739
L
239262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23927
23928 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23929
23930 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23931 info.
23932
8912479f
L
239332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23934
23935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23936 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23937 strcpy-sse2-unaligned strncpy-sse2-unaligned
23938 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23939 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23940 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23941 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23942 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23943 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23944 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23945 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23946 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23947 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23948 (STRCPY): Support SSE2 and SSSE3 versions.
23949
d5495a11
UD
239502011-06-24 Ulrich Drepper <drepper@gmail.com>
23951
23952 [BZ #12874]
23953 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23954 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23955 kernels which artificially limit size of requests.
23956
0b1cbaae
L
239572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23958
23959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23960 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23961 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23962 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23963 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23964 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23965 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23966 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23969 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23970 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23971 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23972 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23973 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23975 Enable unaligned load optimization for Intel Core i3, i5 and i7
23976 processors.
23977 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23978 Define.
23979 (index_Fast_Unaligned_Load): Define.
23980 (HAS_FAST_UNALIGNED_LOAD): Define.
23981
07f494a0
MP
239822011-06-23 Marek Polacek <mpolacek@redhat.com>
23983
23984 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23985
fa3fc0fe
UD
239862011-06-22 Ulrich Drepper <drepper@gmail.com>
23987
23988 [BZ #12907]
23989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23990 until it is clear that the information is realy needed.
23991 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23992
e12df166
AS
239932011-06-22 Andreas Schwab <schwab@redhat.com>
23994
23995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23996
852eb34d
UD
239972011-06-22 Ulrich Drepper <drepper@gmail.com>
23998
84e2a551
UD
23999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24000 /sys/devices/system/cpu/online if it is usable.
24001
852eb34d
UD
24002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24003 reading the information from the /proc filesystem to once a second.
24004
6e502e19
UD
240052011-06-21 Andreas Jaeger <aj@suse.de>
24006
24007 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24008 NULL after inclusion of kernel headers.
24009
75d39ff2
UD
240102011-06-21 Ulrich Drepper <drepper@gmail.com>
24011
51f9aa6a
UD
24012 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24013 calls to internal_setent.
24014
c0244a9d
UD
24015 [BZ #12885]
24016 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24017 addresses using gethostbyname4_r ignore IPv4 addresses.
24018
c5e3c2ae
UD
24019 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24020 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24021
75d39ff2
UD
24022 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24023
42675c6f
DM
240242011-06-20 David S. Miller <davem@davemloft.net>
24025
24026 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24027 inclusions.
24028 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24029
24030 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24031 (elf_irel): Use it.
24032 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24033 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24034 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24035 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24036 * sysdeps/x86_64/dl-irel.h: Likewise.
24037
24038 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24039 * elf/dl-sym.c: Likewise.
24040
57912a71
UD
240412011-06-15 Ulrich Drepper <drepper@gmail.com>
24042
24043 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24044 need to dereference resplen2.
24045
ee22793d
AS
240462011-06-14 Andreas Schwab <schwab@redhat.com>
24047
24048 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24049
a9e836b0
UD
240502011-06-15 Ulrich Drepper <drepper@gmail.com>
24051
77fb9117
UD
24052 * Makeconfig: Define vardbdir and inst_vardbdir.
24053 * nss/Makefile: Add rules to install db-Makefile.
24054
40c1b22c
UD
24055 * nss/nss_db/db-XXX.c: Cleanup.
24056
9f2da732
UD
24057 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24058 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24059 GLIBC_PRIVATE.
24060 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24061 * nss/makedb.c: Implement -g option to specify that value strings
24062 are generated and should not be added to table iterated over for
24063 get*ent calls.
24064 * nss/nss_db/db-initgroups.c: New file.
24065
82e9a1f7
UD
24066 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24067 interface.
24068
c41af17e
UD
24069 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24070 (internal_getgrouplist): Adjust to name change.
24071 Update use_initgroups_entry if this is not the first call.
24072 * nss/databases.def: Add initgroups entry.
24073
a9e836b0
UD
24074 * nss/makedb.c (compute_tables): Check result of multiple hash table
24075 sizes to minimize maximum chain length.
24076
2666d441
UD
240772011-06-14 Ulrich Drepper <drepper@gmail.com>
24078
24079 * Versions.def: Add entry for libnss_db.
24080 * shlib-versions: Likewise.
24081 * nss/Makefile: Add rules to build libnss_db.
24082 * nss/Versions: Add libnss_db information. Organize libnss_files
24083 entries better.
24084 * nss/db-Makefile: Add gshadow support. Change rules for the new
24085 makedb progra. Some minor improvements to generate smaller files.
24086 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24087 here from...
24088 * nss/makedb.c: ...here.
24089 Improve database format to be smaller and require less memory at
24090 runtime.
24091 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24092 db anymore.
24093 * nss/nss_db/db-netgrp.c: Likewise.
24094 * nss/nss_db/db-open.c: Likewise.
24095 * nss/nss_files/flies-XXX.x: Adjust comments.
24096 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24097 * nss/nss_files/files-grp.c: Likewise.
24098 * nss/nss_files/files-hosts.c: Likewise.
24099 * nss/nss_files/files-network.c: Likewise.
24100 * nss/nss_files/files-proto.c: Likewise.
24101 * nss/nss_files/files-pwd.c: Likewise.
24102 * nss/nss_files/files-rpc.c: Likewise.
24103 * nss/nss_files/files-service.c: Likewise.
24104 * nss/nss_files/files-sgrp.c: Likewise.
24105 * nss/nss_files/files-spwd.c: Likewise.
24106 * nss/nss_db/db-alias.c: Removed.
24107 * nss/nss_db/dummy-db.h: Removed.
24108
9ee76b5a
UD
241092011-06-02 Ulrich Drepper <drepper@gmail.com>
24110
24111 * nss/makedb.c: Rewritten to not use database library.
24112 * nss/Makefile: Update to build new makedb program.
24113
c71ca1f8
AJ
241142011-06-14 Andreas Jaeger <aj@suse.de>
24115
24116 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24117 memset declaration.
24118
3154bfb8
UD
241192011-06-10 Andreas Schwab <schwab@redhat.com>
24120
24121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24122 tmpbuf.
24123
b350afab
RM
241242011-06-10 Roland McGrath <roland@hack.frob.com>
24125
decd4e50
RM
24126 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24127 * elf/Makefile ($(objpfx)ld.so): Likewise.
24128
5615eaf2
RM
24129 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24130 Don't list ld.so twice in dependencies.
24131
24132 * posix/bug-regex31.c: Include <stdlib.h>.
24133
24134 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24135
24136 * nis/nss_compat/compat-spwd.c
24137 (getspent_next_nss_netgr): Remove unused variable.
24138 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24139
24140 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24141 nonmembers" output to use the right array.
24142
24143 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24144
24145 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24146
24147 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24148 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24149 * catgets/gencat.c (read_input_file): Likewise.
24150 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24151
24152 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24153 variable definition inside #if's controlling its use.
24154
24155 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24156
24157 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24158
24159 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24160
24161 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24162 unreachable code.
24163
24164 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24165
b68e08db
RM
24166 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24167 * configure: Regenerated.
24168
b350afab
RM
24169 * Makerules: Revert last change.
24170 * elf/Makefile: Likewise.
24171
28368601
RM
241722011-06-09 Roland McGrath <roland@hack.frob.com>
24173
24174 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24175 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24176 (reloc-link): Likewise.
24177
11988f8f
UD
241782011-06-09 Ulrich Drepper <drepper@gmail.com>
24179
24180 * elf/Makefile: Add rules to build pldd.
24181 * elf/pldd.c: New file.
24182 * elf/pldd-xx.c: New file.
24183
e80fab37
UD
241842011-06-07 Ulrich Drepper <drepper@gmail.com>
24185
24186 * version.h: Update for 2.15 development version.
24187
9b849836
DM
241882011-06-07 David S. Miller <davem@davemloft.net>
24189
24190 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24191 ifuncs.
24192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24193 elf_machine_lazy_rel): Likewise.
24194 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24196 elf_machine_lazy_rel): Likewise.
24197 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24198 dl_hwcap via passed in argument.
24199 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24200 Likewise.
24201
5a31b283
AK
242022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24203
24204 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24205
069e52f8
RM
242062011-06-06 Roland McGrath <roland@hack.frob.com>
24207
24208 [BZ #12849]
24209 * manual/fdl-1.1.texi: New file, verbatim from:
24210 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24211 * manual/lgpl-2.1.texi: New file, verbatim from:
24212 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24213 * manual/Makefile (licenses): New variable, list those new file names.
24214 (texis): Use it.
24215 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24216
24217 * manual/fdl.texi: File removed.
24218 * manual/lesser.texi: File removed.
24219 * manual/libc.texinfo (Copying, Documentation License):
24220 Use new @include file names, put @appendix directive before @include.
24221
f16846a5
JJ
242222011-06-04 Jakub Jelinek <jakub@redhat.com>
24223
24224 [BZ #12841]
24225 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24226 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24227 (mq_open): Add __NTH.
24228
3d29045b
L
242292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24230
24231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24232 Assume Intel Core i3/i5/i7 processor if AVX is available.
24233
8c297311
UD
242342011-05-31 Ulrich Drepper <drepper@gmail.com>
24235
24236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24237 typo.
24238
c8fc0c91
UD
242392011-05-31 Andreas Schwab <schwab@redhat.com>
24240
24241 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24242 memory. Use alloca_account. Fix memory leak when retrying.
24243
5b27a807
UD
242442011-05-31 Ulrich Drepper <drepper@gmail.com>
24245
356f8bc6
UD
24246 * version.h (RELEASE): Bump for 2.14 release.
24247 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24248
5b27a807
UD
24249 * config.make.in (RANLIB): Remove entry.
24250
01f16ab0
UD
242512011-05-30 Ulrich Drepper <drepper@gmail.com>
24252
41fce8bd
UD
24253 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24254 (libc.pot): Work around missing support for .ksh extension in xgettext.
24255
4769ae77
UD
24256 [BZ #12684]
24257 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24258 if both request failed.
24259 (send_dg): In case of server errors clear resplen or *resplen2.
24260
6b1e7d19
UD
24261 [BZ #12454]
24262 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24263 when there are multiple maps.
24264 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24265 (_dl_fini): Remove test here.
24266
01f16ab0
UD
24267 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24268
b1ebd700
UD
242692011-05-29 Ulrich Drepper <drepper@gmail.com>
24270
7ae22829
UD
24271 [BZ #12350]
24272 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24273 bit from old_res_options.
24274 (gaih_inet): Likewise.
24275
553149f6 24276 [BZ #11099]
18a84741 24277 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24278 as signed.
24279
652ffab1
UD
24280 * resolv/res_init.c (res_setoptions): Make the code more compact.
24281
16985fd0
UD
24282 [BZ #11558]
24283 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24284 set RES_USEVC.
24285
0464f746
UD
24286 [BZ #11634]
24287 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24288
7d17596c
UD
24289 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24290
cf6bbbd7
UD
24291 [BZ #11781]
24292 * malloc/malloc.h: Declare malloc hook variables as volatile.
24293
13f1ab36
UD
24294 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24295 in last patch.
24296
b1ebd700
UD
24297 [BZ #11799]
24298 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24299 raise in the comment.
80e2212d
UD
24300 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24301 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24302 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24303
ce67228d
UD
243042011-05-28 Ulrich Drepper <drepper@gmail.com>
24305
8887a920
UD
24306 [BZ #12811]
24307 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24308 grow the buffers more if it already has to be sufficient.
24309 (build_wcs_upper_buffer): Likewise.
24310 * posix/regexec.c (check_matching): Likewise.
24311 (clean_state_log_if_needed): Likewise.
24312 (extend_buffers): Don't enlarge buffers beyond size of the input
24313 buffer.
24314 Patches mostly by Emil Wojak <emil@wojak.eu>.
24315 * posix/bug-regex32.c: New file.
24316 * posix/Makefile (tests): Add bug-regex32.
24317
4f031072
UD
24318 * locale/findlocale.c (_nl_find_locale): Return right away if
24319 _nl_explode_name failed.
24320 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24321
d0478f0c
UD
24322 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24323
de81b246
UD
24324 * debug/xtrace.sh: Unify messages.
24325 * malloc/memusage.sh: Likewise.
24326
c738465a
UD
24327 [BZ #12813]
24328 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24329 time symbol from vDSO. Substitute with vsyscall if not available.
24330 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24331 __vdso_time.
24332
f1f929d7
UD
24333 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24334 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24335 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24336 Add sendmmsg and internal_sendmmsg.
24337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24338 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24339 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24340
ce67228d
UD
24341 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24342 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24343 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24344
e57420c6
UD
243452011-05-27 Ulrich Drepper <drepper@gmail.com>
24346
a8509ca5
UD
24347 [BZ #12813]
24348 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24349 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24350 available.
24351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24352 __vdso_getcpu.
24353
e57420c6
UD
24354 [BZ #12814]
24355 * iconvdata/Makefile (tests): Add bug-iconv9.
24356 * iconvdata/bug-iconv9.c: New file.
24357
4d07db15
AS
243582011-05-27 Andreas Schwab <schwab@redhat.com>
24359
24360 [BZ #12814]
24361 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24362
ea486f69
JJ
243632011-05-25 Jakub Jelinek <jakub@redhat.com>
24364
24365 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24366 (struct user_regs_struct): Change intcs field back to cs.
24367
6f038433
UD
243682011-05-25 Ulrich Drepper <drepper@gmail.com>
24369
24370 * po/ja.po: Update from translation team.
24371
67f86a25
UD
243722011-05-23 Ulrich Drepper <drepper@gmail.com>
24373
24374 [BZ #12795]
24375 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24376 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24377
def7fbd6
AS
243782011-05-20 Andreas Schwab <schwab@redhat.com>
24379
24380 * stdlib/longlong.h: Update from GCC.
24381
f50ef8f1
AS
243822011-05-23 Andreas Schwab <schwab@redhat.com>
24383
24384 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24385 parameter name.
24386 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24387 Add parameter name.
24388 (__sysconf): Pass it down.
24389
de7ce8f1
UD
243902011-05-22 Ulrich Drepper <drepper@gmail.com>
24391
f2962a71
UD
24392 [BZ #12671]
24393 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24394 some situations.
24395 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24396 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24397 add in in __libc_use_alloca calls. Adjust callers.
24398 (glob): Use malloc in some situations.
24399
de7ce8f1
UD
24400 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24401 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24402 pltexit.
24403
aec84f53
UD
244042011-05-21 Ulrich Drepper <drepper@gmail.com>
24405
05bb4a68
UD
24406 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24407 and CLOCK_BOOTTIME_ALARM.
24408
7ea72f99
UD
24409 [BZ #12782]
24410 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24411 is returned.
24412
7e4afad5
UD
24413 * string/_strerror.c (__strerror_r): Print negative errors as signed
24414 numbers.
24415
8e211fec
UD
24416 [BZ #12777]
24417 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24418 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24419 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24420
f7d82dc9
UD
24421 * configure.in: Fix typo in redirection and correct removal of test
24422 files in two cases.
24423
cc9e536d
UD
24424 [BZ #12788]
24425 * locale/setlocale.c (new_composite_name): Fix test to check for
24426 identical name of all categories.
24427
aec84f53
UD
24428 [BZ #12792]
24429 * libio/filedoalloc.c (local_isatty): New function.
24430 (_IO_file_doallocate): Use local_isatty.
24431 * stdio-common/perror.c (perror): In case a new stream is used
24432 forward the stream error.
24433 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24434 error flag.
24435
78e64fdc
RT
244362011-05-20 Ulrich Drepper <drepper@gmail.com>
24437
34a9094f
UD
24438 [BZ #11869]
24439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24440 alloca.
24441 * include/alloca.h (extend_alloca_account): Define.
24442
78e64fdc
RT
24443 [BZ #11857]
24444 * posix/regex.h: Fix comments with documentation of user-accessible
24445 fields after compilation and describe correct free'ing of pattern
24446 after re_compile_pattern.
24447 Patch by Reuben Thomas <rrt@sc3d.org>.
24448
457bddfc
RA
244492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24450
24451 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24452 and -mno-altivec to prevent the compiler from using Altivec and/or
24453 VSX instructions when the corresponding registers are not available.
24454
a4527b51
AS
244552011-05-19 Andreas Schwab <schwab@redhat.com>
24456
24457 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24458
ed690b2f
UD
244592011-05-19 Ulrich Drepper <drepper@gmail.com>
24460
24461 * libio/freopen.c (freopen): Use __dup2, not dup2.
24462 * libio/freopen64.c (freopen64): Likewise.
24463
8db73634
L
244642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24465
24466 [BZ #12775]
24467 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24468 * math/Makefile (tests): Add test-powl.
24469 (CFLAGS-test-powl.c): Define.
24470 * math/test-powl.c: New file.
24471
0a197a9d
L
244722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24473
24474 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24475
ee30c380
UD
244762011-05-17 Ulrich Drepper <drepper@gmail.com>
24477
24478 [BZ #11837]
24479 * iconvdata/gb18030.c: Update to GB18020-2005.
24480
6ce75379
UD
244812011-05-16 Ulrich Drepper <drepper@gmail.com>
24482
a4b89fd8
AR
24483 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24484 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24485 Patch by Aharon Robbins <arnold@skeeve.com>.
24486
ea389b12
UD
24487 [BZ #11892]
24488 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24489 on the stack.
24490
68a3f91f
UD
24491 [BZ #11895]
24492 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24493 through underflows.
24494
15cc7dd1
UD
24495 [BZ #12766]
24496 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24497 point to strings before performing equality test for error_one_per_line
24498 mode.
24499
f3799213
UD
24500 [BZ #11697]
24501 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24502
d79a9c94
UD
24503 [BZ #11820]
24504 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24505 (struct user_fpregs_struct): Avoid __uint*_t types.
24506
56e5eb46
UD
24507 [BZ #6420]
24508 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24509 symbol info. Use it instead of calling _dl_addr locally.
24510 (lock_and_info): New function.
24511 (tr_freehook): Call lock_and_info and pass symbol info as additional
24512 parameter to tr_where.
24513 (tr_mallochook): Likewise.
24514 (tr_reallochook): Likewise.
24515 (tr_memalignhook): Likewise.
24516
6ce75379
UD
24517 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24518 used and couldn't be at all thread-safe.
24519
f8a3b5bf
UD
245202011-05-15 Ulrich Drepper <drepper@gmail.com>
24521
94b7cc37
UD
24522 * libio/freopen.c (freopen): Don't close old file descriptor
24523 before the new one is opened. Instead dup the new file descriptor
24524 to the old one after the new stream is created.
24525 * libio/freopen64.c (freopen64): Likewise.
24526 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24527 * libio/fileops.c (_IO_new_file_close_it): Handle new
24528 _IO_FLAGS2_NOCLOSE flag.
24529 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24530 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24531 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24532 _IO_FLAGS2_NOCLOSE flag.
24533 * include/unistd.h: Add hidden_proto for dup3.
24534 Define __have_dup3.
24535 * io/dup3.c: Define hidden symbol.
24536 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24537
bd25564e
UD
24538 [BZ #7101]
24539 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24540 when an incomplete long option is used.
24541 * posix/tst-getopt_long1.c: New file.
24542 * posix/Makefile (tests): Add tst-getopt_long1.
24543
c84cfef4
UD
24544 [BZ #10138]
24545 * scripts/config.guess: Update from autoconf-2.68.
24546 * scripts/config.sub: Likewise.
24547
3b85df27
UD
24548 [BZ #10157]
24549 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24550 tests into ...
24551 (has_cpuclock): ...this. New function.
24552 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24553 macro here based on has_cpuclock code.
24554
15a856b1
UD
24555 [BZ #10149]
24556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24557 First byte (not low byte) is now always NUL.
24558 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24559
05f399e6
UD
24560 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24561 Use non-cancelable interfaces.
24562
10a52685 24563 [BZ #9809]
94ecc67d
UD
24564 * locale/iso-639.def: Add entry for Sorani.
24565
f8a3b5bf
UD
24566 [BZ #11901]
24567 * include/stdlib.h: Move include protection to the right place.
24568 Define abort_msg_s. Declare __abort_msg with it.
24569 * stdlib/abort.c (__abort_msg): Adjust type.
24570 * assert/assert.c (__assert_fail_base): New function. Majority
24571 of code from __assert_fail. Allocate memory for __abort_msg with
24572 mmap.
24573 (__assert_fail): Now call __assert_fail_base.
24574 * assert/assert-perr.c: Remove bulk of implementation. Use
24575 __assert_fail_base.
24576 * include/assert.hL Declare __assert_fail_base.
24577 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24578 mmap.
24579 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24580
1af4e298
UD
245812011-05-14 Ulrich Drepper <drepper@gmail.com>
24582
f8a3b5bf 24583 [BZ #11952]
d26dfc60
MG
24584 [BZ #12453]
24585 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24586 until all modules are registered in the DTV.
24587 * elf/Makefile: Add rules to build and run tst-tls19.
24588 * elf/tst-tls19.c: New file.
24589 * elf/tst-tls19mod1.c: New file.
24590 * elf/tst-tls19mod2.c: New file.
24591 * elf/tst-tls19mod3.c: New file.
24592 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24593
2fc54d6f
UD
24594 [BZ #12083]
24595 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24596 correctly.
24597
98d76b46
UD
24598 [BZ #12601]
24599 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24600 two-byte sequence errors.
24601 * iconvdata/Makefile (tests): Add bug-iconv8.
24602 * iconvdata/bug-iconv8.c: New file.
24603
da3c19ef
UD
24604 [BZ #12626]
24605 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24606 buf2 definition.
24607
ca408c15
UD
24608 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24609
d6f67f7d
UD
24610 [BZ #12432]
24611 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24612 (dummy_getcfa): New function.
24613 (init): Get _Unwind_GetCFA address, use dummy if not found.
24614 (backtrace_helper): In recursion check, also check whether CFA changes.
24615 (__backtrace): Completely initialize arg.
24616
1af4e298 24617 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24618 storing incomplete byte sequence in state object. Avoid testing for
24619 guaranteed too small input if we know there is enough data available.
1af4e298 24620
da62f81b
AS
246212011-05-11 Andreas Schwab <schwab@redhat.com>
24622
24623 * Makeconfig (+link-pie): Indent.
24624 * Rules (binaries-pie): Define if $(have-fpie) and
24625 $(build-shared).
24626 (binaries-shared): Also filter out $(binaries-pie).
24627 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24628 * nscd/Makefile (others-pie): Add nscd.
24629 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24630 ($(objpfx)nscd): Remove command override.
24631 * login/Makefile (others-pie): Add pt_chown.
24632 ($(objpfx)pt_chown): Remove command override.
24633 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24634 remove command overrides.
24635
fcabc0f8
UD
246362011-05-13 Ulrich Drepper <drepper@gmail.com>
24637
20030ae6
UD
24638 * libio/tst_putwc.c: Fix error messages.
24639
fcabc0f8
UD
24640 [BZ #12724]
24641 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24642 currently writing and seek to current position when not.
24643 * libio/Makefile (tests): Add bug-fclose1.
24644 * libio/bug-fclose1.c: New file.
24645
320a5dc0
PB
246462011-05-12 Ulrich Drepper <drepper@gmail.com>
24647
24648 [BZ #12511]
24649 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24650 don't set DF_1_NODELETE here.
24651 (do_lookup_x): When entering new entry test for copy relocation
24652 and if necessary set DF_1_NODELETE flag.
24653 * elf/tst-unique4.cc: New file.
24654 * elf/tst-unique4.h: New file.
24655 * elf/tst-unique4lib.cc: New file.
24656 * elf/Makefile: Add rules to build and run tst-unique4.
24657 Patch by Piotr Bury <pbury@goahead.com>.
24658
22836f52
UD
246592011-05-11 Ulrich Drepper <drepper@gmail.com>
24660
f574184a
UD
24661 [BZ #12052]
24662 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24663
e1fb097f
UD
24664 [BZ #12625]
24665 * misc/mntent_r.c (addmntent): Flush the stream after the output
24666
22836f52
UD
24667 [BZ #12393]
24668 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24669 (is_trusted_path_normalize): Skip initial colon. Append slash
24670 to empty buffer. Duplicate is_trusted_path code but allow
24671 constructed patch to be prefix.
24672 (is_dst): Allow $ORIGIN followed by /.
24673 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24674 Correct testing of result of is_trusted_path_normalize
24675 (decompose_rpath): Fix warning.
24676
7b3b0b2a
UD
246772011-05-10 Ulrich Drepper <drepper@gmail.com>
24678
24679 [BZ #11257]
24680 * grp/initgroups.c (internal_getgrouplist): When we found the service
24681 list through the initgroups entry in nsswitch.conf do not always
24682 continue on a successful lookup. Don't always use the
eac80ce2 24683 __nss_group_database value if it is set.
7b3b0b2a
UD
24684 * nss/nsswitch.conf (initgroups): Change action for successful db
24685 lookup to continue for compatibility.
24686
2a81eaa5
UD
246872011-05-09 Ulrich Drepper <drepper@gmail.com>
24688
be97a69e
UD
24689 [BZ #11532]
24690 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24691 and CP774 modules.
24692 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24693 and CP774 modules.
24694 * iconvdata/tst-tables.sh: Likewise.
24695 * iconvdata/cp770.c: New file.
24696 * iconvdata/cp771.c: New file.
24697 * iconvdata/cp772.c: New file.
24698 * iconvdata/cp773.c: New file.
24699 * iconvdata/cp774.c: New file.
24700 * iconvdata/testdata/CP770: New file.
24701 * iconvdata/testdata/CP770..UTF8: New file.
24702 * iconvdata/testdata/CP771: New file.
24703 * iconvdata/testdata/CP771..UTF8: New file.
24704 * iconvdata/testdata/CP772: New file.
24705 * iconvdata/testdata/CP772..UTF8: New file.
24706 * iconvdata/testdata/CP773: New file.
24707 * iconvdata/testdata/CP773..UTF8: New file.
24708 * iconvdata/testdata/CP774: New file.
24709 * iconvdata/testdata/CP774..UTF8: New file.
24710
24711 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24712 END CHARMAP line.
24713 * iconvdata/gen-8bit-gap.sh: Likewise.
24714 * iconvdata/gen-8bit.sh: Likewise.
24715
c1e9e399
UD
24716 * locale/iso-639.def: Add ary entry.
24717
24c55fb3 24718 [BZ #11258]
96b4b1b0
UD
24719 * locale/C-translit.h.in: Add U20A1 transliteration.
24720
bdc2f971
KB
24721 [BZ #12178]
24722 * locale/iso-639.def: Add wae entry.
24723 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24724
2952b117
UD
24725 [BZ #12545]
24726 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24727 for n.
24728
2a81eaa5
UD
24729 [BZ #12711]
24730 * locale/C-translit.h.in: Add entry for U20B9.
24731 Patch by pravin.d.s@gmail.com.
24732
28377d1b
UD
247332011-05-08 Ulrich Drepper <drepper@gmail.com>
24734
7fb90fb8
UD
24735 [BZ #12713]
24736 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24737 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
24738 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24739 in rtld. Use *stat64.
7fb90fb8 24740 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 24741 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 24742 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
24743 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24744 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24745 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24746 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24747 __fstatat64 macros.
7fb90fb8
UD
24748 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24749 * dirent/rewinddir.c: Add libc_hidden_def.
24750 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 24751 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 24752
28377d1b
UD
24753 * include/dirent.h (__alloc_dir): Add flags parameter.
24754 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24755 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24756 __alloc_dir.
24757 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24758 from fdopendir if O_CLOEXEC is already set.
24759
66bdbaa4
AM
247602011-03-15 Alan Modra <amodra@gmail.com>
24761
24762 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24763 l_tls_firstbyte_offset non-zero. Save padding offset in
24764 l_tls_firstbyte_offset for later use.
24765 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24766 freeing static tls block.
24767
95721191
JN
247682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24769
24770 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24771 where #ifdef was intended. The intent is to prevent ARG_MAX from
24772 being defined by the kernel headers.
24773
f87dfb1f
UD
247742011-05-07 Ulrich Drepper <drepper@gmail.com>
24775
24776 [BZ #12734]
24777 * resolv/resolv.h: Define RES_NOTLDQUERY.
24778 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24779 no-tld-query and set RES_NOTLDQUERY.
24780 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24781 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24782 modern BIND to search name as TLD unless forbidden.
24783
47c3cd7a
UD
247842011-05-07 Petr Baudis <pasky@suse.cz>
24785 Ulrich Drepper <drepper@gmail.com>
24786
24787 [BZ #12393]
24788 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24789 (is_trusted_path): ...to here.
c1e9ea35 24790 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24791 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24792 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24793
8a35c912
PP
247942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24795
24796 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24797 __BEGIN/__END_DECLS.
24798
acd41f47
UD
247992011-05-06 Ulrich Drepper <drepper@gmail.com>
24800
24801 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24802 NSS_STATUS_NOTFOUND if no record was found.
24803
597df647
AS
248042011-05-05 Andreas Schwab <schwab@redhat.com>
24805
24806 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24807 (headers-not-in-tirpc): Remove rpc/netdb.h
24808 * resolv/netdb.h: Revert last change.
24809
b9af1301
PP
248102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24811
24812 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24813 circular dependency between libgcc.a and libc.a.
24814
4e34d5f5
AS
248152011-05-05 Andreas Schwab <schwab@redhat.com>
24816
24817 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24818 * nis/Makefile: Don't install rpcsvc/*.
24819 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24820 instead of <rpc/types.h>.
24821 (MAXHOSTNAMELEN): Define.
24822
00ee369c
AS
248232011-05-03 Andreas Schwab <schwab@redhat.com>
24824
24825 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24826
0b592a30
MB
248272011-04-28 Maciej Babinski <mbabinski@google.com>
24828
24829 [BZ #12714]
24830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24831 gethostbyname4_r when IPv6 results are possible.
24832
6e04cbbe
UD
248332011-05-02 Ulrich Drepper <drepper@gmail.com>
24834
24835 [BZ #12723]
24836 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24837 _PC_PIPE_BUF handling.
24838
e4ecafe0
BH
248392011-04-30 Bruno Haible <bruno@clisp.org>
24840
24841 [BZ #12717]
24842 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24843 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24844 to 'int'.
24845 * inet/getnameinfo.c (getnameinfo): Likewise.
24846
125ee683
UD
248472011-04-29 Ulrich Drepper <drepper@gmail.com>
24848
24849 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24850 to groups setting in database lookup.
24851 * nss/nsswitch.conf: Add initgroups entry.
24852
b722481a
EB
248532011-04-22 Ulrich Drepper <drepper@gmail.com>
24854
24855 [BZ #12685]
24856 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24857 mode string.
24858 Patch by Eric Blake <eblake@redhat.com>.
24859
4df46dbd
L
248602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24861
24862 * sunrpc/Makefile (need-export-routines): Add svc_run.
24863 (routines): Remove svc_run.
24864 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24865 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24866 * sunrpc/svc_run.c (svc_run): Likewise.
24867 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24868
e84142d2
UD
248692011-04-21 Ulrich Drepper <drepper@gmail.com>
24870
24871 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24872 problem in reallocation in last patch.
24873
877175d8
UD
248742011-04-20 Ulrich Drepper <drepper@gmail.com>
24875
24876 * sunrpc/Makefile: Move inclusion of Rules.
24877
ab8eed78
UD
248782011-04-19 Ulrich Drepper <drepper@gmail.com>
24879
24880 * nss/nss_files/files-initgroups.c: New file.
24881 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24882 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24883 _nss_files_initgroups_dyn.
24884
e3d8f584
RS
248852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24886
24887 * elf/elf.h (R_ARM_IRELATIVE): Define.
24888
af190f45
UD
248892011-04-19 Ulrich Drepper <drepper@gmail.com>
24890
24891 * po/ru.po: Update from translation team.
24892
53cf59ef
UD
248932011-04-17 Ulrich Drepper <drepper@gmail.com>
24894
24895 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24896 dependencies.
24897
4c559bcd
MF
248982011-02-06 Mike Frysinger <vapier@gentoo.org>
24899
24900 [BZ #12653]
24901 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24902 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24903 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24904 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24905 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24906
4420675c
AS
249072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24908
24909 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24910 differing bytes.
24911 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24914
75ea32ab
UD
249152011-04-17 Ulrich Drepper <drepper@gmail.com>
24916
24917 [BZ #12420]
24918 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24919 storing it.
24920 * stdlib/bug-getcontext.c: New file.
24921 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24922
27390476
AK
249232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24924
24925 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24926 instructions into .machine "z9-109".
24927 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24928 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24929
10442705
AK
249302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24931
24932 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24933 between environment variables and auxiliary vector.
24934
7b57bfe5
UD
249352011-04-16 Ulrich Drepper <drepper@gmail.com>
24936
24937 * Makefile: Add rules to build linkobj/libc.so.
24938 * include/libc-symbols.h: Define libc_hidden_nolink.
24939 * include/rpc/auth.h: Mark functions which are to be hidden.
24940 * include/rpc/auth_des.h: Likewise.
24941 * include/rpc/auth_unix.h: Likewise.
24942 * include/rpc/clnt.h: Likewise.
24943 * include/rpc/des_crypt.h: Likewise.
24944 * include/rpc/key_prot.h: Likewise.
24945 * include/rpc/pmap_clnt.h: Likewise.
24946 * include/rpc/pmap_prot.h: Likewise.
24947 * include/rpc/pmap_rmt.h: Likewise.
24948 * include/rpc/rpc_msg.h: Likewise.
24949 * include/rpc/svc.h: Likewise.
24950 * include/rpc/svc_auth.h: Likewise.
24951 * include/rpc/xdr.h: Likewise.
24952 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24953 * nss/Makefile: Likewise.
24954 * sunrpc/Makefile: Don't install headers. Build library with normal
24955 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24956 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24957 for the compat linking library. Remove use of INTDEF/INTUSE.
24958 * sunrpc/auth_none.c: Likewise.
24959 * sunrpc/auth_unix.c: Likewise.
24960 * sunrpc/authdes_prot.c: Likewise.
24961 * sunrpc/authuxprot.c: Likewise.
24962 * sunrpc/clnt_gen.c: Likewise.
24963 * sunrpc/clnt_perr.c: Likewise.
24964 * sunrpc/clnt_raw.c: Likewise.
24965 * sunrpc/clnt_simp.c: Likewise.
24966 * sunrpc/clnt_tcp.c: Likewise.
24967 * sunrpc/clnt_udp.c: Likewise.
24968 * sunrpc/clnt_unix.c: Likewise.
24969 * sunrpc/des_crypt.c: Likewise.
24970 * sunrpc/des_soft.c: Likewise.
24971 * sunrpc/get_myaddr.c: Likewise.
24972 * sunrpc/key_call.c: Likewise.
24973 * sunrpc/key_prot.c: Likewise.
24974 * sunrpc/netname.c: Likewise.
24975 * sunrpc/pm_getmaps.c: Likewise.
24976 * sunrpc/pm_getport.c: Likewise.
24977 * sunrpc/pmap_clnt.c: Likewise.
24978 * sunrpc/pmap_prot.c: Likewise.
24979 * sunrpc/pmap_prot2.c: Likewise.
24980 * sunrpc/pmap_rmt.c: Likewise.
24981 * sunrpc/publickey.c: Likewise.
24982 * sunrpc/rpc_cmsg.c: Likewise.
24983 * sunrpc/rpc_common.c: Likewise.
24984 * sunrpc/rpc_dtable.c: Likewise.
24985 * sunrpc/rpc_prot.c: Likewise.
24986 * sunrpc/rpc_thread.c: Likewise.
24987 * sunrpc/rtime.c: Likewise.
24988 * sunrpc/svc.c: Likewise.
24989 * sunrpc/svc_auth.c: Likewise.
24990 * sunrpc/svc_authux.c: Likewise.
24991 * sunrpc/svc_raw.c: Likewise.
24992 * sunrpc/svc_run.c: Likewise.
24993 * sunrpc/svc_simple.c: Likewise.
24994 * sunrpc/svc_tcp.c: Likewise.
24995 * sunrpc/svc_udp.c: Likewise.
24996 * sunrpc/svc_unix.c: Likewise.
24997 * sunrpc/svcauth_des.c: Likewise.
24998 * sunrpc/xcrypt.c: Likewise.
24999 * sunrpc/xdr.c: Likewise.
25000 * sunrpc/xdr_array.c: Likewise.
25001 * sunrpc/xdr_float.c: Likewise.
25002 * sunrpc/xdr_intXX_t.c: Likewise.
25003 * sunrpc/xdr_mem.c: Likewise.
25004 * sunrpc/xdr_rec.c: Likewise.
25005 * sunrpc/xdr_ref.c: Likewise.
25006 * sunrpc/xdr_sizeof.c: Likewise.
25007 * sunrpc/xdr_stdio.c: Likewise.
25008
e6c61494
UD
250092011-04-10 Ulrich Drepper <drepper@gmail.com>
25010
25011 [BZ #12650]
25012 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25013 * sysdeps/ia64/dl-tls.h: Likewise.
25014 * sysdeps/powerpc/dl-tls.h: Likewise.
25015 * sysdeps/s390/dl-tls.h: Likewise.
25016 * sysdeps/sh/dl-tls.h: Likewise.
25017 * sysdeps/sparc/dl-tls.h: Likewise.
25018 * sysdeps/x86_64/dl-tls.h: Likewise.
25019 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25020
34fe483e
AS
250212011-03-14 Andreas Schwab <schwab@redhat.com>
25022
25023 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25024 rpath element also skip the following colon.
25025 (expand_dynamic_string_token): Add is_path parameter and pass
25026 down to DL_DST_REQUIRED and _dl_dst_substitute.
25027 (decompose_rpath): Call expand_dynamic_string_token with
25028 non-zero is_path. Ignore empty rpaths.
25029 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25030 with zero is_path.
25031
f12a32e6
AS
250322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25033
25034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25035 Make cancelable.
25036
38a7d692
UD
250372011-04-09 Ulrich Drepper <drepper@gmail.com>
25038
25039 [BZ #12655]
25040 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25041 Patch by Filipe David Manana <fdmanana@apache.org>.
25042
e451d22b
AS
250432011-04-07 Andreas Schwab <schwab@redhat.com>
25044
25045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25046 Maintain aligned stack.
25047 (CHECK_RSP): Remove unused macro.
25048
dedc7c7b
UD
250492011-04-03 Ulrich Drepper <drepper@gmail.com>
25050
25051 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25052 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25053
94521213
UD
250542011-04-02 Ulrich Drepper <drepper@gmail.com>
25055
25056 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25057
8cb700c0 25058 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25059
0354e355
L
250602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25061
25062 [BZ #12518]
25063 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25064 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25065 * sysdeps/x86_64/memmove.c: New file.
25066 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25067 (memcpy): Renamed to ...
25068 (__new_memcpy): This.
25069 (memcpy): Provide GLIBC_2_14 memcpy.
25070 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25071 (memcpy): Provide GLIBC_2_2_5 memcpy.
25072
8593482f
UD
250732011-04-01 Ulrich Drepper <drepper@gmail.com>
25074
25075 [BZ #12631]
25076 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25077
81a5726b
AS
250782011-03-30 Andreas Schwab <schwab@redhat.com>
25079
25080 * misc/syncfs.c: New file.
25081 * misc/Makefile (routines): Add syncfs.
25082 * posix/unistd.h: Declare syncfs.
25083 * sysdeps/unix/syscalls.list: Add syncfs.
25084
00e5419f
AS
250852011-04-01 Andreas Schwab <schwab@redhat.com>
25086
25087 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25088 open_by_handle_at.
25089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25090 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25092 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25093 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25094 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25096
748876bf
UD
250972011-04-01 Ulrich Drepper <drepper@gmail.com>
25098
658e451d
UD
25099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25101 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25106
748876bf
UD
25107 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25108 sync_file_range.c with -fexceptions.
25109 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25110 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25111 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25112 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25113 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25114 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25116 sync_file_range as cancellation point
25117 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25118 now a wrapper around __call_sync_file_range with cancellation handling.
25119 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25120 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25121 function name to __call_sync_file_range.
25122 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25123 Add call_sync_file_range.
748876bf 25124
6e63d5e1
AS
251252011-04-01 Andreas Schwab <schwab@redhat.com>
25126
25127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25128 bits/timex.h.
6e63d5e1 25129
46998f74
UD
251302011-04-01 Ulrich Drepper <drepper@gmail.com>
25131
4c1423ed
UD
25132 * iconv/iconv.h: Fix typo in comment.
25133 * io/fcntl.h: Likewise.
25134 * libio/stdio.h: Likewise.
25135 * posix/spawn.h: Likewise.
25136 * posix/unistd.h: Likewise.
25137 * stdlib/stdlib.h: Likewise.
25138 * time/time.h: Likewise.
25139 * wcsmbs/wchar.h: Likewise.
25140
158648c0
UD
25141 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25142 open_by_handle): Add.
25143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25144 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25145 Augment a few comments.
25146 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25148 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25151 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25152 open_by_handle.
25153
46998f74
UD
25154 * io/fcntl.h (AT_EMPTY_PATH): Define.
25155
83fe108b
UD
251562011-03-30 Ulrich Drepper <drepper@gmail.com>
25157
25158 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25159 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25160 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25161 to...
25162 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25163 * Versions.def: Add GLIBC_2.14.
25164 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25165 Export.
83fe108b 25166
bb242059
UD
251672011-03-22 Ulrich Drepper <drepper@gmail.com>
25168
25169 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25170 round counter.
25171 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25172
c97a1282
L
251732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25174
25175 [BZ #12597]
25176 * string/test-strncmp.c (do_page_test): New function.
25177 (check2): Likewise.
25178 (test_main): Call check2.
25179 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25180
2a115601
UD
251812011-03-20 Ulrich Drepper <drepper@gmail.com>
25182
25183 [BZ #12587]
25184 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25185 Handle cache information in CPU leaf 4.
25186 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25187
8126d904
UD
251882011-03-18 Ulrich Drepper <drepper@gmail.com>
25189
042c49c6 25190 [BZ #12583]
8126d904
UD
25191 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25192 character representation.
25193 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25194
ccfe366e
RA
251952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25196
25197 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25198 END(__isnan) to END(__isnanf) to match function entry point/label
25199 EALIGN(__isnanf,...).
25200
c6e13027
JJ
252012011-03-10 Jakub Jelinek <jakub@redhat.com>
25202
25203 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25204
33f85a3f
UD
252052011-03-10 Ulrich Drepper <drepper@gmail.com>
25206
028478fa
UD
25207 [BZ #12510]
25208 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25209 copy from the symbol referenced in the relocation to initialize the
25210 used variable.
25211 Patch by Piotr Bury <pbury@goahead.com>.
25212 * elf/Makefile: Add rules to build and tst-unique3.
25213 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25214 * elf/tst-unique3.cc: New file.
25215 * elf/tst-unique3.h: New file.
25216 * elf/tst-unique3lib.cc: New file.
25217 * elf/tst-unique3lib2.cc: New file.
25218
33f85a3f
UD
25219 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25220
03592fc7
MF
252212011-03-10 Mike Frysinger <vapier@gentoo.org>
25222
25223 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25224 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25225 to _start.
03592fc7 25226
6a5ee102
UD
252272011-03-06 Ulrich Drepper <drepper@gmail.com>
25228
25229 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25230 to-be-loaded object along a path to loader is ld.so.
25231
7e4ba49c
HJ
252322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25233 Ulrich Drepper <drepper@gmail.com>
25234
25235 * sysdeps/x86_64/memset.S: After aligning destination, code
25236 branches to different locations depending on the value of
25237 misalignment, when multiarch is enabled. Fix this.
25238
252392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25240
25241 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25242 Set _x86_64_preferred_memory_instruction for AMD processsors.
25243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25244 Set bit_Prefer_SSE_for_memop for AMD processors.
25245
13a804de
UD
252462011-03-04 Ulrich Drepper <drepper@gmail.com>
25247
25248 * libio/fmemopen.c (fmemopen): Optimize a bit.
25249
9d25c392
AS
252502011-03-03 Andreas Schwab <schwab@redhat.com>
25251
25252 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25253
a5543c6a
RM
252542011-03-03 Roland McGrath <roland@redhat.com>
25255
25256 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25257
012d35f7
DM
252582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25259
7e4ba49c 25260 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25261 __bzero_ultra1 instead of __memset_ultra1.
25262
4bff6e01
AS
252632011-02-23 Andreas Schwab <schwab@redhat.com>
25264 Ulrich Drepper <drepper@gmail.com>
25265
25266 [BZ #12509]
25267 * include/link.h (struct link_map): Add l_orig_initfini.
25268 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25269 returning unsuccessfully.
25270 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25271 close of a file loaded at startup, restore the original l_initfini
25272 list.
25273 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25274 list, store the pointer.
25275 * elf/Makefile ($(objpfx)noload-mem): New rule.
25276 (noload-ENV): Define.
25277 (tests): Add $(objpfx)noload-mem.
25278 * elf/noload.c: Include <memcheck.h>.
25279 (main): Call mtrace. Close all opened handles.
25280
f2092faf
AS
252812011-02-17 Andreas Schwab <schwab@redhat.com>
25282
25283 [BZ #12454]
25284 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25285 dependencies are missing.
25286
6c8a2e88
ST
252872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25288
f2092faf 25289 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25290 Hurd needs munmap.
25291 * sysdeps/mach/hurd/ifreq.h: New file.
25292
84a42118
PB
252932011-01-27 Petr Baudis <pasky@suse.cz>
25294 Ulrich Drepper <drepper@gmail.com>
25295
071f805e 25296 [BZ 12445]#
84a42118
PB
25297 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25298 to extend_alloca().
25299 * stdio-common/bug23.c: New file.
25300 * stdio-common/Makefile (tests): Add bug23.
25301
e23fe25b
AS
253022010-09-28 Andreas Schwab <schwab@redhat.com>
25303 Ulrich Drepper <drepper@gmail.com>
25304
25305 [BZ #12489]
25306 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25307 before performing relro protection. At old place add assertion
25308 to make sure nothing changed.
25309
d3f02e10
NS
253102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25311 Glauber de Oliveira Costa <glommer@gmail.com>
25312
25313 * elf/elf.h: Add new ARM TLS relocs.
25314
d55fd7a5
RA
253152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25316
25317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25318 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25319 cast from r3.
25320 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25321 'tests' variable.
25322 * sysdeps/wordsize-64/tst-writev.c: New file.
25323
2206397e
RA
253242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25325
25326 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25327 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25328 insns in _dl_start to prevent a TOC reference before relocs are
25329 resolved.
25330
e9433893
UD
253312011-02-15 Ulrich Drepper <drepper@gmail.com>
25332
25333 [BZ #12469]
25334 * Makeconfig: Remove RANLIB definition.
25335 * Makerules: Don't use RANLIB.
25336 * aclocal.m4: Remove ranlib test.
25337 * configure.in: No need to check for ranlib.
25338 * elf/rtld-Rules: Don't use RANLIB.
25339
f75286c6
ST
253402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25341
8e31c82d
ST
25342 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25343 protection macro.
25344 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25345 inclusion protection macro.
25346
f75286c6
ST
25347 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25348 SIGRTMIN and SIGRTMAX and print information in that case only when
25349 SIGRTMIN is defined.
25350
c1d0e639
JJ
253512011-02-11 Jakub Jelinek <jakub@redhat.com>
25352
25353 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25354 arginfo fn returning -1.
25355
25356 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25357 and thousands string is zero terminated.
25358
edf9294e
AS
253592011-02-03 Andreas Schwab <schwab@redhat.com>
25360
25361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25362 sysdeps/unix/sysv/linux/bits/socket.h.
25363
2b7e92df
ST
253642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25365
edf9294e
AS
25366 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25367 (__CPU_COUNT): Remove old macros.
25368 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25369 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25370 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25371 (__sched_cpualloc, __sched_cpufree): Add declarations.
25372
a4c7ea7b
UD
253732011-02-05 Ulrich Drepper <drepper@gmail.com>
25374
25375 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25376 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25377 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25378 (readdhstai): Return value of addhstaiX call.
25379 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25380 (addgrbyX): Return value returned by cache_addgr.
25381 (readdgrbyname): Return value returned by addgrbyX.
25382 (readdgrbygid): Likewise.
25383 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25384 (addpwbyX): Return value returned by cache_addpw.
25385 (readdpwbyname): Return value returned by addhstbyX.
25386 (readdpwbyuid): Likewise.
25387 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25388 (addservbyX): Return value returned by cache_addserv.
25389 (readdservbyname): Return value returned by addservbyX:
25390 (readdservbyport): Likewise.
25391 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25392 (addhstbyX): Return value returned by cache_addhst.
25393 (readdhstbyname): Return value returned by addhstbyX.
25394 (readdhstbyaddr): Likewise.
25395 (readdhstbynamev6): Likewise.
25396 (readdhstbyaddrv6): Likewise.
25397 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25398 (readdinitgroups): Return value returned by addinitgroupsX.
25399 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25400 (prune_cache): Keep track of timeout value of re-added entries.
25401 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25402 * nscd/nscd.h: Adjust prototypes of readd* functions.
25403
a0bf67cc
RM
254042011-02-04 Roland McGrath <roland@redhat.com>
25405
25406 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25407 (nis_stats): Likewise.
25408 * nis/nis_modify.c (nis_modify): Likewise.
25409 * nis/nis_remove.c (nis_remove): Likewise.
25410 * nis/nis_add.c (nis_add): Likewise.
25411
25412 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25413
25414 * posix/fnmatch_loop.c: Add some consts.
25415
25416 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25417
435b95eb
L
254182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25419
25420 [BZ #12460]
25421 * config.make.in (config-cflags-novzeroupper): Define.
25422 * configure.in: Substitute libc_cv_cc_novzeroupper.
25423 * elf/Makefile (AVX-CFLAGS): Define.
25424 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25425 (CFLAGS-tst-auditmod4a.c): Likewise.
25426 (CFLAGS-tst-auditmod4b.c): Likewise.
25427 (CFLAGS-tst-auditmod6b.c): Likewise.
25428 (CFLAGS-tst-auditmod6c.c): Likewise.
25429 (CFLAGS-tst-auditmod7b.c): Likewise.
25430 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25431
8517b15e
UD
254322011-02-02 Ulrich Drepper <drepper@gmail.com>
25433
25434 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25435 function to the callback.
25436 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25437
10a656fe
AS
254382011-02-02 Andreas Schwab <schwab@redhat.com>
25439
25440 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25441 of errno.
25442
968dad0a
UD
254432011-01-19 Ulrich Drepper <drepper@gmail.com>
25444
9f94d2ea 25445 [BZ #11724]
968dad0a
UD
25446 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25447 of constructors.
25448 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25449 of destructors.
25450 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25451
25452 [BZ #11724]
25453 * elf/Makefile: Add rules to build and run new test.
25454 * elf/tst-initorder.c: New file.
25455 * elf/tst-initorder.exp: New file.
25456 * elf/tst-initordera1.c: New file.
25457 * elf/tst-initordera2.c: New file.
25458 * elf/tst-initordera3.c: New file.
25459 * elf/tst-initordera4.c: New file.
25460 * elf/tst-initorderb1.c: New file.
25461 * elf/tst-initorderb2.c: New file.
25462 * elf/tst-order-a1.c: New file.
25463 * elf/tst-order-a2.c: New file.
25464 * elf/tst-order-a3.c: New file.
25465 * elf/tst-order-a4.c: New file.
25466 * elf/tst-order-b1.c: New file.
25467 * elf/tst-order-b2.c: New file.
25468 * elf/tst-order-main.c: New file.
25469 New test case by George Gensure <werkt0@gmail.com>.
25470
86e92359
UD
254712010-10-01 Andreas Schwab <schwab@redhat.com>
25472
25473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25474 decoding ACE if AI_CANONIDN.
25475
5d5732b0
UD
254762011-01-18 Ulrich Drepper <drepper@gmail.com>
25477
25478 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25479
a77e8cbc
UD
254802011-01-17 Ulrich Drepper <drepper@gmail.com>
25481
6392473f
UD
25482 * version.h (RELEASE): Bump for 2.13 release.
25483 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25484
620a0529
UD
25485 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25486
18ba70a5
UD
25487 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25488 MADV_NOHUGEPAGE.
32465c3e
UD
25489 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25490 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25491 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25492 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25493 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25494 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25495
c0dafcf1
UD
25496 * posix/getconf.c: Update copyright year.
25497 * catgets/gencat.c: Likewise.
25498 * csu/version.c: Likewise.
25499 * debug/catchsegv.sh: Likewise.
25500 * debug/xtrace.sh: Likewise.
25501 * elf/ldconfig.c: Likewise.
25502 * elf/ldd.bash.in: Likewise.
25503 * elf/sprof.c (print_version): Likewise.
25504 * iconv/iconv_prog.c: Likewise.
25505 * iconv/iconvconfig.c: Likewise.
25506 * locale/programs/locale.c: Likewise.
25507 * locale/programs/localedef.c: Likewise.
25508 * malloc/memusage.sh: Likewise.
25509 * malloc/mtrace.pl: Likewise.
25510 * nscd/nscd.c (print_version): Likewise.
25511 * nss/getent.c: Likewise.
25512
a77e8cbc
UD
25513 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25514 PF_CAIF, and PF_ALG.
25515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25516
77e8bddf
AS
255172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25518
1f20b93a
AS
25519 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25520 (modules-names): Use them.
25521 (ifunc-test-modules, ifunc-pie-tests): Define.
25522 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25523 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25524 (test-extras): Likewise.
25525 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25526 $(compile-command.c).
25527 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25528 (all-built-dso): Define.
25529 (check-textrel.out, check-execstack.out): Depend on it.
25530
77e8bddf
AS
25531 * configure.in: Don't override --enable-multi-arch.
25532
bc425b33
UD
255332011-01-15 Ulrich Drepper <drepper@gmail.com>
25534
25535 [BZ #6812]
25536 * nscd/hstcache.c (tryagain): Define.
25537 (cache_addhst): Return tryagain not notfound for temporary errors.
25538 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25539 failed.
25540
794c3ad3
UD
255412011-01-14 Ulrich Drepper <drepper@gmail.com>
25542
70181fdd
UD
25543 [BZ #10563]
25544 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25545 to make the syscall.
25546 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25547
794c3ad3
UD
25548 [BZ #12378]
25549 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25550 and fall back to matching as normal character if the string ends before
25551 the matching ']' is found. This is what POSIX requires.
25552 * posix/testfnm.c: Adjust test result.
25553 * posix/globtest.sh: Adjust test result. Add new test.
25554 * posix/tst-fnmatch.input: Likewise.
25555 * posix/tst-fnmatch2.c: Add new test.
25556
68dc9497
AS
255572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25558
25559 * elf/Makefile (check-execstack): Revert last change. Depend on
25560 check-execstack.h.
25561 (check-execstack.h): New target.
25562 (generated): Add check-execstack.h.
25563 * elf/check-execstack.c: Include "check-execstack.h".
25564 (main): Revert last change.
25565 (handle_file): Return zero if GNU_STACK is absent and
25566 DEFAULT_STACK_PERMS doesn't include PF_X.
25567
451f001b
UD
255682011-01-13 Ulrich Drepper <drepper@gmail.com>
25569
cfa28e56
UD
25570 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25571 in child fails because the descriptor is already closed.
8cf8ce17
UD
25572 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25573 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25574 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25575
1086d70d
UD
25576 [BZ #12397]
25577 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25578 syscall.
25579
451f001b
UD
25580 [BZ #10484]
25581 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25582 temporary buffer used to handle multi lookups locally.
a85b5cb4 25583 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25584
08769175
UD
255852011-01-12 Ulrich Drepper <drepper@gmail.com>
25586
25587 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25588 loader is ld.so.
25589
5e49c52e
UD
255902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25591
25592 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25593 alignment for SSE2.
25594
60522a5f
UD
255952011-01-12 Ulrich Drepper <drepper@gmail.com>
25596
25597 [BZ #12394]
25598 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25599 characters. When rounding increased number of integer digits recompute
25600 number of groups.
25601 * stdio-common/tst-grouping.c: New file.
25602 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25603
f257bbd7
UD
256042011-01-09 Ulrich Drepper <drepper@gmail.com>
25605
25606 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25607 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25608
25609 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25610 void.
25611 * bits/select.h: Likewise.
25612
fa9c15cb
UD
256132011-01-08 Ulrich Drepper <drepper@gmail.com>
25614
25615 * po/ja.po: Update from translation team.
25616
16c2895f
DM
256172011-01-04 David S. Miller <davem@sunset.davemloft.net>
25618
25619 [BZ #11155]
25620 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25621 implementation just like for lxstat, fxstatat, et al.
25622
2543fef2
JM
256232010-12-27 Jim Meyering <meyering@redhat.com>
25624
25625 [BZ #12348]
25626 * posix/regexec.c (build_trtable): Return failure indication upon
25627 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25628
98727dbe
UD
256292010-12-25 Ulrich Drepper <drepper@gmail.com>
25630
5bd6dc5c
UD
25631 [BZ #12201]
25632 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25633 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25634 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25635 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25636
97983464
UD
25637 [BZ #12207]
25638 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25639
98727dbe
UD
25640 [BZ #12204]
25641 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25642 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25643
4a531bb0
L
256442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25645
25646 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25647 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25648 script has SORT_BY_INIT_PRIORITY.
25649 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25650 NO_CTORS_DTORS_SECTIONS is defined.
25651 * elf/soinit.c: Likewise.
25652 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25653 NO_CTORS_DTORS_SECTIONS is defined.
25654 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25655 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25656 * sysdeps/sh/init-first.c: Likewise.
25657 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25658
07eb4b71
UD
256592010-12-24 Ulrich Drepper <drepper@gmail.com>
25660
25661 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25662 always use the slow path.
25663
30950a5f
RA
256642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25665
25666 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25667 similar rule which adds the sysdep directories to the header search in
25668 order to pick up the correct platform stackinfo.h.
25669 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25670 perform test if it is, otherwise return successfully without testing.
25671 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25672 DEFAULT_STACK_PERMS define in stackinfo.h.
25673 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25674 defined in stackinfo.h.
25675 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25676 DEFAULT_STACK_PERMS defined in stackinfo.h.
25677 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25678 * sysdeps/ia64/stackinfo.h: Likewise.
25679 * sysdeps/s390/stackinfo.h: Likewise.
25680 * sysdeps/sh/stackinfo.h: Likewise.
25681 * sysdeps/sparc/stackinfo.h: Likewise.
25682 * sysdeps/x86_64/stackinfo.h: Likewise.
25683 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25684 PF_X for powerpc64. Retain PF_X for powerpc32.
25685
db753e2c
UD
256862010-12-19 Ulrich Drepper <drepper@gmail.com>
25687
14b697f7
UD
25688 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25689 accurately.
db753e2c
UD
25690 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25691 GETDENTS_64BIT_ALIGNED.
25692
28300719
UD
256932010-12-14 Ulrich Drepper <dreper@gmail.com>
25694
14b697f7 25695 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25696
4f197237
AS
256972010-12-10 Andreas Schwab <schwab@redhat.com>
25698
dbb0472f
AS
25699 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25700 _GNU_SOURCE.
25701
4f197237
AS
25702 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25703 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25704 Remove __restrict.
25705 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25706 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25707
fb88ac72
UD
257082010-12-09 Ulrich Drepper <drepper@gmail.com>
25709
25710 [BZ #11655]
25711 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25712 are initialized.
25713
42acbb92
JJ
257142010-12-09 Jakub Jelinek <jakub@redhat.com>
25715
25716 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25717
c038d98d
UD
257182010-12-03 Ulrich Drepper <drepper@gmail.com>
25719
25720 * po/it.po: Update from translation team.
25721
3a4a2499
L
257222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25723
25724 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25725 unused codes.
25726
1e24cf6e
UD
257272010-11-30 Ulrich Drepper <drepper@gmail.com>
25728
25729 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25730
a7690819
AS
257312010-11-24 Andreas Schwab <schwab@redhat.com>
25732
25733 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25734 specially.
25735 (gaih_getanswer_slice): Likewise.
25736
3bf8d1b1
JJ
257372010-10-20 Jakub Jelinek <jakub@redhat.com>
25738
25739 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25740
6db52fbb
PB
257412010-05-31 Petr Baudis <pasky@suse.cz>
25742
25743 [BZ #11149]
25744 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25745 silently even in the chroot mode.
25746
eaca7569
UD
257472010-11-22 Ulrich Drepper <drepper@gmail.com>
25748
25749 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25750 last patch a bit. Pretty printing
25751
3056dcdb
UD
257522010-05-31 Petr Baudis <pasky@suse.cz>
25753
25754 [BZ #10085]
25755 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25756 initialization of skip_initgroups_dyn.
25757
cf7c9078
UD
257582010-11-19 Ulrich Drepper <drepper@gmail.com>
25759
25760 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25761 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25762
a1fb5e3e
UD
257632010-11-16 Ulrich Drepper <drepper@gmail.com>
25764
25765 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25766
3540d66b
AS
257672010-11-11 Andreas Schwab <schwab@redhat.com>
25768
25769 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25770 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25771 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25772 ($(objpfx)tst-fnmatch-mem): New rule.
25773 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25774 * posix/tst-fnmatch.c (main): Call mtrace.
25775
13b69574
L
257762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25777
25778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25779 Support Intel processor model 6 and model 0x2c.
25780
da93d214
LM
257812010-11-10 Luis Machado <luisgpm@br.ibm.com>
25782
25783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25784 signed comparison.
25785
8ca52c6e
L
257862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25787
25788 [BZ #12205]
25789 * string/test-strncasecmp.c (check_result): New function.
25790 (do_one_test): Use it.
25791 (check1): New function.
25792 (test_main): Use it.
25793 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25794 Support strcasecmp and strncasecmp.
25795
69da074d
UD
257962010-11-08 Ulrich Drepper <drepper@gmail.com>
25797
25798 [BZ #12194]
25799 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25800 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25801
ff02d528
L
258022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25803
25804 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25805 IFUNC support.
25806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25807 memset-x86-64.
25808 * sysdeps/x86_64/multiarch/bzero.S: New file.
25809 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25810 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25811 * sysdeps/x86_64/multiarch/memset.S: New file.
25812 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25814 Set bit_Prefer_SSE_for_memop for Intel processors.
25815 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25816 Define.
25817 (index_Prefer_SSE_for_memop): Define.
25818 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25819
344d0b54
LM
258202010-11-04 Luis Machado <luisgpm@br.ibm.com>
25821
25822 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25823 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25824
c0dde15b
UD
258252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25826
25827 [BZ #12191]
25828 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25829 (__x86_64_raw_data_cache_size_half): Likewise.
25830 (__x86_64_raw_shared_cache_size): Likewise.
25831 (__x86_64_raw_shared_cache_size_half): Likewise.
25832
25833 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25834 (__x86_64_raw_data_cache_size_half): Likewise.
25835 (__x86_64_raw_shared_cache_size): Likewise.
25836 (__x86_64_raw_shared_cache_size_half): Likewise.
25837 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25838 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25839 and __x86_64_raw_shared_cache_size_half. Round
25840 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25841 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25842 to multiple of 256 bytes.
25843
0e516e0e
MS
258442010-11-03 Ulrich Drepper <drepper@gmail.com>
25845
25846 [BZ #12167]
25847 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25848 of inacessible symlinks. Verify result of symlink before returning it.
25849 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25850 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25851
0e012e87
ER
258522010-10-28 Erich Ritz <erichritz@gmail.com>
25853
25854 * math/math.h (isinf): Fix typo in comment.
25855
de0ff7bc
UD
258562010-11-01 Ulrich Drepper <drepper@gmail.com>
25857
25858 * po/da.po: Update from translation team.
25859
fa41c84d
UD
258602010-10-26 Ulrich Drepper <drepper@gmail.com>
25861
25862 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25863 is added to the list.
25864
f0967738
AK
258652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25866 Ulrich Drepper <drepper@gmail.com>
25867
25868 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25869 the global list here. Move code to...
25870 (_dl_add_to_namespace_list): ...here. New function.
25871 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25872 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25873 * elf/dl-load.c (lose): Don't remove the element from the list.
25874 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25875 (_dl_map_object): Likewise.
25876
258772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25878
25879 [BZ #12159]
25880 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25881 into all bytes of SSE register.
25882 Patch by Richard Li <richardpku@gmail.com>.
25883
f0967738 258842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25885
25886 [BZ #12140]
25887 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25888 perturbing.
25889
d0b9e94f
MB
258902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25891
25892 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25893 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25894 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25895 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25897 submachine.
25898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25899
8e9f92e9
AS
259002010-10-22 Andreas Schwab <schwab@redhat.com>
25901
25902 * include/dlfcn.h (__RTLD_SECURE): Define.
25903 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25904 mode & __RTLD_SECURE instead.
25905 (open_path): Rename preloaded parameter to secure.
25906 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25907 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25908 * elf/dl-deps.c (openaux): Likewise.
25909 * elf/rtld.c (struct map_args): Remove is_preloaded.
25910 (map_doit): Don't use it.
25911 (dl_main): Likewise.
25912 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25913 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25914
bc96fbda
AS
259152010-09-09 Andreas Schwab <schwab@redhat.com>
25916
25917 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25918 (sysd-rules-targets): Remove duplicates.
25919 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25920 rtld-%.$o dependency.
25921
22cd1c9b
AS
259222010-10-18 Andreas Schwab <schwab@redhat.com>
25923
25924 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25925 _dl_map_object do it.
25926
18edac48
UD
259272010-10-19 Ulrich Drepper <drepper@gmail.com>
25928
25929 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25930 fast fma builtins, define the macros in the C99 standard.
25931 (FP_FAST_FMAF): Likewise.
25932 (FP_FAST_FMAL): Likewise.
25933 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25934
25935 * bits/mathdef.h: Update copyright year.
25936 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25937
d2050124
MM
259382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25939
25940 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25941 builtins, define the macros in the C99 standard.
25942 (FP_FAST_FMAF): Likewise.
25943 (FP_FAST_FMAL): Likewise.
25944 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25945 multiply/add.
25946 (FP_FAST_FMAF): Likewise.
25947
475facd1
JJ
259482010-10-15 Jakub Jelinek <jakub@redhat.com>
25949
25950 [BZ #3268]
25951 * math/libm-test.inc (fma_test): Some new testcases.
25952 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25953 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25954 y and infinite z. Do multiplication by C already in long double.
25955 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25957 y and infinite z. Do bitwise or of inexact bit into u.d.
25958 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25959 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25960 * sysdeps/i386/fpu/s_fma.S: Removed.
25961 * sysdeps/i386/fpu/s_fmal.S: Removed.
25962
7c08a05c
JJ
259632010-10-16 Jakub Jelinek <jakub@redhat.com>
25964
25965 [BZ #3268]
25966 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25968 computation is not scheduled after fetestexcept. Fix value
25969 of minimum denormal long double.
25970
f3f7372d
JJ
259712010-10-14 Jakub Jelinek <jakub@redhat.com>
25972
25973 [BZ #3268]
25974 * math/libm-test.inc (fma_test): Add some more tests.
25975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25976 correctly.
25977
14d43591
AS
259782010-10-15 Andreas Schwab <schwab@redhat.com>
25979
25980 * scripts/data/localplt-s390-linux-gnu.data: New file.
25981 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25982
5e908464
JJ
259832010-10-13 Jakub Jelinek <jakub@redhat.com>
25984
25985 [BZ #3268]
25986 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25987 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25988 instead of dbl-64.
25989 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25990 inlines.
25991 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25993 if one of x and y is very large and the other is subnormal.
25994 * sysdeps/s390/fpu/s_fmaf.c: New file.
25995 * sysdeps/s390/fpu/s_fma.c: New file.
25996 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25997 * sysdeps/powerpc/fpu/s_fma.S: New file.
25998 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25999 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26000 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26001
260022010-10-12 Jakub Jelinek <jakub@redhat.com>
26003
26004 [BZ #3268]
26005 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26006 fma tests.
26007 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26008 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26009 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26010 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26011 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26012 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26013 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26014
b833d51f
UD
260152010-10-12 Ulrich Drepper <drepper@redhat.com>
26016
26017 [BZ #12078]
26018 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26019 * posix/bug-regex31.input: Add test case.
26020
1751705d
UD
260212010-10-11 Ulrich Drepper <drepper@gmail.com>
26022
e9b9cbf5
UD
26023 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26024 * posix/bug-regex31.input: New file.
26025
26026 [BZ #12078]
26027 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26028 (parse_sub_exp): Fix last change, use postorder.
26029
ef06edbe
UD
26030 * posix/bug-regex31.c: New file.
26031 * posix/Makefile: Add rules to build and run bug-regex31.
26032
a129c80d
UD
26033 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26034
26035 [BZ #12078]
26036 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26037
b76b818e
UD
26038 [BZ #12108]
26039 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26040 to have entries in sys_siglist.
26041
1751705d
UD
26042 [BZ #12093]
26043 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26044 be NULL.
26045
9ff8d36f
JJ
260462010-10-07 Jakub Jelinek <jakub@redhat.com>
26047
26048 [BZ #3268]
26049 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26050 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26051 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26052 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26053 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26054 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26055 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26056 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26057 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26058 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26059 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26060 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26061 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26062 * math/ftestexcept.c (fetestexcept): Likewise.
26063 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26064 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26065 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26066 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26067 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26068 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26069 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26070
af325969
UD
260712010-10-11 Ulrich Drepper <drepper@gmail.com>
26072
c579b202 26073 [BZ #12107]
af325969
UD
26074 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26075 newline.
26076
67a67b95
UD
260772010-10-06 Ulrich Drepper <drepper@gmail.com>
26078
26079 * string/bug-strstr1.c: New file.
26080 * string/Makefile: Add rules to build and run bug-strstr1.
26081
5fb308bc
EB
260822010-10-05 Eric Blake <eblake@redhat.com>
26083
26084 [BZ #12092]
26085 * string/str-two-way.h (two_way_long_needle): Always clear memory
26086 when skipping input due to the shift table.
26087
45db99c7
UD
260882010-10-03 Ulrich Drepper <drepper@gmail.com>
26089
3b111893
UD
26090 [BZ #12005]
26091 * malloc/mcheck.c: Handle large requests.
26092
45db99c7
UD
26093 [BZ #12077]
26094 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26095 for strncmp and strncasecmp.
26096 * string/stratcliff.c: Add tests for strcmp and strncmp.
26097 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26098
cf7a1eb8
NI
260992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26100
26101 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26102 __set_fpscr.
26103
6484ba5e
AJ
261042010-09-30 Andreas Jaeger <aj@suse.de>
26105
26106 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26107 (CGROUP_SUPER_MAGIC): Define.
26108 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26109 Handle btrfs and cgroup file systems.
26110 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26111 Likewise.
26112
91c42559
LM
261132010-09-27 Luis Machado <luisgpm@br.ibm.com>
26114
26115 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26116 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26117
87a97932
AK
261182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26119
26120 [BZ #12067]
26121 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26122 trying to locate the ELF header.
26123
c21cc9bc
AS
261242010-09-27 Andreas Schwab <schwab@redhat.com>
26125
26126 [BZ #11611]
26127 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26128 Mask out sign-bit copies when constructing f_fsid.
26129
315970f6
PB
261302010-09-24 Petr Baudis <pasky@suse.cz>
26131
26132 * debug/stack_chk_fail_local.c: Add missing licence exception.
26133 * debug/warning-nop.c: Likewise.
26134
1ac7a2c7
JM
261352010-09-15 Joseph Myers <joseph@codesourcery.com>
26136
26137 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26138 implementing getdents64 using getdents syscall, set d_type if
26139 __ASSUME_GETDENTS32_D_TYPE.
26140
56801c50
AS
261412010-09-16 Andreas Schwab <schwab@redhat.com>
26142
26143 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26144 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26145
dda51327
UD
261462010-09-21 Ulrich Drepper <drepper@redhat.com>
26147
26148 [BZ #12037]
26149 * posix/unistd.h: Undo change of feature selection for ftruncate from
26150 2010-01-11.
26151
8ffcee4a
UD
261522010-09-20 Ulrich Drepper <drepper@redhat.com>
26153
a545ecd9 26154 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26155 detection.
26156
e24f0a8b
AS
261572010-09-20 Andreas Schwab <schwab@redhat.com>
26158
26159 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26160 fanotify_mark.
26161 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26162
7291c56f
AS
261632010-09-14 Andreas Schwab <schwab@redhat.com>
26164
26165 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26166 variables after CHECK_SP call.
26167 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26168
bc5fb037
AS
261692010-09-13 Andreas Schwab <schwab@redhat.com>
26170 Ulrich Drepper <drepper@redhat.com>
26171
26172 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26173 re-relocationg ld.so.
26174 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26175 _dl_init_paths call.
26176 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26177 here anymore.
26178
e66e7419
UD
261792010-09-14 Ulrich Drepper <drepper@redhat.com>
26180
26181 * resolv/res_init.c (__res_vinit): Count the default server we added.
26182
c044aa75
CLT
261832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26184 Ulrich Drepper <drepper@redhat.com>
26185
26186 [BZ #11968]
26187 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26188 (____longjmp_chk): Use %ebx for saving value across system call.
26189 Add unwind info.
26190
32cf4069
AS
261912010-09-06 Andreas Schwab <schwab@redhat.com>
26192
26193 * manual/Makefile: Don't mix pattern rules with normal rules.
26194
817328ee
AS
261952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26196
26197 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26198 operation.
26199 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26200 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26201 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26202 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26204 Likewise.
26205
29fddf61
UD
262062010-09-04 Ulrich Drepper <drepper@redhat.com>
26207
26208 [BZ #11979]
26209 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26210 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26211
0959ffc9
UD
262122010-09-02 Ulrich Drepper <drepper@redhat.com>
26213
26214 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26215 * sysdeps/x86_64/addmul_1.S: Likewise.
26216 * sysdeps/x86_64/lshift.S: Likewise.
26217 * sysdeps/x86_64/mul_1.S: Likewise.
26218 * sysdeps/x86_64/rshift.S: Likewise.
26219 * sysdeps/x86_64/sub_n.S: Likewise.
26220 * sysdeps/x86_64/submul_1.S: Likewise.
26221
ece29840
ST
262222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26223
0959ffc9
UD
26224 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26225 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26226 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26227 * bits/sched.h [__need_schedparam]
ece29840 26228 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26229 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26230 (__defined_schedparam): Define to 1.
ece29840
ST
26231 (__sched_param): New structure, identical to sched_param.
26232 (__need_schedparam): Undefine.
26233
e53a31fe
MF
262342010-08-31 Mike Frysinger <vapier@gentoo.org>
26235
fdc0c10d
MF
26236 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26237 (epoll_create1): Declare.
26238
e53a31fe
MF
26239 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26240
a726d796
AS
262412010-08-31 Andreas Schwab <schwab@redhat.com>
26242
26243 [BZ #7066]
26244 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26245 shifting retval into place.
26246
2f3e3dc7
UD
262472010-09-01 Ulrich Drepper <drepper@redhat.com>
26248
f2933da9
UD
26249 * nis/rpcsvc/nis.h: Update copyright notice.
26250 * nis/rpcsvc/nis.x: Likewise.
26251 * nis/rpcsvc/nis_callback.h: Likewise.
26252 * nis/rpcsvc/nis_callback.x: Likewise.
26253 * nis/rpcsvc/nis_object.x: Likewise.
26254 * nis/rpcsvc/nis_tags.h: Likewise.
26255 * nis/rpcsvc/yp.h: Likewise.
26256 * nis/rpcsvc/yp.x: Likewise.
26257 * nis/rpcsvc/ypupd.h: Likewise.
26258 * nis/yp_xdr.c: Likewise.
26259 * nis/ypupdate_xdr.c: Likewise.
26260
2f3e3dc7
UD
26261 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26262 mainly the body of pmap_getport. Add parameters to specify timeouts.
26263 (pmap_getport): Use __libc_rpc_getport.
26264 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26265 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26266 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26267
f3dcc2f9
AS
262682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26269
26270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26271 fanotify_mark.
26272
6d34eb5b
RM
262732010-08-27 Roland McGrath <roland@redhat.com>
26274
26275 * sysdeps/i386/i686/multiarch/Makefile
26276 (CFLAGS-varshift.c): New variable.
26277
9ea3de11
UD
262782010-08-27 Ulrich Drepper <drepper@redhat.com>
26279
c96d23fc
UD
26280 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26281 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26282
9ea3de11
UD
26283 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26284
26285 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26286
623aac7f
L
262872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26288
26289 * sysdeps/x86_64/strlen.S: Unroll the loop.
26290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26291 strlen-sse2 strlen-sse2-bsf.
26292 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26293 __strlen_no_bsf if bit_Slow_BSF is set.
26294 (__strlen_sse42): Removed.
26295 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26296 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26297
8b2b7715
RM
262982010-08-25 Roland McGrath <roland@redhat.com>
26299
26300 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26301 * sysdeps/x86_64/multiarch/varshift.c: New file.
26302 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26303 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26304 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26305 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26306
e73015f2
L
263072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26308
26309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26310 strlen-sse2 strlen-sse2-bsf.
26311 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26312 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26313 (__strlen_sse2): Removed.
26314 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26315 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26317 bit_Slow_BSF for Atom.
26318 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26319 (index_Slow_BSF): Define.
26320 (HAS_SLOW_BSF): Define.
26321
df24a73e
UD
263222010-08-25 Ulrich Drepper <drepper@redhat.com>
26323
26324 [BZ #10851]
26325 * resolv/res_init.c (__res_vinit): When no server address at all
26326 is given default to loopback.
26327
f2ac4868
RM
263282010-08-24 Roland McGrath <roland@redhat.com>
26329
09055553
RM
26330 * configure.in: Remove config-name.h generation.
26331 * configure: Regenerated.
26332 * config-name.in: File removed.
26333 * scripts/config-uname.sh: New file.
26334 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26335 ($(objdir)config-name.h): New target.
26336
f2ac4868
RM
26337 * sunrpc/rpc_parse.h: Avoid nested comment.
26338
73f27d5e
RH
263392010-08-24 Richard Henderson <rth@redhat.com>
26340 Ulrich Drepper <drepper@redhat.com>
26341 H.J. Lu <hongjiu.lu@intel.com>
26342
26343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26345 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26346 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26347 _mm_alignr_epi8 with _mm_loadu_si128.
26348 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26349 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26350 (__m128i_shift_right): Removed.
26351 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26352 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26353 * sysdeps/x86_64/multiarch/varshift.h: New file.
26354 * sysdeps/x86_64/multiarch/varshift.S: New file.
26355
84b9230c
MF
263562010-08-21 Mike Frysinger <vapier@gentoo.org>
26357
26358 * configure.in: Move assembler checks to before sysdep dir checking.
26359
9bbd0ddc
PB
263602010-08-20 Petr Baudis <pasky@suse.cz>
26361
26362 * LICENSES: Sync the sunrpc license.
26363
9da4bb31
UD
263642010-08-19 Ulrich Drepper <drepper@redhat.com>
26365
a7ab6ec8
UD
26366 * sunrpc/auth_des.c: Update copyright notice once again.
26367 * sunrpc/auth_none.c: Likewise.
26368 * sunrpc/auth_unix.c: Likewise.
26369 * sunrpc/authdes_prot.c: Likewise.
26370 * sunrpc/authuxprot.c: Likewise.
26371 * sunrpc/bindrsvprt.c: Likewise.
26372 * sunrpc/clnt_gen.c: Likewise.
26373 * sunrpc/clnt_perr.c: Likewise.
26374 * sunrpc/clnt_raw.c: Likewise.
26375 * sunrpc/clnt_simp.c: Likewise.
26376 * sunrpc/clnt_tcp.c: Likewise.
26377 * sunrpc/clnt_udp.c: Likewise.
26378 * sunrpc/clnt_unix.c: Likewise.
26379 * sunrpc/des_crypt.c: Likewise.
26380 * sunrpc/des_soft.c: Likewise.
26381 * sunrpc/get_myaddr.c: Likewise.
26382 * sunrpc/getrpcport.c: Likewise.
26383 * sunrpc/key_call.c: Likewise.
26384 * sunrpc/key_prot.c: Likewise.
26385 * sunrpc/openchild.c: Likewise.
26386 * sunrpc/pm_getmaps.c: Likewise.
26387 * sunrpc/pm_getport.c: Likewise.
26388 * sunrpc/pmap_clnt.c: Likewise.
26389 * sunrpc/pmap_prot.c: Likewise.
26390 * sunrpc/pmap_prot2.c: Likewise.
26391 * sunrpc/pmap_rmt.c: Likewise.
26392 * sunrpc/rpc/auth.h: Likewise.
26393 * sunrpc/rpc/auth_unix.h: Likewise.
26394 * sunrpc/rpc/clnt.h: Likewise.
26395 * sunrpc/rpc/des_crypt.h: Likewise.
26396 * sunrpc/rpc/key_prot.h: Likewise.
26397 * sunrpc/rpc/netdb.h: Likewise.
26398 * sunrpc/rpc/pmap_clnt.h: Likewise.
26399 * sunrpc/rpc/pmap_prot.h: Likewise.
26400 * sunrpc/rpc/pmap_rmt.h: Likewise.
26401 * sunrpc/rpc/rpc.h: Likewise.
26402 * sunrpc/rpc/rpc_des.h: Likewise.
26403 * sunrpc/rpc/rpc_msg.h: Likewise.
26404 * sunrpc/rpc/svc.h: Likewise.
26405 * sunrpc/rpc/svc_auth.h: Likewise.
26406 * sunrpc/rpc/types.h: Likewise.
26407 * sunrpc/rpc/xdr.h: Likewise.
26408 * sunrpc/rpc_clntout.c: Likewise.
26409 * sunrpc/rpc_cmsg.c: Likewise.
26410 * sunrpc/rpc_common.c: Likewise.
26411 * sunrpc/rpc_cout.c: Likewise.
26412 * sunrpc/rpc_dtable.c: Likewise.
26413 * sunrpc/rpc_hout.c: Likewise.
26414 * sunrpc/rpc_main.c: Likewise.
26415 * sunrpc/rpc_parse.c: Likewise.
26416 * sunrpc/rpc_parse.h: Likewise.
26417 * sunrpc/rpc_prot.c: Likewise.
26418 * sunrpc/rpc_sample.c: Likewise.
26419 * sunrpc/rpc_scan.c: Likewise.
26420 * sunrpc/rpc_scan.h: Likewise.
26421 * sunrpc/rpc_svcout.c: Likewise.
26422 * sunrpc/rpc_tblout.c: Likewise.
26423 * sunrpc/rpc_util.c: Likewise.
26424 * sunrpc/rpc_util.h: Likewise.
26425 * sunrpc/rpcinfo.c: Likewise.
26426 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26427 * sunrpc/rpcsvc/key_prot.x: Likewise.
26428 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26429 * sunrpc/rpcsvc/mount.x: Likewise.
26430 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26431 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26432 * sunrpc/rpcsvc/rex.x: Likewise.
26433 * sunrpc/rpcsvc/rstat.x: Likewise.
26434 * sunrpc/rpcsvc/rusers.x: Likewise.
26435 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26436 * sunrpc/rpcsvc/spray.x: Likewise.
26437 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26438 * sunrpc/rtime.c: Likewise.
26439 * sunrpc/svc.c: Likewise.
26440 * sunrpc/svc_auth.c: Likewise.
26441 * sunrpc/svc_authux.c: Likewise.
26442 * sunrpc/svc_raw.c: Likewise.
26443 * sunrpc/svc_run.c: Likewise.
26444 * sunrpc/svc_simple.c: Likewise.
26445 * sunrpc/svc_tcp.c: Likewise.
26446 * sunrpc/svc_udp.c: Likewise.
26447 * sunrpc/svc_unix.c: Likewise.
26448 * sunrpc/svcauth_des.c: Likewise.
26449 * sunrpc/xcrypt.c: Likewise.
26450 * sunrpc/xdr.c: Likewise.
26451 * sunrpc/xdr_array.c: Likewise.
26452 * sunrpc/xdr_float.c: Likewise.
26453 * sunrpc/xdr_mem.c: Likewise.
26454 * sunrpc/xdr_rec.c: Likewise.
26455 * sunrpc/xdr_ref.c: Likewise.
26456 * sunrpc/xdr_sizeof.c: Likewise.
26457 * sunrpc/xdr_stdio.c: Likewise.
26458
9da4bb31
UD
26459 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26460 handling.
26461
bdaa77bc
AS
264622010-08-19 Andreas Schwab <schwab@redhat.com>
26463
26464 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26465
fe2f79db
LM
264662010-08-19 Luis Machado <luisgpm@br.ibm.com>
26467
26468 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26469 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26470 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26471 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26472 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26473 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26474 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26475 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26476 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26477 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26478 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26479 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26480 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26481 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26482
b9b42ee0
AB
264832010-07-26 Anton Blanchard <anton@samba.org>
26484
26485 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26486 * malloc/arena.c (heap_trim): Likewise.
26487
1c06ba31
UD
264882010-08-16 Ulrich Drepper <drepper@redhat.com>
26489
26490 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26491 here. Not...
26492 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26493 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26494
f8392f40
L
264952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26496
26497 * sysdeps/i386/elf/Makefile: New file.
26498
3162f12e
AS
264992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26500
26501 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26502 from fanotify_init.
26503 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26504 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26505
28c90b2c
UD
265062010-08-15 Ulrich Drepper <drepper@redhat.com>
26507
26508 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26509 of strncasecmp_l.
1feccb6c 26510 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26511
ca6bb004
UD
265122010-08-14 Ulrich Drepper <drepper@redhat.com>
26513
e9f82e0d
UD
26514 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26515 strncase_l-nonascii.
26516 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26517 Add strncase_l-ssse3.
26518 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26519 * sysdeps/x86_64/strcmp.S: Likewise.
26520 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26521 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26522 * sysdeps/x86_64/strncase.S: New file.
26523 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26524 * sysdeps/x86_64/strncase_l.S: New file.
26525 * string/Makefile (strop-tests): Add strncasecmp.
26526 * string/test-strncasecmp.c: New file.
26527
26528 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26529 warning.
26530
ca6bb004
UD
26531 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26532 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26533
052fa7b3
AS
265342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26535
26536 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26537
962dba78
UD
265382010-08-12 Ulrich Drepper <drepper@redhat.com>
26539
26540 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26541 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26542 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26543
bebff237
AM
265442010-05-01 Alan Modra <amodra@gmail.com>
26545
26546 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26547 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26548 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26549 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26550 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26551 tidying. Don't tail-call __sigjmp_save for static lib.
26552 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26553 save location.
26554 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26555 (CALL_MCOUNT): Add eh info, and nop after bl.
26556 (TAIL_CALL_SYSCALL_ERROR): New macro.
26557 (PSEUDO_RET): Use it.
26558 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26559 Correct save location of integer regs and cr.
26560 (_dl_profile_resolve): Correct cr save location. Delete nops
26561 after bl when SHARED. Reduce cfi size a little by better
26562 placement of cfi directives.
26563 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26564 make a stack frame. Instead use parm save area as a temp.
26565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26566 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26568 Don't make a stack frame for parent, use parm save area.
26569 Increase child stack frame to 112 bytes. Don't save unused reg,
26570 and adjust reg usage. Set up cfi on error recovery and
26571 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26573 (__makecontext): Add dummy nop after jump to exit.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26575 Use correct parm save area and cr save, reduce stack frame.
26576 Correct cfi for possible PSEUDO_RET frame setup.
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26578 Branch to local label emitted by PSEUDO_RET rather than
26579 __syscall_error.
26580
02637374
AS
265812010-08-12 Andreas Schwab <schwab@redhat.com>
26582
26583 [BZ #11904]
26584 * locale/programs/locale.c (print_assignment): New function.
26585 (show_locale_vars): Use it.
26586
c3e2f19b
UD
265872010-08-11 Ulrich Drepper <drepper@redhat.com>
26588
3cdaa6ad
UD
26589 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26590 field.
26591 (struct statfs64): Likewise.
26592 (_STATFS_F_FLAGS): Define.
26593 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26595 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26596 (ST_VALID): Define locally.
26597 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26598 __statvfs_getflags, use the provided value.
26599 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26600 __ASSUME_STATFS_F_FLAGS.
26601
754f7da3
UD
26602 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26603
10b3bedc
UD
26604 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26605 Add sys/fanotify.h.
26606 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26607 fanotify_mask for GLIBC_2.13.
26608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26609 fanotify_init and fanotify_mark.
26610 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26611 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26612
c08fb0d7
UD
26613 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26614 Add prlimit.
26615 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26616 prlimit64 for GLIBC_2.13.
26617 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26618 prlimit64.
26619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26620 syscall.
26621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26622 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26623 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26624 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26625 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26626 add prlimit alias.
26627 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26628
15bac72b
UD
26629 [BZ #11903]
26630 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26631 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26632
c3e2f19b
UD
26633 * nss/Makefile: Add rules to build and run tst-nss-test1.
26634 * shlib-versions: Add entry for libnss_test1.
26635 * nss/nss_test1.c: New file.
26636 * nss/tst-nss-test1.c: New file.
26637
26638 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26639 (__nss_configure_lookup): Set appropriate entry in
26640 __nss_configure_lookup to true.
26641 * nss/nsswitch.h: Define enum with indeces of databases in
26642 databases and __nss_database_custom arrays. Declare
26643 __nss_database_custom.
26644 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26645 to avoid using nscd when custom rules are installed.
26646 * nss/getXXbyYY_r.c: Likewise.
26647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26648
26649 * nss/nss_files/files-parse.c: Whitespace fixes.
26650
f15ce4d8
UD
266512010-08-09 Ulrich Drepper <drepper@redhat.com>
26652
26653 [BZ #11883]
26654 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26655 * posix/fnmatch_loop.c: Likewise.
26656
d22e4cc9
AK
266572010-07-17 Andi Kleen <ak@linux.intel.com>
26658
26659 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26660 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26661 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26662 * Versions.def [GLIBC_2.13]: Add.
26663
805bc17d
UD
266642010-08-06 Ulrich Drepper <drepper@redhat.com>
26665
26666 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26667 Also fail if tpwd after pwuid call is NULL.
26668
5a42321d
ST
266692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26670
26671 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26672 when converting to ms.
26673
fd3ebeda
ST
266742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26675
26676 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26677 EOPNOTSUPP errors with ENOTTY.
26678 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26679 EOPNOTSUPP errors with ENOTTY.
26680
73507d3a
UD
266812010-07-31 Ulrich Drepper <drepper@redhat.com>
26682
26683 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26684 Add strcasecmp_l-ssse3.
26685 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26686 strcasecmp.
26687 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26688 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26689 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26690
fe36dd02
UD
266912010-07-30 Ulrich Drepper <drepper@redhat.com>
26692
66f6765a
UD
26693 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26694
42e08a54
UD
26695 * string/Makefile (strop-tests): Add strcasecmp.
26696 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26697 strcasecmp_l-nonascii.
26698 (gen-as-const-headers): Add locale-defines.sym.
26699 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26700 * sysdeps/x86_64/strcasecmp.S: New file.
26701 * sysdeps/x86_64/strcasecmp_l.S: New file.
26702 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26703 * sysdeps/x86_64/locale-defines.sym: New file.
26704 * string/test-strcasecmp.c: New file.
26705
fe36dd02
UD
26706 * string/test-strcasestr.c: Test both ends of the range of characters.
26707 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26708
48cbc0d6
RM
267092010-07-29 Roland McGrath <roland@redhat.com>
26710
76e6d6bc 26711 [BZ #11856]
48cbc0d6
RM
26712 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26713
880113d9
UD
267142010-07-27 Ulrich Drepper <drepper@redhat.com>
26715
26716 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26717 for ld.so.
26718
deb9cabb
AS
267192010-07-27 Andreas Schwab <schwab@redhat.com>
26720
26721 * manual/memory.texi (Malloc Tunable Parameters): Document
26722 M_PERTURB.
26723
1c7570ff
RM
267242010-07-26 Roland McGrath <roland@redhat.com>
26725
26726 [BZ #11840]
26727 * configure.in (-fgnu89-inline check): Set and substitute
26728 gnu89_inline, not libc_cv_gnu89_inline.
26729 * configure: Regenerated.
26730 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26731
24fb0f88
UD
267322010-07-26 Ulrich Drepper <drepper@redhat.com>
26733
26734 * string/test-strnlen.c: New file.
26735 * string/Makefile (strop-tests): Add strnlen.
26736 * string/tester.c (test_strnlen): Add a few more test cases.
26737 * string/tst-strlen.c: Better error reporting.
26738
26739 * sysdeps/x86_64/strnlen.S: New file.
26740
8e96b93a
UD
267412010-07-24 Ulrich Drepper <drepper@redhat.com>
26742
26743 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26744 lower-latency instructions.
26745
dbc676d4
UD
267462010-07-23 Ulrich Drepper <drepper@redhat.com>
26747
26748 * string/test-strcasestr.c: New file.
26749 * string/test-strstr.c: New file.
26750 * string/Makefile (strop-tests): Add strstr and strcasestr.
26751 * string/str-two-way.h: Don't undefine MAX.
26752 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26753
f6a31e0e
AS
267542010-07-21 Andreas Schwab <schwab@redhat.com>
26755
26756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26757 strcasestr-nonascii.
26758 (CFLAGS-strcasestr-nonascii.c): Define.
26759 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26760 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26761 Remove unused attribute.
26762
5dbc3b6c
RM
267632010-07-20 Roland McGrath <roland@redhat.com>
26764
26765 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26766 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26767 ld.so.cache was broken. With it, there is no way to disable dsocaps
26768 like LD_HWCAP_MASK can disable hwcaps.
26769
23d101d8
EPM
267702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26771
26772 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26773
cc9f2e47
UD
267742010-07-16 Ulrich Drepper <drepper@redhat.com>
26775
26776 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26777 call in strcasestr.
26778 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26779 __strcasestr_sse42_nonascii.
26780 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26781 strcasestr-nonascii.c.
26782 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26783
77c1b069
LM
267842010-06-15 Luis Machado <luisgpm@br.ibm.com>
26785
26786 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26787 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26788 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26789 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26790
440566c3
UD
267912010-07-09 Ulrich Drepper <drepper@redhat.com>
26792
26793 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26794 fcntl.
26795
5be9d05d
AS
267962010-07-06 Andreas Schwab <schwab@redhat.com>
26797
c30b7ee2 26798 [BZ #11577]
5be9d05d
AS
26799 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26800 dl_signal_cerror.
26801
8a492a67
UD
268022010-07-06 Ulrich Drepper <drepper@redhat.com>
26803
26804 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26805 _PC_PIPE_BUF using F_GETPIPE_SZ.
26806
713df3d5
RM
268072010-07-05 Roland McGrath <roland@redhat.com>
26808
26809 * manual/arith.texi (Rounding Functions): Fix rint description
26810 implicit in round description.
26811
702e8f14
UD
268122010-07-02 Ulrich Drepper <drepper@redhat.com>
26813
26814 * elf/Makefile: Fix linking for a few tests to make recent linker
26815 happy.
26816
52ed8be9
AS
268172010-06-30 Andreas Schwab <schwab@redhat.com>
26818
26819 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26820 $(common-objpfx)libc_nonshared.a.
26821
f47c9a11
LM
268222010-06-21 Luis Machado <luisgpm@br.ibm.com>
26823
26824 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26825 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26826 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26827 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26828 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26829 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26830 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26831 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26846 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26847 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26848 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26849 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26850 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26851 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26852 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26853 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26854 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26855 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26856 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26857 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26872
6fb8cbcb
L
268732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26874
26875 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26876 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26877 * string/memmove.c (memmove): Renamed to ...
26878 (MEMMOVE): ...this. Default to memmove.
26879 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26880 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26881 (END_CHK): Define.
26882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26883 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26884 mempcpy-ssse3-back memmove-ssse3-back.
26885 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26887 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26888 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26889 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26890 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26891 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26892 * sysdeps/x86_64/multiarch/memmove.c: New file.
26893 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26894 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26895 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26896 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26897 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26898 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26899 Define.
26900 (index_Fast_Copy_Backward): Define.
26901 (HAS_ARCH_FEATURE): Define.
26902 (HAS_FAST_REP_STRING): Define.
26903 (HAS_FAST_COPY_BACKWARD): Define.
26904
4e733bac 269052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26906
26907 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26908 Restore proper fallback handling.
26909
63c4ed22
UD
269102010-06-19 Ulrich Drepper <drepper@redhat.com>
26911
ac2b484c
UD
26912 [BZ #11701]
26913 * posix/group_member.c (__group_member): Correct checking loop.
26914
63c4ed22
UD
26915 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26916 OOM in getpwuid_r correctly. Return error number when the caller
26917 should return, otherwise -1.
26918 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26919 call returning > 0 value.
26920 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26921
765ade4b
AS
269222010-06-07 Andreas Schwab <schwab@redhat.com>
26923
26924 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26925 libc_nonshared.a from targets in modules-names.
26926
80da2e09
KS
269272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26928
26929 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26930 requires it.
26931
158db122
LM
269322010-06-10 Luis Machado <luisgpm@br.ibm.com>
26933
26934 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26935 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26936 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26938
caa78cf8
AS
269392010-06-02 Andreas Schwab <schwab@redhat.com>
26940
26941 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26942
b2ef2c01
UD
269432010-06-14 Ulrich Drepper <drepper@redhat.com>
26944
26945 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26946 and F_GETPIPE_SZ.
26947 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26951 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26952 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26953
fbd643b6
RM
269542010-06-14 Roland McGrath <roland@redhat.com>
26955
26956 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26957
f32f2869
JJ
269582010-06-07 Jakub Jelinek <jakub@redhat.com>
26959
26960 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26961 __REDIRECT followed by __THROW.
26962 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26963 * posix/getopt.h (getopt): Likewise.
26964
2a50c078
EPM
269652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26966
26967 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26968 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26969 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26970 in AT_FLAGS.
26971 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26972 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26973
eb5ad2eb
LM
269742010-05-28 Luis Machado <luisgpm@br.ibm.com>
26975
26976 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26977
3c88fe1e
L
269782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26979
26980 [BZ #11640]
26981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26982 Properly check family and model.
26983
d2f73151
TY
269842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26985
26986 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26987
ebd2e13d
LM
269882010-05-24 Luis Machado <luisgpm@br.ibm.com>
26989
26990 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26991
b32b8b45
UD
269922010-05-21 Ulrich Drepper <drepper@redhat.com>
26993
26994 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26995 symbol reference.
26996
9acbe24d
AS
269972010-05-19 Andreas Schwab <schwab@redhat.com>
26998
26999 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27000 symbol reference.
27001
f0ccf6ea
AS
270022010-05-21 Andreas Schwab <schwab@redhat.com>
27003
3d04ff3a
AS
27004 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27005 and internal_recvmmsg.
27006 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27007 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27008 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27009 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27010
f0ccf6ea
AS
27011 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27012 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27013 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27014
5b08ac57
AS
270152010-05-20 Andreas Schwab <schwab@redhat.com>
27016
27017 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27018
4828935d
LM
270192010-05-17 Luis Machado <luisgpm@br.ibm.com>
27020
27021 POWER7 optimizations.
27022 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27023 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27024
373d545e
UD
270252010-05-19 Ulrich Drepper <drepper@redhat.com>
27026
27027 * version.h: Update for 2.13 development version.
27028
21a2b1ae
AS
270292010-05-12 Andrew Stubbs <ams@codesourcery.com>
27030
27031 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27032 exceptions. Return 0.
27033
3f7dcb2b
RM
270342010-05-07 Roland McGrath <roland@redhat.com>
27035
27036 * elf/ldconfig.c (main): Add a const.
27037
5f24d53a 270382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27039
a160f8d8
UD
27040 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27041 (args_options): Add no-idn option.
27042 (ahosts_keys_int): Add idn_flags to ai_flags.
27043 (parse_option): Handle 'i' option to clear idn_flags.
27044
5f24d53a
UD
27045 * malloc/malloc.c (_int_free): Possible race in the most recently
27046 added check. Only act on the data if no current modification
27047 happened.
265bb1ce
UD
27048
27049See ChangeLog.17 for earlier changes.
This page took 3.454898 seconds and 5 git commands to generate.