]> sourceware.org Git - glibc.git/blame - ChangeLog
Include atomic.h in generic lowlevellock.c.
[glibc.git] / ChangeLog
CommitLineData
54206aa6
JM
12013-03-13 Joseph Myers <joseph@codesourcery.com>
2
3 * timezone/zic.c: Update from tzcode 2013b.
4
e98cdb38
CD
52013-03-12 Carlos O'Donell <carlos@redhat.com>
6
7 * manual/install.texi (Configuring and compiling):
8 Mention i686 and i586.
9 * INSTALL: Regenerate.
10
9967e003
RM
112013-03-12 Roland McGrath <roland@hack.frob.com>
12
13 * sysdeps/init_array/elf-init.c: New file.
14 * csu/elf-init.c
15 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17
18 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19 __gmon_start__ as global, but as static with a .preinit_array pointer.
20 * sysdeps/init_array/gmon-start.c: New file. Use that.
21 * sysdeps/init_array/crti.S: New file, empty except for comments.
22 * sysdeps/init_array/crtn.S: Likewise.
23
e6b5a293 242013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25
26 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27 definining bcopy.
80f844c9
OB
28 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29 Remove Prefer_SSE_for_memop.
30 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
33 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34 memset-x86-64.
80f844c9 35 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 36 Remove bzero, memset ifunc support.
80f844c9
OB
37 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41
fb6b0fcb
AS
422013-03-11 Andreas Schwab <schwab@suse.de>
43
44 [BZ #15234]
45 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46 by SHLIB_COMPAT.
47 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48 (GLIBC_2.16): Remove pthread_atfork.
49
3e6bd4b1
PP
502013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
51
52 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53 (ptestcases.h): Likewise.
54
222d7f00
RM
552013-03-08 Roland McGrath <roland@hack.frob.com>
56
57 * Makeconfig ($(common-objpfx)config.status): Depend on
58 sysdeps/*/preconfigure{,.in} too.
59
1ba4f030
JM
602013-03-08 Joseph Myers <joseph@codesourcery.com>
61
a222d91a
JM
62 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63 (__free_hook): Use void * instead of __malloc_ptr_t.
64 (__malloc_hook): Likewise.
65 (__realloc_hook): Likewise.
66 (__memalign_hook): Likewise.
67 (__after_morecore_hook): Likewise.
68 * malloc/arena.c (save_malloc_hook): Likewise.
69 (save_free_hook): Likewise.
70 * malloc/hooks.c (malloc_hook_ini): Likewise.
71 (realloc_hook_ini): Likewise.
72 (memalign_hook_ini): Likewise.
73 * malloc/malloc.c (malloc_hook_ini): Likewise.
74 (realloc_hook_ini): Likewise.
75 (memalign_hook_ini): Likewise.
76 (__free_hook): Likewise.
77 (__malloc_hook): Likewise.
78 (__realloc_hook): Likewise.
79 (__memalign_hook): Likewise.
80 (__libc_malloc): Likewise.
81 (__libc_free): Likewise.
82 (__libc_realloc): Likewise.
83 (__libc_memalign): Likewise.
84 (__libc_valloc): Likewise.
85 (__libc_pvalloc): Likewise.
86 (__libc_calloc): Likewise.
87 (__posix_memalign): Likewise.
88 * malloc/morecore.c (__sbrk): Likewise.
89 (__default_morecore): Likewise.
90
5cc45e10
JM
91 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
92
dd54b864
JM
93 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
94 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
95 __malloc_ptrdiff_t.
96
1ba4f030
JM
97 * malloc/malloc.h (__malloc_size_t): Remove macro.
98 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
99 __malloc_size_t.
100 (old_memalign_hook): Likewise.
101 (old_realloc_hook): Likewise.
102 (struct hdr): Likewise.
103 (flood): Likewise.
104 (mallochook): Likewise.
105 (memalignhook): Likewise.
106 (reallochook): Likewise.
107 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
108 (tr_old_realloc_hook): Likewise.
109 (tr_old_memalign_hook): Likewise.
110 (tr_mallochook): Likewise.
111 (tr_reallochook): Likewise.
112 (tr_memalignhook): Likewise.
113
edf66e57
AZ
1142013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
115
116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
117 default_ldbl_pack and using as default implementation.
118 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
119 implementation.
120 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
121 redundant definition.
122 (ldbl_insert_mantissa): Likewise.
123 (ldbl_canonicalize): Likewise.
124 (ldbl_nearbyint): Likewise.
125 (ldbl_pack): Rename to ldbl_pack_ppc.
126 (ldbl_unpack): Rename to ldbl_unpack_ppc.
127 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
128 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
129
6d9145d8
SP
1302013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
131
132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
133 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
134 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
135 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
137 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
138 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
139 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
140
4dd4e157
AJ
1412013-03-07 Andreas Jaeger <aj@suse.de>
142
143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
144 bits/mman-linux.h.
145
adbb8027
SP
1462013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
147
ce544b5b
SP
148 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
149 Include mpa.h and declare __MPEXP.
150 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
151 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
152 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
153 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
154 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
155 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
156 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
157
4cc149fd
SP
158 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
159 (__slowpow): Use long double EXPL and LOGL functions to
160 compute POW.
161 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
162 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
163 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
164 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
165 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
166 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
167
e6ebd4a7
SP
168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
169 intermediate variable to calculate exponent.
170 (__sqr): Likewise.
171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
172 Likewise.
173 (__sqr): Likewise.
174
82a9811d
SP
175 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
176 [!NO__SQR]: Define __sqr.
177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
178 and NO__SQR. Remove all code except __mul and __sqr. Include
179 sysdeps/ieee754/dbl-64/mpa.c.
180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
181
adbb8027
SP
182 [BZ #12723]
183 * posix/Makefile (tests): Add tst-pathconf.
184 * posix/tst-pathconf.c: New test case.
185 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
186 _PC_PIPE_BUF.
187 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
188
39120df9
PF
1892013-03-06 Patsy Franklin <pfrankli@redhat.com>
190
191 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
192
67525cb8
AJ
1932013-03-06 Andreas Jaeger <aj@suse.de>
194
664a9ce4
AJ
195 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
196 definition via __MAP_ANONYMOUS.
197
8e39047d
AJ
198 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
199 it's not part of Linux headers.
200
67525cb8
AJ
201 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
202 (MAP_HUGE_MASK): Define.
203
204 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
205 Define.
206 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
208 Define.
209 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
210 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
211 Define.
212 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
213 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
214 Define.
215 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
216
217 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
218 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
219 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
220 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
221 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
222 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
223
224 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
225 Handle f2fs.
226
227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
228 Handle f2fs and efivarfs.
229
230 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
231 f2fs.
232
233 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
234 (EFIVARFS_MAGIC): Add.
235 (F2FS_LINK_MAX): Add.
236
e1b42695
PP
2372013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
238
239 * stdio-common/vfprintf.c: Replace __builtin_expect with
240 __glibc_unlikely.
241
2d67d91a
JM
2422013-03-06 Joseph Myers <joseph@codesourcery.com>
243
244 [BZ #13550]
245 * sysdeps/generic/bp-sym.h: Remove file.
246 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
247 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
248 <bp-sym.h> and <bp-asm.h>.
249 (__longjmp): Don't use BP_SYM.
250 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
251 and <bp-asm.h>.
252 (memcpy): Don't use BP_SYM.
253 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
254 <bp-sym.h> and <bp-asm.h>.
255 (memcpy): Don't use BP_SYM.
256 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
257 <bp-asm.h>.
258 (memcpy): Don't use BP_SYM.
259 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
260 <bp-asm.h>.
261 (memset): Don't use BP_SYM.
262 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
263 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
264 (__bzero): Don't use BP_SYM.
265 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
266 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
267 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
268 <bp-sym.h> and <bp-asm.h>.
269 (memcmp): Don't use BP_SYM. Remove comment about bounded
270 pointers.
271 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
272 <bp-sym.h> and <bp-asm.h>.
273 (memcpy): Don't use BP_SYM.
274 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
275 <bp-sym.h> and <bp-asm.h>.
276 (memset): Don't use BP_SYM.
277 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
278 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
279 (__bzero): Don't use BP_SYM.
280 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
281 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
282 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
283 <bp-sym.h> and <bp-asm.h>.
284 (strncmp): Don't use BP_SYM. Remove comment about bounded
285 pointers.
286 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
287 <bp-sym.h> and <bp-asm.h>.
288 (memcpy): Don't use BP_SYM.
289 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
290 <bp-sym.h> and <bp-asm.h>.
291 (memset): Don't use BP_SYM.
292 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
293 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
294 (__bzero): Don't use BP_SYM.
295 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
296 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
297 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
298 <bp-sym.h> and <bp-asm.h>.
299 (__memchr): Don't use BP_SYM.
300 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
301 <bp-sym.h> and <bp-asm.h>.
302 (memcmp): Don't use BP_SYM. Remove comment about bounded
303 pointers.
304 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
305 <bp-sym.h> and <bp-asm.h>.
306 (memcpy): Don't use BP_SYM.
307 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
308 <bp-sym.h> and <bp-asm.h>.
309 (__mempcpy): Don't use BP_SYM.
310 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
311 <bp-sym.h> and <bp-asm.h>.
312 (__memrchr): Don't use BP_SYM.
313 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
314 <bp-sym.h> and <bp-asm.h>.
315 (memset): Don't use BP_SYM.
316 (__bzero): Likewise.
317 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
318 <bp-sym.h> and <bp-asm.h>.
319 (__rawmemchr): Don't use BP_SYM.
320 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
321 <bp-sym.h> and <bp-asm.h>.
322 (__STRCMP): Don't use BP_SYM.
323 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
324 <bp-sym.h> and <bp-asm.h>.
325 (strchr): Don't use BP_SYM.
326 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
327 <bp-sym.h> and <bp-asm.h>.
328 (__strchrnul): Don't use BP_SYM.
329 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
330 <bp-sym.h> and <bp-asm.h>.
331 (strlen): Don't use BP_SYM.
332 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
333 <bp-sym.h> and <bp-asm.h>.
334 (strncmp): Don't use BP_SYM. Remove comment about bounded
335 pointers.
336 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
337 <bp-sym.h> and <bp-asm.h>.
338 (__strnlen): Don't use BP_SYM.
339 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
340 <bp-sym.h> and <bp-asm.h>.
341 (__GI__setjmp): Don't use BP_SYM.
342 (_setjmp): Likewise.
343 (__sigsetjmp): Likewise.
344 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
345 (L(start_addresses)): Don't use BP_SYM.
346 (_start): Likewise.
347 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
348 <bp-asm.h>.
349 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
350 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
351 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
352 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
353 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
354 <bp-asm.h>.
355 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
356 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
357 about bounded pointers.
358 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
359 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
360 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
361 <bp-asm.h>.
362 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
363 about bounded pointers. Remove GKM FIXME comments.
364 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
365 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
366 <bp-asm.h>.
367 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
368 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
369 Remove GKM FIXME comments.
370 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
371 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
372 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
373 <bp-asm.h>.
374 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
375 about bounded pointers. Remove GKM FIXME comment.
376 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
377 and <bp-asm.h>.
378 (strncmp): Don't use BP_SYM. Remove comment about bounded
379 pointers.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
381 <bp-sym.h> and <bp-asm.h>.
382 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
384 <bp-sym.h> and <bp-asm.h>.
385 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
386 comment.
387
cdcf361f
PP
3882013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
389
390 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
391 call free(NULL).
392
3c4a2b15
DM
3932013-03-05 David S. Miller <davem@davemloft.net>
394
395 * po/es.po: Update from translation team.
396
cdcf361f 3972013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
398
399 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
400 <bits/mman-linux.h>.
401 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
402 is fine.
403 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
404 <bits/mman-linux.h> to end of file.
405 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
406 is fine.
407 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
408 <bits/mman-linux.h> to end of file.
409 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
410 is fine.
411 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
412 <bits/mman-linux.h> to end of file.
413
414 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
415 (MCL_CURRENT, MCL_FUTURE): Define here.
416
5f67c04f
AK
4172013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
418
8a4473cc 419 [BZ #15232]
5f67c04f
AK
420 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
421 attribute_hidden.
422 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
423
c3e94a95
AK
4242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
425
426 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
427 fourth parameter needed for rt_sigprocmask syscall.
428 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
429 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
430 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
431 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
432 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
433 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
434
cfb6382a
JM
4352013-03-04 Joseph Myers <joseph@codesourcery.com>
436
437 [BZ #13550]
438 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
439 comment about bounded pointers.
440 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
441 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
442
539d8e01
AJ
4432013-03-04 Andreas Jaeger <aj@suse.de>
444
445 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
446 common definitions.
447
448 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
449 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
450 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
451 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
452 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
453 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
454
2e167a70 4552013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
456
457 [BZ #15055]
458 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
459 __ieee754_sqrl instead of __sqrl.
460
68508633
JM
4612013-03-01 Joseph Myers <joseph@codesourcery.com>
462
463 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
464 * sysdeps/powerpc/fpu_control.h: ... here.
465 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
466 * sysdeps/powerpc/bits/fenvinline.h: ... here.
467 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
468 * sysdeps/powerpc/bits/mathinline.h: ... here.
469
7775448e
RM
4702013-03-01 Roland McGrath <roland@hack.frob.com>
471
472 * elf/dl-hwcaps.c (_dl_important_hwcaps):
473 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
474 to just [NEED_DL_SYSINFO_DSO].
475 * elf/dl-support.c: Likewise.
476 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
477 * elf/rtld.c (dl_main): Likewise.
478 * elf/setup-vdso.h (setup_vdso): Likewise.
479 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
480 * sysdeps/unix/sysv/linux/dl-sysdep.c
481 (_dl_discover_osversion): Likewise.
482
4e9b5995
CD
4832013-03-01 Carlos O'Donell <carlos@redhat.com>
484
485 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
486 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
487
e23872c8
SP
4882013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
489
e5c74c63
SP
490 * NEWS: Mention libm performance improvements and non-x86 PI
491 futex support.
492
e23872c8
SP
493 * csu/libc-start.c (__pthread_initialize_minimal): Change
494 function arguments.
495 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
496
b5510883
JM
4972013-02-28 Joseph Myers <joseph@codesourcery.com>
498
499 [BZ #13550]
500 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
501 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
502 <bp-sym.h> and <bp-asm.h>.
503 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
504 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
505 and <bp-asm.h>.
506 (memcpy): Don't use BP_SYM.
507 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
508 <bp-asm.h>.
509 (__mpn_add_n): Don't use BP_SYM.
510 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
511 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
512 and <bp-asm.h>.
513 (__mpn_addmul_1): Don't use BP_SYM.
514 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
515 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
516 <bp-sym.h>.
517 (_setjmp): Don't use BP_SYM.
518 (__novmx_setjmp): Likewise.
519 (__GI__setjmp): Likewise.
520 (__vmx_setjmp): Likewise.
521 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
522 <bp-sym.h>.
523 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
524 (__bzero): Don't use BP_SYM.
525 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
526 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
527 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
528 <bp-sym.h> and <bp-asm.h>.
529 (memcpy): Don't use BP_SYM.
530 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
531 <bp-sym.h> and <bp-asm.h>.
532 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
533 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
534 <bp-sym.h> and <bp-asm.h>.
535 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
536 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
537 <bp-asm.h>.
538 (__mpn_lshift): Don't use BP_SYM.
539 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
540 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
541 <bp-asm.h>.
542 (memset): Don't use BP_SYM.
543 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
544 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
545 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
546 <bp-asm.h>.
547 (__mpn_mul_1): Don't use BP_SYM.
548 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
549 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
550 <bp-sym.h> and <bp-asm.h>.
551 (memcmp): Don't use BP_SYM.
552 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
553 <bp-sym.h> and <bp-asm.h>.
554 (memcpy): Don't use BP_SYM.
555 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
556 <bp-sym.h> and <bp-asm.h>.
557 (memset): Don't use BP_SYM.
558 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
559 <bp-sym.h> and <bp-asm.h>.
560 (strncmp): Don't use BP_SYM.
561 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
562 <bp-sym.h> and <bp-asm.h>.
563 (memcpy): Don't use BP_SYM.
564 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
565 <bp-sym.h> and <bp-asm.h>.
566 (memset): Don't use BP_SYM.
567 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
568 <bp-sym.h> and <bp-asm.h>.
569 (__memchr): Don't use BP_SYM.
570 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
571 <bp-sym.h> and <bp-asm.h>.
572 (memcmp): Don't use BP_SYM.
573 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
574 <bp-sym.h> and <bp-asm.h>.
575 (memcpy): Don't use BP_SYM.
576 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
577 <bp-sym.h> and <bp-asm.h>.
578 (__mempcpy): Don't use BP_SYM.
579 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
580 <bp-sym.h> and <bp-asm.h>.
581 (__memrchr): Don't use BP_SYM.
582 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
583 <bp-sym.h> and <bp-asm.h>.
584 (memset): Don't use BP_SYM.
585 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
586 <bp-sym.h> and <bp-asm.h>.
587 (__rawmemchr): Don't use BP_SYM.
588 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
589 <bp-sym.h> and <bp-asm.h>.
590 (__STRCMP): Don't use BP_SYM.
591 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
592 <bp-sym.h> and <bp-asm.h>.
593 (strchr): Don't use BP_SYM.
594 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
595 <bp-sym.h> and <bp-asm.h>.
596 (__strchrnul): Don't use BP_SYM.
597 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
598 <bp-sym.h> and <bp-asm.h>.
599 (strlen): Don't use BP_SYM.
600 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
601 <bp-sym.h> and <bp-asm.h>.
602 (strncmp): Don't use BP_SYM.
603 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
604 <bp-sym.h> and <bp-asm.h>.
605 (__strnlen): Don't use BP_SYM.
606 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
607 <bp-asm.h>.
608 (__mpn_rshift): Don't use BP_SYM.
609 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
610 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
611 <bp-sym.h> and <bp-asm.h>.
612 (__sigsetjmp): Don't use BP_SYM.
613 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
614 (L(start_addresses)): Don't use BP_SYM.
615 (_start): Likewise.
616 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
617 <bp-asm.h>.
618 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
619 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
620 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
621 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
622 <bp-asm.h>.
623 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
624 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
625 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
626 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
627 <bp-asm.h>.
628 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
629 comments.
630 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
631 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
632 <bp-asm.h>.
633 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
634 FIXME comments.
635 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
636 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
637 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
638 <bp-asm.h>.
639 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
640 comment.
641 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
642 and <bp-asm.h>.
643 (strncmp): Don't use BP_SYM,
644 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
645 <bp-asm.h>.
646 (__mpn_sub_n): Don't use BP_SYM.
647 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
648 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
649 and <bp-asm.h>.
650 (__mpn_submul_1): Don't use BP_SYM.
651 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
653 <bp-sym.h> and <bp-asm.h>.
654 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
656 <bp-sym.h> and <bp-asm.h>.
657 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
658 comment.
659
8d19fe64
SP
6602013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
661
662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
663 Use ZK to minimize writes to Z.
664 (sub_magnitudes): Simplify code a bit.
665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
666 Use ZK to minimize writes to Z.
667 (sub_magnitudes): Simplify code a bit.
668
85bd816a
RM
6692013-02-27 Roland McGrath <roland@hack.frob.com>
670
671 * csu/gmon-start.c: Add special exception to license text.
672
b5977bf2
RH
6732013-02-27 Richard Henderson <rth@redhat.com>
674
675 * scripts/config.guess: Update from config.git.
676 * scripts/config.sub: Likewise.
677
11d6e2f2
SP
6782013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
679
09c14ed2
SP
680 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
681
a688864e
SP
682 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
683
6295157a
SP
684 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
685
b8de2202
SP
686 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
687
11d6e2f2
SP
688 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
689
7e80ddb8
RM
6902013-02-26 Roland McGrath <roland@hack.frob.com>
691
692 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
693 [$(build-shared = yes].
7e80ddb8 694
7da6d9ed
SP
6952013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
696
45f05884
SP
697 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
698 (__mul): Reduce iterations for calculating mantissa.
699
2236d359
SP
700 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
701 MPTWO.
702 (__mpranred): Likewise.
703
7da6d9ed
SP
704 [BZ #15160]
705 * malloc/memusagestat.c (main): Draw graphs for heap and stack
706 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
707
b7688c42
PE
7082013-02-26 Paul Eggert <eggert@cs.ucla.edu>
709
710 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
711 Define __attribute__.
712
53a5c423
SP
7132013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
714
715 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
716 unused.
717 * posix/regex_internal.h (__attribute): Remove.
718 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
719 (re_string_context_at): Likewise.
720 (bitset_not): Use __attribute__ and mark function as possibly
721 unused.
722 (bitset_merge): Likewise.
723 (bitset_mask): Likewise.
724 (re_string_char_size_at): Likewise.
725 (re_string_wchar_at): Likewise.
726 (re_string_elem_size_at): Likewise.
727
60f5a8b5
SP
7282013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
729
2a983a2e
SP
730 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
731 code.
732 (cc32): Likewise.
733
e69804d1
SP
734 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
735 (__acr): Likewise.
736 (__cpy): Likewise.
737 (norm): Likewise.
738 (denorm): Likewise.
739 (__dbl_mp): Likewise.
740 (add_magnitudes): Likewise.
741 (sub_magnitudes): Likewise.
742 (__mul): Likewise.
743 (__inv): Likewise.
744
2f22a1e8
SP
745 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
746 style.
747
8930ddc7
SP
748 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
749 style.
750
dc60cb11
SP
751 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
752 code.
753
60f5a8b5
SP
754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
755 up changes with default code.
756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
757 Likewise.
758
b4d1fd33
AM
7592013-02-24 Allan McRae <allan@archlinux.org>
760
faf6f8bc
AM
761 * manual/socket.texi (The Internet Namespace): Order menu items
762 to match that in the file.
763
b4d1fd33
AM
764 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
765 node listing of the info page menu.
766
2366713d
JM
7672013-02-21 Joseph Myers <joseph@codesourcery.com>
768
769 [BZ #13550]
770 * sysdeps/i386/bp-asm.h: Remove file.
771 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
772 (PARMS): Do not use macros from bp-asm.h.
773 (S1): Likewise.
774 (S2): Likewise.
775 (SIZE): Likewise.
776 (__mpn_add_n): Do not use BP_SYM
777 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
778 "bp-asm.h".
779 (PARMS): Do not use macros from bp-asm.h.
780 (S1): Likewise.
781 (SIZE): Likewise.
782 (__mpn_addmul_1): Do not use BP_SYM
783 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
784 "bp-asm.h".
785 (PARMS): Do not use macros from bp-asm.h.
786 (SIGMSK): Likewise.
787 (_setjmp): Likewise. Do not use BP_SYM.
788 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
789 "bp-asm.h".
790 (PARMS): Do not use macros from bp-asm.h.
791 (SIGMSK): Likewise.
792 (setjmp): Likewise. Do not use BP_SYM.
793 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
794 "bp-asm.h".
795 (PARMS): Do not use macros from bp-asm.h.
796 (__frexp): Do not use BP_SYM.
797 (frexp): Likewise.
798 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
799 "bp-asm.h".
800 (PARMS): Do not use macros from bp-asm.h.
801 (__frexpf): Do not use BP_SYM.
802 (frexpf): Likewise.
803 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
804 "bp-asm.h".
805 (PARMS): Do not use macros from bp-asm.h.
806 (__frexpl): Do not use BP_SYM.
807 (frexpl): Likewise.
808 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
809 "bp-asm.h".
810 (PARMS): Do not use macros from bp-asm.h.
811 (__remquo): Do not use BP_SYM.
812 (remquo): Likewise.
813 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
814 "bp-asm.h".
815 (PARMS): Do not use macros from bp-asm.h.
816 (__remquof): Do not use BP_SYM.
817 (remquof): Likewise.
818 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
819 "bp-asm.h".
820 (PARMS): Do not use macros from bp-asm.h.
821 (__remquol): Do not use BP_SYM.
822 (remquol): Likewise.
823 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
824 "bp-asm.h".
825 (PARMS): Do not use macros from bp-asm.h.
826 (DEST): Likewise.
827 (SRC): Likewise.
828 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
829 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
830 "bp-asm.h".
831 (PARMS): Do not use macros from bp-asm.h.
832 (strlen): Do not use BP_SYM.
833 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
834 "bp-asm.h".
835 (PARMS): Do not use macros from bp-asm.h.
836 (S1): Likewise.
837 (S2): Likewise.
838 (SIZE): Likewise.
839 (__mpn_add_n): Do not use BP_SYM.
840 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
841 "bp-asm.h".
842 (PARMS): Do not use macros from bp-asm.h.
843 (S1): Likewise.
844 (SIZE): Likewise.
845 (__mpn_addmul_1): Do not use BP_SYM.
846 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
847 weak_alias.
848 (bzero): Likewise.
849 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
850 "bp-asm.h".
851 (PARMS): Do not use macros from bp-asm.h.
852 (S): Likewise.
853 (SIZE): Likewise.
854 (__mpn_lshift): Do not use BP_SYM.
855 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
856 "bp-asm.h".
857 (PARMS): Do not use macros from bp-asm.h.
858 (DEST): Likewise.
859 (SRC): Likewise.
860 (LEN): Likewise.
861 (memcpy): Likewise. Do not use BP_SYM.
862 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
863 libc_hidden_def and weak_alias.
864 (mempcpy): Do not use BP_SYM in weak_alias.
865 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
866 "bp-asm.h".
867 (PARMS): Do not use macros from bp-asm.h.
868 (DEST): Likewise.
869 (LEN): Likewise.
870 [!BZERO_P] (CHR): Likewise.
871 (memset): Likewise. Do not use BP_SYM.
872 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
873 "bp-asm.h".
874 (PARMS): Do not use macros from bp-asm.h.
875 (S1): Likewise.
876 (SIZE): Likewise.
877 (__mpn_mul_1): Do not use BP_SYM.
878 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
879 "bp-asm.h".
880 (PARMS): Do not use macros from bp-asm.h.
881 (S): Likewise.
882 (SIZE): Likewise.
883 (__mpn_rshift): Do not use BP_SYM.
884 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
885 "bp-asm.h".
886 (PARMS): Do not use macros from bp-asm.h.
887 (STR): Likewise.
888 (CHR): Likewise.
889 (strchr): Likewise. Do not use BP_SYM.
890 (index): Do not use BP_SYM in weak_alias.
891 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
892 "bp-asm.h".
893 (PARMS): Do not use macros from bp-asm.h.
894 (DEST): Likewise.
895 (SRC): Likewise.
896 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
897 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
898 "bp-asm.h".
899 (PARMS): Do not use macros from bp-asm.h.
900 (strlen): Do not use BP_SYM.
901 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
902 "bp-asm.h".
903 (PARMS): Do not use macros from bp-asm.h.
904 (S1): Likewise.
905 (S2): Likewise.
906 (SIZE): Likewise.
907 (__mpn_sub_n): Do not use BP_SYM.
908 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
909 "bp-asm.h".
910 (PARMS): Do not use macros from bp-asm.h.
911 (S1): Likewise.
912 (SIZE): Likewise.
913 (__mpn_submul_1): Do not use BP_SYM.
914 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
915 "bp-asm.h".
916 (PARMS): Do not use macros from bp-asm.h.
917 (S1): Likewise.
918 (S2): Likewise.
919 (SIZE): Likewise.
920 (__mpn_add_n): Do not use BP_SYM.
921 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
922 weak_alias.
923 (bzero): Likewise.
924 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
925 "bp-asm.h".
926 (PARMS): Do not use macros from bp-asm.h.
927 (BLK2): Likewise.
928 (LEN): Likewise.
929 (memcmp): Do not use BP_SYM.
930 (bcmp): Do not use BP_SYM in weak_alias.
931 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
932 "bp-asm.h".
933 (PARMS): Do not use macros from bp-asm.h.
934 (DEST): Likewise.
935 (SRC): Likewise.
936 (LEN): Likewise.
937 (memcpy): Likewise. Do not use BP_SYM.
938 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
939 "bp-asm.h".
940 (PARMS): Do not use macros from bp-asm.h.
941 (DEST): Likewise.
942 (SRC): Likewise.
943 (LEN): Likewise.
944 (memmove): Likewise. Do not use BP_SYM.
945 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
946 "bp-asm.h".
947 (PARMS): Do not use macros from bp-asm.h.
948 (DEST): Likewise.
949 (SRC): Likewise.
950 (LEN): Likewise.
951 (__mempcpy): Likewise. Do not use BP_SYM.
952 (mempcpy): Do not use BP_SYM in weak_alias.
953 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
954 "bp-asm.h".
955 (PARMS): Do not use macros from bp-asm.h.
956 (DEST): Likewise.
957 (LEN): Likewise.
958 [!BZERO_P] (CHR): Likewise.
959 (memset): Likewise. Do not use BP_SYM.
960 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
961 "bp-asm.h".
962 (PARMS): Do not use macros from bp-asm.h.
963 (STR2): Likewise.
964 (strcmp): Do not use BP_SYM.
965 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
966 "bp-asm.h".
967 (PARMS): Do not use macros from bp-asm.h.
968 (STR): Likewise.
969 (DELIM): Likewise.
970 [USE_AS_STRTOK_R] (SAVE): Likewise.
971 (FUNCTION): Likewise. Do not use BP_SYM.
972 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
973 aliases.
974 (strtok_r): Likewise.
975 (__GI___strtok_r): Likewise.
976 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
977 (PARMS): Do not use macros from bp-asm.h.
978 (S): Likewise.
979 (SIZE): Likewise.
980 (__mpn_lshift): Do not use BP_SYM.
981 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
982 (PARMS): Do not use macros from bp-asm.h.
983 (STR): Likewise.
984 (CHR): Likewise.
985 (__memchr): Do not use BP_SYM.
986 (memchr): Do not use BP_SYM in weak_alias.
987 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
988 (PARMS): Do not use macros from bp-asm.h.
989 (BLK2): Likewise.
990 (LEN): Likewise.
991 (memcmp): Do not use BP_SYM.
992 (bcmp): Do not use BP_SYM in weak_alias.
993 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
994 (PARMS): Do not use macros from bp-asm.h.
995 (S1): Likewise.
996 (SIZE): Likewise.
997 (__mpn_mul_1): Do not use BP_SYM.
998 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
999 "bp-asm.h".
1000 (PARMS): Do not use macros from bp-asm.h.
1001 (STR): Likewise.
1002 (CHR): Likewise.
1003 (__rawmemchr): Do not use BP_SYM.
1004 (rawmemchr): Do not use BP_SYM in weak_alias.
1005 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1006 (PARMS): Do not use macros from bp-asm.h.
1007 (S): Likewise.
1008 (SIZE): Likewise.
1009 (__mpn_rshift): Do not use BP_SYM.
1010 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1011 (PARMS): Do not use macros from bp-asm.h.
1012 (SIGMSK): Likewise.
1013 (__sigsetjmp): Likewise. Do not use BP_SYM.
1014 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1015 (_start): Do not use BP_SYM.
1016 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1017 (PARMS): Do not use macros from bp-asm.h.
1018 (DEST): Likewise.
1019 (SRC): Likewise.
1020 (__stpcpy): Likewise. Do not use BP_SYM.
1021 (stpcpy): Do not use BP_SYM in weak_alias.
1022 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1023 "bp-asm.h".
1024 (PARMS): Do not use macros from bp-asm.h.
1025 (DEST): Likewise.
1026 (SRC): Likewise.
1027 (LEN): Likewise.
1028 (__stpncpy): Likewise. Do not use BP_SYM.
1029 (stpncpy): Do not use BP_SYM in weak_alias.
1030 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1031 (PARMS): Do not use macros from bp-asm.h.
1032 (STR): Likewise.
1033 (CHR): Likewise.
1034 (strchr): Likewise. Do not use BP_SYM.
1035 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1036 "bp-asm.h".
1037 (PARMS): Do not use macros from bp-asm.h.
1038 (STR): Likewise.
1039 (CHR): Likewise.
1040 (__strchrnul): Likewise. Do not use BP_SYM.
1041 (strchrnul): Do not use BP_SYM in weak_alias.
1042 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1043 "bp-asm.h".
1044 (PARMS): Do not use macros from bp-asm.h.
1045 (STOP): Likewise.
1046 (strcspn): Do not use BP_SYM.
1047 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1048 "bp-asm.h".
1049 (PARMS): Do not use macros from bp-asm.h.
1050 (STR): Likewise.
1051 (STOP): Likewise.
1052 (strpbrk): Likewise. Do not use BP_SYM.
1053 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1054 "bp-asm.h".
1055 (PARMS): Do not use macros from bp-asm.h.
1056 (STR): Likewise.
1057 (CHR): Likewise.
1058 (strrchr): Likewise. Do not use BP_SYM.
1059 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1060 (PARMS): Do not use macros from bp-asm.h.
1061 (SKIP): Likewise.
1062 (strspn): Do not use BP_SYM.
1063 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1064 (PARMS): Do not use macros from bp-asm.h.
1065 (STR): Likewise.
1066 (DELIM): Likewise.
1067 (SAVE): Likewise.
1068 (FUNCTION): Likewise. Do not use BP_SYM.
1069 * sysdeps/i386/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/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1074 (PARMS): Do not use macros from bp-asm.h.
1075 (S1): Likewise.
1076 (S2): Likewise.
1077 (SIZE): Likewise.
1078 (__mpn_sub_n): Do not use BP_SYM.
1079 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1080 "bp-asm.h".
1081 (PARMS): Do not use macros from bp-asm.h.
1082 (S1): Likewise.
1083 (SIZE): Likewise.
1084 (__mpn_submul_1): Do not use BP_SYM.
1085 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1086 <bp-sym.h>.
1087 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1088 and <bp-asm.h>.
1089 (PARMS): Do not use macros from bp-asm.h.
1090 (FLAGS): Likewise.
1091 (PTID): Likewise.
1092 (TLS): Likewise.
1093 (CTID): Likewise.
1094 (__clone): Do not use BP_SYM.
1095 (clone): Do not use BP_SYM in weak_alias.
1096 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1097 and <bp-asm.h>.
1098 (PARMS): Do not use macros from bp-asm.h.
1099 (LEN): Likewise.
1100 (__mmap64): Do not use BP_SYM.
1101 (mmap64): Do not use BP_SYM in weak_alias.
1102 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1103 <bp-sym.h> and <bp-asm.h>.
1104 (PARMS): Do not use macros from bp-asm.h.
1105 (__posix_fadvise64_l64): Do not use BP_SYM.
1106 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1107 (PARMS): Do not use macros from bp-asm.h.
1108 (NSOPS): Likewise.
1109 (semtimedop): Do not use BP_SYM.
1110 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1111 and <bp-asm.h>.
1112
582a3cff
AM
11132013-02-21 Allan McRae <allan@archlinux.org>
1114
1115 * manual/message.texi (Charset conversion in gettext):
1116 Move @end statement to beginning of line.
1117
bab8a695
SP
11182013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1119
80945231
SP
1120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1121 static.
1122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1123 Likewise.
1124
bab8a695
SP
1125 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1126 (denorm): Likewise.
1127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1129
e21d7aa7
AK
11302013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1131
1132 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1133 tail-call to the resolved function if pltexit isn't needed.
1134
4c7a4263
SP
11352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1136
1137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1138 or Y being zero as being unlikely.
1139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1140 Likewise.
1141
41f49342
CD
11422013-02-20 Carlos O'Donell <carlos@redhat.com>
1143
1144 * manual/nss.texi (System Databases and Name Service Switch):
1145 Remove frobnicate @pxref.
1146
50022a93
TS
11472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1148
1149 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1150 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1151
08cbd996
PM
11522013-02-20 Petr Machata <pmachata@redhat.com>
1153
1154 * elf/elf.h (R_ARM_TARGET1): New macro.
1155 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1156 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1157 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1158 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1159 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1160 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1161 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1162 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1163 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1164 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1165 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1166 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1167 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1168 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1169 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1170 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1171 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1172 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1173 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1174 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1175 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1176 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1177 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1178 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1179 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1180 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1181 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1182 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1183 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1184 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1185 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1186 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1187 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1188 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1189 (R_ARM_THM_GOT_BREL12): Likewise.
1190 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1191 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1192 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1193 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1194 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1195 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1196 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1197 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1198 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1199
c7b275d6
TS
12002013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1201
1202 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1203 __attribute_used__ to __attribute__ ((unused)).
1204
20cd7fb3
SP
12052013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1206
1207 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1208 powerpc mpa.c.
1209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1210 comment formatting.
1211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1212
92945b52
JM
12132013-02-19 Joseph Myers <joseph@codesourcery.com>
1214
1215 [BZ #13550]
1216 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1217 Remove macro.
1218 (ENTER): Remove both macro definitions.
1219 (LEAVE): Likewise.
1220 (CHECK_BOUNDS_LOW): Likewise.
1221 (CHECK_BOUNDS_HIGH): Likewise.
1222 (CHECK_BOUNDS_BOTH): Likewise.
1223 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1224 (RETURN_BOUNDED_POINTER): Likewise.
1225 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1226 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1227 (POP_ERRNO_LOCATION_RETURN): Likewise.
1228 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1229 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1230 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1231 macros.
1232 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1233 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1234 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1235 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1236 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1237 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1238 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1239 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1240 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1241 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1242 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1243 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1244 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1245 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1246 removed macros.
1247 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1248 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1249 macros.
1250 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1251 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1252 * sysdeps/i386/i586/memset.S (memset): Likewise.
1253 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1254 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1255 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1256 macros.
1257 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1258 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1259 Change uses of L(2) to L(out).
1260 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1261 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1262 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1263 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1264 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1265 removed macros.
1266 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1267 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1268 macros.
1269 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1270 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1271 (RETURN): Do not use macro LEAVE.
1272 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1273 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1274 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1275 * sysdeps/i386/i686/memset.S (memset): Likewise.
1276 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1277 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1278 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1279 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1280 Likewise.
1281 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1282 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1283 L(1_2) and L(1_3) into L(1).
1284 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1285 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1286 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1287 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1288 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1289 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1290 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1291 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1292 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1293 macros.
1294 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1295 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1296 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1297 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1298 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1299 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1300 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1301 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1302 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1303 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1304 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1305 * sysdeps/i386/strspn.S (strspn): Likewise.
1306 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1307 conditional code.
1308 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1309 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1310 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1311 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1312 L(1_3) into L(1_1).
1313 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1314 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1315 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1316 macros.
1317 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1318
2389741a
JJ
13192013-02-19 Jakub Jelinek <jakub@redhat.com>
1320
1321 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1322 macro.
1323
2016b3cd
SP
13242013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1325
e4f22324
SP
1326 * math/atest-exp.c (exp_mpn): Remove ROUND.
1327 * math/atest-exp2.c (exp_mpn): Likewise.
1328 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1329
2016b3cd
SP
1330 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1331 * stdlib/tst-tls-atexit-lib.c: Likewise.
1332 * stdlib/tst-tls-atexit.c: Likewise.
1333
4be9b544
MF
13342013-02-18 Mike Frysinger <vapier@gentoo.org>
1335
1336 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1337 and __attribute_alloc_size__.
1338
2f62b9ee
MF
13392013-02-18 Mike Frysinger <vapier@gentoo.org>
1340
1341 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1342 __attribute_alloc_size__.
1343 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1344 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1345
6ff444c4
MF
13462013-02-18 Mike Frysinger <vapier@gentoo.org>
1347
1348 * include/programs/xmalloc.h: New file.
1349 * catgets/gencat.c: Include it.
1350 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1351 * elf/pldd.c: Likewise.
1352 * iconv/iconv_charmap.c: Likewise.
1353 * iconv/iconvconfig.c: Likewise.
1354 * iconv/strtab.c: Likewise.
1355 * locale/programs/locale.c: Likewise.
1356 * locale/programs/localedef.h: Likewise.
1357 * locale/programs/simple-hash.c: Likewise.
1358 * nscd/nscd.h: Likewise.
1359 * nss/makedb.c: Likewise.
1360 * sysdeps/generic/ldconfig.h: Likewise.
1361
be179c8a
SP
13622013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1363
ba384f6e
SP
1364 * Versions.def: Add GLIBC_2.18.
1365 * include/link.h (struct link_map): New member l_tls_dtor_count.
1366 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1367 (__call_tls_dtors): Likewise.
1368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1369 __cxa_thread_atexit_impl.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1371 Likewise.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1373 Likewise.
1374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1375 Likewise.
1376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1377 Likewise.
1378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1380 Likewise.
1381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1382 Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1385 Likewise.
1386 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1387 (tests): Add test case tst-tls-atexit.
1388 (modules-names): Add shared library for tst-tls-atexit.
1389 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1390 (GLIBC_PRIVATE): Add __call_tls_dtors.
1391 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1392 for libstdc++.
1393 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1394 * stdlib/tst-tls-atexit.c: New test case.
1395 * stdlib/tst-tls-atexit-lib.c: New test case.
1396
ffaa74cf 1397 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1398
be179c8a
SP
1399 * elf/Versions (ld): Add _dl_find_dso_for_object.
1400 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1401 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1402 (dl_open_worker): Use _dl_find_dso_for_object.
1403 * elf/dl-sym.c (do_sym): Likewise.
1404 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1405
f78b5caa
AK
14062013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1407
1408 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1409 Syntactic changes only.
1410 (_dl_runtime_profile): Do a tail-call to the resolved function.
1411
29691210
JM
14122013-02-17 Joseph Myers <joseph@codesourcery.com>
1413
1414 [BZ #13550]
1415 * sysdeps/x86_64/bp-asm.h: Remove file.
1416 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1417 <bp-sym.h> and <bp-asm.h>.
1418 (__clone): Do not use BP_SYM.
1419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1420 <bp-sym.h> and <bp-asm.h>.
1421 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1422 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1423 "bp-asm.h".
1424 (_setjmp): Do not use BP_SYM.
1425 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1426 "bp-asm.h".
1427 (setjmp): Do not use BP_SYM.
1428 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1429 libc_hidden_def.
1430 (mempcpy): Do not use BP_SYM in weak_alias.
1431 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1432 "bp-asm.h".
1433 (strchr): Do not use BP_SYM.
1434 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1435 "bp-asm.h".
1436 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1437 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1438 (_start): Do not use BP_SYM.
1439 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1440 "bp-asm.h".
1441 (strcat): Do not use BP_SYM.
1442 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1443 "bp-asm.h".
1444 (STRCMP): Do not use BP_SYM.
1445 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1446 "bp-asm.h".
1447 (STRCPY): Do not use BP_SYM.
1448 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1449 "bp-asm.h".
1450 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1451 "bp-asm.h".
1452 (FUNCTION): Do not use BP_SYM.
1453 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1454 weak_alias.
1455 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1456
f238fd19
AJ
14572013-02-17 Andreas Jaeger <aj@suse.de>
1458
1459 * time/Versions: Sort entries.
1460 * string/Versions: Likewise.
1461 * resolv/Versions: Likewise.
1462 * posix/Versions: Likewise.
1463 * iconv/Versions: Likewise.
1464 * elf/Versions: Likewise.
1465 * wcsmbs/Versions: Likewise.
1466
bd07f23c 14672013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1468
22af19f9
SP
1469 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1470 loop termination condition.
1471
4709fe76
SP
1472 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1473 variable to calculate EZ.
1474 (__sqr): Likewise.
2d0e0f29
SP
1475
1476 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1477 the lower precision input.
1478
daaa7713
JM
14792013-02-15 Joseph Myers <joseph@codesourcery.com>
1480
1481 [BZ #13550]
1482 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1483 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1484 (run-via-rtld-prefix): Do not handle %-bp tests.
1485 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1486 (all-object-suffixes): Remove .ob.
1487 (bppfx): Remove variable.
1488 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1489 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1490 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1491 [$(build-bounded) = yes] (libtype.ob): Likewise.
1492 * Makerules (elide-routines.ob): Remove variable.
1493 (do-tests-clean): Do not handle *-bp.out.
1494 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1495 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1496 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1497 (tests): Do not include $(tests-bp.out).
1498 (xtests): Do not include $(xtests-bp.out).
1499 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1500 [$(build-bounded) = yes] ($(addprefix
1501 $(objpfx),$(binaries-bounded))): Remove rule.
1502 ($(objpfx)%-bp.out): Remove rule.
1503 * config.make.in (build-bounded): Remove variable.
1504 * crypt/Makefile [$(build-bounded) = yes]
1505 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1506 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1507 append to variable.
1508 [$(build-bounded) = yes] (install-lib): Likewise.
1509 [$(build-bounded) = yes] (generated): Likewise.
1510 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1511 Remove rule.
1512 * intl/Makefile [$(build-bounded) = yes]
1513 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1514 * math/Makefile [$(build-bounded) = yes]
1515 ($(tests:%=$(objpfx)%-bp): Likewise.
1516 * misc/Makefile [$(build-bounded) = yes]
1517 ($(objpfx)tst-tsearch-bp): Likewise.
1518 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1519 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1520 Remove dependency.
1521 * string/Makefile (o-objects.ob): Remove variable.
1522 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1523 (CFLAGS-.ob): Remove variable.
1524 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1525 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1526 both definitions of variable.
1527 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1528 (ASFLAGS-.ob): Remove variable.
1529
e97ed6dd
JM
15302013-02-14 Joseph Myers <joseph@codesourcery.com>
1531
2bdd4ca6
JM
1532 [BZ #13550]
1533 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1534 Remove __BOUNDED_POINTERS__ from condition.
1535 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1536 * string/bits/string2.h [!__NO_STRING_INLINES &&
1537 !__BOUNDED_POINTERS__]: Likewise.
1538 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1539 Likewise.
1540 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1541 Remove conditional code.
1542 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1543 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1544 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1545 condition.
1546
e97ed6dd
JM
1547 [BZ #13550]
1548 * csu/libc-start.c: Do not include <bp-sym.h>.
1549 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1550 * elf/dl-open.c: Do not include <bp-sym.h>.
1551 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1552 * math/fegetenv.c: Do not include <bp-sym.h>.
1553 (fegetenv): Do not use BP_SYM in versioned symbols.
1554 * nptl/sysdeps/pthread/bits/libc-lockP.h
1555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1556 <bp-sym.h>.
1557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1558 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1560 (__pthread_mutex_destroy): Likewise.
1561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1562 (__pthread_mutex_lock): Likewise.
1563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1564 (__pthread_mutex_trylock): Likewise.
1565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1566 (__pthread_mutex_unlock): Likewise.
1567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1568 (__pthread_mutexattr_init): Likewise.
1569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1570 (__pthread_mutexattr_destroy): Likewise.
1571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1572 (__pthread_mutexattr_settype): Likewise.
1573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1574 (__pthread_rwlock_init): Likewise.
1575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1576 (__pthread_rwlock_destroy): Likewise.
1577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1578 (__pthread_rwlock_rdlock): Likewise.
1579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1580 (__pthread_rwlock_tryrdlock): Likewise.
1581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1582 (__pthread_rwlock_wrlock): Likewise.
1583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1584 (__pthread_rwlock_trywrlock): Likewise.
1585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1586 (__pthread_rwlock_unlock): Likewise.
1587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1588 (__pthread_key_create): Likewise.
1589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1590 (__pthread_setspecific): Likewise.
1591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1592 (__pthread_getspecific): Likewise.
1593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1594 Likewise.
1595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1596 (_pthread_cleanup_push_defer): Likewise.
1597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1598 (_pthread_cleanup_pop_restore): Likewise.
1599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1600 (pthread_setcancelstate): Likewise.
1601 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1602 <bp-sym.h>.
1603 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1604 (memchr): Do not use BP_SYM in weak_alias.
1605 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1606 (fegetenv): Do not use BP_SYM in versioned symbols.
1607 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1608 (fesetenv): Do not use BP_SYM in versioned symbols.
1609 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1610 (feupdateenv): Do not use BP_SYM in versioned symbols.
1611 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1612 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1613 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1614 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1615 (open64): Do not use BP_SYM in weak_alias.
1616 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1617 (fegetenv): Do not use BP_SYM in versioned symbols.
1618 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1619 (fesetenv): Do not use BP_SYM in versioned symbols.
1620 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1621 (feupdateenv): Do not use BP_SYM in versioned symbols.
1622 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1623 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1624 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1625 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1626 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1627 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1628 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1629 <bp-sym.h>.
1630 (__libc_start_main): Do not use BP_SYM.
1631
d6752ccd
SP
16322013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1633
cb57ce60
SP
1634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1635 redundant return line.
1636 (norm): Likewise.
1637 (denorm): Likewise.
1638 (dbl_mp): Likewise.
1639 (sub_magnitudes): Likewise.
1640 (__add): Likewise.
1641 (__sub): Likewise.
1642 (__mul): Likewise.
1643 (__inv): Likewise.
1644 (__dvd): Likewise.
1645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1646 (norm): Likewise.
1647 (denorm): Likewise.
1648 (dbl_mp): Likewise.
1649 (sub_magnitudes): Likewise.
1650 (__add): Likewise.
1651 (__sub): Likewise.
1652 (__mul): Likewise.
1653 (__inv): Likewise.
1654 (__dvd): Likewise.
1655
f414520d
SP
1656 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1657 instead of __mul.
1658 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1659 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1660 (cc32): Likewise.
1661
d6752ccd
SP
1662 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1663 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1665 of __mul for squares.
1666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1667 function
1668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1669 Likewise.
1670 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1671 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1672
70d9946a
JM
16732013-02-13 Joseph Myers <joseph@codesourcery.com>
1674
1675 [BZ #13550]
1676 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1677 code.
1678 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1679 prototype or function definition. Rename ubp_* variables and
1680 parameters. Remove argv definitions conditional on
1681 [__BOUNDED_POINTERS__].
1682 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1683 * elf/dl-runtime.c (_dl_fixup): Likewise.
1684 * include/set-hooks.h (RUN_HOOK): Likewise.
1685 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1686 definition.
1687 * string/strcpy.c (strcpy): Do not use __unbounded.
1688 * sysdeps/generic/frame.h (struct layout): Likewise.
1689 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1690 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1691 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1692 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1693 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1694 (__backtrace): Likewise.
1695 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1696 use __ptrvalue.
1697 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1698 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1699 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1700 Likewise.
1701 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1702 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1703 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1704 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1705 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1706 Do not use __unbounded.
1707 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1708 Rename __unboundedrlimits parameter to rlimits in prototype.
1709 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1710 Do not use __unbounded.
1711 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1712 not use __ptrvalue.
1713 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1714 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1715 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1716 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1717 __ptrvalue or __unbounded.
1718 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1719 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1720 use __unbounded.
1721 (__new_msgctl): Do not use __ptrvalue.
1722 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1723 __unbounded.
1724 (__libc_msgrcv): Do not use __ptrvalue.
1725 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1726 startup_info): Do not use __unbounded.
1727 (__libc_start_main): Likewise. Rename ubp_* variables and
1728 parameters. Remove argv definitions conditional on
1729 [__BOUNDED_POINTERS__].
1730 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1731 __ptrvalue.
1732 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1733 use __unbounded.
1734 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1735 or __ptrvalue.
1736 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1737 use __unbounded.
1738 (__new_shmctl): Do not use __ptrvalue.
1739 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1740 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1741 Likewise.
1742 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1743 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1744 (__libc_sigaction): Likewise.
1745 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1746 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1747 Likewise.
1748 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1749
cc7834d6
OB
17502013-02-13 Ondřej Bílka <neleai@seznam.cz>
1751
ffb1ec7b 1752 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1753
1754 * string/mempcpy.c: Implement by calling memcpy.
1755
bdf02814
SP
17562013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1757
c2af38aa
SP
1758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1759
4e92d59e
SP
1760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1761 evaluation.
1762
909279a5
SP
1763 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1764 values in the mantissa.
1765
bdf02814
SP
1766 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1767 minimize writes to Z.
1768 (sub_magnitudes): Simplify code a bit.
1769
cd525923
RM
17702013-02-12 Roland McGrath <roland@hack.frob.com>
1771
1772 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1773 from the message. The linker prefixes all warnings with that already.
1774
7e2f0d2d
AS
17752013-02-12 Andreas Schwab <schwab@suse.de>
1776
a445af0b
AS
1777 [BZ #15078]
1778 * posix/regexec.c (extend_buffers): Add parameter min_len.
1779 (check_matching): Pass minimum needed length.
1780 (clean_state_log_if_needed): Likewise.
1781 (get_subexp): Likewise.
1782 * posix/Makefile (tests): Add bug-regex34.
1783 (bug-regex34-ENV): Define.
1784 * posix/bug-regex34.c: New file.
1785
7e2f0d2d
AS
1786 [BZ #11561]
1787 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1788 elements compare against the byte sequence of it, not its name.
1789 * posix/Makefile (tests): Add bug-regex35.
1790 (bug-regex35-ENV): Define.
1791 * posix/bug-regex35.c: New file.
1792
a175b684
TV
17932013-02-11 Tom de Vries <tom@codesourcery.com>
1794
1795 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1796 comment.
1797 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1798 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1799 (CHECK_EOL): Add undef.
1800
310998fe 18012013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1802
1803 * bits/stdlib-bsearch.h: New file.
1804 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1805 * stdlib/stdlib.h: Likewise.
41eda41d 1806
8ded91fb
RM
18072013-02-11 Roland McGrath <roland@hack.frob.com>
1808
1809 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1810 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1811 declaration.
1812 * manual/search.texi (Array Search Function): Add missing const in
1813 lfind prototype.
1814 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1815 declaration to use rlim_t.
1816 (Basic Scheduling Functions): Remove erroneous const from
1817 sched_getparam prototype. Remove erroneous * from
1818 sched_get_priority_max and sched_get_priority_min prototypes.
1819 (Resource Usage): Fix summary @comment on vtimes to refer to
1820 sys/vtimes.h rather than vtimes.h.
1821 Add missing *s in vtimes prototype.
1822 (Limits on Resources): Fix ulimit prototype to return long int.
1823 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1824 prototypes to use long int rather than double.
1825 (BSD Random): Fix initstate and setstate to use char *, not void *.
1826 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1827 prototype to make second argument 'struct aiocb64 *const[]'.
1828 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1829 (Status of AIO Operations): Remove erroneous const in aio_return and
1830 aio_return64 prototypes.
1831 (Synchronizing I/O): Fix sync prototype to return void.
1832 * manual/startup.texi (Suboptions): Remove an erroneous const in
1833 getsubopt prototype.
1834 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1835 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1836 use size_t rather than int.
1837 (Scanning All Users): Likewise for getpwent_r.
1838 (Setting Groups): Add missing const to setgroups prototype.
1839 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1840 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1841 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1842 'const void *' rather than 'const char *'.
1843 (Host Address Functions): Likewise for inet_ntop.
1844 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1845 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1846 ssize_t for return value.
1847 (Sending Data): Likewise for send, sendto, sendmsg.
1848 (Socket Option Functions): Add a missing const in setsockopt prototype.
1849 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1850 use wchar_t for the argument.
1851 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1852 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1853 take no arguments.
1854 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1855 double/float/long double for second argument.
1856 Fix return types of significand, significandf, significandl.
1857 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1858 argument in fchmod prototype.
1859 (File Owner): Use uid_t and gid_t in fchown prototype.
1860 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1861 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1862 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1863 use 'const struct dirent **' as argument types to CMP function pointer
1864 argument.
1865 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1866 (File Times): Fix summary magic @comment for struct utimbuf and utime
1867 to refer to utime.h, not time.h.
1868 * manual/string.texi (Argz Functions): Add missing const in
1869 argz_extract and argz_next prototypes.
1870 (Finding Tokens in a String): Likewise for basename.
1871 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1872 (Copying and Concatenation): Fix typo in wmemmove prototype.
1873 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1874 (Signal Stack): Remove erroneous const in sigstack prototype.
1875 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1876 prototype.
1877 (Simple Calendar Time): Likewise for stime.
1878 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1879 prototype.
1880 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1881 say sys/sysctl.h instead.
1882 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1883 and vsyslog prototypes.
1884
fe77fe6d
TV
18852013-02-11 Tom de Vries <tom@codesourcery.com>
1886
1887 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1888 Remove.
1889
3a09b620
RM
18902013-02-11 Roland McGrath <roland@hack.frob.com>
1891
1892 * misc/sys/mman.h: Fix typo in mremap comment.
1893
550a0b89
RM
18942013-02-08 Roland McGrath <roland@hack.frob.com>
1895
1896 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1897 the '\0' terminator.
1898
a2da1673
JM
18992013-02-08 Joseph Myers <joseph@codesourcery.com>
1900
1901 [BZ #13550]
1902 * debug/segfault.c: Don't include <bp-checks.h>.
1903 * sysdeps/generic/bp-checks.h: Remove file.
1904 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1905 (__GETDENTS): Don't use CHECK_N.
1906 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1907 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1908 (__getgroups): Don't use CHECK_N.
1909 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1910 (setgroups): Don't use CHECK_N.
1911 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1912 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1913 (__libc_msgrcv): Don't use CHECK_N.
1914 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1915 (__libc_msgsnd): Don't use CHECK_N.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1917 <bp-checks.h>.
1918 (__libc_pread): Don't use CHECK_N.
1919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1920 include <bp-checks.h>.
1921 (__libc_pread64): Don't use CHECK_N.
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1923 include <bp-checks.h>.
1924 (__libc_pwrite): Don't use CHECK_N.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1926 include <bp-checks.h>.
1927 (__libc_pwrite64): Don't use CHECK_N.
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1929 <bp-checks.h>.
1930 (__libc_pread): Don't use CHECK_N.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1932 include <bp-checks.h>.
1933 (__libc_pread64): Don't use CHECK_N.
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1935 include <bp-checks.h>.
1936 (__libc_pwrite): Don't use CHECK_N.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1938 include <bp-checks.h>.
1939 (__libc_pwrite64): Don't use CHECK_N.
1940 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1941 (do_pread): Don't use CHECK_N.
1942 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1943 (do_pread64): Don't use CHECK_N.
1944 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1945 (do_pwrite): Don't use CHECK_N.
1946 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1947 (do_pwrite64): Don't use CHECK_N.
1948 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1949 (__libc_readv): Don't use CHECK_N.
1950 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1951 (semop): Don't use CHECK_N.
1952 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1953 <bp-checks.h>.
1954 (semtimedop): Don't use CHECK_N.
1955 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1956 (__libc_pread): Don't use CHECK_N.
1957 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1958 <bp-checks.h>.
1959 (__libc_pread64): Don't use CHECK_N.
1960 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1961 <bp-checks.h>.
1962 (__libc_pwrite): Don't use CHECK_N.
1963 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1964 <bp-checks.h>.
1965 (__libc_pwrite64): Don't use CHECK_N.
1966 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1967 <bp-checks.h>.
1968 (__libc_msgrcv): Don't use CHECK_N.
1969 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1970 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1971 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1972 (__libc_writev): Don't use CHECK_N.
1973
b84660a8
RM
19742013-02-08 Roland McGrath <roland@hack.frob.com>
1975
7f3e75f8
RM
1976 * string/strcpy.c: Removed unused variable.
1977
b84660a8
RM
1978 * Makeconfig (+sysdep-includes): Define with := rather than =.
1979 Use an existing include/ subdir of each sysdeps dir before it.
1980
471514d3
CD
19812013-02-08 Carlos O'Donell <carlos@redhat.com>
1982
1983 * nscd/connection.c (register_traced_file): Comment function.
1984 [HAVE_INOTIFY] (union __inev): Define.
1985 [HAVE_INOTIFY] (inotify_check_files): New function.
1986 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1987 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1988 clear_db_cache.
1989 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1990
b2d3c3be
CD
19912013-02-08 Carlos O'Donell <carlos@redhat.com>
1992
1993 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1994 loaded if not already and that a failure is permanent.
1995
b39949d2
CD
19962013-02-08 Carlos O'Donell <carlos@redhat.com>
1997
ddacd1db 1998 [BZ #15006]
b39949d2
CD
1999 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2000 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2001
b2c9eff4
JM
20022013-02-08 Joseph Myers <joseph@codesourcery.com>
2003
f3aae3f3
JM
2004 [BZ #13550]
2005 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2006 (CHECK_1_NULL_OK): Likewise.
2007 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2008 (__fxstat): Do not use CHECK_1.
2009 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2010 <bp-checks.h>.
2011 (___fxstat64): Do not use CHECK_1.
2012 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2013 <bp-checks.h>.
2014 (__fxstatat): Do not use CHECK_1.
2015 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2016 <bp-checks.h>.
2017 (__fxstatat64): Do not use CHECK_1.
2018 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2019 <bp-checks.h>.
2020 (__fxstat): Do not use CHECK_1.
2021 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2022 <bp-checks.h>.
2023 (__fxstatat): Do not use CHECK_1.
2024 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2025 <bp-checks.h>.
2026 (__getresgid): Do not use CHECK_1.
2027 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2028 <bp-checks.h>.
2029 (__getresuid): Do not use CHECK_1.
2030 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2031 <bp-checks.h>.
2032 (__lxstat): Do not use CHECK_1.
2033 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2034 <bp-checks.h>.
2035 (__old_msgctl): Do not use CHECK_1.
2036 (__new_msgctl): Likewise.
2037 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2038 <bp-checks.h>.
2039 (__new_setrlimit): Do not use CHECK_1.
2040 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2041 <bp-checks.h>.
2042 (__old_shmctl): Do not use CHECK_1.
2043 (__new_shmctl): Likewise.
2044 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2045 <bp-checks.h>.
2046 (__xstat): Do not use CHECK_1.
2047 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2048 (__lxstat): Do not use CHECK_1.
2049 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2050 <bp-checks.h>.
2051 (___lxstat64): Do not use CHECK_1.
2052 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2053 (__old_msgctl): Do not use CHECK_1.
2054 (__new_msgctl): Likewise.
2055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2056 <bp-checks.h>.
2057 (__gettimeofday): Do not use CHECK_1.
2058 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2059 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2060 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2061 <bp-checks.h>.
2062 (__gettimeofday): Do not use CHECK_1.
2063 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2064 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2065 (__new_shmctl): Do not use CHECK_1.
2066 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2067 <bp-checks.h>.
2068 (do_sigtimedwait): Do not use CHECK_1.
2069 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2070 <bp-checks.h>.
2071 (do_sigwaitinfo): Do not use CHECK_1.
2072 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2073 <bp-checks.h>.
2074 (msgctl): Do not use CHECK_1.
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2076 <bp-checks.h>.
2077 (shmctl): Do not use CHECK_1.
2078 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2079 (ustat): Do not use CHECK_1.
2080 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2081 <bp-checks.h>.
2082 (__fxstat): Do not use CHECK_1.
2083 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2084 <bp-checks.h>.
2085 (__fxstatat): Do not use CHECK_1.
2086 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2087 <bp-checks.h>.
2088 (__lxstat): Do not use CHECK_1.
2089 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2090 <bp-checks.h>.
2091 (__xstat): Do not use CHECK_1.
2092 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2093 (__xstat): Do not use CHECK_1.
2094 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2095 (___xstat64): Do not use CHECK_1.
2096
b2c9eff4
JM
2097 [BZ #13550]
2098 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2099 definitions.
2100 (CHECK_BOUNDS_HIGH): Likewise.
2101 * string/strcpy.c: Do not include <bp-checks.h>.
2102 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2103
f1d70dad
RM
21042013-02-07 Roland McGrath <roland@hack.frob.com>
2105
2106 * nscd/nscd-client.h (__nscd_drop_map_ref):
2107 Add __attribute__ ((unused)).
2108 * nis/nss-nisplus.h (niserr2nss): Likewise.
2109
2110 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2111 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2112
2113 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2114 Remove inline keyword.
2115 * include/rounding-mode.h (round_away): Likewise.
2116 * libio/wfileops.c (adjust_wide_data): Likewise.
2117 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2118 (__m128i_strloadu_tolower): Likewise.
2119 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2120 (__m128i_strloadu_tolower): Likewise.
2121 * time/mktime.c (ydhms_diff): Likewise.
2122 * locale/elem-hash.h (elem_hash): Likewise.
2123 * locale/setlocale.c (setdata): Likewise.
2124 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2125 (re_string_wchar_at): Likewise.
2126 (bitset_not, bitset_merge, bitset_mask): Likewise.
2127 [!(__GNUC__ > 3)] (inline): Remove macro.
2128 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2129 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2130 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2131 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2132 * string/memcmp.c (memcmp_bytes): Likewise.
2133 * locale/programs/locarchive.c (compute_hashval): Likewise.
2134 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2135 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2136 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2137 * nss/getent.c (print_rpc, print_protocols): Likewise.
2138 (print_passwd, print_group, print_aliases): Likewise.
2139 * nis/nss-nisplus.h (niserr2nss): Likewise.
2140 * nscd/connections.c (restart_p): Likewise.
2141 Change return type to bool.
2142
eab55bfb
RM
21432013-02-05 Roland McGrath <roland@hack.frob.com>
2144
7bd642f5
RM
2145 * Makeconfig (all-Depend-files): Add existing
2146 $(sorted-subdirs:=/Depend) files.
2147 (all-subdirs): Remove nss.
2148 * sysdeps/unix/inet/Subdirs: Add it here instead.
2149 * hesiod/Depend: New file.
2150
573c29b2
RM
2151 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2152 instead of calling alloca.
2153
b2e25af0
RM
2154 * io/lseek.c (__lseek): Rename to __libc_lseek.
2155 Define __lseek as an alias.
2156
eab55bfb
RM
2157 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2158
9a0d1941
CD
21592013-02-04 Carlos O'Donell <carlos@redhat.com>
2160
2161 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2162 else clause and remove check for non-standard endianness.
2163
b83bbec4
DM
21642013-02-04 David S. Miller <davem@davemloft.net>
2165
2166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2167
6277fdab
JM
21682013-02-04 Joseph Myers <joseph@codesourcery.com>
2169
2170 [BZ #13550]
2171 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2172 (__ubp_memchr): Remove prototype.
2173 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2174 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2175 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2176 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2177 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2178 Remove alias.
2179 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2180 (__ubp_memchr): Likewise.
2181 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2182 (__ubp_memchr): Likewise.
2183 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2184 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2185 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2186 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2187 CHECK_STRING.
2188 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2189 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2190 (__getcwd): Do not use CHECK_STRING.
2191 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2192 <bp-checks.h>.
2193 (__real_chown): Do not use CHECK_STRING.
2194 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2195 <bp-checks.h>.
2196 (fchownat): Do not use CHECK_STRING.
2197 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2198 CHECK_STRING.
2199 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2200 <bp-checks.h>.
2201 (__lchown): Do not use CHECK_STRING.
2202 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2203 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2204 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2205 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2207 include <bp-checks.h>.
2208 (truncate64): Do not use CHECK_STRING.
2209 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2210 <bp-checks.h>.
2211 (__real_chown): Do not use CHECK_STRING.
2212 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2213 <bp-checks.h>.
2214 (__lchown): Do not use CHECK_STRING.
2215 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2216 <bp-checks.h>.
2217 (__chown): Do not use CHECK_STRING.
2218 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2219 <bp-checks.h>.
2220 (truncate64): Do not use CHECK_STRING.
2221 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2222 Likewise.
2223 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2224 (__xmknod): Do not use CHECK_STRING.
2225 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2226 <bp-checks.h>.
2227 (__xmknodat): Do not use CHECK_STRING.
2228 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2229 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2230
903ae060
AS
22312013-02-04 Andreas Schwab <schwab@suse.de>
2232
2233 [BZ #14142]
2234 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2235 * include/netdb.h: Likewise for h_errno.
2236 * elf/tst-stackguard1.c: Include <tls.h>.
2237
542f9466
JK
22382013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2239
2240 * elf/link.h (struct link_map): Extend the l_addr comment.
2241 * include/link.h (struct link_map): Likewise.
2242
e782a927
JM
22432013-02-01 Joseph Myers <joseph@codesourcery.com>
2244
2245 [BZ #13550]
2246 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2247 (BOUNDED_1): Remove macro.
2248 * debug/backtrace.c: Don't include <bp-checks.h>.
2249 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2250 (__backtrace): Likewise.
2251 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2252 <bp-checks.h>.
2253 (__backtrace): Don't use BOUNDED_1.
2254 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2255 <bp-checks.h>.
2256 (__backtrace): Don't use BOUNDED_1.
2257 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2258 (__backtrace): Don't use BOUNDED_1.
2259 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2260 (shmat): Don't use BOUNDED_N.
2261
8cf28c5e
JM
22622013-01-31 Joseph Myers <joseph@codesourcery.com>
2263
3a7ac8a0
JM
2264 [BZ #13550]
2265 * sysdeps/generic/bp-start.h: Remove file.
2266 * csu/libc-start.c: Don't include <bp-start.h>.
2267 (LIBC_START_MAIN): Set up __environ directly instead of using
2268 INIT_ARGV_and_ENVIRON.
2269 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2270 <bp-start.h>.
2271
f3499f95
JM
2272 [BZ #13550]
2273 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2274 definitions.
2275 (CHECK_FCNTL): Likewise.
2276 (CHECK_N_PAGES): Likewise.
2277
32a45bea
JM
2278 [BZ #13550]
2279 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2280 definitions.
2281 (CHECK_SIGSET_NULL_OK): Likewise.
2282 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2283 <bp-checks.h>.
2284 (sigpending): Don't use CHECK_SIGSET.
2285 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2286 <bp-checks.h>.
2287 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2288 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2289 <bp-checks.h>.
2290 (do_sigsuspend): Don't use CHECK_SIGSET.
2291 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2292 use CHECK_SIGSET.
2293 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2294 (do_sigwait): Don't use CHECK_SIGSET.
2295 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2296 use CHECK_SIGSET.
2297 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2298 include <bp-checks.h>.
2299 (sigpending): Don't use CHECK_SIGSET.
2300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2301 include <bp-checks.h>.
2302 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2303 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2304 <bp-checks.h>.
2305 (sigpending): Don't use CHECK_SIGSET.
2306 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2307 <bp-checks.h>.
2308 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2309
2e8a5c8c
JM
2310 [BZ #13550]
2311 * sysdeps/generic/bp-semctl.h: Remove file.
2312 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2313 <bp-checks.h> and <bp-semctl.h>.
2314 (__old_semctl): Don't use CHECK_SEMCTL.
2315 (__new_semctl): Likewise.
2316 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2317 and <bp-semctl.h>.
2318 (__old_semctl): Don't use CHECK_SEMCTL.
2319 (__new_semctl): Likewise.
2320 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2321 <bp-checks.h> and <bp-semctl.h>.
2322 (__old_semctl): Don't use CHECK_SEMCTL.
2323 (__new_semctl): Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2325 <bp-checks.h> and <bp-semctl.h>.
2326 (semctl): Don't use CHECK_SEMCTL.
2327
c2d54929
JM
2328 [BZ #13550]
2329 * Makerules (elide-bp-thunks): Remove variable.
2330 (elide-routines.oS): Don't use $(elide-bp-thunks).
2331 (elide-routines.os): Likewise.
2332 (elide-routines.o): Likewise.
2333 (elide-routines.op): Likewise.
2334 (elide-routines.og): Likewise.
2335 (objects): Don't use $(bp-thunks).
2336 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2337 include.
2338 (common-generated): Do not add s-proto-bp.d.
2339 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2340 (int): Likewise.
2341 (typ): Likewise.
2342 Do not generate makefile rules for bounded-pointer thunks.
2343 * sysdeps/generic/bp-thunks.h: Remove file.
2344 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2345 * sysdeps/unix/s-proto-bp.S: Likewise.
2346
8cf28c5e
JM
2347 [BZ #15062]
2348 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2349 parts of result separately when argument is not close to line from
2350 -i to i and one part of argument is small.
2351 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2352 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2353 * math/libm-test.inc (cacos_test): Add more tests.
2354 (casin_test): Likewise.
2355 (casinh_test): Likewise.
2356 * sysdeps/i386/fpu/libm-test-ulps: Update.
2357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2358
c4e33b8d
DM
23592013-01-31 David S. Miller <davem@davemloft.net>
2360
2361 * po/de.po: Update from translation team.
2362
3b60b421
MK
23632013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2364
2365 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2366
bb931195
TS
23672013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2368
b5a5da23
TS
2369 * configure.in (_AC_PROG_CC_C89): New definition.
2370 * configure: Regenerate.
2371
bb931195
TS
2372 * configure.in (AC_PROG_CPP): New definition.
2373 * configure: Regenerate.
2374
8c53a12c
JM
23752013-01-23 Joseph Myers <joseph@codesourcery.com>
2376
2377 * debug/tst-backtrace.h: New file.
2378 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2379 (ret): Remove variable.
2380 (x): Likewise.
2381 (FAIL): Remove macro.
2382 (NO_INLINE): Likewise.
2383 (fn1): Use match function instead of strstr.
2384 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2385 (ret): Remove variable.
2386 (x): Likewise.
2387 (FAIL): Remove macro.
2388 (NO_INLINE): Likewise.
2389 (fn): Use match function instead of strstr.
2390 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2391 (ret): Remove variable.
2392 (x): Likewise.
2393 (FAIL): Remove macro.
2394 (NO_INLINE): Likewise.
2395 (handle_signal): Use match function instead of strstr.
2396 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2397 (ret): Remove variable.
2398 (x): Likewise.
2399 (FAIL): Remove macro.
2400 (NO_INLINE): Likewise.
2401 (handle_signal): Use match function instead of strstr.
2402
4858fa2a
RM
24032013-01-23 Roland McGrath <roland@hack.frob.com>
2404
2405 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2406
bae8e7f5
DM
24072013-01-23 David S. Miller <davem@davemloft.net>
2408
2409 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2410 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2411 argument of CAS if possible.
2412 * sysdeps/sparc/sparc64/bits/atomic.h
2413 (__arch_compare_and_exchange_val_32_acq): Likewise.
2414 (__arch_compare_and_exchange_val_64_acq): Likewise.
2415
9cbbc4ae
PT
24162013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2417
2418 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2419 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2420 Include <limits.h>.
67b3f58c 2421 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2422
5655a0b5
AC
24232013-01-23 Adam Conrad <adconrad@0c3.net>
2424
2425 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2426 (LDFLAGS-tst-array5): Likewise.
2427
052aff95
JM
24282013-01-23 Joseph Myers <joseph@codesourcery.com>
2429
2430 [BZ #15036]
2431 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2432 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2433 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2434 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2435
7c1e01aa
DM
24362013-01-21 David S. Miller <davem@davemloft.net>
2437
2438 * sysdeps/sparc/backtrace.c: New file.
2439 * sysdeps/sparc/sparc32/backtrace.h: New file.
2440 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2441 * sysdeps/sparc/sparc64/backtrace.h: New file.
2442 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2443 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2444 -funwind-tables.
2445
ab087e0a
AS
24462013-01-21 Andreas Schwab <schwab@suse.de>
2447
2448 [BZ #15020]
2449 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2450 closed its stdout.
2451
ed689c2f
AS
24522013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2453
2454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2455 "mpa2.h".
2456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2457
31d470ac
JM
24582013-01-18 Joseph Myers <joseph@codesourcery.com>
2459 Mark Mitchell <mark@codesourcery.com>
2460 Tom de Vries <tom@codesourcery.com>
2461 Paul Pluzhnikov <ppluzhnikov@google.com>
2462
2463 * debug/tst-backtrace2.c: New file.
2464 * debug/tst-backtrace3.c: Likewise.
2465 * debug/tst-backtrace4.c: Likewise.
2466 * debug/tst-backtrace5.c: Likewise.
2467 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2468 (CFLAGS-tst-backtrace3.c): Likewise.
2469 (CFLAGS-tst-backtrace4.c): Likewise.
2470 (CFLAGS-tst-backtrace5.c): Likewise.
2471 (LDFLAGS-tst-backtrace2): Likewise.
2472 (LDFLAGS-tst-backtrace3): Likewise.
2473 (LDFLAGS-tst-backtrace4): Likewise.
2474 (LDFLAGS-tst-backtrace5): Likewise.
2475 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2476 tst-backtrace4 and tst-backtrace5.
2477
90567f30 24782013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2479 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2480
2481 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2482 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2483 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2484 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2486 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2487 "+r" and remove output regs list as redundant. Add explicit inline
2488 asm to specify register of return val to work around compiler codegen
2489 bug. Remove (int) cast on return value. Add return type parameter to
2490 use in macro so that this macro does not truncate return value for
2491 64-bit values.
2492 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2493 pass to INTERNAL_VSYSCALL_NCS.
2494 (INLINE_VSYSCALL): Add 'long int' as return type to
2495 INTERNAL_VSYSCALL_NCS macro invocation.
2496 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2497 INTERNAL_VSYSCALL_NCS macro invocation.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2499
d3b9ea61
SP
25002013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2501
0b57daeb
SP
2502 [BZ #14496]
2503 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2504 Fix application of SIMD FP exception mask.
2505
caa99d06
SP
2506 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2507 mp_no from a power of two.
2508 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2509 __mpexp_twomm1. Use __pow_mp.
2510
d3b9ea61
SP
2511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2512 multiplication.
2513
1dbaee3c
DM
25142013-01-17 David S. Miller <davem@davemloft.net>
2515
2516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2517
728d7b43
JM
25182013-01-17 Joseph Myers <joseph@codesourcery.com>
2519
2520 [BZ #15023]
2521 * include/complex.h: Condition contents on [!_COMPLEX_H].
2522 (__kernel_casinhf): New prototype.
2523 (__kernel_casinh): Likewise.
2524 (__kernel_casinhl): Likewise.
2525 * math/Makefile (libm_calls): Add k_casinh.
2526 * math/k_casinh.c: New file.
2527 * math/k_casinhf.c: Likewise.
2528 * math/k_casinhl.c: Likewise.
2529 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2530 finite nonzero arguments.
2531 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2532 finite nonzero arguments.
2533 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2534 finite nonzero arguments.
2535 * math/s_casinh.c: Do not include <float.h>.
2536 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2537 * math/s_casinhf.c: Do not include <float.h>.
2538 (__casinhf): Move code for finite nonzero arguments to
2539 k_casinhf.c.
2540 * math/s_casinhl.c: Do not include <float.h>.
2541 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2542 redefine.
2543 (__casinhl): Move code for finite nonzero arguments to
2544 k_casinhl.c.
2545 * math/libm-test.inc (cacos_test): Add more tests.
2546 * sysdeps/i386/fpu/libm-test-ulps: Update.
2547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2548
2a26ef3a
PT
25492013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2550
2551 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2552 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2553 [!HAVE_MREMAP]: Remove [defined linux] case.
2554 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2555
a897655d
SP
25562013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2557
2558 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2559
881ebe89 25602013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2561
2562 * elf/elf.h (R_386_SIZE32): New relocation.
2563 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2564 R_386_SIZE32.
2565 (elf_machine_rela): Likewise.
2566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2567 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2568
59981e9b
JM
25692013-01-17 Joseph Myers <joseph@codesourcery.com>
2570
2571 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2572 (FP_FAST_FMA): Do not define.
2573 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2574 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2575 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2576 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2577 !_SOFT_FLOAT]: Likewise.
2578 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2579 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2580 value.
2581 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2582 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2583 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2584 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2585 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2586 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2587 file.
2588
cfa8054f
AS
25892013-01-16 Andreas Schwab <schwab@suse.de>
2590
2591 [BZ #14327]
2592 * include/stdlib.h (__mktemp): Add declaration.
2593 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2594 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2595
dd930cc5
SP
25962013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2597
881ebe89
SP
2598 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2599 definitions.
2600 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2601 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2602 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2603 definitions here.
2604 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2605 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2606 definitions.
2607 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2608 and ONE.
2609 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2610 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2611 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2612 definitions.
2613 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2614 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2615 definitions.
2616 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 2617
dd930cc5
SP
2618 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2619
c19a9f89
DM
26202013-01-15 David S. Miller <davem@davemloft.net>
2621
1aa61767
DM
2622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2623 trunc{,f} to libm-sysdep_routes.
2624 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2626 file.
2627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2629 file.
2630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2631 file.
2632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2634 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2635 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2636 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2637 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2638 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2639 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2640
c42d5e98
DM
2641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2642 nearbyint{,f} to libm-sysdep_routes.
2643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2645 New file.
2646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2647 file.
2648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2649 New file.
2650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2651 file.
2652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2654 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2655 file.
2656 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2657 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2658 file.
2659 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2660 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2661 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2662
c19a9f89
DM
2663 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2664 libc_feholdexcept and libc_fesetenv.
2665
357679d2
MF
26662013-01-15 Mike Frysinger <vapier@gentoo.org>
2667
2668 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2669
65a82e3d
DM
26702013-01-14 David S. Miller <davem@davemloft.net>
2671
8b954ab9
DM
2672 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2673 (SPARC_ASM_VIS2_IFUNC): Likewise.
2674 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2676 use of 'siam' instruction.
2677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2678 Likewise.
2679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2680 Likewise.
2681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2682 Likewise.
2683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2688 file.
2689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2690 file.
2691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2692 file.
2693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2694 file.
2695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2700 new VIS2 routines.
2701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2704 Likewise.
2705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2710 routines to libm-sysdep_routines.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2712
65a82e3d
DM
2713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2714 fdim/fdimf to libm-sysdep_routines.
2715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2716 file.
2717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2719 file.
2720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2723 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2724 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2725 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2726 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2727
e34ab705
SP
27282013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2729
2a91b573
SP
2730 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2731 to optimize copies.
2732
1066a534
SP
2733 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2736
e34ab705
SP
2737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2738 local variable MPTWO.
2739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2740 Likewise.
2741
aba5e596
MF
27422013-01-13 Mike Frysinger <vapier@gentoo.org>
2743
2744 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2745 GLOB_NOESCAPE.
2746
e557e9e5
MF
27472013-01-13 Mike Frysinger <vapier@gentoo.org>
2748
2749 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2750
0428cec9
MF
27512013-01-13 Mike Frysinger <vapier@gentoo.org>
2752
2753 * manual/pattern.texi (glob_t): Document gl_flags.
2754 (glob64_t): Likewise.
2755
8794a964
DM
27562013-01-11 David S. Miller <davem@davemloft.net>
2757
66438c3f
RM
2758 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2759 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2760 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2761 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2762 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2763 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2764 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2765 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2766 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2767 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2768 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2769 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2770 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2771
4ae4244d
DM
2772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2773 sparc V9 rather than using V8 code.
2774 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2775 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2776
8794a964
DM
2777 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2778 Move to...
2779 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2780 Here.
2781
6270516e
RM
27822013-01-11 Roland McGrath <roland@hack.frob.com>
2783
2784 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2785 not in the main loop.
2786 * configure: Regenerated.
2787
6a57d931
JM
27882013-01-11 Joseph Myers <joseph@codesourcery.com>
2789
2790 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2791 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2792 to just #else.
2793 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2794 [!__GLIBC_HAVE_LONG_LONG] case.
2795 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2796 condition to just #else.
2797 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2798 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2799 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2800 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2801 unconditional.
2802 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2803 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2804 #elif condition to just #else.
2805 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2806 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2807 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2808 #elif condition to just #else.
2809
0e8529e9
SE
28102013-01-11 Steve Ellcey <sellcey@mips.com>
2811
2812 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2813 (EF_MIPS_ARCH_64): Fix value.
2814 (EF_MIPS_ARCH_32R2): New.
2815 (EF_MIPS_ARCH_64R2): New.
2816
740b3dbe
L
28172013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2818
2819 * Makeconfig (+link-pie-before-libc): New.
2820 (+link-pie-after-libc): Likewise.
2821 (+link-pie-tests): Likewise.
2822 (+link-pie): Rewritten.
2823 (link-before-libc): Remove $(config-LDFLAGS).
2824 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2825 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2826 (config-LDFLAGS): Renamed to ...
2827 (rtld-LDFLAGS): This.
2828 (rtld-tests-LDFLAGS): New macro.
2829 (link-libc-rpath-link): Likewise.
2830 (link-libc-tests-rpath-link): Likewise.
2831 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2832 (link-libc): Prepand $(link-libc-rpath-link).
2833 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2834 (test-program-prefix): New macro.
2835 (test-via-rtld-prefix): Likewise.
2836 (test-program-cmd): Likewise.
2837 (host-test-program-cmd): Likewise.
2838 * Makefile ($(common-objpfx)testrun.sh): Replace
2839 $(run-program-prefix) with $(test-program-prefix).
2840 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2841 $(rtld-LDFLAGS).
2842 ($(common-objpfx)shlib.lds): Likewise.
2843 (build-module-helper): Likewise.
2844 ($(common-objpfx)format.lds): Likewise.
2845 * Rules (binaries-pie-tests): New.
2846 (binaries-pie-notests): Likewise.
2847 (binaries-pie): Rewritten.
2848 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2849 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2850 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2851 (make-test-out): Replace $(host-built-program-cmd) with
2852 $(host-test-program-cmd).
2853 * config.make.in (build-hardcoded-path-in-tests): New variable.
2854 * configure.in (--enable-hardcoded-path-in-tests): New configure
2855 option.
2856 (hardcoded_path_in_tests): New AC_SUBST.
2857 * configure: Regenerated.
2858 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2859 $(built-program-cmd) with $(test-program-cmd).
2860 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2861 (test_program_cmd): This.
2862 * elf/Makefile ($(objpfx)order.out): Run test with
2863 $(test-program-prefix).
2864 ($(objpfx)order2.out): Likewise.
2865 ($(objpfx)tst-initorder.out): Likewise.
2866 ($(objpfx)tst-initorder2.out): Likewise.
2867 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2868 $(test-program-cmd).
2869 ($(objpfx)tst-array1-static.out): Likewise.
2870 ($(objpfx)tst-array2.out): Likewise.
2871 ($(objpfx)tst-array3.out): Likewise.
2872 ($(objpfx)tst-array4.out): Likewise.
2873 ($(objpfx)tst-array5.out): Likewise.
2874 ($(objpfx)tst-array5-static.out): Likewise.
2875 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2876 $(test-program-cmd).
2877 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2878 $(run-program-prefix) with $(test-program-prefix).
2879 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2880 (test_program_prefix): This.
2881 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2882 $(run-program-prefix) with $(test-program-prefix).
2883 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2884 (test_program_prefix): This.
2885 * iconvdata/tst-tables.sh: Likewise.
2886 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2887 $(run-program-prefix) with $(test-program-prefix).
2888 ($(objpfx)tst-translit.out): Likewise.
2889 ($(objpfx)tst-gettext2.out): Likewise.
2890 ($(objpfx)tst-gettext4.out): Likewise.
2891 ($(objpfx)tst-gettext6.out): Likewise.
2892 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2893 (test_program_prefix): This.
2894 * intl/tst-gettext2.sh: Likewise.
2895 * intl/tst-gettext4.sh Likewise.
2896 * intl/tst-gettext6.sh: Likewise.
2897 * intl/tst-translit.sh: Likewise.
2898 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2899 with $(test-program-cmd).
2900 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2901 $(run-program-prefix) with $(test-program-prefix).
2902 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2903 (test_program_prefix): This.
2904 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2905 $(run-program-prefix) with $(test-program-prefix).
2906 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2907 (test_program_prefix): This.
2908 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2909 * posix/Makefile ($(objpfx)globtest.out): Replace
2910 $(run-via-rtld-prefix) and $(test-wrapper) with
2911 $(test-program-prefix) and $(test-via-rtld-prefix).
2912 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2913 $(test-program-prefix).
2914 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2915 $(host-test-program-cmd).
2916 (tst-spawn-ARGS): Likewise.
2917 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2918 $(test-program-prefix).
2919 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2920 (test_via_rtld_prefix): This.
2921 (test_wrapper): Renamed to ...
2922 (test_program_prefix): This.
2923 (run_program_prefix): Replaced by test_program_prefix.
2924 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2925 (test_program_prefix): This.
2926 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2927 with $(host-test-program-cmd).
2928 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2929 $(run-program-prefix) with $(test-program-prefix).
2930 ($(objpfx)tst-printf.out): Likewise.
2931 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2932 $(test-program-cmd).
2933 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2934 (test_program_prefix): This.
2935 * stdio-common/tst-unbputc.sh: Likewise.
2936 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2937 $(run-program-prefix) with $(test-program-prefix).
2938 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2939 (test_program_prefix): This.
2940 * string/Makefile ($(objpfx)tst-svc.out): Replace
2941 $(built-program-cmd) with $(test-program-cmd).
2942
c6fe55cf
AJ
29432013-01-11 Andreas Jaeger <aj@suse.de>
2944
2945 [BZ #15003]
2946 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2947 value. Sync with Linux 3.7.
2948
9e6919c8
DM
29492013-01-10 David S. Miller <davem@davemloft.net>
2950
2951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2952 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2953 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2954
1c9f1a02
RM
29552013-01-10 Roland McGrath <roland@hack.frob.com>
2956
2957 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2958 never set.
2959 * configure: Regenerated.
2960
b9de2dde
DM
29612013-01-10 David S. Miller <davem@davemloft.net>
2962
2963 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2964 sparc V9 rather than using V8 code.
2965 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2966 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2967
e7f68ef4
RM
29682013-01-10 Roland McGrath <roland@hack.frob.com>
2969
2970 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2971 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2972 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2973 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2974 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2975 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2976 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2977 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2978 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2979 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2980 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2981 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2982 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2983 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2984 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2985 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2986 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2987 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2988 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2989 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2990 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2991 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2992 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2993 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2994 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2995 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2996 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2997
5a47cc9c
DM
29982013-01-10 David S. Miller <davem@davemloft.net>
2999
3000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3001
4cf8f209
L
30022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3003
3004 * posix/Makefile (tests-static): New variable.
3005 (tests): Add $(tests-static).
3006 (tst-exec-static-ARGS): New variable.
3007 (tst-spawn-static-ARGS): Likewise.
3008 * posix/tst-exec-static.c: New file.
3009 * posix/tst-spawn-static.c: Likewise.
3010 * posix/tst-exec.c: Support run directly.
3011 * posix/tst-spawn.c: Likewise.
3012
fed0faa1
JM
30132013-01-10 Joseph Myers <joseph@codesourcery.com>
3014
828beb13
JM
3015 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3016 long.
3017 * math/bits/mathcalls.h (llrint): Likewise.
3018 (llround): Likewise.
3019 * stdlib/stdlib.h (struct drand48_data): Likewise.
3020 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3021 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3022 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3023 Likewise.
3024 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3025 Likewise.
3026 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3027 (elf_greg_t): Likewise.
3028 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3029 (__jmp_buf): Likewise.
3030 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3031 definitions.
3032 (llrint): Likewise, for all definitions.
3033 (llrintl): Likewise.
3034
fed0faa1
JM
3035 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3036 Remove [__GNUC__] condition.
3037 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3038 condition to just [__USE_ISOC99].
3039 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3040
1a20cb20
L
30412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 [BZ #14200]
3044 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3045 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3046 defined.
3047 (_POSIX_V6_ILP32_OFF32): Likewise.
3048 (_XBS5_ILP32_OFF32): Likewise.
3049 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3050 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3051
751b85f7
SP
30522013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3053
7490eb81
SP
3054 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3055
751b85f7
SP
3056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3057 doubles __mpexp_twomm1. Adjust usage.
3058 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3059 Remove.
3060
988197f0
AS
30612013-01-10 Andreas Schwab <schwab@suse.de>
3062
3063 [BZ #14964]
3064 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3065 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3066
e83d7298
DM
30672013-01-09 David S. Miller <davem@davemloft.net>
3068
034ed64b 3069 [BZ #15003]
e83d7298
DM
3070 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3071 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3072 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3073 TCP_FASTOPEN): Define.
3074 (tcp_repair_opt): New structure.
3075 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3076 enum values.
3077 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3078 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3079 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3080 (tcp_cookie_transactions): New structure.
3081
d5e0b9bd
AB
30822013-01-09 Anton Blanchard <anton@samba.org>
3083
3084 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3085 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3086 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3087 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3088
0c07e3ea
JM
30892013-01-09 Joseph Myers <joseph@codesourcery.com>
3090
3091 * include/features.h (__USE_ANSI): Remove.
3092
232f7002
RM
30932013-01-09 Roland McGrath <roland@hack.frob.com>
3094
ad98e30c
RM
3095 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3096
232f7002
RM
3097 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3098
950c99ca
SP
30992013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3100
b5792741
SP
3101 * sysdeps/s390/fpu/libm-test-ulps: Update.
3102
47cf2278
SP
3103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3104
950c99ca
SP
3105 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3106 (__acr): Likewise.
3107 (__cpy): Likewise.
3108 (norm): Likewise.
3109 (denorm): Likewise.
3110 (__mp_dbl): Likewise.
3111 (__dbl_mp): Likewise.
3112 (add_magnitudes): Likewise.
3113 (sub_magnitudes): Likewise.
3114 (__add): Likewise.
3115 (__sub): Likewise.
3116 (__mul): Likewise.
3117 (__inv): Likewise.
3118 (__dvd): Likewise.
3119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3120 (__acr): Likewise.
3121 (__cpy): Likewise.
3122 (norm): Likewise.
3123 (denorm): Likewise.
3124 (__mp_dbl): Likewise.
3125 (__dbl_mp): Likewise.
3126 (add_magnitudes): Likewise.
3127 (sub_magnitudes): Likewise.
3128 (__add): Likewise.
3129 (__sub): Likewise.
3130 (__mul): Likewise.
3131 (__inv): Likewise.
3132 (__dvd): Likewise.
3133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3134 (__acr): Likewise.
3135 (__cpy): Likewise.
3136 (norm): Likewise.
3137 (denorm): Likewise.
3138 (__mp_dbl): Likewise.
3139 (__dbl_mp): Likewise.
3140 (add_magnitudes): Likewise.
3141 (sub_magnitudes): Likewise.
3142 (__add): Likewise.
3143 (__sub): Likewise.
3144 (__mul): Likewise.
3145 (__inv): Likewise.
3146 (__dvd): Likewise.
3147
eede9df9
JM
31482013-01-08 Joseph Myers <joseph@codesourcery.com>
3149
3150 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3151 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3152 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3153 2 && __USE_EXTERN_INLINES]: Likewise.
3154
c40ea3d9
AJ
31552013-01-08 Andreas Jaeger <aj@suse.de>
3156
3157 [BZ# 14985]
3158 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3159 Remove.
3160 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3161 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3162
2ccdea26
AB
31632013-01-07 Anton Blanchard <anton@samba.org>
3164
3165 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3166 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3167 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3168 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3169 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3170 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3171 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3172 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3174 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3175 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3176 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3177 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3178 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3179 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3180 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3181 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3182 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3183 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3184 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3185 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3186 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3187 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3188 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3189 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3190 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3191 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3192 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3194 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3195 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3198 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3199 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3200 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3201 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3202 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3203 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3204 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3205 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3206 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3207 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3208
a9708fed
JM
32092013-01-07 Joseph Myers <joseph@codesourcery.com>
3210
375607b9
JM
3211 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3212 (__MALLOC_PMT): Likewise.
3213 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3214 [__GNUC__], only on [_LIBC].
3215 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3216 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3217 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3218 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3219 forward declaration.
3220 (realloc_hook_ini): Likewise.
3221 (memalign_hook_ini): Likewise.
3222 (__libc_memalign): Do not use __MALLOC_PMT in variable
3223 declaration.
3224 (__libc_valloc): Likewise.
3225 (__libc_pvalloc): Likewise.
3226 (__libc_calloc): Likewise.
3227 (__posix_memalign): Likewise.
3228
a9708fed
JM
3229 [BZ #14996]
3230 * math/s_casinh.c: Include <float.h>.
3231 (__casinh): Do not do computation with squaring and square root
3232 for large arguments.
3233 * math/s_casinhf.c: Include <float.h>.
3234 (__casinhf): Do not do computation with squaring and square root
3235 for large arguments.
3236 * math/s_casinhl.c: Include <float.h>.
3237 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3238 (__casinhl): Do not do computation with squaring and square root
3239 for large arguments.
3240 * math/libm-test.inc (casin_test): Add more tests.
3241 (casinh_test): Likewise.
3242 * sysdeps/i386/fpu/libm-test-ulps: Update.
3243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3244
afec409a
L
32452013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3246
3247 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3248 (__x86_64_raw_data_cache_size): Likewise.
3249 (__x86_64_data_cache_size_half): Likewise.
3250 (__x86_64_raw_data_cache_size_half): Likewise.
3251 (__x86_64_shared_cache_size): Likewise.
3252 (__x86_64_raw_shared_cache_size): Likewise.
3253 (__x86_64_shared_cache_size_half): Likewise.
3254 (__x86_64_raw_shared_cache_size_half): Likewise.
3255 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3256 to ...
3257 (__x86_data_cache_size): This.
3258 (__x86_64_raw_data_cache_size): Renamed to ...
3259 (__x86_raw_data_cache_size): This.
3260 (__x86_64_data_cache_size_half): Renamed to ...
3261 (__x86_data_cache_size_half): This.
3262 (__x86_64_raw_data_cache_size_half): Renamed to ...
3263 (__x86_raw_data_cache_size_half): This.
3264 (__x86_64_shared_cache_size): Renamed to ...
3265 (__x86_shared_cache_size): This.
3266 (__x86_64_raw_shared_cache_size): Renamed to ...
3267 (__x86_raw_shared_cache_size): This.
3268 (__x86_64_shared_cache_size_half): Renamed to ...
3269 (__x86_shared_cache_size_half): This.
3270 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3271 (__x86_raw_shared_cache_size_half): This.
3272 * sysdeps/x86_64/memcpy.S: Updated.
3273 * sysdeps/x86_64/memset.S: Likewise.
3274 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3275 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3276 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3277
0b3986d0
DM
32782013-01-04 David S. Miller <davem@davemloft.net>
3279
3280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3281
e47686e9
AS
32822013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3283
d643bac1
AS
3284 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3285 1 to avoid redefinition warning.
3286 (__USE_GNU): Don't define.
3287 (init_signaling_nan): Protoize.
3288
e47686e9
AS
3289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3290
b18decba
SP
32912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3292
fffb407f
SP
3293 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3295 (__cpymn): Likewise.
3296 (norm): Remove commented code.
3297 (denorm): Likewise.
3298 (__mp_dbl): Likewise.
3299 (__inv): Likewise.
3300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3301 (__cpymn): Likewise.
3302 (norm): Remove commented code.
3303 (denorm): Likewise.
3304 (__mp_dbl): Likewise.
3305 (__inv): Likewise.
3306
b18decba
SP
3307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3308 mp_no value for 1.0 and 2.0.
3309 (norm): Use RADIXI instead of radixi.d.
3310 (denorm): Likewise.
3311 (__mul): Use 0.0 instead of zero.d.
3312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3313 mp_no value for 1.0 and 2.0.
3314 (norm): Use RADIXI instead of radixi.d.
3315 (denorm): Likewise.
3316 (__mul): Use 0.0 instead of zero.d.
3317
cdc1c96f
JM
33182013-01-04 Joseph Myers <joseph@codesourcery.com>
3319
3320 [BZ #14994]
3321 * math/s_casinh.c (__casinh): Reduce finite argument to first
3322 quadrant then set signs of results at the end.
3323 * math/s_casinhf.c (__casinhf): Likewise.
3324 * math/s_casinhl.c (__casinhl): Likewise.
3325 * math/libm-test.inc (casin_test): Add more tests.
3326 (casinh_test): Likewise.
3327 * sysdeps/i386/fpu/libm-test-ulps: Update.
3328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3329
302913e1
SP
33302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3331
6420d207
SP
3332 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3333
a9e48ab4
SP
3334 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3335
b7837264
SP
3336 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3337 declarations.
3338 (denorm): Likewise.
3339 (__mp_dbl): Likewise.
3340 (__inv): Likewise.
3341
f8af25d2
SP
3342 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3343 and adjust the header comment.
3344
302913e1
SP
3345 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3346 variable name from declaration.
3347
5d7dd1ca
L
33482013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3351 Initialize COMMON_CPUID_INDEX_7 element.
3352 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3353 (CPUID_RTM): Likewise.
3354 (HAS_RTM): Likewise.
3355 (COMMON_CPUID_INDEX_7): New enum.
3356
2f5f40f4
AS
33572013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3358
3359 [BZ #14981]
3360 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3361 size is zero, record memory as freed.
3362
4056f4a0
AJ
33632013-01-03 Andreas Jaeger <aj@suse.de>
3364
3365 * po/ia.po: Add new Interlingua translation.
3366
ab15736f 33672012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3368
3369 * locale/programs/localedef.c: Fix description of '--posix' flag.
3370
568035b7
JM
33712013-01-02 Joseph Myers <joseph@codesourcery.com>
3372
e6898b8d
JM
3373 * NEWS: Update dates in second copyright notice.
3374 * README: Update copyright dates in example.
3375 * manual/libc.texinfo: Update copyright dates.
3376 * scripts/test-installation.pl: Update copyright date in --version
3377 output.
3378
0e2f9562
JM
3379 * hurd/ctty-input.c: Fix copyright notice formatting.
3380 * hurd/ctty-output.c: Likewise.
3381 * hurd/dtable.c: Likewise.
3382 * hurd/hurd-raise.c: Likewise.
3383 * hurd/hurdprio.c: Likewise.
3384 * hurd/msgportdemux.c: Likewise.
3385 * misc/sys/file.h: Likewise.
3386 * misc/sys/ioctl.h: Likewise.
3387 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3388 * sysdeps/mach/hurd/chdir.c: Likewise.
3389 * sysdeps/mach/hurd/fchdir.c: Likewise.
3390 * sysdeps/mach/hurd/rename.c: Likewise.
3391 * sysdeps/mach/hurd/rmdir.c: Likewise.
3392 * sysdeps/mach/hurd/seekdir.c: Likewise.
3393 * sysdeps/mach/hurd/setsid.c: Likewise.
3394 * sysdeps/posix/wait3.c: Likewise.
3395
568035b7
JM
3396 * All files with FSF copyright notices: Update copyright dates
3397 using scripts/update-copyrights.
3398 * intl/plural.c: Regenerated.
3399 * locale/programs/charmap-kw.h: Likewise.
3400 * locale/programs/locfile-kw.h: Likewise.
3401
da08f647
SP
34022013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3403
0f5477af
SP
3404 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3405 four values.
3406
44e0d4c2
SP
3407 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3408 calculation loop and add branch prediction.
3409
4d55b4e5
SP
3410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3411 check access beyond bounds of m1np.
3412
da08f647
SP
3413 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3414 MPTWO.
3415 (__inv): Remove local variable MPTWO to use the global
3416 constant.
3417 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3418 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3419 variable MPTWO.
3420 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3421 MP3HALFS static const.
3422
8e051029
DM
34232013-01-01 David S. Miller <davem@davemloft.net>
3424
3425 * po/ca.po: Update from translation team.
3426
f4cf5f2d
JM
34272013-01-01 Joseph Myers <joseph@codesourcery.com>
3428
3429 * scripts/update-copyrights: New file.
3430 * Makeconfig: Reformat copyright notice.
3431 * ctype/ctype.h: Likewise.
3432 * debug/swprintf_chk.c: Likewise.
3433 * elf/dl-cache.c: Likewise.
3434 * elf/dl-debug.c: Likewise.
3435 * elf/dl-object.c: Likewise.
3436 * grp/initgroups.c: Likewise.
3437 * hurd/Makefile: Likewise.
3438 * hurd/hurd/signal.h: Likewise.
3439 * hurd/hurdfault.c: Likewise.
3440 * hurd/hurdioctl.c: Likewise.
3441 * hurd/hurdlookup.c: Likewise.
3442 * hurd/intr-msg.c: Likewise.
3443 * iconv/gconv_open.c: Likewise.
3444 * libio/swprintf.c: Likewise.
3445 * locale/lc-ctype.c: Likewise.
3446 * locale/nl_langinfo.c: Likewise.
3447 * mach/Machrules: Likewise.
3448 * mach/Makefile: Likewise.
3449 * malloc/obstack.h: Likewise.
3450 * manual/Makefile: Likewise.
3451 * manual/tsort.awk: Likewise.
3452 * misc/bits/stab.def: Likewise.
3453 * nis/nis_print_group_entry.c: Likewise.
3454 * nis/nis_table.c: Likewise.
3455 * nis/nss_compat/compat-pwd.c: Likewise.
3456 * nis/nss_compat/compat-spwd.c: Likewise.
3457 * po/Makefile: Likewise.
3458 * posix/fnmatch.c: Likewise.
3459 * posix/regex.h: Likewise.
3460 * resolv/Makefile: Likewise.
3461 * resolv/nss_dns/dns-network.c: Likewise.
3462 * resolv/res_hconf.c: Likewise.
3463 * scripts/gen-sorted.awk: Likewise.
3464 * soft-fp/soft-fp.h: Likewise.
3465 * stdio-common/printf.h: Likewise.
3466 * stdlib/monetary.h: Likewise.
3467 * stdlib/random.c: Likewise.
3468 * stdlib/random_r.c: Likewise.
3469 * sysdeps/generic/Makefile: Likewise.
3470 * sysdeps/gnu/Makefile: Likewise.
3471 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3473 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3475 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3478 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3479 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3481 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3482 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3483 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3484 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3485 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3486 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3487 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3488 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3489 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3491 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3492 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3493 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3494 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3495 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3496 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3497 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3498 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3499 * sysdeps/mach/hurd/errnos.awk: Likewise.
3500 * sysdeps/mach/hurd/fork.c: Likewise.
3501 * sysdeps/mach/hurd/getcwd.c: Likewise.
3502 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3503 * sysdeps/mach/hurd/mmap.c: Likewise.
3504 * sysdeps/mach/hurd/utimes.c: Likewise.
3505 * sysdeps/mach/hurd/xmknod.c: Likewise.
3506 * sysdeps/posix/profil.c: Likewise.
3507 * sysdeps/posix/readdir_r.c: Likewise.
3508 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3509 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3510 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3511 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3513 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3514 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3515 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3517 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3518 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3519 * sysdeps/pthread/lio_listio.c: Likewise.
3520 * sysdeps/sparc/dl-procinfo.h: Likewise.
3521 * sysdeps/unix/i386/sysdep.S: Likewise.
3522 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3523 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3524 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3525 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3527 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3528 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3529 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3530 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3531 * sysdeps/wordsize-32/divdi3.c: Likewise.
3532 * time/sys/time.h: Likewise.
3533 * wcsmbs/Makefile: Likewise.
3534
0549fbba
DM
35352013-01-01 David S. Miller <davem@davemloft.net>
3536
a141f1a7
DM
3537 * po/fr.po: Update from translation team.
3538
0549fbba
DM
3539 * catgets/gencat.c: Update copyright year.
3540 * csu/version.c: Likewise.
3541 * debug/catchsegv.sh: Likewise.
3542 * debug/pcprofiledump.c: Likewise.
3543 * debug/xtrace.sh: Likewise.
3544 * elf/ldconfig.c: Likewise.
3545 * elf/ldd.bash.in: Likewise.
3546 * elf/pldd.c: Likewise.
3547 * elf/sotruss.ksh: Likewise.
3548 * elf/sprof.c: Likewise.
3549 * iconv/iconv_prog.c: Likewise.
3550 * iconv/iconvconfig.c: Likewise.
3551 * locale/programs/locale.c: Likewise.
3552 * locale/programs/localedef.c: Likewise.
3553 * login/programs/pt_chown.c: Likewise.
3554 * malloc/memusage.sh: Likewise.
3555 * malloc/memusagestat.c: Likewise.
3556 * malloc/mtrace.pl: Likewise.
3557 * nscd/nscd.c: Likewise.
3558 * nss/getent.c: Likewise.
3559 * nss/makedb.c: Likewise.
3560 * posix/getconf.c: Likewise.
3561
18ea052c
SP
35622012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3563
3564 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3565 numbers.
3566
9c89fca6
MF
35672012-12-30 Mike Frysinger <vapier@gentoo.org>
3568
3569 * math/bits/mathcalls.h (modf): Use __nonnull.
3570
085ec079
SP
35712012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3572
3573 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3574 (split): Use macro CN instead of the bare value.
3575 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3576 could be used.
3577 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3578 instead of the bare value.
3579 (power1): Likewise.
3580
6d9f97e1
SP
35812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3582
d63f73be
SP
3583 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3584 __ATAN_TWOM.
3585 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3586
6d9f97e1
SP
3587 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3588 their values.
3589 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3590 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3591 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3592 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3593
4c4febf5
AJ
35942012-12-28 Andreas Jaeger <aj@suse.de>
3595
af5843ef
AJ
3596 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3597 values are from Linux 3.7.
3598
4c4febf5
AJ
3599 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3600 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3601
99136f82
SP
36022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3603
2f216c3c 3604 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
3605 TRUE case.
3606
99136f82
SP
3607 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3608 (norm): Likewise.
3609 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3610 variables with preprocessor constants.
3611 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3612 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3613 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3614
7fffbdff
BH
36152012-12-27 Bruno Haible <bruno@clisp.org>
3616
3617 [BZ #14317]
3618 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3619 only if needed.
3620
b76eb5f0
SP
36212012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3622
31a7fe5c
SP
3623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3624 and use variable directly.
3625 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3626
b76eb5f0
SP
3627 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3628 MPONE.
3629 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3631 variable MPONE.
3632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3634 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3635 include directive. Remove local variable MPONE.
3636 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3637 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3638 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3639
2c8bfe7d
DM
36402012-12-25 David S. Miller <davem@davemloft.net>
3641
3642 * version.h (RELEASE): Set to "development".
3643 (VERSION): Set to "2.17.90".
3644 * NEWS: Add 2.18 section.
3645
147d03b0
DM
36462012-12-21 David S. Miller <davem@davemloft.net>
3647
3648 * po/hr.po: Update from translation team.
3649
a8ebb2b9
AK
36502012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3651
3652 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3653
95b4f1b6
SE
36542012-12-19 Steve Ellcey <sellcey@mips.com>
3655
b2d94007 3656 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 3657
cedb2a90
MS
36582012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3659
3660 * manual/contrib.texi (Contributors): Spelling correction.
3661
bbf527d6
DM
36622012-12-15 David S. Miller <davem@davemloft.net>
3663
3664 * po/ru.po: Update from translation team.
3665
bc38c906
DM
36662012-12-13 David S. Miller <davem@davemloft.net>
3667
85429b1a
DM
3668 * NEWS: Mention IFUNC testsuite enhancements.
3669
d283e353
DM
3670 * po/pl.po: Update from translation team.
3671 * po/bg.po: Likewise.
3672
bc38c906
DM
3673 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3674 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3675
a181b0d7
DM
36762012-12-11 David S. Miller <davem@davemloft.net>
3677
4641d57e
DM
3678 * po/sv.po: Update from translation team.
3679
f7bc6495
DM
3680 * po/vi.po: Update from translation team.
3681
6fc9048f
DM
3682 * po/cs.po: Update from translation team.
3683
a181b0d7
DM
3684 * po/de.po: Update from translation team.
3685 * po/eo.po: Likewise.
3686 * po/nl.po: Likewise.
3687
f70bfe80
SP
36882012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3689
3c8b4190
SP
3690 [BZ #14246]
3691 * manual/argp.texi (Argp Helper Functions): Move node to follow
3692 Argp Parsing State.
3693
f70bfe80
SP
3694 [BZ #14872]
3695 * manual/conf.texi (Limits on File System Capacity): Mention if
3696 terminating null is included in the max size.
3697
188f0adf
AJ
36982012-12-10 Andreas Jaeger <aj@suse.de>
3699
3700 * po/cs.po: Update from translation team.
3701
56e7d3ad
SP
37022012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3703
3704 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3705 void pointer and cast to uintptr_t.
3706 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3707 path.
3708 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3709 * sysdeps/s390/s390-64/memset.S: Likewise.
3710
76f2d2ea 37112012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3712
3713 [BZ #14833]
3714 * menual/message.texi (Message Translation): Fix typos.
3715 (Helper programs for gettext): Likewise.
3716
67cbf9a2
AS
37172012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3718
3719 [BZ #14898]
3720 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3721 Change to -1.
3722
682d0e9a
DM
37232012-12-07 David S. Miller <davem@davemloft.net>
3724
3725 * po/libc.pot: Update.
3726
573cd484
RH
37272012-12-07 Richard Henderson <rth@redhat.com>
3728
7e9da188 3729 [BZ #10114]
573cd484
RH
3730 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3731 normal/normal case to before the switch.
3732 (_FP_DIV): Likewise.
3733
e933a943
MF
37342012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3735 Mike Frysinger <vapier@gentoo.org>
3736
3737 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3738 check for __NR_fadvise64_64.
3739
82123268
CM
37402012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3741
3742 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3743 0, not just to plain "0" as a statement.
3744 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3745 with cw.
3746
d9814526
JM
37472012-12-06 Joseph Myers <joseph@codesourcery.com>
3748
3749 * NEWS: Use sourceware.org in Bugzilla URL.
3750
7728c574
SP
37512012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3752
f16946dd
SP
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3754 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3755
5704bbcb
SP
3756 * stdio-common/tst-put-error.c (do_test): Add newline to the
3757 padded test to ensure flush.
3758
17aa0516
JL
37592012-12-05 Jeff Law <law@redhat.com>
3760
3761 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3762
363313b5
JM
37632012-12-05 Joseph Myers <joseph@codesourcery.com>
3764
effbd42a
JM
3765 * README: Don't refer to ports add-on as distributed separately.
3766 Mention AArch64 in list of systems supported in the ports add-on.
3767
87600365
JM
3768 * LICENSES: Add more non-FSF copyright and license notices.
3769
a0d7066a
JM
3770 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3771 ((unused)).
3772
66ca5a5b
JM
3773 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3774
363313b5
JM
3775 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3776 10000 as width of padded output.
3777
b37984ad
JM
37782012-12-04 Joseph Myers <joseph@codesourcery.com>
3779
9003570a
JM
3780 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3781
b37984ad
JM
3782 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3783 variable LX with __attribute__ ((unused)).
3784 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3785 Likewise.
3786 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3788 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3789 with __attribute__ ((unused)).
3790
c8df52ec
DM
37912012-12-04 David S. Miller <davem@abraco.davemloft.net>
3792
3793 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3794
b3b099af
JM
37952012-12-04 Joseph Myers <joseph@codesourcery.com>
3796
c33aa6e3
JM
3797 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3798 (CFLAGS-nldbl-acos.c): New variable.
3799 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3800 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3801 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3802 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3803 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3804 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3805 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3806 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3807 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3808 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3809 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3810 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3811 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3812 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3813 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3814 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3815 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3816 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3817 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3818 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3819 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3820 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3821 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3822 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3823 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3824 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3825 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3826 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3827 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3828 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3829 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3830 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3831 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3832 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3833 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3834 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3835 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3836 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3837 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3838 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3839 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3840 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3841 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3842 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3843 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3844 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3845 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3846 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3847 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3848 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3849 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3850 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3851 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3852 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3853 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3854 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3855 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3856 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3857 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3858 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3859 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3860 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3861 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3862 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3863 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3864 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3865 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3866 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3867 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3868 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3869 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3870 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3871 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3872 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3873 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3874 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3875 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3876 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3877 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3878 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3879 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3880 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3881 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3882 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3883 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3884 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3885 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3886 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3887 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3888 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3889 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3890 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3891 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3892 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3893 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3894 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3895 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3896
20f0018d
JM
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3898 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3899
b3b099af
JM
3900 [BZ #14914]
3901 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3902 whole low double instead of just low 47 bits when splitting values
3903 into two parts.
3904
029264d1
AM
39052012-12-03 Allan McRae <allan@archlinux.org>
3906
3907 * manual/stdio.texi (Predefined Printf Handlers): Remove
3908 @hsep and @vsep usage.
3909
c9d6789e
MF
39102012-12-03 Mike Frysinger <vapier@gentoo.org>
3911
3912 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3913 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3914
4b7634a5
JL
39152012-12-03 Jeff Law <law@redhat.com>
3916
3917 * time/sys/time.h (settimeofday): Do not mark TV argument
3918 as __nonnull.
3919
eb6cbd24
MF
39202012-12-01 Mike Frysinger <vapier@gentoo.org>
3921
3922 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3923 when currently writing and seek to current position when not.
3924 * libio/Makefile (tests): Remove bug-fclose1.
3925 * libio/bug-fclose1.c: Delete.
3926
f638872a
JM
39272012-12-01 Joseph Myers <joseph@codesourcery.com>
3928
3929 * manual/arith.texi (feenableexcept): Fix typo.
3930 (fedisableexcept): Likewise.
3931
48085d14
RM
39322012-11-30 Roland McGrath <roland@hack.frob.com>
3933
3934 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3935 second, differently-typed declaration, rather than a cast.
3936
1a538b9f
SP
39372012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3938
3939 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3940 * include/rpc/svc.h: ... here.
3941
d07f2ff1 39422012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3943
3944 [BZ #13013]
3945 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3946 depending n and resplen2 to catch cases where answer
3947 equals answerp2.
3948
c93ec1f0
CD
39492012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3950
3951 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3952 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3953
37db69de
MF
39542012-11-29 Mike Frysinger <vapier@gentoo.org>
3955
3956 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3957
e10c4e4f
RM
39582012-11-29 Roland McGrath <roland@hack.frob.com>
3959
3960 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3961
2af1b328
JL
39622012-11-28 Jeff Law <law@redhat.com>
3963
3964 [BZ #13761]
3965 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3966 dataset_temporary. Track alloca usage into alloca_used.
3967 If dataset is large allocate and release it via malloc/free.
3968
111db5b1
FW
39692012-06-04 Florian Weimer <fweimer@redhat.com>
3970
f06cc227 3971 [BZ #14197]
111db5b1
FW
3972 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3973
dd694abd
DM
39742012-11-28 David S. Miller <davem@davemloft.net>
3975
3976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3977
9984dd01
JM
39782012-11-28 Joseph Myers <joseph@codesourcery.com>
3979
3980 [BZ #14803]
3981 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3982 of pi/2 rounded to nearest to 64 bits.
3983 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3984 nearest to 64 bits.
3985 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3986 bits.
3987
14bc93a9
JL
39882012-11-28 Jeff Law <law@redhat.com>
3989 Martin Osvald <mosvald@redhat.com>
3990
3991 [BZ #14889]
3992 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3993 * sunrpc/svc.c: Include time.h.
3994 (__svc_accept_failed): New function.
3995 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3996 any reason other than EINTR, call __svc_accept_failed.
3997 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3998 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3999
e3c6aa3a
AS
40002012-11-28 Andreas Schwab <schwab@suse.de>
4001
4002 * scripts/abilist.awk: Also handle indirect functions in .opd
4003 section.
4004
1bead169
JM
40052012-11-28 Joseph Myers <joseph@codesourcery.com>
4006
4007 [BZ #13881]
4008 * sysdeps/x86/fpu/powl_helper.c: New file.
4009 * sysdeps/x86/fpu/Makefile: Likewise.
4010 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4011 (p3): New object.
4012 (__ieee754_powl): Use __powl_helper for finite arguments except
4013 integer exponents below 8.
4014 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4015 (p3): New object.
4016 (__ieee754_powl): Use __powl_helper for finite arguments except
4017 integer exponents below 8.
4018 * math/libm-test.inc (pow_test): Add more tests and enable some
4019 previously disabled tests.
4020 * sysdeps/i386/fpu/libm-test-ulps: Update.
4021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4022
0817d63d
SP
40232012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4024 Carlos O'Donell <carlos_odonell@mentor.com>
4025
4026 * nss/makedb.c (is_prime): Assert that input is odd and greater
4027 than 4. Note that fact in a comment too.
4028 (next_prime): Add 4 to input.
4029
de2fd463
SP
40302012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4031
4032 [BZ #11741]
4033 * libio/Makefile (tests): Add test case tst-fwrite-error.
4034 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4035 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4036 * libio/tst-fwrite-error.c: New test case.
4037
c515fb51
L
40382012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4039
4040 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4041 before casting to void *.
4042 * include/libc-internal.h (__pointer_type): New macro.
4043 (__integer_if_pointer_type_sub): Likewise.
4044 (__integer_if_pointer_type): Likewise.
4045 (cast_to_integer): Likewise.
4046 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4047 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4048 before casting to atomic64_t.
4049 (atomic_exchange_acq): Likewise.
4050 (__arch_exchange_and_add_body): Likewise.
4051 (__arch_add_body): Likewise.
4052 (atomic_add_negative): Likewise.
4053 (atomic_add_zero): Likewise.
4054
4cf77aa9
JM
40552012-11-26 Joseph Myers <joseph@codesourcery.com>
4056
4057 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4058 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4059 (add_fdes): Likewise.
4060 (linear_search_fdes): Likewise.
4061 (binary_search_unencoded_fdes): Likewise.
4062
d260b3b4
AS
40632012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4064
4065 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4066
67060746
AC
40672012-11-24 Adam Conrad <adconrad@0c3.net>
4068
4069 * configure.in: Autodetect C++ header directories.
4070 * configure: Regenerated.
4071
800938a1
MF
40722012-11-23 Mike Frysinger <vapier@gentoo.org>
4073
4074 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4075
4e6e34e6
AS
40762012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4077
4078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4079
7c7feb47
JM
40802012-11-22 Joseph Myers <joseph@codesourcery.com>
4081
7184dcdf
JM
4082 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4083 LDBL_MANT_DIG == 106]: Disable some tests.
4084 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4085 Likewise.
4086 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4087 Likewise.
4088
0a42601f
JM
4089 [BZ #14871]
4090 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4091 input for small inputs. Return +/- pi/2 for large inputs.
4092 * math/libm-test.inc (atan_test): Add more tests.
4093
79c9b9fe
JM
4094 * sysdeps/generic/unwind-dw2-fde-glibc.c
4095 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4096 __attribute__ ((unused)).
4097
c60d3bf2
JM
4098 [BZ #14645]
4099 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4100 x * y if x and y are nonzero and z is zero.
4101
ef1e0867
JM
4102 [BZ #14811]
4103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4104 nonzero exponents with absolute value below 0x1p-117 to +/-
4105 0x1p-117.
4106
1468ded3
JM
4107 [BZ #14869]
4108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4109 up arguments below 2**-450, not just those below 2**-500.
4110 * math/libm-test.inc (hypot_test): Add another test.
4111
8e27e3cc
JM
4112 [BZ #14868]
4113 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4114 Return a+b for ratio over 2**120, not 2**60.
4115 * math/libm-test.inc (hypot_test): Add another test.
4116
c9c0279b
JM
4117 * math/libm-test.inc (clog_test): Use
4118 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4119 (clog10_test): Likewise.
4120
7c7feb47
JM
4121 [BZ #6778]
4122 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4123
fff1530e
AS
41242012-11-22 Andreas Schwab <schwab@suse.de>
4125
4126 * sysdeps/i386/fpu/libm-test-ulps: Update.
4127
94558d30
PT
41282012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4129
4130 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4131 printf output with newline.
4132
7e1be741
L
41332012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4134
6bfea974
L
4135 [BZ #14865]
4136 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4137 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4138 -z nodlopen, -z initfirst and -z execstack support.
4139 * configure: Regenerated.
4140
7e1be741
L
4141 * elf/elf.h (DF_1_NODIRECT): New macro.
4142 (DF_1_IGNMULDEF): Likewise.
4143 (DF_1_NOKSYMS): Likewise.
4144 (DF_1_NOHDR): Likewise.
4145 (DF_1_EDITED): Likewise.
4146 (DF_1_NORELOC): Likewise.
4147 (DF_1_SYMINTPOSE): Likewise.
4148 (DF_1_GLOBAUDIT): Likewise.
4149 (DF_1_SINGLETON): Likewise.
4150 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4151 DT_1_SUPPORTED_MASK bits.
4152 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4153
105ce2ce
CD
41542012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4155
4156 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4157
123be9de
TS
41582012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4159
d072f3f7
TS
4160 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4161 macro.
4162
123be9de
TS
4163 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4164 (sendmmsg): Move declarations...
4165 * socket/sys/socket.h: ... here.
4166 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4167 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4168 include it from...
4169 * socket/recvmmsg.c: ... this new file.
4170 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4171 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4172 definition of __sendmmsg hidden.
4173 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4174 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4175 Move ENOSYS stub into and include it from...
4176 * socket/sendmmsg.c: ... this new file.
4177 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4178 (sysdep_routines): Move recvmmsg and sendmmsg...
4179 * socket/Makefile (routines): ... here.
4180 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4181 (GLIBC_PRIVATE): Add __sendmmsg.
4182 * include/sys/socket.h (__sendmmsg): Add declarations.
4183 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4184 sendmmsg.
4185
cf9a5d18
JM
41862012-11-20 Joseph Myers <joseph@codesourcery.com>
4187
4188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4189 variable I1 with __attribute__ ((unused)).
4190 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4191
ecd4caf9
JM
41922012-11-19 Joseph Myers <joseph@codesourcery.com>
4193
be14d48f
JM
4194 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4195 DUMMY variables with __attribute__ ((unused)).
4196
ecd4caf9
JM
4197 * bits/byteswap.h: Include <bits/types.h>.
4198 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4199
986cab95
PT
42002012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4201
4202 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4203 string_t. Do not manually set errno.
4204 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4205 length with __strnlen. Make sure to both set errno and return it on
4206 failure.
4207
6d33cc9d
DM
42082012-11-19 David S. Miller <davem@davemloft.net>
4209
4210 With help from Joseph Myers.
4211 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4212 very large arguments properly.
4213 * math/libm-test.inc (atan_test): New tests.
4214 (atan2_test): New tests.
4215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4217
ee663277
JM
42182012-11-19 Joseph Myers <joseph@codesourcery.com>
4219
877f2d8e
JM
4220 [BZ #14856]
4221 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4222 Define to 3.
4223
116fc08a
JM
4224 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4225 [POSIX] (EADDRNOTAVAIL): Likewise.
4226 [POSIX] (EAFNOSUPPORT): Likewise.
4227 [POSIX] (EALREADY): Likewise.
4228 [POSIX] (ECONNABORTED): Likewise.
4229 [POSIX] (ECONNREFUSED): Likewise.
4230 [POSIX] (ECONNRESET): Likewise.
4231 [POSIX] (EDESTADDRREQ): Likewise.
4232 [POSIX] (EDQUOT): Likewise.
4233 [POSIX] (EHOSTUNREACH): Likewise.
4234 [POSIX] (EIDRM): Likewise.
4235 [POSIX] (EISCONN): Likewise.
4236 [POSIX] (ELOOP): Likewise.
4237 [POSIX] (EMULTIHOP): Likewise.
4238 [POSIX] (ENETDOWN): Likewise.
4239 [POSIX] (ENETUNREACH): Likewise.
4240 [POSIX] (ENOBUFS): Likewise.
4241 [POSIX] (ENODATA): Likewise.
4242 [POSIX] (ENOLINK): Likewise.
4243 [POSIX] (ENOMSG): Likewise.
4244 [POSIX] (ENOPROTOOPT): Likewise.
4245 [POSIX] (ENOSR): Likewise.
4246 [POSIX] (ENOSTR): Likewise.
4247 [POSIX] (ENOTCONN): Likewise.
4248 [POSIX] (ENOTSOCK): Likewise.
4249 [POSIX] (EOPNOTSUPP): Likewise.
4250 [POSIX] (EOVERFLOW): Likewise.
4251 [POSIX] (EPROTO): Likewise.
4252 [POSIX] (EPROTONOSUPPORT): Likewise.
4253 [POSIX] (EPROTOTYPE): Likewise.
4254 [POSIX] (ESTALE): Likewise.
4255 [POSIX] (ETIME): Likewise.
4256 [POSIX] (ETXTBSY): Likewise.
4257 [POSIX] (EWOULDBLOCK): Likewise.
4258 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4259 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4260 [POSIX] (SEEK_CUR): Likewise.
4261 [POSIX] (SEEK_END): Likewise.
4262 [POSIX || UNIX98] (mode_t): Do not require.
4263 [POSIX] (off_t): Likewise.
4264 [POSIX] (pid_t): Likewise.
4265 [POSIX] (sys/stat.h): Do not allow header.
4266 [POSIX] (unistd.h): Likewise.
4267 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4268 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4269 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4270 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4271 require.
4272 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4273 sigevent): Specify elements.
4274 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4275 entry.
4276 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4277 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4278
a483863f
JM
4279 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4280 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4281 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4282 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4283 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4284 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4285 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4286 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4287 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4288 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4289 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4290 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4291 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4292 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4293 Likewise.
4294 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4295 Likewise.
4296 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4297 Likewise.
4298 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4299 Likewise.
4300 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4301 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4302 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4303 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4304 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4305 Specify lower bound on value.
4306 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4307 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4308 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4309 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4310 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4311 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4312 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4313 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4314 value.
4315 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4316 as optional.
4317 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4318 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4319 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4320 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4321 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4322 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4323 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4324 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4325 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4326 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4327 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4328 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4329 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4330 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4331 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4332 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4333 entry.
4334 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4335 optional.
4336 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4337 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4338 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4339 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4340 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4341 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4342 Likewise.
4343 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4344 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4345 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4346 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4347 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4348 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4349 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4350 as optional.
4351 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4352 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4353 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4354 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4355 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4356 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4357 specify as optional.
4358 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4359 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4360 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4361 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4362 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4363 [XPG3] (NL_LANGMAX): Likewise.
4364 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4365 [POSIX || XPG3] (NL_NMAX): Likewise.
4366 [POSIX || XPG3] (NL_SETMAX): Likewise.
4367 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4368 [XPG3] (NZERO): Likewise.
4369 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4370 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4371 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4372 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4373 (REG_ERANGE): Expect.
4374 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4375 optional-constant.
4376 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4377 Use (void) in prototype.
4378 [POSIX] (*_t): Allow.
4379 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4380 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4381 (WRDE_BADVAL): Expect.
4382
5ba924e3
JM
4383 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4384 expect.
4385 [XPG3 || XPG4] (O_RSYNC): Likewise.
4386 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4387 Likewise.
4388 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4389 [XPG3 || XPG4] (sigqueue): Likewise.
4390 [XPG3 || XPG4] (sigtimedwait): Likewise.
4391 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4392 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4393 [XPG3 || XPG4] (vsnprintf): Likewise.
4394 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4395 Likewise.
4396 [XPG3 || XPG4] (blksize_t): Likewise.
4397 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4398 Likewise.
4399 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4400 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4401 [XPG3 || XPG4] (struct itimerspec): Likewise.
4402 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4403 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4404 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4405 [XPG3 || XPG4] (clockid_t): Likewise.
4406 [XPG3 || XPG4] (timer_t): Likewise.
4407 [XPG3 || XPG4] (clock_getres): Likewise.
4408 [XPG3 || XPG4] (clock_gettime): Likewise.
4409 [XPG3 || XPG4] (clock_settime): Likewise.
4410 [XPG3 || XPG4] (nanosleep): Likewise.
4411 [XPG3 || XPG4] (timer_create): Likewise.
4412 [XPG3 || XPG4] (timer_delete): Likewise.
4413 [XPG3 || XPG4] (timer_gettime): Likewise.
4414 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4415 [XPG3 || XPG4] (timer_settime): Likewise.
4416 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4417 [XPG3 || XPG4] (getlogin_r): Likewise.
4418 [XPG3 || XPG4] (pread): Likewise.
4419 [XPG3 || XPG4] (pthread_atfork): Likewise.
4420 [XPG3 || XPG4] (pwrite): Likewise.
4421
ee663277
JM
4422 [BZ #14835]
4423 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4424 <bits/siginfo.h>.
4425
942caa16
PT
44262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4427
e19af380
PT
4428 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4429 finalizing MALLSTREAM.
4430
942caa16
PT
4431 * sysdeps/mach/hurd/syncfs.c: New file.
4432
cfde9b46
SP
44332012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4434
4435 [BZ #14719]
4436 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4437 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4438 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4439 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4440 (_nss_dns_gethostbyname4_r): Likewise.
4441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4442 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4443
f6da27e5
PH
44442012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4445
4446 [BZ #13763]
4447 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4448
6665d4a2
SM
44492012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4450
1f51ee92
SM
4451 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4452 * elf/cache.c (print_entry): Print ",AArch64" for
4453 FLAG_AARCH64_LIB64
4454
6665d4a2
SM
4455 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4456 * elf/cache.c (print_entry): Print ",hard-float" for
4457 FLAG_ARM_LIBHF.
4458
05b227bd
DM
44592012-11-18 David S. Miller <davem@davemloft.net>
4460
4461 With help from Joseph Myers.
4462 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4463 cutoff to 2**-13.
4464 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4465 cutoff to 2**-25.
4466 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4467 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4468 small.
4469 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4470 * math/libm-test.inc (y0_test): New tests.
4471 (y1_test): New tests.
4472 * sysdeps/i386/fpu/libm-test-ulps: Update.
4473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4475
786b0b67
AS
44762012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4477
4478 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4479 64-bit targets.
4480 * configure: Regenerated.
4481
8e18b86d
DM
44822012-11-17 David S. Miller <davem@davemloft.net>
4483
4484 [BZ #14811]
4485 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4486 nonzero exponents with absolute value below 0x1p-128 to +/-
4487 0x1p-128.
4488
531f1ae0
JM
44892012-11-17 Joseph Myers <joseph@codesourcery.com>
4490
12df29e2
JM
4491 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4492
150dc1a0
JM
4493 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4494
531f1ae0
JM
4495 * posix/getconf-speclist.c: New file.
4496 * posix/posix-envs.def: Likewise.
4497 * posix/confstr.c (START_ENV_GROUP): New macro.
4498 (END_ENV_GROUP): Likewise.
4499 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4500 (KNOWN_PRESENT_ENV_STRING): Likewise.
4501 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4502 (UNKNOWN_ENVIRONMENT): Likewise.
4503 (confstr): Include posix-envs.def instead of handling
4504 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4505 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4506 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4507 (END_ENV_GROUP): Likewise.
4508 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4509 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4510 (UNKNOWN_ENVIRONMENT): Likewise.
4511 (__sysconf): Include posix-envs.def instead of handling associated
4512 cases directly here.
4513 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4514 preprocessing getconf-speclist.c rather than running getconf or
4515 generating empty file.
4516
a93f9cbc
PT
45172012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4518
4519 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4520
d64d9f87
AL
45212012-11-16 Andrej Lajovic <natrij@gmail.com>
4522
4523 [BZ #14672]
4524 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4525
447885eb
DM
45262012-11-16 David S. Miller <davem@davemloft.net>
4527
4528 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4529 smaller than LDBL_EPSILON/2.0L, just return xm1.
4530
bcbf9830
L
45312012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4532
4533 * elf/tst-array1.c (init): Set constructor priority to 1000.
4534 (fini): Set destructor priority to 1000.
4535 * elf/tst-array2dep.c: Likewise.
4536
2b766585
SP
45372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4538
4539 [BZ #11741]
4540 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4541 (_IO_new_file_xsputn): Also return EOF if none of the input
4542 data was written when overflow failed.
4543 * libio/iopadn.c (_IO_padn): Likewise.
4544 * libio/iowpadn.c (_IO_wpadn): Likewise.
4545 * stdio-common/tst-put-error.c: Add copyright notice.
4546 (do_test): Add case for printing padded string.
4547 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4548 _IO_padn returned error.
4549 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4550 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4551 return EOF.
4552
b1848fde
SP
45532012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4554
4555 * libio/libioP.h: Add comment note that the references to C++
4556 bits are now obsolete.
4557
2fd89785
MS
45582012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4559
4560 * math/libm-test.inc (check_complex): Use asprintf.
4561
e3ea5409
JM
45622012-11-14 Joseph Myers <joseph@codesourcery.com>
4563
4564 * debug/pcprofiledump.c (print_version): Update copyright year.
4565 * malloc/memusagestat.c (print_version): Likewise.
4566
2e64d265
L
45672012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4568
4569 [BZ #14831]
4570 * elf/Makefile (tests): Add tst-audit8.
4571 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4572 ($(objpfx)tst-audit8.out): New target.
4573 (tst-audit8-ENV): New variable.
4574 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4575 audit if l_reloc_result is NULL.
4576 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4577 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4578 * elf/tst-audit8.c: New file.
4579
c485e4d2
MS
45802012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4581
4582 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4583 * misc/Makefile (CFLAGS-select.c): Define.
4584 * posix/Makefile (CFLAGS-pause.c): Define.
4585
3a0d900a
DM
45862012-11-13 David S. Miller <davem@davemloft.net>
4587
4588 * crypt/Makefile: Move test targets after toplevel Rules
4589 inclusion. Grab any necessary sysdep routines when linking.
4590 * crypt/md5.c (md5_process_block): Remove define, we will always
4591 name it __md5_process_block.
4592 (md5_finish_ctx): Update md5_process_block call.
4593 (md5_stream): Likewise.
4594 (md5_process_bytes): Likewise.
4595 (md5_process_block): Rename to __md5_process_block and move to ...
4596 * crypt/md5-block.c: ... here.
4597 * crypt/sha256.c (sha256_process_block): Move to ...
4598 * crypt/sha256-block.c: ... here.
4599 * crypt/sha512.c (sha512_process_block): Move to ...
4600 * crypt/sha512-block.c: ... here.
4601 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4602 path.
4603 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4604 * sysdeps/sparc/sparc64/multiarch/Makefile
4605 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4606 crypt subdir.
4607 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4608 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4609 multiarch changes.
4610 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4611 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4612 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4613 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4614 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4615 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4616 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4617 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4618 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4619 file.
4620 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4621 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4622 file.
4623 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4624
8ca89318
JM
46252012-11-13 Joseph Myers <joseph@codesourcery.com>
4626
e27d476a
JM
4627 * timezone/tzselect.ksh: Update from tzcode git revision
4628 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4629 * timezone/zdump.c: Likewise.
4630 * timezone/zic.c: Likewise.
4631 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4632 in TZVERSION setting, not $(PKGVERSION).
4633 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4634 REPORT_BUGS_TO settings.
4635
8ca89318
JM
4636 [BZ #14838]
4637 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4638 macro.
4639
47594329
MS
46402012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4641
4642 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4643 detection to immediately after _FP_ROUND().
4644 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4645 bits are 0.
4646
640ac3f1
DM
46472012-11-11 David S. Miller <davem@davemloft.net>
4648
4649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4650 inttypes.h
4651 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4652 __close rather than their public counterparts.
4653
3d2577bb
JM
46542012-11-10 Joseph Myers <joseph@codesourcery.com>
4655
4656 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4657 file.
4658 [UNIX98] (sem_timedwait): Do not expect.
4659 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4660 [XPG4 || UNIX98] (sockatmark): Do not expect.
4661 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4662 (clock_getcpuclockid): Do not expect.
4663 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4664 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4665 Do not expect.
4666 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4667 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4668 [UNIX98] (vwscanf): Likewise.
4669 [UNIX98] (vswscanf): Likewise.
4670
fb1ae1ee
JM
46712012-11-09 Joseph Myers <joseph@codesourcery.com>
4672
9ec6f8bd
JM
4673 * timezone/version.h: Remove file.
4674 * timezone/README: Do not refer to version.h.
4675 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4676 $(objpfx)version.h.
4677 ($(objpfx)zdump.o): Likewise.
c3f81911 4678 ($(objpfx)version.h): New target.
9ec6f8bd 4679
0aa8f8a1
JM
4680 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4681 2012i.
4682 * timezone/README: Don't mention modification to tzselect.ksh.
4683 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4684 work on unmodified tzselect.ksh. Substitute version numbers in
4685 tzselect.ksh.
4686
4e87147f
JM
4687 * Makefile (format-me): Remove.
4688 (INSTALL): Adjust indentation. Use commands directly instead of
4689 using $(format-me).
4690
8b748aed
JM
4691 * aclocal.m4 (ACX_PKGVERSION): New macro.
4692 (ACX_BUGURL): Likewise.
4693 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4694 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4695 (REPORT_BUGS_TO): Likewise.
4696 * configure: Regenerated.
4697 * config.h.in (PKGVERSION): New macro.
4698 (REPORT_BUGS_TO): Likewise.
4699 * config.make.in (PKGVERSION): New variable.
4700 (PKGVERSION_TEXI): Likewise.
4701 (REPORT_BUGS_TO): Likewise.
4702 (REPORT_BUGS_TEXI): Likewise.
4703 * Makefile (format-me): Use -I$(common-objpfx)manual.
4704 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4705 ($(common-objpfx)manual/%): New target.
4706 (manual/%): Remove target.
4707 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4708 (print_version): Use PKGVERSION.
4709 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4710 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4711 and REPORT_BUGS_TO.
4712 ($(objpfx)xtrace): Likewise.
4713 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4714 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4715 (print_version): Use PKGVERSION.
4716 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4717 (do_version): Use PKGVERSION.
4718 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4719 REPORT_BUGS_TO.
4720 (common-ldd-rewrite): Likewise.
4721 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4722 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4723 (print_version): Use PKGVERSION.
4724 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4725 * elf/pldd.c (argp_program_bug_address): Remove variable.
4726 (more_help): New function.
4727 (argp): Use more_help.
4728 (print_version): Use PKGVERSION.
4729 * elf/sln.c (main): Use PKGVERSION.
4730 (usage): Use REPORT_BUGS_TO.
4731 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4732 (top level): Use PKGVERSION.
4733 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4734 (print_version): Use PKGVERSION.
4735 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4736 (print_version): Use PKGVERSION.
4737 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4738 (print_version): Use PKGVERSION.
4739 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4740 (print_version): Use PKGVERSION.
4741 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4742 (print_version): Use PKGVERSION.
4743 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4744 (print_version): Use PKGVERSION.
4745 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4746 and BUGURL.
4747 ($(objpfx)memusage): Likewise.
4748 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4749 (do_version): Use PKGVERSION.
4750 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4751 (print_version): Use PKGVERSION.
4752 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4753 ($PKGVERSION): New variable.
4754 ($REPORT_BUGS_TO): Likewise.
4755 (usage): Use $REPORT_BUGS_TO.
4756 (top level): Use $PKGVERSION.
4757 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4758 ($(objpfx)pkgvers.texi): New rule.
4759 ($(objpfx)stamp-pkgvers): Likewise.
4760 * manual/install.texi: Include pkgvers.texi.
4761 (--with-pkgversion): Document new configure option.
4762 (--with-bugurl): Likewise.
4763 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4764 than necessarily for this particular distribution. Use
4765 REPORT_BUGS_TO for where to report bugs.
4766 * INSTALL: Regenerated.
4767 * manual/libc.texinfo: Include pkgvers.texi.
4768 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4769 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4770 (print_version): Use PKGVERSION.
4771 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4772 (print_version): Use PKGVERSION.
4773 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4774 (print_version): Use PKGVERSION.
4775 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4776 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4777 macro.
4778 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4779 (print_version): Use PKGVERSION.
4780 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4781 (print_version): Use PKGVERSION.
4782 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4783 and PKGVERSION.
4784
92e4b6a9
JM
4785 * timezone/checktab.awk: Update from tzcode 2012i.
4786 * timezone/ialloc.c: Likewise.
4787 * timezone/private.h: Likewise.
4788 * timezone/scheck.c: Likewise.
4789 * timezone/tzfile.h: Likewise.
4790 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4791 (TZVERSION): Hardcode tzcode version number.
4792 * timezone/zdump.c: Update from tzcode 2012i.
4793 * timezone/zic.c: Likewise.
4794 * timezone/version.h: New file.
4795 * timezone/README: Describe version.h. Update upstream location.
4796
9bde902c
JM
4797 [BZ #14824]
4798 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4799 (mktemp): Enable declaration.
4800 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4801 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4803 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4804 Likewise.
4805 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4806 Likewise.
4807 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4808 Likewise.
4809 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4810 Likewise.
4811 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4812 Likewise.
4813 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4814 Likewise.
4815
fb1ae1ee
JM
4816 [BZ #14821]
4817 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4818 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4819 for copies of such integer values.
4820 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4821 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4822
2c1adbcb
AJ
48232012-11-09 Andreas Jaeger <aj@suse.de>
4824
4825 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4826 definitions and declarations that are provided by
4827 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4828
d0f8457e
AK
48292012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4830
3a235abb 4831 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4832 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4833 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4834 definition.
4835
57241e26
MS
48362012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4837
4838 * elf/elf.h: Update comment before AArch64 relocations.
4839
60e8270d
DM
48402012-11-07 David S. Miller <davem@davemloft.net>
4841
4842 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4843 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4844 (__start_context): Declare.
4845 (__makecontext_ret): Delete.
4846 (__makecontext): Hook up __start_context instead of
4847 __makecontext_ret.
4848 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4849 (sysdep_routines): Add __start_context when in stdlib.
4850
0fbb0fbc
JM
48512012-11-07 Joseph Myers <joseph@codesourcery.com>
4852
4853 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4854 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4855 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4856 hardcoded "nm".
4857 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4858 (READELF): New variable. Use it instead of hardcoded "readelf".
4859
eb48db7e
L
48602012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4861
4862 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4863 * sysdeps/x86/Makefile: Here.
4864 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4865 * sysdeps/x86/tst-xmmymm.sh: This.
4866
05bcf62a
JM
48672012-11-07 Joseph Myers <joseph@codesourcery.com>
4868
c4b6cf53
JM
4869 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4870 expectations.
4871 [UNIX98] (pthread_barrier_t): Do not expect.
4872 [UNIX98] (pthread_barrierattr_t): Likewise.
4873 [UNIX98] (pthread_spinlock_t): Likewise.
4874 [UNIX98] (pthread_barrier_destroy): Likewise.
4875 [UNIX98] (pthread_barrier_init): Likewise.
4876 [UNIX98] (pthread_barrier_wait): Likewise.
4877 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4878 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4879 [UNIX98] (pthread_barrierattr_init): Likewise.
4880 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4881 [UNIX98] (pthread_getcpuclockid): Likewise.
4882 [UNIX98] (pthread_mutex_timedlock): Likewise.
4883 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4884 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4885 [UNIX98] (pthread_sigmask): Likewise.
4886 [UNIX98] (pthread_spin_destroy): Likewise.
4887 [UNIX98] (pthread_spin_init): Likewise.
4888 [UNIX98] (pthread_spin_lock): Likewise.
4889 [UNIX98] (pthread_spin_trylock): Likewise.
4890 [UNIX98] (pthread_spin_unlock): Likewise.
4891 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4892 Do not expect.
4893 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4894 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4895 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4896 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4897 [XPG3 || XPG4] (pthread_key_t): Likewise.
4898 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4899 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4900 [XPG3 || XPG4] (pthread_once_t): Likewise.
4901 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4902 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4903 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4904 [XPG3 || XPG4] (pthread_t): Likewise.
4905
cbe6e120
JM
4906 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4907 not expect.
4908 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4909
1b126443
JM
4910 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4911 Change function return type to int.
4912
b961a573
JM
4913 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4914 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4915 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4916 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4917 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4918 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4919 [!POSIX] (posix_madvise): Likewise.
4920 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4921 && !UNIX98].
4922 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4923 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4924 (mode_t): Likewise.
4925 (posix_mem_offset): Likewise.
4926 (posix_typed_mem_get_info): Likewise.
4927 (posix_typed_mem_open): Likewise.
4928
9e188909
JM
4929 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4930 Change condition to [XOPEN2K8].
4931
05bcf62a
JM
4932 * conform/conformtest.pl: Preprocess allow-header data with -x c
4933 instead of from stdin.
4934 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4935 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4936 [C99-based standards] (cerfc): Likewise.
4937 [C99-based standards] (cexp2): Likewise.
4938 [C99-based standards] (cexpm1): Likewise.
4939 [C99-based standards] (clog10): Likewise.
4940 [C99-based standards] (clog1p): Likewise.
4941 [C99-based standards] (clog2): Likewise.
4942 [C99-based standards] (clgamma): Likewise.
4943 [C99-based standards] (ctgamma): Likewise.
4944 [C99-based standards] (cerff): Likewise.
4945 [C99-based standards] (cerfcf): Likewise.
4946 [C99-based standards] (cexp2f): Likewise.
4947 [C99-based standards] (cexpm1f): Likewise.
4948 [C99-based standards] (clog10f): Likewise.
4949 [C99-based standards] (clog1pf): Likewise.
4950 [C99-based standards] (clog2f): Likewise.
4951 [C99-based standards] (clgammaf): Likewise.
4952 [C99-based standards] (ctgammaf): Likewise.
4953 [C99-based standards] (cerfl): Likewise.
4954 [C99-based standards] (cerfcl): Likewise.
4955 [C99-based standards] (cexp2l): Likewise.
4956 [C99-based standards] (cexpm1l): Likewise.
4957 [C99-based standards] (clog10l): Likewise.
4958 [C99-based standards] (clog1pl): Likewise.
4959 [C99-based standards] (clog2l): Likewise.
4960 [C99-based standards] (clgammal): Likewise.
4961 [C99-based standards] (ctgammal): Likewise.
4962 * conform/data/inttypes.h-data [C99-based standards]: Include
4963 stdint.h-data. Remove all expectations for stdint.h contents.
4964 [C99-based standards] (PRI*): Do not allow.
4965 [C99-based standards] (SCN*): Likewise.
4966 [C99-based standards] (*_t): Likewise.
4967 [C99-based-standards] (PRId8): Expect macro.
4968 [C99-based-standards] (PRIi8): Likewise.
4969 [C99-based-standards] (PRIo8): Likewise.
4970 [C99-based-standards] (PRIu8): Likewise.
4971 [C99-based-standards] (PRIx8): Likewise.
4972 [C99-based-standards] (PRIX8): Likewise.
4973 [C99-based-standards] (SCNd8): Likewise.
4974 [C99-based-standards] (SCNi8): Likewise.
4975 [C99-based-standards] (SCNo8): Likewise.
4976 [C99-based-standards] (SCNu8): Likewise.
4977 [C99-based-standards] (SCNx8): Likewise.
4978 [C99-based-standards] (PRIdLEAST8): Likewise.
4979 [C99-based-standards] (PRIiLEAST8): Likewise.
4980 [C99-based-standards] (PRIoLEAST8): Likewise.
4981 [C99-based-standards] (PRIuLEAST8): Likewise.
4982 [C99-based-standards] (PRIxLEAST8): Likewise.
4983 [C99-based-standards] (PRIXLEAST8): Likewise.
4984 [C99-based-standards] (SCNdLEAST8): Likewise.
4985 [C99-based-standards] (SCNiLEAST8): Likewise.
4986 [C99-based-standards] (SCNoLEAST8): Likewise.
4987 [C99-based-standards] (SCNuLEAST8): Likewise.
4988 [C99-based-standards] (SCNxLEAST8): Likewise.
4989 [C99-based-standards] (PRIdFAST8): Likewise.
4990 [C99-based-standards] (PRIiFAST8): Likewise.
4991 [C99-based-standards] (PRIoFAST8): Likewise.
4992 [C99-based-standards] (PRIuFAST8): Likewise.
4993 [C99-based-standards] (PRIxFAST8): Likewise.
4994 [C99-based-standards] (PRIXFAST8): Likewise.
4995 [C99-based-standards] (SCNdFAST8): Likewise.
4996 [C99-based-standards] (SCNiFAST8): Likewise.
4997 [C99-based-standards] (SCNoFAST8): Likewise.
4998 [C99-based-standards] (SCNuFAST8): Likewise.
4999 [C99-based-standards] (SCNxFAST8): Likewise.
5000 [C99-based-standards] (PRId16): Likewise.
5001 [C99-based-standards] (PRIi16): Likewise.
5002 [C99-based-standards] (PRIo16): Likewise.
5003 [C99-based-standards] (PRIu16): Likewise.
5004 [C99-based-standards] (PRIx16): Likewise.
5005 [C99-based-standards] (PRIX16): Likewise.
5006 [C99-based-standards] (SCNd16): Likewise.
5007 [C99-based-standards] (SCNi16): Likewise.
5008 [C99-based-standards] (SCNo16): Likewise.
5009 [C99-based-standards] (SCNu16): Likewise.
5010 [C99-based-standards] (SCNx16): Likewise.
5011 [C99-based-standards] (PRIdLEAST16): Likewise.
5012 [C99-based-standards] (PRIiLEAST16): Likewise.
5013 [C99-based-standards] (PRIoLEAST16): Likewise.
5014 [C99-based-standards] (PRIuLEAST16): Likewise.
5015 [C99-based-standards] (PRIxLEAST16): Likewise.
5016 [C99-based-standards] (PRIXLEAST16): Likewise.
5017 [C99-based-standards] (SCNdLEAST16): Likewise.
5018 [C99-based-standards] (SCNiLEAST16): Likewise.
5019 [C99-based-standards] (SCNoLEAST16): Likewise.
5020 [C99-based-standards] (SCNuLEAST16): Likewise.
5021 [C99-based-standards] (SCNxLEAST16): Likewise.
5022 [C99-based-standards] (PRIdFAST16): Likewise.
5023 [C99-based-standards] (PRIiFAST16): Likewise.
5024 [C99-based-standards] (PRIoFAST16): Likewise.
5025 [C99-based-standards] (PRIuFAST16): Likewise.
5026 [C99-based-standards] (PRIxFAST16): Likewise.
5027 [C99-based-standards] (PRIXFAST16): Likewise.
5028 [C99-based-standards] (SCNdFAST16): Likewise.
5029 [C99-based-standards] (SCNiFAST16): Likewise.
5030 [C99-based-standards] (SCNoFAST16): Likewise.
5031 [C99-based-standards] (SCNuFAST16): Likewise.
5032 [C99-based-standards] (SCNxFAST16): Likewise.
5033 [C99-based-standards] (PRId32): Likewise.
5034 [C99-based-standards] (PRIi32): Likewise.
5035 [C99-based-standards] (PRIo32): Likewise.
5036 [C99-based-standards] (PRIu32): Likewise.
5037 [C99-based-standards] (PRIx32): Likewise.
5038 [C99-based-standards] (PRIX32): Likewise.
5039 [C99-based-standards] (SCNd32): Likewise.
5040 [C99-based-standards] (SCNi32): Likewise.
5041 [C99-based-standards] (SCNo32): Likewise.
5042 [C99-based-standards] (SCNu32): Likewise.
5043 [C99-based-standards] (SCNx32): Likewise.
5044 [C99-based-standards] (PRIdLEAST32): Likewise.
5045 [C99-based-standards] (PRIiLEAST32): Likewise.
5046 [C99-based-standards] (PRIoLEAST32): Likewise.
5047 [C99-based-standards] (PRIuLEAST32): Likewise.
5048 [C99-based-standards] (PRIxLEAST32): Likewise.
5049 [C99-based-standards] (PRIXLEAST32): Likewise.
5050 [C99-based-standards] (SCNdLEAST32): Likewise.
5051 [C99-based-standards] (SCNiLEAST32): Likewise.
5052 [C99-based-standards] (SCNoLEAST32): Likewise.
5053 [C99-based-standards] (SCNuLEAST32): Likewise.
5054 [C99-based-standards] (SCNxLEAST32): Likewise.
5055 [C99-based-standards] (PRIdFAST32): Likewise.
5056 [C99-based-standards] (PRIiFAST32): Likewise.
5057 [C99-based-standards] (PRIoFAST32): Likewise.
5058 [C99-based-standards] (PRIuFAST32): Likewise.
5059 [C99-based-standards] (PRIxFAST32): Likewise.
5060 [C99-based-standards] (PRIXFAST32): Likewise.
5061 [C99-based-standards] (SCNdFAST32): Likewise.
5062 [C99-based-standards] (SCNiFAST32): Likewise.
5063 [C99-based-standards] (SCNoFAST32): Likewise.
5064 [C99-based-standards] (SCNuFAST32): Likewise.
5065 [C99-based-standards] (SCNxFAST32): Likewise.
5066 [C99-based-standards] (PRId64): Likewise.
5067 [C99-based-standards] (PRIi64): Likewise.
5068 [C99-based-standards] (PRIo64): Likewise.
5069 [C99-based-standards] (PRIu64): Likewise.
5070 [C99-based-standards] (PRIx64): Likewise.
5071 [C99-based-standards] (PRIX64): Likewise.
5072 [C99-based-standards] (SCNd64): Likewise.
5073 [C99-based-standards] (SCNi64): Likewise.
5074 [C99-based-standards] (SCNo64): Likewise.
5075 [C99-based-standards] (SCNu64): Likewise.
5076 [C99-based-standards] (SCNx64): Likewise.
5077 [C99-based-standards] (PRIdLEAST64): Likewise.
5078 [C99-based-standards] (PRIiLEAST64): Likewise.
5079 [C99-based-standards] (PRIoLEAST64): Likewise.
5080 [C99-based-standards] (PRIuLEAST64): Likewise.
5081 [C99-based-standards] (PRIxLEAST64): Likewise.
5082 [C99-based-standards] (PRIXLEAST64): Likewise.
5083 [C99-based-standards] (SCNdLEAST64): Likewise.
5084 [C99-based-standards] (SCNiLEAST64): Likewise.
5085 [C99-based-standards] (SCNoLEAST64): Likewise.
5086 [C99-based-standards] (SCNuLEAST64): Likewise.
5087 [C99-based-standards] (SCNxLEAST64): Likewise.
5088 [C99-based-standards] (PRIdFAST64): Likewise.
5089 [C99-based-standards] (PRIiFAST64): Likewise.
5090 [C99-based-standards] (PRIoFAST64): Likewise.
5091 [C99-based-standards] (PRIuFAST64): Likewise.
5092 [C99-based-standards] (PRIxFAST64): Likewise.
5093 [C99-based-standards] (PRIXFAST64): Likewise.
5094 [C99-based-standards] (SCNdFAST64): Likewise.
5095 [C99-based-standards] (SCNiFAST64): Likewise.
5096 [C99-based-standards] (SCNoFAST64): Likewise.
5097 [C99-based-standards] (SCNuFAST64): Likewise.
5098 [C99-based-standards] (SCNxFAST64): Likewise.
5099 [C99-based-standards] (PRIdMAX): Likewise.
5100 [C99-based-standards] (PRIiMAX): Likewise.
5101 [C99-based-standards] (PRIoMAX): Likewise.
5102 [C99-based-standards] (PRIuMAX): Likewise.
5103 [C99-based-standards] (PRIxMAX): Likewise.
5104 [C99-based-standards] (PRIXMAX): Likewise.
5105 [C99-based-standards] (SCNdMAX): Likewise.
5106 [C99-based-standards] (SCNiMAX): Likewise.
5107 [C99-based-standards] (SCNoMAX): Likewise.
5108 [C99-based-standards] (SCNuMAX): Likewise.
5109 [C99-based-standards] (SCNxMAX): Likewise.
5110 [C99-based-standards] (PRIdPTR): Likewise.
5111 [C99-based-standards] (PRIiPTR): Likewise.
5112 [C99-based-standards] (PRIoPTR): Likewise.
5113 [C99-based-standards] (PRIuPTR): Likewise.
5114 [C99-based-standards] (PRIxPTR): Likewise.
5115 [C99-based-standards] (PRIXPTR): Likewise.
5116 [C99-based-standards] (SCNdPTR): Likewise.
5117 [C99-based-standards] (SCNiPTR): Likewise.
5118 [C99-based-standards] (SCNoPTR): Likewise.
5119 [C99-based-standards] (SCNuPTR): Likewise.
5120 [C99-based-standards] (SCNxPTR): Likewise.
5121 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5122 allow.
5123 * conform/data/stdint.h-data: Update comments to clarify
5124 requirements.
5125 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5126 type.
5127 [C99-based standards] (INT8_MAX): Likewise.
5128 [C99-based standards] (INT16_MIN): Likewise.
5129 [C99-based standards] (INT16_MAX): Likewise.
5130 [C99-based standards] (INT32_MIN): Likewise.
5131 [C99-based standards] (INT32_MAX): Likewise.
5132 [C99-based standards] (INT64_MIN): Likewise.
5133 [C99-based standards] (INT64_MAX): Likewise.
5134 [C99-based standards] (UINT8_MAX): Likewise.
5135 [C99-based standards] (UINT16_MAX): Likewise.
5136 [C99-based standards] (UINT32_MAX): Likewise.
5137 [C99-based standards] (UINT64_MAX): Likewise.
5138 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5139 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5140 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5141 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5142 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5143 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5144 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5145 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5146 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5147 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5148 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5149 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5150 [C99-based standards] (INT_FAST8_MIN): Likewise.
5151 [C99-based standards] (INT_FAST8_MAX): Likewise.
5152 [C99-based standards] (INT_FAST16_MIN): Likewise.
5153 [C99-based standards] (INT_FAST16_MAX): Likewise.
5154 [C99-based standards] (INT_FAST32_MIN): Likewise.
5155 [C99-based standards] (INT_FAST32_MAX): Likewise.
5156 [C99-based standards] (INT_FAST64_MIN): Likewise.
5157 [C99-based standards] (INT_FAST64_MAX): Likewise.
5158 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5159 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5160 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5161 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5162 [C99-based standards] (INTPTR_MIN): Likewise.
5163 [C99-based standards] (INTPTR_MAX): Likewise.
5164 [C99-based standards] (UINTPTR_MAX): Likewise.
5165 [C99-based standards] (INTMAX_MIN): Likewise.
5166 [C99-based standards] (INTMAX_MAX): Likewise.
5167 [C99-based standards] (UINTMAX_MAX): Likewise.
5168 [C99-based standards] (PTRDIFF_MIN): Likewise.
5169 [C99-based standards] (PTRDIFF_MAX): Likewise.
5170 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5171 [C99-based standards] (SIZE_MAX): Likewise.
5172 [C99-based standards] (WCHAR_MAX): Likewise.
5173 [C99-based standards] (WINT_MAX): Likewise.
5174 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5175 constraint on value.
5176 [C99-based standards] (WCHAR_MIN): Likewise.
5177 [C99-based standards] (WINT_MIN): Likewise.
5178 [C99-based standards] (*_t): Allow.
5179 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5180 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5181 Include math.h-data and complex.h-data. Remove all expectations
5182 of math.h and complex.h contents.
5183 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5184 at end of line.
5185 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5186 (struct tm): Expect tag.
5187 [C99-based-standards] (wcstof): Expect function.
5188 [C99-based-standards] (wcstold): Likewise.
5189 [C99-based-standards] (wcstoll): Likewise.
5190 [C99-based-standards] (wcstoull): Likewise.
5191 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5192 macro-int-constant. Specify type.
5193 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5194 constraint on value.
5195 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5196 Specify type.
5197 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5198 Specify value.
5199 [ISO C standards]: Do not allow headers.
5200 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5201 wcs[abcdefghijklmnopqrstuvwxyz]*.
5202 [ISO C standards] (*_t): Do not allow.
5203 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5204 Expect function.
5205 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5206 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5207 Specify type.
5208 [ISO C standards]: Do not allow headers.
5209 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5210 is[abcdefghijklmnopqrstuvwxyz]*.
5211 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5212 to[abcdefghijklmnopqrstuvwxyz]*.
5213 [ISO C standards] (*_t): Do not allow.
5214 * conform/data/stdalign.h-data: New file.
5215 * conform/data/stdbool.h-data: Likewise.
5216 * conform/data/stdnoreturn.h-data: Likewise.
5217
7514feb8
RM
52182012-11-07 Roland McGrath <roland@hack.frob.com>
5219
5220 [BZ #14815]
5221 * manual/filesys.texi (Directory Entries): Typo fix.
5222 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5223
19b2ecfc
MS
52242012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5225
5226 * elf/elf.h (EM_AARCH64): New macro.
5227 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5228 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5229 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5230 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5231 (R_AARCH64_TLSDESC): Likewise.
5232 (NT_ARM_TLS): Likewise.
5233 (NT_ARM_HW_BREAK): Likewise.
5234 (NT_ARM_HW_WATCH): Likewise.
5235
60e235ee
JM
52362012-11-07 Joseph Myers <joseph@codesourcery.com>
5237
5238 [BZ #14811]
5239 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5240 (__ieee754_powl): Saturate nonzero exponents with absolute value
5241 below 0x1p-79 to +/- 0x1p-79.
5242 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5243 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5244 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5245 nonzero exponents with absolute value below 0x1p-32 to +/-
5246 0x1p-32.
5247 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5248 (__ieee754_powl): Saturate nonzero exponents with absolute value
5249 below 0x1p-79 to +/- 0x1p-79.
5250 * math/libm-test.inc (pow_test): Add more tests.
5251
0ab234b7
AK
52522012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5253
5254 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5255 _dl_s390_cap_flags with kernel. Increase string length.
5256 (_dl_s390_platforms): Add z196 and zEC12.
5257
45832f74
JM
52582012-11-07 Joseph Myers <joseph@codesourcery.com>
5259
5260 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5261 Change XOPEN21K to XOPEN2K.
5262
19218757
MK
52632012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5264
5265 * string/memmove.c: Use memcpy when possible.
5266
c5f45721
AJ
52672012-11-06 Andreas Jaeger <aj@suse.de>
5268
5269 * po/eo.po: Update from translation team.
5270
82477c28
JM
52712012-11-06 Joseph Myers <joseph@codesourcery.com>
5272
5273 [BZ #14793]
5274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5275 exponent and small x and y exponents, scale x or y up. Increase
5276 by 2 the exponent used in scaling up.
5277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5279 * math/libm-test.inc (fma_test): Add more tests.
5280 (fma_test_towardzero): Likewise.
5281 (fma_test_downward): Likewise.
5282 (fma_test_upward): Likewise.
5283
99252c8c
JM
52842012-11-05 Joseph Myers <joseph@codesourcery.com>
5285
acfa885f
JM
5286 [BZ #14805]
5287 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5288 fenv_t *.
5289
99252c8c
JM
5290 [BZ #14801]
5291 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5292 namespace for names of struct fields.
5293 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5294 fenv_t fields.
5295 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5296 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5297
d6d98dea
ST
52982012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5299
5300 [BZ #3665]
5301 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5302
e10bb107
TS
53032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5304
5305 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5306 PTR_DEMANGLE.
5307
5308 [BZ #5246]
5309 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5310 PTR_DEMANGLE.
5311
a0c2940d
JM
53122012-11-04 Joseph Myers <joseph@codesourcery.com>
5313
5314 [BZ #14797]
5315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5316 definitely overflow as x * y not x * y + z.
5317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5318 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5319 * math/libm-test.inc (fma_test): Add more tests.
5320 (fma_test_towardzero): Likewise.
5321 (fma_test_downward): Likewise.
5322 (fma_test_upward): Likewise.
5323
b830319d
TS
53242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5325
5326 [BZ #157]
5327
5328 * include/stub-tag.h: Remove file.
5329 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5330 '#include' of it.
5331 * manual/maint.texi (Porting): Don't reference it.
5332 * Makerules ($(objpfx)stubs): Likewise.
5333 * dirent/closedir.c: Don't include <stub-tag.h>.
5334 * dirent/dirfd.c: Likewise.
5335 * dirent/fdopendir.c: Likewise.
5336 * dirent/getdents.c: Likewise.
5337 * dirent/getdents64.c: Likewise.
5338 * dirent/opendir.c: Likewise.
5339 * dirent/readdir.c: Likewise.
5340 * dirent/readdir64.c: Likewise.
5341 * dirent/readdir64_r.c: Likewise.
5342 * dirent/readdir_r.c: Likewise.
5343 * dirent/rewinddir.c: Likewise.
5344 * dirent/seekdir.c: Likewise.
5345 * dirent/telldir.c: Likewise.
5346 * gmon/profil.c: Likewise.
5347 * grp/setgroups.c: Likewise.
5348 * inet/if_index.c: Likewise.
5349 * io/access.c: Likewise.
5350 * io/chdir.c: Likewise.
5351 * io/chmod.c: Likewise.
5352 * io/chown.c: Likewise.
5353 * io/close.c: Likewise.
5354 * io/dup.c: Likewise.
5355 * io/dup2.c: Likewise.
5356 * io/dup3.c: Likewise.
5357 * io/euidaccess.c: Likewise.
5358 * io/faccessat.c: Likewise.
5359 * io/fchdir.c: Likewise.
5360 * io/fchmod.c: Likewise.
5361 * io/fchmodat.c: Likewise.
5362 * io/fchown.c: Likewise.
5363 * io/fchownat.c: Likewise.
5364 * io/fcntl.c: Likewise.
5365 * io/flock.c: Likewise.
5366 * io/fstatfs.c: Likewise.
5367 * io/fstatfs64.c: Likewise.
5368 * io/fstatvfs.c: Likewise.
5369 * io/fstatvfs64.c: Likewise.
5370 * io/futimens.c: Likewise.
5371 * io/fxstat.c: Likewise.
5372 * io/fxstat64.c: Likewise.
5373 * io/fxstatat.c: Likewise.
5374 * io/fxstatat64.c: Likewise.
5375 * io/getcwd.c: Likewise.
5376 * io/isatty.c: Likewise.
5377 * io/lchmod.c: Likewise.
5378 * io/lchown.c: Likewise.
5379 * io/link.c: Likewise.
5380 * io/linkat.c: Likewise.
5381 * io/lseek.c: Likewise.
5382 * io/lseek64.c: Likewise.
5383 * io/lxstat64.c: Likewise.
5384 * io/mkdir.c: Likewise.
5385 * io/mkdirat.c: Likewise.
5386 * io/mkfifo.c: Likewise.
5387 * io/mkfifoat.c: Likewise.
5388 * io/open.c: Likewise.
5389 * io/open64.c: Likewise.
5390 * io/openat.c: Likewise.
5391 * io/openat64.c: Likewise.
5392 * io/pipe.c: Likewise.
5393 * io/pipe2.c: Likewise.
5394 * io/poll.c: Likewise.
5395 * io/posix_fadvise.c: Likewise.
5396 * io/posix_fadvise64.c: Likewise.
5397 * io/posix_fallocate.c: Likewise.
5398 * io/posix_fallocate64.c: Likewise.
5399 * io/read.c: Likewise.
5400 * io/readlink.c: Likewise.
5401 * io/readlinkat.c: Likewise.
5402 * io/rmdir.c: Likewise.
5403 * io/sendfile.c: Likewise.
5404 * io/sendfile64.c: Likewise.
5405 * io/statfs.c: Likewise.
5406 * io/statfs64.c: Likewise.
5407 * io/statvfs.c: Likewise.
5408 * io/statvfs64.c: Likewise.
5409 * io/symlink.c: Likewise.
5410 * io/symlinkat.c: Likewise.
5411 * io/ttyname.c: Likewise.
5412 * io/ttyname_r.c: Likewise.
5413 * io/umask.c: Likewise.
5414 * io/unlink.c: Likewise.
5415 * io/unlinkat.c: Likewise.
5416 * io/utime.c: Likewise.
5417 * io/utimensat.c: Likewise.
5418 * io/write.c: Likewise.
5419 * io/xmknod.c: Likewise.
5420 * io/xmknodat.c: Likewise.
5421 * io/xstat.c: Likewise.
5422 * io/xstat64.c: Likewise.
5423 * login/getpt.c: Likewise.
5424 * login/grantpt.c: Likewise.
5425 * login/unlockpt.c: Likewise.
5426 * math/e_acoshl.c: Likewise.
5427 * math/e_acosl.c: Likewise.
5428 * math/e_asinl.c: Likewise.
5429 * math/e_atan2l.c: Likewise.
5430 * math/e_atanhl.c: Likewise.
5431 * math/e_coshl.c: Likewise.
5432 * math/e_expl.c: Likewise.
5433 * math/e_fmodl.c: Likewise.
5434 * math/e_gammal_r.c: Likewise.
5435 * math/e_hypotl.c: Likewise.
5436 * math/e_j0l.c: Likewise.
5437 * math/e_j1l.c: Likewise.
5438 * math/e_jnl.c: Likewise.
5439 * math/e_lgammal_r.c: Likewise.
5440 * math/e_log10l.c: Likewise.
5441 * math/e_log2l.c: Likewise.
5442 * math/e_logl.c: Likewise.
5443 * math/e_powl.c: Likewise.
5444 * math/e_rem_pio2l.c: Likewise.
5445 * math/e_sinhl.c: Likewise.
5446 * math/e_sqrtl.c: Likewise.
5447 * math/fclrexcpt.c: Likewise.
5448 * math/fedisblxcpt.c: Likewise.
5449 * math/feenablxcpt.c: Likewise.
5450 * math/fegetenv.c: Likewise.
5451 * math/fegetexcept.c: Likewise.
5452 * math/fegetround.c: Likewise.
5453 * math/feholdexcpt.c: Likewise.
5454 * math/fesetenv.c: Likewise.
5455 * math/fesetround.c: Likewise.
5456 * math/feupdateenv.c: Likewise.
5457 * math/fgetexcptflg.c: Likewise.
5458 * math/fraiseexcpt.c: Likewise.
5459 * math/fsetexcptflg.c: Likewise.
5460 * math/ftestexcept.c: Likewise.
5461 * math/k_cosl.c: Likewise.
5462 * math/k_rem_pio2l.c: Likewise.
5463 * math/k_sinl.c: Likewise.
5464 * math/k_tanl.c: Likewise.
5465 * math/s_asinhl.c: Likewise.
5466 * math/s_atanl.c: Likewise.
5467 * math/s_cbrtl.c: Likewise.
5468 * math/s_erfl.c: Likewise.
5469 * math/s_expm1l.c: Likewise.
5470 * math/s_log1pl.c: Likewise.
5471 * math/s_tanhl.c: Likewise.
5472 * misc/acct.c: Likewise.
5473 * misc/brk.c: Likewise.
5474 * misc/chflags.c: Likewise.
5475 * misc/chroot.c: Likewise.
5476 * misc/fchflags.c: Likewise.
5477 * misc/fgetxattr.c: Likewise.
5478 * misc/flistxattr.c: Likewise.
5479 * misc/fremovexattr.c: Likewise.
5480 * misc/fsetxattr.c: Likewise.
5481 * misc/fsync.c: Likewise.
5482 * misc/ftruncate.c: Likewise.
5483 * misc/futimes.c: Likewise.
5484 * misc/futimesat.c: Likewise.
5485 * misc/getdomain.c: Likewise.
5486 * misc/getdtsz.c: Likewise.
5487 * misc/gethostid.c: Likewise.
5488 * misc/gethostname.c: Likewise.
5489 * misc/getloadavg.c: Likewise.
5490 * misc/getpagesize.c: Likewise.
5491 * misc/getsysstats.c: Likewise.
5492 * misc/getxattr.c: Likewise.
5493 * misc/gtty.c: Likewise.
5494 * misc/ioctl.c: Likewise.
5495 * misc/lgetxattr.c: Likewise.
5496 * misc/listxattr.c: Likewise.
5497 * misc/llistxattr.c: Likewise.
5498 * misc/lremovexattr.c: Likewise.
5499 * misc/lsetxattr.c: Likewise.
5500 * misc/lutimes.c: Likewise.
5501 * misc/madvise.c: Likewise.
5502 * misc/mincore.c: Likewise.
5503 * misc/mlock.c: Likewise.
5504 * misc/mlockall.c: Likewise.
5505 * misc/mmap.c: Likewise.
5506 * misc/mprotect.c: Likewise.
5507 * misc/msync.c: Likewise.
5508 * misc/munlock.c: Likewise.
5509 * misc/munlockall.c: Likewise.
5510 * misc/munmap.c: Likewise.
5511 * misc/preadv.c: Likewise.
5512 * misc/preadv64.c: Likewise.
5513 * misc/ptrace.c: Likewise.
5514 * misc/pwritev.c: Likewise.
5515 * misc/pwritev64.c: Likewise.
5516 * misc/readv.c: Likewise.
5517 * misc/reboot.c: Likewise.
5518 * misc/remap_file_pages.c: Likewise.
5519 * misc/removexattr.c: Likewise.
5520 * misc/revoke.c: Likewise.
5521 * misc/select.c: Likewise.
5522 * misc/setdomain.c: Likewise.
5523 * misc/setegid.c: Likewise.
5524 * misc/seteuid.c: Likewise.
5525 * misc/sethostid.c: Likewise.
5526 * misc/sethostname.c: Likewise.
5527 * misc/setregid.c: Likewise.
5528 * misc/setreuid.c: Likewise.
5529 * misc/setxattr.c: Likewise.
5530 * misc/sstk.c: Likewise.
5531 * misc/stty.c: Likewise.
5532 * misc/swapoff.c: Likewise.
5533 * misc/swapon.c: Likewise.
5534 * misc/sync.c: Likewise.
5535 * misc/syncfs.c: Likewise.
5536 * misc/syscall.c: Likewise.
5537 * misc/truncate.c: Likewise.
5538 * misc/ualarm.c: Likewise.
5539 * misc/usleep.c: Likewise.
5540 * misc/ustat.c: Likewise.
5541 * misc/utimes.c: Likewise.
5542 * misc/vhangup.c: Likewise.
5543 * misc/writev.c: Likewise.
5544 * posix/_exit.c: Likewise.
5545 * posix/alarm.c: Likewise.
5546 * posix/execve.c: Likewise.
5547 * posix/fexecve.c: Likewise.
5548 * posix/fork.c: Likewise.
5549 * posix/fpathconf.c: Likewise.
5550 * posix/getaddrinfo.c: Likewise.
5551 * posix/getegid.c: Likewise.
5552 * posix/geteuid.c: Likewise.
5553 * posix/getgid.c: Likewise.
5554 * posix/getgroups.c: Likewise.
5555 * posix/getlogin.c: Likewise.
5556 * posix/getlogin_r.c: Likewise.
5557 * posix/getpgid.c: Likewise.
5558 * posix/getpid.c: Likewise.
5559 * posix/getppid.c: Likewise.
5560 * posix/getresgid.c: Likewise.
5561 * posix/getresuid.c: Likewise.
5562 * posix/getsid.c: Likewise.
5563 * posix/getuid.c: Likewise.
5564 * posix/glob64.c: Likewise.
5565 * posix/nanosleep.c: Likewise.
5566 * posix/pathconf.c: Likewise.
5567 * posix/pause.c: Likewise.
5568 * posix/posix_madvise.c: Likewise.
5569 * posix/pread.c: Likewise.
5570 * posix/pread64.c: Likewise.
5571 * posix/pwrite.c: Likewise.
5572 * posix/pwrite64.c: Likewise.
5573 * posix/sched_getaffinity.c: Likewise.
5574 * posix/sched_getp.c: Likewise.
5575 * posix/sched_gets.c: Likewise.
5576 * posix/sched_primax.c: Likewise.
5577 * posix/sched_primin.c: Likewise.
5578 * posix/sched_rr_gi.c: Likewise.
5579 * posix/sched_setaffinity.c: Likewise.
5580 * posix/sched_setp.c: Likewise.
5581 * posix/sched_sets.c: Likewise.
5582 * posix/sched_yield.c: Likewise.
5583 * posix/setgid.c: Likewise.
5584 * posix/setlogin.c: Likewise.
5585 * posix/setpgid.c: Likewise.
5586 * posix/setresgid.c: Likewise.
5587 * posix/setresuid.c: Likewise.
5588 * posix/setsid.c: Likewise.
5589 * posix/setuid.c: Likewise.
5590 * posix/sleep.c: Likewise.
5591 * posix/spawni.c: Likewise.
5592 * posix/sysconf.c: Likewise.
5593 * posix/times.c: Likewise.
5594 * posix/wait.c: Likewise.
5595 * posix/wait3.c: Likewise.
5596 * posix/wait4.c: Likewise.
5597 * posix/waitpid.c: Likewise.
5598 * resolv/gai_sigqueue.c: Likewise.
5599 * resource/getpriority.c: Likewise.
5600 * resource/getrlimit.c: Likewise.
5601 * resource/getrusage.c: Likewise.
5602 * resource/nice.c: Likewise.
5603 * resource/setpriority.c: Likewise.
5604 * resource/setrlimit.c: Likewise.
5605 * resource/ulimit.c: Likewise.
5606 * rt/aio_cancel.c: Likewise.
5607 * rt/aio_fsync.c: Likewise.
5608 * rt/aio_read.c: Likewise.
5609 * rt/aio_sigqueue.c: Likewise.
5610 * rt/aio_suspend.c: Likewise.
5611 * rt/aio_write.c: Likewise.
5612 * rt/clock_getres.c: Likewise.
5613 * rt/clock_gettime.c: Likewise.
5614 * rt/clock_nanosleep.c: Likewise.
5615 * rt/clock_settime.c: Likewise.
5616 * rt/lio_listio.c: Likewise.
5617 * rt/mq_close.c: Likewise.
5618 * rt/mq_getattr.c: Likewise.
5619 * rt/mq_notify.c: Likewise.
5620 * rt/mq_open.c: Likewise.
5621 * rt/mq_receive.c: Likewise.
5622 * rt/mq_send.c: Likewise.
5623 * rt/mq_setattr.c: Likewise.
5624 * rt/mq_timedreceive.c: Likewise.
5625 * rt/mq_timedsend.c: Likewise.
5626 * rt/mq_unlink.c: Likewise.
5627 * rt/shm_open.c: Likewise.
5628 * rt/shm_unlink.c: Likewise.
5629 * rt/timer_create.c: Likewise.
5630 * rt/timer_delete.c: Likewise.
5631 * rt/timer_getoverr.c: Likewise.
5632 * rt/timer_gettime.c: Likewise.
5633 * rt/timer_settime.c: Likewise.
5634 * setjmp/__longjmp.c: Likewise.
5635 * setjmp/setjmp.c: Likewise.
5636 * signal/kill.c: Likewise.
5637 * signal/killpg.c: Likewise.
5638 * signal/raise.c: Likewise.
5639 * signal/sigaction.c: Likewise.
5640 * signal/sigaltstack.c: Likewise.
5641 * signal/sigblock.c: Likewise.
5642 * signal/sigignore.c: Likewise.
5643 * signal/sigintr.c: Likewise.
5644 * signal/signal.c: Likewise.
5645 * signal/sigpause.c: Likewise.
5646 * signal/sigpending.c: Likewise.
5647 * signal/sigqueue.c: Likewise.
5648 * signal/sigreturn.c: Likewise.
5649 * signal/sigset.c: Likewise.
5650 * signal/sigsetmask.c: Likewise.
5651 * signal/sigstack.c: Likewise.
5652 * signal/sigsuspend.c: Likewise.
5653 * signal/sigtimedwait.c: Likewise.
5654 * signal/sigvec.c: Likewise.
5655 * signal/sigwait.c: Likewise.
5656 * signal/sigwaitinfo.c: Likewise.
5657 * signal/sysv_signal.c: Likewise.
5658 * socket/accept.c: Likewise.
5659 * socket/accept4.c: Likewise.
5660 * socket/bind.c: Likewise.
5661 * socket/connect.c: Likewise.
5662 * socket/getpeername.c: Likewise.
5663 * socket/getsockname.c: Likewise.
5664 * socket/getsockopt.c: Likewise.
5665 * socket/isfdtype.c: Likewise.
5666 * socket/listen.c: Likewise.
5667 * socket/recv.c: Likewise.
5668 * socket/recvfrom.c: Likewise.
5669 * socket/recvmsg.c: Likewise.
5670 * socket/send.c: Likewise.
5671 * socket/sendmsg.c: Likewise.
5672 * socket/sendto.c: Likewise.
5673 * socket/setsockopt.c: Likewise.
5674 * socket/shutdown.c: Likewise.
5675 * socket/sockatmark.c: Likewise.
5676 * socket/socket.c: Likewise.
5677 * socket/socketpair.c: Likewise.
5678 * stdio-common/ctermid.c: Likewise.
5679 * stdio-common/cuserid.c: Likewise.
5680 * stdio-common/remove.c: Likewise.
5681 * stdio-common/rename.c: Likewise.
5682 * stdio-common/renameat.c: Likewise.
5683 * stdio-common/tempname.c: Likewise.
5684 * stdlib/getcontext.c: Likewise.
5685 * stdlib/makecontext.c: Likewise.
5686 * stdlib/setcontext.c: Likewise.
5687 * stdlib/swapcontext.c: Likewise.
5688 * stdlib/system.c: Likewise.
5689 * streams/fattach.c: Likewise.
5690 * streams/fdetach.c: Likewise.
5691 * streams/getmsg.c: Likewise.
5692 * streams/getpmsg.c: Likewise.
5693 * streams/putmsg.c: Likewise.
5694 * streams/putpmsg.c: Likewise.
5695 * sysdeps/unix/bsd/getpt.c: Likewise.
5696 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5697 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5698 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5700 Likewise.
5701 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5702 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5703 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5704 * sysvipc/msgctl.c: Likewise.
5705 * sysvipc/msgget.c: Likewise.
5706 * sysvipc/msgrcv.c: Likewise.
5707 * sysvipc/msgsnd.c: Likewise.
5708 * sysvipc/semctl.c: Likewise.
5709 * sysvipc/semget.c: Likewise.
5710 * sysvipc/semop.c: Likewise.
5711 * sysvipc/semtimedop.c: Likewise.
5712 * sysvipc/shmat.c: Likewise.
5713 * sysvipc/shmctl.c: Likewise.
5714 * sysvipc/shmdt.c: Likewise.
5715 * sysvipc/shmget.c: Likewise.
5716 * termios/tcdrain.c: Likewise.
5717 * termios/tcflow.c: Likewise.
5718 * termios/tcflush.c: Likewise.
5719 * termios/tcgetattr.c: Likewise.
5720 * termios/tcgetpgrp.c: Likewise.
5721 * termios/tcsendbrk.c: Likewise.
5722 * termios/tcsetattr.c: Likewise.
5723 * termios/tcsetpgrp.c: Likewise.
5724 * time/adjtime.c: Likewise.
5725 * time/clock.c: Likewise.
5726 * time/getitimer.c: Likewise.
5727 * time/gettimeofday.c: Likewise.
5728 * time/setitimer.c: Likewise.
5729 * time/settimeofday.c: Likewise.
5730 * time/stime.c: Likewise.
5731 * time/time.c: Likewise.
5732
57332012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5734
a20492cf
PT
5735 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5736 /usr/old/bin.
5737
72e182e3
PT
5738 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5739 instead of spaces.
5740 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5741
fbeafede
JM
57422012-11-03 Joseph Myers <joseph@codesourcery.com>
5743
5b5b04d6
JM
5744 [BZ #14796]
5745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5746 FE_TONEAREST before applying Dekker multiplication and Knuth
5747 addition. Clear inexact exceptions and check for exact zero
5748 results afterwards.
5749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5750 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5752 * math/libm-test.inc (fma_test): Add more tests.
5753 (fma_test_towardzero): Likewise.
5754 (fma_test_downward): Likewise.
5755 (fma_test_upward): Likewise.
5756 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5757 function.
5758 (libc_fesetround): New macro.
5759 (libc_fesetroundf): Likewise.
5760 (libc_fesetroundl): Likewise.
5761 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5762 function.
5763 (libc_fesetround_387): Likewise.
5764 (libc_fesetroundf): New macro.
5765 (libc_fesetround): Likewise.
5766 (libc_fesetroundl): Likewise.
5767 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5768 function.
5769 (libc_fesetroundf): New macro.
5770 (libc_fesetround): Likewise.
5771 (libc_fesetroundl): Likewise.
5772 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5773 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5774 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5775 libm_hidden_ver.
5776 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5777 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5778 libm_hidden_def.
5779 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5780 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5781 libm_hidden_ver.
5782 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5783 libm_hidden_def.
5784
fbeafede
JM
5785 [BZ #3439]
5786 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5787 integer constant usable in #if and use that to give value to enum
5788 constant.
5789 (FE_DIVBYZERO): Likewise.
5790 (FE_UNDERFLOW): Likewise.
5791 (FE_OVERFLOW): Likewise.
5792 (FE_INVALID): Likewise.
5793 (FE_INVALID_SNAN): Likewise.
5794 (FE_INVALID_ISI): Likewise.
5795 (FE_INVALID_IDI): Likewise.
5796 (FE_INVALID_ZDZ): Likewise.
5797 (FE_INVALID_IMZ): Likewise.
5798 (FE_INVALID_COMPARE): Likewise.
5799 (FE_INVALID_SOFTWARE): Likewise.
5800 (FE_INVALID_SQRT): Likewise.
5801 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5802 (FE_TONEAREST): Likewise.
5803 (FE_TOWARDZERO): Likewise.
5804 (FE_UPWARD): Likewise.
5805 (FE_DOWNWARD): Likewise.
5806 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5807 (FE_DIVBYZERO): Likewise.
5808 (FE_OVERFLOW): Likewise.
5809 (FE_UNDERFLOW): Likewise.
5810 (FE_INEXACT): Likewise.
5811 (FE_TONEAREST): Likewise.
5812 (FE_DOWNWARD): Likewise.
5813 (FE_UPWARD): Likewise.
5814 (FE_TOWARDZERO): Likewise.
5815 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5816 (FE_UNDERFLOW): Likewise.
5817 (FE_OVERFLOW): Likewise.
5818 (FE_DIVBYZERO): Likewise.
5819 (FE_INVALID): Likewise.
5820 (FE_TONEAREST): Likewise.
5821 (FE_TOWARDZERO): Likewise.
5822 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5823 (FE_OVERFLOW): Likewise.
5824 (FE_UNDERFLOW): Likewise.
5825 (FE_DIVBYZERO): Likewise.
5826 (FE_INEXACT): Likewise.
5827 (FE_TONEAREST): Likewise.
5828 (FE_TOWARDZERO): Likewise.
5829 (FE_UPWARD): Likewise.
5830 (FE_DOWNWARD): Likewise.
5831 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5832 (FE_DIVBYZERO): Likewise.
5833 (FE_OVERFLOW): Likewise.
5834 (FE_UNDERFLOW): Likewise.
5835 (FE_INEXACT): Likewise.
5836 (FE_TONEAREST): Likewise.
5837 (FE_DOWNWARD): Likewise.
5838 (FE_UPWARD): Likewise.
5839 (FE_TOWARDZERO): Likewise.
5840
105ca950
CM
58412012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5842
5843 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5844
a542b389
AS
58452012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5846
5847 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5848 commands. Quote $PWD.
5849 (blacklist_exports): Don't use remove_newlines. Replace "declare
5850 -x" by "export".
5851 (remove_newlines): Remove.
5852
f62c8abc
L
58532012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5854
5855 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5856 * stdlib/stdlib.h (atof): Moved to ...
5857 * include/bits/stdlib-float.h: Here. New file.
5858 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5859 * stdlib/bits/stdlib-float.h: New file.
5860 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5861 -mno-sse -mno-mmx.
5862 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5863 <xmmintrin.h>.
5864
0155d5b2
JM
58652012-11-02 Joseph Myers <joseph@codesourcery.com>
5866
a68d0680
JM
5867 * conform/conformtest.pl (@headers): Add fenv.h.
5868 * conform/data/fenv.h-data: New file.
5869 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5870 include of <math/fenv.h>.
5871
caf7f573
JM
5872 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5873 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5874 && !UNIX98]. Enables tests for XOPEN2K8.
5875 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5876 POSIX2008]: Likewise.
5877
6c073ad6
JM
5878 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5879 (struct rusage): Do not expect type or its members.
5880
0155d5b2
JM
5881 [BZ #3439]
5882 * math/math.h (FP_NAN): Define macro to integer constant usable in
5883 #if and use that to give value to enum constant.
5884 (FP_INFINITE): Likewise.
5885 (FP_ZERO): Likewise.
5886 (FP_SUBNORMAL): Likewise.
5887 (FP_NORMAL): Likewise.
5888
b5dcacb4
AS
58892012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5890
5891 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5892 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5893 arguments.
5894
f7934be8
RM
58952012-11-02 Roland McGrath <roland@hack.frob.com>
5896
5897 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5898 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5899 autoconf-time if not.
5900 * configure.in: Remove AC_PREREQ.
5901
d7d08bde
TMQMF
59022012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5903
5904 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5905 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5906 of the internal implementation.
5907
dcdae19a
JM
59082012-11-02 Joseph Myers <joseph@codesourcery.com>
5909
5910 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5911 except include of <misc/sys/syslog.h>.
5912
d6cffd3e
AS
59132012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5914
5915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5916 function returns with a NULL context exit with zero.
5917
b3563932
TMQMF
59182012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5919
5920 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5921
b288a93d
L
59222012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5923
5924 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5925 (run_program_cmd): This.
5926 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5927 (tst_langinfo): New variable. Use it.
5928
a2421a68
SAS
59292012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5930
5931 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5932 floating point opcodes.
5933
6f796e1b
TS
59342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5935
7402596b
TS
5936 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5937 variable.
5938
d0d4f868
TS
5939 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5940
6f796e1b
TS
5941 * sysdeps/mach/hurd/powerpc: Remove directory.
5942 * sysdeps/mach/powerpc: Likewise.
5943
4da224a2
AS
59442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5945
5946 * scripts/check-local-headers.sh: Ignore c++ headers.
5947
341dd673
TS
59482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5949
5950 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5951 __libc_cleanup_region_start argument.
5952
473611b2
JM
59532012-11-01 Joseph Myers <joseph@codesourcery.com>
5954
5955 [BZ #14784]
5956 [BZ #14785]
5957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5958 x * y using scaling, not as x * y + z.
5959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5961 * math/libm-test.inc (fma_test): Add more tests.
5962 (fma_test_towardzero): Likewise.
5963 (fma_test_downward): Likewise.
5964 (fma_test_upward): Likewise.
5965
4078da3d
TS
59662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5967
5968 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5969
903252aa
JM
59702012-10-31 Joseph Myers <joseph@codesourcery.com>
5971
5972 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5973 New variable.
5974
cbc818d0
TS
59752012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5976
5977 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5978
5a03cb1e
AS
59792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5980
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5982 Fix sort order.
5983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5984 Likewise.
5985
90aff2ff
TMQMF
59862012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5987
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5989 Fix the order of the list for glibc 2.17.
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5991 Likewise.
5992
1818fcb7
AS
59932012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5994
5995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5996
ef82f4da
JM
59972012-10-31 Joseph Myers <joseph@codesourcery.com>
5998
16a0e2ec
JM
5999 [BZ #14610]
6000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6001 for low part of x being zero before using __atanl (y).
6002 * math/libm-test.inc (atan2_test): Add another test.
6003
0eb69512
JM
6004 * manual/install.texi (Configuring and compiling): Document
6005 general use of test-wrapper and test-wrapper-env.
6006 * INSTALL: Regenerated.
6007
ef82f4da
JM
6008 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6009 (__fma): Do not extract and scale down low bits on after-rounding
6010 systems when result rounded to normal precision would have normal
6011 exponent.
6012 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6013 (__fmal): Do not extract and scale down low bits on after-rounding
6014 systems when result rounded to normal precision would have normal
6015 exponent.
6016 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6017 (__fmal): Do not extract and scale down low bits on after-rounding
6018 systems when result rounded to normal precision would have normal
6019 exponent.
6020 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6021 macro.
6022 (fma_test): Add more tests.
6023 (fma_test_towardzero): Likewise.
6024 (fma_test_downward): Likewise.
6025 (fma_test_upward): Likewise.
6026
954ef0d9
L
60272012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6028
6029 * sysdeps/i386/tininess.h: Renamed to ...
6030 * sysdeps/x86/tininess.h: This.
6031 * sysdeps/x86_64/tininess.h: Removed.
6032
df61ffb2
JM
60332012-10-30 Joseph Myers <joseph@codesourcery.com>
6034
6035 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6036 input. Use $(build-program-cmd).
6037 ($(objpfx)tst-array1-static.out): Likewise.
6038 ($(objpfx)tst-array2.out): Likewise.
6039 ($(objpfx)tst-array3.out): Likewise.
6040 ($(objpfx)tst-array4.out): Likewise.
6041 ($(objpfx)tst-array5.out): Likewise.
6042 ($(objpfx)tst-array5-static.out): Likewise.
6043
01767843
CM
60442012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6045
47cc1490
CM
6046 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6047 if defined.
6048
01767843
CM
6049 * nss/nsswitch.h (nss_interface_function): Provide new
6050 macro for use with NSS functions.
6051 * grp/initgroups.c: Use new macro.
6052 * nss/getXXbyYY.c: Likewise.
6053 * nss/getXXbyYY_r.c: Likewise.
6054 * nss/getXXent.c: Likewise.
6055 * nss/getXXent_r.c: Likewise.
6056 * sysdeps/posix/getaddrinfo.c: Likewise.
6057
8321aa97
AJ
60582012-10-30 Andreas Jaeger <aj@suse.de>
6059
6060 * po/ru.po: Update Russion translation from translation project.
6061
2a27fd6d
JM
60622012-10-30 Joseph Myers <joseph@codesourcery.com>
6063
8627a232
JM
6064 [BZ #14152]
6065 [BZ #14783]
6066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6067 result and shift together with sticky bit instead of replicating
6068 round-to-nearest rounding.
6069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6071 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6072 missing underflow exceptions.
6073 (fma_test_towardzero): Add more tests.
6074 (fma_test_downward): Likewise.
6075 (fma_test_upward): Likewise.
6076
2a27fd6d
JM
6077 [BZ #14047]
6078 * sysdeps/generic/tininess.h: New file.
6079 * sysdeps/i386/tininess.h: Likewise.
6080 * sysdeps/sh/tininess.h: Likewise.
6081 * sysdeps/x86_64/tininess.h: Likewise.
6082 * stdlib/tst-strtod-underflow.c: Likewise.
6083 * stdlib/tst-tininess.c: Likewise.
6084 * stdlib/strtod_l.c: Include <tininess.h>.
6085 (round_and_return): Do not set errno for exact underflow cases.
6086 Force an underflow exception when setting errno for underflow.
6087 Determine underflow based on rounding to normal precision if
6088 TININESS_AFTER_ROUNDING.
6089 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6090 ERANGE for exact underflow cases.
6091 * stdlib/Makefile (tests): Add tst-tininess and
6092 tst-strtod-underflow.
6093 ($(objpfx)tst-tininess): Use $(link-libm).
6094 ($(objpfx)tst-strtod-underflow): Likewise.
6095
e7170363
AJ
60962012-10-30 Andreas Jaeger <aj@suse.de>
6097
e5088dc6
AJ
6098 [BZ#14767]
6099 * elf/Makefile (tests): Remove conditional for have-initfini-array
6100 since this is now always required and the variable does not exist
6101 anymore.
6102 (tests-static): Likewise.
6103 (modules-names): Likewise.
6104
e7170363 6105 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6106
6107 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6108 merged with constructor/destructor.
6109 (init_array): Likewise.
6110 * elf/tst-array2dep.c (fini_array): Likewise.
6111 (init_array): Likewise.
6112
60457d8a
MF
61132012-10-29 Mike Frysinger <vapier@gentoo.org>
6114
6115 * manual/message.texi: Delete @cartouche tags.
6116
8bece752
PT
61172012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6118
94ce799f
PT
6119 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6120 EOPNOTSUPP.
6121 * sysdeps/mach/hurd/fsync.c: Likewise.
6122
8bece752
PT
6123 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6124 [_POSIX_REALTIME_SIGNALS]: Change condition to
6125 [_POSIX_REALTIME_SIGNALS > 0].
6126
86ebe6b1
AJ
61272012-10-27 Andreas Jaeger <aj@suse.de>
6128
6129 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6130 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6132 [__WORDSIZE != 64]: Likewise.
6133
54399c08
L
61342012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6135
6136 * iconvdata/tst-table.sh: Remove ${SHELL}.
6137 * iconvdata/tst-tables.sh: Likewise.
6138
e2211bed
DM
61392012-10-25 David S. Miller <davem@davemloft.net>
6140
6141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6142 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6143 of strtoull.
6144
f303f97c
DM
6145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6146 ifunc-impl-list.c
6147 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6148 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6149 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6150 file.
6151
1e9d84cd
RM
61522012-10-25 Roland McGrath <roland@hack.frob.com>
6153
6154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6155 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6156 __getdirentries.
6157
df381762
JM
61582012-10-25 Joseph Myers <joseph@codesourcery.com>
6159 Jim Blandy <jimb@codesourcery.com>
6160
6161 * scripts/cross-test-ssh.sh: New file.
6162 * manual/install.texi (Configuring and compiling): Document use of
6163 cross-test-ssh.sh.
6164 * INSTALL: Regenerated.
6165
bff64913
PT
61662012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6167
6168 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6169 EOPNOTSUPP.
6170
25fe8932
JM
61712012-10-25 Joseph Myers <joseph@codesourcery.com>
6172
6173 * Makeconfig (run-program-prefix): Fix comment.
6174
cc1290d0
JM
61752012-10-24 Joseph Myers <joseph@codesourcery.com>
6176 Jim Blandy <jimb@codesourcery.com>
6177
6178 * Makeconfig (test-wrapper): New variable,
6179 (test-wrapper-env): Likewise.
6180 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6181 (run-built-tests): Define to yes.
6182 (run-program-prefix): Use $(test-wrapper).
6183 (built-program-cmd): Likewise.
6184 * Rules (make-test-out): Use $(test-wrapper-env) and
6185 $(host-built-program-cmd).
6186 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6187 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6188 tst-pathopt.sh.
6189 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6190 $(test-wrapper-env) to tst-rtld-load-self.sh.
6191 ($(objpfx)order2.out): Use $(test-wrapper).
6192 ($(objpfx)tst-initorder.out): Likewise.
6193 ($(objpfx)tst-initorder2.out): Likewise.
6194 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6195 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6196 (test_wrapper_env): New variable. Use it to run ld.so.
6197 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6198 Use it to run ld.so.
6199 (test_wrapper_env): Likewise.
6200 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6201 $(test-wrapper) to run-iconv-test.sh.
6202 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6203 (ICONV): Use $test_wrapper.
6204 * posix/Makefile ($(objpfx)globtest.out): Pass
6205 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6206 globtest.sh, not $(run-program-prefix).
6207 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6208 (test_wrapper): Likewise.
6209 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6210 set together with run_via_rtld_prefix.
6211 (run_program_prefix): Define in terms of test_wrapper and
6212 run_via_rtld_prefix.
6213
6e6249d0
RM
62142012-10-24 Roland McGrath <roland@hack.frob.com>
6215
6216 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6217 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6218 Targets removed.
6219
6220 [BZ #14743]
6221 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6222 Declare __clock_getres, __clock_gettime, __clock_settime,
6223 __clock_nanosleep, and __clock_getcpuclockid.
6224 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6225 Remove librt_hidden_def (clock_gettime).
6226 * sysdeps/unix/clock_gettime.c: Likewise.
6227 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6228 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6229 * rt/clock_getres.c: Define __clock_getres as an alias.
6230 * sysdeps/posix/clock_getres.c: Likewise.
6231 * rt/clock_settime.c: Define __clock_settime as an alias.
6232 * sysdeps/unix/clock_settime.c: Likewise.
6233 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6234 * sysdeps/unix/clock_nanosleep.c: Likewise.
6235 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6236 * rt/clock-compat.c: New file.
6237 * rt/Makefile (librt-routines): Add clock-compat and move
6238 $(clock-routines) to ...
6239 (routines): ... here, new variable.
6240 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6241 Don't add get_clockfreq here.
6242 * rt/Versions (libc: GLIBC_2.17): New version set.
6243 Add clock_* symbols here.
6244 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6245 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6246 (GLIBC_2.17): Add clock_* symbols.
6247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6251 Likewise.
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6253 Likewise.
6254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6258 * NEWS: Mention the move.
6259
6260 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6261 Use __open, __read, __close rather than their public counterparts.
6262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6263 (__get_clockfreq_via_cpuinfo): Likewise.
6264 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6265 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6266
6267 * config.h.in (HAVE_IFUNC): New #undef.
6268 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6269 was successful.
6270 * configure: Regenerated.
6271
0cae3f4b
MF
62722012-10-24 Mike Frysinger <vapier@gentoo.org>
6273
6274 * configure.in: Move READELF check to start of file.
6275 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6276 libc_cv_asm_gnu_indirect_function in the process.
6277 * configure: Regenerated.
6278
8175a253
MF
62792012-10-24 Mike Frysinger <vapier@gentoo.org>
6280
6281 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6282 send the output to /dev/null.
6283 (libc_cv_cc_with_libunwind): Likewise.
6284 (libc_cv_as_noexecstack): Likewise.
6285 * configure: Regenerate.
6286
0708a7d1
JM
62872012-10-24 Joseph Myers <joseph@codesourcery.com>
6288
10b40d85
JM
6289 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6290
0708a7d1
JM
6291 * posix/globtest.sh (TMPDIR): Do not set.
6292 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6293 (testout): Likewise.
6294
9fddec1a
AJ
62952012-10-24 Andreas Jaeger <aj@suse.de>
6296
3a8db22f
AJ
6297 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6298 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6299 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6300 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6301 posix_fadvise64, posix_fallocate64.
6302
9fddec1a
AJ
6303 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6304 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6305 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6306 Likewise.
6307 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6308 Likewise.
6309 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6310
6311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6312 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6313 <bits/fcntl-linux.h>.
6314 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6315
6316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6317 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6318 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6319 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6320 [__WORDSIZE != 64]: Likewise.
6321
ebfd1bbd
JM
63222012-10-23 Joseph Myers <joseph@codesourcery.com>
6323
03ac099f
JM
6324 * Makeconfig (run-built-tests): New variable.
6325 * Rules [$(cross-compiling) = yes]: Change condition to
6326 [$(run-built-tests) = no].
6327 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6328 to [$(run-built-tests) = yes].
6329 * elf/Makefile [$(cross-compiling) = no]: Likewise
6330 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6331 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6332 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6333 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6334 * io/Makefile [$(cross-compiling) = no]: Likewise.
6335 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6336 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6337 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6338 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6339 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6340 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6341 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6342 * string/Makefile [$(cross-compiling) = no]: Likewise.
6343
ebfd1bbd
JM
6344 * posix/Makefile ($(objpfx)globtest.out): Pass
6345 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6346 $(rtld-installed-name).
6347 * posix/globtest.sh (elf_objpfx): Remove variable.
6348 (rtld_installed_name): Likewise.
6349 (library_path): Likewise.
6350 (run_program_prefix): New variable. Use for running globtest
6351 binary.
6352
166bca24
JB
63532012-10-23 Jim Blandy <jimb@codesourcery.com>
6354 Joseph Myers <joseph@codesourcery.com>
6355
6356 * Makeconfig (host-built-program-cmd): New variable.
6357 * elf/Makefile (tst-stackguard1-ARGS): Use
6358 $(host-built-program-cmd).
6359 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6360 (tst-spawn-ARGS): Likewise.
6361 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6362
88866099
JM
63632012-10-23 Joseph Myers <joseph@codesourcery.com>
6364 Jim Blandy <jimb@codesourcery.com>
6365
6366 * Makeconfig (run-via-rtld-prefix): New variable.
6367 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6368 (built-program-cmd): Likewise.
6369
b4b4c296
AJ
63702012-10-22 Andreas Jaeger <aj@suse.de>
6371
6372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6373 __O_RSYNC if it exists, otherwise to O_SYNC.
6374
6fb54a22
JB
63752012-10-22 Jim Blandy <jimb@codesourcery.com>
6376 Joseph Myers <joseph@codesourcery.com>
6377
6378 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6379 /dev/null.
6380 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6381 from /dev/null
6382 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6383 /dev/null.
6384
481b90b9
AJ
63852012-10-22 Andreas Jaeger <aj@suse.de>
6386
2a0e2669
AJ
6387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6388 Define always.
6389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6390
76e38f9a
AJ
6391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6392 bits/fcntl-linux.h.
6393
7cd37b43
AJ
6394 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6395 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6396
481b90b9
AJ
6397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6398 to __O_LARGEFILE.
6399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6400 to __O_LARGEFILE.
6401
aba75984
JB
64022012-10-21 Jim Blandy <jimb@codesourcery.com>
6403 Joseph Myers <joseph@codesourcery.com>
6404
6405 * config.make.in (NM): New variable.
6406
88d4247f
AJ
64072012-10-21 Andreas Jaeger <aj@suse.de>
6408
6409 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6410 definitions and declarations that are provided by
6411 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6412
f2eed205
L
64132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 [BZ #14683]
6416 * elf/Makefile (tests-static): Add tst-leaks1-static.
6417 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6418 ($(objpfx)tst-leaks1-static): New rule.
6419 ($(objpfx)tst-leaks1-static-mem): Likewise.
6420 (tst-leaks1-static-ENV): New macro.
6421 * elf/dl-open.c (dl_open_worker): Check the main application
6422 only if SHARED is defined.
6423 * elf/tst-leaks1-static.c: New file.
6424
335e6931
AJ
64252012-10-20 Andreas Jaeger <aj@suse.de>
6426
6427 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6428 generic values for Linux.
6429 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6430 and declarations that are provided by <bits/fcntl-linux.h> and
6431 include <bits/fcntl-linux.h>.
6432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6434
ac5c94d3
RM
64352012-10-20 Roland McGrath <roland@hack.frob.com>
6436
6437 * io/fcntl.h: Move include of <bits/types.h> to the top and
6438 include it unconditionally.
6439
de54b33a
L
64402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6441
228cfb01
L
6442 * wcsmbs/Makefile (tests-ifunc): New variable.
6443 (tests): Add $(tests-ifunc).
6444 * wcsmbs/test-wcschr-ifunc.c: New file.
6445 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6446 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6447 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6448 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6449 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6450
69f07e5f
L
6451 * string/Makefile (tests-ifunc): New variable.
6452 (tests): Add $(tests-ifunc).
6453 * string/test-memccpy.c (TEST_NAME): New macro.
6454 * string/test-memchr.c (TEST_NAME): Likewise.
6455 * string/test-memcmp.c (TEST_NAME): Likewise.
6456 * string/test-memcpy.c (TEST_NAME): Likewise.
6457 * string/test-memmem.c (TEST_NAME): Likewise.
6458 * string/test-memmove.c (TEST_NAME): Likewise.
6459 * string/test-memset.c (TEST_NAME): Likewise.
6460 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6461 * string/test-stpcpy.c (TEST_NAME): Likewise.
6462 * string/test-stpncpy.c (TEST_NAME): Likewise.
6463 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6464 * string/test-strcasestr.c (TEST_NAME): Likewise.
6465 * string/test-strcat.c (TEST_NAME): Likewise.
6466 * string/test-strchr.c (TEST_NAME): Likewise.
6467 * string/test-strcmp.c(TEST_NAME): Likewise.
6468 * string/test-strcpy.c (TEST_NAME): Likewise.
6469 * string/test-strcspn.c (TEST_NAME): Likewise.
6470 * string/test-strlen.c (TEST_NAME): Likewise.
6471 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6472 * string/test-strncmp.c (TEST_NAME): Likewise.
6473 * string/test-strncpy.c (TEST_NAME): Likewise.
6474 * string/test-strnlen.c (TEST_NAME): Likewise.
6475 * string/test-strpbrk.c (TEST_NAME): Likewise.
6476 * string/test-strrchr.c (TEST_NAME): Likewise.
6477 * string/test-strspn.c (TEST_NAME): Likewise.
6478 * string/test-strstr.c (TEST_NAME): Likewise.
6479 * string/test-bcopy-ifunc.c: New file.
6480 * string/test-bzero-ifunc.c: Likewise.
6481 * string/test-memccpy-ifunc.c: Likewise.
6482 * string/test-memchr-ifunc.c: Likewise.
6483 * string/test-memcmp-ifunc.c: Likewise.
6484 * string/test-memcpy-ifunc.c: Likewise.
6485 * string/test-memmem-ifunc.c: Likewise.
6486 * string/test-memmove-ifunc.c: Likewise.
6487 * string/test-mempcpy-ifunc.c: Likewise.
6488 * string/test-memset-ifunc.c: Likewise.
6489 * string/test-rawmemchr-ifunc.c: Likewise.
6490 * string/test-stpcpy-ifunc.c: Likewise.
6491 * string/test-stpncpy-ifunc.c: Likewise.
6492 * string/test-strcasecmp-ifunc.c: Likewise.
6493 * string/test-strcasestr-ifunc.c: Likewise.
6494 * string/test-strcat-ifunc.c: Likewise.
6495 * string/test-strchr-ifunc.c: Likewise.
6496 * string/test-strchrnul-ifunc.c: Likewise.
6497 * string/test-strcmp-ifunc.c: Likewise.
6498 * string/test-strcpy-ifunc.c: Likewise.
6499 * string/test-strcspn-ifunc.c: Likewise.
6500 * string/test-strlen-ifunc.c: Likewise.
6501 * string/test-strncasecmp-ifunc.c: Likewise.
6502 * string/test-strncat-ifunc.c: Likewise.
6503 * string/test-strncmp-ifunc.c: Likewise.
6504 * string/test-strncpy-ifunc.c: Likewise.
6505 * string/test-strnlen-ifunc.c: Likewise.
6506 * string/test-strpbrk-ifunc.c: Likewise.
6507 * string/test-strrchr-ifunc.c: Likewise.
6508 * string/test-strspn-ifunc.c: Likewise.
6509 * string/test-strstr-ifunc.c: Likewise.
6510
de54b33a
L
6511 * debug/Makefile (tests-ifunc): New variable.
6512 (tests): Add $(tests-ifunc).
6513 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6514 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6515 * debug/test-stpcpy_chk-ifunc.c: New file.
6516 * debug/test-strcpy_chk-ifunc.c: Likewise.
6517
88481c16
SP
65182012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6519
6520 [BZ #13601]
6521 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6522 header is not read in.
6523
135948bd
JM
65242012-10-19 Joseph Myers <joseph@codesourcery.com>
6525
89f1c388
JM
6526 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6527 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6528 directly. Pass built executable to script as
6529 $(built-program-cmd).
6530 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6531 $testprogram without using LD_LIBRARY_PATH and $ldso.
6532
e40a0d21
JM
6533 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6534 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6535 $(rtld-installed-name).
6536 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6537 (rtld_installed_name): Likewise.
6538 (library_path): Likewise.
6539 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6540 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6541 $(run-program-prefix) to tst-tables.sh.
6542 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6543 it to run tst-table-from and tst-table-to.
6544 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6545 Pass it to tst-table.sh.
6546 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6547 $(run-program-prefix) to tst-gettext.sh.
6548 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6549 tst-translit.sh.
6550 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6551 tst-gettext2.sh.
6552 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6553 to run tst-gettext.
6554 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6555 to run tst-gettext2.
6556 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6557 to run tst-translit.
6558 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6559 $(run-program-prefix) to tst-mtrace.sh.
6560 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6561 to run tst-mtrace.
6562 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6563 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6564 $(rtld-installed-name).
6565 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6566 (rtld_installed_name): Likewise.
6567 (run_program_prefix): New variable. Use it to run wordexp-test.
6568
728e272a
JM
6569 * Makeconfig (ARCH): Remove all definitions.
6570 (machine): Likewise.
6571 [ARCH]: Remove conditional code.
6572 [!objdir]: Give error.
6573 [!objdir] (objpfx): Remove.
6574 [!objdir] (common-objpfx): Likewise.
6575 [!objdir] (common-objdir): Likewise.
6576 * configure.in (config_makefile): Remove. Hardcode Makefile in
6577 AC_CONFIG_FILES call.
6578 * configure: Regenerated.
6579
d528cdcf
JM
6580 [BZ #13888]
6581 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6582 or TMPDIR.
6583 (testout): Likewise.
6584
135948bd
JM
6585 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6586 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6587 $(rtld-installed-name).
6588 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6589 (rtld_installed_name): Likwise.
6590 (runit): Remove function.
6591 (run_getconf): New variable, Use it for running getconf binary.
6592
38c78296
L
65932012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6594
6595 [BZ #14716]
6596 * string/test-memmem.c (check_result): New function.
6597 (do_one_test): Use it.
6598 (check1): New function.
6599 (test_main): Use it.
6600
d077f65f
MT
66012012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6602
6603 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6604
ced52c71
JM
66052012-10-18 Joseph Myers <joseph@codesourcery.com>
6606
6607 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6608 (_G_LSEEK64): Likewise.
6609 (_G_MMAP64): Likewise.
6610 (_G_FSTAT64): Likewise.
6611 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6612 (_G_LSEEK64): Likewise.
6613 (_G_MMAP64): Likewise.
6614 (_G_FSTAT64): Likewise.
6615 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6616 unconditional. Call __mmap64 directly.
6617 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6618 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6619 __lseek64 directly.
6620 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6621 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6622 __mmap64 directly.
6623 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6624 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6625 __lseek64 directly.
6626 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6627 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6628 __lseek64 directly.
6629 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6630 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6631 __lseek64 directly.
6632 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6633 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6634 __fxstat64 directly.
6635 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6636 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6637 unconditional.
6638 (freopen64) [!_G_OPEN64]: Remove conditional code.
6639 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6640 unconditional.
6641 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6642 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6643 unconditional.
6644 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6645 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6646 unconditional.
6647 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6648 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6649 unconditional.
6650 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6651 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6652 unconditional.
6653 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6654 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6655 unconditional.
6656 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6657 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6658 unconditional.
6659 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6660
b741de23
SP
66612012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6662
6663 [BZ #12140]
6664 * manual/memory.texi (Malloc Tunable Parameters): Add note
6665 about free list pointers overwriting some perturb bytes.
6666 Wording suggested by Roland McGrath.
6667
f9b9d9c9
JM
66682012-10-17 Joseph Myers <joseph@codesourcery.com>
6669
6670 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6671 (lgamma_test): Likewise.
6672 (tgamma_test): Likewise.
6673
172a631a
FW
66742012-10-16 Florian Weimer <fweimer@redhat.com>
6675
6676 [BZ #14700]
6677 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6678 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6679
e9f37252
MK
66802012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6681
6682 * NEWS: Mention BZ #14716.
6683 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6684 when removing AVAILABLE1_USES_J macro.
6685
d394eb74
L
66862012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6687
6688 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6689 (__bswap_64): __uint64_t for unsigned 64-bit int.
6690
ca38dc17
AS
66912012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6692
6693 * include/string.h (memmem): Declare libc hidden alias.
6694 * string/memmem.c (memmem): Define libc hidden alias.
6695 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6696 __read, __close instead of open, read, close.
6697
9a387d1f
L
66982012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6699
ac49ecaf
L
6700 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6701 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6702 global and hidden.
6703 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6704 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6705 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6706 Likewise.
6707 (__rawmemchr_sse2): Likewise.
6708 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6709 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6710 (__strchr_sse2): Likewise.
6711 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6712 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6713 (__strcasecmp_sse2): Likewise.
6714 (__strncasecmp_sse2): Likewise.
6715 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6716 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6717 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6718 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6719 (__strrchr_sse2): Likewise.
6720 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6721 ifunc-impl-list.c.
6722 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6723 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6724 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6725 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6726 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6727 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6728 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6729 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6730 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6731 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6732 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6733 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6734 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6735 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6736 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6737 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6738 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6739 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6740 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6741 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6742 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6743 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6744 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6745 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6746 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6747 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6748 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6749 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6750 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6751 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6752
b090e8ea
L
6753 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6754 global and hidden.
6755 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6756 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6757 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6758 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6759 Likewise.
6760 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6761 Likewise.
6762 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6763 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6764 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6765 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6766 ifunc-impl-list.c.
6767 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6768 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6769 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6770 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6771 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6772 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6773 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6774 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6775 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6776 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6777 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6778 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6779 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6780 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6781 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6782 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6783 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6784 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6785 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6786 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6787 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6788 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6789 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6790 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6791 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6792 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6793 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6794 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6795 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6796 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6797 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6798 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6799 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6800 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6801 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6802 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6803 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6804 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6805 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6806 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6807 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6808
11dd4af6
L
6809 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6810 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6811 * include/ifunc-impl-list.h: New file.
6812 * misc/ifunc-impl-list.c: Likewise.
6813 * misc/Makefile (routines): Add ifunc-impl-list.
6814 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6815 * string/test-string.h: Include <ifunc-impl-list.h>.
6816 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6817 impl_array): New variables.
6818 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6819 are defined.
6820 (test_init): Call __libc_ifunc_impl_list to initialize
6821 func_list if TEST_IFUNC and TEST_NAME are defined.
6822
9a387d1f
L
6823 * string/Makefile (strop-tests): Add bcopy and bzero.
6824 * string/test-bcopy.c: New file.
6825 * string/test-bzero.c: Likewise.
6826 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6827 defined.
6828 * string/test-memset.c: Support bzero test if TEST_BZERO is
6829 defined.
6830 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6831 __libc_memmove.
6832 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6833 __libc_memset.
6834 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6835 of memset.
6836
472371b9
JM
68372012-10-10 Joseph Myers <joseph@codesourcery.com>
6838
1e4a9536
JM
6839 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6840 * configure: Regenerated.
6841
d173d12e
JM
6842 * Makeconfig (+link-static-before-libc): Don't include
6843 $(link-static-libc).
6844
472371b9
JM
6845 * libio/libio.h (_IO_pos_t): Remove.
6846
89a3ad0b
AO
68472012-10-10 Alexandre Oliva <aoliva@redhat.com>
6848
6849 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6850 McGrath.
6851
e7451425
AO
68522012-10-10 Alexandre Oliva <aoliva@redhat.com>
6853
6854 * crypt/crypt-entry.c: Include fips-private.h.
6855 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6856 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6857 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6858 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6859
4ba74a35
AO
68602012-10-10 Alexandre Oliva <aoliva@redhat.com>
6861
6862 * crypt/crypt-private.h: Include stdbool.h.
6863 (_ufc_setup_salt_r): Return bool.
6864 * crypt/crypt-entry.c: Include errno.h.
6865 (__crypt_r): Return NULL with EINVAL for bad salt.
6866 * crypt/crypt_util.c (bad_for_salt): New.
6867 (_ufc_setup_salt_r): Check that salt is long enough and within
6868 the specified alphabet.
6869 * crypt/badsalttest.c: New file.
6870 * crypt/Makefile (tests): Add it.
6871 ($(objpfx)badsalttest): New.
6872
f96f1242
MK
68732012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6874
6875 * NEWS: Add entry for BZ #14602.
6876
0e8e0c1c
JM
68772012-10-09 Joseph Myers <joseph@codesourcery.com>
6878
6879 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6880 type-generic.
6881 * math/libm-test.inc: Update comment listing what functions and
6882 macros are tested.
6883 (isgreater_test): New function.
6884 (isgreaterequal_test): Likewise.
6885 (isless_test): Likewise.
6886 (islessequal_test): Likewise.
6887 (islessgreater_test): Likewise.
6888 (isunordered_test): Likewise.
6889 (main): Call the new functions.
6890
273edc5e
RM
68912012-10-09 Roland McGrath <roland@hack.frob.com>
6892
b8493de0
RM
6893 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6894 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6895 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6896 * sysdeps/i386/configure: Regenerated.
6897 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6898 * sysdeps/mach/configure: Regenerated.
6899 * sysdeps/mach/hurd/configure: Regenerated.
6900 * sysdeps/powerpc/configure: Regenerated.
6901 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6902 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6903 * sysdeps/s390/s390-32/configure: Regenerated.
6904 * sysdeps/s390/s390-64/configure: Regenerated.
6905 * sysdeps/sh/configure: Regenerated.
6906 * sysdeps/sparc/configure: Regenerated.
6907 * sysdeps/unix/sysv/linux/configure: Regenerated.
6908 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6909 * sysdeps/x86_64/configure: Regenerated.
6910
273edc5e
RM
6911 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6912 defined. Don't check if MAP is NULL.
6913
c8450f70
JM
69142012-10-09 Joseph Myers <joseph@codesourcery.com>
6915
6916 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6917 (_G_stat64): Likewise.
6918 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6919 (_G_stat64): Likewise.
6920 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6921 instead of struct _G_stat64.
6922 * libio/fileops.c (mmap_remap_check): Likewise.
6923 (decide_maybe_mmap): Likewise.
6924 (_IO_new_file_seekoff): Likewise.
6925 (_IO_file_stat): Likewise.
6926 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6927 _G_off64_t.
6928 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6929 instead of struct _G_stat64.
6930 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6931
57e605ba
MK
69322012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6933
6934 [BZ #14602]
6935 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6936 Replace with ...
6937 (CHECK_EOL): New macro.
6938 (two_way_short_needle): Check beginning of haystack for EOL. Use
6939 CHECK_EOL.
6940 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6941 Replace with CHECK_EOL.
6942 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6943 Replace with CHECK_EOL.
6944
ef1bb361
JM
69452012-10-08 Joseph Myers <joseph@codesourcery.com>
6946
6947 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6948 type-generic.
6949 * math/libm-test.inc: Update comment listing what functions and
6950 macros are tested.
6951 (finite_test): New function.
6952 (isinf_test): Likewise.
6953 (isnan_test): Likewise.
6954 (fpclassify_test): Test subnormal input.
6955 (isfinite_test): Likewise.
6956 (isnormal_test): Likewise.
6957 (main): Call the new functions.
6958
55f11534
JN
69592012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6960
6961 [BZ #14660]
6962 * Makerules (%.dynsym): Force C locale when running
6963 $(OBJDUMP) --dynamic-syms.
6964
1ab29350
AS
69652012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6966
6967 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6968 <stdint.h>.
6969
f1ecb7ef
DM
69702012-10-06 David S. Miller <davem@davemloft.net>
6971
6972 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6973 upper 32-bits of the length value in %o2 since we use branch-on-register
6974 tests which consider the entire 64-bit register.
6975
5d41d91a
L
69762012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6977
6978 * string/test-strstr.c (check2): Add a test for page boundary.
6979
3baddb72
DM
69802012-10-05 David S. Miller <davem@davemloft.net>
6981
6982 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6983 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6984 file.
6985 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6986 sysdep_routines.
6987 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6988 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6989 and bzero when HWCAP_SPARC_CRYPTO is present.
6990
9cee5585
L
69912012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6992
d7e0dab9
L
6993 [BZ #14602]
6994 * string/test-strstr.c (check2): New function.
6995 (test_main): Call check2.
6996
03759f47
L
6997 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6998 and bug-strchr1.
6999 * string/bug-strcasestr1.c (do_test): Moved to ...
7000 * string/test-strcasestr.c (check1): Here. New function.
7001 (do_one_test): Break out result checking code into ...
7002 (check_result): This. New function.
7003 (do_one_test): Call check_result.
7004 (test_main): Call check1.
7005 * string/bug-strchr1.c (do_test): Moved to ...
7006 * string/test-strchr.c (check1): Here. New function.
7007 (do_one_test): Break out result checking code into ...
7008 (check_result): This. New function.
7009 (do_one_test): Call check_result.
7010 (test_main): Call check1.
7011 * string/bug-strstr1.c (main): Moved to ...
046f153e 7012 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7013 (do_one_test): Break out result checking code into ...
7014 (check_result): This. New function.
7015 (do_one_test): Call check_result.
7016 (test_main): Call check1.
7017 * string/bug-strcasestr1.c: Removed.
7018 * string/bug-strchr1.c: Likewise.
7019 * string/bug-strstr1.c: Likewise.
7020
53cea63e
L
7021 * elf/Makefile (dl-routines): Add hwcaps.
7022 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7023 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7024 (_dl_important_hwcaps): Moved to ...
7025 * elf/dl-hwcaps.c: Here. New file.
7026 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7027
9cee5585 7028 [BZ #14557]
bb859b06
L
7029 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7030 if IS_IN_rtld isn't defined.
7031
9cee5585
L
7032 * elf/dl-support.c (_dl_sysinfo_map): New.
7033 Include "get-dynamic-info.h" and "setup-vdso.h".
7034 (_dl_non_dynamic_init): Call setup_vdso.
7035 * elf/dynamic-link.h: Don't include <assert.h>.
7036 (elf_get_dynamic_info): Moved to ...
7037 * elf/get-dynamic-info.h: Here. New file.
7038 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7039 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7040 * elf/setup-vdso.h: Here. New file.
7041 * elf/rtld.c: Include "setup-vdso.h".
7042 (dl_main): Call setup_vdso.
7043
23c31b76
JM
70442012-10-05 Joseph Myers <joseph@codesourcery.com>
7045
28234b07
JM
7046 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7047 creal in comment listing functions tested. List finite, isinf,
7048 isnan, isless, islessequal, isgreater, isgreaterequal,
7049 islessgreater, isunordered, lgamma_r and pow10 as functions and
7050 macros not tested. Mention which functions not tested are aliases
7051 for other functions. Fix typo. Note that signs of NaNs are not
7052 tested.
7053
23c31b76
JM
7054 * scripts/config.guess: Update from config.git.
7055 * scripts/config.sub: Likewise.
7056
9043e228
RM
70572012-10-04 Roland McGrath <roland@hack.frob.com>
7058
7059 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7060 * misc/madvise.c (madvise): Renamed to __madvise.
7061 Make madvise a weak alias.
7062 * include/sys/mman.h: Declare __madvise.
7063 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7064 * sysdeps/unix/syscalls.list
7065 (madvise): Make __madvise the strong name, and madvise a weak alias.
7066 * sysdeps/unix/sysv/linux/syscalls.list
7067 (madvise, mmap): Remove redundant entries.
7068 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7069 * malloc/malloc.c (mtrim): Likewise.
7070 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7071
f57f8055
RM
70722012-10-03 Roland McGrath <roland@hack.frob.com>
7073
7074 * sysdeps/mach/hurd/dl-cache.c: File removed.
7075 * config.h.in (USE_LDCONFIG): New #undef.
7076 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7077 * configure: Regenerated.
7078 * elf/Makefile (dl-routines): Add dl-cache only under
7079 [$(use-ldconfig) = yes].
7080 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7081 cache on [USE_LDCONFIG].
7082 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7083 [USE_LDCONFIG].
7084 * elf/rtld.c (dl_main): Likewise.
7085
5bb0c10a
PT
70862012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7087
7088 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7089 _SC_LEVEL4_CACHE_LINESIZE.
7090
010188c6
RM
70912012-10-03 Roland McGrath <roland@hack.frob.com>
7092
7093 * sysdeps/unix/bsd/confstr.h: File removed.
7094
b6c5ec07
AO
70952012-10-02 Alexandre Oliva <aoliva@redhat.com>
7096
7097 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7098 sys/sdt-config.h.
7099
408223d4
RM
71002012-10-02 Roland McGrath <roland@hack.frob.com>
7101
7102 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7103 Make 'mapoff' field ElfW(Off) rather than off_t.
7104
bb9510dc
DL
71052012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7106
fc997c6e
DL
7107 * nscd/Makefile: Remove nscd-cflags and all its users.
7108 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7109 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7110
bb9510dc
DL
7111 [BZ #10631]
7112 * malloc.c (malloc_printerr): Clarify error message.
7113
05699367
L
71142012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 [BZ #14648]
7117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7118 Set bit_FMA_Usable if FMA is supported.
7119 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7120 macro.
7121 (bit_FMA4_Usable): Updated.
7122 (index_FMA_Usable): New macro.
7123 (CPUID_FMA): Likewise
7124 (HAS_FMA): Defined with bit_FMA_Usable.
7125
51367701
RM
71262012-10-01 Roland McGrath <roland@hack.frob.com>
7127
7128 * bits/types.h (__swblk_t): Type removed.
7129 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7130 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7132 (__SWBLK_T_TYPE): Likewise.
7133 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7134 (__SWBLK_T_TYPE): Likewise.
7135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7136 (__SWBLK_T_TYPE): Likewise.
7137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7138 (__SWBLK_T_TYPE): Likewise.
7139
4d57bf63 71402012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7141 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7142
7143 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7144 (xdr_mapname): Use YPMAXMAP as maxsize.
7145 (xdr_peername): Use YPMAXPEER as maxsize.
7146 (xdr_keydat): Use YPAXRECORD as maxsize.
7147 (xdr_valdat): Use YPMAXRECORD as maxsize.
7148
93c65d43
RM
71492012-10-01 Roland McGrath <roland@hack.frob.com>
7150
497a03d6
RM
7151 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7152
93c65d43
RM
7153 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7154 * csu/init-first.c: ... here.
7155 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7156 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7157 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7158 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7159 * sysdeps/i386/init-first.c: File removed.
7160 * sysdeps/sh/init-first.c: File removed.
7161
bec749fd
JM
71622012-10-01 Joseph Myers <joseph@codesourcery.com>
7163
7164 [BZ #14645]
7165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7166 if x * y might underflow to zero and z is zero.
7167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7168 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7169 * math/libm-test.inc (min_subnorm_value): New variable.
7170 (fma_test): Add more tests.
7171 (fma_test_towardzero): Likewise.
7172 (fma_test_downward): Likewise
7173 (fma_test_upward): Likewise.
7174 (initialize): Set min_subnorm_value.
7175
8ec5b013
JM
71762012-09-29 Joseph Myers <joseph@codesourcery.com>
7177
7178 [BZ #14638]
7179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7180 0 + 0.
7181 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7182 mode for addition resulting in exact zero.
7183 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7184 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7185 exact 0 + 0.
7186 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7187 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7188 * math/libm-test.inc (fma_test): Add more tests.
7189 (fma_test_towardzero): New function.
7190 (fma_test_downward): Likewise.
7191 (fma_test_upward): Likewise.
7192 (main): Call the new functions.
7193
b1fa802e
DM
71942012-09-28 David S. Miller <davem@davemloft.net>
7195
7196 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7197
d3b9fd9e
RM
71982012-09-28 Roland McGrath <roland@hack.frob.com>
7199
ea4d37b3
RM
7200 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7201 instead of SIGALRM.
7202
ac51c949
RM
7203 * sysdeps/gnu/_G_config.h: Moved to ...
7204 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7205 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7206 * sysdeps/generic/_G_config.h: ... here.
7207
28c195f7
RM
7208 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7209
848917f9
RM
7210 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7211
6bacf05b
RM
7212 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7213 Conditionalize target on [libnss_test1.so-version].
7214
91363dbb
RM
7215 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7216
cc87f7d8
RM
7217 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7218 (elfobjdir): Move out of conditionals.
7219
b1c608fe
RM
7220 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7221 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7222 (__nss_lookup_function): Conditionalize label remove_from_tree on
7223 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7224
1d9a6d96
DM
72252012-09-28 David S. Miller <davem@davemloft.net>
7226
7227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7228 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7229 file.
7230 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7231 sysdep_routines.
7232 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7234 when HWCAP_SPARC_CRYPTO is present.
7235
72581615
PT
72362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7237
7238 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7239
715a900c
JL
72402012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7241
7242 [BZ #6530]
7243 * stdio-common/vfprintf.c (process_string_arg): Revert
7244 2000-07-22 change.
7245
72462011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7247
7248 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7249 for testcase.
7250 * stdio-common/tst-sprintf.c: Include <locale.h>
7251 (main): Test sprintf's handling of incomplete multibyte
7252 characters.
7253
9bac1d86
L
72542012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7255
7256 * elf/dl-runtime.c (VERSYMIDX): Removed.
7257 * elf/dl-version.c (VERSYMIDX): Likewise.
7258 * elf/do-rel.h (VERSYMIDX): Likewise.
7259 (VALIDX): Likewise.
7260 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7261 * elf/rtld.c (VALIDX): Likewise.
7262 (ADDRIDX): Likewise.
9bac1d86
L
7263 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7264 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7265 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7266 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7267 (VALIDX): Likewise.
7268 (ADDRIDX): Likewise.
9bac1d86 7269
b31606c0
PT
72702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7271
7272 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7273
11541177
JL
72742012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7275
7276 [BZ #11438]
7277 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7278 to global scope.
7279 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7280 addresses are in the same scope as 192.0.2/24.
7281 * posix/gai.conf: Document new scope table defaults.
7282
adb26fae
SP
72832012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7284
7285 [BZ #5298]
7286 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7287 for ftell. Compute offsets from write pointers instead.
7288 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7289
4573c6b0
SP
72902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7291
7292 [BZ #14543]
7293 * libio/Makefile (tests): New test case tst-fseek.
7294 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7295 combination works in wide mode.
7296 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7297 state when the external buffer state changes.
7298
aa9bbfe6
DM
72992012-09-27 David S. Miller <davem@davemloft.net>
7300
7301 [BZ #14376]
7302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7303 pass reloc->r_addend in as the 'high' argument to
7304 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7305
784421e7
DM
7306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7307
c39bc8b8
PT
73082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7309
7310 * rt/tst-aio2.c: Include <pthread.h>.
7311 * rt/tst-aio3.c: Likewise.
7312
1ccc2399
SE
73132012-09-27 Steve Ellcey <sellcey@mips.com>
7314
7315 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7316
31ed4153
L
73172012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7318
25f5f885
L
7319 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7320 contents on [SHARED].
31ed4153 7321
b7bfe116
MP
73222012-09-26 Marek Polacek <polacek@redhat.com>
7323
7324 [BZ #14530]
7325 [BZ #13741]
7326 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7327 for C++ and GCC <4.3 as well as for non GCC compilers.
7328
43c4edba
MT
73292012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7330
7331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7332
6a1bf82f
RM
73332012-09-25 Roland McGrath <roland@hack.frob.com>
7334
7335 * Makefile.in (all, install): Declare with .PHONY.
7336 Reported by Michael Hope <michael.hope@linaro.org>.
7337
8ad11b9a
TMQMF
73382012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7339
7340 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7341 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7342 system header.
7343 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7344 Likewise.
7345 (sydep_routines): Add the new and the internal functions.
7346 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7347 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7349 (GLIBC_2.17): Add the new function.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7351 (GLIBC_2.17): Likewise.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7353 (GLIBC_2.17): Likewise.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7355 (GLIBC_2.17): Likewise.
7356 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7357
7e2fca8d
AM
73582012-09-25 Alan Modra <amodra@gmail.com>
7359
7360 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7361 Add release barrier before setting once_control to say
7362 initialisation is done. Add hints on lwarx. Use macro in
7363 place of isync.
7364 (clear_once_control): Add release barrier.
7365
b87c4b24
JM
73662012-09-25 Joseph Myers <joseph@codesourcery.com>
7367
d032e0d2
JM
7368 [BZ #13629]
7369 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7370 specially.
7371 * math/s_clog10.c (__clog10): Likewise.
7372 * math/s_clog10f.c (__clog10f): Likewise.
7373 * math/s_clog10l.c (__clog10l): Likewise.
7374 * math/s_clogf.c (__clogf): Likewise.
7375 * math/s_clogl.c (__clogl): Likewise.
7376 * math/Makefile (libm-calls): Add x2y2m1.
7377 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7378 (__x2y2m1): Likewise.
7379 (__x2y2m1l): Likewise.
7380 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7381 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7384 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7385 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7386 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7387 * sysdeps/i386/fpu/libm-test-ulps: Update.
7388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7389
b87c4b24
JM
7390 [BZ #14621]
7391 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7392 int as type of variable DEPTH.
7393 (glob): Use size_t instead of int as type of variables NEWCOUNT
7394 and OLD_PATHC.
7395
6d3bf199
LD
73962012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7397
22bf5c17
LD
7398 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7399 Add s_sincosf-sse2.
7400 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7401 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7402 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7403 macros for using routine as __sincosf_ia32.
7404 Use macro for function declaration and weak_alias.
7405 * sysdeps/i386/fpu/libm-test-ulps: Update.
7406
7407 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7409
7410 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7411 subnormal argument.
7412 * math/s_cexpf.c (__cexpf): Likewise.
7413 * math/s_csinf.c (__csinf): Likewise.
7414 * math/s_csinhf.c (__csinhf): Likewise.
7415 * math/s_ctanf.c (__ctanf): Likewise.
7416 * math/s_ctanhf.c (__ctanhf): Likewise.
7417 * math/s_ccosh.c (__ccoshf): Likewise.
7418 * math/s_cexp.c (__cexpl): Likewise.
7419 * math/s_csin.c (__csin): Likewise.
7420 * math/s_csinh.c (__csinh): Likewise.
7421 * math/s_ctan.c (__ctan): Likewise.
7422 * math/s_ctanh.c (ctanh): Likewise.
7423 * math/s_ccoshl.c (__ccoshl): Likewise.
7424 * math/s_cexpl.c (__cexpl): Likewise.
7425 * math/s_csinl.c (__csinl): Likewise.
7426 * math/s_csinhl.c (__csinhl): Likewise.
7427 * math/s_ctanl.c (__ctanl): Likewise.
7428 * math/s_ctanhl.c (__ctanhl): Likewise.
7429
203e5603
JM
74302012-09-25 Joseph Myers <joseph@codesourcery.com>
7431
7432 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7433 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7434 (_IO_off_t): Define to __off_t, not _G_off_t.
7435 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7436 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7437 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7438 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7439 type of __dummy and __dummy2 fields.
7440 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7441 (_G_ssize_t): Likewise.
7442 (_G_off_t): Likewise.
7443 (_G_pid_t): Likewise.
7444 (_G_uid_t): Likewise.
7445 (_G_wchar_t): Likewise.
7446 (_G_wint_t): Likewise.
7447 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7448 (_G_ssize_t): Likewise.
7449 (_G_off_t): Likewise.
7450 (_G_pid_t): Likewise.
7451 (_G_uid_t): Likewise.
7452 (_G_wchar_t): Likewise.
7453 (_G_wint_t): Likewise.
7454 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7455 (_G_ssize_t): Likewise.
7456 (_G_off_t): Likewise.
7457 (_G_pid_t): Likewise.
7458 (_G_uid_t): Likewise.
7459 (_G_wchar_t): Likewise.
7460 (_G_wint_t): Likewise.
7461
9fab36eb
SP
74622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7463
7464 * malloc/arena.c: Include malloc-sysdep.h.
7465 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7466 is sufficient to shrink the heap or an unmap is needed.
7467 * sysdeps/generic/malloc-sysdep.h: New file. Define
7468 new function check_may_shrink_heap.
7469 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7470 new function check_may_shrink_heap.
7471
2b4f00d1
SP
74722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7473
7474 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7475 comments.
7476
9a9028b1
DL
74772012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7478
57c69bef
DL
7479 * catgets/test-gencat.sh: Add "set -e".
7480 * elf/tst-pathopt.sh: Likewise.
7481 * grp/tst_fgetgrent.sh: Likewise.
7482 * iconvdata/run-iconv-test.sh: Likewise.
7483 * intl/tst-gettext.sh: Likewise.
7484 * intl/tst-gettext2.sh: Likewise.
7485 * intl/tst-gettext4.sh: Likewise.
7486 * intl/tst-gettext6.sh: Likewise.
7487 * intl/tst-translit.sh: Likewise.
7488 * io/ftwtest-sh: Likewise.
7489 * libio/test-freopen.sh: Likewise.
7490 * malloc/tst-mtrace.sh: Likewise.
7491 * posix/globtest.sh: Likewise.
7492 * posix/tst-getconf.sh: Likewise.
7493 * posix/wordexp-tst.sh: Likewise.
7494 * stdio-common/tst-printf.sh: Likewise.
7495 * stdio-common/tst-unbputc.sh: Likewise.
7496 * stdlib/tst-fmtmsg.sh: Likewise.
7497 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7498 * catgets/Makefile: Do not specify -e option when running
7499 testsuite shell scripts.
7500 * elf/Makefile: Likewise.
7501 * grp/Makefile: Likewise.
7502 * iconvdata/Makefile: Likewise.
7503 * intl/Makefile: Likewise.
7504 * io/Makefile: Likewise.
7505 * libio/Makefile: Likewise.
7506 * malloc/Makefile: Likewise.
7507 * posix/Makefile: Likewise.
7508 * stdio-common/Makefile: Likewise.
7509 * stdlib/Makefile: Likewise.
7510 * sysdeps/x86_64/Makefile: Likewise.
7511
9a9028b1
DL
7512 * io/ftwtest-sh: Add copyright header.
7513 * posix/globtest.sh: Likewise.
7514 * posix/tst-getconf.sh: Likewise.
7515 * posix/wordexp-tst.sh: Likewise.
7516 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7517
ced6f16e
L
75182012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7519
94b32c39
L
7520 [BZ #13679]
7521 * Makeconfig (+link): Defined as $(+link-static) if
7522 $(build-shared) isn't yes.
7523 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7524 isn't yes.
7525 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7526
189e935b
L
7527 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7528
ced6f16e
L
7529 [BZ #14562]
7530 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7531 new chunk size with MALLOC_ALIGN_MASK.
7532
a9f8e53a
JM
75332012-09-24 Joseph Myers <joseph@codesourcery.com>
7534
7535 [BZ #5044]
7536 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7537 <rounding-mode.h>.
7538 (__printf_fphex): Determine rounding using get_rounding_mode and
7539 round_away.
7540 * stdio-common/tst-printf-round.c (struct hex_test): New
7541 structure.
7542 (hex_tests): New variable.
7543 (test_hex_in_one_mode): New function.
7544 (do_test): Also run tests for hex float output.
7545
43153109
JM
75462012-09-21 Joseph Myers <joseph@codesourcery.com>
7547
7548 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7549 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7550 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7551 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7552 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7553 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7554 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7555 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7556
8a26625d
JM
75572012-09-20 Joseph Myers <joseph@codesourcery.com>
7558
7559 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7560 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7561 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7562 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7563
f3fd569c
DL
75642012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7565
7566 [BZ #14579]
7567 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7568 mode only.
7569 * elf/tst-rtld-load-self.sh: New test.
7570 * elf/Makefile: Run it.
7571
63bbedd4
JM
75722012-09-18 Joseph Myers <joseph@codesourcery.com>
7573
7574 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7575 (tst-writev-ENV): Remove.
7576 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7577
626f8b6a
CM
75782012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7579
7580 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7581
b7aaa4d6
JM
75822012-09-17 Joseph Myers <joseph@codesourcery.com>
7583
7584 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7585 unconditional.
7586 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7587 Likewise.
7588 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7589 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7590 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7591 Likewise.
7592
65513990
L
75932012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7594
7595 [BZ #14587]
7596 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7597 * config.make.in (have-cpp-asm-debuginfo): Removed.
7598 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7599 * configure: Regenerated.
7600
784761be
JM
76012012-09-14 Joseph Myers <joseph@codesourcery.com>
7602
7603 [BZ #5044]
7604 * stdio-common/printf_fp.c: Include <stdbool.h> and
7605 <rounding-mode.h>.
7606 (___printf_fp): Determine rounding using get_rounding_mode and
7607 round_away.
7608 * stdio-common/tst-printf-round.c: New file.
7609 * stdio-common/Makefile (tests): Add tst-printf-round.
7610 (link-libm): New variable.
7611 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7612
9503345f
L
76132012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7614
7615 [BZ #14576]
7616 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7617 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7618 Likewise.
7619 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7620 Likewise.
7621
ad35fc00
JM
76222012-09-13 Joseph Myers <joseph@codesourcery.com>
7623
7624 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7625 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7626 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7627 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7628
6c9b0f68
JM
76292012-09-12 Joseph Myers <joseph@codesourcery.com>
7630
7631 [BZ #14518]
7632 * include/rounding-mode.h: New file.
7633 * sysdeps/generic/get-rounding-mode.h: Likewise.
7634 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7635 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7636 (MAX_VALUE): New macro.
7637 (MIN_VALUE): Likewise.
7638 (overflow_value): New function.
7639 (underflow_value): Likewise.
7640 (round_and_return): Use overflow_value and underflow_value to
7641 determine return values in overflow and underflow cases. Use
7642 round_away to determine rounding depending on rounding mode.
7643 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7644 determine return values in overflow and underflow cases.
7645 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7646 (struct test_results): New structure.
7647 (struct test): Use struct test_results to store expected results
7648 for all rounding modes.
7649 (TEST): Include expected results for all rounding modes.
7650 (test_in_one_mode): New function.
7651 (do_test): Use test_in_one_mode to compute and check results.
7652 Check results for all rounding modes.
7653 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7654 $(link-libm).
7655
19fcedd5
AM
76562012-12-09 Allan McRae <allan@archlinux.org>
7657
1e9d84cd 7658 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 7659
8bbfd2f1
JM
76602012-09-11 Joseph Myers <joseph@codesourcery.com>
7661
7662 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7663 (_G_int32_t): Likewise.
7664 (_G_uint16_t): Likewise.
7665 (_G_uint32_t): Likewise.
7666 (_G_HAVE_BOOL): Likewise.
7667 (_G_HAVE_ATEXIT): Likewise.
7668 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7669 (_G_HAVE_IO_FILE_OPEN): Likewise.
7670 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7671 (_G_int32_t): Likewise.
7672 (_G_uint16_t): Likewise.
7673 (_G_uint32_t): Likewise.
7674 (_G_HAVE_BOOL): Likewise.
7675 (_G_HAVE_ATEXIT): Likewise.
7676 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7677 (_G_HAVE_IO_FILE_OPEN): Likewise.
7678 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7679 (_G_int32_t): Likewise.
7680 (_G_uint16_t): Likewise.
7681 (_G_uint32_t): Likewise.
7682 (_G_HAVE_BOOL): Likewise.
7683 (_G_HAVE_ATEXIT): Likewise.
7684 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7685 (_G_HAVE_IO_FILE_OPEN): Likewise.
7686
b1dc5912
L
76872012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7688
7689 * csu/libc-tls.c: Update copyright years.
7690
0e886ef9
JM
76912012-09-10 Joseph Myers <joseph@codesourcery.com>
7692
28361c5e
JM
7693 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7694 [!_G_USING_THUNKS]: Remove conditional code.
7695 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7696 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7697
0e886ef9
JM
7698 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7699 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7700 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7701 (_G_VTABLE_LABEL_PREFIX): Likewise.
7702 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7703 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7704 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7705 (_G_VTABLE_LABEL_PREFIX): Likewise.
7706 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7707 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7708 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7709 (_G_VTABLE_LABEL_PREFIX): Likewise.
7710 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7711
bcba7aa2
L
77122012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7713
7714 * libio/Makefile: Include ../Makeconfig before tests.
7715 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7716 only if $(build-shared) is yes.
7717
06585ee8
L
7718 * iconv/gconv_db.c: Update copyright years.
7719
80ccd52c
LD
77202012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7721
7722 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7723 unwind info if defined PIC. Fix special cases description.
7724 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7725
7726 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7727 DP_HI_MASK entry.
7728 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7729
691bc9c1
L
77302012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7731
3d9b46b3
L
7732 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7733
de2139a9
L
7734 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7735 is NULL.
7736
5ca78dd0
L
7737 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7738 (LDLIBS-tst-chk4): This.
7739 (LDFLAGS-tst-chk5): Renamed to ...
7740 (LDLIBS-tst-chk5): This.
7741 (LDFLAGS-tst-chk6): Renamed to ...
7742 (LDLIBS-tst-chk6): This.
7743 (LDFLAGS-tst-lfschk4): Renamed to ...
7744 (LDLIBS-tst-lfschk4): This.
7745 (LDFLAGS-tst-lfschk5): Renamed to ...
7746 (LDLIBS-tst-lfschk5): This.
7747 (LDFLAGS-tst-lfschk6): Renamed to ...
7748 (LDLIBS-tst-lfschk6): This.
7749
691bc9c1
L
7750 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7751 on $(common-objpfx)soversions.mk.
7752
65cafb1c
JM
77532012-09-07 Joseph Myers <joseph@codesourcery.com>
7754
7755 [BZ #10014]
7756 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7757 example host name.
7758
c78ab094
SP
77592012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7760
7761 * malloc/arena.c (arena_get_retry): New function that gets
7762 another arena for the caller to try its request on.
7763 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7764 current arena cannot fulfill the request.
7765 (__libc_memalign): Likewise.
7766 (__libc_memalign): Likewise.
7767 (__libc_pvalloc): Likewise.
7768 (__libc_calloc): Likewise.
7769
01f49f59
JT
77702012-09-05 John Tobey <john.tobey@gmail.com>
7771
7772 [BZ #13542]
7773 * manual/arith.texi (Operations on Complex): Fix description
7774 of carg branch cut.
7775
4c23fed5
JM
77762012-09-06 Joseph Myers <joseph@codesourcery.com>
7777
1d3c8572
JM
7778 [BZ #10014]
7779 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7780 host name.
7781
4c23fed5
JM
7782 [BZ #10038]
7783 * manual/memory.texi (Memory): Make order of menu items match
7784 order of sections.
7785
04570aaa
L
77862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7789 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7790 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7791
b80af2f4
L
77922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7793
7794 * csu/libc-tls.c (static_dtv): Renamed to ...
7795 (_dl_static_dtv): This. Make it global.
7796 (_dl_initial_dtv): Removed.
7797 (__libc_setup_tls): Updated.
7798 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7799 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7800 DL_INITIAL_DTV.
7801
2abe9f15
PM
78022012-09-06 Petr Machata <pmachata@redhat.com>
7803
7804 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7805 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7806 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7807 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7808
0948c3af
L
78092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7810
7811 [BZ #14545]
7812 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7813 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7814 freeing dtv[-1].
7815
a5055ad1
L
78162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7817
7818 [BZ #14544]
7819 * Makeconfig (link-static-before-libc): Replace $(+prector)
7820 with $(+prectorT).
7821 (link-static-after-libc): Replace $(+postctor) with
7822 $(+postctorT).
7823 (link-bounded): Replace $(+prector)/$(+postctor) with
7824 $(+prectorT)/$(+postctorT).
7825 (+prectorT): New macro.
7826 (+postctorT): Likewise.
7827
ed8c2ecd
JM
78282012-09-06 Joseph Myers <joseph@codesourcery.com>
7829
7830 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7831 (round_str): Handle values above the maximum for IBM long double
7832 as inexact.
7833 * stdlib/tst-strtod-round.c (tests): Regenerated.
7834
14c996c8
AK
78352012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7836
7837 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7838 assembler flag.
7839 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7840 zarch_nohighgprs around the zarch optimized routines.
7841 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7842 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7843 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7844 for zarch.
7845
430d6ce6
DM
78462012-09-05 David S. Miller <davem@davemloft.net>
7847
7848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7849
ff04dda4
DM
7850 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7851 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7852 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7853 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7854 entries.
7855
24d4e01b
AO
78562012-09-05 Alexandre Oliva <aoliva@redhat.com>
7857
7858 * malloc/arena.c: Fold copyright years.
7859 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7860
61d58174
AO
78612012-09-05 Alexandre Oliva <aoliva@redhat.com>
7862
7863 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7864
20196a5e
AO
78652012-09-05 Alexandre Oliva <aoliva@redhat.com>
7866
7867 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7868
5c447383
AO
78692012-09-05 Alexandre Oliva <aoliva@redhat.com>
7870
7871 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7872 change internal state upon failure.
7873
fad64255
AO
78742012-09-05 Alexandre Oliva <aoliva@redhat.com>
7875
7876 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7877 * malloc/memusage.c (mmap): Likewise.
7878 (mmap64, mremap): Likewise. Adjust name in comment.
7879
1ffb8c90
SP
78802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7881
7882 * libio/fileops.c: Fix typos in comments.
7883 * libio/oldfileops.c: Likewise.
7884 * libio/wfileops.c: Likewise.
7885
6ef9cc37
SP
78862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7887
7888 [BZ #1349]
7889 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7890 (tst-malloc-usable-ENV): Set environment for test case.
7891 * malloc/hooks.c (malloc_check_get_size): New function to get
7892 requested size.
7893 * malloc/malloc.c (musable): Use malloc_check_get_size.
7894 * malloc/tst-malloc-usable.c: New test case.
7895
4d038ae3
AS
78962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7897
7898 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7899
c4e85184
AM
79002012-09-05 Allan McRae <allan@archlinux.org>
7901
b9dafc56 7902 [BZ #13966]
c4e85184
AM
7903 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7904 determine header location.
7905 * configure: Regenerated.
7906
e1343020
AS
79072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7908
7909 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7910 float format.
7911 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7912 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7913 format.
e1343020
AS
7914 (test): Regenerate.
7915
0a9f1987
DM
79162012-09-04 David S. Miller <davem@davemloft.net>
7917
7918 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7919 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7920 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7921
29237804
FW
79222012-09-04 Florian Weimer <fweimer@redhat.com>
7923
7924 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7925 failures.
7926
edb3cb88
FW
7927 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7928
60160d83
JM
79292012-09-04 Joseph Myers <joseph@codesourcery.com>
7930
7931 [BZ #9914]
7932 * libio/iogetdelim.c: Include <limits.h>.
7933 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7934 + len + 1 would overflow.
7935
bcd6c8dc
AJ
79362012-09-03 Andreas Jaeger <aj@suse.de>
7937
7938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7939 * sysdeps/i386/fpu/libm-test-ulps: Update.
7940
4ffffbd2
LD
79412012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7942
7943 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7944 Add s_sinf-sse2, s_conf-sse2.
7945
7946 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7947 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7948 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7949 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7950
7951 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7952 for using routine as __sinf_ia32.
7953 Use macro for function declaration and weak_alias.
7954 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7955 for using routine as __cosf_ia32.
7956 Use macro for function declaration and weak_alias.
7957
7958 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7959 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7960
7961 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7962 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7964
7965 * math/libm-test.inc (cos_test): Add more test cases.
7966 (sin_test): Likewise.
7967 (sincos_test): Likewise.
7968
511fa286
AK
79692012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7970
7971 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7972 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7973 hidden.
7974 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7975
5f30cfec
L
79762012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7977
7978 [BZ #14538]
7979 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7980 first element of the GOT.
7981 (elf_machine_load_address): Return the difference between
7982 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7983
0786794f
AM
79842012-09-01 Allan McRae <allan@archlinux.org>
7985
5f30cfec
L
7986 [BZ #13412]
7987 * configure.in (AWK): Require gawk version 3.0 or later.
7988 * configure: Regenerated.
0786794f 7989
26889eac
JM
79902012-09-01 Joseph Myers <joseph@codesourcery.com>
7991
7992 * sysdeps/unix/sysv/linux/kernel-features.h
7993 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7994 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7995 [__NR_clock_getres]: Make code unconditional.
7996 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7997 (clock_getcpuclockid): Remove code left unreachable by removal of
7998 conditionals.
7999 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8000 code unconditional.
8001 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8002 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8003 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8004 Make code unconditional.
8005 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8006 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8007 * sysdeps/unix/sysv/linux/clock_settime.c
8008 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8009 conditional code.
8010 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8011 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8012
d22e28b0
L
80132012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8014
8015 [BZ #14476]
8016 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8017 scripts/test-installation.pl.
8018
8019 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8020 and $ld_so_version if it is set.
8021
050af9c4
SP
80222012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8023
8024 [BZ #14516]
8025 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8026 failure if reading from procfs failed.
8027 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8028
ad845c0b
JM
80292012-08-27 Joseph Myers <joseph@codesourcery.com>
8030
8031 * sysdeps/unix/sysv/linux/kernel-features.h
8032 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8033 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8034 Remove conditional code.
8035 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8036 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8037 Remove conditional code.
8038 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8039 * sysdeps/unix/sysv/linux/i386/fxstat.c
8040 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8041 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8042 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8043 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8044 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8045 * sysdeps/unix/sysv/linux/i386/lxstat.c
8046 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8047 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8048 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8049 Remove conditional code.
8050 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8051 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8052 Remove conditional code.
8053 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8054 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8055 <kernel-features.h>.
8056 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8057 Remove.
8058 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8059 Remove conditional code.
8060 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8061 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8062 Remove conditional.
8063
5dbf56af
MF
80642012-08-27 Mike Frysinger <vapier@gentoo.org>
8065
8066 [BZ #5400]
8067 * NEWS: Add fixed bug number.
8068
d6e70f43
JM
80692012-08-27 Joseph Myers <joseph@codesourcery.com>
8070
7efb4737
JM
8071 [BZ #14519]
8072 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8073 underflowing exponent in case of negative sign.
8074 * stdlib/tst-strtod-round-data: Add more tests.
8075 * stdlib/tst-strtod-round.c (tests): Regenerated.
8076
af92131a
JM
8077 [BZ #3479]
8078 * stdlib/strtod_l.c (NDIG): Remove.
8079 (HEXNDIG): Likewise.
8080 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8081 smallest representable value.
8082 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8083 lie within an exact representation of 1/2 ulp of the result.
8084 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8085 unconditionally.
8086 (TENS_P9_IDX): Define unconditionally.
8087 (TENS_P9_SIZE): Likewise.
8088 (TENS_P10_IDX): Likewise.
8089 (TENS_P10_SIZE): Likewise.
8090 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8091 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8092 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8093 entries for 10^2^13 and 10^2^14.
8094 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8095 (TENS_P13_IDX): Define.
8096 (TENS_P13_SIZE): Likewise.
8097 (TENS_P14_IDX): Likewise.
8098 (TENS_P14_SIZE): Likewise.
8099 (_fpioconst_pow10): Change array size to
8100 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8101 unconditional.
8102 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8103 1024]: Add entries for 10^2^13 and 10^2^14.
8104 [LAST_POW10 > _LAST_POW10]: Remove #error.
8105 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8106 (_fpioconst_pow10): Change array size to
8107 FPIOCONST_POW10_ARRAY_SIZE.
8108 * stdlib/gen-fpioconst.c: New file.
8109 * stdlib/gen-tst-strtod-round.c: Likewise.
8110 * stdlib/tst-strtod-round-data: Likewise.
8111 * stdlib/tst-strtod-round.c: Likewise.
8112 * stdlib/Makefile (tests): Add tst-strtod-round.
8113
d6e70f43
JM
8114 [BZ #14459]
8115 * stdlib/strtod_l.c: Include <stdint.h>.
8116 (NDEBUG): Do not define.
8117 (round_and_return): Change EXPONENT parameter to type intmax_t.
8118 Rearrange calculations to avoid internal overflow possibilities.
8119 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8120 Rearrange calculations to avoid internal overflow possibilities.
8121 Assert that number fits inside MPNSIZE limbs.
8122 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8123 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8124 calculations and add assertions to avoid internal overflow
8125 possibilities. Add casts to avoid signed/unsigned operations.
8126 * stdlib/tst-strtod-overflow.c: New file.
8127 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8128
1f529f7d
MP
81292012-08-25 Marek Polacek <polacek@redhat.com>
8130
8131 * time/time.h: Fix some typos in comments.
8132
59a629f1
RM
81332012-08-23 Roland McGrath <roland@hack.frob.com>
8134
8135 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8136 * posix/tst-rfc3484-2.c: Likewise.
8137 * posix/tst-rfc3484-3.c: Likewise.
8138
d3bafbc9
SM
81392012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8140
8141 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8142 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8143
4efcc022
JM
81442012-08-23 Joseph Myers <joseph@codesourcery.com>
8145
8146 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8147 #include of fxstatat64.c.
8148
3cc3ef96
RM
81492012-08-22 Roland McGrath <roland@hack.frob.com>
8150
f04e2132
RM
8151 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8152 * shadow/getspent_r.c: Likewise.
8153 * shadow/getspnam.c: Likewise.
8154 * shadow/getspnam_r.c: Likewise.
8155 * gshadow/getsgent.c: Likewise.
8156 * gshadow/getsgent_r.c: Likewise.
8157 * gshadow/getsgnam.c: Likewise.
8158 * gshadow/getsgnam_r.c: Likewise.
8159 * inet/getnetbyad.c: Likewise.
8160 * inet/getnetbyad_r.c: Likewise.
8161 * inet/getnetbynm.c: Likewise.
8162 * inet/getnetbynm_r.c: Likewise.
8163 * inet/getnetent.c: Likewise.
8164 * inet/getnetent_r.c: Likewise.
8165 * inet/getproto.c: Likewise.
8166 * inet/getproto_r.c: Likewise.
8167 * inet/getprtent.c: Likewise.
8168 * inet/getprtent_r.c: Likewise.
8169 * inet/getprtname.c: Likewise.
8170 * inet/getprtname_r.c: Likewise.
8171 * inet/getrpcbyname.c: Likewise.
8172 * inet/getrpcbyname_r.c: Likewise.
8173 * inet/getrpcbynumber.c: Likewise.
8174 * inet/getrpcbynumber_r.c: Likewise.
8175 * inet/getrpcent.c: Likewise.
8176 * inet/getrpcent_r.c: Likewise.
8177 * inet/getaliasent.c: Likewise.
8178 * inet/getaliasent_r.c: Likewise.
8179 * inet/getaliasname.c: Likewise.
8180 * inet/getaliasname_r.c: Likewise.
8181 * nscd/getgrgid_r.c: Likewise.
8182 * nscd/getgrnam_r.c: Likewise.
8183 * nscd/gethstbyad_r.c: Likewise.
8184 * nscd/gethstbynm3_r.c: Likewise.
8185 * nscd/getpwnam_r.c: Likewise.
8186 * nscd/getpwuid_r.c: Likewise.
8187 * nscd/getsrvbynm_r.c: Likewise.
8188 * nscd/getsrvbypt_r.c: Likewise.
8189 * nscd/gai.c: Likewise.
8190
c53d909c
RM
8191 * configure.in (build_nscd): New substituted variable, set
8192 by --disable-build-nscd and defaults to $use_nscd.
8193 * configure: Regenerated.
8194 * config.make.in (build-nscd): New substituted variable.
8195 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8196 Change conditional to require [$(build-nscd) = yes] as well.
8197 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8198
3cc3ef96
RM
8199 [BZ# 13696]
8200 * configure.in (use_nscd): New substituted variable, set by
8201 --disable-nscd. If enabled, define USE_NSCD.
8202 * configure: Regenerated.
8203 * config.h.in: Add USE_NSCD.
8204 * config.make.in (use-nscd): New substituted variable.
8205 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8206 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8207 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8208 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8209 (CFLAGS-getgrnam_r.c): Likewise.
8210 (CFLAGS-initgroups.c): Likewise.
8211 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8212 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8213 Variables removed.
8214 * inet/getnetgrent_r.c
8215 (nscd_setnetgrent): New function, broken out of ...
8216 (setnetgrent): ... here. Call it.
8217 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8218 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8219 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8220 * nscd/Makefile (routines, aux): Move definitions after include of
8221 Makeconfig. Conditionalize on [$(use-nscd) != no].
8222 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8223 Conditionalize on [USE_NSCD].
8224 (is_nscd, nscd_init_cb): Likewise.
8225 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8226 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8227 * nss/nss_db/db-init.c: Likewise.
8228 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8229 [USE_NSCD].
8230 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8231 (make_request): Use it.
8232 (cache_valid_p): New function.
8233 (__check_pf): Use it.
8234 * NEWS: Add item for --disable-nscd.
8235
07e51550
DL
82362012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8237
8238 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8239 to support sed >= 4.2.1-20-ga9bf076.
8240 * configure: Regenerated.
8241
35a5b08b
RM
82422012-08-22 Roland McGrath <roland@hack.frob.com>
8243
8244 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8245 Conditionalize whole body on [IREL].
8246
8479f23a
JL
82472012-08-22 Jeff Law <law@redhat.com>
8248
8249 [BZ #14505]
8250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8251 if the family is PF_UNSPEC.
8252
48da0b21
MF
82532012-08-22 Mike Frysinger <vapier@gentoo.org>
8254
8255 * Makerules (lib-version): Rename from V.
8256 (install-lib-nosubdir): Change V to lib-version.
8257
15d0da8c
WS
82582012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8259
8260 [BZ #14252]
8261 * powerpc32/power6/wcschr.c: New file.
8262 * powerpc32/power6/wcscpy.c: New file.
8263 * powerpc32/power6/wcsrchr.c: New file.
8264 * powerpc64/power6/wcschr.c: New file.
8265 * powerpc64/power6/wcscpy.c: New file.
8266 * powerpc64/power6/wcsrchr.c: New file.
8267
bcca0895
MK
82682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8269
8270 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8271 (two_way_short_needle): Use it.
5a4aaa33
RM
8272 * string/strstr.c (AVAILABLE1_USES_J): Define.
8273 * string/strcasestr.c: Likewise.
99677e57
MK
8274
8275 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8276 array references.
8277 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8278
400726de
MK
8279 [BZ #11607]
8280 * NEWS: Add an entry.
8281 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8282 define their defaults.
8283 (two_way_short_needle): Detect end-of-string on-the-fly.
8284 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8285 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8286 * string/bug-strcasestr1.c: New test.
8287 * string/Makefile: Run it.
8288
20a71f2c
MK
82892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8290
8291 [BZ #11607]
8292 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8293 the first character.
8294
21ad0558
RM
82952012-08-21 Roland McGrath <roland@hack.frob.com>
8296
8297 * csu/elf-init.c (__libc_csu_irel): Function removed.
8298 * csu/libc-start.c (apply_irel): New function.
8299 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8300
0e1d9911
JM
83012012-08-21 Joseph Myers <joseph@codesourcery.com>
8302
8303 * sysdeps/unix/sysv/linux/kernel-features.h
8304 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8305 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8306 <kernel-features.h>.
8307 [__NR_fadvise64_64]: Make code unconditional.
8308 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8309 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8310 !__NR_fadvise64_64)]: Likewise.
8311 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8312 !__NR_fadvise64_64))]: Likewise.
8313 [__NR_fadvise64]: Make code unconditional.
8314 [!__NR_fadvise64]: Remove conditional code.
8315 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8316 <kernel-features.h>.
8317 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8318 unconditional.
8319 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8320 conditional code.
8321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8322 not include <kernel-features.h>.
8323 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8324 unconditional.
8325 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8326 conditional code.
8327 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8328 include <kernel-features.h>.
8329 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8330 unconditional.
8331 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8332 conditional code.
8333
14a50c9d
WS
83342012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8335
8336 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8337 slight instruction rearrangements per scrollpipe analysis.
8338 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8339
c0f4faf0
RM
83402012-08-20 Roland McGrath <roland@hack.frob.com>
8341
696da859
RM
8342 * manual/syslog.texi (syslog; vsyslog, closelog):
8343 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8344 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8345
c0f4faf0
RM
8346 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8347 DSOCAPS to match condition on defining it.
8348
348363b2
JM
83492012-08-20 Joseph Myers <joseph@codesourcery.com>
8350
a35cbf28
JM
8351 * sysdeps/unix/sysv/linux/kernel-features.h
8352 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8354 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8355 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8357 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8358 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8360 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8361 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8362
445f7ecd
JM
8363 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8364 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8365
348363b2
JM
8366 * sysdeps/unix/sysv/linux/kernel-features.h
8367 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8368 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8369 unconditional.
8370 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8371 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8372 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8373 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8374 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8375 Make code unconditional.
8376 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8377 (__mmap64) [!__NR_mmap2]: Likewise.
8378 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8379 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8380 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8381 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8382 [__NR_mmap2]: Make code unconditional.
8383 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8384 (__mmap64) [!__NR_mmap2]: Likewise.
8385
bc5bc0e5
AK
83862012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8387
8388 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8389
88d506de
AJ
83902012-08-18 Andreas Jaeger <aj@suse.de>
8391
8392 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8393
493387d2
MF
83942012-08-18 Mike Frysinger <vapier@gentoo.org>
8395
8396 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8397 * include/unistd.h (__have_sock_cloexec): Likewise.
8398 (__have_pipe2): Likewise.
8399 (__have_dup3): Likewise.
8400
a277af22
MF
84012012-08-18 Mike Frysinger <vapier@gentoo.org>
8402
8403 [BZ #9685]
8404 * include/unistd.h (__have_pipe2): Change define into an extern int.
8405 (__have_dup3): Likewise.
8406 * socket/have_sock_cloexec.c: Include fcntl.h.
8407 (__have_pipe2): New variable.
8408 (__have_dup3): Likewise.
8409
fdab8fd3
MF
84102012-08-17 Mike Frysinger <vapier@gentoo.org>
8411
8412 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8413
31035e80
MP
84142012-08-17 Marek Polacek <polacek@redhat.com>
8415
8416 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8417 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8418
3bd9e993
RM
84192012-08-17 Roland McGrath <roland@hack.frob.com>
8420
c91c505f
RM
8421 * configure.in: Add AC_SUBST for sysheaders.
8422 * configure: Regenerated.
8423 * config.make.in (sysheaders): New substituted variable.
8424
7c6f9d53
RM
8425 * sysdeps/unix/mkfifo.c: Moved ...
8426 * sysdeps/posix/mkfifo.c: ... here.
8427 * sysdeps/unix/mkfifoat.c: Moved ...
8428 * sysdeps/posix/mkfifoat.c: ... here.
8429
8430 * sysdeps/unix/utime.c: Moved ...
8431 * sysdeps/posix/utime.c: ... here.
8432
8433 * sysdeps/unix/time.c: Moved ...
8434 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8435 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8436 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8437
8438 * sysdeps/unix/nice.c: Moved ...
8439 * sysdeps/posix/nice.c: ... here.
8440
8441 * sysdeps/unix/alarm.c: Moved ...
8442 * sysdeps/posix/alarm.c: ... here.
8443
3bd9e993
RM
8444 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8445
d1f09384
JL
84462012-08-17 Jeff Law <law@redhat.com>
8447
8448 * intl/Makefile (codeset_mo): New variable.
8449 ($(codeset_mo)): New target.
8450 (tst-codeset.out): Depend on that. Remove explicit rule.
8451 (tst-gettext3.out, tst-gettext5.out): Likewise.
8452 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8453 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8454 * intl/tst-codeset.sh: Remove.
8455 * intl/tst-gettext3.sh: Likewise.
8456 * intl/tst-gettext5.sh: Likewise.
8457
2ae1ae5c
RM
84582012-08-17 Roland McGrath <roland@hack.frob.com>
8459
c31fdb83
RM
8460 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8461 * sysdeps/unix/syscalls.list: ... here.
8462
a0844057
RM
8463 * sysdeps/posix/getaddrinfo.c
8464 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8465 (gaiconf_init, gaiconf_reload): Use them.
8466 [!_STATBUF_ST_NSEC]
8467 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8468 Define using time_t rather than struct timespec.
8469
750c1f2a
RM
8470 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8471 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8472 Macros removed.
8473 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8474 [!NO_THREADS].
8475 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8476 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8477 Likewise.
8478
2ae1ae5c
RM
8479 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8480 __libc_cleanup_push argument.
8481
e66a42f5
RM
8482 * bits/param.h: New file.
8483 * misc/sys/param.h: New file.
8484 * include/sys/param.h: New file.
8485 * misc/Makefile (headers): Add bits/param.h.
8486 * sysdeps/generic/sys/param.h: File removed.
8487 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8488 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8489 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8490 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8491
b7c08a66
RM
8492 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8493 last change.
8494
b2e1c562
RM
8495 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8496 [_IO_MTSAFE_IO].
8497 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8498 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8499 New macros.
8500
c75ccd4c
RM
8501 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8502 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8503 rather than -D_IO_MTSAFE_IO conditionally.
8504 * stdio-common/Makefile (CPPFLAGS): Likewise.
8505 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8506 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8507 Use $(libio-mtsafe).
8508 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8509 of -D_IO_MTSAFE_IO.
8510 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8511 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8512 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8513 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8514 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8515 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8516 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8517 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8518 (CFLAGS-fread_u_chk.c): Likewise.
8519 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8520 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8521 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8522 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8523 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8524 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8525 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8526 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8527 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8528
8529 * libio/Makefile: Test [$(libc-reentrant) = yes]
8530 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8531
8532 * Makeconfig
8533 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8534 * sysdeps/pthread/configure: File removed.
8535 * sysdeps/pthread/Makeconfig: New file.
8536 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8537 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8538
d9195db8
GB
85392012-08-16 Gary Benson <gbenson@redhat.com>
8540
8541 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8542 unmapping the first object in a namespace.
8543
86466cd9
RM
85442012-08-16 Roland McGrath <roland@hack.frob.com>
8545
8546 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8547 (__internal_setnetgrent): ... this. Add internal_function to
8548 definition. Add libc_hidden_def.
8549 (setnetgrent): Update caller.
8550 (internal_endnetgrent): Renamed to ...
8551 (__internal_endnetgrent): ... this. Add internal_function to
8552 definition. Add libc_hidden_def.
8553 (endnetgrent): Update caller.
8554 (internal_getnetgrent_r): Renamed to ...
8555 (__internal_getnetgrent_r): ... this. Add internal_function to
8556 definition. Add libc_hidden_def.
8557 (__getnetgrent_r): Update caller.
8558 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8559
c3c8283c
JM
85602012-08-16 Joseph Myers <joseph@codesourcery.com>
8561
8562 * stdlib/longlong.h: Update from GCC.
8563
db1ee0a8
RM
85642012-08-16 Roland McGrath <roland@hack.frob.com>
8565
8566 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8567 on _QL, which is set by umul_ppmm but never used.
8568 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8569 variables, which are set by GMP macros but never used.
8570 * stdio-common/_itowa.c (_itowa): Likewise.
8571 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8572 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8573
30f69637
CD
85742012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8575
8576 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8577 struct La_sh_regs is not constant.
8578 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8579 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8580 and struct La_sparc64_regs are not constant.
8581
93a78ac4
JM
85822012-08-16 Joseph Myers <joseph@codesourcery.com>
8583
8584 * sysdeps/unix/sysv/linux/kernel-features.h
8585 (__ASSUME_POSIX_TIMERS): Remove.
8586 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8587 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8588 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8589 Make code unconditional.
8590 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8591 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8592 Make code unconditional.
8593 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8594 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8595 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8596 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8597 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8598 Make code unconditional.
8599 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8600 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8601 (__libc_missing_posix_timers): Remove.
8602
dd924cd7
RM
86032012-08-15 Roland McGrath <roland@hack.frob.com>
8604
4b4f2771
RM
8605 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8606 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8607
601c888b
RM
8608 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8609
176790a7
RM
8610 * elf/dl-sym.c: Include <stdlib.h>.
8611
329bc018
RM
8612 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8613 constants, which avoids warnings in 32-bit builds.
8614
e04e272d
RM
8615 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8616 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8617
952bf94a
RM
8618 * misc/lseek.c: File moved to ...
8619 * io/lseek.c: ... here.
8620
7c99b50a
RM
8621 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8622
dd924cd7
RM
8623 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8624 shifting LEN more than 31 bits at once.
8625
b3f479a8
LD
86262012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8627
8628 [BZ #14195]
8c4ae0d4
RM
8629 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8630 segmentation fault for a case of two empty input strings.
b3f479a8
LD
8631 * string/test-strncasecmp.c (check1): Renamed to...
8632 (bz12205): ...this.
8633 (bz14195): Add new testcase for two empty input strings and N > 0.
8634 (test_main): Call new testcase, adapt for renamed function.
8635
9c55864e
AJ
86362012-08-15 Andreas Jaeger <aj@suse.de>
8637
8638 [BZ #14090]
8639 * crypt/md5test2.c: New test, based on test supplied by Serge
8640 Belyshev <belyshev@depni.sinp.msu.ru>.
8641 * crypt/Makefile (xtests): Add md5test-giant..
8642 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8643
02dcb6c5
PE
86442012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8645
8646 [BZ #14090]
8647 * crypt/md5.c (md5_process_block): Don't assume the buffer
8648 length is less than 2**32.
8649 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8650 length is less than 2**64.
8651
a3f95dcc
RM
86522012-08-15 Roland McGrath <roland@hack.frob.com>
8653
be75d758
RM
8654 * string/str-two-way.h: Include <sys/param.h>.
8655 (MAX): Macro removed.
8656
7312ca90
RM
8657 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8658 Move #define and #undef of memmove to just before and after
8659 including <string.h>.
8660
9a0a5486
RM
8661 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8662 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8663 and after including <string.h>. Move declarations of
8664 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8665 to before #include "string/memmove.c".
8666
67cc348d
RM
8667 * include/dirent.h: Declare __getdirentries.
8668
a3f95dcc
RM
8669 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8670 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8671
ca98e171
MF
86722012-08-14 Mike Frysinger <vapier@gentoo.org>
8673
8674 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8675 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8676 * sysdeps/i386/configure: Regenerated.
8677 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8678 STABS_CURRENT_FILE, and STABS_FUN.
8679 (END): Remove call to STABS_FUN_END.
8680 (STABS_CURRENT_FILE1): Delete.
8681 (STABS_CURRENT_FILE): Likewise.
8682 (STABS_FUN): Likewise.
8683 (STABS_FUN_END): Likewise.
8684 (STABS_FUN2): Likewise.
8685 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8686 * sysdeps/x86_64/configure: Regenerated.
8687
5908bf46
RM
86882012-08-14 Roland McGrath <roland@hack.frob.com>
8689
8690 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8691 * elf/dl-lookup.c: Likewise.
5908bf46 8692
f2c05b9e
JM
86932012-08-14 Joseph Myers <joseph@codesourcery.com>
8694
8695 * sysdeps/unix/sysv/linux/kernel-features.h
8696 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8697 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8698 unconditionally.
8699 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8700 unconditionally.
8701 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8702 condition on __ASSUME_CLONE_THREAD_FLAGS.
8703
e11f5155
AJ
87042012-08-14 Andreas Jaeger <aj@suse.de>
8705
8706 * sysdeps/i386/fpu/libm-test-ulps: Update.
8707
51a9ba86
MK
87082012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8709
2fdd4f78
AJ
8710 * include/atomic.h (atomic_exchange_and_add): Split into ...
8711 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8712 New atomic macros.
51a9ba86 8713
ba6cba9e
MT
87142012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8715
8716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8717
42443a47
JL
87182012-08-13 Jeff Law <law@redhat.com>
8719
8720 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8721 null byte in the output string.
8722
121dce05
JM
87232012-08-10 Joseph Myers <joseph@codesourcery.com>
8724
8725 * sysdeps/unix/sysv/linux/kernel-features.h
8726 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8727 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8728 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8729 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8730 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8731 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8732 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8733
bf51f568
JL
87342012-08-09 Jeff Law <law@redhat.com>
8735
8736 [BZ #13939]
8737 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8738 When avoid_arena is set, don't retry in the that arena. Pick the
8739 next one, whatever it might be.
8740 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8741 (arena_lock): Pass in new parameter to arena_get2.
8742 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8743 arena_get2.
8744 (__libc_malloc): Unify retrying after main arena failure with
8745 __libc_memalign version.
8746 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8747
f85fa270
L
87482012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8749
8750 [BZ #14166]
8751 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8752 to __redirect_strstr.
8753 (__strstr_sse42): Use typeof __redirect_strstr.
8754 (__strstr_ia32): Likewise.
8755 (__libc_strstr): New prototype.
8756 (strstr): Renamed to ...
8757 (__libc_strstr): This.
8758 (strstr): New strong alias of __libc_strstr.
8759 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8760 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8761 __redirect_time.
8762 Include <time.h>.
8763 (__libc_time): New prototype.
8764 (time_ifunc): Replace time with __libc_time.
8765 (time): New strong alias and hidden definition of __libc_time.
8766 (__GI_time): Remove strong alias.
8767 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8768 Include <stddef.h>.
8769 (memmove): Redefined to __redirect_memmove.
8770 (__memmove_sse2): Use typeof __redirect_memmove.
8771 (__memmove_ssse3): Likewise.
8772 (__memmove_ssse3_back): Likewise.
8773 (__libc_memmove): New prototype.
8774 (memmove): Renamed to ...
8775 (__libc_memmove): This.
8776 (memmove): New strong alias of __libc_memmove.
8777
33b4a91e
MS
87782012-08-08 Mark Salter <msalter@redhat.com>
8779
8780 * elf/elf.h
8781 (R_MN10300_TLS_GD): Define.
8782 (R_MN10300_TLS_LD): Likewise.
8783 (R_MN10300_TLS_LDO): Likewise.
8784 (R_MN10300_TLS_GOTIE): Likewise.
8785 (R_MN10300_TLS_IE): Likewise.
8786 (R_MN10300_TLS_LE): Likewise.
8787 (R_MN10300_TLS_DTPMOD): Likewise.
8788 (R_MN10300_TLS_DTPOFF): Likewise.
8789 (R_MN10300_TLS_TPOFF): Likewise.
8790 (R_MN10300_SYM_DIFF): Likewise.
8791 (R_MN10300_ALIGN): Likewise.
8792 (R_MN10300_NUM): Update.
8793
b36137f1
JM
87942012-08-08 Joseph Myers <joseph@codesourcery.com>
8795
8796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8797 Remove.
8798
cdd915fd
RM
87992012-08-08 Roland McGrath <roland@hack.frob.com>
8800
a2433aac
RM
8801 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8802
cdd915fd
RM
8803 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8804 sysdeps/unix -> sysdeps/posix move.
8805 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8806
bf9b740a
AM
88072012-08-07 Allan McRae <allan@archlinux.org>
8808
8809 [BZ #14303]
8810 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8811 (SUNOS_CPP): Likewise.
8812 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8813 not found.
8814 (open_input): Call CPP using execvp.
8815
93df14ee
JM
88162012-08-07 Joseph Myers <joseph@codesourcery.com>
8817
8818 * sysdeps/unix/sysv/linux/kernel-features.h
8819 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8820 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8821 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8822 (__ASSUME_WAITID_SYSCALL): Likewise.
8823 * sysdeps/unix/sysv/linux/dl-execstack.c
8824 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8825 code unconditional.
8826 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8827 conditional code.
8828 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8829 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8830 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8831 code.
8832 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8833 unconditional.
8834 [__ASSUME_WAITID_SYSCALL]: Likewise.
8835 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8836
d34689de
RM
88372012-08-07 Roland McGrath <roland@hack.frob.com>
8838
a281decc
RM
8839 * sysdeps/unix/closedir.c: Renamed to ...
8840 * sysdeps/posix/closedir.c: ... here.
8841 * sysdeps/unix/dirfd.c: Renamed to ...
8842 * sysdeps/posix/dirfd.c: ... here.
8843 * sysdeps/unix/dirstream.h: Renamed to ...
8844 * sysdeps/posix/dirstream.h: ... here.
8845 * sysdeps/unix/fdopendir.c: Renamed to ...
8846 * sysdeps/posix/fdopendir.c: ... here.
8847 * sysdeps/unix/opendir.c: Renamed to ...
8848 * sysdeps/posix/opendir.c: ... here.
8849 * sysdeps/unix/readdir.c: Renamed to ...
8850 * sysdeps/posix/readdir.c: ... here.
8851 * sysdeps/unix/readdir_r.c: Renamed to ...
8852 * sysdeps/posix/readdir_r.c: ... here.
8853 * sysdeps/unix/rewinddir.c: Renamed to ...
8854 * sysdeps/posix/rewinddir.c: ... here.
8855 * sysdeps/unix/seekdir.c: Renamed to ...
8856 * sysdeps/posix/seekdir.c: ... here.
8857 * sysdeps/unix/telldir.c: Renamed to ...
8858 * sysdeps/posix/telldir.c: ... here.
8859 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8860 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8861 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8862 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8863
22895b47
RM
8864 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8865 * bits/fcntl.h: ... here.
8866
707a53b6
RM
8867 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8868 not 0.
8869 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8870 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8871 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8872 (struct flock): Move l_start, l_len to the beginning.
8873 Use __pid_t for l_pid.
8874 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8875 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8876 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8877 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8878 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8879 [__USE_LARGEFILE64] (struct flock64): New type.
8880 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8881
f0bd3e25
RM
8882 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8883 * bits/dirent.h: ... here.
8884
d34689de
RM
8885 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8886 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8887
6dad2c06
JM
88882012-08-07 Joseph Myers <joseph@codesourcery.com>
8889
8890 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8891 Change from 2.6.0 to 2.6.16.
8892 * sysdeps/unix/sysv/linux/configure: Regenerated.
8893 * sysdeps/unix/sysv/linux/kernel-features.h
8894 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8895 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8896 version.
8897 (__ASSUME_UTIMES): Likewise.
8898 (__ASSUME_CLONE_STOPPED): Remove.
8899 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8900 architectures, not kernel version.
8901 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8902 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8903 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8904 (__ASSUME_WAITID_SYSCALL): Likewise.
8905 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8906 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8907 * README: State 2.6.16 as minimum Linux kernel version. Do not
8908 refer to older versions.
8909
03af9520
RM
89102012-08-06 Roland McGrath <roland@hack.frob.com>
8911
8e49df1d
RM
8912 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8913 Define alphasort64 as an alias.
8914 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8915 Define versionsort64 as an alias.
8916 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8917 Define scandir64 as an alias.
8918 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8919 Define scandirat64 as an alias.
8920 * dirent/alphasort64.c (alphasort64):
8921 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8922 * dirent/versionsort64.c: Likewise.
8923 * dirent/scandir64.c: Likewise.
8924 * dirent/scandirat64.c: Likewise.
8925 * sysdeps/wordsize-64/alphasort.c: File removed.
8926 * sysdeps/wordsize-64/alphasort64.c: File removed.
8927 * sysdeps/wordsize-64/scandir.c: File removed.
8928 * sysdeps/wordsize-64/scandir64.c: File removed.
8929 * sysdeps/wordsize-64/scandirat.c: File removed.
8930 * sysdeps/wordsize-64/scandirat64.c: File removed.
8931 * sysdeps/wordsize-64/versionsort.c: File removed.
8932 * sysdeps/wordsize-64/versionsort64.c: File removed.
8933 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8934 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8935 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8936 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8937 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8938 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8939 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8940 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8941
8942 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8943 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8944 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8945 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8946 [defined __arch64__ || defined __sparcv9]
8947 (__INO_T_MATCHES_INO64_T): New macro.
8948 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8949 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8950 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8951 * sysdeps/unix/sysv/linux/bits/dirent.h
8952 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8953 (_DIRENT_MATCHES_DIRENT64): New macro.
8954
03af9520
RM
8955 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8956 Define lockf64 as an alias.
8957 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8958 Define fseeko64 as an alias.
8959 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8960 Define ftello64 as an alias.
8961 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8962 Define _IO_fgetpos64 and fgetpos64 as aliases.
8963 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8964 Define _IO_fsetpos64 and fsetpos64 as aliases.
8965 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8966 Conditionalize body on this.
8967 * libio/fseeko64.c: Likewise.
8968 * libio/ftello64.c: Likewise.
8969 * libio/iofgetpos64.c: Likewise.
8970 * libio/iofsetpos64.c: Likewise.
8971 * sysdeps/wordsize-64/lockf.c: File removed.
8972 * sysdeps/wordsize-64/lockf64.c: File removed.
8973 * sysdeps/wordsize-64/fseeko.c: File removed.
8974 * sysdeps/wordsize-64/fseeko64.c: File removed.
8975 * sysdeps/wordsize-64/ftello.c: File removed.
8976 * sysdeps/wordsize-64/ftello64.c: File removed.
8977 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8978 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8979 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8980 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8981 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8982 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8983 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8984 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8985 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8986 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8987 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8989 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8990 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8991
8992 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8994 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8996 [defined __arch64__ || defined __sparcv9]
8997 (__OFF_T_MATCHES_OFF64_T): New macro.
8998 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8999 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9000 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9001 (__OFF_T_MATCHES_OFF64_T): New macro.
9002
c5757acd
L
90032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9004
9005 * stdlib/secure-getenv.c (__secure_getenv): Replace
9006 GLIBC_2_16 with GLIBC_2_17.
9007
3a31811e
L
90082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9011 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9012
faa2bccb
DM
90132012-08-03 David S. Miller <davem@davemloft.net>
9014
9015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9016
85fe1997
JM
90172012-08-03 Joseph Myers <joseph@codesourcery.com>
9018
9019 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9020 Remove.
9021 (__ASSUME_CORRECT_SI_PID): Likewise.
9022 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9023 (__ASSUME_TMPFS_NAME): Likewise.
9024 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9025 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9026 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9027 (HAVE_AUX_SECURE): Make definition unconditional.
9028 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9029 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9030
4f75b7a0
RM
90312012-08-03 Roland McGrath <roland@hack.frob.com>
9032
9033 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9034 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9035 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9036 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9037 __eloop_threshold instead of SYMLOOP_MAX.
9038
9039 * sysdeps/generic/eloop-threshold.h: New file.
9040 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9041 of MAXSYMLINKS.
9042 * elf/chroot_canon.c (chroot_canon): Likewise.
9043
7aab07e4
JM
90442012-08-03 Joseph Myers <joseph@codesourcery.com>
9045
9046 [BZ #13717]
9047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9048 Change to 2.6.0 everywhere.
9049 * sysdeps/unix/sysv/linux/configure: Regenerated.
9050 * sysdeps/unix/sysv/linux/kernel-features.h
9051 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9052 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9053 kernel versions.
9054 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9055 (__ASSUME_FUTEX_REQUEUE): Remove.
9056 (__ASSUME_STATFS64): Define unconditionally.
9057 (__ASSUME_AT_SECURE): Likewise.
9058 (__ASSUME_CORRECT_SI_PID): Likewise.
9059 (__ASSUME_TGKILL): Define without depending on kernel version for
9060 i386.
9061 (__ASSUME_UTIMES): Likewise.
9062 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9063 kernel version.
9064 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9065 (__ASSUME_TMPFS_NAME): Likewise.
9066 * README: Update reference to Linux kernel versions.
9067
b67e9372
MP
90682012-08-02 Marek Polacek <polacek@redhat.com>
9069
1f529f7d 9070 [BZ# 14150]
b67e9372
MP
9071 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9072 libc_cv_asm_type_prefix with %.
9073 * configure: Regenerated.
d2441631
RM
9074 * include/libc-symbols.h: Remove comment about
9075 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9076 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9077 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9078 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9079 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9080 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9081 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9082 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9083 * elf/tst-unique2mod1.c: Likewise.
9084 * elf/tst-unique1mod2.c: Likewise.
9085 * elf/tst-unique1mod1.c: Likewise.
9086 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9087 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9088 Replace ASM_TYPE_DIRECTIVE with .type.
9089 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9090 * sysdeps/i386/sysdep.h: Likewise.
9091 * sysdeps/x86_64/sysdep.h: Likewise.
9092 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9094 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9095 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9096 * sysdeps/powerpc/powerpc32/sysdep.h:
9097 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9098 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9099 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9100 * sysdeps/i386/fpu/e_powf.S: Likewise.
9101 * sysdeps/i386/fpu/e_expl.S: Likewise.
9102 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9103 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9104 * sysdeps/i386/fpu/e_pow.S: Likewise.
9105 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9106 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9107 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9108 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9109 * sysdeps/i386/fpu/e_log2.S: Likewise.
9110 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9111 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9112 * sysdeps/i386/fpu/e_powl.S: Likewise.
9113 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9114 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9115 * sysdeps/i386/fpu/e_logl.S: Likewise.
9116 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9117 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9118 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9119 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9120 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9121 * sysdeps/i386/fpu/e_log.S: Likewise.
9122 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9123 * sysdeps/i386/fpu/e_logf.S: Likewise.
9124 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9125 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9126 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9127 * sysdeps/i386/fpu/e_log10.S: Likewise.
9128 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9129 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9130 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9131 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9132 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9133 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9134 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9135 * sysdeps/i386/i686/strtok.S: Likewise.
9136 * sysdeps/i386/i386-mcount.S: Likewise.
9137 * sysdeps/i386/strtok.S: Likewise.
9138 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9139 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9140 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9141 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9142 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9143 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9144 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9145 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9146 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9147 * sysdeps/x86_64/_mcount.S: Likewise.
9148 * sysdeps/x86_64/strtok.S: Likewise.
9149 * sysdeps/sh/_mcount.S: Likewise.
9150
2747bf9a
RM
91512012-08-01 Roland McGrath <roland@hack.frob.com>
9152
9153 * libio/iofopen.c: Include <fcntl.h>.
9154 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9155 (_IO_fopen64, fopen64): Define as aliases.
9156 * libio/iofopen64.c: Include <fcntl.h>.
9157 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9158 Conditionalize body on this.
9159 * sysdeps/wordsize-64/iofopen.c: File removed.
9160 * sysdeps/wordsize-64/iofopen64.c: File removed.
9161
3fb791b8
MP
91622012-08-01 Marek Polacek <polacek@redhat.com>
9163
9164 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9165 Use dlfcn directly instead of a variable.
9166 (binfmt-subdir): Do not define.
9167 (dlfcn): Likewise.
9168
a9f1039f
JM
91692012-08-01 Joseph Myers <joseph@codesourcery.com>
9170
23bddc06
JM
9171 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9172 Remove all definitions.
9173 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9174 <kernel-features.h>.
9175 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9176 (miss_F_GETOWN_EX): Remove all definitions.
9177 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9178 macro definition.
9179 [!__ASSUME_FCNTL64]: Remove conditional code.
9180 [__ASSUME_FCNTL64]: Make code unconditional.
9181 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9182 <kernel-features.h>.
9183 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9184 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9185 (lockf64) [__NR_fcntl64]: Make code unconditional.
9186 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9187
a9f1039f
JM
9188 * sysdeps/unix/sysv/linux/kernel-features.h
9189 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9190 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9191 Make code unconditional.
9192 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9193 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9195 [__NR_vfork]: Make code unconditional.
9196 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9197 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9199 [__NR_vfork]: Make code unconditional.
9200 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9201 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9202
09c0ee5f
RM
92032012-08-01 Roland McGrath <roland@hack.frob.com>
9204
48aec5b9
RM
9205 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9206 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9207
cd97c966
RM
9208 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9209 Define mkstemp64 as an alias.
3f55550c
RM
9210 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9211 Define mkstemps64 as an alias.
cd97c966
RM
9212 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9213 Define mkostemp64 as an alias.
b8625cfc
RM
9214 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9215 Define mkostemps64 as an alias.
cd97c966
RM
9216 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9217 Conditionalize body on this.
9218 * misc/mkostemp64.c: Likewise.
b8625cfc 9219 * misc/mkostemps64.c: Likewise.
3f55550c 9220 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9221 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9222 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9223 * sysdeps/wordsize-64/mkostemp.c: File removed.
9224 * sysdeps/wordsize-64/mkstemp.c: File removed.
9225 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9226 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9227 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9228 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9229
09c0ee5f
RM
9230 [BZ #14138]
9231 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9232 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9233 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9234 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9235
9236 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9237 compat_symbol macros from <shlib-compat.h> rather than the underlying
9238 default_symbol_version and symbol_version macros, so that DEFAULT
9239 lines in shlib-versions are respected.
9240 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9241
7e66ee51
FW
92422012-08-01 Florian Weimer <fweimer@redhat.com>
9243
9244 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9245 Declare with warn_unused_result.
9246 (setgid, setregid, setegid, setresgid): Likewise.
9247 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9248 Likewise.
9249 * WUR-REPORT: Remove set*id functions.
9250
d2a54255
PT
92512012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9252
9253 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9254
7ecdb005
RM
92552012-07-31 Roland McGrath <roland@hack.frob.com>
9256
789bd351
RM
9257 * include/sys/socket.h (__libc_accept, __libc_accept4):
9258 Add attribute_hidden.
9259 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9260
40ce302d
RM
9261 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9262 use of PTR_MANGLE.
9263 * inet/getnetgrent_r.c (setup): Likewise.
9264
7ecdb005
RM
9265 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9266
e2eabb2c
DM
92672012-07-31 David S. Miller <davem@davemloft.net>
9268
9269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9270
d0419dbf
JM
92712012-07-31 Joseph Myers <joseph@codesourcery.com>
9272
9273 [BZ #13629]
9274 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9275 value between 1.0 and 2.0 and smaller part has absolute value less
9276 than 1.0.
9277 * math/s_clog10.c (__clog10): Likewise.
9278 * math/s_clog10f.c (__clog10f): Likewise.
9279 * math/s_clog10l.c (__clog10l): Likewise.
9280 * math/s_clogf.c (__clogf): Likewise.
9281 * math/s_clogl.c (__clogl): Likewise.
9282 * math/libm-test.inc (clog_test): Add more tests.
9283 (clog10_test): Likewise.
9284 * sysdeps/i386/fpu/libm-test-ulps: Update.
9285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9286
2bc13872
FW
92872012-07-31 Florian Weimer <fweimer@redhat.com>
9288
9289 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9290 Exit with zero in case no suitable GID is found, and write a
9291 message to standard error.
9292
bea9b193
RM
92932012-07-30 Roland McGrath <roland@hack.frob.com>
9294
9295 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9296 rather than to 1.
9297 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9298 (MAXPATHLEN): Removed.
9299 (NOGROUP, NODEV): New macros.
9300 (setbit, clrbit, isset, isclr): New macros.
9301 (howmany, roundup, powerof2): New macros.
9302 (DEV_BSIZE): New macro.
9303
9304 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9305 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9306
9307 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9308 definition on [!__NO_LONG_DOUBLE_MATH].
9309
9310 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9311 PTR_MANGLE and PTR_DEMANGLE.
9312
9313 * socket/accept4.c (accept4): Rename to __libc_accept4.
9314 Define accept4 as a weak alias.
9315
9316 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9317 on [_DIRENT_HAVE_D_TYPE].
9318 * io/ftw.c (ftw_dir): Likewise.
9319
9320 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9321
9322 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9323
9324 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9325 Use the BSD numbers rather than the arbitrary ones we had.
9326 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9327 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9328 (SIGXCPU, SIGXFSZ): New macros.
9329 (_NSIG): Now 32.
9330
9331 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9332 initializer on [_LIBC_REENTRANT].
9333
9334 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9335 definitions inside [_POSIX_MAPPED_FILES].
9336
9337 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9338
9339 * dirent/opendir.c: Include <fcntl.h>.
9340
9341 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9342 (__libc_getspecific): Likewise.
9343 (__libc_key_create): Likewise.
9344
9345 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9346 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9347 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9348 (tmpfile64): Define as alias.
9349 * sysdeps/wordsize-64/tmpfile.c: File removed.
9350 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9351 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9352 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9353
9354 * stdio-common/vfscanf.c: Include <stdbool.h>.
9355 * nss/makedb.c: Likewise.
9356 * stdio-common/_i18n_number.h: Likewise.
9357 * argp/argp-help.c: Likewise.
9358 * posix/wordexp.c: Likewise.
9359 * sysdeps/posix/spawni.c: Likewise.
9360 * nss/nss_files/files-initgroups.c: Likewise.
9361 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9362 * nss/nss_files/files-initgroups.c: Likewise.
9363 * nss/nss_db/db-netgrp.c: Likewise.
9364 * nss/nss_db/db-initgroups.c: Likewise.
9365 * io/fchmodat.c: Include <sys/stat.h>.
9366
9367 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9368 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9369
9370 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9371 [HAVE_MMAP].
9372
9373 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9374 Add multiple inclusion protection.
9375
e5abc686
DM
93762012-07-27 David S. Miller <davem@davemloft.net>
9377
9378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9379
815e6fa3
GB
93802012-07-27 Gary Benson <gbenson@redhat.com>
9381
9382 [BZ #14298]
9383 * elf/rtld.c: Include <stap-probe.h>.
9384 (dl_main): Added static probes "init_start" and "init_complete".
9385 * elf/dl-load.c: Include <stap-probe.h>.
9386 (lose): Take new parameter "nsid".
9387 Added static probe "map_failed".
9388 (_dl_map_object_from_fd): Pass namespace id to lose.
9389 Added static probe "map_start".
9390 (open_verify): Pass namespace id to lose.
9391 * elf/dl-open.c: Include <stap-probe.h>.
9392 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9393 and "reloc_complete".
9394 * elf/dl-close.c: Include <stap-probe.h>.
9395 (_dl_close_worker): Added static probes "unmap_start" and
9396 "unmap_complete".
9397 * elf/rtld-debugger-interface.txt: New file documenting the above.
9398
9f98c16c
RM
93992012-07-26 Roland McGrath <roland@hack.frob.com>
9400
9401 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9402 rather than a string variable.
9403 * sunrpc/rpc_main.c (h_output): Likewise.
9404 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9405
f3c22df3
PT
94062012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9407
9408 * inet/check_native.c: New file.
9409
3129cfc6
JM
94102012-07-26 Joseph Myers <joseph@codesourcery.com>
9411
da865e95
JM
9412 [BZ #13629]
9413 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9414 if larger part has absolute value 1.0.
9415 * math/s_clog10.c (__clog10): Likewise.
9416 * math/s_clog10f.c (__clog10f): Likewise.
9417 * math/s_clog10l.c (__clog10l): Likewise.
9418 * math/s_clogf.c (__clogf): Likewise.
9419 * math/s_clogl.c (__clogl): Likewise.
9420 * math/libm-test.inc (clog_test): Add more tests.
9421 (clog10_test): Likewise.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9424
3129cfc6
JM
9425 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9426 (pltexit): Likewise.
9427 (La_regs): Likewise.
9428 (La_retval): Likewise.
9429 (int_retval): Likewise.
9430 Update #error for removed macros to refer only to definitions in
9431 tst-audit.h.
9432 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9433 macro.
9434 (pltexit): Likewise.
9435 (La_regs): Likewise.
9436 (La_retval): Likewise.
9437 (int_retval): Likewise.
9438 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9439 macro.
9440 (pltexit): Likewise.
9441 (La_regs): Likewise.
9442 (La_retval): Likewise.
9443 (int_retval): Likewise.
9444 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9445 macro.
9446 (pltexit): Likewise.
9447 (La_regs): Likewise.
9448 (La_retval): Likewise.
9449 (int_retval): Likewise.
9450 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9451 macro.
9452 (pltexit): Likewise.
9453 (La_regs): Likewise.
9454 (La_retval): Likewise.
9455 (int_retval): Likewise.
9456 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9457 macro.
9458 (pltexit): Likewise.
9459 (La_regs): Likewise.
9460 (La_retval): Likewise.
9461 (int_retval): Likewise.
9462 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9463 macro.
9464 (pltexit): Likewise.
9465 (La_regs): Likewise.
9466 (La_retval): Likewise.
9467 (int_retval): Likewise.
9468 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9469 macro definitions in tst-audit.h.
9470 * sysdeps/i386/tst-audit.h: New file.
9471 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9472 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9473 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9474 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9475 * sysdeps/sh/tst-audit.h: Likewise.
9476 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9477 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9478 * sysdeps/x86_64/tst-audit.h: Likewise.
9479
bfc07087
AJ
94802012-07-26 Andreas Jaeger <aj@suse.de>
9481
b1b2aaf8
AJ
9482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9483 ptrace.
9484
9485 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9486 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9487 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9488 PTRACE_O_MASK.
9489 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9490 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9491 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9492
bfc07087
AJ
9493 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9494 value.
9495
9496 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9497 _sigsys.
9498 (si_call_addr, si_syscall, si_arch): Define new macro.
9499 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9500 _sigsys.
9501 (si_call_addr, si_syscall, si_arch): Define new marcro.
9502 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9503 _sigsys.
9504 (si_call_addr, si_syscall, si_arch): Define new macro.
9505 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9506 _sigsys.
9507 (si_call_addr, si_syscall, si_arch): Define new macro.
9508
89b4b02f
JM
95092012-07-25 Joseph Myers <joseph@codesourcery.com>
9510
9511 [BZ #13717]
9512 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9513 Change to 2.4.21 where previously 2.4.1.
9514 * sysdeps/unix/sysv/linux/configure: Regenerated.
9515 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9516 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9517 Linux kernel version.
9518 (__ASSUME_STD_AUXV): Remove.
9519 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9520 kernel version.
9521 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9522 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9523 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9524 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9525 (__ASSUME_NETLINK_SUPPORT): Likewise.
9526 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9527 (__no_netlink_support): Remove conditional definition.
9528 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9529 Remove.
9530 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9531 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9532 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9533 (if_nameindex_ioctl): Remove.
9534 (if_nameindex_netlink): Do not handle __no_netlink_support.
9535 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9536 code.
9537 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9538 Remove conditional code.
9539 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9540 code.
9541 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9542 unconditional.
9543 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9544 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9545 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9546 Remove.
9547 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9548 [!__ASSUME_STD_AUXV]: Remove conditional code.
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9550 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9551 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9553 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9554 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9555 code.
9556 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9558 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9559 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9560 conditional code.
9561 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9563 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9564 code.
9565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9566 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9567 conditional code.
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9569 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9570 code unconditional.
9571 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9572 conditional code.
9573 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9574 unconditional.
9575 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9576 conditional code.
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9578 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9579 unconditional.
9580 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9581 conditional code.
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9583 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9584 code unconditional.
9585 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9586 conditional code.
9587 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9588 unconditional.
9589 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9590 conditional code.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9592 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9593 code unconditional.
9594 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9595 conditional code.
9596 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9597 unconditional.
9598 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9599 conditional code.
9600
842a39cd
AS
96012012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9602
9603 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9604 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9605 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9606 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9607 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9608 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9609 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9610 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9611 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9612 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9613 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9614 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9615 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9616 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9617 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9618 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9619 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9620 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9621 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9623 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9624 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9625 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9626
84b3fd84
FW
96272012-07-25 Florian Weimer <fweimer@redhat.com>
9628
9629 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
9630 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9631 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9632 Introduce __libc_secure_getenv.
0c7936d5
FW
9633 * stdlib/Versions (2.17): Add secure_getenv
9634 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9635 * stdlib/secure-getenv.c: Rename __secure_getenv to
9636 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9637 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
9638 * stdlib/tst-secure-getenv.c: New.
9639 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
9640 * manual/startup.texi (Environment Access): Document
9641 secure_getenv.
84b3fd84
FW
9642 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9643 __libc_secure_getenv.
9644 * inet/ruserpass.c (ruserpass): Likewise.
9645 * malloc/mtrace.c (mtrace): Likewise.
9646 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 9647 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
9648 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9649 * sysdeps/posix/tempname.c: Likewise. Evaluate
9650 HAVE_SECURE_GETENV.
9651 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 9652 __secure_getenv to __libc_secure_getenv.
84b3fd84 9653 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9655 Likewise.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9657 Likewise.
9658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 9665
56e49b71
JM
96662012-07-25 Joseph Myers <joseph@codesourcery.com>
9667
9668 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9669 (struct La_i86_retval): Likewise.
9670 (struct La_x86_64_regs): Likewise.
9671 (struct La_x86_64_retval): Likewise.
9672 (struct La_x32_regs): Likewise.
9673 (struct La_x32_retval): Likewise.
9674 (struct La_ppc32_regs): Likewise.
9675 (struct La_ppc32_retval): Likewise.
9676 (struct La_ppc64_regs): Likewise.
9677 (struct La_ppc64_retval): Likewise.
9678 (struct La_sh_regs): Likewise.
9679 (struct La_sh_retval): Likewise.
9680 (struct La_s390_32_regs): Likewise.
9681 (struct La_s390_32_retval): Likewise.
9682 (struct La_s390_64_regs): Likewise.
9683 (struct La_s390_64_retval): Likewise.
9684 (struct La_sparc32_regs): Likewise.
9685 (struct La_sparc32_retval): Likewise.
9686 (struct La_sparc64_regs): Likewise.
9687 (struct La_sparc64_retval): Likewise.
9688 (struct audit_ifaces): Remove architecture-specific pltenter and
9689 pltexit members.
9690 * sysdeps/i386/ldsodefs.h: New file.
9691 * sysdeps/powerpc/ldsodefs.h: Likewise.
9692 * sysdeps/s390/ldsodefs.h: Likewise.
9693 * sysdeps/sh/ldsodefs.h: Likewise.
9694 * sysdeps/sparc/ldsodefs.h: Likewise.
9695 * sysdeps/x86_64/ldsodefs.h: Likewise.
9696
354691b7
MP
96972012-07-25 Marek Polacek <polacek@redhat.com>
9698
9699 [BZ #6808]
9700 * math/libm-test.inc (yn_test): Add another test.
9701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9702 to ERANGE when the result is +-Inf.
9703 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9704 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9705 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9706 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9707
bf9e2071
JM
97082012-07-24 Joseph Myers <joseph@codesourcery.com>
9709
9710 * conform/data/time.h-data (NULL): Use macro-constant. Require
9711 equal to 0.
9712 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9713 clock_t.
9714 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9715
57633811
TS
97162012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9717
9718 * configure.in <sysdeps resolving>: Correct printing
9719 Implies_before.
9720 * configure: Regenerate.
9721
c23c33b0
TS
97222012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9723
9724 * math/w_ilogb.c: Include <limits.h>.
9725 * math/w_ilogbl.c: Likewise.
9726
b5982523
JM
97272012-07-20 Joseph Myers <joseph@codesourcery.com>
9728
9729 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9730 va_copy. Document allowing for unavailable va_copy only as
9731 pre-C99 compatibility.
9732 * manual/string.texi (Copying and Concatenation): Use va_copy
9733 instead of __va_copy in concat example.
9734
ac4ea442
PT
97352012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9736
9737 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9738 (__sendto): Use create_address_port. Initialize APORT and deallocate
9739 it if not null.
9740
f98eafbd
PT
9741 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9742 with O_NOLINK passed to __file_name_lookup.
9743
898c7aab
PT
9744 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9745 with O_NOLINK passed to __file_name_lookup.
9746
0ced335a
PT
9747 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9748 negative N or less than NGIDS.
9749
b3404dbd
PT
9750 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9751 type to string_t. Set ERANGE as errno and return it if NAME is not big
9752 enough. Use memcpy instead of strncpy.
9753
0f48659e
JM
97542012-07-20 Joseph Myers <joseph@codesourcery.com>
9755
9756 * elf/Makefile (check-data): Remove.
9757 (localplt.data): New vpath directive.
9758 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9759 instead of $(check-data).
9760 * scripts/data/localplt-generic.data: Move to ...
9761 * sysdeps/generic/localplt.data: ... here.
9762 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9763 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9764 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9766 ... here.
9767 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9769 ... here.
9770 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9772 ... here.
9773 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9775 ... here.
9776 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9778 ... here.
9779 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9781 ... here.
9782
d37cbdaa
AZ
97832012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9784
9785 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9786 PPC32 and PPC64 files.
9787 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9788 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9789
46f85fc2
AK
97902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9791
9792 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9793 __makecontext_ret to ...
9794 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9795 ... here and call exit if uc_link is NULL. New file.
9796 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9797 __makecontext_ret.S.
9798 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9799 __makecontext_ret to ...
9800 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9801 ... here and call exit if uc_link is NULL. New file.
9802 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9803 __makecontext_ret.S.
9804
08f43f9b
AK
98052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9806
9807 * elf/elf.h (R_390_IRELATIVE): New definition.
9808 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9809 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9810 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9811 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9812 (elf_machine_lazy_rel): Likewise.
9813 * sysdeps/s390/dl-irel.h: New file.
9814 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9815 * sysdeps/s390/s390-64/memset.S: New asm code.
9816 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9817 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9818 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9819 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9820 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9821 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9822 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9823 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9824 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9825 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9826 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9827 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9828 * sysdeps/s390/s390-32/memset.S: New asm code.
9829 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9830
3b05db33
MP
98312012-07-17 Marek Polacek <polacek@redhat.com>
9832
9833 [BZ #14349]
9834 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9835 * sysdeps/s390/s390-64/configure.in: Likewise.
9836 * sysdeps/sparc/configure.in: Likewise.
9837 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9838 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9839 * sysdeps/i386/configure.in: Likewise.
9840 * sysdeps/x86_64/configure.in: Likewise.
9841 * sysdeps/sh/configure.in: Likewise.
9842 * sysdeps/s390/s390-32/configure: Regenerated.
9843 * sysdeps/s390/s390-64/configure: Likewise.
9844 * sysdeps/x86_64/configure: Likewise.
9845 * sysdeps/sh/configure: Likewise.
9846 * sysdeps/powerpc/powerpc64/configure: Likewise.
9847 * sysdeps/powerpc/powerpc32/configure: Likewise.
9848 * sysdeps/sparc/configure: Likwise.
9849 * sysdeps/i386/configure: Likewise.
9850
a66877c6
MP
9851 * elf/dl-open.c: Comment fixes.
9852
cfc82fd8
JM
98532012-07-17 Joseph Myers <joseph@codesourcery.com>
9854
bd29910a
JM
9855 * Makefile [CXX] (check-data): Remove.
9856 [CXX] (c++-types.data): New vpath directive.
9857 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9858 vpath. Do not allow for C++ type data being missing.
9859 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9860 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9861 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9862 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9863 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9864 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9865 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9867 ... here.
9868 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9870 ... here.
9871 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9873 ... here.
9874 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9876 ... here.
9877 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9879 ... here.
9880 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9882 ... here.
9883 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9885 ... here.
9886 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9888
cfc82fd8
JM
9889 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9890 definitions to architecture-specific files.
9891 (TLS_IE): Likewise.
9892 (TLS_LD): Likewise.
9893 (TLS_GD): Likewise.
9894 * sysdeps/i386/tls-macros.h: New file.
9895 * sysdeps/powerpc/tls-macros.h: Likewise.
9896 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9897 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9898 * sysdeps/sh/tls-macros.h: Likewise.
9899 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9900 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9901 * sysdeps/x86_64/tls-macros.h: Likewise.
9902
f7db3170
TS
99032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9904
07cbfc23
TS
9905 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9906 zero value for regular exit case.
9907
f7db3170
TS
9908 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9909 (__start_context): Preserve zero value for regular exit case.
9910
dc97c227
TS
99112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9912 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9913
9914 * manual/setjmp.texi (setcontext): Clarify normal process
9915 termination when uc_link is the null pointer.
9916 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9917 exit call.
9918
d0cd7d02
AS
99192012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9920
9921 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9922 preprocessor. Test for each exception mask separately.
9923
dd318934
AJ
99242012-07-16 Andreas Jaeger <aj@suse.de>
9925
9926 * po/ru.po: Update from translation team.
9927
8048311a
JM
99282012-07-15 Joseph Myers <joseph@codesourcery.com>
9929
9930 * conform/data/string.h-data (NULL): Use macro-constant. Require
9931 equal to 0.
9932 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9933 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9934 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9935 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9936 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9937
b637d46e
AJ
99382012-07-13 Andreas Jaeger <aj@suse.de>
9939
9940 * po/fr.po: Update from translation team.
9941
541428fe
MP
99422012-07-12 Marek Polacek <polacek@redhat.com>
9943
9944 [BZ #14173]
9945 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9946 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9947 loop condition.
9948
ec332e94
JM
99492012-07-12 Joseph Myers <joseph@codesourcery.com>
9950
9951 [BZ #13717]
9952 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9953 Change to 2.4.1 where previously 2.4.0.
9954 * sysdeps/unix/sysv/linux/configure: Regenerated.
9955 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9956 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9957 version.
9958 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9959 (__ASSUME_AT_CLKTCK): Remove.
9960 (__ASSUME_AT_PAGESIZE): Likewise.
9961 (__ASSUME_AT_XID): Likewise.
9962 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9963 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9964 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9965 unconditionally.
9966 (HAVE_AUX_PAGESIZE): Likewise.
9967 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9968 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9969 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9970
7b6e99be
JB
99712012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9972
9973 [BZ #14307]
9974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9975 the temporary buffer used to invoke __gethostbyname2_r,
9976 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9977 host_data / struct gaih_addrtuple.
9978 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9979 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9980 header file nss/nsswitch.h.
9981 * nss/nsswitch.h (global scope): Add definition of implementation
9982 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9983 resolv/nss_dns/dns-host.c).
9984
608404eb
AJ
99852012-07-11 Andreas Jaeger <aj@suse.de>
9986
9987 * po/fr.po: Update from translation team.
9988
71220aca
AJ
9989 * po/sv.po: Update from translation team
9990 * po/fr.po: Another update from translation team.
9991
28cfe843
AZ
99922012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993
9994 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9995 for subnormals or multiply small sinh result by itself.
9996 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9998
6b90f981
DM
99992012-07-11 David S. Miller <davem@davemloft.net>
10000
10001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10002
c6825772
AS
100032012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10004
10005 [BZ #14347]
10006 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10007 (INTERNAL_MARK): Shift it here.
10008
7b8e0d49
MP
100092012-07-10 Marek Polacek <polacek@redhat.com>
10010
10011 [BZ #14151]
10012 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10013 libc_cv_asm_global_directive with .globl.
10014 * configure: Regenerated.
10015 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10016 with .globl.
10017 * sysdeps/i386/configure: Regenerated.
10018 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10019 with .globl.
10020 * sysdeps/x86_64/configure: Regenerated.
10021 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10022 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10023 * elf/tst-unique2mod2.c: Likewise.
10024 * elf/tst-unique2mod1.c: Likewise.
10025 * elf/tst-unique1mod2.c: Likewise.
10026 * elf/tst-unique1mod1.c: Likewise.
10027 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10028 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10030 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10031 * sysdeps/mach/sysdep.h: Likewise.
10032 * sysdeps/i386/sysdep.h: Likewise.
10033 * sysdeps/i386/i386-mcount.S: Likewise.
10034 * sysdeps/x86_64/_mcount.S: Likewise.
10035 * sysdeps/x86_64/sysdep.h: Likewise.
10036 * sysdeps/sh/_mcount.S: Likewise.
10037 * sysdeps/sh/sysdep.h: Likewise.
10038 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10039 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10040 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10042 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10043 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10044 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10045 * locale/localeinfo.h: Likewise.
10046 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10047 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10048
6c55cda3
RM
100492012-07-09 Roland McGrath <roland@hack.frob.com>
10050
10051 [BZ #14336]
10052 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10053 system".
10054 * manual/message.texi (The Uniforum approach): Likewise.
10055 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10056 (glibc iconv Implementation): Likewise.
10057
638a572e
JM
100582012-07-09 Joseph Myers <joseph@codesourcery.com>
10059
10060 [BZ #14337]
10061 * math/s_clog.c (__clog): Avoid scaling a value down where that
10062 could result in underflow.
10063 * math/s_clog10.c (__clog10): Likewise.
10064 * math/s_clog10f.c (__clog10f): Likewise.
10065 * math/s_clog10l.c (__clog10l): Likewise.
10066 * math/s_clogf.c (__clogf): Likewise.
10067 * math/s_clogl.c (__clogl): Likewise.
10068 * math/libm-test.inc (clog_test): Add more tests.
10069 (clog10_test): Likewise.
10070 * sysdeps/i386/fpu/libm-test-ulps: Update.
10071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10072
261f4859
AS
100732012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10074
0abaf3e4
AS
10075 [BZ #14283]
10076 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10077 by 7 not 8 to examine high bit of fractional part.
10078
261f4859
AS
10079 [BZ #14042]
10080 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10081 for call to __mcount_internal.
10082 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10083 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10084 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10085
f17ac40d
JM
100862012-07-06 Joseph Myers <joseph@codesourcery.com>
10087
9ad63c23
JM
10088 [BZ #14154]
10089 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10090 approximation for values within 0x1p-13f of an odd multiple of
10091 pi/4.
10092 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10093 exception. Add more tests.
10094 * sysdeps/i386/fpu/libm-test-ulps: Update.
10095
f17ac40d
JM
10096 [BZ #6778]
10097 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10098 inputs and return -1 for them. Do not check for +Inf in case not
10099 reachable for +Inf.
10100 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10101 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10102 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10103 and return -1 for them. Do not check for +Inf in case not
10104 reachable for +Inf.
10105 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10106 define.
10107 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10108 and return -1 for them. Do not check for +Inf in case not
10109 reachable for +Inf.
10110 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10111 spurious underflow.
10112 * sysdeps/i386/fpu/libm-test-ulps: Update.
10113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10114
fb21f89b
MF
101152012-07-06 Mike Frysinger <vapier@gentoo.org>
10116
10117 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10118
cdfe2c5e
JM
101192012-07-05 Joseph Myers <joseph@codesourcery.com>
10120
10121 [BZ #14157]
10122 [BZ #14331]
10123 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10124 could result in spurious underflow. Scale down values above
10125 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10126 * math/s_csqrtf.c (__csqrtf): Likewise.
10127 * math/s_csqrtl.c (__csqrtl): Likewise.
10128 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10129 spurious underflow.
10130 * sysdeps/i386/fpu/libm-test-ulps: Update.
10131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10132
70d35b67
AS
101332012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10134
704bc459
AS
10135 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10136 xopen-msg.sed.
10137 * catgets/xopen-msg.awk: New file.
10138 * catgets/xopen-msg.sed: Removed.
10139
70d35b67
AS
10140 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10141 po2text.sed.
10142 * intl/po2test.awk: New file.
10143 * intl/po2test.sed: Removed.
10144
ca61cf32
JM
101452012-07-04 Joseph Myers <joseph@codesourcery.com>
10146
10147 [BZ #14328]
10148 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10149 or multiply small sinh result by itself.
10150 * math/s_ctanf.c (__ctanf): Likewise.
10151 * math/s_ctanh.c (__ctanh): Likewise.
10152 * math/s_ctanhf.c (__ctanhf): Likewise.
10153 * math/s_ctanhl.c (__ctanhl): Likewise.
10154 * math/s_ctanl.c (__ctanl): Likewise.
10155 * math/libm-test.inc (ctan_test_tonearest): New function.
10156 (ctan_test_towardzero): Likewise.
10157 (ctan_test_downward): Likewise.
10158 (ctan_test_upward): Likewise.
10159 (ctanh_test_tonearest): Likewise.
10160 (ctanh_test_towardzero): Likewise.
10161 (ctanh_test_downward): Likewise.
10162 (ctanh_test_upward): Likewise.
10163 (main): Call these new functions.
10164 * sysdeps/i386/fpu/libm-test-ulps: Update.
10165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10166
ca48a46a
MF
101672012-07-03 Mike Frysinger <vapier@gentoo.org>
10168
10169 * .gitignore: Delete /ports entry.
10170
9d63d37d
AJ
101712012-07-03 Andreas Jaeger <aj@suse.de>
10172
10173 * po/bg.po: Update from translation team.
10174 * po/cs.po: Likewise.
10175 * po/de.po: Likewise.
10176 * po/hr.po: Likewise.
10177 * po/nl.pl: Likewise.
10178 * po/pl.po: Likewise.
10179 * po/vi.po: Likewise.
10180
370ca3d2
JM
101812012-07-03 Joseph Myers <joseph@codesourcery.com>
10182
95f5a9a8
JM
10183 * Makeconfig [!+link] (+link-before-libc): New variable.
10184 [!+link] (+link-after-libc): Likewise.
10185 [!+link] (+link-tests): Likewise.
10186 [!+link] (+link): Define in terms of $(+link-before-libc) and
10187 $(+link-after-libc).
10188 [!+link-static] (+link-static-before-libc): New variable.
10189 [!+link-static] (+link-static-after-libc): Likewise.
10190 [!+link-static] (+link-static-tests): Likewise.
10191 [!+link-static] (+link-static): Define in terms of
10192 $(+link-static-before-libc) and $(+link-static-after-libc).
10193 [build-shared] (link-libc-before-gnulib): New variable.
10194 [build-shared] (link-libc-tests): Likewise.
10195 [build-shared] (link-libc): Define in terms of
10196 $(link-libc-before-gnulib).
10197 [!build-shared] (link-libc-tests): New variable.
10198 (link-libc-static-tests): New variable.
10199 [!gnulib] (gnulib-arch): New variable.
10200 [!gnulib] (gnulib-tests): Likewise.
10201 [!gnulib] (static-gnulib-arch): Likewise.
10202 [!gnulib] (static-gnulib-tests): Likewise.
10203 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10204 Define with "=" instead of ":=".
10205 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10206 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10207 * Rules (binaries-all-notests): New variable.
10208 (binaries-all-tests): Likewise.
10209 (binaries-static-notests): Likewise.
10210 (binaries-static-tests): Likewise.
10211 (binaries-all): Define using $(binaries-all-notests) and
10212 $(binaries-all-tests).
10213 (binaries-static): Define using $(binaries-static-notests) and
10214 $(binaries-static-tests).
10215 (binaries-shared-tests): New variable.
10216 (binaries-shared-notests): Likewise.
10217 (binaries-shared): Remove variable.
10218 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10219 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10220 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10221 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10222 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10223 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10224 * elf/Makefile (sln-modules): New variable.
10225 (extra-objs): Add $(sln-modules:=.o).
10226 (ldconfig-modules): Add static-stubs.
10227 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10228 * elf/static-stubs.c: New file.
10229
7a845b2c
JM
10230 [BZ #14283]
10231 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10232 by 7 not 8 to examine high bit of fractional part. Use volatile
10233 variables when splitting into final array of floats if
10234 __FLT_EVAL_METHOD__ != 0.
10235 * math/libm-test.inc (cos_test): Add another test.
10236 (sin_test): Likewise.
10237 * sysdeps/i386/fpu/libm-test-ulps: Update.
10238
e2283f38
JM
10239 [BZ #14273]
10240 * math/libm-test.inc (cosh_test): Add more tests.
10241
370ca3d2
JM
10242 * version.h (RELEASE): Set to "development".
10243 (VERSION): Set to "2.16.90".
10244
ee9247c3
CD
102452012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10246
10247 * NEWS: Update copyright. Remove last-updated date.
10248 Mention math library bug fixes and timezone data changes.
10249 * README: Mention GNU/Hurd, x32, and HPPA support status.
10250
4648c381
TS
102512012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10252
10253 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10254
aac78a43
AJ
102552012-06-27 Andreas Jaeger <aj@suse.de>
10256
10257 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10258
ed3dbfad
AJ
102592012-06-25 Andreas Jaeger <aj@suse.de>
10260
10261 * sysdeps/s390/fpu/libm-test-ulps: Update.
10262
4d0ee855
AS
102632012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10264 Thomas Schwinge <thomas@codesourcery.com>
10265
10266 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10267 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10268 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10269 fanotify_mark.
10270
af1bce34
TS
102712012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10272
a9fa33ba
TS
10273 * sysdeps/mach/start.c: Remove file.
10274 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10275 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10276 * sysdeps/sh/init-first.c: Likewise.
10277
58f902b8
TS
10278 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10279 registers for frame unwinding purposes, add CFI directives.
10280 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10281 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10282 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10283 Likewise.
10284
1518f58b
TS
10285 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10286 __fortify_fail returning.
10287 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10288
db9b5059
TS
10289 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10290 sysdeps/sh/____longjmp_chk.S.
10291 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10292 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10293 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10294 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10295
967705fe
TS
10296 * sysdeps/sh/abort-instr.h: New file.
10297 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10298 process in case exit returns.
10299
a9def8c4
TS
10300 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10301 initialize the GOT register before use.
10302
2a649725
TS
10303 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10304 calculation of ARGC > 4.
10305
af1bce34
TS
10306 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10307 meaningful names to some local labels.
10308
d230f50a
KK
103092012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10310 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10311
10312 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10313 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10314 (__arch_compare_and_exchange_val_16_acq): Likewise.
10315 (__arch_compare_and_exchange_val_32_acq): Likewise.
10316 (atomic_exchange_and_add): Fix gUSA sequence.
10317 (atomic_add): Likewise.
10318 (atomic_add_negative): Likewise.
10319 (atomic_add_zero): Likewise.
10320 (atomic_bit_test_set): Likewise.
10321
0479b305
AS
103222012-06-22 Andreas Schwab <schwab@redhat.com>
10323
10324 [BZ #13579]
10325 * include/link.h (struct link_map): Add l_free_initfini.
10326 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10327 l_initfini.
10328 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10329 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10330 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10331 set.
10332
0e3933b9
CD
103332012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10334
10335 * configure.in: Use AC_LANG_SOURCE.
10336 * configure: Regenerate.
10337
4248b1b1
RM
103382012-06-22 Roland McGrath <roland@hack.frob.com>
10339
10340 * configure.in (libc_cv_localstatedir): New substituted variable.
10341 * configure: Regenerated.
10342 * config.make.in (localstatedir): New variable, substituted from
10343 libc_cv_localstatedir.
10344 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10345 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10346 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10347 * sysdeps/gnu/configure: Regenerated.
10348
006dd861
JL
103492012-06-21 Jeff Law <law@redhat.com>
10350
10351 [BZ #14277]
10352 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10353 free. Simplify list management for _LIBC case.
10354
79662d42
JM
103552012-06-21 Joseph Myers <joseph@codesourcery.com>
10356
b7abb4bf
JM
10357 [BZ #14273]
10358 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10359 Clear sign bit of 64-bit integer value before comparing against
10360 overflow value.
10361
79662d42
JM
10362 * sysdeps/mach/configure: Regenerated.
10363
1f150908
L
103642012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10365
10366 [BZ #14278]
10367 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10368
28363bbf
JL
103692012-06-21 Jeff Law <law@redhat.com>
10370
10371 [BZ #13882]
10372 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10373 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10374 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10375 * elf/dl-open.c (dl_open_worker): Likewise.
10376
09615db4
CD
103772012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10378
10379 * scripts/list-sources.sh: Scan PORTS for translations.
10380 * po/libc.pot: Regenerated.
10381
2174c6dd
AJ
103822012-06-21 Andreas Jaeger <aj@suse.de>
10383
10384 [BZ #12194]
10385 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10386 warning.
10387 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10388 * bits/byteswap-16.h (__bswap_16): Likewise.
10389 * bits/byteswap.h (__bswap_constant_16): Likewise.
10390
3ee947b1
L
103912012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10392
10393 [BZ #14117]
a2f34833
L
10394 * sysdeps/i386/fpu_control.h: Removed.
10395 * sysdeps/x86_64/fpu_control.h: Moved to ...
10396 * sysdeps/x86/fpu_control.h: Here.
10397
3ee947b1
L
10398 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10399 (_FPU_SETCW): Likewise.
10400
ed1825f8
L
104012012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10402
25f1282a
L
10403 [BZ #14117]
10404 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10405 * sysdeps/x86/fpu/bits/mathinline.h: This.
10406 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10407
ed1825f8
L
10408 [BZ #14050]
10409 [BZ #14117]
10410 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10411 functions if __x86_64__ is defined.
10412
36d54b74
CLT
104132012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10414
10415 * string/endian.h: Add !__ASSEMBLER__ condition for including
10416 conversion interfaces.
10417
10285c21
JM
104182012-06-15 Joseph Myers <joseph@codesourcery.com>
10419
10420 [BZ #14241]
10421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10422 of ABS(x) in calculating zero to negative powers other than odd
10423 integers.
10424 * math/libm-test.inc (pow_test): Add more tests.
10425
06c5abbd
AJ
104262012-06-15 Andreas Jaeger <aj@suse.de>
10427
10428 * manual/contrib.texi (Contributors): Update entry of Liubov
10429 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10430 Machado Filho.
10431
a3aeac40
CH
104322012-06-15 Cyril Hrubis <metan@ucw.cz>
10433
10434 * string/string.h: Add __wur to GNU version of strerror_r.
10435
49bdf4c1
L
104362012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10437
10438 [BZ #14229]
10439 * string/Makefile (tests): Add tst-strtok_r.
10440 * string/tst-strtok_r.c: New file.
10441 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10442 RAX_LP/RDX_LP on SAVE_PTR.
10443
834f9b8d
RM
104442012-06-14 Roland McGrath <roland@hack.frob.com>
10445
10446 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10447
75fa1921
JM
104482012-06-14 Joseph Myers <joseph@codesourcery.com>
10449
10450 * libm_test.inc (csqrt_test): Allow more spurious underflow
10451 exceptions.
10452 (j0_test): Likewise.
10453 (j1_test): Likewise.
10454 (y0_test): Likewise.
10455 (y1_test): Likewise.
10456
771766df
CD
104572012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10458
10459 * po/Makefile (libc.pot): Use UTF-8 charset.
10460
ceb9e56b
PP
104612012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10462
10463 [BZ #14210]
10464 Suppress sign-conversion warning from FD_SET.
10465 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10466 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10467 not unsigned long int.
10468 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10469
ddb28975
L
104702012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10471
10472 [BZ #14050]
10473 [BZ #14117]
10474 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10475 __extern_always_inline instead of __extern_inline.
10476 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10477 (__signbit): Likewise.
10478 (__signbitl): Support C++ namespace.
10479 (lrintf): New inline function.
10480 (lrint): Likewise.
10481 (llrintf): Likewise.
10482 (llrint): Likewise.
10483 (fmaxf): Likewise.
10484 (fmax): Likewise.
10485 (fminf): Likewise.
10486 (fmin): Likewise.
10487 (rint): Likewise.
10488 (rintf): Likewise.
10489 (ceil): Likewise.
10490 (ceilf): Likewise.
10491 (floor): Likewise.
10492 (floorf): Likewise.
10493 (nearbyint): Likewise.
10494 (nearbyintf): Likewise.
10495
d7b4fb26
TS
104962012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10497
10498 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10499 non-default versions.
10500
eb55f5c2
RM
105012012-06-11 Roland McGrath <roland@hack.frob.com>
10502
10503 [BZ #14218]
10504 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10505
366af02c
TS
105062012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10507
99ff6e5c
TS
10508 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10509 (FE_UPWARD, FE_DOWNWARD): Don't define.
10510 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10511 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10512
366af02c
TS
10513 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10514 reading it.
10515 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10516 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10517
793ea851
KK
105182012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10519
10520 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10522 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10523 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10524
a728a38f
L
105252012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10526
10527 [BZ #14117]
c08010c7
L
10528 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10529 * sysdeps/i386/fpu/Implies: New file.
10530 * sysdeps/x86_64/fpu/Implies: Likewise.
10531 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10532 * sysdeps/x86/fpu/bits/fenv.h: This.
10533
a728a38f
L
10534 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10535 __SSE_MATH__.
10536
6e230d11
SP
105372012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10538
10539 [BZ #14134]
10540 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10541 character 0xffff that matches the last element of the
10542 conversion table.
10543
1b671feb
AZ
105442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10545
10546 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10547 fmodl commit.
10548
6043738b
AZ
105492012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10550
10551 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10552 values higher than 25.6283.
10553
34ae0b32
AZ
105542012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10555
10556 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10557 subnormal exponent extraction and add some __builtin_expect.
10558 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10559 Fix for subnormal mantissa calculation.
10560
1214ec8f
MF
105612012-06-04 Mike Frysinger <vapier@gentoo.org>
10562
10563 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10564 cpu2 is -1 and errno is not ENOSYS.
10565
f3d1f93c
L
105662012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10567
10568 [BZ #14117]
0e4a3cd7
L
10569 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10570 * sysdeps/x86/bits/string.h: This.
10571 * sysdeps/x86_64/bits/string.h: Removed.
10572
6704c645
L
10573 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10574 if not compiling for x86-64, but compiling for >= i486.
10575
48495318
L
10576 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10577 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10578
14adcbfc
L
10579 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10580 New macro from Linux kernel 3.4.0.
10581 (FP_XSTATE_MAGIC2): Likewise.
10582 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10583 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10584 (struct _fpx_sw_bytes): New struct.
10585 (struct _xsave_hdr): Likewise.
10586 (struct _ymmh_state): Likewise.
10587 (struct _xstate): Likewise.
10588
68e408ab
L
10589 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10590 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10591 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10592 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10593 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10594 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10595
f3d1f93c
L
10596 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10597 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10598 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10599 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10600 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10601 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10602
d9dc34cd
TMQMF
106032012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10604
10605 [BZ #13743]
10606 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10607 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10608 (sysdep_headers): Include sys/platform/ppc.h.
10609 * sysdeps/powerpc/test-gettimebase.c: Test for
10610 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10611 * manual/Makefile (appendices): Include platform.texi.
10612 * manual/contrib.texi (Contributors): Update @node pointers.
10613 * manual/maint.texi (Maintenance): Likewise.
10614 (Platform): New node.
10615 * manual/platform.texi: New file. Document the new features.
10616
4af3879c
SP
106172012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10618 Jakub Jelinek <jakub@redhat.com>
10619
10620 [BZ #14188]
10621 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10622 where __builtin_expect is unavailable.
10623
2fd6ff13
DM
106242012-06-03 David S. Miller <davem@davemloft.net>
10625
10626 * stdlib/longlong.h: Updated from GCC.
10627
173f7220
AS
106282012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10629
10630 [BZ #14042]
10631 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10632 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10633 __mcount_internal.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10635 (GLIBC_2.16): Likewise.
10636
f34a1c6f
L
106372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10638
10639 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10640
88a4576f
JM
106412012-06-01 Joseph Myers <joseph@codesourcery.com>
10642
ea32bcdd
JM
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10644 (default-abi): New variable.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10646 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10647 variable.
10648 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10649 Likewise.
10650 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10651 Likewise.
10652 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10653 Likewise.
10654
88a4576f
JM
10655 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10656 definition. Document in comment.
10657
402fe938
DM
106582012-06-01 David S. Miller <davem@davemloft.net>
10659
10660 * stdlib/longlong.h: Updated from GCC.
10661
3553723f
L
106622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10663
10664 [BZ #14117]
3bd872c4
L
10665 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10666 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10667 sys/debugreg.h sys/io.h here.
10668 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10669 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10670 sys/io.h.
10671 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10672 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10673 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10674 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10675 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10676 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10677
3553723f
L
10678 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10679 Define only if __x86_64__ is defined.
10680
4842e4fe
JM
106812012-06-01 Joseph Myers <joseph@codesourcery.com>
10682
c5bfe3d5
JM
10683 [BZ #14048]
10684 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10685 Use int64_t for variable i.
10686 * math/libm-test.inc (fmod_test): Add more tests.
10687
4842e4fe
JM
10688 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10689 z computation is not scheduled after fetestexcept.
10690 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10691 Use math_force_eval instead of asm to ensure calculation scheduled
10692 before exception test.
10693 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10694 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10695
efb73488
AJ
106962012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10697
10698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10699 computation is not scheduled after fetestexcept.
10700
29bcce7c
L
107012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10702
10703 [BZ #14117]
10704 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10705 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10706
73a68f94
AZ
107072012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10708
10709 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10710 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10711
67b6df78
L
107122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10713
edf2933a 10714 [BZ #14117]
ebc64a18
L
10715 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10716 <bits/wordsize.h>.
10717 (__WCHAR_MIN): Support __WORDSIZE == 64.
10718 (__WCHAR_MAX): Likewise.
10719
edf2933a
L
10720 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10721 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10722
57c6cf40
L
10723 [BZ #14183]
10724 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10725 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10726
67b6df78 10727 [BZ #14117]
8eb6281e
L
10728 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10729 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10730
aac639f4
L
10731 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10732 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10733
67b6df78
L
10734 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10735 Defined to 1 if __x86_64__ isn't defined.
10736 (_STAT_VER_LINUX_OLD): New.
10737 (st_atime): Remove duplicate.
10738 (st_mtime): Likewise.
10739 (st_ctime): Likewise.
10740
1c2cfe81
DM
107412012-05-31 David S. Miller <davem@davemloft.net>
10742
10743 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10744 entries.
10745
5be8418c
AS
107462012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10747
e7725326
AS
10748 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10749 gen-libm-test.pl.
10750
5be8418c
AS
10751 [BZ #14132]
10752 * elf/dl-reloc.c: Include <_itoa.h>.
10753 (_dl_reloc_bad_type): Remove use of INTUSE.
10754 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10755 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10756 * stdio-common/psiginfo.c (psiginfo): Likewise.
10757 * stdio-common/psignal.c (psignal): Likewise.
10758 * string/strsignal.c (strsignal): Likewise.
10759 * include/signal.h (_sys_siglist): Declare hidden proto.
10760 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10761 INTVARDEF with libc_hidden_data_def.
10762 * stdio-common/itoa-udigits.c: Likewise.
10763 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10764 (_itoa_lower_digits_internal): Remove declaration.
10765 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10766 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10767 (_sys_sigabbrev_internal): Remove aliases.
10768 (_sys_siglist): Define hidden alias.
10769
507352f1
MT
107702012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10771
10772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10773 bits/sysctl.h.
10774
42bbb1c3
L
107752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10776
10777 [BZ #14117]
6bd784b6
L
10778 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10779 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10780
8bca20f0
L
10781 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10782 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10783 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10784 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10785 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10786 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10787
f9e890a9
L
10788 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10789 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10790 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10791
471101a1
L
10792 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10793 with __addr.
10794 (insw): Likewise.
10795 (insl): Likewise.
10796 (outsb): Likewise.
10797 (outsw): Likewise.
10798 (outsl): Likewise.
10799
6451c862
L
10800 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10801 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10802 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10803
a254b8c9
L
10804 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10805 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10806 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10807 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10808 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10809 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10810
b8dfdd92
L
10811 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10812 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10813
578cd270
L
10814 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10815 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10816
de662f5f
L
10817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10818 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10819 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10820
25653439
L
10821 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10822 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10823 to ...
10824 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10825
6bad24a0
L
10826 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10827 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10828 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10829
42bbb1c3
L
10830 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10831 for x86-64.
10832 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10833
2d10d547
JM
108342012-05-31 Joseph Myers <joseph@codesourcery.com>
10835
10836 * math/math.h (M_El): Use two more decimal places.
10837 (M_LOG2El): Likewise.
10838 (M_LOG10El): Likewise.
10839 (M_LN2l): Likewise.
10840 (M_LN10l): Likewise.
10841 (M_PIl): Likewise.
10842 (M_PI_2l): Likewise.
10843 (M_PI_4l): Likewise.
10844 (M_1_PIl): Likewise.
10845 (M_2_PIl): Likewise.
10846 (M_2_SQRTPIl): Likewise.
10847 (M_SQRT2l): Likewise.
10848 (M_SQRT1_2l): Likewise.
10849
f230c29b
DM
108502012-05-31 David S. Miller <davem@davemloft.net>
10851
10852 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10853 values between float registers.
10854 * sysdeps/sparc/sparc64/memset.S: Likewise.
10855 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10856
fed806c3
MF
108572012-05-31 Mike Frysinger <vapier@gentoo.org>
10858
10859 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10860 -D_FORTIFY_SOURCE=1.
10861 (CPPFLAGS-tst-longjmp_chk.c): Define.
10862 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10863 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10864 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10865 CFLAGS-tst-wchar-h.c.
10866
30917259
MP
108672012-05-31 Marek Polacek <polacek@redhat.com>
10868
10869 [BZ #14132]
10870 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10871 __endmntent_internal): Remove declaration.
10872 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10873 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10874 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10875
1c58d5dc
DM
108762012-05-30 David S. Miller <davem@davemloft.net>
10877
10878 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10879 (___Q_simulate_exceptions): Use real FP ops rather than writing
10880 into the %fsr.
10881 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10882 Likewise.
10883
7dc00e0d
L
108842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10885
10886 [BZ #14117]
0bd53985
L
10887 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10888 * sysdeps/x86/bits/xtitypes.h: This.
10889
3a257e66
L
10890 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10891 * sysdeps/x86/bits/wordsize.h: This.
10892
62f62904
L
10893 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10894 * sysdeps/x86/bits/huge_vall.h: This.
10895
404fe9d9
L
10896 * sysdeps/i386/bits/select.h: Removed.
10897 * sysdeps/x86_64/bits/select.h: Renamed to ...
10898 * sysdeps/x86/bits/select.h: This.
10899
d48d0446
L
10900 * sysdeps/i386/bits/setjmp.h: Removed.
10901 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10902 * sysdeps/x86/bits/setjmp.h: This.
10903
7dc00e0d
L
10904 * sysdeps/i386/bits/mathdef.h: Removed.
10905 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10906 * sysdeps/x86/bits/mathdef.h: This.
10907
03277f8f
AS
109082012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10909
10910 [BZ #14132]
10911 * include/sys/socket.h (__connect_internal)
10912 (__libc_sa_len_internal): Remove declaration.
10913 (__connect, __libc_sa_len): Declare hidden_proto.
10914 (SA_LEN): Remove use of INTUSE.
10915 * socket/connect.c: Add libc_hidden_def.
10916 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10917 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10918 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10919 alias.
10920 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10921 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10922 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10923 of adding _internal alias.
10924
13764867
L
109252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10926
10927 [BZ #14117]
6bd97696
L
10928 * sysdeps/i386/bits/link.h: Removed.
10929 * sysdeps/i386/bits/linkmap.h: Likewise.
10930 * sysdeps/x86_64/bits/link.h: Renamed to ...
10931 * sysdeps/x86/bits/link.h: This.
10932 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10933 * sysdeps/x86/bits/linkmap.h: This.
10934
f726f0bb
L
10935 * sysdeps/i386/bits/endian.h: Removed.
10936 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10937 * sysdeps/x86/bits/endian.h: This.
10938
13764867
L
10939 * sysdeps/i386/bits/byteswap.h: Removed.
10940 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10941 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10942 * sysdeps/x86/bits/byteswap.h: This.
10943 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10944 * sysdeps/x86/bits/byteswap-16.h: This.
10945 * sysdeps/i386/Implies: Add x86.
10946 * sysdeps/x86_64/Implies: Likewise.
10947
ae251b0b
DM
109482012-05-30 David S. Miller <davem@davemloft.net>
10949
10950 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10951 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10952 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10953 (FP_TRAPPING_EXCEPTIONS): Define.
10954 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10955 (FP_TRAPPING_EXCEPTIONS): Define.
10956 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10957 subnormals only when inexact has been signalled or underflow
10958 exceptions are enabled.
10959 (_FP_PACK_CANONICAL): Likewise.
10960
d5c90867
L
109612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10962
10963 [BZ #14183]
10964 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10965 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10966
63f1549e
RH
109672012-05-30 Richard Henderson <rth@twiddle.net>
10968
8d8f2279
RH
10969 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10970 with #ifndef NOT_IN_libc.
10971
63f1549e
RH
10972 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10973 marked to avoid plt entry.
10974
0ab0291b
L
109752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10976
10977 [BZ #14112]
10978 * Makeconfig (default-abi): New macro.
10979 (abi-includes): Likewise.
10980 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10981 $(abi-$(default-abi)-lib-soname) for soname if defined.
10982 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10983 abi-variants.
10984 * Makefile (installed-stubs): Likewise.
10985 * include/stubs-biarch.h: Removed.
10986 * scripts/lib-names.awk: Only handle one library at a time.
10987 * scripts/soversions.awk: Remove WORDSIZE support.
10988 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10989 entries.
10990 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10991 Removed.
10992 (syscall-list-default-condition): Likewise.
10993 (syscall-list-default-condition): Likewise.
10994 (syscall-list-includes): Likewise.
10995 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10996 syscall-list-* with abi-*. Handle undefined abi-variants.
10997 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10998 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10999 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11000 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11001 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11002 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11003 Removed.
11004 (syscall-list-32-options): Likewise.
11005 (syscall-list-32-condition): Likewise.
11006 (syscall-list-64-options): Likewise.
11007 (syscall-list-64-condition): Likewise.
11008 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11009 macro.
11010 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11011 Renamed to ...
11012 (abi-*): This.
11013 (abi-64-ld-soname): New macro.
11014 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11015 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11016 Renamed to ...
11017 (abi-*): This.
11018 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11019 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11020
4da0431d
JM
110212012-05-30 Joseph Myers <joseph@codesourcery.com>
11022
3a85279c
JM
11023 * sysdeps/unix/sysv/linux/kernel-features.h
11024 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11025 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11026 include <kernel-features.h>.
11027 [!__NR_ftruncate64]: Remove conditional code.
11028 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11029 [__NR_ftruncate64]: Make code unconditional.
11030 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11031 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11032 include <kernel-features.h>.
11033 [!__NR_ftruncate64]: Remove conditional code.
11034 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11035 [__NR_ftruncate64]: Make code unconditional.
11036 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11038 include <kernel-features.h>.
11039 [!__NR_ftruncate64]: Remove conditional code.
11040 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11041 [__NR_ftruncate64]: Make code unconditional.
11042 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11044 include <kernel-features.h>.
11045 [!__NR_ftruncate64]: Remove conditional code.
11046 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11047 [__NR_ftruncate64]: Make code unconditional.
11048 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11049
4da0431d
JM
11050 * configure.in (libc_cv_fpie): Weaken to a compile test using
11051 LIBC_TRY_CC_OPTION.
11052 * configure: Regenerated.
11053
11ef492c
AK
110542012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11055
11056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11060 Refreshed.
11061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11067 Refreshed.
11068
d66ef399
DM
110692012-05-27 David S. Miller <davem@davemloft.net>
11070
11071 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11072 (___Q_zero): New.
11073 (__Q_simulate_exceptions): Return void. Change to simulate
11074 exceptions by writing into the %fsr.
11075 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11076 (__Qp_handle_exceptions): Likewise.
11077 (numbers): Delete.
11078 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11079 __Qp_handle_exceptions.
11080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11081 __Qp_handle_exceptions.
11082 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11083 as unused and give dummy FP_RND_NEAREST initializer.
11084 (FP_INHIBIT_RESULTS): Define.
11085 (___Q_simulate_exceptions): Update declaration.
11086 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11087 formatting.
11088 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11089 as unused and give dummy FP_RND_NEAREST initializer.
11090 (__Qp_handle_exceptions): Update declaration.
11091 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11092 formatting.
11093
04fb54b5
TS
110942012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11095
11096 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11097 the temporary FPU control word.
11098 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11099 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11100 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11101 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11102 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11103 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11104 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11105 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11106 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11107 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11108 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11109
3f99608f
KK
111102012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11111
11112 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11113 fields.
11114
65a4de4e
CLT
111152012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11116
11117 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11118 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11119 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11120 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11121 Likewise.
11122 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11123 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11124 Likewise.
11125
15749d40
UD
111262012-05-27 Ulrich Drepper <drepper@gmail.com>
11127
11128 * po/h.po: Update from translation team.
11129
25dbcb27
AS
111302012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11131
3d3f8e55
AS
11132 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11133
25dbcb27
AS
11134 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11135 handling of denormals.
11136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11137 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11138 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11139 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11141 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11143 Likewise.
11144
7ad47a80 111452012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11146
11147 [BZ #14152]
11148 * math/libm-test.inc (fma_test): Don't always expect underflow
11149 exception.
11150
9c6ea9fa
SP
111512012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11152
11153 [BZ #12416]
11154 * elf/tst-execstack.c: Include stackinfo.h.
11155 (do_test): Adjust test case to ensure that pthread_getattr_np
11156 behaviour remains the same after marking stack executable.
11157
a8239222
JM
111582012-05-25 Joseph Myers <joseph@codesourcery.com>
11159
11160 * sysdeps/unix/sysv/linux/kernel-features.h
11161 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11162 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11163 kernel-features.h.
11164 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11165 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11166 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11167 kernel-features.h.
11168 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11169 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11170
918b5606
L
111712012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11172
11173 * configure.in: Define the default includes to being none.
11174 * configure: Regenerated.
11175
3a097cc7
RM
111762012-05-25 Roland McGrath <roland@hack.frob.com>
11177
8422c9a5
RM
11178 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11179 * sysdeps/x86_64/setjmp.S: Likewise.
11180 * sysdeps/i386/bsd-setjmp.S: Likewise.
11181 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11182 * sysdeps/i386/setjmp.S: Likewise.
11183 * sysdeps/i386/__longjmp.S: Likewise.
11184 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11185 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11186
3a097cc7
RM
11187 * include/stap-probe.h: New file.
11188 * configure.in: Handle --enable-systemtap.
11189 * configure: Regenerated.
11190 * config.h.in (USE_STAP_PROBE): New #undef.
11191 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11192 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11193 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11194
21708942
JM
111952012-05-25 Joseph Myers <joseph@codesourcery.com>
11196
11197 [BZ #13717]
11198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11199 to 2.4.0 where earlier.
11200 * sysdeps/unix/sysv/linux/configure: Regenerated.
11201 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11202 <kernel-features.h>.
11203 [__ASSUME_32BITUIDS]: Make code unconditional.
11204 [!__ASSUME_32BITUIDS]: Remove conditional code.
11205 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11206 <kernel-features.h>.
11207 [__ASSUME_32BITUIDS]: Make code unconditional.
11208 [!__ASSUME_32BITUIDS]: Remove conditional code.
11209 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11210 [__ASSUME_32BITUIDS]: Make code unconditional.
11211 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11212 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11213 <kernel-features.h>.
11214 [__ASSUME_32BITUIDS]: Make code unconditional.
11215 [!__ASSUME_32BITUIDS]: Remove conditional code.
11216 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11217 <kernel-features.h>.
11218 [__ASSUME_32BITUIDS]: Make code unconditional.
11219 [!__ASSUME_32BITUIDS]: Remove conditional code.
11220 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11221 <kernel-features.h>.
11222 [__ASSUME_32BITUIDS]: Make code unconditional.
11223 [!__ASSUME_32BITUIDS]: Remove conditional code.
11224 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11225 <kernel-features.h>.
11226 [__ASSUME_32BITUIDS]: Make code unconditional.
11227 [!__ASSUME_32BITUIDS]: Remove conditional code.
11228 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11229 <kernel-features.h>.
11230 [__ASSUME_32BITUIDS]: Make code unconditional.
11231 [!__ASSUME_32BITUIDS]: Remove conditional code.
11232 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11233 <kernel-features.h>.
11234 [__ASSUME_32BITUIDS]: Make code unconditional.
11235 [!__ASSUME_32BITUIDS]: Remove conditional code.
11236 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11237 <kernel-features.h>.
11238 [__ASSUME_32BITUIDS]: Make code unconditional.
11239 [!__ASSUME_32BITUIDS]: Remove conditional code.
11240 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11241 <kernel-features.h>.
11242 [__ASSUME_32BITUIDS]: Make code unconditional.
11243 [!__ASSUME_32BITUIDS]: Remove conditional code.
11244 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11245 <kernel-features.h>.
11246 [__ASSUME_32BITUIDS]: Make code unconditional.
11247 [!__ASSUME_32BITUIDS]: Remove conditional code.
11248 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11249 <kernel-features.h>.
11250 [__ASSUME_32BITUIDS]: Make code unconditional.
11251 [!__ASSUME_32BITUIDS]: Remove conditional code.
11252 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11253 <kernel-features.h>.
11254 [__NR_setresgid] (__setresgid): Do not declare.
11255 [__ASSUME_32BITUIDS]: Make code unconditional.
11256 [!__ASSUME_32BITUIDS]: Remove conditional code.
11257 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11258 <kernel-features.h>.
11259 [__NR_setresuid] (__setresuid): Do not declare.
11260 [__ASSUME_32BITUIDS]: Make code unconditional.
11261 [!__ASSUME_32BITUIDS]: Remove conditional code.
11262 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11263 <kernel-features.h>.
11264 [__ASSUME_32BITUIDS]: Make code unconditional.
11265 [!__ASSUME_32BITUIDS]: Remove conditional code.
11266 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11267 <kernel-features.h>.
11268 [__ASSUME_32BITUIDS]: Make code unconditional.
11269 [!__ASSUME_32BITUIDS]: Remove conditional code.
11270 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11271 <kernel-features.h>.
11272 [__ASSUME_32BITUIDS]: Make code unconditional.
11273 [!__ASSUME_32BITUIDS]: Remove conditional code.
11274 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11275 <kernel-features.h>.
11276 [__ASSUME_32BITUIDS]: Make code unconditional.
11277 [!__ASSUME_32BITUIDS]: Remove conditional code.
11278 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11279 <kernel-features.h>.
11280 [__ASSUME_32BITUIDS]: Make code unconditional.
11281 [!__ASSUME_32BITUIDS]: Remove conditional code.
11282 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11283 <kernel-features.h>.
11284 [__ASSUME_32BITUIDS]: Make code unconditional.
11285 [!__ASSUME_32BITUIDS]: Remove conditional code.
11286 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11287 <kernel-features.h>.
11288 [__ASSUME_32BITUIDS]: Make code unconditional.
11289 [!__ASSUME_32BITUIDS]: Remove conditional code.
11290 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11291 <kernel-features.h>.
11292 [__ASSUME_32BITUIDS]: Make code unconditional.
11293 [!__ASSUME_32BITUIDS]: Remove conditional code.
11294 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11295 <kernel-features.h>.
11296 [__ASSUME_32BITUIDS]: Make code unconditional.
11297 [!__ASSUME_32BITUIDS]: Remove conditional code.
11298 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
11303 (__ASSUME_SETRESUID_SYSCALL): Remove.
11304 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11305 (__ASSUME_32BITUIDS): Likewise.
11306 (__ASSUME_LDT_WORKS): Likewise.
11307 (__ASSUME_O_DIRECTORY): Likewise.
11308 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11309 architecture but not kernel version.
11310 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11311 (__ASSUME_MMAP2_SYSCALL): Likewise.
11312 (__ASSUME_STAT64_SYSCALL): Likewise.
11313 (__ASSUME_IPC64): Likewise.
11314 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11315 <kernel-features.h>.
11316 [__ASSUME_32BITUIDS]: Make code unconditional.
11317 [!__ASSUME_32BITUIDS]: Remove conditional code.
11318 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11319 <kernel-features.h>.
11320 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11321 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11322 132096]: Remove conditional code.
11323 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11324 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11325 <kernel-features.h>.
11326 [__ASSUME_32BITUIDS]: Make code unconditional.
11327 [!__ASSUME_32BITUIDS]: Remove conditional code.
11328 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11329 <kernel-features.h>.
11330 [__ASSUME_32BITUIDS]: Make code unconditional.
11331 [!__ASSUME_32BITUIDS]: Remove conditional code.
11332 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11333 <kernel-features.h>.
11334 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11335 unconditional.
11336 (__setresgid): Do not declare.
11337 [__ASSUME_32BITUIDS]: Make code unconditional.
11338 [!__ASSUME_32BITUIDS]: Remove conditional code.
11339 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11340 <kernel-features.h>.
11341 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11342 unconditional.
11343 (__setresuid): Do not declare.
11344 [__ASSUME_32BITUIDS]: Make code unconditional.
11345 [!__ASSUME_32BITUIDS]: Remove conditional code.
11346 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11347 <kernel-features.h>.
11348 [__ASSUME_32BITUIDS]: Make code unconditional.
11349 [!__ASSUME_32BITUIDS]: Remove conditional code.
11350 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11351 <kernel-features.h>.
11352 [__ASSUME_32BITUIDS]: Make code unconditional.
11353 [!__ASSUME_32BITUIDS]: Remove conditional code.
11354
a386f1cc
RH
113552012-05-25 Richard Henderson <rth@twiddle.net>
11356
11357 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11358 dl_hwcap to ifunc resolver.
11359 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11360 elf_ifunc_invoke.
11361 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11362 dl_hwcap to ifunc resolver.
11363 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11364
b6550497
JM
113652012-05-24 Joseph Myers <joseph@codesourcery.com>
11366
11367 [BZ #14153]
11368 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11369 for |x| <= 2**-26, not 2**-57.
11370 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11371 exception.
11372
b0bc23a1
JL
113732012-05-24 Jeff Law <law@redhat.com>
11374
11375 * stdio-common/Makefile (tests): Add bug25.
11376 * stdio-common/bug25.c: New test.
11377
347c92e9
L
113782012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11379
11380 [BZ #13576]
11381 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11382 multiple of MALLOC_ALIGNMENT in size.
11383 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11384
6bcc8b3f
JM
113852012-05-24 Joseph Myers <joseph@codesourcery.com>
11386
11387 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11388 Require >= 256.
11389 (FILENAME_MAX): Use macro-int-constant.
11390 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11391 (_IOFBF): Use macro-int-constant.
11392 (_IOLBF): Likewise.
11393 (_IONBF): Likewise.
11394 (SEEK_CUR): Likewise.
11395 (SEEK_END): Likewise.
11396 (SEEK_SET): Likewise.
11397 (TMP_MAX): Likewise.
11398 (EOF): Use macro-int-constant. Require < 0.
11399 (NULL): Use macro-constant. Require == 0.
11400 (stdin): Require type to be FILE *.
11401 (stdout): Likewise.
11402 (stderr): Likewise.
11403 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11404 macro-int-constant.
11405 (EXIT_SUCCESS): Likewise.
11406 (NULL): Use macro-constant. Require == 0.
11407 (RAND_MAX): Use macro-int-constant.
11408 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11409 [C99-based standards] (strtof): Require function.
11410 [C99-based standards] (strtold): Likewise.
11411 [C99-based standards] (strtoll): Likewise.
11412 [C99-based standards] (strtoull): Likewise.
11413 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11414 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11415 [ISO || ISO99 || ISO11] (math.h): Likewise.
11416 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11417 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11419
d18ea0c5
AS
114202012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11421
11422 [BZ #14132]
56d25bb8
AS
11423 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11424 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11425 * intl/dgettext.c (DCGETTEXT): Likewise.
11426 * intl/gettext.c (DCGETTEXT): Likewise.
11427 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11428 * posix/regex_internal.h (gettext): Likewise.
11429 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11430 Remove declaration.
11431 * include/argz.h (__argz_count_internal)
11432 (__argz_stringify_internal): Remove declaration.
11433 (__argz_count, __argz_stringify): Declare hidden proto.
11434 * intl/dcgettext.c: Remove use of INTDEF.
11435 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11436 * string/argz-stringify.c: Likewise.
11437 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11438 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11439 Declare hidden proto.
d18ea0c5
AS
11440 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11441 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11442 Declare hidden proto.
11443 * include/stdio.h (__asprintf_internal): Don't declare.
11444 (__asprintf): Don't define as macro. Declare hidden proto.
11445 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11446 (__fsetlocking): Declare hidden proto.
11447 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11448 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11449 hidden proto.
11450 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11451 (_IO_setlinebuf): Remove use of INTUSE.
11452 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11453 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11454 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11455 Remove declaration.
11456 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11457 (_IO_do_flush): Remove use of INTUSE.
11458 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11459 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11460 (_IO_adjust_column, _IO_least_wmarker)
11461 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11462 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11463 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11464 (_IO_default_doallocate, _IO_wdefault_doallocate)
11465 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11466 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11467 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11468 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11469 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11470 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11471 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11472 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11473 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11474 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11475 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11476 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11477 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11478 proto.
11479 (_IO_flush_all_internal, _IO_adjust_column_internal)
11480 (_IO_default_uflow_internal, _IO_default_finish_internal)
11481 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11482 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11483 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11484 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11485 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11486 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11487 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11488 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11489 (_IO_file_close_internal, _IO_file_close_it_internal)
11490 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11491 (_IO_file_init_internal, _IO_file_attach_internal)
11492 (_IO_file_fopen_internal, _IO_file_read_internal)
11493 (_IO_file_sync_internal, _IO_file_seek_internal)
11494 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11495 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11496 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11497 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11498 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11499 (_IO_list_all_internal, _IO_link_in_internal)
11500 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11501 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11502 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11503 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11504 (_IO_do_write_internal, _IO_padn_internal)
11505 (_IO_getline_info_internal, _IO_getline_internal)
11506 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11507 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11508 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11509 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11510 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11511 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11512 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11513 with libc_hidden_ver, remove use of INTUSE.
11514 * libio/genops.c: Likewise.
11515 * libio/freopen.c: Likewise.
11516 * libio/freopen64.c: Likewise.
11517 * libio/iofclose.c: Likewise.
11518 * libio/iofdopen.c: Likewise.
11519 * libio/iofflush.c: Likewise.
11520 * libio/iofflush_u.c: Likewise.
11521 * libio/iofgets.c: Likewise.
11522 * libio/iofgets_u.c: Likewise.
11523 * libio/iofopen.c: Likewise.
11524 * libio/iofopncook.c: Likewise.
11525 * libio/iofread.c: Likewise.
11526 * libio/iofread_u.c: Likewise.
11527 * libio/ioftell.c: Likewise.
11528 * libio/iofwrite.c: Likewise.
11529 * libio/iogetline.c: Likewise.
11530 * libio/iogets.c: Likewise.
11531 * libio/iogetwline.c: Likewise.
11532 * libio/iopadn.c: Likewise.
11533 * libio/iopopen.c: Likewise.
11534 * libio/ioseekoff.c: Likewise.
11535 * libio/ioseekpos.c: Likewise.
11536 * libio/iosetbuffer.c: Likewise.
11537 * libio/iosetvbuf.c: Likewise.
11538 * libio/ioungetc.c: Likewise.
11539 * libio/ioungetwc.c: Likewise.
11540 * libio/iovdprintf.c: Likewise.
11541 * libio/iovsprintf.c: Likewise.
11542 * libio/iovsscanf.c: Likewise.
11543 * libio/memstream.c: Likewise.
11544 * libio/obprintf.c: Likewise.
11545 * libio/oldfileops.c: Likewise.
11546 * libio/oldiofclose.c: Likewise.
11547 * libio/oldiofdopen.c: Likewise.
11548 * libio/oldiofopen.c: Likewise.
11549 * libio/oldiopopen.c: Likewise.
11550 * libio/oldstdfiles.c: Likewise.
11551 * libio/putc.c: Likewise.
11552 * libio/setbuf.c: Likewise.
11553 * libio/setlinebuf.c: Likewise.
11554 * libio/stdfiles.c: Likewise.
11555 * libio/strops.c: Likewise.
11556 * libio/vasprintf.c: Likewise.
11557 * libio/vscanf.c: Likewise.
11558 * libio/vsnprintf.c: Likewise.
11559 * libio/vswprintf.c: Likewise.
11560 * libio/wfiledoalloc.c: Likewise.
11561 * libio/wfileops.c: Likewise.
11562 * libio/wgenops.c: Likewise.
11563 * libio/wmemstream.c: Likewise.
11564 * libio/wstrops.c: Likewise.
11565 * libio/__fpurge.c: Likewise.
11566 * libio/__fsetlocking.c: Likewise.
11567 * assert/assert.c: Likewise.
11568 * debug/fgets_chk.c: Likewise.
11569 * debug/fgets_u_chk.c: Likewise.
11570 * debug/fread_chk.c: Likewise.
11571 * debug/fread_u_chk.c: Likewise.
11572 * debug/gets_chk.c: Likewise.
11573 * debug/obprintf_chk.c: Likewise.
11574 * debug/vasprintf_chk.c: Likewise.
11575 * debug/vdprintf_chk.c: Likewise.
11576 * debug/vsnprintf_chk.c: Likewise.
11577 * debug/vsprintf_chk.c: Likewise.
11578 * malloc/mtrace.c: Likewise.
11579 * misc/error.c: Likewise.
11580 * misc/syslog.c: Likewise.
11581 * stdio-common/asprintf.c: Likewise.
11582 * stdio-common/fxprintf.c: Likewise.
11583 * stdio-common/getw.c: Likewise.
11584 * stdio-common/isoc99_fscanf.c: Likewise.
11585 * stdio-common/isoc99_scanf.c: Likewise.
11586 * stdio-common/isoc99_vfscanf.c: Likewise.
11587 * stdio-common/isoc99_vscanf.c: Likewise.
11588 * stdio-common/isoc99_vsscanf.c: Likewise.
11589 * stdio-common/printf-prs.c: Likewise.
11590 * stdio-common/printf_fp.c: Likewise.
11591 * stdio-common/printf_fphex.c: Likewise.
11592 * stdio-common/printf_size.c: Likewise.
11593 * stdio-common/putw.c: Likewise.
11594 * stdio-common/scanf.c: Likewise.
11595 * stdio-common/sprintf.c: Likewise.
11596 * stdio-common/tmpfile.c: Likewise.
11597 * stdio-common/vfprintf.c: Likewise.
11598 * stdio-common/vfscanf.c: Likewise.
11599 * stdlib/strfmon_l.c: Likewise.
11600 * sunrpc/openchild.c: Likewise.
11601 * sunrpc/xdr_stdio.c: Likewise.
11602 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11603 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11604
d6c33fda
RM
116052012-05-24 Roland McGrath <roland@hack.frob.com>
11606
c1487492
RM
11607 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11608
11609 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11610 in the third column, to generate for the shared library an IFUNC
11611 that uses _dl_vdso_vsym.
11612 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11613 * Makeconfig (object-suffixes-noshared): New variable.
11614
11615 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11616 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11617 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11618 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11619
d6c33fda
RM
11620 [BZ #14132]
11621 * include/sys/time.h (__gettimeofday): Remove macro.
11622 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11623 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11624 Remove INTDEF.
11625 (__gettimeofday): Add libc_hidden_def.
11626 (gettimeofday): Add libc_hidden_weak.
11627 * sysdeps/mach/gettimeofday.c: Likewise.
11628 * sysdeps/posix/gettimeofday.c: Likewise.
11629 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11630 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11632 (__gettimeofday_internal): Remove strong_alias.
11633 (__gettimeofday): Add libc_hidden_def.
11634 (gettimeofday): Add libc_hidden_weak.
11635 * sysdeps/unix/syscalls.list (gettimeofday):
11636 Remove __gettimeofday_internal alias.
11637
b5a2bbe6
L
116382012-05-24 Daniel Jacobowitz <drow@false.org>
11639 H.J. Lu <hongjiu.lu@intel.com>
11640
11641 [BZ #12495]
11642 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11643 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11644 (largebin_index_32_big): New.
11645 (largebin_index): Use it for 16-byte alignment.
11646 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11647 correction with front_misalign.
11648
cfba4fda
L
116492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11650
7f907421
L
11651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11653 Likewise.
11654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11655 Likewise.
11656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11657 Likewise.
11658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11659 Likewise.
11660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11661 Likewise.
11662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11663 Likewise.
11664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11665 Likewise.
11666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11667 Likewise.
11668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11669 Likewise.
11670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11671 Likewise.
11672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11673 Likewise.
11674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11675 Likewise.
11676
cfba4fda
L
11677 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11678 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11679
80bad0cc
JM
116802012-05-24 Joseph Myers <joseph@codesourcery.com>
11681
7a25eb06
JM
11682 [BZ #10846]
11683 [BZ #14036]
11684 * math/libm-test.inc (exp_test): Add test from bug 14036.
11685 (pow_test): Add test from bug 10846.
11686
795405f9
JM
11687 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11688 and other flags.
11689 (special_function): Do not include flags in test name.
11690 (parse_args): Likewise.
11691 * sysdeps/i386/fpu/libm-test-ulps: Update.
11692 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11693 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11694 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11696
80bad0cc
JM
11697 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11698 exceptions.
11699 * math/libm-test.inc ("Philosophy"): Update comment about
11700 exception testing.
11701 (UNDERFLOW_EXCEPTION): New macro.
11702 (UNDERFLOW_EXCEPTION_OK): Likewise.
11703 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11704 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11705 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11706 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11707 (INVALID_EXCEPTION_OK): Update value.
11708 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11709 (OVERFLOW_EXCEPTION_OK): Likewise.
11710 (IGNORE_ZERO_INF_SIGN): Likewise.
11711 (test_exceptions): Handle underflow exceptions.
11712 (acos_test): Update for underflow exception expectations.
11713 (cexp_test): Likewise.
11714 (clog_test): Likewise.
11715 (clog10_test): Likewise.
11716 (csqrt_test): Likewise.
11717 (ctan_test): Likewise.
11718 (ctanh_test): Likewise.
11719 (exp_test): Likewise.
11720 (exp10_test): Likewise.
11721 (exp2_test): Likewise.
11722 (expm1_test): Likewise.
11723 (fma_test): Likewise.
11724 (j0_test): Likewise.
11725 (jn_test): Likewise.
11726 (nexttoward_test): Likewise.
11727 (pow_test): Likewise.
11728 (scalbn_test): Likewise.
11729 (scalbln_test): Likewise.
11730 (tan_test): Likewise.
11731 (y1_test): Likewise.
11732 * sysdeps/i386/fpu/libm-test-ulps: Update.
11733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11734
9e0e3d0b
DM
117352012-05-23 David S. Miller <davem@davemloft.net>
11736
11737 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11738 (__libc_sigaction): Remove unused local variables.
11739
ccd0a08f
L
117402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11741
11742 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11743
62bdf9a6
PE
117442012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11745
f8591f80
PE
11746 mktime: avoid signed integer overflow
11747 * time/mktime.c (__mktime_internal): Do not mishandle the case
11748 where diff == INT_MIN.
11749
94c7d826
PE
11750 mktime: simplify computation of average
11751 * time/mktime.c (ranged_convert): Use new time_t_avg function
11752 instead of rolling our own (probably-slower) code.
11753
ce73d683
PE
11754 mktime: do not assume signed right shift propagates sign bit
11755 * time/mktime.c (isdst_differ): New static function.
11756 (__mktime_internal): No need to normalize tm_isdst now.
11757 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11758 tm_isdst values.
11759
72a22e59
PE
11760 mktime: merge another wrapv change from gnulib
11761 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11762 from some compilers.
11763
68605433
PE
11764 mktime: remove incorrect attempt at unusual arithmetics
11765 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11766 The code didn't really work on such machines anyway.
11767 (TYPE_MINIMUM): Assume two's complement.
11768 (twos_complement_arithmetic): Verify that long_int and time_t
11769 are two's complement (or unsigned, in the latter case).
11770
03cf7fe3
PE
11771 mktime: check signed shifts on long_int and time_t, too
11772 * time/mktime.c (SHR): Check that shifts work as desired
11773 on the types long_int and time_t too, as SHR is used on
11774 such types.
11775
f04dfbc2
PE
11776 mktime: do not assume 'long' is wide enough
11777 * time/mktime.c (verify): Move decl up.
11778 (long_int): New type.
11779 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11780 to remove assumption in the code that 'long' is wide enough to
11781 store year values. This assumption is not true on x32 and on
11782 some non-glibc platforms.
11783
62bdf9a6
PE
11784 mktime: merge wrapv change from gnulib
11785 * time/mktime.c (WRAPV): New macro.
11786 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11787 (guess_time_tm, __mktime_internal): Do not assume that signed
11788 integer overflow wraps around; modern compilers generate code
11789 where this assumption is no longer valid.
11790
5e292e4f
L
117912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11792
11793 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11794 Replace "jmp L(pseudo_end)" with "ret".
11795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11796 Likewise.
11797
8caf8c87
AJ
117982012-05-23 Andreas Jaeger <aj@suse.de>
11799
11800 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11801 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11802
1a09dc56
AJ
118032012-05-23 Andreas Jaeger <aj@suse.de>
11804 Maximilian Attems <max@stro.at>
11805
11806 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11807 New macros.
11808
1c87aba0
L
118092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11810
11811 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11812 code so that pseudo_end is just ret and the stack pointer is
11813 correct also for static library in error case.
11814
40e45bd5
JM
118152012-05-23 Joseph Myers <joseph@codesourcery.com>
11816
c2670533
JM
11817 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11818 move to syscalls.list.
11819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11823
40e45bd5
JM
11824 * manual/install.texi (Running make install): Do not mention Linux
11825 kernel version for which pt_chown is not needed.
11826 (Linux): Do not mention problems with nscd with 2.0 kernels.
11827 * INSTALL: Regenerated.
11828
be08eda5
AJ
118292012-05-23 Andreas Jaeger <aj@suse.de>
11830
11831 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11832 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11833 macro.
11834 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11835 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11836 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11837 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11838 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11839 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11840 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11841 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11842 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11843 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11844 * sysdeps/unix/sysv/linux/bits/in.h
11845 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11846
a6a056bb
RM
118472012-05-22 Roland McGrath <roland@hack.frob.com>
11848
11849 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11850 (PREPARE_VERSION): Just use assert instead, it will be elided
11851 under [NDEBUG] anyway.
11852
c9009328
L
118532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11854
11855 * sysdeps/unix/sysv/linux/Makefile: Include
11856 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11857 (sysdep_routines): Remove sysctl.
c9009328
L
11858 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11859 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11860 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11861 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11862 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11863
73338355
AJ
118642012-05-22 Andreas Jaeger <aj@suse.de>
11865
11866 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11867 that pseudo_end is just ret and the stack pointer is correct also
11868 for static library in error case.
11869
d44638b0
PP
118702012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11871
11872 [BZ #14122]
11873 * nss/nsswitch.c (defconfig_entries): New variable.
11874 (__nss_database_lookup): Don't leak defconfig entries.
11875 (nss_parse_service_list): Don't leak on error paths.
11876 (free_database_entries): New function.
11877 (free_defconfig): New function.
11878 (free_mem): Move common code to free_database_entries.
11879
31a39bd8
L
118802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11881
da0331a8
L
11882 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11883 Add arch_prctl.
11884 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11885
31a39bd8
L
11886 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11887 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11889 New macro.
11890 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11891 (INTERNAL_SYSCALL_TYPES): Likewise.
11892 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11893 (LOAD_REGS_TYPES_[1-6]): Likewise.
11894 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11895 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11896
45470df3
AZ
118972012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11898
11899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11900 copysignl for GLIBC_2_0.
11901 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11902 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11904 logbl for GLIBC_2_0.
11905 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11906 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11907
98a61bcb
L
119082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11909
a4f6e481
L
11910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11911 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11912
f63d5db6
L
11913 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11914 Use "neg %eax".
11915
98a61bcb
L
11916 * time/mktime.c: Update copyright years.
11917
95770f14
PE
119182012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11919
6226efbd
PE
11920 mktime: merge comment-quoting-style change from gnulib
11921 * time/mktime.c: Quote 'like this' in comments.
11922 The GNU coding standards suggest that we no longer quote `like this',
11923 as "`" and "'" are typically rendered asymmetrically nowadays.
11924 The typical gnulib style is to quote 'like this' when quoting
11925 code, and "like this" when quoting English.
11926
b99e4f78
PE
11927 * time/mktime.c (compile-command): Add "-I.".
11928
643e01e6
PE
11929 mktime: merge mktime-internal.h change from gnulib
11930 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11931
2554247d
PE
11932 mktime: merge time_r change from gnulib
11933 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11934
826dd0ab
PE
11935 mktime: merge DEBUG change from gnulib
11936 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11937 case system <time.h> has a #define.
11938
bd83aabe
PE
11939 mktime: merge <sys/types.h> change from gnulib
11940 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11941 since <time.t> is now guaranteed to define time_t.
11942
95770f14
PE
11943 mktime: merge HAVE_CONFIG_H change from gnulib
11944 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11945
5e1a27a9
L
119462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11947
0e44a77e
L
11948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11949 Use "neg %eax".
11950
5e1a27a9
L
11951 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11952 __rlim_t cast.
11953 (struct rusage): Use anonymous union to pad each field to
11954 __syscall_slong_t.
11955
46259bec
DM
119562012-05-21 David S. Miller <davem@davemloft.net>
11957
11958 * Makefules (o-iterator): Remove .s cases.
11959 (compile-command.s): Delete.
11960 (COMPILE.s): Delete.
11961 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11962
59f0c22e
JM
119632012-05-21 Joseph Myers <joseph@codesourcery.com>
11964
11965 * configure.in (libc_cv_predef_stack_protector): Only consider
11966 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11967 * configure: Regenerated.
11968
20c07380
L
119692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11970
bbb3154b
L
11971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11972 New macro. Use R*LP on int and pointer.
11973 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11974 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11975 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11976 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11977
20c07380
L
11978 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11979 [__WORDSIZE_TIME64_COMPAT32] instead of
11980 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11981 (struct utmp): Likewise.
11982 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11983 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11984 Renamed to ...
11985 (__WORDSIZE_TIME64_COMPAT32): This.
11986 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11987 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11988 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11989 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11990 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11991 (__WORDSIZE_TIME64_COMPAT32): New macro.
11992
d8d1017e
AJ
119932012-05-21 Andreas Jaeger <aj@suse.de>
11994
11995 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11996 only if [SHARED]. Add prototype for __wcschr_ia32.
11997
6c7fb145
RM
119982012-05-21 Roland McGrath <roland@hack.frob.com>
11999
12000 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12001 of %rbp unmolested in the jmp_buf while mangling the low bits.
12002 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12003 unmolested high bits of %rbp while demangling the low bits.
12004 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12005
66274218
AJ
120062012-05-21 Andreas Jaeger <aj@suse.de>
12007
07c58f8f
AJ
12008 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12009 * sunrpc/svc_simple.c: Use it for registerrpc.
12010 * sunrpc/xcrypt.c: Use it for passwd2des.
12011
66274218
AJ
12012 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12013
61f65140
L
120142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12015
12016 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12017 Don't define if [__SYSCALL_WORDSIZE != 32].
12018 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12019 New macro.
12020
5fefb436
AJ
120212012-05-21 Bruno Haible <bruno@clisp.org>
12022 Andreas Jaeger <aj@suse.de>
12023
12024 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12025 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12026 inptr and inend for must_buffer_ch.
12027 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12028 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12029 * stdio-common/Makefile (tests): Remove bug15.
12030 (bug15-ENV): Remove macro.
12031 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12032 anymore.
12033
d8e272ab
AJ
120342012-05-19 Andreas Jaeger <aj@suse.de>
12035 Roland McGrath <roland@hack.frob.com>
12036
12037 * manual/contrib.texi: Completely rewritten. It contains now an
12038 alphabetical list of contributors and their contributions.
12039
4a56a162
RH
120402012-05-21 Richard Henderson <rth@twiddle.net>
12041
12042 * misc/getauxval.c (__getauxval): Use unsigned long int.
12043 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12044 (getauxval): Use unsigned long int.
12045
d024d23c
L
120462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12047
12048 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12049
cbc00a03
RM
120502012-05-21 Roland McGrath <roland@hack.frob.com>
12051
12052 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12053 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12054 __alignof__ (long double).
12055
478143fa
AZ
120562012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12057
12058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12059
c7683a6d
RH
120602012-05-20 Richard Henderson <rth@twiddle.net>
12061
12062 * misc/getauxval.c: New file.
12063 * misc/sys/auxv.h: New file.
12064 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12065 (routines): Add getauxval.
12066 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12067 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12068 * elf/dl-sysdep.c (_dl_auxv): Remove.
12069 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12070 * elf/dl-support.c (_dl_auxv): New variable.
12071 (_dl_aux_init): Initialize it.
12072 * manual/startup.texi (Auxiliary Vector): New node.
12073 * sysdeps/generic/bits/hwcap.h: New file.
12074 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12075 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12076 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12077 * sysdeps/sparc/sysdep.h: ... here. Include it.
12078 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12079 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12081 Update.
c7683a6d
RH
12082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12085 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12090
a6f1845d
AZ
120912012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12092
12093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12094
cbcbe830
DM
120952012-05-19 David S. Miller <davem@davemloft.net>
12096
12097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12098
e0b16cc2
JM
120992012-05-19 Joseph Myers <joseph@codesourcery.com>
12100
12101 [BZ #14123]
12102 * math/s_ccosh.c: Include <float.h>
12103 (__ccosh): Avoid internal overflow calculating sinh and cosh
12104 values before multiplying by sin and cos values.
12105 * math/s_ccoshf.c: Likewise.
12106 * math/s_ccoshl.c: Likewise.
12107 * math/s_csin.c: Likewise.
12108 * math/s_csinf.c: Likewise.
12109 * math/s_csinl.c: Likewise.
12110 * math/s_csinh.c: Likewise.
12111 * math/s_csinhf.c: Likewise.
12112 * math/s_csinhl.c: Likewise.
12113 * math/libm-test.inc (ccos_test): Add more tests.
12114 (ccosh_test): Likewise.
12115 (csin_test): Likewise.
12116 (csinh_test): Likewise.
12117 * sysdeps/i386/fpu/libm-test-ulps: Update.
12118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12119
6ad13e08
L
121202012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12121
f66f0ce8
L
12122 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12123 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12124
6ad13e08
L
12125 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12126
b1d072a7
JM
121272012-05-19 Joseph Myers <joseph@codesourcery.com>
12128
12129 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12130 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12131 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12132 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12133 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12134 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12135 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12136 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12137 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12138 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12139 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12140 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12141 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12142 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12143 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12144 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12145 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12146 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12147 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12148 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12149 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12150 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12151 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12152 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12153 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12154 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12155 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12156 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12157 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12158 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12159 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12160
9eae47cb
AJ
121612012-05-18 Andreas Jaeger <aj@suse.de>
12162
12163 * csu/.gitignore: Delete.
12164
bb07f69f
L
121652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12166
12167 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12168 (timex): Use __syscall_slong_t.
12169
e6bdb741
AJ
121702012-05-18 Andreas Jaeger <aj@suse.de>
12171 Carlos O'Donell <carlos_odonell@mentor.com>
12172
12173 * manual/install.texi (Configuring and compiling): Update
12174 description about files modified in the source directory.
d6c33fda 12175 * INSTALL: Regenerated.
e6bdb741 12176
1b74487e
L
121772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12178
12179 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12180 value. Use "or" to set return value to -1.
12181 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12182 negate return value.
12183
a88b64b9
TMQMF
121842012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12185
12186 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12187 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12188 failure if the compiler has Graphite support disabled.
12189 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12190 Likewise.
12191 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12192 CFLAGS-memmove.c): Likewise.
12193 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12194 Likewise.
12195
3707636e
L
121962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12197
610b8622
L
12198 * sysdeps/x86_64/x32/_itoa.h: New file.
12199
7cd195df
L
12200 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12201 getdents system call only if kernel and user dirents have the
12202 same d_ino and d_off.
12203
94b07d20
L
12204 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12205 LLONG_MAX != LONG_MAX.
12206 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12207 (_fitoa_word): Likewise.
12208
18298070
L
12209 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12210 years.
12211 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12212 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12213 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12214
553c7ea4
L
12215 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12216 include <bits/wordsize.h>. Check __x86_64__ instead of
12217 __WORDSIZE.
12218 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12219 if __x86_64__ is defined. Use anonymous union on fpstate.
12220
3707636e
L
12221 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12222 anonymous union.
12223
b53ef01a
AS
122242012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12225
37fb1dc0
AS
12226 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12227 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12228 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12229 Refer to _rtld_local_ro instead of _rtld_global_ro.
12230 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12231 Likewise.
12232 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12233 Likewise.
12234 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12235 Likewise.
12236 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12237 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12238 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12239
b53ef01a
AS
12240 * sysdeps/powerpc/powerpc32/dl-machine.c
12241 (__elf_machine_runtime_setup) [PROF]: Don't reference
12242 _dl_prof_resolve.
12243
7a185db2
AJ
122442012-05-18 Andreas Jaeger <aj@suse.de>
12245
12246 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12247 function only available for GCCs before 3.4 since GCC 3.4
12248 introduced a builtin.
12249 (lrint): Likewise.
12250 (llrintf): Likewise.
12251 (llrint): Likewise.
12252 (fmaxf): Likewise.
12253 (fmax): Likewise.
12254 (fminf): Likewise.
12255 (fmin): Likewise.
12256 (rint): Likewise.
12257 (rintf): Likewise.
12258 (nearbyint): Likewise.
12259 (nearbyintf): Likewise.
12260 (ceil): Likewise.
12261 (ceilf): Likewise.
12262 (floor): Likewise.
12263 (floorf): Likewise.
12264
3e5aef87
L
122652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12266
428bd707
L
12267 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12268 on both fields and cast pointer to __syscall_ulong_t.
12269
3e5aef87
L
12270 * bits/types.h (__fsword_t): New type.
12271 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12272 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12274 (__FSWORD_T_TYPE): Likewise.
12275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12276 (__FSWORD_T_TYPE): Likewise.
12277 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12278 (__FSWORD_T_TYPE): Likewise.
12279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12280 (__FSWORD_T_TYPE): Likewise.
12281 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12282 __SWORD_TYPE with __fsword_t.
12283 (statfs64): Likewise.
12284
1ba7c3dc
DM
122852012-05-17 David S. Miller <davem@davemloft.net>
12286
12287 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12288
59910343
AJ
122892012-05-17 Andreas Jaeger <aj@suse.de>
12290
12291 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12292 warning.
12293
2e4c1e9e
L
122942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12295
12296 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12297
de7f5ce7
AJ
122982012-05-17 Andreas Jaeger <aj@suse.de>
12299
12300 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12301 when it is used.
12302
286abc3d
CM
123032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12304
12305 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12306
477cc68e
L
123072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12308
12309 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12310 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12311
1a0994f5
CD
123122012-05-17 Andreas Jaeger <aj@suse.de>
12313 Carlos O'Donell <carlos_odonell@mentor.com>
12314
12315 [BZ #14059]
12316 * sysdeps/x86_64/multiarch/init-arch.h
12317 (bit_YMM_Usable): Rename to...
12318 (bit_AVX_Usable): ... this.
12319 (bit_FMA4_Usable): New macro.
12320 (bit_XMM_state): New macro.
12321 (bit_YMM_state): New macro.
12322 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12323 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12324 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12325 (CPUID_OSXSAVE): New macro.
12326 (CPUID_AVX): New macro.
12327 (CPUID_FMA4): New macro.
12328 (index_YMM_Usable): Rename to...
12329 (index_AVX_Usable): ... this.
12330 (HAS_AVX): Use HAS_ARCH_FEATURE.
12331 (HAS_FMA4): Likewise.
12332 (HAS_YMM_USABLE): Remove.
12333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12334 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12335 are present.
12336 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12337 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12338 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12339 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12340 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12341
0af797de
CM
123422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12343
12344 * math/libm-test.c: Support platforms without multiple rounding modes.
12345 * math/bug-nextafter.c: Support platforms without FP exceptions.
12346 * math/bug-nexttoward.c: Likewise.
12347 * math/test-fenv.c: Likewise.
12348 * math/test-misc.c: Likewise.
12349 * stdlib/bug-getcontext.c: Likewise.
12350
e39745ff
AJ
123512012-05-17 Andreas Jaeger <aj@suse.de>
12352
12353 * manual/examples/search.c (critter_cmp): Change signature to
12354 avoid warnings.
12355 * manual/string.texi (Collation Functions): Likewise.
12356
48970aba
L
123572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12358
12359 * bits/types.h: Fold copyright years.
12360 * bits/typesizes.h: Likewise.
12361 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12365 * time/time.h: Likewise.
12366
bedee953
PP
123672012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12368
12369 [BZ #208]
12370 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12371 in instead of returning them. Return void.
12372 (__libc_mallinfo): Accumulate over all arenas.
12373 (__malloc_stats): Adjust for change in int_mallinfo interface.
12374
61653dfb
RM
123752012-05-16 Roland McGrath <roland@hack.frob.com>
12376
30b99d79
RM
12377 [BZ #10375]
12378 * configure.in (NM): Add AC_CHECK_TOOL for it.
12379 (libc_extra_cflags): New substituted variable.
12380 Check for -fstack-protector being used implicitly.
12381 * configure: Regenerated.
12382 * config.make.in (config-extra-cflags): New variable,
12383 gets @libc_extra_cflags@.
12384 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12385
61653dfb
RM
12386 [BZ #10375]
12387 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12388 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12389 * configure: Regenerated.
12390 * config.make.in (CPPUNDEFS): New substituted variable.
12391 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12392 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12393 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12394
661768bb
L
123952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12396
12397 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12398 (mq_attr): Use __syscall_slong_t.
12399
d4261567
L
124002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12401
12402 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12403 Check __x86_64__ instead of __WORDSIZE.
12404 (_STAT_VER_LINUX): Likewise.
12405 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12406 __syscall_ulong_t and __syscall_slong_t.
12407 (stat64): Likewise.
12408
cf3ff365
L
124092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12410
12411 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12412
76cf3e4d
L
124132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12414
12415 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12416
a637753a
L
124172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12418
12419 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12420 __syscall_ulong_t.
12421
d5e05119
L
12422 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12423 include <bits/wordsize.h>. Check __x86_64__ instead of
12424 __WORDSIZE.
12425 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12426 defined.
12427 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12428
f62ee380
L
12429 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12430 include <bits/wordsize.h>. Check __x86_64__ instead of
12431 __WORDSIZE.
12432 (user_regs_struct): Use "__extension__ unsigned long long"
12433 instead of "unsigned long" if __x86_64__ is defined.
12434 (user): Likewise. Pad after pointer field if __ILP32__ is
12435 defined.
12436
4e124ced
JM
124372012-05-16 Joseph Myers <joseph@codesourcery.com>
12438
6a3951a0
JM
12439 * configure.in (makeinfo): Require version 4.5 or later. Allow
12440 versions 5 to 9.
12441 * configure: Regenerated.
12442 * manual/install.texi (texinfo): Increase version requirement to
12443 4.5 or later.
12444 * INSTALL: Regenerated.
12445
4e124ced
JM
12446 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12447
953ca31a
L
124482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12449
12450 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12451
617aca05
L
12452 * sysdeps/x86_64/x32/ffs.c: New file.
12453
5762f7ae
L
12454 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12455 __syscall_ulong_t.
12456 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12457 defined. Use __syscall_ulong_t.
12458 (shminfo): Use __syscall_ulong_t.
12459 (shm_info): Likewise.
12460
a26b6856
L
12461 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12462 __syscall_ulong_t.
12463
cb2b9ef7
L
12464 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12465 <bits/wordsize.h>.
12466 (msgqnum_t): Use __syscall_ulong_t.
12467 (msglen_t): Likewise.
12468 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12469 __syscall_ulong_t.
12470
34683bb0
L
12471 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12472 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12473
84a68786
L
12474 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12475
48baa5f1
L
12476 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12477 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12478
180be88b
L
12479 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12480 __syscall_slong_t.
12481
5e90c8ad
L
12482 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12483 include <bits/wordsize.h>. Check __x86_64__ instead of
12484 __WORDSIZE.
12485
23dfb58b
L
12486 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12487 "unsigned long long int" if __x86_64__ is defined.
12488 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12489
ce5d54b0
L
12490 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12491 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12492 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12493
13dc9eac
L
12494 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12495 <stdint.h>.
12496 (GET_PC): Cast to uintptr_t first.
12497 (GET_FRAME): Likewise.
12498 (GET_STACK): Likewise.
12499
a7895d15
L
12500 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12501 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12502 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12503 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12504 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12505 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12506 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12507 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12508 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12509 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12510 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12511 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12512 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12513 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12514 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12515 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12516 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12517 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12518 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12519 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12520 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12521 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12522 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12523 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12524 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12525 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12528 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12529
656416c9
AS
125302012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12531
5bd66283
AS
12532 * Makerules (+depfiles): Also collect depfiles from .oS in
12533 $(extra-objs).
12534 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12535 .oS, $(libnldbl-routines)).
12536
656416c9
AS
12537 * Makerules (native-compile-mkdep-flags): Define.
12538 * sunrpc/Makefile (extra-objs): Add $(addprefix
12539 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12540 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12541 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12542 calling $(make-target-directory).
12543
a46f2169
L
125442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12545
12546 * bits/types.h (__snseconds_t): Removed.
12547 * time/time.h (struct timespec): Replace __snseconds_t with
12548 __syscall_slong_t.
12549 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12550 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12551 Likewise.
12552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12553 (__SNSECONDS_T_TYPE): Likewise.
12554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12555 (__SNSECONDS_T_TYPE): Likewise.
12556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12557 (__SNSECONDS_T_TYPE): Likewise.
12558
6af6528b
L
125592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12560
12561 * sysdeps/mach/hurd/bits/typesizes.h
12562 (__SYSCALL_SLONG_TYPE): New macro.
12563 (__SYSCALL_ULONG_TYPE): Likewise.
12564
de986b56
L
125652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12566
12567 * bits/types.h (__syscall_slong_t): New type.
12568 (__syscall_ulong_t): Likewise.
12569
12570 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12571 (__SYSCALL_ULONG_TYPE): Likewise.
12572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12573 (__SYSCALL_SLONG_TYPE): Likewise.
12574 (__SYSCALL_ULONG_TYPE): Likewise.
12575 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12576 (__SYSCALL_SLONG_TYPE): Likewise.
12577 (__SYSCALL_ULONG_TYPE): Likewise.
12578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12579 (__SYSCALL_SLONG_TYPE): Likewise.
12580 (__SYSCALL_ULONG_TYPE): Likewise.
12581
85736dc7
L
125822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12583
12584 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12585 Add sigaltstack-offsets.sym.
12586 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12587 <sigaltstack-offsets.h>.
12588 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12589 longjmp_msg pointer.
12590 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12591 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12592 signal stack.
12593 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12594
cc03b296
JM
125952012-05-15 Joseph Myers <joseph@codesourcery.com>
12596
a9538892
JM
12597 * elf/stackguard-macros.h: Remove file.
12598 * sysdeps/generic/stackguard-macros.h: New file.
12599 * sysdeps/i386/stackguard-macros.h: Likewise.
12600 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12601 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12602 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12603 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12604 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12605 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12606 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12607 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12608 <elf/stackguard-macros.h>.
12609
cc03b296
JM
12610 [BZ #14109]
12611 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12612 __aligned__ in attribute.
12613 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12614 (gregset_t): Likewise.
12615
93171016
L
126162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12617
12618 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12619 * sysdeps/x86_64/64/Implies-after: Here. New file.
12620 * sysdeps/x86_64/x32/Implies-after: New file.
12621
d86813a0
L
126222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12623
12624 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12625 and access return value for _dl_profile_fixup. Use R10_LP to
12626 load frame size.
12627
2953ec75
L
126282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12629
12630 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12631
3b550e9e
L
126322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12633
12634 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12635 * sysdeps/x86_64/x32/sysdep.h: New file.
12636
eda41706
L
126372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12638
12639 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12640 * sysdeps/x86_64/setjmp.S: Likewise.
12641
9ea01d93
AZ
126422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12643
12644 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12645 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12646 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12647 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12648 remove unused global constant.
12649
02a91938
CM
126502012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12651
12652 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12653 include of <not-cancel.h>.
12654
6540185f
RM
126552012-05-15 Roland McGrath <roland@hack.frob.com>
12656
12657 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12658
509072a0
AJ
126592012-05-15 Jeff Law <law@redhat.com>
12660 Andreas Jaeger <aj@suse.de>
12661
12662 [BZ #13594]
12663 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12664 out from...
12665 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12666 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12667 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12668 code changing __hst_map_handle.map.
12669
ba75122d
RM
126702012-05-15 Roland McGrath <roland@hack.frob.com>
12671
12672 * configure.in (sysnames): Look for Implies-before and Implies-after
12673 files.
12674 * configure: Regenerated.
12675
890d8bd8
L
126762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12677
12678 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12679 8-byte data alignment with LP_SIZE alignment.
12680
f6ee6623
L
126812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12682
12683 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12684 into R10_LP.
12685
ea2626f6
L
126862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12687
12688 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12689
085f715e
L
126902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12691
12692 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12693 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12694 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12695 Likewise.
12696 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12697
be8498fc
L
126982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12699
12700 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12701 (stackinfo_sub_sp): Likewise.
12702
70bc83b9
L
127032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12704
12705 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12706 RAX_LP.
12707
9bc0b730
L
127082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12709
12710 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12711 into R*_LP.
12712
6d2850e7
L
127132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12714
12715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12716 sizes into R*_LP.
12717
3cb84561
L
127182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12719
12720 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12721
54e2ed81
L
127222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12723
12724 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12725 into R11_LP and load __x86_64_shared_cache_size_half into
12726 R8_LP.
12727
8a17f349
L
127282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12729
12730 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12731 R8_LP.
12732
777b1eea
AZ
127332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12734
12735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12736 logb for POWER7.
12737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12738 logbf for POWER7.
12739 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12740 logbl for POWER7.
12741 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12742 powerpc32/power7/fpu/s_logb.c via #include.
12743 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12744 powerpc32/power7/fpu/s_logbf.c via #include.
12745 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12746 powerpc32/power7/fpu/s_logbl.c via #include.
12747
d20d4ac2
JM
127482012-05-15 Joseph Myers <joseph@codesourcery.com>
12749
12750 * README.libm: Remove file.
12751
6cdef1ab
L
127522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12753
12754 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12755 count for x32. Use R*_LP and omit operand-size suffix.
12756
0b254d8f
L
127572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12758
12759 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12760 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12761 * sysdeps/x86_64/x32/shlib-versions: New file.
12762
ceb809dc
RM
127632012-05-14 Roland McGrath <roland@hack.frob.com>
12764
12765 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12766 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12767 Use _dl_fatal_printf instead.
12768
37f1abd4
JM
127692012-05-14 Joseph Myers <joseph@codesourcery.com>
12770
12771 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12772 set if not set by the user. Do not allow for being unset.
12773 * sysdeps/unix/sysv/linux/configure: Regenerated.
12774
11de3a33
L
127752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12776
12777 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12778 the `q' suffix from lea and replace .quad with ASM_ADDR.
12779
e02f153a
L
127802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12781
12782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12783 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12784 instead of $17.
12785 (PTR_DEMANGLE): Likewise.
12786
520ae0fd
L
127872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12788
12789 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12790 (LP_OP): Likewise.
12791 (ASM_ADDR): Likewise.
12792 (RAX_LP): Likewise.
12793 (RBP_LP): Likewise.
12794 (RBX_LP): Likewise.
12795 (RCX_LP): Likewise.
12796 (RDI_LP): Likewise.
12797 (RSI_LP): Likewise.
12798 (RSP_LP): Likewise.
12799 (R8_LP): Likewise.
12800 (R9_LP): Likewise.
12801 (R10_LP): Likewise.
12802 (R10_LP): Likewise.
12803 (R11_LP): Likewise.
12804 (R12_LP): Likewise.
12805 (R13_LP): Likewise.
12806 (R14_LP): Likewise.
12807 (R15_LP): Likewise.
12808
b985be81
L
128092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12810
12811 * sysdeps/x86_64/x32/dl-machine.h: New file.
12812
6a4888ff
AJ
128132012-05-14 Andreas Jaeger <aj@suse.de>
12814
12815 * manual/Makefile (subdir): Remove export of subdir.
12816 (all): Remove target.
12817 (.PHONY): Remove all from list.
12818 (mkinstalldirs): Remove.
12819 (.PHONY): Remove installdirs from list.
12820 ($(inst_infodir)/libc.info): Use make-target-directory.
12821 (installdirs): Remove.
12822 (subdir_%): Remove.
12823 (glibc-targets): Remove.
12824 (lib): Remove.
12825 (stubs): Remove.
12826 ($(objpfx)stubs ../po/manual.pot): Remove.
12827 ($(objpfx)stamp%): Remove.
12828 (make-target-directory): Remove.
12829 (subdir_install): Remove.
12830 (routines): Remove.
12831 (aux): Remove.
12832 (sources): Remove.
12833 (objects): Remove.
12834 (headers): Remove.
12835
12836 [BZ #13750]
12837 * manual/.gitignore: Remove, it's not needed anymore.
12838 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12839 all files in it.
12840 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12841 directory.
12842 (texis): Renamed to $(objpfx)texis.
12843 (texis-path): New, contains path to generated files.
12844 (chapters.%): Use texis-path for complete path, add extra argument
12845 libc-texinfo.sh.
12846 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12847 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12848 (summary,texi, stamp-summary): Use complete path of
12849 files. Generate files in build dir.
12850 (dir-add.texi): Build in build dir.
12851 (libm-err.texi,stamp-libm-err): Likewise.
12852 (version.texi, stamp-version): Likewise.
12853 (.%c.texi): Likewise.
12854 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12855 (mostlyclean): Remove target.
12856 (realclean): Remove target.
12857 (generated): Add new variable with contents from mostlyclean and
12858 realclean, remove entries duplicated in common-mostlyclean, add
12859 stamp-libm-err and stamp-version.
12860 (generated-dirs): Add libc directory.
12861 ($(inst_infodir)/libc.info): Install files from build dir.
12862
12863 * manual/install.texi (Configuring and compiling): Adjust since
12864 the info files are not part of the tar ball anymore.
12865
7ac77294
AJ
128662012-05-14 Andreas Jaeger <aj@suse.de>
12867
12868 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12869 variable.
12870
ffb7875d
JM
128712012-05-14 Joseph Myers <joseph@codesourcery.com>
12872
12873 [BZ #13717]
12874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12875 to 2.2.0 where earlier.
12876 * sysdeps/unix/sysv/linux/configure: Regenerated.
12877 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12878 Remove conditional code.
12879 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12880 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12881 Remove conditional code.
12882 [!__NR_lchown]: Likewise.
12883 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12884 [__NR_lchown]: Likewise.
12885 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12886 comment referencing __ASSUME_LCHOWN_SYSCALL.
12887 * sysdeps/unix/sysv/linux/i386/sigaction.c
12888 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12889 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12890 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12891 Remove conditional code.
12892 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12893 (__protocol_available): Remove #if 0 code.
12894 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12895 conditional code.
12896 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12897 * sysdeps/unix/sysv/linux/kernel-features.h
12898 (__ASSUME_GETCWD_SYSCALL): Don't define.
12899 (__ASSUME_REALTIME_SIGNALS): Likewise.
12900 (__ASSUME_PREAD_SYSCALL): Likewise.
12901 (__ASSUME_PWRITE_SYSCALL): Likewise.
12902 (__ASSUME_POLL_SYSCALL): Likewise.
12903 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12904 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12905 non-SPARC.
12906 (__ASSUME_SIOCGIFNAME): Don't define.
12907 (__ASSUME_MSG_NOSIGNAL): Likewise.
12908 (__ASSUME_SENDFILE): Define unconditionally.
12909 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12910 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12911 conditional code.
12912 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12913 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12914 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12915 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12916 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12917 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12918 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12920 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12921 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12923 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12924 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12926 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12929 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12930 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12932 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12935 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12936 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12938 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12941 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12943 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12944 Remove conditional code.
12945 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12946 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12947 Remove conditional code.
12948 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12949 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12950 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12951 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12952 Remove conditional code.
12953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12954 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12955 Remove conditional code.
12956 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12957 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12958 Remove conditional code.
12959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12960 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12961 Remove conditional code.
12962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12963 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12964 Remove conditional code.
12965 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12966 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12967 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12968 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12969 * sysdeps/unix/sysv/linux/sigaction.c
12970 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12971 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12972 * sysdeps/unix/sysv/linux/sigpending.c
12973 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12974 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12975 * sysdeps/unix/sysv/linux/sigprocmask.c
12976 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12977 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12978 * sysdeps/unix/sysv/linux/sigsuspend.c
12979 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12980 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12981 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12982 (__libc_missing_rt_sigs): Remove.
12983 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12984 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12985 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12986 Remove conditional code.
12987 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12988 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12989 return 1.
12990 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12991 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12992 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12993 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12994
1bfb7291
AJ
129952012-05-14 Andreas Jaeger <aj@suse.de>
12996
caae5a81
AJ
12997 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12998 it's not used in glibc.
12999 (__coshm1): Likewise.
13000 (__acosh1p): Likewise.
13001 (__sgn): Likewise.
13002
1bfb7291
AJ
13003 * manual/string.texi (Copying and Concatenation): Add missing
13004 variable in concat example.
13005 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13006
c044d724
L
130072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13008
144c5467 13009 [BZ #14103]
c044d724
L
13010 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13011 __builtin_clzl with __builtin_clzll.
13012
2523c62b
L
130132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13014
13015 [BZ #14104]
13016 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13017 libc_freeres_ptr.
13018
d7bb4c42
LD
130192012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13020
13021 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13022 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13023 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13024 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13025
9dc4e1fb
MF
130262012-05-14 Mike Frysinger <vapier@gentoo.org>
13027
13028 * NEWS: Update ia64 info.
13029
c7df0112
AS
130302012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13031
13032 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13033 used as bcopy.
13034
dc70356c
TS
130352012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13036
13037 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13038 * sysdeps/unix/syscalls.list (dup3): Likewise.
13039 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13040 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13041
9fb1a21f
L
130422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13043
13044 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13045 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13046
4822a2a5
L
130472012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13048
13049 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13050 thread pointer.
13051 (TLS_IE): Use mov/add instead of movq/addq to load thread
13052 pointer.
13053 (TLS_GD_PREFIX): New.
13054 (TLS_GD): Use it.
13055
842b81d6
DM
130562012-05-11 David S. Miller <davem@davemloft.net>
13057
13058 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13059 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13060 (_FPU_SETCW): Likewise.
13061
1cf463cd
L
130622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13063
13064 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13065 is 32-byte aligned.
13066
60cc4a18
AS
130672012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13068
13069 [BZ #11837]
13070 * iconvdata/gb18030.c: Update tables.
13071 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13072 characters specially.
13073 (BODY for TO_LOOP): Add encoding of missing ranges.
13074
febb44a4
TS
130752012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13076
13077 [BZ #13673]
13078 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13079 * sysdeps/mach/hurd/dup3.c: Likewise.
13080 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13081 * sysdeps/powerpc/memmove.c:: Likewise.
13082
0a10fb9e
L
130832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13084
13085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13086 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13087
df8a552f
L
130882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13089
13090 * elf/elf.h (R_X86_64_RELATIVE64): New.
13091 (R_X86_64_NUM): Updated.
13092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13093 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13094 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13095 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13096 tst-quad1pie tst-quad2pie
13097 (modules-names): Add tst-quadmod1 tst-quadmod2.
13098 ($(objpfx)tst-quad1): New dependency.
13099 ($(objpfx)tst-quad2): Likewise.
13100 ($(objpfx)tst-quad1pie): Likewise.
13101 ($(objpfx)tst-quad2pie): Likewise.
13102 * sysdeps/x86_64/tst-quad1.c: New file.
13103 * sysdeps/x86_64/tst-quad1pie.c: New file.
13104 * sysdeps/x86_64/tst-quad2.c: Likewise.
13105 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13106 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13107 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13108 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13109 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13110
f34d6f84
ST
131112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13112
f42d41d1
ST
13113 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13114 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13115 * streams/stropts.h (t_scalar_t): Define type.
13116
3c3571fc
ST
13117 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13118 (_PATH_PRESERVE): Set to "/var/lib".
13119 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13120
61f06bd3
ST
13121 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13122 instead of int.
13123
918d4d71
ST
13124 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13125 if __dir_mkfile succeeded.
13126
f34d6f84
ST
13127 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13128 checking for _hurd_dtablesize. Unlock it right after having
13129 finished _hurd_dtable allocation.
13130
10589b4a
TS
131312012-05-10 Thomas Schwinge <thomas@schwinge.name>
13132
674cdbc7
TS
13133 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13134 * sysdeps/mach/hurd/configure: Regenerated.
13135 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13136 special-casing to...
13137 * sysdeps/gnu/configure.in: ... this new file.
13138 * sysdeps/unix/sysv/linux/configure: Regenerated.
13139 * sysdeps/gnu/configure: New generated file.
13140
8e41b99f
TS
13141 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13142 for Linux: use nsec instead of usec, as well as:
13143 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13144 members of type struct timespec.
13145 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13146 New macros.
13147 (struct stat64): Likewise.
13148 (_STATBUF_ST_NSEC): New macro.
13149 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13150
10589b4a
TS
13151 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13152 __strtoul_internal rather than strtoul.
13153
63643c85
PT
131542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13155
13156 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13157 and reject them.
13158
3faebe6a
ST
131592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13160
13161 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13162 which preserves existing values.
13163 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13164
c6474b07
PT
131652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13166
13167 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13168 TIMEOUT values. Return EINVAL for NFDS values either negative or
13169 greater than FD_SETSIZE.
13170
1043890b
ST
131712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13172
13173 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13174 allocated, call __vm_protect to finish enabling the existing space, and
13175 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13176 allocate the remainder.
13177
37ed8b9b
PT
131782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13179
13180 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13181 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13182
db653660
ST
131832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13184
37ed8b9b
PT
13185 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13186 sysdeps/mach/hurd/readlink.c.
b29d4053 13187
db653660
ST
13188 * posix/tst-sysconf.c (posix_options): Only use
13189 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13190 _POSIX_SYNCHRONIZED_IO when they are defined
13191 * sysdeps/mach/hurd/bits/posix_opt.h:
13192 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13193 (_XOPEN_REALTIME): Undefine macro.
13194 (_XOPEN_REALTIME_THREADS): Undefine macro.
13195 (_XOPEN_SHM): Undefine macro.
13196 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13197 macro to -1.
13198 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13199 macro to -1.
13200 (_POSIX_ASYNC_IO): Undefine macro.
13201 (_POSIX_PRIORITIZED_IO): Undefine macro.
13202 (_POSIX_SPIN_LOCKS): Define macro to -1.
13203
ee16e894
ST
13204 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13205 SA_NODEFER, SA_RESETHAND.
13206 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13207 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13208 F_DUPFD_CLOEXEC.
13209
6103ae3b
TS
132102012-05-10 Thomas Schwinge <thomas@schwinge.name>
13211
13212 * elf/Makefile (pldd-modules): Define unconditionally.
13213
80b4e5f3
TS
132142012-05-10 Thomas Schwinge <thomas@schwinge.name>
13215
13216 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13217
edadcbd6
ST
132182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13219
13220 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13221 Return ENOENT when name is empty.
13222 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13223
80694780
TS
132242012-05-10 Thomas Schwinge <thomas@schwinge.name>
13225
1792c087
TS
13226 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13227
80694780
TS
13228 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13229
6b645f0d
ST
132302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13231
80694780
TS
13232 Fix mlock in all cases except non-readable pages.
13233 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13234 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13235
6b645f0d
ST
13236 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13237 (__mkdir): When path is `/', just fail with EEXIST.
13238 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13239
e468f8a3
TS
132402012-05-10 Thomas Schwinge <thomas@schwinge.name>
13241
13242 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13243 <sys/uio.h> (for writev).
13244 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13245 and <sys/param.h> (for MIN).
13246
a4186cff
PT
132472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13248
13249 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13250 REQUESTED_TIME. Properly set the remaining time and return EINTR
13251 if interrupted.
13252
510bbf14
TS
132532012-05-10 Thomas Schwinge <thomas@schwinge.name>
13254
13255 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13256 Depend on against $(link-rpcuserlibs).
13257
5d5722e8
ST
132582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13259
a4186cff
PT
13260 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13261 (__libc_stack_end): Do not use attribute_relro.
13262 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13263 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13264 to libthread-provided value.
a4186cff
PT
13265 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13266 attribute_relro.
5d5722e8 13267
37233df9
TS
132682012-05-10 Thomas Schwinge <thomas@schwinge.name>
13269
be971a2b
TS
13270 [BZ #3748]
13271 * bits/libc-lock.h (__libc_once_get): New macro.
13272 * sysdeps/mach/bits/libc-lock.h: Likewise.
13273 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13274 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13275 instead of using implementation details.
13276
37233df9
TS
13277 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13278 * libio/freopen.c: Likewise.
13279 * libio/freopen64.c: Likewise.
13280 * misc/syslog.c: Likewise.
13281 * nscd/connections.c: Likewise.
13282 * nscd/netgroupcache.c: Likewise.
13283 * sysdeps/posix/getcwd.c: Likewise.
13284
38de94a5
RM
132852012-05-10 Roland McGrath <roland@hack.frob.com>
13286
13287 * math/w_ilogbf.c: Add #include <limits.h>.
13288
67530489
ST
132892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13290
a4186cff 13291 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13292 path instead of returning without unlocking.
13293
67530489
ST
13294 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13295 immediate-write ioctls.
13296 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13297
5aa3a74a
TS
132982012-05-10 Thomas Schwinge <thomas@schwinge.name>
13299
18bad2ae
TS
13300 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13301 __builtin_frame_address instead of making assumptions about the
13302 location of the return address relative to DATA. Force early load of
13303 the return address.
13304 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13305 __builtin_frame_address.
13306
5aa3a74a
TS
13307 dup3 for GNU Hurd.
13308 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13309 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13310 implement dup3 and do some further code clean-ups.
13311 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13312 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13313
ecd0de9a
ST
133142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13315
cd9fa985
ST
13316 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13317
a4186cff
PT
13318 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13319 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13320 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13321 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13322 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13323 d->port.lock.
802ca5a5 13324
a4186cff
PT
13325 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13326 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13327 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13328
bcf55240
TS
133292012-05-10 Thomas Schwinge <thomas@schwinge.name>
13330
6960eb42
TS
13331 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13332 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13333 definitions.
13334
eb43375f
TS
13335 accept4 for GNU Hurd.
13336 * include/sys/socket.h (__libc_accept4): New prototype.
13337 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13338 to implement __libc_accept4.
13339 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13340 __libc_accept4.
13341 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13342
bcf55240
TS
13343 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13344 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13345 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13346 signal-defines.sym.
13347
6178c55b
ST
133482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13349
a4186cff 13350 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13351
6f080c2f
TS
133522012-05-10 Thomas Schwinge <thomas@schwinge.name>
13353
13354 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13355 assertion on O_CLOEXEC flag.
13356 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13357 * hurd/intern-fd.c: Likewise.
13358 * hurd/port2fd.c: Likewise.
13359
bcfe3a54
ST
133602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13361
13362 [BZ #3906]
13363 * bits/in.h (IPV6_PKTINFO): Define new macro.
13364 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13365
89c9aa49
AZ
133662012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13367
13368 [BZ #13954]
13369 [BZ #13955]
13370 [BZ #13956]
13371 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13372 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13373 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13374 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13376 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13377 * math/libm-test.inc (logb_test) : Additional logb tests.
13378
021db4be
AJ
133792012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13380 Andreas Jaeger <aj@suse.de>
13381
13382 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13383 * configure: Regenerated.
13384 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13385 * config.make.in (link-obsolete-rpc): New substituted variable.
13386 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13387 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13388 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13389 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13390 so that libc.a contains the symbols.
13391 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13392 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13393 * sunrpc/auth_none.c: Likewise.
13394 * sunrpc/auth_unix.c: Likewise.
13395 * sunrpc/authdes_prot.c: Likewise.
13396 * sunrpc/authuxprot.c: Likewise.
13397 * sunrpc/clnt_gen.c: Likewise.
13398 * sunrpc/clnt_perr.c: Likewise.
13399 * sunrpc/clnt_raw.c: Likewise.
13400 * sunrpc/clnt_simp.c: Likewise.
13401 * sunrpc/clnt_tcp.c: Likewise.
13402 * sunrpc/clnt_udp.c: Likewise.
13403 * sunrpc/clnt_unix.c: Likewise.
13404 * sunrpc/des_crypt.c: Likewise.
13405 * sunrpc/des_soft.c: Likewise.
13406 * sunrpc/get_myaddr.c: Likewise.
13407 * sunrpc/key_call.c: Likewise.
13408 * sunrpc/key_prot.c: Likewise.
13409 * sunrpc/netname.c: Likewise.
13410 * sunrpc/pm_getmaps.c: Likewise.
13411 * sunrpc/pm_getport.c: Likewise.
13412 * sunrpc/pmap_clnt.c: Likewise.
13413 * sunrpc/pmap_prot.c: Likewise.
13414 * sunrpc/pmap_prot2.c: Likewise.
13415 * sunrpc/pmap_rmt.c: Likewise.
13416 * sunrpc/publickey.c: Likewise.
13417 * sunrpc/rpc_cmsg.c: Likewise.
13418 * sunrpc/rpc_common.c: Likewise.
13419 * sunrpc/rpc_dtable.c: Likewise.
13420 * sunrpc/rpc_prot.c: Likewise.
13421 * sunrpc/rpc_thread.c: Likewise.
13422 * sunrpc/rtime.c: Likewise.
13423 * sunrpc/svc.c: Likewise.
13424 * sunrpc/svc_auth.c: Likewise.
13425 * sunrpc/svc_raw.c: Likewise.
13426 * sunrpc/svc_run.c: Likewise.
13427 * sunrpc/svc_tcp.c: Likewise.
13428 * sunrpc/svc_udp.c: Likewise.
13429 * sunrpc/svc_unix.c: Likewise.
13430 * sunrpc/svcauth_des.c: Likewise.
13431 * sunrpc/xcrypt.c: Likewise.
13432 * sunrpc/xdr.c: Likewise.
13433 * sunrpc/xdr_array.c: Likewise.
13434 * sunrpc/xdr_float.c: Likewise.
13435 * sunrpc/xdr_intXX_t.c: Likewise.
13436 * sunrpc/xdr_mem.c: Likewise.
13437 * sunrpc/xdr_rec.c: Likewise.
13438 * sunrpc/xdr_ref.c: Likewise.
13439 * sunrpc/xdr_sizeof.c: Likewise.
13440 * sunrpc/xdr_stdio.c: Likewise.
13441
b5c086a2
RM
134422012-05-10 Roland McGrath <roland@hack.frob.com>
13443
13444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13445 change. Update copyright years.
13446
6d74dd09
JM
134472012-05-10 Joseph Myers <joseph@codesourcery.com>
13448
13449 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13450
28e72501
MK
134512012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13452 Joseph Myers <joseph@codesourcery.com>
13453 Paul Pluzhnikov <ppluzhnikov@google.com>
13454
13455 [BZ #14012]
13456 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13457 requiring rpcgen.
13458 [cross-compiling] (extra-libs): Likewise.
13459 [cross-compiling] (extra-libs-others): Likewise.
13460 [cross-compiling] (librpcsvc-routines): Likewise.
13461 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13462 [cross-compiling] (omit-deps): Likewise.
13463 (sunrpc-CPPFLAGS): New variable.
13464 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13465 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13466 (cross-rpcgen-objs): New variable.
13467 (extra-objs): Append $(cross-rpcgen-objs).
13468 ($(cross-rpcgen-objs)): New rule.
13469 ($(objpfx)cross-rpcgen): Likewise.
13470 (rpcgen-cmd): Define to use $(built-program-file). Expand
13471 comment.
13472 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13473 ($(objpfx)x%.stmp): Likewise.
13474 * sunrpc/proto.h [IS_IN_build] (_): Define.
13475 [IS_IN_build] (_libc_intl_domainname): Likewise.
13476
c8c59454
L
134772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13478
13479 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13480 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13481 and R_X86_64_TPOFF64.
13482
6f27cd16
JM
134832012-05-10 Joseph Myers <joseph@codesourcery.com>
13484
13485 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13486 sysdeps/unix/sysv/syscalls.list.
13487 (stime): Likewise.
13488 (utime): Likewise.
13489 * sysdeps/unix/sysv/syscalls.list: Remove file.
13490
02467e1c
PE
134912012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13492
13493 [BZ #3440]
13494 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13495 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13496 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13497 (__LC_IDENTIFICATION): Make these macros useful in #if
13498 expressions, as required by C99.
13499
da392631
AS
135002012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13501
13502 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13503 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13504 after this.
13505
8115f29b
L
135062012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13507
13508 * stdlib/longlong.h: Updated from GCC.
13509
bdd74070
AJ
135102012-05-09 Andreas Jaeger <aj@suse.de>
13511
edfe0dbe
AJ
13512 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13513 default is first entry.
13514 (run_mode): Set type.
13515 (main): Remove informal message about syslog.
13516 (options): Fix typo.
13517
bcfe3a54
ST
13518 [BZ #14053]
13519 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13520 to asm.
bcfe3a54
ST
13521 (lrint): Likewise.
13522 (llrintf): Likewise.
13523 (llrint): Likewise.
13524 (rint): Likewise.
13525 (rintf): Likewise.
13526 (nearbyint): Likewise.
13527 (nearbyintf): Likewise.
bdd74070 13528
91d8d69e
AJ
135292012-05-09 Andreas Jaeger <aj@suse.de>
13530 Pedro Alves <palves@redhat.com>
13531
13532 * nscd/nscd.c (run_mode): Use enum.
13533 (main): Cleanup coding style issue.
13534
bb90b80b
AJ
135352012-05-09 Alexandre Oliva <aoliva@redhat.com>
13536 Andreas Jaeger <aj@suse.de>
13537
bcfe3a54
ST
13538 * nscd/nscd.c (go_background): Replaced with...
13539 (run_mode): ... this.
bb90b80b 13540 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13541 (options): Add -F --foreground.
13542 (main): Implement it.
13543 (parse_opt): Parse it.
bb90b80b 13544
1a4b75a1
AJ
135452012-05-09 Andreas Jaeger <aj@suse.de>
13546
13547 [BZ #14083]
13548 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13549 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13550 -Wconversion warning.
13551 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13552 Likewise.
13553
b1cc2472
JM
135542012-05-09 Joseph Myers <joseph@codesourcery.com>
13555
13556 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13557 == 0.
13558 (LC_ALL): Use macro-int-constant.
13559 (LC_COLLATE): Likewise.
13560 (LC_CTYPE): Likewise.
13561 (LC_MESSAGES): Likewise.
13562 (LC_MONETARY): Likewise.
13563 (LC_NUMERIC): Likewise.
13564 (LC_TIME): Likewise.
13565 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13566 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13568 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13569 Specify type.
13570 [C99-based standards] (float_t): Expect type.
13571 [C99-based standards] (double_t): Expect type.
13572 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13573 type.
13574 [C99-based standards] (HUGE_VALL): Likewise.
13575 [C99-based standards] (INFINITY): Likewise.
13576 [C99-based standards] (NAN): Likewise.
13577 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13578 [C99-based standards] (FP_NAN): Likewise.
13579 [C99-based standards] (FP_NORMAL): Likewise.
13580 [C99-based standards] (FP_SUBNORMAL): Likewise.
13581 [C99-based standards] (FP_ZERO): Likewise.
13582 [C99-based standards] (FP_FAST_FMA): Use
13583 optional-macro-int-constant. Specify type. Require == 1.
13584 [C99-based standards] (FP_FAST_FMAF): Likewise.
13585 [C99-based standards] (FP_FAST_FMAL): Likewise.
13586 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13587 [C99-based standards] (FP_ILOGBNAN): Likewise.
13588 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13589 Specify type.
13590 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13591 [C99-based standards] (math_errhandling): Specify type.
13592 [ISO99 || ISO11] (signgam): Do not allow.
13593 [non-C99-based standards] (copysignf): Do not allow.
13594 [non-C99-based standards] (exp2f): Likewise.
13595 [non-C99-based standards] (log2f): Likewise.
13596 [non-C99-based standards] (modff): Allow.
13597 [non-C99-based standards] (erff): Do not allow.
13598 [non-C99-based standards] (erfcf): Likewise.
13599 [non-C99-based standards] (gammaf): Likewise.
13600 [non-C99-based standards] (hypotf): Likewise.
13601 [non-C99-based standards] (j0f): Likewise.
13602 [non-C99-based standards] (j1f): Likewise.
13603 [non-C99-based standards] (jnf): Likewise.
13604 [non-C99-based standards] (lgammaf): Likewise.
13605 [non-C99-based standards] (tgammaf): Likewise.
13606 [non-C99-based standards] (y0f): Likewise.
13607 [non-C99-based standards] (y1f): Likewise.
13608 [non-C99-based standards] (ynf): Likewise.
13609 [non-C99-based standards] (isnanf): Likewise.
13610 [non-C99-based standards] (acoshf): Likewise.
13611 [non-C99-based standards] (asinhf): Likewise.
13612 [non-C99-based standards] (atanhf): Likewise.
13613 [non-C99-based standards] (cbrtf): Likewise.
13614 [non-C99-based standards] (expm1f): Likewise.
13615 [non-C99-based standards] (ilogbf): Likewise.
13616 [non-C99-based standards] (log1pf): Likewise.
13617 [non-C99-based standards] (logbf): Likewise.
13618 [non-C99-based standards] (nextafterf): Likewise.
13619 [non-C99-based standards] (remainderf): Likewise.
13620 [non-C99-based standards] (rintf): Likewise.
13621 [non-C99-based standards] (scalbf): Likewise.
13622 [non-C99-based standards] (copysignl): Likewise.
13623 [non-C99-based standards] (exp2l): Likewise.
13624 [non-C99-based standards] (log2l): Likewise.
13625 [non-C99-based standards] (modfl): Allow.
13626 [non-C99-based standards] (erfl): Do not allow.
13627 [non-C99-based standards] (erfcl): Likewise.
13628 [non-C99-based standards] (gammal): Likewise.
13629 [non-C99-based standards] (hypotl): Likewise.
13630 [non-C99-based standards] (j0l): Likewise.
13631 [non-C99-based standards] (j1l): Likewise.
13632 [non-C99-based standards] (jnl): Likewise.
13633 [non-C99-based standards] (lgammal): Likewise.
13634 [non-C99-based standards] (tgammal): Likewise.
13635 [non-C99-based standards] (y0l): Likewise.
13636 [non-C99-based standards] (y1l): Likewise.
13637 [non-C99-based standards] (ynl): Likewise.
13638 [non-C99-based standards] (isnanl): Likewise.
13639 [non-C99-based standards] (acoshl): Likewise.
13640 [non-C99-based standards] (asinhl): Likewise.
13641 [non-C99-based standards] (atanhl): Likewise.
13642 [non-C99-based standards] (cbrtl): Likewise.
13643 [non-C99-based standards] (expm1l): Likewise.
13644 [non-C99-based standards] (ilogbl): Likewise.
13645 [non-C99-based standards] (log1pl): Likewise.
13646 [non-C99-based standards] (logbl): Likewise.
13647 [non-C99-based standards] (nextafterl): Likewise.
13648 [non-C99-based standards] (remainderl): Likewise.
13649 [non-C99-based standards] (rintl): Likewise.
13650 [non-C99-based standards] (scalbl): Likewise.
13651 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13652 [non-C99-based standards] (FP_*): Do not allow.
13653 [C99-based standards] (FP_*): Change to
13654 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13655 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13656 allow.
13657 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13658 (SIG_ERR): Likewise.
13659 [X/Open-based standards] (SIG_HOLD): Likewise.
13660 (SIG_IGN): Likewise.
13661 (SIGABRT): Use macro-int-constant. Specify type. Require
13662 positive value.
13663 (SIGFPE): Likewise.
13664 (SIGILL): Likewise.
13665 (SIGINT): Likewise.
13666 (SIGSEGV): Likewise.
13667 (SIGTER): Likewise.
13668 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13669 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13670 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13671 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13672 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13673 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13674 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13675 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13676 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13677 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13678 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13679 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13680 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13681 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13682 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13683 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13684 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13685 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13686 [X/Open-based standards] (SIGTRAP): Likewise.
13687 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13688 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13689 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13690 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13691 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13692 allow.
13693
b9f1922d
IW
136942012-05-08 Ian Wienand <ianw@vmware.com>
13695
13696 [BZ #14080]
13697 * time/tzset.c (__tzset_parse_tz): Update default rules for
13698 daylight time changes in the Energy Policy Act of 2005.
13699
1db86e88
AJ
137002012-05-09 Andreas Jaeger <aj@suse.de>
13701
13702 [BZ #13983]
13703 * elf/ldconfig.c (parse_conf): Change string to make clear that
13704 ldconfig only issued a warning if ld.so.conf does not exist.
13705
dee4a4e3
DM
137062012-05-08 David S. Miller <davem@davemloft.net>
13707
ee0db190
DM
13708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13709 movxtod instead of popping the value on the stack.
13710
dee4a4e3
DM
13711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13712
6a43ec98
CD
137132012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13714
13715 * config.h.in: Add HAVE_ARM_PCS_VFP.
13716
05c2c961
RMG
137172012-05-08 Roland Mc Grath <roland@hack.frob.com>
13718
bcfe3a54
ST
13719 [BZ #13979]
13720 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13721 checking but the checks are disabled for any reason.
05c2c961 13722
4b30f61a
L
137232012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13724
13725 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13726 and ELF64_R_TYPE with ELFW(R_TYPE).
13727
eee2bc67
JM
137282012-05-08 Joseph Myers <joseph@codesourcery.com>
13729
7ea5391a
JM
13730 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13731 (ulimit): Likewise.
13732
eee2bc67
JM
13733 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13734 (settimeofday): Likewise.
13735
abb66a67
MF
137362012-05-08 Mike Frysinger <vapier@gentoo.org>
13737
13738 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13739 a struct th_u2 inside the union, and move tu_block/tu_code into
13740 a new th_u3 union of tu_block/tu_code inside of that. Move
13741 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13742 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13743 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13744 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13745 (th_stuff): Change to th_u1.tu_stuff.
13746 (th_data): Define.
13747 (th_msg): Change to th_u1.th_u2.tu_data.
13748
7f18b530
DM
137492012-05-07 David S. Miller <davem@davemloft.net>
13750
05760585
DM
13751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13752
7f18b530
DM
13753 [BZ #14074]
13754 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13755 (SETUP_PIC_REG): Use it.
13756 (SETUP_PIC_REG_LEAF): Use it.
13757
495fd99f
JM
137582012-05-07 Joseph Myers <joseph@codesourcery.com>
13759
13760 [BZ #13885]
13761 [BZ #13923]
13762 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13763 USE_AS_EXPM1L.
13764 (EXPL_FINITE): Likewise.
13765 (FLDLOG): Likewise.
13766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13767 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13768 e_expl.S.
13769 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13770 USE_AS_EXPM1L.
13771 (EXPL_FINITE): Likewise.
13772 (FLDLOG): Likewise.
13773 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13774 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13775 e_expl.S.
13776 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13777 test of -max_value argument for long double.
13778 * sysdeps/i386/fpu/libm-test-ulps: Update.
13779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13780
6693d694
DM
137812012-05-06 David S. Miller <davem@davemloft.net>
13782
13783 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13784 quad soft-float symbols whose references which are compiler
13785 generated.
13786 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13787
6c23e11c
JM
137882012-05-06 Joseph Myers <joseph@codesourcery.com>
13789
d8b82cad
JM
13790 [BZ #13884]
13791 [BZ #13914]
13792 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13793 USE_AS_EXP10L.
13794 (EXPL_FINITE): Likewise.
13795 (FLDLOG): Likewise.
13796 (c0): Likewise.
13797 (c1): Likewise.
13798 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13799 Adjust comments for base varying.
13800 (__expl_finite): Change alias to EXPL_FINITE.
13801 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13802 e_expl.S.
13803 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13804 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13806 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13807 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13808 USE_AS_EXP10L.
13809 (EXPL_FINITE): Likewise.
13810 (FLDLOG): Likewise.
13811 (c0): Likewise.
13812 (c1): Likewise.
13813 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13814 Adjust comments for base varying.
13815 (__expl_finite): Change alias to EXPL_FINITE.
13816 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13817 tests for bugs.
13818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13819
6c23e11c
JM
13820 [BZ #14064]
13821 * math/libm-test.inc (check_float_internal): Correct ulp
13822 calculation for subnormal expected results.
13823
29ba805c
AJ
138242012-05-06 Andreas Jaeger <aj@suse.de>
13825
13826 * Makeconfig (+math-flags): New, set to -frounding-math.
13827 (+cflags): Add +math-flags so that all of glibc gets compiled with
13828 it.
13829
13830 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13831
7b17aeda
JM
138322012-05-05 Joseph Myers <joseph@codesourcery.com>
13833
5779f134
JM
13834 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13835 Disable one test.
13836
41498f4d
JM
13837 [BZ #13787]
13838 [BZ #13922]
13839 [BZ #14036]
13840 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13841 (__ieee754_expl): Allow for and saturate large arguments.
13842 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13843 (u_threshold): Likewise.
13844 (__exp): Call __ieee754_exp before checking for overflow and
13845 underflow.
13846 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13847 (u_threshold): Likewise.
13848 (__expf): Call __ieee754_expf before checking for overflow and
13849 underflow.
13850 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13851 (u_threshold): Likewise.
13852 (__expl): Call __ieee754_expl before checking for overflow and
13853 underflow.
13854 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13855 (__ieee754_expl): Allow for and saturate large arguments.
13856 * math/libm-test.inc (exp_test): Add another test. Do not allow
13857 missing overflow exception on overflow.
13858 (expm1_test): Do not allow missing overflow exception on overflow.
13859
6698b8bf
JM
13860 * sysdeps/i386/fpu/e_expl.c: Move to ...
13861 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13862 rather than using inline asm.
13863 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13864 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13865 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13866
7b17aeda
JM
13867 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13868 (nice): Likewise.
13869 (poll): Likewise.
13870 (signal): Likewise.
13871 (time): Likewise.
13872 (times): Likewise.
13873
f7c85819
JM
138742012-05-04 Joseph Myers <joseph@codesourcery.com>
13875
13876 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13877 sysdeps/unix/common/syscalls.list.
13878 (fchmod): Likewise.
13879 (fchown): Likewise.
13880 (ftruncate): Likewise.
13881 (getrusage): Likewise.
13882 (gettimeofday): Likewise.
13883 (setpgid): Likewise.
13884 (setregid): Likewise.
13885 (setreuid): Likewise.
13886 (sigaction): Likewise.
13887 (truncate): Likewise.
13888 (vhangup): Likewise.
13889 * sysdeps/unix/common/syscalls.list: Remove file.
13890 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13891 * sysdeps/unix/sysv/linux/Implies: Likewise.
13892
336270d0
L
138932012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13894
13895 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13897 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13898 Moved to ...
13899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13900 Here.
13901 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13902 to ...
13903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13904 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13905 to ...
13906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13907 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13908 to ...
13909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13910 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13911 to ...
13912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13913 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13914 to ...
13915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13916 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13917 to ...
13918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13919 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13920 to ...
13921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13922 Here.
13923 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13924 to ...
13925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13926 Here.
13927 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13928 to ...
13929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13930 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13931 Moved to ...
13932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13933 Here.
13934 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13935 to ...
13936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13937
d128e450
JM
139382012-05-04 Joseph Myers <joseph@codesourcery.com>
13939
fa8ee516
JM
13940 * sysdeps/unix/common/bits/dirent.h: Remove file.
13941 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13942
d128e450
JM
13943 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13944 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13945 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13946 * sysdeps/unix/bsd/isatty.c: Likewise.
13947 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13948 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13949 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13950
ff8faaf0 139512012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13952
62881be4 13953 [BZ #13563]
31dc8730
AZ
13954 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13955 long double comparison inaccuracies.
13956 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13958
6fef930c
AS
139592012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13960
13961 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13962 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13963
8f203e6c
JM
139642012-05-04 Joseph Myers <joseph@codesourcery.com>
13965
13966 [BZ #14049]
13967 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13968 nonzero digits before rounding a hex value.
13969 * stdlib/tst-strtod.c (tests): Add another test.
13970
5197d9c2
AK
139712012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13972
13973 * sysdeps/s390/fpu/libm-test-ulps: Update.
13974
f0c1dedf
AJ
139752012-05-03 Andreas Jaeger <aj@suse.de>
13976
13977 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13978 does not get optimized out.
13979 (malloc_opt_barrier): New.
13980
a65ef2ae 139812012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13982 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13983
2b942cb7 13984 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13985 intermediate file deletion.
2b942cb7 13986 (generated): Add .symlist files.
a65ef2ae 13987
54b71e02
JM
139882012-05-03 Joseph Myers <joseph@codesourcery.com>
13989
13990 [BZ #13775]
13991 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13992 Redirect under this condition.
13993 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13994 [__USE_GNU] (__dprintf_chk): Not under this condition.
13995 [__USE_GNU] (__vdprintf_chk): Likewise.
13996 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13997 under this condition.
13998 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13999 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14000 [__USE_XOPEN2K8] (vdprintf): Likewise.
14001 [__USE_GNU] (__dprintf_chk): Not under this condition.
14002 [__USE_GNU] (__vdprintf_chk): Likewise.
14003 [__USE_GNU] (dprintf): Likewise.
14004 [__USE_GNU] (vdprintf): Likewise.
14005
d3dfcc41
RM
140062012-05-03 Roland McGrath <roland@hack.frob.com>
14007
14008 * elf/Makefile (common-generated): Set this instead of generated for
14009 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14010 $(all-built-dso)-derived lists.
14011
7ac30cc5
AJ
140122012-05-03 Andreas Jaeger <aj@suse.de>
14013
0c51e550
AJ
14014 * sysdeps/i386/fpu/libm-test-ulps: Update.
14015
7ac30cc5
AJ
14016 * FAQ: Removed.
14017 * FAQ.in: Likewise.
14018 * scripts/gen-FAQ.pl: Likewise.
14019 * manual/install.texi (Installation): Point to online location of
14020 FAQ.
14021 * Makefile (files-for-dist): Remove FAQ.
14022 (FAQ): Remove.
14023
d4c2917f
AM
140242012-05-02 Allan McRae <allan@archlinux.org>
14025
14026 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14027 (LDFLAGS-reldepmod5.so): Likewise.
14028 (LDFLAGS-reldep6mod1.so): Likewise.
14029 (LDFLAGS-reldep6mod4.so): Likewise.
14030 (LDFLAGS-reldep8mod3.so): Likewise.
14031 (LDFLAGS-unload4mod1.so): Likewise.
14032 (LDFLAGS-unload4mod2.so): Likewise.
14033 (LDFLAGS-tst-initorder): Likewise.
14034 (LDFLAGS-tst-initordera2.so): Likewise.
14035 (LDFLAGS-tst-initordera3.so): Likewise.
14036 (LDFLAGS-tst-initordera4.so): Likewise.
14037 (LDFLAGS-tst-initorderb2.so): Likewise.
14038 (LDFLAGS-noload): Likewise.
14039 (LDFLAGS-next): Likewise.
14040 (LDFLAGS-order2mod1.so): Likewise.
14041 (LDFLAGS-order2mod2.so): Likewise.
14042 (LDFLAGS-tst-initorder2): Likewise.
14043 (LDFLAGS-tst-initorder2a.so): Likewise.
14044 (LDFLAGS-tst-initorder2b.so): Likewise.
14045 (LDFLAGS-tst-initorder2c.so): Likewise.
14046 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14047
d77f993f
DM
140482012-05-02 David S. Miller <davem@davemloft.net>
14049
14050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14051
171a70b4
PP
140522012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14053
14054 [BZ #14055]
14055 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14056
0be196ad
AJ
140572012-05-02 Andreas Jaeger <aj@suse.de>
14058
14059 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14060 since we manipulate rounding mode.
14061 (CPPFLAGS-test-idouble.c): Likewise.
14062 (CPPFLAGS-test-ifloat.c): Likewise.
14063 (CFLAGS-test-ldouble.c): Likewise.
14064 (CFLAGS-test-double.c): Likewise.
14065 (CFLAGS-test-float.c): Likewise.
14066 (CFLAGS-test-misc.c): Likewise.
14067 (CFLAGS-test-test-fenv.c): Likewise.
14068
4f9d04aa
AZ
140692012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14070
2b942cb7
RM
14071 [BZ #2550]
14072 [BZ #2570]
14073 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14074 comparisons to determine direction to adjust input.
4f9d04aa 14075
82a79e7d
RM
140762012-05-01 Roland McGrath <roland@hack.frob.com>
14077
f5a01ca9
RM
14078 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14079 output to the target.
14080
90fe4186
RM
14081 * scripts/localplt.awk: New file.
14082 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14083 (check-localplt-CFLAGS): Variable removed.
14084 ($(all-built-dso:=.jmprel)): New static pattern rule.
14085 (generated): Add those targets.
14086 (localplt-built-dso): New variable.
14087 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14088
14089 * elf/check-localplt.c: File removed.
14090
82397ed6
RM
14091 * scripts/check-execstack.awk: New file.
14092 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14093 (check-execstack-CFLAGS): Variable removed.
14094 ($(objpfx)check-execstack.h): Target removed.
14095 ($(objpfx)execstack-default): New target.
14096 (generated): Add that instead of check-execstack.h.
14097 ($(all-built-dso:=.phdr)): New static pattern rule.
14098 (generated): Add those targets.
14099 * elf/check-execstack.c: File removed.
14100
82a79e7d
RM
14101 * scripts/check-textrel.awk: New file.
14102 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14103 (check-textrel-CFLAGS): Variable removed.
14104 (all-built-dso): Use := to define.o
14105 ($(all-built-dso:=.dyn)): New static pattern rule.
14106 (generated): Add those targets.
14107 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14108 * config.make.in (READELF): New substituted variable.
14109 * elf/check-textrel.c: File removed.
14110
62fde54f 141112012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14112
615605c9
JM
14113 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14114 allow.
14115 * conform/data/ctype.h-data [C99-based standards] (isblank):
14116 Expect function.
14117 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14118 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14119 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14120 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14121 Specify type. Require positive value.
14122 (EILSEQ): Likewise.
14123 (ERANGE): Likewise.
14124 [ISO || POSIX] (EILSEQ): Do not expect.
14125 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14126 Specify type. Require positive value.
14127 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14128 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14129 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14130 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14131 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14132 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14133 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14134 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14135 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14136 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14137 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14138 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14139 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14140 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14141 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14142 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14143 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14144 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14145 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14146 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14147 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14148 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14149 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14150 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14151 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14152 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14153 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14154 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14155 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14156 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14157 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14158 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14159 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14160 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14161 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14162 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14163 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14164 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14165 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14166 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14167 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14168 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14169 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14170 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14171 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14172 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14173 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14174 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14175 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14176 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14177 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14178 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14179 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14180 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14181 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14182 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14183 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14184 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14185 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14186 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14187 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14188 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14189 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14190 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14191 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14192 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14193 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14194 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14195 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14196 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14197 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14198 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14199 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14200 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14201 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14202 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14203 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14204 Require >= 2.
14205 (FLT_ROUNDS): Expect as macro, not constant.
14206 (FLT_MANT_DIG): Use macro-int-constant.
14207 (DBL_MANT_DIG): Likewise.
14208 (LDBL_MANT_DIG): Likewise.
14209 (FLT_DIG): Likewise.
14210 (DBL_DIG): Likewise.
14211 (LDBL_DIG): Likewise.
14212 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14213 (DBL_MIN_EXP): Likewise.
14214 (LDBL_MIN_EXP): Likewise.
14215 (FLT_MAX_EXP): Use macro-int-constant.
14216 (DBL_MAX_EXP): Likewise.
14217 (LDBL_MAX_EXP): Likewise.
14218 (FLT_MAX_10_EXP): Likewise.
14219 (DBL_MAX_10_EXP): Likewise.
14220 (LDBL_MAX_10_EXP): Likewise.
14221 (FLT_MAX): Use macro-constant.
14222 (DBL_MAX): Likewise.
14223 (LDBL_MAX): Likewise.
14224 (FLT_EPSILON): Use macro-constant. Give upper bound.
14225 (DBL_EPSILON): Likewise.
14226 (LDBL_EPSILON): Likewise.
14227 (FLT_MIN): Likewise.
14228 (DBL_MIN): Likewise.
14229 (LDBL_MIN): Likewise.
14230 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14231 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14232 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14233 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14234 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14235 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14236 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14237 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14238 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14239 [ISO11] (FLT_TRUE_MIN): Likewise.
14240 [ISO11] (LDBL_TRUE_MIN): Likewise.
14241 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14242 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14243 (SCHAR_MIN): Use macro-int-constant. Specify type.
14244 (SCHAR_MAX): Likewise.
14245 (UCHAR_MAX): Likewise.
14246 (CHAR_MIN): Likewise.
14247 (CHAR_MAX): Likewise.
14248 (MB_LEN_MAX): Use macro-int-constant.
14249 (SHRT_MIN): Use macro-int-constant. Specify type.
14250 (SHRT_MAX): Likewise.
14251 (USHRT_MAX): Likewise.
14252 (INT_MAX): Likewise.
14253 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14254 bound negative.
14255 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14256 bound with "U".
14257 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14258 bound with "L".
14259 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14260 bound negative. Suffix upper bound with "L".
14261 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14262 bound with "UL".
14263 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14264 Specify type.
14265 [C99-based standards] (LLONG_MAX): Likewise.
14266 [C99-based standards] (ULLONG_MAX): Likewise.
14267 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14268 == 0.
14269 [ISO11] (max_align_t): Require type.
14270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14271
c9140a62
JM
14272 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14273 from $CFLAGS, without defining away __attribute__ calls.
14274 (checknamespace): Use $CFLAGS_namespace.
14275
9af0bf29
JM
14276 * conform/conformtest.pl (@keywords): Only include C99 keywords
14277 for standards based on C99 or C11.
14278
343222a2
JM
14279 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14280 Disable tests.
14281 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14282 UNIX98]: Likewise.
14283
661f8cf0
JM
14284 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14285 usability of symbols in #if.
14286
ee74b9cb
JM
14287 * conform/conformtest.pl: If macro or constant types start
14288 "promoted:", expect the symbol to be of the following type
14289 promoted by the integer promotions.
62fde54f 14290
aafc49b3
JM
14291 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14292 in one place. Also handle "macro-constant".
14293
fefdf574
JM
14294 * conform/conformtest.pl: Only accept expected macro values with
14295 "==". Parse all "macro" lines in one place.
14296 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14297
f2d922fe
JM
14298 * conform/conformtest.pl: Handle braced types on "constant" lines
14299 instead of handling "typed-constant".
14300 * conform/data/signal.h-data: Use "constant" instead of
14301 "typed-constant".
14302
d22956c9
JM
14303 * conform/conformtest.pl: Handle "optional-" at start of lines in
14304 one place rather than duplicating several cases. Handle each
14305 format of "macro" line with initial "optional-".
14306
028e2e38
JM
14307 * conform/conformtest.pl: Only accept expected constant or
14308 optional-constant values with "==". Parse all "constant" lines in
14309 one place. Parse all "optional-constant" lines in one place.
14310 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14311 * conform/data/fmtmsg.h-data: Likewise.
14312 * conform/data/netinet/in.h-data: Likewise.
14313 * conform/data/tar.h-data: Likewise.
14314 * conform/data/limits.h-data: Use "==" form on "constant" and
14315 "optional-constant" lines.
14316
1b8f2850
JM
14317 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14318 Use -std=c99 for XOPEN2K.
14319 (@knownproblems): Remove.
14320 (newtoken): Don't check %isknown.
14321
a05a144b
JM
14322 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14323 Do not expect macro.
14324 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14325 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14326 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14327 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14328 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14329 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14330 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14331 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14332 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14333 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14334 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14335 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14336 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14337 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14338 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14339 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14340 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14341 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14342 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14343 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14344 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14345 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14346 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14347 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14348 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14349 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14350 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14351 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14352 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14353 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14354 [XPG3] (acosh): Likewise.
14355 [XPG3] (asinh): Likewise.
14356 [XPG3] (atanh): Likewise.
14357 [XPG3] (cbrt): Likewise.
14358 [XPG3] (expm1): Likewise.
14359 [XPG3] (ilogb): Likewise.
14360 [XPG3] (log1p): Likewise.
14361 [XPG3] (logb): Likewise.
14362 [XPG3] (nextafter): Likewise.
14363 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14364 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14365 [XPG3] (remainder): Likewise.
14366 [XPG3] (rint): Likewise.
14367 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14368 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14369 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14370 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14371 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14372 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14373 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14374 [UNIX98 || XOPEN2K] (scalb): Expect.
14375 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14376 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14377 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14378 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14379 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14380 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14381 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14382 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14383 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14384 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14385 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14386 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14387 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14388 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14389 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14390 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14391 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14392 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14393 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14394 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14395 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14396 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14397 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14398 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14399 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14400 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14401 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14402 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14403 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14404 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14405 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14406 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14407 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14408 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14409 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14410 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14411 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14412 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14413 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14414 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14415 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14416 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14417 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14418 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14419 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14420 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14421 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14422 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14423 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14424 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14425 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14426 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14427 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14428 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14429 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14430 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14431 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14432 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14433 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14434 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14435 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14436 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14437 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14438 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14439 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14440 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14441 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14442 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14443 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14444 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14445 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14446 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14447 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14448 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14449 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14450 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14451 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14452 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14453 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14454 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14455 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14456 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14457 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14458 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14459 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14460 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14461 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14462 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14463 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14464 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14465 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14466 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14467 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14468 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14469 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14470 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14471 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14472 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14473 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14474 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14475 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14476 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14477 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14478 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14479 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14480 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14481 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14482 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14483 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14484 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14485 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14486 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14487 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14488 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14489 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14490 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14491 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14492 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14493 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14494 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14495 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14496 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14497 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14498 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14499 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14500 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14501 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14502 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14503 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14504 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14505 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14506 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14507 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14508 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14509 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14510 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14511 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14512
73c5ebe3
JM
14513 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14514 _XOPEN_SOURCE_EXTENDED for XPG4.
14515
39c33b6c
JM
14516 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14517
62fde54f
JM
14518 * Makeconfig (localtime): Remove variable.
14519 (inst_localtime-file): Likewise.
14520
0741d64c
AS
145212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14522
14523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14524 Update.
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14526 Update.
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14528 Update.
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14530 Update.
14531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14532 Update.
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14534 Update.
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14536 Update.
14537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14538 Update.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14540 Update.
14541
7cb029ee
JM
145422012-05-01 Joseph Myers <joseph@codesourcery.com>
14543
14544 [BZ #2550]
14545 [BZ #2570]
14546 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14547 comparisons to determine direction to adjust input.
14548 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14549 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14550 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14551 Likewise.
14552 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14553 Likewise.
14554 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14555 Likewise.
14556 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14557 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14558 Likewise.
14559 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14560 Likewise.
14561 * math/libm-test.inc (nexttoward_test): Add more tests.
14562
412bd966
AS
145632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14564
14565 [BZ #14040]
14566 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14567 in version GLIBC_2.1, not GLIBC_2.0.
14568 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14569 Likewise.
14570
9568c0c2
JM
145712012-04-30 Joseph Myers <joseph@codesourcery.com>
14572
adfbc8ac
JM
14573 [BZ #13942]
14574 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14575 (1 - x) * (1 + x).
14576 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14577 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14578 * math/libm-test.inc (acos_test): Add more tests.
14579 (asin_test): Likewise.
14580 * sysdeps/i386/fpu/libm-test-ulps: Update.
14581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14582
5ba3cc69
JM
14583 [BZ #14034]
14584 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14585 of square root.
14586 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14587 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14588 * math/libm-test.inc (acos_test_tonearest): New function.
14589 (acos_test_towardzero): Likewise.
14590 (acos_test_downward): Likewise.
14591 (acos_test_upward): Likewise.
14592 (asin_test_tonearest): Likewise.
14593 (asin_test_towardzero): Likewise.
14594 (asin_test_downward): Likewise.
14595 (asin_test_upward): Likewise.
14596 (main): Call the new functions.
14597 * sysdeps/i386/fpu/libm-test-ulps: Update.
14598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14599
9568c0c2
JM
14600 [BZ #13884]
14601 [BZ #13924]
14602 * math/e_exp10.c: Include <float.h>.
14603 (__ieee754_exp10): Handle underflow here rather than multiplying
14604 large negative argument by M_LN10.
14605 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14606 of __ieee754_expf.
14607 * math/e_exp10l.c: Include <float.h>.
14608 (__ieee754_exp10l): Handle underflow here rather than multiplying
14609 large negative argument by M_LN10l.
14610 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14611 spurious overflow exception on underflow.
14612
5ac3ea17
MP
146132012-04-29 Marek Polacek <polacek@redhat.com>
14614
14615 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14616 (__fortify_function): New macro.
14617 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14618 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14619 __extern_always_inline.
14620 * libio/bits/stdio2.h: Likewise.
14621 * libio/bits/stdio.h: Likewise.
14622 * string/string.h: Likewise.
14623 * string/bits/string3.h: Likewise.
14624 * include/stdio.h: Likewise.
14625 * stdlib/bits/stdlib.h: Likewise.
14626 * stdlib/stdlib.h: Likewise.
14627 * rt/bits/mqueue2.h: Likewise.
14628 * rt/mqueue.h: Likewise.
14629 * posix/bits/unistd.h: Likewise.
14630 * posix/unistd.h: Likewise.
14631 * io/bits/poll2.h: Likewise.
14632 * io/bits/fcntl2.h: Likewise.
14633 * io/fcntl.h: Likewise.
14634 * io/sys/poll.h: Likewise.
14635 * misc/bits/syslog.h: Likewise.
14636 * misc/bits/syslog-ldbl.h: Likewise.
14637 * misc/sys/syslog.h: Likewise.
14638 * socket/bits/socket2.h: Likewise.
14639 * socket/sys/socket.h: Likewise.
14640 * debug/tst-chk1.c: Likewise.
14641 * wcsmbs/bits/wchar2.h: Likewise.
14642 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14643 * wcsmbs/wchar.h: Likewise.
14644
ecf0ebfb
AJ
146452012-04-29 Andreas Jaeger <aj@suse.de>
14646
14647 * Makerules (tests): Remove enable-check-abi protection.
14648 (check-abi-warn): Remove.
14649 (check-abi-%): Remove check-abi-warn usage.
14650
14651 * configure.in: Remove check-abi configure option.
14652 * configure: Regenerated.
14653 * config.make.in (enable-check-abi): Remove.
14654
6d5c57fa
AS
146552012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14656
24c5d07e 14657 [BZ #14033]
ded5180a
AS
14658 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14659 double functions to double *_finite functions.
14660
7e0d315d
AS
14661 [BZ #13941]
14662 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14663 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14664 LDBL_MIN_EXP.
14665 * stdio-common/Makefile (tests): Add tst-sprintf3.
14666 * stdio-common/tst-sprintf3.c: New file.
14667
6d5c57fa
AS
14668 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14669 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14670
0749ff8b
JM
146712012-04-28 Joseph Myers <joseph@codesourcery.com>
14672
14673 * conform/conformtest.pl: Remove duplicate typed-constant
14674 handling.
14675
8dbd5d7b
DM
146762012-04-28 David S. Miller <davem@davemloft.net>
14677
14678 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14679 (check-abi-%): Remove AWK script prerequisite and explicit
14680 abilist directory.
14681 (check-abi): Rewrite to just diff the symlist with the abilist.
14682 (config-tls, config-abi-config): Delete, no longer used.
14683 (update-abi-%): Remove AWK script and explicit abilist directory.
14684 (update-abi): Rewrite to simply compare and conditionally copy the
14685 symlist and the sysdep abilist file. Remove update-abi-config
14686 checks.
14687 * abilist/ld.abilist: Remove.
14688 * abilist/libBrokenLocale.abilist: Remove.
14689 * abilist/libanl.abilist: Remove.
14690 * abilist/libcrypt.abilist: Remove.
14691 * abilist/libdl.abilist: Remove.
14692 * abilist/librt.abilist: Remove.
14693 * abilist/libthread_db.abilist: Remove.
14694 * abilist/libutil.abilist: Remove.
14695 * scripts/extract-abilist.awk: Remove.
14696 * scripts/merge-abilist.awk: Remove.
14697 * sysdeps/generic/libcidn.abilist: New file.
14698 * sysdeps/generic/libnss_compat.abilist: New file.
14699 * sysdeps/generic/libnss_db.abilist: New file.
14700 * sysdeps/generic/libnss_dns.abilist: New file.
14701 * sysdeps/generic/libnss_files.abilist: New file.
14702 * sysdeps/generic/libnss_hesiod.abilist: New file.
14703 * sysdeps/generic/libnss_nis.abilist: New file.
14704 * sysdeps/generic/libnss_nisplus.abilist: New file.
14705 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14706 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14707 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14708 file.
14709 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14710 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14711 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14712 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14713 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14714 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14715 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14716 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14717 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14718 file.
14719 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14720 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14721 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14722 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14723 file.
14724 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14725 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14726 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14727 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14728 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14729 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14730 file.
14731 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14732 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14733 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14734 file.
14735 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14737 New file.
14738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14739 New file.
14740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14741 New file.
14742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14743 New file.
14744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14745 New file.
14746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14747 New file.
14748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14749 New file.
14750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14751 New file.
14752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14753 New file.
14754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14755 New file.
14756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14757 New file.
14758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14759 New file.
14760 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14761 New file.
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14763 file.
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14765 New file.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14767 New file.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14769 file.
14770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14771 New file.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14773 New file.
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14775 file.
14776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14777 New file.
14778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14779 New file.
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14781 New file.
14782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14783 New file.
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14785 New file.
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14787 New file.
14788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14790 file.
14791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14792 New file.
14793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14794 file.
14795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14796 file.
14797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14798 file.
14799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14800 file.
14801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14802 file.
14803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14804 New file.
14805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14806 file.
14807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14808 file.
14809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14810 New file.
14811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14812 file.
14813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14815 file.
14816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14817 New file.
14818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14819 file.
14820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14821 file.
14822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14823 file.
14824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14825 file.
14826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14827 file.
14828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14829 New file.
14830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14831 file.
14832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14833 file.
14834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14835 New file.
14836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14837 file.
14838 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14839 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14840 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14841 file.
14842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14843 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14844 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14845 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14846 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14847 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14848 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14849 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14850 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14851 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14854 file.
14855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14856 New file.
14857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14858 file.
14859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14860 file.
14861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14862 file.
14863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14864 file.
14865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14866 file.
14867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14868 New file.
14869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14870 New file.
14871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14872 file.
14873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14874 New file.
14875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14876 file.
14877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14879 file.
14880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14881 New file.
14882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14883 file.
14884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14885 file.
14886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14887 file.
14888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14889 file.
14890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14891 file.
14892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14893 New file.
14894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14895 New file.
14896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14897 file.
14898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14899 New file.
14900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14901 file.
14902
41d73a1b
JM
149032012-04-28 Joseph Myers <joseph@codesourcery.com>
14904
14905 * conform/conformtest.pl: Fix typo in handling typed-constant from
14906 allow-header.
14907
28aeeda4
JM
149082012-04-27 Joseph Myers <joseph@codesourcery.com>
14909
adae8f5e
JM
14910 * README: Cut down references to pre-2.6 Linux kernels and
14911 Linuxthreads. Update lists of configurations in libc and ports
14912 and sort alphabetically. Say "or newer" with Linux kernel version
14913 requirements.
14914
28aeeda4
JM
14915 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14916
a462cb63
RA
149172012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14918
14919 [BZ #887]
14920 * math/libm-test.inc (logb_test_downward): New test to expose
14921 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14922 rounding mode.
14923
6ad3493e
JM
149242012-04-27 Joseph Myers <joseph@codesourcery.com>
14925
14926 [BZ #14027]
14927 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14928 to be done.
14929 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14930 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14931
2ce4f015
JM
149322012-04-26 Joseph Myers <joseph@codesourcery.com>
14933
5aeb141a
JM
14934 * sysdeps/unix/i386/brk.S: Remove file.
14935 * sysdeps/unix/i386/dl-brk.S: Likewise.
14936 * sysdeps/unix/i386/pipe.S: Likewise.
14937 * sysdeps/unix/i386/sigreturn.S: Likewise.
14938 * sysdeps/unix/i386/syscall.S: Likewise.
14939 * sysdeps/unix/i386/vfork.S: Likewise.
14940 * sysdeps/unix/i386/wait.S: Likewise.
14941
7143acae
JM
14942 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14943 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14944
2ce4f015
JM
14945 * configure.in (arm*-none*): Do not allow without
14946 --enable-hacker-mode.
14947 (netbsd*): Remove case setting base_os.
14948 (386bsd*): Likewise.
14949 (freebsd*): Likewise.
14950 (bsdi*): Likewise.
14951 (osf*): Likewise.
14952 (sunos*): Likewise.
14953 (ultrix*): Likewise.
14954 (newsos*): Likewise.
14955 (dynix*): Likewise.
14956 (*bsd*): Likewise.
14957 (sysv*): Likewise.
14958 (isc*): Likewise.
14959 (esix*): Likewise.
14960 (sco*): Likewise.
14961 (minix*): Likewise.
14962 (irix4*): Likewise.
14963 (irix6*): Likewise.
14964 (solaris[2-9]*): Likewise.
14965 (none): Likewise.
14966 * configure: Regenerated.
14967
0ac229c8
AZ
149682012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14969
14970 [BZ #11521]
14971 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14972 overflow or cancellation in calculating denominator.
14973 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14975 down expression to avoid unexpected rounding in newer GCCs.
14976 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14977
33f244f4
DM
149782012-04-26 David S. Miller <davem@davemloft.net>
14979
14980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14981 long-double compat symbols.
14982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14995
cfa1f3e8
DM
149962012-04-25 David S. Miller <davem@davemloft.net>
14997
14998 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14999 HWCAP_* values only after the memory barriers have been defined.
15000 (atomic_full_barrier): Define.
15001 (atomic_read_barrier): Define.
15002 (atomic_write_barrier): Define.
15003
6e236b92
SP
150042012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15005
15006 * shlib-versions: Add libgcc_s version information.
15007 * sysdeps/generic/libgcc_s.h: Remove.
15008 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15009 libgcc_s.h.
15010 * sysdeps/gnu/unwind-resume.c: Likewise.
15011 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15012
aab39a09
DM
150132012-04-25 David S. Miller <davem@davemloft.net>
15014
15015 * sysdeps/unix/sparc/brk.S: Delete.
15016 * sysdeps/unix/sparc/dl-brk.S: Delete.
15017 * sysdeps/unix/sparc/pipe.S: Delete.
15018 * sysdeps/unix/sparc/sysdep.S: Delete.
15019 * sysdeps/unix/sparc/sysdep.h: Delete.
15020 * sysdeps/unix/sparc/vfork.S: Delete.
15021 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15022 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15023 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15024 ret_ERRVAL, r0, r1, MOVE): Define.
15025 (JUMPTARGET): Remove.
15026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15027 sysdeps/unix/sparc/sysdep.h
15028 (ENTRY, END): Remove.
15029 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15030
a3cc4f48
JM
150312012-04-25 Joseph Myers <joseph@codesourcery.com>
15032
2ed8cda2
JM
15033 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15034 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15035 -DIS_IN_build.
15036
35d76d59
JM
15037 * timezone/README: Update upstream location and email address for
15038 tzcode and tzdata.
15039 * timezone/zdump.c: Update from tzcode 2012b.
15040 * timezone/zic.c: Likewise.
15041
a3cc4f48
JM
15042 * configure.in (libc_cv_as_needed): Remove test.
15043 * configure: Regenerated.
15044 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15045 conditional definition.
15046 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15047 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15048 * config.make.in (have-as-needed): Remove variable.
15049
ceab42c3
SP
150502012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15051 Paul Pluzhnikov <ppluzhnikov@google.com>
15052
15053 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15054 strings correctly.
15055
3ce2865f
CLT
150562012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15057
15058 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15059 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15060 * sysdeps/sh/strlen.S: Likewise.
15061
f37e0d68
JM
150622012-04-24 Joseph Myers <joseph@codesourcery.com>
15063
ae186e9a
JM
15064 * sysdeps/unix/fork.S: Remove file.
15065 * sysdeps/unix/i386/fork.S: Likewise.
15066 * sysdeps/unix/sparc/fork.S: Likewise.
15067
b96914af
JM
15068 * sysdeps/unix/system.c: Remove file.
15069 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15070
f37e0d68
JM
15071 * sysdeps/unix/getegid.S: Remove file.
15072 * sysdeps/unix/geteuid.S: Likewise.
15073
87ef29ca
RM
150742012-04-24 Roland McGrath <roland@hack.frob.com>
15075
83bcd236
RM
15076 * scripts/check-localplt.awk: New file.
15077 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15078 of diff.
15079 * scripts/data/localplt-generic.data: Add a comment.
15080
87ef29ca
RM
15081 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15082 NODE when __dir_mkfile failed.
15083 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15084 Reported by Ludovic Courtès <ludo@gnu.org>.
15085
e5a6e567
AJ
150862012-04-24 Andreas Jaeger <aj@suse.de>
15087
15088 * Makerules (common-clean): Also remove gen-as-const-headers
15089 files.
15090
c1820385
JM
150912012-04-24 Joseph Myers <joseph@codesourcery.com>
15092
15093 * Makerules (native-compile): Do not change working directory for
15094 build. Use $(OUTPUT_OPTION) in command.
15095 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15096
94e02fc4
AZ
150972012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15098
15099 [BZ #13886]
15100 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15101 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15102 * math/libm-test.inc (floor_test): Add more tests.
15103 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15104
3a533ca3
JM
151052012-04-24 Joseph Myers <joseph@codesourcery.com>
15106
940ab4b3
JM
15107 * sysdeps/unix/getdents.c: Remove file.
15108 * sysdeps/unix/sysv/getdents.c: Likewise.
15109 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15110
90e037bd
JM
15111 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15112 sysdeps/unix/mman/syscalls.list.
15113 (mmap): Likewise.
15114 (mprotect): Likewise.
15115 (msync): Likewise.
15116 (munmap): Likewise.
15117 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15118 * sysdeps/unix/mman/syscalls.list: Remove.
15119 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15120
3a533ca3
JM
15121 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15122 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15123 * configure: Regenerated.
15124 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15125 $(libgcc_s_suffix).
15126 * config.make.in (libgcc_s_suffix): Remove variable.
15127
1ad743de
JM
151282012-04-23 Joseph Myers <joseph@codesourcery.com>
15129
4ad451e2
JM
15130 * sysdeps/unix/sysv/gethostname.c: Move to ...
15131 * sysdeps/posix/gethostname.c: ... here.
15132
5e37ce39
JM
15133 * sysdeps/unix/execve.S: Remove file.
15134
1ad743de
JM
15135 * sysdeps/unix/_exit.S: Remove file.
15136
4e681b5b
AJ
151372012-04-23 Andreas Jaeger <aj@suse.de>
15138
15139 [BZ #13739]
15140 * manual/Makefile: Remove make dist support, there's no
15141 need for a stand-alone documentation tar ball.
15142 (TEXI2DVI): Define always, it's not in Makeconfig.
15143 (dist): Removed.
15144 (tar-it): Removed.
15145 (edition): Removed.
15146 (glibc-doc-$(edition).tar): Removed
15147 (%.Z): Removed.
15148 (%.gz): Removed.
15149 (%.uu): Removed.
15150 (ETAGS): Remove, it's in Makeconfig.
15151 (move-if-change): Remove, it's in Makeconfig.
15152
38686a03 151532012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15154
15155 [BZ #13970]
15156 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15157 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15158 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15159 (strtod_l, strtof_l, strtold_l): Remove __wur.
15160 It is not necessarily an error to ignore strtol's return value.
15161 One can reliably look at the stored endptr to decide whether
15162 the number had valid syntax.
15163
7c0616fa
AJ
151642012-04-21 Andreas Jaeger <aj@suse.de>
15165
803cb6b7 15166 [BZ #13739]
7c0616fa
AJ
15167 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15168
b0fe253f
JM
151692012-04-21 Joseph Myers <joseph@codesourcery.com>
15170
15171 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15172 * sysdeps/unix/sysv/Versions: Remove file.
15173
8280f22d
MT
151742012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15175
15176 [BZ #13927]
15177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15178
75ce411f 151792012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15180
15181 [BZ #7064]
15182 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15183 version from __vm86.
15184
097d59fa
JM
151852012-04-20 Joseph Myers <joseph@codesourcery.com>
15186
a90f3bcb
JM
15187 * sysdeps/unix/common/lxstat.c: Remove file.
15188 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15189
edc7ea78
JM
15190 * sysdeps/unix/sysv/Makefile: Remove file.
15191
cb78c221
JM
15192 * sysdeps/unix/sysv/direct.h: Remove file.
15193
efa6a45f
JM
15194 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15195 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15196 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15197 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15198 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15199 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15200 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15201
9c9f2d0c
JM
15202 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15203
4541c83b
JM
15204 * sysdeps/unix/xmknod.c: Remove file.
15205 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15206
f5d153a0
JM
15207 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15208
aa746595
JM
15209 * sysdeps/unix/sysv/i386/time.S: Remove file.
15210
cce5905e
JM
15211 * sysdeps/unix/fxstat.c: Remove file.
15212 * sysdeps/unix/xstat.c: Likewise.
15213 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15214
37fa3841
JM
15215 * sysdeps/unix/sysv/sigaction.c: Remove file.
15216
ff1962a3
JM
15217 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15218 (sysdep_headers): Remove variable.
15219 [termio.h not in sysdep_headers] (generated): Likewise.
15220 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15221 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15222 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15223 * sysdeps/unix/sysv/tcflow.c: Likewise.
15224 * sysdeps/unix/sysv/tcflush.c: Likewise.
15225 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15226 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15227 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15228 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15229 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15230
e7740d31
JM
15231 * sysdeps/unix/siglist.c: Remove file.
15232
ee06f18b
JM
15233 * sysdeps/unix/getppid.S: Remove file.
15234
097d59fa
JM
15235 * sysdeps/unix/mkdir.c: Remove file.
15236 * sysdeps/unix/rmdir.c: Likewise.
15237
ff3d51ec
AS
152382012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15239
15240 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15241 ERR_MAX value.
15242 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15243 errlist-compat value.
15244
50f81fd7
DM
152452012-04-18 David S. Miller <davem@davemloft.net>
15246
15247 * sysdeps/generic/memcopy.h (reg_char): Delete.
15248 * debug/strcat_chk.c: Use char, not reg_char.
15249 * debug/strcpy_chk.c: Likewise.
15250 * debug/strncat_chk.c: Likewise.
15251 * debug/strncpy_chk.c: Likewise.
15252 * string/memchr.c: Likewise.
15253 * string/memrchr.c: Likewise.
15254 * string/rawmemchr.c: Likewise.
15255 * string/strcat.c: Likewise.
15256 * string/strchr.c: Likewise.
15257 * string/strchrnul.c: Likewise.
15258 * string/strcmp.c: Likewise.
15259 * string/strcpy.c: Likewise.
15260 * string/strncat.c: Likewise.
15261 * string/strncmp.c: Likewise.
15262 * string/strncpy.c: Likewise.
15263
8ff41c46
WS
152642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15265
15266 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15267 __builtin_memcopy is called when src and dest ranges are known to not
15268 overlap.
15269
6b652f46
WS
152702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15271
15272 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15273 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15274 fwd_align_merge macro call.
15275 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15276 bwd_align_merge macro call.
15277 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15278
b282631e
WS
152792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15280
15281 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15282 bwd_align_merge macros.
15283 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15284 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15285 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15286
95aa737c
DM
152872012-04-18 David S. Miller <davem@davemloft.net>
15288
15289 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15290
7a99a614
AJ
152912012-04-18 Andreas Jaeger <aj@suse.de>
15292
15293 [BZ# 6794]
15294 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15295 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15296 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15297
15298 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15299 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15300 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15301
15302 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15303 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15304 Adjust for changed ldbl-128 files.
15305
15306 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15307 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15308 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15309
e5270c23
DM
153102012-04-17 David S. Miller <davem@davemloft.net>
15311
15312 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15313
fb5e92c9
AS
153142012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15315
15316 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15317 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15318 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15319 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15320 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15321 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15322
76da7265
AZ
153232012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15324
15325 [BZ #6794]
15326 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15327 * math/libm-test.inc: Add ilogb errno and exception tests.
15328 * math/w_ilogb.c: New file: ilogb wrapper.
15329 * math/w_ilogbf.c: New file: ilogbf wrapper.
15330 * math/w_ilogbl.c: New file: ilogbl wrapper.
15331 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15332 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15333 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15334 exception being thrown with 0.0 as argument.
15335 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15336 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15337 exception being thrown with 0.0 as argument.
15338 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15339 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15340 exception being thrown with 0.0 as argument.
15341 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15342 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15343 exception being thrown with 0.0 as argument.
15344 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15345 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15346 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15347 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15349 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15350 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15351 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15352 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15353
0396e69d
PB
153542012-04-17 Petr Baudis <pasky@ucw.cz>
15355
15356 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15357 with altivec.
15358
750b5926
MP
153592012-04-16 Marek Polacek <polacek@redhat.com>
15360
15361 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15362
751728a1
MP
153632012-04-16 Marek Polacek <polacek@redhat.com>
15364
15365 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15366 operands of fdivp instruction.
15367
34a27407
L
153682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15369
15370 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15371 * elf/tst-auditmod3b.c: Likewise.
15372 * elf/tst-auditmod4b.c: Likewise.
15373 * elf/tst-auditmod5b.c: Likewise.
15374 * elf/tst-auditmod6b.c: Likewise.
15375 * elf/tst-auditmod6c.c: Likewise.
15376 * elf/tst-auditmod7b.c: Likewise.
15377 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15378 * sysdeps/x86_64/preconfigure.in: Likewise.
15379 * sysdeps/x86_64/preconfigure: Regenerated.
15380
7e73e17d
L
153812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15382
15383 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15384 __ILP32__.
15385
c7a6ab72
AB
153862012-04-13 Antoine Balestrat <merkil33@gmail.com>
15387
15388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15389 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15390
a9e8e0e0
CL
153912012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15392
15393 [BZ #13973]
15394 * locale/iso-639.def: Fix gl language name. Spotted by
15395 Yaron Shahrabani.
15396
ec98af7d
RM
153972012-04-12 Roland McGrath <roland@hack.frob.com>
15398
15399 [BZ #2074]
15400 * libio/libio.h (__io_write_fn): Update comment.
15401
247c3ede
PB
154022012-04-12 Petr Baudis <pasky@ucw.cz>
15403
15404 [BZ #2074]
15405 * stdio.texi (Hook Functions): The user provided writer function
15406 is not allowed to return -1.
15407
55939d6d
DM
154082012-04-11 David S. Miller <davem@davemloft.net>
15409
15410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15411
90020f5a
MF
154122012-04-11 Mike Frysinger <vapier@gentoo.org>
15413
15414 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15415 Add a leading slash to rtkaio.
15416
288f9098
JM
154172012-04-11 Jim Meyering <meyering@redhat.com>
15418
90020f5a
MF
15419 [BZ #11959]
15420 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15421 It is not necessarily an error to ignore fwrite's return
15422 value. One can reliably use ferror to test for errors after
15423 the fact.
288f9098 15424
4be2b570
L
154252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15426
15427 * bits/types.h (__snseconds_t): New type.
15428 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15429
15430 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15432 (__SNSECONDS_T_TYPE): Likewise.
15433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15434 (__SNSECONDS_T_TYPE): Likewise.
15435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15436 (__SNSECONDS_T_TYPE): Likewise.
15437
288f9098 154382012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15439
15440 [BZ #2636]
15441 * manual/time.texi (Processor Time): Return type of times is
15442 elapsed real time since an arbitrary point in the past.
15443 (CPU Time): Move CLK_TCK from here...
15444 (Processor Time): ...to here. Correct description.
15445 * manual/conf.texi (Constants for Sysconf): Correct description of
15446 _SC_CLK_TCK.
15447
d7dd4413
DM
154482012-04-10 David S. Miller <davem@davemloft.net>
15449
15450 [BZ #13967]
15451 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15452 where the is a gap between DT_REL(A) and DT_JMPREL.
15453
b46068fc
L
154542012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15455
15456 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15457 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15458 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15459
73d65cc3
SP
154602012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15461
15462 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15463 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15464 (dl_main): Handle --inhibit-cache.
15465 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15466 _dl_inhibit_cache.
15467 * elf/dl-load.c (_dl_map_object): Use it.
15468 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15469
bcc8d661
JM
154702012-04-09 Joseph Myers <joseph@codesourcery.com>
15471
8f9a2fae
JM
15472 [BZ #13872]
15473 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15474 (__ieee754_powl): Saturate large exponents rather than testing for
15475 overflow of y*log2(x).
15476 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15477 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15478 exceptions.
15479
bcc8d661
JM
15480 [BZ #11521]
15481 * math/s_ctan.c: Include <float.h>.
15482 (__ctan): Avoid internal overflow or cancellation in calculating
15483 denominator.
15484 * math/s_ctanf.c: Likewise.
15485 * math/s_ctanl.c: Likewise.
15486 * math/s_ctanh.c: Likewise.
15487 * math/s_ctanhf.c: Likewise.
15488 * math/s_ctanhl.c: Likewise.
15489 * math/libm-test.inc (ctan_test): Add more tests.
15490 (ctanh_test): Likewise.
15491 * sysdeps/i386/fpu/libm-test-ulps: Update.
15492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15493
823fbbb4
AJ
154942012-04-09 Andreas Jaeger <aj@suse.de>
15495
03879793
AJ
15496 [BZ #6894]
15497 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15498 is an optional BSD extension.
15499
823fbbb4
AJ
15500 [BZ #10254]
15501 * manual/stdio.texi (Opening Streams): Document additional fopen
15502 parameters.
15503
8de131cb
RM
155042012-04-09 Roland McGrath <roland@hack.frob.com>
15505
15506 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15507 %eax without telling the compiler.
15508
c0ed9d7d
CD
155092012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15510
15511 [BZ # 13963]
15512 * manual/install.texi: Use sourceware.org.
15513
c483f6b4
JM
155142012-04-09 Joseph Myers <joseph@codesourcery.com>
15515
d7dd9453
JM
15516 [BZ #13873]
15517 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15518 (__ieee754_pow): Generate overflow and underflow using huge*huge
15519 and tiny*tiny rather than just returning constant infinity or zero
15520 for large exponents.
15521 * math/libm-test.inc (pow_test): Require overflow exceptions for
15522 applicable cases of large exponents.
15523
c483f6b4
JM
15524 [BZ #706]
15525 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15526 (__ieee754_pow): Use iterative multiplication algorithm only for
15527 integer exponents with absolute value below 1024. Check for odd
15528 integer exponents when using algorithm for real exponents.
15529 * math/libm-test.inc (pow_test): Add more tests.
15530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15531
d2de7579
JM
155322012-04-08 Joseph Myers <joseph@codesourcery.com>
15533
15534 [BZ #13705]
15535 * math/libm-test.inc (exp_test): Do not allow overflow exception
15536 on underflow test.
15537
f77f1232
AJ
155382012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15539
15540 [BZ #13705]
15541 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15542 instead of __kernel_standard_f.
15543
3884932b
MF
155442012-04-08 Mike Frysinger <vapier@gentoo.org>
15545
15546 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15547 * sysdeps/x86_64/memset_chk.S: Likewise.
15548
54472e9c
AJ
155492012-04-08 Andreas Jaeger <aj@suse.de>
15550
6ab0fbfc
AJ
15551 [BZ #10153]
15552 * manual/startup.texi (Environment Access): Describe return value
15553 for putenv and setenv.
15554
61efba8c
AJ
15555 [BZ #6895]
15556 * manual/filesys.texi (Directory Entries): Add description for
15557 DT_LNK.
15558
95c3f29a
AJ
15559 [BZ #6890]
15560 * manual/filesys.texi (Directory Entries): Clarify that it's file
15561 system not operating system in the description of DT_UNKNOWN.
15562
54472e9c
AJ
15563 [BZ #6578]
15564 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15565
624254b1
SC
155662012-04-08 Stephen Compall <s11@member.fsf.org>
15567
15568 [BZ #6649]
15569 * manual/llio.texi (Opening and Closing Files): Add cross
15570 reference to explain mode argument.
15571
1e4920e0
MF
155722012-04-07 Mike Frysinger <vapier@gentoo.org>
15573
15574 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15575 * sysdeps/x86_64/memset_chk.S: Likewise.
15576
5ed848f3
DM
155772012-04-07 David S. Miller <davem@davemloft.net>
15578
15579 * elf/elf.h (R_SPARC_WDISP10): Define.
15580 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15581 R_SPARC_SIZE32.
15582 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15583 R_SPARC_SIZE64 and R_SPARC_H34.
15584
96154cd8
CD
155852012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15586
15587 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15588 conditions and remove no longer applicable assertion.
15589
9904dc47
L
155902012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15591
15592 * bits/byteswap.h: Include <features.h>.
15593 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15594 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15595
f8887d0a
L
155962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15597
15598 * bits/byteswap.h (__bswap_16): Removed.
15599 Include <bits/byteswap-16.h> to get __bswap_16.
15600 * sysdeps/i386/bits/byteswap.h: Likewise.
15601 * sysdeps/s390/bits/byteswap.h: Likewise.
15602 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15603 * bits/byteswap-16.h: New file.
15604 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15605 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15606 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15607 * string/Makefile (headers): Add bits/byteswap-16.h.
15608
62470f60
PP
156092012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15610
15611 [BZ #13895]
15612 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15613 extra indirection.
15614 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15615 * nss/tst-nss-static.c: New.
15616
4dad7bab
RM
156172012-04-06 Robert Millan <rmh@gnu.org>
15618
15619 [BZ #6486]
15620 * manual/llio.texi (File Position Primitive): lseek
15621 refers to WHENCE when it really means OFFSET.
15622
e9142a17
AJ
156232012-04-06 Andreas Jaeger <aj@suse.de>
15624
2c040eff
AJ
15625 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15626 strncmp declarations.
15627
e9142a17
AJ
15628 * abilist/libc.abilist: Add __poll and __ppoll.
15629
ff9f1c5f
DM
156302012-04-05 David S. Miller <davem@davemloft.net>
15631
dcd2ae90
DM
15632 * scripts/check-local-headers.sh: Accept a host triplet in the
15633 path matched by the exclude regexp.
15634
993eb054
DM
15635 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15636 definition.
15637 * sysdeps/powerpc/powerpc32/dl-machine.h
15638 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15639 * sysdeps/s390/s390-32/dl-machine.h
15640 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15641 * sysdeps/sparc/sparc32/dl-machine.h
15642 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15643 * sysdeps/sparc/sparc64/dl-machine.h
15644 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15645
ff9f1c5f
DM
15646 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15647 lazy binding.
48e2e132 15648 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
15649 undefined symbol errors.
15650
48e2e132 15651 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
15652 DT_NEEDED entries.
15653
e80d6f94
MM
156542012-04-05 Michael Matz <matz@suse.de>
15655
15656 [BZ #13592]
15657 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15658
349fa79f
AJ
156592012-04-05 Andreas Jaeger <aj@suse.de>
15660
15661 [BZ #13908]
15662 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15663 comment.
15664
f402708f
KK
156652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15666
15667 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15668 which ROUND is no valid rounding mode.
15669
2ecccfc9
KK
156702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15671
15672 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15673 read again.
15674 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15675
8a53f50f
KK
156762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15677
15678 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15679 an exception using FPU order intentionally.
15680
156812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15682
15683 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15684 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15685 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15686 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15687
d653abb7
SJ
156882012-04-05 Simon Josefsson <simon@josefsson.org>
15689
15690 [BZ #12340]
15691 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15692 EINVAL when BUFLEN is too smal.
15693
c3b1bf7d
TS
156942012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15695
15696 [BZ #13553]
15697 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15698 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15699
b1aa60f3
AJ
157002012-04-03 Andreas Jaeger <aj@suse.de>
15701
c3b1bf7d 15702 [BZ #13938]
67f60a26
AJ
15703 * manual/setjmp.texi (System V contexts): Fix sentence.
15704
b1aa60f3
AJ
15705 [BZ #13926]
15706 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15707 New macro for this case.
15708 [!__GNUC__] (__bswap_64): New inline function for this case.
15709 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15710 * bits/byteswap.h: Likewise.
15711 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15712 ull, guard with __GLIBC_HAVE_LONG_LONG.
15713
15714 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15715 __GLIBC_HAVE_LONG_LONG.
15716
15717 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15718 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15719
39c59c35
TMQMF
157202012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15721
15722 [BZ #13691]
15723 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15724 inptr and inend, rather than using last_ch.
15725
135ffda8
DM
157262012-04-02 David S. Miller <davem@davemloft.net>
15727
15728 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15729 * stdio-common/printf-parse.h (read_int): Change return type to
15730 'int', return -1 on INT_MAX overflow.
15731 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15732 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15733 overflows INT_MAX. Check for overflow of in-format-string precision
15734 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15735 SIZE_MAX not INT_MAX for integer overflow test.
15736 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15737 skip the construct in the format string but do not record anything.
15738 * stdio-common/bug22.c: Adjust to test both width/prevision
15739 INT_MAX overflow as well as total length INT_MAX overflow. Check
15740 explicitly for proper errno values.
15741
228c019e
TS
157422012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15743
302cadd3
TS
15744 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15745 CHAR_MAX.
15746 * string/test-strcmp.c [! WIDE]: Likewise.
15747 * time/tst-mktime2.c: Likewise for INT_MAX.
15748 * string/test-string.h: #include <sys/param.h> for MIN.
15749
228c019e
TS
15750 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15751 * sysdeps/i386/init-first.c (init): Likewise.
15752 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15753 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15754 * sysdeps/sh/init-first.c (init): Likewise.
15755
cfa633f5
UD
157562012-04-01 Ulrich Drepper <drepper@gmail.com>
15757
15758 * po/ru.po: Update from translation team.
d1635ef8 15759 * po/vi.po: Likewise.
cfa633f5 15760
6cd0a5ea
SP
157612012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15762
15763 * resolv/nss_dns/dns-host.c: Merge copyright years.
15764
4b43400f
LD
157652012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15766
15767 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15768 Optimize memcpy with prefetch if
15769 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15770 src, dst pointers have unequal 16 byte alignments.
15771
48c41d04
SP
157722012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15773
15774 [BZ #13928]
15775 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15776 from a CNAME entry and return the minimum ttl for the query.
15777 (gaih_getanswer_slice): Likewise.
15778
b8dc394d
JL
157792012-03-30 Jeff Law <law@redhat.com>
15780
15781 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15782 due to long keys.
15783 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15784 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15785
2f5a5ed0
JL
15786 * resolv/nss_dns/dns-host.c: Update copyright year.
15787
1d39e359
UD
157882012-03-30 Ulrich Drepper <drepper@gmail.com>
15789
c030f70c 15790 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15791 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15792
1d39e359
UD
15793 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15794 comments for sendmmsg.
15795
157962012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15797
15798 [BZ #13691]
15799 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15800 with only 1 character between 0x0041 and 0x01b0.
15801 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15802 * wcsmbs/tst-mbsnrtowcs.c: New file.
15803
20fde227
DM
158042012-03-29 David S. Miller <davem@davemloft.net>
15805
15806 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15807 small copies by hand.
15808
984a4237
JL
158092012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15810
15811 [BZ #13761]
15812 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15813 _nss_compat_initgroups_dyn): Fall back to malloc/free
15814 for large group memberships.
15815
18c9d62b
DM
158162012-03-28 David S. Miller <davem@davemloft.net>
15817
88d85d4f
DM
15818 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15819 that branches into memcpy.
15820 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15822 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15823 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15825 bits.
15826 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15827 implementation too.
15828 * sysdeps/sparc/mempcpy.S: New file.
15829
e5aa83e1
DM
15830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15831 the IFUNC routine in the libc case.
15832 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15833
88570753
DM
15834 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15835 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15836 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15837 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15838 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15839 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15840 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15841 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15842
249d7567
DM
15843 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15844 loop to 256 bytes instead of 64 bytes and fix test signedness.
15845
18c9d62b
DM
15846 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15847 * sysdeps/sparc/sparc32/Makefile: rather than here...
15848 * sysdeps/sparc/sparc64/Makefile: and here.
15849
05f3d1f6
UD
158502012-03-28 Ulrich Drepper <drepper@gmail.com>
15851
15852 * malloc/mallocbug.c: Avoid warnings about unused variables.
15853
86ae07a8
JL
158542012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15855
15856 [BZ #13760]
15857 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15858 in the right place. Discard and retry query if response is
15859 larger than input buffer size.
15860
41bf21a1
JM
158612012-03-28 Joseph Myers <joseph@codesourcery.com>
15862
d6270972
JM
15863 [BZ #369]
15864 [BZ #2678]
15865 [BZ #3866]
15866 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15867 x for large integer exponent.
15868 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15869 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15870 sign of result as needed afterwards.
15871 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15872 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15873 result for underflowing pow the same as for overflow.
15874 (__kernel_standard_l): Handle powl overflow and underflow here
15875 rather than calling __kernel_standard.
15876 * math/libm-test.inc (pow_test): Add more tests.
15877
414fca03 15878 [BZ #3868]
41bf21a1
JM
15879 [BZ #13879]
15880 [BZ #13910]
15881 [BZ #13911]
15882 [BZ #13912]
15883 [BZ #13913]
15884 [BZ #13915]
15885 [BZ #13916]
15886 [BZ #13917]
15887 [BZ #13918]
15888 [BZ #13919]
15889 [BZ #13920]
15890 [BZ #13921]
15891 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15892 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15893 (__kernel_standard_l): New function.
15894 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15895 __kernel_standard.
15896 * math/w_acosl.c (__acosl): Likewise.
15897 * math/w_asinl.c (__asinl): Likewise.
15898 * math/w_atan2l.c (__atan2l): Likewise.
15899 * math/w_atanhl.c (__atanhl): Likewise.
15900 * math/w_coshl.c (__coshl): Likewise.
15901 * math/w_exp10l.c (__exp10l): Likewise.
15902 * math/w_exp2l.c (__exp2l): Likewise.
15903 * math/w_fmodl.c (__fmodl): Likewise.
15904 * math/w_hypotl.c (__hypotl): Likewise.
15905 * math/w_j0l.c (__j0l, __y0l): Likewise.
15906 * math/w_j1l.c (__j1l, __y1l): Likewise.
15907 * math/w_jnl.c (__jnl, __ynl): Likewise.
15908 * math/w_lgammal.c (__lgammal): Likewise.
15909 * math/w_log10l.c (__log10l): Likewise.
15910 * math/w_log2l.c (__log2l): Likewise.
15911 * math/w_logl.c (__logl): Likewise.
15912 * math/w_powl.c (__powl): Likewise.
15913 * math/w_remainderl.c (__remainderl): Likewise.
15914 * math/w_scalbl.c (sysv_scalbl): Likewise.
15915 * math/w_sinhl.c (__sinhl): Likewise.
15916 * math/w_sqrtl.c (__sqrtl): Likewise.
15917 * math/w_tgammal.c (__tgammal): Likewise.
15918 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15919 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15920 * math/libm-test.inc (acos_test): Add more tests.
15921 (acosh_test): Likewise.
15922 (asin_test): Likewise.
15923 (atanh_test): Likewise.
15924 (exp_test): Likewise.
15925 (exp10_test): Likewise.
15926 (exp2_test): Likewise.
15927 (expm1_test): Likewise.
15928 (lgamma_test): Likewise.
15929 (log_test): Likewise.
15930 (log10_test): Likewise.
15931 (log1p_test): Likewise.
15932 (log2_test): Likewise.
15933 (pow_test): Do not allow some spurious overflow exceptions.
15934 (sqrt_test): Add more tests.
15935 (tgamma_test): Likewise.
15936 (y0_test): Likewise.
15937 (y1_test): Likewise.
15938 (yn_test): Likewise.
15939
dd62fda6
AB
159402012-03-27 Anton Blanchard <anton@samba.org>
15941
15942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15943 MAP_HUGETLB.
15944 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15945 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15947
1e3cdfda
AJ
159482012-03-27 David S. Miller <davem@davemloft.net>
15949
b855ab85
DM
15950 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15951
1e3cdfda
AJ
15952 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15953 have-as-vis3 check.
15954
159552012-03-27 Andreas Jaeger <aj@suse.de>
15956
15957 * sysdeps/x86_64/elf/configure.in: Moved to ...
15958 * sysdeps/x86_64/configure.in: ... here.
15959 * sysdeps/x86_64/elf/start.S: Moved to ...
15960 * sysdeps/x86_64/start.S: ... here.
15961 * sysdeps/x86_64/elf/configure: Delete.
15962
15963 * sysdeps/x86_64/configure.in: Merge contents from
15964 sysdeps/i386/configure.in (without i686 check).
15965
15966 * sysdeps/i386/elf/Versions: Merge into ...
15967 * sysdeps/i386/Versions: ... this.
15968 * sysdeps/i386/elf/Versions: Delete file.
15969 * sysdeps/i386/elf/start.S: Moved to ...
15970 * sysdeps/i386/start.S: ...here.
15971 * sysdeps/i386/elf/configure.in: Merge into...
15972 * sysdeps/i386/configure.in: ...here.
15973 * sysdeps/i386/elf/configure.in: Delete file.
15974 * sysdeps/i386/elf/configure: Delete file.
15975
15976 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15977 * debug/backtracesyms.c: ... here.
15978 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15979 * debug/backtracesymsfd.c: ... here.
15980 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15981 * sysdeps/generic/ifunc-sel.h: ... here.
15982
15983 * sysdeps/unix/i386/start.c: Delete file.
15984 * sysdeps/unix/sparc/start.c: Delete file.
15985 * sysdeps/unix/start.c: Delete file.
15986
15987 * sysdeps/sh/elf/configure.in: Moved to ...
15988 * sysdeps/sh/configure.in: ... here.
15989 * sysdeps/sh/elf/start.S: Moved to ...
15990 * sysdeps/sh/start.S: ... here.
15991 * sysdeps/sh/elf/configure: Delete file.
15992
15993 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15994 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15995 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15996 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15997 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15998 * sysdeps/powerpc/powerpc64/start.S: here.
15999 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16000 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16001 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16002 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16003 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16004
16005 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16006 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16007 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16008 * sysdeps/powerpc/powerpc32/start.S: ... here.
16009 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16010 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16011 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16012
16013 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16014 * sysdeps/powerpc/ifunc-sel.h: ... here.
16015 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16016 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16017
16018 * sysdeps/sparc/elf/configure.in: Moved to ...
16019 * sysdeps/sparc/configure.in: ... here.
16020 * sysdeps/sparc/elf/configure: Delete file.
16021 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16022 * sysdeps/sparc/sparc32/start.S: ... here.
16023 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16024 * sysdeps/sparc/sparc64/start.S: ... here.
16025 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16026 * sysdeps/sparc/sparc32/Makefile: ... this.
16027 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16028 * sysdeps/sparc/sparc64/Makefile: ... this.
16029
16030 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16031 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16032 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16033 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16034 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16035 * sysdeps/s390/s390-32/setjmp.S: ... here.
16036 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16037 * sysdeps/s390/s390-32/configure.in: ... here.
16038 * sysdeps/s390/s390-32/elf/configure: Delete file.
16039 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16040 * sysdeps/s390/s390-32/start.S: ... here.
16041
16042 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16043 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16044 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16045 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16046 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16047 * sysdeps/s390/s390-64/setjmp.S: ... here.
16048 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16049 * sysdeps/s390/s390-64/configure.in: ... here
16050 * sysdeps/s390/s390-64/elf/configure: Delete file.
16051 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16052 * sysdeps/s390/s390-64/start.S: ... here.
16053 * sysdeps/s390/s390-64/elf/configure: Delete.
16054
16055 * configure.in: Remove support for elf directories in sysdeps.
16056
16057 * configure: Regenerated.
16058 * sysdeps/i386/configure: Regenerated.
16059 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16060 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16061 * sysdeps/s390/s390-32/configure: Regenerated.
16062 * sysdeps/s390/s390-64/configure: Regenerated.
16063 * sysdeps/sh/configure: Regenerated.
16064 * sysdeps/sparc/configure: Regenerated.
16065 * sysdeps/x86_64/configure: Regenerated.
16066
a3f61311
AS
160672012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16068
c876e002
AS
16069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16070
a3f61311
AS
16071 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16072 denormal result into account.
16073
ac4c54f0
RM
160742012-03-25 Roland McGrath <roland@hack.frob.com>
16075
16076 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16077 Reported by Allan McRae <allan@archlinux.org>.
16078
6a9b9c02
JL
160792012-03-23 Jeff Law <law@redhat.com>
16080
16081 * nss/getnssent.c (__nss_getent): Fix typo.
16082
4c42a0c1
DM
160832012-03-23 David S. Miller <davem@davemloft.net>
16084
16085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16086
1532c7ac
L
160872012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16088
16089 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16090 to pad to uint64_t for each field.
16091 (dl_tls_index): Replace unsigned long with uint64_t.
16092
3ff42526
PP
160932012-03-23 Daniel Jacobowitz <dmj@google.com>
16094 Paul Pluzhnikov <ppluzhnikov@google.com>
16095
16096 [BZ #6528]
16097 * grp/Makefile (otherlibs): Don't set it.
16098 * inet/Makefile (otherlibs): Likewise.
16099 * login/Makefile (otherlibs): Likewise.
16100 * nscd/Makefile (otherlibs): Likewise.
16101 * posix/Makefile (otherlibs): Likewise.
16102 * pwd/Makefile (otherlibs): Likewise.
16103 * rt/Makefile (otherlibs): Likewise.
16104 * sunrpc/Makefile (otherlibs): Likewise.
16105 * nss/Makefile (otherlibs): Likewise.
16106 Add libnss_files to routines and static-only-routines.
16107 ($(objpfx)getent): Remove rule.
16108 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16109 static-only-routines.
16110
7c69cd14
JM
161112012-03-22 Joseph Myers <joseph@codesourcery.com>
16112
16113 [BZ #13892]
16114 * math/s_cexp.c: Include <float.h>.
16115 (__cexp): Handle exp result overflowing not necessarily
16116 overflowing both real and imaginary parts of result.
16117 * math/s_cexpf.c: Likewise.
16118 * math/s_cexpl.c: Likewise.
16119 * math/libm-test.inc (cexp_test): Add more tests.
16120 * sysdeps/i386/fpu/libm-test-ulps: Update.
16121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16122
81b035fe
L
161232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16124
16125 * include/link.h (ELFW): New macro.
16126 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16127 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16128
1da7940c
L
161292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16130
16131 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16132 with uint64_t.
16133
b749dbb9
L
161342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16135
16136 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16137 declaration.
16138 (struct La_x32_retval): Likewise.
16139
2ff87f3f
L
161402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16141
16142 * sysdeps/x86_64/preconfigure.in: New file.
16143 * sysdeps/x86_64/preconfigure: New generated file.
16144
c0df8e69
JM
161452012-03-22 Joseph Myers <joseph@codesourcery.com>
16146
48e44791
JM
16147 [BZ #13824]
16148 * math/e_exp2l.c: Include <float.h>.
16149 (__ieee754_exp2l): Handle overflow and underflow cases
16150 separately. Only pass fractional part of argument to
16151 __ieee754_expl.
16152 * math/libm-test.inc (exp2_test): Add more tests.
16153
c0df8e69
JM
16154 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16155 negating x to take absolute value.
16156 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16157 Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16160 Likewise.
16161 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16162 computing low part if x was negated.
16163 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16164
c8e43ba7
L
161652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16166
16167 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16168 la_x32_gnu_pltexit.
16169 (pltexit): Cast int_retval to ptrdiff_t.
16170 * elf/tst-auditmod3b.c: Likewise.
16171 * elf/tst-auditmod4b.c: Likewise.
16172 * elf/tst-auditmod5b.c: Likewise.
16173 * elf/tst-auditmod6b.c: Likewise.
16174 * elf/tst-auditmod6c.c: Likewise.
16175 * elf/tst-auditmod7b.c: Likewise.
16176
16177 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16178 and x32_gnu_pltexit.
16179
16180 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16181 __ELF_NATIVE_CLASS.
16182 (La_x32_regs): New macro.
16183 (La_x32_retval): Likewise.
16184 (la_x32_gnu_pltenter): New function prototype.
16185 (la_x32_gnu_pltexit): Likewise.
16186
7998fa78
AS
161872012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16188
dcb33988
AS
16189 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16190 exponent.
16191
233fc563
AS
16192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16193
7998fa78
AS
16194 * configure.in (libc_cv_cc_nofma): Check for option to disable
16195 generation of FMA instructions.
16196 * configure: Regenerate.
16197 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16198 * sysdeps/ieee754/dbl-64/Makefile: New file.
16199 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16200 Remove brandred-fma4.
16201 (CFLAGS-brandred-fma4.c): Remove.
16202 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16203 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16204 define.
16205 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16206 define.
16207
8e95c99a
L
162082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16209
16210 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16211 LLONG_MAX != LONG_MAX.
16212 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16213 (_fitoa_word): Likewise.
16214 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16215 LLONG_MAX != LONG_MAX.
16216 * stdio-common/_itowa.h: Include <_itoa.h>.
16217 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16218 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16219 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16220 only if not defined.
16221 (_ITOA_WORD_TYPE): Likewise.
16222 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16223 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16224
6f4db457
DM
162252012-03-21 David S. Miller <davem@davemloft.net>
16226
16227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16228
7785fe5a
L
162292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16230
16231 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16232 of x86_64 when setting libc_cv_slibdir, libdir and
16233 libc_cv_localedir.
16234 * sysdeps/unix/sysv/linux/configure: Regenerated.
16235
4535cd55
JM
162362012-03-21 Joseph Myers <joseph@codesourcery.com>
16237
16238 * manual/lang.texi (Old Varargs): Remove section.
16239 (How Variadic): Update menu.
16240 (va_start): Do not mention varargs.h.
16241
17228132
TS
162422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16243 Joseph Myers <joseph@codesourcery.com>
16244
16245 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16246 link test.
16247 * configure: Regenerated.
16248
8149f976
TS
162492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16250
05f3d1f6
UD
16251 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16252 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16253 conformtest.pl
8149f976 16254
1a4ac776
JM
162552012-03-21 Joseph Myers <joseph@codesourcery.com>
16256
be22ce65
JM
16257 * NOTES: Remove.
16258 * Makefile (files-for-dist): Remove NOTES.
16259 (NOTES): Remove rule.
16260 * README: Don't refer to NOTES.
16261 * manual/creature.texi: Don't include macros.texi.
16262 * manual/intro.texi (creature.texi): Remove comment referring to
16263 NOTES.
16264
40b601fb
JM
16265 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16266 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16267 * configure: Regenerated.
16268 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16269 LIBC_TRY_CC_OPTION.
16270 (libc_cv_as_i686): Likewise.
16271 (libc_cv_cc_avx): Likewise.
16272 (libc_cv_cc_sse2avx): Likewise.
16273 (libc_cv_cc_fma4): Likewise.
16274 (libc_cv_cc_novzeroupper): Likewise.
16275 * sysdeps/i386/configure: Regenerated.
16276
1a4ac776
JM
16277 [BZ #13883]
16278 * sysdeps/i386/fpu/s_cexp.S: Remove.
16279 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16280 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16281 * math/libm-test.inc (cexp_test): Add more tests.
16282 * sysdeps/i386/fpu/libm-test-ulps: Update.
16283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16284
a458e7fe
AM
162852012-03-21 Allan McRae <allan@archlinux.org>
16286
16287 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16288
0cb7efc5
JM
162892012-03-21 Joseph Myers <joseph@codesourcery.com>
16290
16291 [BZ #13871]
16292 * math/w_exp2.c: Do not include <float.h>.
16293 (o_threshold, u_threshold): Remove.
16294 (__exp2): Calculate result before checking finiteness and calling
16295 __kernel_standard.
16296 * math/w_exp2f.c: Likewise.
16297 * math/w_exp2l.c: Likewise.
16298 * math/libm-test.inc (exp2_test): Require overflow exception for
16299 1e6 input.
2460d3aa
JM
16300
16301 [BZ #3866]
16302 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16303 range of signed 64-bit integers before using fistpll. Remove
16304 checks for whether integers fit in mantissa bits.
16305 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16306 the range of signed 32-bit integers before using fistpl. Remove
16307 checks for whether integers fit in mantissa bits.
16308 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16309 (__ieee754_powl): Test for y outside the range of signed 64-bit
16310 integers before using fistpll. Reduce 64-bit values to 63-bit
16311 ones as needed.
16312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16313 divide-by-zero is raised for zero to large negative powers.
16314 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16315 (__ieee754_powl): Test for y outside the range of signed 64-bit
16316 integers before using fistpll. Reduce 64-bit values to 63-bit
16317 ones as needed.
16318 * math/libm-test.inc (pow_test): Add more tests.
16319
eb96ffb0
L
163202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16321
16322 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16323 <stdio-common/_itoa.h>.
16324 * debug/segfault.c: Likewise.
16325 * elf/dl-cache.c: Likewise.
16326 * elf/dl-minimal.c: Likewise.
16327 * elf/dl-misc.c: Likewise.
16328 * elf/dl-sysdep.c: Likewise.
16329 * elf/dl-version.c: Likewise.
16330 * elf/rtld.c: Likewise.
16331 * hurd/hurdsock.c: Likewise.
16332 * hurd/lookup-retry.c: Likewise.
16333 * malloc/malloc.c: Likewise.
16334 * malloc/mtrace.c: Likewise.
16335 * nscd/nscd_getgr_r.c: Likewise.
16336 * nscd/nscd_getpw_r.c: Likewise.
16337 * nscd/nscd_getserv_r.c: Likewise.
16338 * posix/getopt_init.c: Likewise.
16339 * posix/wordexp.c: Likewise.
16340 * stdio-common/_itoa.c: Likewise.
16341 * stdio-common/printf_fphex.c: Likewise.
16342 * stdio-common/vfprintf.c: Likewise.
16343 * string/_strerror.c: Likewise.
16344 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16345 * sysdeps/i386/i686/hp-timing.h: Likewise.
16346 * sysdeps/mach/_strerror.c: Likewise.
16347 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16348 * sysdeps/mach/hurd/sethostid.c: Likewise.
16349 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16350 * sysdeps/mach/xpg-strerror.c: Likewise.
16351 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16352 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16353 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16354 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16355 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16356 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16357 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16358 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16359 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16360 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16361 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16362 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16363 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16364 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16365 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16366 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16367 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16368 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16369 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16370 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16371 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16372
16373 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16374
16375 * stdio-common/_itoa.h: Moved to ...
16376 * sysdeps/generic/_itoa.h: Here.
16377
16378 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16379
16380 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16381 instead of "_itoa.h" and "_itowa.h".
16382 * stdio-common/vfprintf.: Likewise.
16383
d1af992d
L
163842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16385
16386 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16387 <bits/wordsize.h>.
16388 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16389 (__signbit): Likwise.
16390 (llrintf): Likwise.
16391 (llrint): Likwise.
16392
114883e0
L
163932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16394
16395 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16396 __WORDSIZE != 64.
16397
c135cc1b
JM
163982012-03-20 Joseph Myers <joseph@codesourcery.com>
16399
16400 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16401 OVERFLOW_EXCEPTION_OK.
16402 * math/libm-test.inc ("Philosophy"): Update comment about
16403 exception testing.
16404 (OVERFLOW_EXCEPTION): Define.
16405 (OVERFLOW_EXCEPTION_OK): Likewise.
16406 (INVALID_EXCEPTION_OK): Renumber.
16407 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16408 (IGNORE_ZERO_INF_SIGN): Likewise.
16409 (test_exceptions): Handle FE_OVERFLOW.
16410 (exp10_test): Expect overflow exceptions.
16411 (exp2_test): Likewise.
16412 (expm1_test): Likewise.
16413 (nextafter_test): Likewise.
16414 (pow_test): Likewise.
16415 (scalbn_test): Likewise.
16416 (scalbln_test): Likewise.
16417
95443d88
L
164182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16419
16420 * sysdeps/x86_64/bits/atomic.h
16421 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16422 64bit integer.
16423 (atomic_exchange_acq): Likewise.
16424 (__arch_exchange_and_add_body): Likewise.
16425 (__arch_add_body): Likewise.
16426 (atomic_add_negative): Likewise.
16427 (atomic_add_zero): Likewise.
16428
490df6c4
L
164292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16430
c2722551 16431 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16432 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16433
5e52b189
L
164342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16435
16436 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16437 Check __x86_64__ instead of __WORDSIZE.
16438
a9879d4c
L
164392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16440
16441 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16442
5df98260
DM
164432012-03-19 David S. Miller <davem@davemloft.net>
16444
e1497744
DM
16445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16446
5df98260
DM
16447 * sysdeps/sparc/fpu/fenv_private.h: New file.
16448 * sysdeps/sparc/fpu/math_private.h: Use it.
16449 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16450 Remove.
16451 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16452 (libc_feholdexcept_setroundl): Remove.
16453 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16454 Remove.
16455 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16456 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16457
b4c35121
L
164582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16459
16460 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16461 int64_t instead of long int.
16462 (INSERT_WORDS64): Likwise.
16463
56965fd7
L
164642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16465
16466 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16467 _Unwind_GetCFA return to _Unwind_Ptr first.
16468
83d1aec8
JM
164692012-03-19 Joseph Myers <joseph@codesourcery.com>
16470
1897ad44
JM
16471 [BZ #13629]
16472 * math/s_clog.c: Include <float.h>.
16473 (__clog): Scale large or subnormal inputs.
16474 * math/s_clogf.c: Likewise.
16475 * math/s_clogl.c: Likewise.
16476 * math/s_clog10.c: Include <float.h>.
16477 (M_LOG10_2): Define.
16478 (__clog10): Scale large or subnormal inputs.
16479 * math/s_clog10f.c: Likewise.
16480 * math/s_clog10l.c: Likewise.
16481 * math/libm-test.inc (clog_test): Add more tests.
16482 (clog10_test): Likewise.
16483 * sysdeps/i386/fpu/libm-test-ulps: Update.
16484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16485
7726d6a9
JM
16486 [BZ #11451]
16487 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16488 x and y.
16489 * math/libm-test.inc (atan2_test): Add another test.
16490
83d1aec8
JM
16491 * Makerules (common-objdir-compile): Remove.
16492 * sysdeps/unix/Makefile (config-generated): Do not add
16493 $(unix-generated) to variable.
16494 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16495 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16496 Remove rule.
16497 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16498 Likewise.
16499 [generic bits/local_lim.h] (before-compile): Do not append to
16500 variable.
16501 [generic bits/local_lim.h] (common-generated): Likewise.
16502 [generic sys/param.h] (before-compile): Do not append to variable.
16503 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16504 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16505 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16506 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16507 include.
16508 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16509 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16510 [generic sys/param.h] ($(addprefix
16511 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16512 [generic sys/param.h] (common-generated): Do not append to
16513 variable.
16514 [generic sys/param.h] (sysdep_headers): Likewise.
16515 [generic bits/errno.h] (before-compile): Do not append to
16516 variable.
16517 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16518 rule.
16519 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16520 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16521 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16522 [generic bits/errno.h] (common-generated): Do not append to
16523 variable.
16524 [generic bits/ioctls.h] (before-compile): Do not append to
16525 variable.
16526 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16527 rule.
16528 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16529 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16530 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16531 rule.
16532 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16533 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16534 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16535 [generic bits/ioctls.h] (common-generated): Do not append to
16536 variable.
16537 [generic sys/syscall.h] (syscall.h): Remove variable.
16538 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16539 rule.
16540 [generic sys/syscall.h] (before-compile): Do not append to
16541 variable.
16542 [generic sys/syscall.h] (common-generated): Likewise.
16543 * sysdeps/unix/errnos-tmpl.c: Remove file.
16544 * sysdeps/unix/errnos.awk: Likewise.
16545 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16546 * sysdeps/unix/ioctls.awk: Likewise.
16547 * sysdeps/unix/mk-local_lim.c: Likewise.
16548 * sysdeps/unix/snarf-ioctls: Likewise.
16549
4851a949
RH
165502012-03-19 Richard Henderson <rth@twiddle.net>
16551
bd37f2ee
RH
16552 * sysdeps/i386/fpu/fenv_private.h: New file.
16553 * sysdeps/i386/fpu/math_private.h: Use it.
16554 (math_opt_barrier, math_force_eval): Remove.
16555 (libc_feholdexcept_setround_53bit): Remove.
16556 (libc_feupdateenv_53bit): Remove.
16557 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16558 (math_opt_barrier, math_force_eval): Remove.
16559 (libc_feholdexcept): Remove.
16560 (libc_feholdexcept_setround): Remove.
16561 (libc_fetestexcept, libc_fesetenv): Remove.
16562 (libc_feupdateenv_test): Remove.
16563 (libc_feupdateenv, libc_feholdsetround): Remove.
16564 (libc_feresetround): Remove.
16565
d0adc922
RH
16566 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16567 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16568
0fe0f1f8
RH
16569 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16570 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16571 (libc_feupdateenv_testl): New.
16572 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16573 (libc_feupdateenv_testf): New.
16574 (libc_feupdateenv): Use libc_feupdateenv_test.
16575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16576 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16577
eb92c487
RH
16578 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16579 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16580 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16581 (libc_feresetround_noex): New.
16582 (libc_feresetround_noexf): New.
16583 (libc_feresetround_noexl): New.
16584 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16585 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16586 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16587 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16588 SET_RESTORE_ROUND.
16589 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16590 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16591 (__cos): Likewise.
16592 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16593 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16594 SET_RESTORE_ROUND_NOEX.
16595 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16596 SET_RESTORE_ROUND_NOEXF.
16597 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16598 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16599 (libc_feholdsetroundf): New.
16600 (libc_feresetround, libc_feresetroundf): New.
16601
7d2e8012
RH
16602 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16603 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16604 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16605
b4dabbb4
RH
16606 * sysdeps/generic/math_private.h: Include <fenv.h>.
16607 (default_libc_feholdexcept): New.
16608 (default_libc_feholdexcept_setround): New.
16609 (default_libc_fesetenv, default_libc_feupdateenv): New.
16610 (libc_feholdexcept): Only define if undefined.
16611 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16612 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16613 (libc_feholdexcept_setroundl): Likewise.
16614 (libc_feholdexcept_setround_53bit): Likewise.
16615 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16616 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16617 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16618 (libc_feupdateenv_53bit): Likewise.
16619 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16620 (libc_feholdexcept): Convert from macro to inline function.
16621 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16622 (libc_fesetenv, libc_feupdateenv): Likewise.
16623
4851a949
RH
16624 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16625 not previously defined.
16626 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16627 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16628 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16629 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16630 * sysdeps/ieee754/flt-32/math_private.h: New file.
16631 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16632 math_private.h below SET_FLOAT_WORD.
16633 (__isnan, __isinf_ns, __finite): Remove.
16634 (__isnanf, __isinf_nsf, __finitef): Remove.
16635
e79d442e
AS
166362012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16637
16638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16639
90b80344
DM
166402012-03-17 David S. Miller <davem@davemloft.net>
16641
16642 [BZ #6471]
16643 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16644 for 2.16.
16645
edc21804
DM
166462012-03-16 David S. Miller <davem@davemloft.net>
16647
77e927af
DM
16648 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16649 warnings.
16650
374976dd
DM
16651 [BZ #6471]
16652 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16653 properly.
16654 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16655 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16656 sysdep_routines when subdir is sysvipc.
16657 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16658 __getshmlba helper.
16659
edc21804
DM
16660 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16661
473c3ef3
L
166622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16663
16664 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16665 [__LP64__].
16666
eb0f39b6
L
166672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16668
16669 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16670 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16671 (__lround): Renamed to ...
16672 (__llround): This. Replace long int with long long int.
16673 Define lround functions as aliases of llround functions.
16674 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16675
6b6cd74b
L
166762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16677
16678 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16679 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16680 adresses to uintptr_t. Replace "long int" and "unsigned long
16681 int" with "greg_t" on va_arg.
16682
f1a77b01
L
166832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16684
16685 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16686 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16687
16688 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16689 Move e_machine check before EI_CLASS check. Handle x32
16690 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16691 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16692 SKIP_EM_IA_64 and include
16693 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16694
16695 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16696 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16697 (add_system_dir): New macro.
16698
16699 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16700 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16701
11b90b9f
JM
167022012-03-16 Joseph Myers <joseph@codesourcery.com>
16703
c36e1d23
JM
16704 [BZ #2551]
16705 [BZ #2552]
16706 [BZ #2553]
16707 [BZ #2554]
16708 [BZ #2562]
16709 [BZ #2563]
16710 [BZ #2565]
16711 [BZ #2566]
16712 [BZ #2576]
16713 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16714 (y0): Likewise.
16715 * math/w_j0f.c (j0f): Likewise.
16716 (y0f): Likewise.
16717 * math/w_j0l.c (__j0l): Likewise.
16718 (__y0l): Likewise.
16719 * math/w_j1.c (j1): Likewise.
16720 (y1): Likewise.
16721 * math/w_j1f.c (j1f): Likewise.
16722 (y1f): Likewise.
16723 * math/w_j1l.c (__j1l): Likewise.
16724 (__y1l): Likewise.
16725 * math/w_jn.c (jn): Likewise.
16726 (yn): Likewise.
16727 * math/w_jnf.c (jnf): Likewise.
16728 (ynf): Likewise.
16729 * math/w_jnl.c (__jnl): Likewise.
16730 (__ynl): Likewise.
16731 * math/libm-test.inc (j0_test): Add more tests.
16732 (j1_test): Likewise.
16733 (jn_test): Likewise. Add trailing semicolon to existing test.
16734 (y0_test): Likewise.
16735 (y1_test): Likewise.
16736 * sysdeps/i386/fpu/libm-test-ulps: Update.
16737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16738
11b90b9f
JM
16739 [BZ #13851]
16740 [BZ #13854]
16741 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16742 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16743 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16744 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16745 (__tanl): Set errno for infinite argument.
16746 * sysdeps/i386/fpu/mptan.c: Remove.
16747 * sysdeps/i386/fpu/s_tan.S: Likewise.
16748 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16749 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16750 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16751 * math/libm-test.inc (tan_test): Add more tests and enable more
16752 tests for double and long double.
16753 * sysdeps/i386/fpu/libm-test-ulps: Update.
16754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16755
6a1bd2a1
JK
167562012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16757
16758 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16759 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16760
10a803e0
RM
167612012-03-16 Roland McGrath <roland@hack.frob.com>
16762
16763 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16764 * configure.in: Use it for both main tree and add-ons.
16765 * configure: Regenerated.
16766
f196c7f7
L
167672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16768
16769 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16770
8848d99d
JM
167712012-03-16 Joseph Myers <joseph@codesourcery.com>
16772
96cbe7f4
JM
16773 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16774 in comment.
16775
8848d99d
JM
16776 [BZ #13851]
16777 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16778 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16782 infinite argument.
16783 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16785 != 0 for prec == 2.
16786 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16787 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16788 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16789 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16790 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16791 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16792 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16793 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16794 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16795 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16796 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16797 * math/libm-test.inc (cos_test): Add more tests and enable more
16798 tests for long double.
16799 (sin_test): Likewise.
16800 (sincos_test): Likewise.
16801 * sysdeps/i386/fpu/libm-test-ulps: Update.
16802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16803
dd7f4703
DM
168042012-03-16 David S. Miller <davem@davemloft.net>
16805
16806 * sysdeps/sparc/fpu/math_private.h: New file.
16807
006f1daa
DM
168082012-03-15 David S. Miller <davem@davemloft.net>
16809
c0c83bc8
DM
16810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16811 file.
e6a62e18 16812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16814 file.
e6a62e18
DM
16815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16821 sysdep routines.
16822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16823
88cb87d9
DM
16824 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16825 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16826
006f1daa 16827 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16829 sparc-ifunc.h
006f1daa 16830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16832 Likewise.
16833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16834 Likewise.
006f1daa
DM
16835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16839 Likewise.
006f1daa
DM
16840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16845 Likewise.
16846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16847 Likewise.
006f1daa
DM
16848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16872
11e0098e
AS
168732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16874
16875 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16876 scaling.
16877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16878
e85b09d0
AJ
168792012-03-15 Andreas Jaeger <aj@suse.de>
16880
16881 [BZ #13852]
16882 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16883 ieee754/flt-32 implementation for sin, cos and sincos.
16884 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16885 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16886 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16887 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16888 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16889 ieee754/flt-32 implementation for tan.
16890
16891 * math/libm-test.inc (cos_test): Enable some large input tests for
16892 float as well
16893 (sin_test): Likewise.
16894 (sincos_test): Likewise.
16895 (tan_test): Add tests for large input.
16896
16897 * sysdeps/i386/fpu/libm-test-ulps: Update.
16898
81c64153
AJ
168992012-03-15 Andreas Jaeger <aj@suse.de>
16900
16901 [BZ #13658]
16902 * math/libm-test.inc (cos_test): Add more test cases.
16903 (sin_test): Likewise.
16904 (sincos_test): Likewise.
16905
7bbfa5c6
AJ
169062012-03-15 Andreas Jaeger <aj@suse.de>
16907
16908 [BZ #13837]
16909 * math/libm-test.inc (cos_test): Add a test case for large input
16910 value.
16911 (sin_test): Likewise.
16912 (sincos_test): Likewise.
16913
169142012-03-15 Andreas Jaeger <aj@suse.de>,
16915 Joseph Myers <joseph@codesourcery.com>
16916
16917 [BZ #13658]
0671f479 16918 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16919 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16920 * sysdeps/i386/fpu/branred.c: Likewise.
16921 * sysdeps/i386/fpu/dosincos.c: Likewise.
16922 * sysdeps/i386/fpu/mpa.c: Likewise.
16923 * sysdeps/i386/fpu/s_cos.S: Likewise.
16924 * sysdeps/i386/fpu/s_sin.S: Likewise.
16925 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16926 * sysdeps/i386/fpu/sincos32.c: Likewise.
16927
16928 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16929 Define.
16930 (libc_feupdateenv_53bit): Define.
16931 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16932 Define.
16933 (libc_feupdateenv_53bit): Define.
16934
16935 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16936 53 bit (without extend i386 double precision).
16937
16938 * math/libm-test.inc (sincos_test): Add tests for large input.
16939 (sin): Likewise.
16940 (cos): Likewise.
16941
16942 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16943
9cad04ea
AS
169442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16945
16946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16947
f7062b9a
DM
169482012-03-15 David S. Miller <davem@davemloft.net>
16949
16950 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16951 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16952 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16953 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16966 file.
f7062b9a 16967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16969 file.
f7062b9a 16970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16972 file.
f7062b9a 16973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16975 file.
f7062b9a
DM
16976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16977 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16978 fmin/fmax sysdep routines.
16979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16980
7bd951ff
DM
169812012-03-14 David S. Miller <davem@davemloft.net>
16982
559398ab
DM
16983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16990 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17009 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17010 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17011 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17012 routines.
17013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17014 file.
559398ab 17015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17017 file.
559398ab 17018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17020 file.
559398ab 17021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17023 file.
559398ab 17024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17026 file.
559398ab 17027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17029 file.
17030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17031 file.
17032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17033 file.
17034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17035 file.
17036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17037 New file.
17038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17039 file.
17040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17041 file.
559398ab 17042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17044 file.
559398ab 17045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17047 file.
559398ab 17048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17050 file.
559398ab 17051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17053 VIS3 routines.
559398ab
DM
17054
17055 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17056 New file.
17057
5a1c1e32
DM
17058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17059
eae47a36
DM
17060 * sysdeps/sparc/configure.in: New file.
17061 * sysdeps/sparc/configure: Generate.
17062 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17063 * configure: Regenerate.
17064 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17065 * config.make.in (have-as-vis3): New.
17066 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17067 available use -Av9d instead of -Av9a.
17068 * sysdeps/sparc/sparc64/Makefile: Likewise.
17069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17071 New file.
17072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17073 file.
17074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17075 New file.
17076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17077 file.
eae47a36
DM
17078 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17083
c0c83bc8
DM
17084 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17085 fzeros/fnegs to load 0x80000000 into a float register instead of
17086 using the stack.
7bd951ff
DM
17087 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17088
bd951ccb
JM
170892012-03-14 Joseph Myers <joseph@codesourcery.com>
17090
17091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17092 bits/syscall.h.
17093 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17094 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17095 ($(inst_includedir)/bits/syscall.h): Remove rule.
17096 ($(objpfx)bits/syscall.d): Include instead of
17097 $(objpfx)syscall-list.d.
17098 (generated): Change syscall-list.h and syscall-list.d to
17099 bits/syscall.h and bits/syscall.d.
17100
bb4e6db2
RM
171012012-03-14 Roland McGrath <roland@hack.frob.com>
17102
17103 [BZ #13846]
17104 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17105
aa4a2ae1
JM
171062012-03-14 Joseph Myers <joseph@codesourcery.com>
17107
e456826d
JM
17108 [BZ #13841]
17109 * math/s_csqrt.c: Include <float.h>.
17110 (__csqrt): Scale large or subnormal inputs.
17111 * math/s_csqrtf.c: Likewise.
17112 * math/s_csqrtl.c: Likewise.
17113 * math/libm-test.inc (csqrt_test): Add more tests.
17114 * sysdeps/i386/fpu/libm-test-ulps: Update.
17115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17116
aa4a2ae1
JM
17117 [BZ #13840]
17118 * math/libm-test.inc (hypot_test): Add more tests.
17119
7c10fd35
DM
171202012-03-13 David S. Miller <davem@davemloft.net>
17121
17122 [BZ #13840]
17123 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17124 double-precision for the calculation instead of scaling.
17125
f453b98b
JM
171262012-03-13 Joseph Myers <joseph@codesourcery.com>
17127
17128 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17129 manipulate bits before adding and subtracting TWO52[sx].
17130 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17131 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17132 Likewise.
17133 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17134
09a3453f
DM
171352012-03-13 David S. Miller <davem@davemloft.net>
17136
8e59da90
DM
17137 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17138 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17140 rtld-global-offsets.h
17141 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17142
2a8ab7f2
DM
17143 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17144 large parameters.
17145
10f62770
DM
17146 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17147
5f0bdb18
DM
17148 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17149 'err' in the ifdef scope in which it is actually used.
17150
09a3453f
DM
17151 * nss/nss_db/db-init.c: Include string.h
17152
b4b2eb5e
DM
171532012-03-12 David S. Miller <davem@davemloft.net>
17154
98bb2f1c
DM
17155 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17156 masking out of the most significant byte of random value used.
17157 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17158 Fix coding style in previous change.
17159
b4b2eb5e
DM
17160 * sysdeps/unix/sysv/linux/kernel-features.h
17161 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17162 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17163 expression.
17164 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17165 later.
17166
6e226b09
DM
171672012-03-11 David S. Miller <davem@davemloft.net>
17168
a1bcbd40
DM
17169 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17170 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17172 for 'resultvar' otherwise things get truncated on 64-bit.
17173
cb9d6174
DM
17174 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17175 Fix masking out of the most significant byte of random value used.
17176
6e226b09
DM
17177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17178
058c132d
AS
171792012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17180
17181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17182
2d2cd515
DM
171832012-03-09 David S. Miller <davem@davemloft.net>
17184
17185 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17186 variables with appropriate CPP guards.
17187 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17188 frame pointer, not the stack pointer. Correct layout comments. Fix test
17189 on resulting framesize and the management of the outregs buffer for pltexit.
17190 Preserve floating point return values across _dl_call_pltexit call.
17191 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17192 framesize and the management of the outregs buffer for pltexit.
17193 Preserve floating point return values across _dl_call_pltexit
17194 call.
17195 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17196 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17197 (print_exit): Fix format string for return register value.
17198
9a07f9d0
JM
171992012-03-10 Joseph Myers <joseph@codesourcery.com>
17200
17201 * sunrpc/Makefile (others): Add rpcgen.
17202 ($(objpfx)rpcgen): Remove special build rule and dependency on
17203 libc.
17204 * sunrpc/rpcgen.c: New file.
17205
547b5e30
PE
172062012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17207
c524201a
PE
17208 [BZ #13673]
17209 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17210 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17211 * sysdeps/i386/crti.S: Likewise.
17212 * sysdeps/i386/crtn.S: Likewise.
17213 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17214 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17215 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17216 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17217 * sysdeps/sh/crti.S: Likewise.
17218 * sysdeps/sh/crtn.S: Likewise.
17219 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17220
7b6235f2
PE
17221 [BZ #13673]
17222 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17223 with URL.
17224 * locale/programs/locfile-kw.gperf: Likewise.
17225 * locale/programs/charmap-kw.h: Regenerated.
17226 * locale/programs/locfile-kw.h: Likewise.
17227
547b5e30
PE
17228 [BZ #13673]
17229 * intl/plural.y: Replace FSF snail mail address with URL.
17230 * intl/plural.c: Regenerated.
17231
5f0a5dae
RH
172322012-03-09 Richard Henderson <rth@twiddle.net>
17233
17234 * include/math_private.h: Remove file.
17235 * math/math_private.h: Move file ...
17236 * sysdeps/generic/math_private.h: ... here.
17237
b8c03620
RH
17238 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17239 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17240 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17241
4e234f5d 17242 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17243 and <math_private.h>.
17244 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17245 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17246 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17247 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17248 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17249 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17250 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17252 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17253 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17254 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17255 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17256 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17257 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17258 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17259 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17260 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17262 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17263 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17265 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17266 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17268 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17269 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17270 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17271 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17273 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17274 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17276 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17277 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17278 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17281 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17284 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17285 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17286 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17287 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17288 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17289 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17290 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17291 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17292 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17293 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17294 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17297 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17298 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17299 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17300 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17301 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17302 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17303 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17304 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17305 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17307 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17308 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17310 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17311 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17312 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17313 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17314 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17315 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17316 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17332 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17333 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17334 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17335 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17336 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17337 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17338 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17339 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17340 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17341 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17342 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17343 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17344 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17345 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17346 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17347 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17348 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17349 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17350 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17351 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17352 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17353 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17354 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17355 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17356 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17357 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17358 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17359 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17360 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17361 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17362 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17363 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17364 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17365 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17366 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17367 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17368 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17369 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17370 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17371 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17372 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17373 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17374 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17375 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17376 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17377 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17378 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17379 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17380 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17381 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17382 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17383 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17384 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17385 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17386 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17387 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17388 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17389 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17390 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17391 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17392 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17393 * sysdeps/ieee754/k_standard.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17397 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17398 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17399 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17402 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17403 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17404 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17406 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17407 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17408 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17409 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17414 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17416 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17421 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17422 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17509 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17513 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17514 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17516 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17521 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17526 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17535 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17542 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17543 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17544 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17551 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17552 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17554 * sysdeps/ieee754/s_lib_version.c: Likewise.
17555 * sysdeps/ieee754/s_matherr.c: Likewise.
17556 * sysdeps/ieee754/s_signgam.c: Likewise.
17557 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17558 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17559 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17560 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17561 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17562 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17563 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17564 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17565 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17566 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17567 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17568 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17569 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17570 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17571 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17572 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17573 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17574 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17575 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17577 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17578
1991fa03
JM
175792012-03-09 Joseph Myers <joseph@codesourcery.com>
17580
17581 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17582 * sunrpc/rpc_main.c: Likewise.
17583 * sunrpc/rpc_svcout.c: Likewise.
17584
60d6f5a6
DM
175852012-03-09 David S. Miller <davem@davemloft.net>
17586
17587 * include/math_private.h: New file.
17588
4962050e
JM
175892012-03-09 Joseph Myers <joseph@codesourcery.com>
17590
02a6f887
JM
17591 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17592 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17593 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17594 from <bits/socket_type.h>.
17595 (enum __socket_type): Don't define here.
17596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17598 bits/socket_type.h.
17599
c6e013c1
JM
17600 [BZ #13566]
17601 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17602 checking __USE_GNU.
17603
4962050e
JM
17604 * Makerules ($(inst_includedir)/%.h): New rule.
17605 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17606 (install-others): Remove variable setting.
17607 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17608
38842f45
RH
176092012-03-08 Richard Henderson <rth@twiddle.net>
17610
67bb6da6
RH
17611 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17612 from macro to inline function; merge with the
17613 !__LIBC_INTERNAL_MATH_INLINES version.
17614 (__ieee754_sqrtf): Likewise.
17615
15194b4b
RH
17616 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17617 to inline function.
17618 (__rintf, __floor, __floorf): Likewise.
17619
64e21ede
RH
17620 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17621 macro to inline function.
17622 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17623
38842f45
RH
17624 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17625 not <math/math_private.h>.
17626
c64bf5fe
DM
176272012-03-08 David S. Miller <davem@davemloft.net>
17628
17629 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17630 copyright year.
17631 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17632
82d86f28
TS
176332012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17634
17635 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17636 normalization.
17637 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17638 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17639
aea5d727
UD
176402012-03-08 Ulrich Drepper <drepper@gmail.com>
17641
17642 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17643 be defined individually, they must be defined as a block. Define
17644 S for printing a string instead of hidint the different by using a
17645 macro for adding the 'l'.
17646 * stdio-common/tst-fphex-wide.c: Adjust.
17647
70bca0a3
MP
176482012-03-07 Marek Polacek <polacek@redhat.com>
17649
17650 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17651
65b81130
MP
176522012-03-08 Marek Polacek <polacek@redhat.com>
17653
17654 [BZ #13806]
17655 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17656 * stdio-common/tst-fphex.c: Define a few macros to make the
17657 test reusable. Use them.
17658 * stdio-common/tst-fphex-wide.c: New file.
17659
07037eeb
JM
176602012-03-08 Joseph Myers <joseph@codesourcery.com>
17661
a7a93d50
JM
17662 [BZ #6911]
17663 * manual/macros.texi (gnusystems): New macro.
17664 (nongnusystems): Likewise.
17665 (gnulinuxhurdsystems): Likewise.
17666 (gnuhurdsystems): Likewise..
17667 (gnulinuxsystems): Likewise.
17668 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17669 variants of the GNU system, not "GNU system".
17670 * manual/conf.texi: Likewise.
17671 * manual/errno.texi: Likewise. Update example of errno macro
17672 expansion.
17673 * manual/filesys.texi: Likewise.
17674 (getumask): Document as specific to GNU/Hurd.
17675 * manual/install.texi: Likewise. Reword some references to
17676 GNU/Linux.
17677 * manual/intro.texi: Likewise.
17678 * manual/io.texi: Likewise.
17679 (File Name Portability): Detail which constraints are inapplicable
17680 to all GNU systems and which are only inapplicable to GNU/Hurd.
17681 * manual/job.texi: Likewise.
17682 * manual/llio.texi: Likewise.
17683 (O_NOCTTY): Document as present on GNU/Linux.
17684 * manual/maint.texi: Likewise.
17685 * manual/memory.texi: Likewise.
17686 * manual/pattern.texi: Likewise.
17687 * manual/pipe.texi: Likewise.
17688 * manual/process.texi: Likewise.
17689 * manual/resource.texi: Likewise.
17690 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17691 child on GNU/Hurd.
17692 * manual/setjmp.texi: Likewise.
17693 * manual/signal.texi: Likewise.
17694 * manual/startup.texi: Likewise.
17695 * manual/stdio.texi: Likewise.
17696 * manual/terminal.texi: Likewise.
17697 (ONLCR): Document as POSIX.
17698 (OXTABS): Document availability on GNU/Linux as XTABS.
17699 (ONOEOT): Document availability separately from other bits.
17700 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17701 * manual/time.texi: Likewise.
17702 * manual/users.texi: Likewise.
17703 * INSTALL: Regenerated.
17704 * sysdeps/gnu/errlist.c: Regenerated.
17705
07037eeb
JM
17706 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17707 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17708 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17709 puts.
17710 * configure: Regenerated.
17711
d1d3431a
JM
177122012-03-07 Joseph Myers <joseph@codesourcery.com>
17713
af6a1e37
JM
17714 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17715 default includes instead of AC_HEADER_CHECK.
17716 * sysdeps/i386/configure: Regenerated.
17717
d1d3431a
JM
17718 [BZ #10716]
17719 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17720 * math/s_cacoshf.c (__cacoshf): Likewise.
17721 * math/s_cacoshl.c (__cacoshl): Likewise.
17722 * math/s_casinh.c (__casinh): Set signs of result from argument.
17723 * math/s_casinhf.c (__casinhf): Likewise.
17724 * math/s_casinhl.c (__casinhl): Likewise.
17725 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17726 (casinh_test): Add more tests.
17727 * sysdeps/i386/fpu/libm-test-ulps: Update.
17728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17729
482ff4da
UD
177302012-03-07 Ulrich Drepper <drepper@gmail.com>
17731
872fda05
UD
17732 * po/zh_TW.po: Update from translation team.
17733
a4300c7a
UD
17734 * login/Makefile (distribute): Remove variable.
17735 * catgets/Makefile: Likewise.
17736 * mach/Makefile: Likewise.
17737 * malloc/Makefile: Likewise.
17738 * misc/Makefile: Likewise.
17739 * iconv/Makefile: Likewise.
17740 * nscd/Makefile: Likewise.
17741 * hurd/Makefile: Likewise.
17742 * manual/Makefile: Likewise.
17743 * locale/Makefile: Likewise.
17744 * intl/Makefile: Likewise.
17745 * conform/Makefile: Likewise.
17746 * nss/Makefile: Likewise.
17747 * time/Makefile: Likewise.
17748 * soft-fp/Makefile: Likewise.
17749 * dirent/Makefile: Likewise.
17750 * gmon/Makefile: Likewise.
17751 * po/Makefile: Likewise.
17752 * rt/Makefile: Likewise.
17753 * socket/Makefile: Likewise.
17754 * math/Makefile: Likewise.
17755 * signal/Makefile: Likewise.
17756 * debug/Makefile: Likewise.
17757 * elf/Makefile: Likewise.
17758 * timezone/Makefile: Likewise.
17759 * stdlib/Makefile: Likewise.
17760 * iconvdata/Makefile: Likewise.
17761 * sunrpc/Makefile: Likewise.
17762 * io/Makefile: Likewise.
17763 * argp/Makefile: Likewise.
17764 * inet/Makefile: Likewise.
17765 * hesiod/Makefile: Likewise.
17766 * grp/Makefile: Likewise.
17767 * csu/Makefile: Likewise.
17768 * wctype/Makefile: Likewise.
17769 * crypt/Makefile: Likewise.
17770 * libio/Makefile: Likewise.
17771 * string/Makefile: Likewise.
17772 * nis/Makefile: Likewise.
17773 * resolv/Makefile: Likewise.
17774 * stdio-common/Makefile: Likewise.
17775 * wcsmbs/Makefile: Likewise.
17776 * dlfcn/Makefile: Likewise.
17777 * posix/Makefile: Likewise.
17778
3b7c4e74 17779 [BZ #6959]
482ff4da
UD
17780 * timezone/Makefile: Don't install timezone files, just the programs
17781 and scripts.
17782
f72ed77d
UD
177832012-03-06 Ulrich Drepper <drepper@gmail.com>
17784
a000466f
UD
17785 * nss/databases.def: Add missing gshadow entry.
17786
f72ed77d
UD
17787 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17788
a53b7a4e
MP
177892012-03-06 Marek Polacek <polacek@redhat.com>
17790
17791 [BZ #13726]
17792 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17793 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17794 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17795 * stdio-common/tst-long-dbl-fphex.c: New file.
17796
e9258400
DM
177972012-03-06 David S. Miller <davem@davemloft.net>
17798
17799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17800 (set_obp_int): New function.
17801 (get_obp_int): New function.
17802 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17803 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17804 Avoid unused variable warnings on 'val' and use builtin_expect.
17805 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17806 __builtin_expect.
e9258400
DM
17807 (INLINE_CLONE_SYSCALL): Likewise.
17808
3bd2c723
DM
178092012-03-05 David S. Miller <davem@davemloft.net>
17810
17811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17812
bbb78d03
AS
178132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17814
884c5db4
AS
17815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17816
bbb78d03
AS
17817 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17818 only for |x| >= 40.
17819 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17820
1c9f702a 178212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17822
17823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17824 Replace gettimeofday with __vdso_gettimeofday.
17825
7be16f82
RM
17826 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17827 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17828 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17829
17830 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17831 time with __vdso_time.
17832
ed58a00f
JM
178332012-03-05 Joseph Myers <joseph@codesourcery.com>
17834
17835 * manual/lang.texi (size_t): Note types to which size_t may be
17836 equivalent with the GNU C Library, but do not describe when
17837 differences between them are significant.
17838
30ee4ced
AJ
178392012-03-05 Andreas Jaeger <aj@suse.de>
17840
17841 * sysdeps/i386/fpu/libm-test-ulps: Update.
17842
b7cd39e8
JM
178432012-03-05 Joseph Myers <joseph@codesourcery.com>
17844
17845 [BZ #3976]
17846 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17847 (__ieee754_pow): Save and restore rounding mode and use
17848 round-to-nearest for main computations.
17849 * math/libm-test.inc (pow_test_tonearest): New function.
17850 (pow_test_towardzero): Likewise.
17851 (pow_test_downward): Likewise.
17852 (pow_test_upward): Likewise.
17853 (main): Call the new functions.
17854 * sysdeps/i386/fpu/libm-test-ulps: Update.
17855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17856
17857 [BZ #3976]
17858 * math/libm-test.inc (cosh_test_tonearest): New function.
17859 (cosh_test_towardzero): Likewise.
17860 (cosh_test_downward): Likewise.
17861 (cosh_test_upward): Likewise.
17862 (sinh_test_tonearest): Likewise.
17863 (sinh_test_towardzero): Likewise.
17864 (sinh_test_downward): Likewise.
17865 (sinh_test_upward): Likewise.
17866 (main): Call the new functions.
17867 * sysdeps/i386/fpu/libm-test-ulps: Update.
17868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17869
6c6a98c9
TV
178702012-03-05 Tom de Vries <tom@codesourcery.com>
17871
17872 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17873 default stack guard is set in last bytes.
17874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17875
21bb2d2e 178762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17877
21bb2d2e 17878 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17879
21bb2d2e
AJ
17880 [BZ #13656]
17881 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17882 possibly allocate from heap instead of stack.
17883 * stdio-common/bug-vfprintf-nargs.c: New file.
17884 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17885
c6922934
AS
178862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17887
17888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17889
bc957d53
MP
178902012-03-03 Marek Polacek <polacek@redhat.com>
17891
17892 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17893 * math/math_private.h: Likewise.
17894 * stdlib/tst-strtod.c: Likewise.
17895 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17896 * sysdeps/x86_64/bits/atomic.h: Likewise.
17897
6358490d
DM
178982012-03-02 David S. Miller <davem@davemloft.net>
17899
17900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17904 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17905 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17906 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17907 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17908
01ae168d
RM
179092012-03-02 Roland McGrath <roland@hack.frob.com>
17910
d9a17c07
RM
17911 [BZ #13792]
17912 * manual/examples/README: New file, says the example source files
17913 can be used under GPL>=2.
17914 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17915 line containing just "*/".
17916 * manual/examples/add.c: Add copyright header (GPL>=2).
17917 * manual/examples/argp-ex1.c: Likewise.
17918 * manual/examples/argp-ex2.c: Likewise.
17919 * manual/examples/argp-ex3.c: Likewise.
17920 * manual/examples/argp-ex4.c: Likewise.
17921 * manual/examples/atexit.c: Likewise.
17922 * manual/examples/db.c: Likewise.
17923 * manual/examples/dir.c: Likewise.
17924 * manual/examples/dir2.c: Likewise.
17925 * manual/examples/execinfo.c: Likewise.
17926 * manual/examples/filecli.c: Likewise.
17927 * manual/examples/filesrv.c: Likewise.
17928 * manual/examples/fmtmsgexpl.c: Likewise.
17929 * manual/examples/genpass.c: Likewise.
17930 * manual/examples/inetcli.c: Likewise.
17931 * manual/examples/inetsrv.c: Likewise.
17932 * manual/examples/isockad.c: Likewise.
17933 * manual/examples/longopt.c: Likewise.
17934 * manual/examples/memopen.c: Likewise.
17935 * manual/examples/memstrm.c: Likewise.
17936 * manual/examples/mkfsock.c: Likewise.
17937 * manual/examples/mkisock.c: Likewise.
17938 * manual/examples/mygetpass.c: Likewise.
17939 * manual/examples/pipe.c: Likewise.
17940 * manual/examples/popen.c: Likewise.
17941 * manual/examples/rprintf.c: Likewise.
17942 * manual/examples/search.c: Likewise.
17943 * manual/examples/select.c: Likewise.
17944 * manual/examples/setjmp.c: Likewise.
17945 * manual/examples/sigh1.c: Likewise.
17946 * manual/examples/sigusr.c: Likewise.
17947 * manual/examples/stpcpy.c: Likewise.
17948 * manual/examples/strdupa.c: Likewise.
17949 * manual/examples/strftim.c: Likewise.
17950 * manual/examples/strncat.c: Likewise.
17951 * manual/examples/subopt.c: Likewise.
17952 * manual/examples/swapcontext.c: Likewise.
17953 * manual/examples/termios.c: Likewise.
17954 * manual/examples/testopt.c: Likewise.
17955 * manual/examples/testpass.c: Likewise.
17956 * manual/examples/timeval_subtract.c: Likewise.
17957
01ae168d
RM
17958 [BZ #13792]
17959 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17960 function to ...
17961 * manual/timeval_subtract.c.texi: ... here, new file.
17962
49efa33d
DM
179632012-03-02 David S. Miller <davem@davemloft.net>
17964
17965 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17966
28afd92d
JM
179672012-03-02 Joseph Myers <joseph@codesourcery.com>
17968
804360ed
JM
17969 [BZ #3976]
17970 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17971 (__sin): Save and restore rounding mode and use round-to-nearest
17972 for all computations.
17973 (__cos): Save and restore rounding mode and use round-to-nearest
17974 for all computations.
17975 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17976 <fenv.h>.
17977 (tan): Save and restore rounding mode and use round-to-nearest for
17978 all computations.
17979 * math/libm-test.inc (cos_test_tonearest): New function.
17980 (cos_test_towardzero): Likewise.
17981 (cos_test_downward): Likewise.
17982 (cos_test_upward): Likewise.
17983 (sin_test_tonearest): Likewise.
17984 (sin_test_towardzero): Likewise.
17985 (sin_test_downward): Likewise.
17986 (sin_test_upward): Likewise.
17987 (tan_test_tonearest): Likewise.
17988 (tan_test_towardzero): Likewise.
17989 (tan_test_downward): Likewise.
17990 (tan_test_upward): Likewise.
17991 (main): Call the new functions.
17992 * sysdeps/i386/fpu/libm-test-ulps: Update.
17993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17994
a6d06d7b
JM
17995 [BZ #10135]
17996 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17997 small n, then large n, before computing and testing k+n.
17998 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18000 Likewise.
18001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18002 Likewise.
18003 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18004 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18005 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18006 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18007 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18009 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18010 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18011 * math/libm-test.inc (scalbn_test): Add more tests.
18012 (scalbln_test): Likewise.
18013
07e12bb3
JM
18014 * manual/filesys.texi (mode_t): Describe constraints on size and
18015 signedness, not exact equivalence to a particular type.
18016 (ino_t): Likewise.
18017 (ino64_t): Likewise.
18018 (dev_t): Likewise.
18019 (nlink_t): Likewise.
18020 (blkcnt_t): Likewise.
18021 (blkcnt64_t): Likewise.
18022 * manual/llio.texi (off_t): Likewise.
18023
28afd92d
JM
18024 [BZ #3976]
18025 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18026 (__ieee754_exp): Save and restore rounding mode and use
18027 round-to-nearest for all computations.
18028 * math/libm-test.inc (exp_test_tonearest): New function.
18029 (exp_test_towardzero): Likewise.
18030 (exp_test_downward): Likewise.
18031 (exp_test_upward): Likewise.
18032 (main): Call the new functions.
18033 * sysdeps/i386/fpu/libm-test-ulps: Update.
18034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18035
b1eeb65d
CD
180362012-03-01 Chris Demetriou <cgd@google.com>
18037
18038 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18039 have predictable order.
18040
53362a4b
DM
180412012-03-01 David S. Miller <davem@davemloft.net>
18042
3c969083
DM
18043 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18044
759707de
DM
18045 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18046 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18047 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18048 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18049
dfdb8ff2
DM
18050 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18051 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18052 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18054 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18055 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18056 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18057 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18058 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18059
ead89f96
DM
18060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18061
7f66bd07
DM
18062 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18063 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18064 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18065
53362a4b
DM
18066 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18067 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18068 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18069 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18070 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18072 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18073 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18074 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18075 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18076 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18077 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18079 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18080 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18082 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18083 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18084 * sysdeps/sparc/elf/configure: Regenerated.
18085
7b1902cb
JM
180862012-03-01 Joseph Myers <joseph@codesourcery.com>
18087
bec039bc
JM
18088 * configure.in (AS, LD): Require binutils 2.20 or later.
18089 * configure: Regenerated.
18090 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18091 as required minimum version.
18092 * INSTALL: Regenerated.
18093
7b1902cb
JM
18094 [BZ #2541]
18095 [BZ #4108]
18096 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18097 before squaring exponent.
18098 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18099 bottom long double and 27 bits of top long double before squaring
18100 exponent.
18101 * math/libm-test.inc (erfc_test): Add more tests.
18102 * sysdeps/i386/fpu/libm-test-ulps: Update.
18103 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18105
f775c276
KT
181062012-03-01 Kai Tietz <ktietz@redhat.com>
18107
18108 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18109 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18110 containing bit-fields.
18111 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18112 * soft-fp/single.h (_FP_UNION_S): Likewise.
18113 * soft-fp/double.h (_FP_UNION_D): Likewise.
18114
5b8a4d4a
JM
181152012-02-29 Joseph Myers <joseph@codesourcery.com>
18116
0bab47b6
JM
18117 [BZ #13786]
18118 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18119 not include ../strcmp.S.
18120 [USE_AS_STRNCASECMP_L]: Likewise.
18121 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18122 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18123 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18124 (__strncasecmp_l_ia32): Define as alias to
18125 __strncasecmp_l_nonascii.
18126
0fcad3e2
JM
18127 [BZ #5794]
18128 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18129 * sysdeps/i386/fpu/libm-test-ulps: Update.
18130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18131
5b8a4d4a
JM
18132 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18134
8fdceb2e
JL
181352012-02-29 Jeff Law <law@redhat.com>
18136
18137 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18138 out of bounds read.
18139
1f393a11
MP
181402012-02-29 Marek Polacek <polacek@redhat.com>
18141
18142 [BZ #13706]
18143 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18144 * elf/Makefile: Add rules to run tst-unused-dep.out.
18145
8847f037
DM
181462012-02-28 David S. Miller <davem@davemloft.net>
18147
18148 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18149 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18151 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18152 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18153 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18154
169d7f11
JM
181552012-02-29 Joseph Myers <joseph@codesourcery.com>
18156
18157 * math/libm-test.inc (llround_test): Move one test from
18158 lround_test. Use TEST_f_L in moved test.
18159 (lround_test): Move misplaced test to llround_test. Add testcase
18160 from bug 2561.
18161
39adf059
UD
181622012-02-28 Ulrich Drepper <drepper@gmail.com>
18163
18164 * sysdeps/x86_64/fpu/e_expf.S: New file.
18165 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18166
71b5d1c5
SB
181672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18168
18169 [BZ #13637]
18170 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18171 of remain_len that may cause incomplete multi-byte character and
18172 false match.
18173 * posix/bug-regex33.c: New file.
18174 * posix/Makefile (tests): Add bug-regex33.
18175
1f77f049
JM
181762012-02-28 Joseph Myers <joseph@codesourcery.com>
18177
18178 * manual/macros.texi: New file.
18179 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18180 * manual/libc.texinfo: Include macros.texi.
18181 * manual/creatute.texi: Likewise.
18182 * manual/install.texi: Likewise.
18183 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18184 @glibcadj{} in references to the GNU C Library.
18185 * manual/charset.texi: Likewise.
18186 * manual/conf.texi: Likewise.
18187 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18188 when not using those macros.
18189 * manual/creature.texi: Likewise.
18190 * manual/crypt.texi: Likewise.
18191 * manual/errno.texi: Likewise.
18192 * manual/filesys.texi: Likewise.
18193 * manual/header.texi: Likewise.
18194 * manual/install.texi: Likewise.
18195 * manual/intro.texi: Likewise.
18196 * manual/io.texi: Likewise.
18197 * manual/job.texi: Likewise.
18198 * manual/lang.texi: Likewise.
18199 * manual/libc.texiinfo: Likewise.
18200 * manual/llio.texi: Likewise.
18201 * manual/locale.texi: Likewise.
18202 * manual/maint.texi: Likewise.
18203 * manual/math.texi: Likewise.
18204 * manual/memory.texi: Likewise.
18205 * manual/message.texi: Likewise.
18206 * manual/nss.texi: Likewise.
18207 * manual/pattern.texi: Likewise.
18208 * manual/process.texi: Likewise.
18209 * manual/resource.texi: Likewise.
18210 * manual/search.texi: Likewise.
18211 * manual/setjmp.texi: Likewise.
18212 * manual/signal.texi: Likewise.
18213 * manual/socket.texi: Likewise.
18214 * manual/startup.texi: Likewise.
18215 * manual/stdio.texi: Likewise.
18216 * manual/string.texi: Likewise.
18217 * manual/sysinfo.texi: Likewise.
18218 * manual/syslog.texi: Likewise.
18219 * manual/terminal.texi: Likewise.
18220 * manual/time.texi: Likewise.
18221 * manual/users.texi: Likewise.
18222 * INSTALL: Regenerated.
18223 * NOTES: Regenerated.
d40c5d54 18224 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18225
450bf206
AS
182262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18227
18228 * include/dirent.h: Include <dirstream.h> before
18229 <dirent/dirent.h>.
18230
741a235b
DM
182312012-02-28 David S. Miller <davem@davemloft.net>
18232
18233 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18234 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18235 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18236 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18237
d6b5aa58
DM
182382012-02-27 David S. Miller <davem@davemloft.net>
18239
1aff59a3
DM
18240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18242 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18243 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18244
d6b5aa58
DM
18245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18246 frame pointer instead of stack pointer relative arg slot.
18247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18248 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18249 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18250
433f48bf
CD
182512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18252
18253 [BZ #3992]
18254 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18255
d674b76d
DM
182562012-02-27 David S. Miller <davem@davemloft.net>
18257
18258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18262 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18263 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18264 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18265 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18266
0e7727f7
JM
182672012-02-27 Joseph Myers <joseph@codesourcery.com>
18268
18269 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18270 later. Allow versions 5-9.
43be4ca2 18271 * configure: Regenerated.
0e7727f7
JM
18272 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18273 required minimum version and 4.6 as recommended version. Do not
18274 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18275 * INSTALL: Regenerated.
0e7727f7 18276
a78bc654
DM
182772012-02-27 David S. Miller <davem@davemloft.net>
18278
428d5830
DM
18279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18283 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18284 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18285 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18286 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18287
a78bc654
DM
18288 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18289 manipulate bits before adding and subtracting TWO112[sx].
18290 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18291
4579f81c
RM
182922012-02-27 Roland McGrath <roland@hack.frob.com>
18293
36c8acb4
RM
18294 [BZ #13775]
18295 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18296 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18297 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18298 being in POSIX, because they are in 1003.1-2008.
18299
84ad622b
RM
18300 * rt/tst-aio.c: Include <fcntl.h>.
18301 * rt/tst-aio7.c: Likewise.
18302 * rt/tst-aio64.c: Likewise.
18303
4579f81c
RM
18304 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18305
abd923db
JM
183062012-02-27 Joseph Myers <joseph@codesourcery.com>
18307
18308 * manual/install.texi (--with-headers): Describe headers as
18309 interface headers, not private headers.
18310 (Specific advice for GNU/Linux systems): Describe use of headers
18311 from "make headers_install", not private headers from older
18312 kernels.
43be4ca2 18313 * INSTALL: Regenerated.
abd923db
JM
18314 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18315 Change to 2.6.19.
18316 * sysdeps/unix/sysv/linux/configure: Regenerated.
18317
6664049b
JM
18318 * manual/llio.texi (fclean): Remove documentation.
18319
bb8b6697
JM
18320 * manual/Makefile (libc-texi-generated): New variable. Include
18321 version.texi.
18322 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18323 $(libc-texi-generated), not duplicated list of files.
18324 (version.texi, stamp-version): New rules.
18325 (realclean): Remove $(libc-texi-generated), not individual files
18326 from that list. Do not remove dir-add.texinfo.
18327 * manual/libc.texinfo: Comment out uses of edition numbers and
18328 references to printed manual. Remove last-updated dates.
18329 (EDITION): Comment out.
18330 (ISBN): Likewise.
18331 (VERSION, UPDATED): Remove.
18332 (version.texi): Include.
18333
12e5c3b9
AS
183342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18335
18336 * sysdeps/posix/spawni.c: Include <signal.h>.
18337 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18338 * sysdeps/pthread/aio_fsync.c: Likewise.
18339
4efeffc1 183402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18341
ba63ba08
UD
18342 * conform/Makefile (tests): Run only when not cross-compiling and
18343 when fast-check is not defined.
18344
d94a4670
UD
18345 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18346 * conform/data/limits.h-data: Fixes for POSIX2008.
18347 * conform/run-conformtest.sh: Run all tests.
18348 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18349 headers.
18350 * include/bits/dlfcn.h: Likewise.
18351 * include/langinfo.h: Likewise.
18352 * include/monetary.h: Likewise.
18353 * include/sys/poll.h: Likewise.
18354
18355 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18356 for __USE_GNU.
18357 * posix/spawn.h: Define __need_sigset_t.
18358 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18359 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18360 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18361 to get sigevent_t only.
18362 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18363 only for __USE_GNU.
18364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18365 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18366 process_vm_writev only for __USE_GNU.
18367 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18368
18369 * conform/Makefile: For now ignore errors from run-conformtest.
18370 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18371 POSIX to avoid namespace pollution. Don't prepend headers.
18372 * conform/data/aio.h-data: Fixes for POSIX testing.
18373 * conform/data/fcntl.h-data: Likewise.
18374 * conform/data/glob.h-data: Likewise.
18375 * conform/data/grp.h-data: Likewise.
18376 * conform/data/pthread.h-data: Likewise.
18377 * conform/data/pwd.h-data: Likewise.
18378 * conform/data/signal.h-data: Likewise.
18379 * conform/data/spawn.h-data: Likewise.
18380 * conform/data/stdio.h-data: Likewise.
18381 * conform/data/stdlib.h-data: Likewise.
18382 * conform/data/stropts.h-data: Likewise.
18383 * conform/data/sys/mman.h-data: Likewise.
18384 * conform/data/sys/stat.h-data: Likewise.
18385 * conform/data/sys/types.h-data: Likewise.
18386 * conform/data/sys/wait.h-data: Likewise.
18387 * conform/data/time.h-data: Likewise.
18388 * conform/data/unistd.h-data: Likewise.
18389 * conform/data/utime.h-data: Likewise.
18390
18391 * io/sys/stat.h: fchmod was always in POSIX.
18392 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18393 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18394 * rt/aio.h: Define __need_timespec before including <time.h>.
18395 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18396 struct. Add forward declaration of pthread_attr_t and use it in
18397 sigevent.
18398 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18400 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18401 always remove CLK_TCK definition.
18402
c20105c3
AS
184032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18404
18405 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18406
7a270350
UD
184072012-02-25 Ulrich Drepper <drepper@gmail.com>
18408
31341567
UD
18409 * conform/run-conformtest.sh: New file.
18410 * conform/Makefile: Run run-conformtest for tests.
18411 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18412 support.
18413
18414 * conform/data/uchar.h-data: New file.
18415 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18416 * conform/data/arpa/inet.h-data: Likewise.
18417 * conform/data/assert.h-data: Likewise.
18418 * conform/data/complex.h-data: Likewise.
18419 * conform/data/cpio.h-data: Likewise.
18420 * conform/data/ctype.h-data: Likewise.
18421 * conform/data/dirent.h-data: Likewise.
18422 * conform/data/dlfcn.h-data: Likewise.
18423 * conform/data/errno.h-data: Likewise.
18424 * conform/data/fcntl.h-data: Likewise.
18425 * conform/data/float.h-data: Likewise.
18426 * conform/data/fmtmsg.h-data: Likewise.
18427 * conform/data/fnmatch.h-data: Likewise.
18428 * conform/data/ftw.h-data: Likewise.
18429 * conform/data/glob.h-data: Likewise.
18430 * conform/data/grp.h-data: Likewise.
18431 * conform/data/iconv.h-data: Likewise.
18432 * conform/data/inttypes.h-data: Likewise.
18433 * conform/data/langinfo.h-data: Likewise.
18434 * conform/data/libgen.h-data: Likewise.
18435 * conform/data/limits.h-data: Likewise.
18436 * conform/data/locale.h-data: Likewise.
18437 * conform/data/math.h-data: Likewise.
18438 * conform/data/monetary.h-data: Likewise.
18439 * conform/data/mqueue.h-data: Likewise.
18440 * conform/data/ndbm.h-data: Likewise.
18441 * conform/data/net/if.h-data: Likewise.
18442 * conform/data/netdb.h-data: Likewise.
18443 * conform/data/netinet/in.h-data: Likewise.
18444 * conform/data/nl_types.h-data: Likewise.
18445 * conform/data/poll.h-data: Likewise.
18446 * conform/data/pthread.h-data: Likewise.
18447 * conform/data/pwd.h-data: Likewise.
18448 * conform/data/regex.h-data: Likewise.
18449 * conform/data/sched.h-data: Likewise.
18450 * conform/data/search.h-data: Likewise.
18451 * conform/data/semaphore.h-data: Likewise.
18452 * conform/data/setjmp.h-data: Likewise.
18453 * conform/data/signal.h-data: Likewise.
18454 * conform/data/spawn.h-data: Likewise.
18455 * conform/data/stdarg.h-data: Likewise.
18456 * conform/data/stdio.h-data: Likewise.
18457 * conform/data/stdlib.h-data: Likewise.
18458 * conform/data/string.h-data: Likewise.
18459 * conform/data/strings.h-data: Likewise.
18460 * conform/data/stropts.h-data: Likewise.
18461 * conform/data/sys/ipc.h-data: Likewise.
18462 * conform/data/sys/mman.h-data: Likewise.
18463 * conform/data/sys/msg.h-data: Likewise.
18464 * conform/data/sys/resource.h-data: Likewise.
18465 * conform/data/sys/select.h-data: Likewise.
18466 * conform/data/sys/sem.h-data: Likewise.
18467 * conform/data/sys/shm.h-data: Likewise.
18468 * conform/data/sys/socket.h-data: Likewise.
18469 * conform/data/sys/stat.h-data: Likewise.
18470 * conform/data/sys/statvfs.h-data: Likewise.
18471 * conform/data/sys/time.h-data: Likewise.
18472 * conform/data/sys/timeb.h-data: Likewise.
18473 * conform/data/sys/times.h-data: Likewise.
18474 * conform/data/sys/types.h-data: Likewise.
18475 * conform/data/sys/uio.h-data: Likewise.
18476 * conform/data/sys/un.h-data: Likewise.
18477 * conform/data/sys/utsname.h-data: Likewise.
18478 * conform/data/sys/wait.h-data: Likewise.
18479 * conform/data/syslog.h-data: Likewise.
18480 * conform/data/tar.h-data: Likewise.
18481 * conform/data/termios.h-data: Likewise.
18482 * conform/data/utime.h-data: Likewise.
18483 * conform/data/utmpx.h-data: Likewise.
18484 * conform/data/varargs.h-data: Likewise.
18485 * conform/data/wchar.h-data: Likewise.
18486 * conform/data/wctype.h-data: Likewise.
18487 * conform/data/wordexp.h-data: Likewise.
18488
18489 * include/stropts.h: New file.
18490 * include/uchar.h: New file.
18491 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18492 * include/assert.h: Likewise.
18493 * include/ctype.h: Likewise.
18494 * include/dirent.h: Likewise.
18495 * include/dlfcn.h: Likewise.
18496 * include/fcntl.h: Likewise.
18497 * include/fnmatch.h: Likewise.
18498 * include/glob.h: Likewise.
18499 * include/grp.h: Likewise.
18500 * include/libio.h: Likewise.
18501 * include/locale.h: Likewise.
18502 * include/math.h: Likewise.
18503 * include/net/if.h: Likewise.
18504 * include/netdb.h: Likewise.
18505 * include/netinet/in.h: Likewise.
18506 * include/pthread.h: Likewise.
18507 * include/pwd.h: Likewise.
18508 * include/regex.h: Likewise.
18509 * include/sched.h: Likewise.
18510 * include/search.h: Likewise.
18511 * include/setjmp.h: Likewise.
18512 * include/signal.h: Likewise.
18513 * include/stdio.h: Likewise.
18514 * include/stdlib.h: Likewise.
18515 * include/string.h: Likewise.
18516 * include/sys/cdefs.h: Likewise.
18517 * include/sys/mman.h: Likewise.
18518 * include/sys/msg.h: Likewise.
18519 * include/sys/resource.h: Likewise.
18520 * include/sys/select.h: Likewise.
18521 * include/sys/socket.h: Likewise.
18522 * include/sys/stat.h: Likewise.
18523 * include/sys/statvfs.h: Likewise.
18524 * include/sys/time.h: Likewise.
18525 * include/sys/times.h: Likewise.
18526 * include/sys/uio.h: Likewise.
18527 * include/sys/utsname.h: Likewise.
18528 * include/sys/wait.h: Likewise.
18529 * include/termios.h: Likewise.
18530 * include/time.h: Likewise.
18531 * include/ulimit.h: Likewise.
18532 * include/unistd.h: Likewise.
18533 * include/utime.h: Likewise.
18534 * include/wchar.h: Likewise.
18535 * include/wctype.h: Likewise.
18536 * include/wordexp.h: Likewise.
18537
18538 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18539
7a270350
UD
18540 * time/time.h: TIME_UTC must be a macro.
18541 Make timespec_get available for ISO C11 only as well.
18542
7724defc
UD
185432012-02-24 Ulrich Drepper <drepper@gmail.com>
18544
18545 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18546 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18547
6b1d1d46
JM
185482012-02-24 Joseph Myers <joseph@codesourcery.com>
18549
18550 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18551
0f8bbd69
JM
185522012-02-24 Joseph Myers <joseph@codesourcery.com>
18553
18554 * manual/texinfo.tex: Update to version 2012-01-19.16.
18555
66ab80bc
JM
185562012-02-24 Joseph Myers <joseph@codesourcery.com>
18557
18558 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18559
74981cc5
RM
185602012-02-24 Roland McGrath <roland@hack.frob.com>
18561
ee968201
RM
18562 [BZ #13738]
18563 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18564 * manual/fdl-1.3.texi: New file.
18565 * manual/fdl-1.1.texi: File removed.
18566
74981cc5
RM
18567 [BZ #13738]
18568 * manual/libc.texinfo (FDL_VERSION): New @set.
18569 Use it for mention of FDL in cover text.
18570 (Documentation License): Use it in @include file name.
18571
7bb764bc
JM
185722012-02-22 Joseph Myers <joseph@codesourcery.com>
18573 Roland McGrath <roland@hack.frob.com>
18574
18575 [BZ #5461]
18576 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18577 not LONG_LONG_MAX and LONG_LONG_MIN.
18578 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18579 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18580 name.
18581 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18582
6cbeae47
JM
185832012-02-22 Joseph Myers <joseph@codesourcery.com>
18584
18585 [BZ #2547]
18586 [BZ #11365]
18587 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18588 manipulate bits before adding and subtracting TWO23[sx].
18589 * math/libm-test.inc (nearbyint_test): Add more tests.
18590
fe45ce09
JM
185912012-02-22 Joseph Myers <joseph@codesourcery.com>
18592
18593 [BZ #2548]
18594 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18595 bits before adding and subtracting TWO23[sx].
18596 * math/libm-test.inc (rint_test): Add more tests.
18597 (rint_test_tonearest): Likewise.
18598 (rint_test_towardzero): Likewise.
18599 (rint_test_downward): Likewise.
18600 (rint_test_upward: Likewise.
18601
ff3b3d82
JM
186022012-02-22 Joseph Myers <joseph@codesourcery.com>
18603
18604 [BZ #10110]
18605 * include/stdc-predef.h: New file. Extracted from features.h.
18606 * include/features.h: Include stdc-predef.h.
18607 * Makefile (headers): Add stdc-predef.h.
18608 * CONFORMANCE (Compiler limitations): Update.
18609
ef0aab35
JM
186102012-02-22 Joseph Myers <joseph@codesourcery.com>
18611
18612 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18613
58639409
DM
186142012-02-21 David S. Miller <davem@davemloft.net>
18615
18616 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18617 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18618
c0e70b25
DM
186192012-02-20 David S. Miller <davem@davemloft.net>
18620
18621 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18622 using a normal save/restore sequence, rather than allocating a
18623 dummy stack frame just to store a frame pointer and restore.
18624 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18625
fb06851d
JM
186262012-02-21 Joseph Myers <joseph@codesourcery.com>
18627
18628 * manual/install.texi: Fix stray word in line-wrapped comment.
18629
7a8b71c3
DM
186302012-02-20 David S. Miller <davem@davemloft.net>
18631
d510c123
DM
18632 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18633 both binutils and gcc support GOTDATA.
18634
0722d7c2
DM
18635 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18636 "rd %pc" in the PIC register setup sequences.
18637
3d2b3019
DM
18638 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18639 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18640 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18641 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18642 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18644 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18645 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18647 (SYSCALL_ERROR_HANDLER): Likewise.
18648 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18649 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18651 (SYSCALL_ERROR_HANDLER): Likewise.
18652
c80098a9
DM
18653 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18654 (HAVE_GCC_GOTDATA): New.
18655 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18656 relocation support in both binutils and gcc.
18657 * sysdeps/sparc/elf/configure: Regenerate.
18658
3a2545a0
DM
18659 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18660 * sysdeps/sparc/sparc32/elf/configure: Delete.
18661 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18662 * sysdeps/sparc/sparc64/elf/configure: Delete.
18663 * sysdeps/sparc/elf/configure.in: New file.
18664 * sysdeps/sparc/elf/configure: Generate.
18665
7a8b71c3
DM
18666 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18667 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18668 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18669 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18670 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18671
f1e86fca
JM
186722012-02-21 Joseph Myers <joseph@codesourcery.com>
18673
18674 * manual/install.texi: Do not mention specific glibc version
18675 numbers.
18676 * manual/libc.texinfo (VERSION, UPDATED): Update.
18677 (@copying): Use @copyright{} and range of years.
18678
0e7dfaef
JM
186792012-02-21 Joseph Myers <joseph@codesourcery.com>
18680
18681 [BZ #13695]
18682 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18683 [crti.S not in sysdirs] (generated): Do not append.
18684 [crti.S not in sysdirs] (omit-deps): Likewise.
18685 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18686 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18687 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18688 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18689 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18690 Likewise.
18691 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18692 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18693 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18694 * csu/defs.awk: Remove file.
18695 * sysdeps/generic/initfini.c: Likewise.
18696 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18697 variable.
18698 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18699 Likewise.
18700
599af3ca
JM
187012012-02-20 Joseph Myers <joseph@codesourcery.com>
18702
18703 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18704 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18705 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18707 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18708 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18709 <bits/epoll.h>.
18710 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18711 (__EPOLL_PACKED): Define to empty if not defined by
18712 <bits/epoll.h>.
18713 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18715 bits/epoll.h.
18716
0e499750
JM
187172012-02-20 Joseph Myers <joseph@codesourcery.com>
18718
18719 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18720 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18721 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18722 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18723 <bits/timerfd.h>.
18724 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18726 bits/timerfd.h.
18727
5ad91f6e
JM
187282012-02-20 Joseph Myers <joseph@codesourcery.com>
18729
18730 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18731 in C locale.
18732 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18733 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18736
06b99b02
AJ
187372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18738
18739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18740 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18741
7638c0fd
AS
187422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18743
18744 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18745 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18746 defined.
18747 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18748 Likewise.
18749 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18750 entry for 2.16.
18751
92221550
AJ
187522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18753
18754 * math/w_acos.c: Use non-signaling floating-point comparisons.
18755 * math/w_acosf.c: Likewise.
18756 * math/w_acosh.c: Likewise.
18757 * math/w_acoshf.c: Likewise.
18758 * math/w_acoshl.c: Likewise.
18759 * math/w_acosl.c: Likewise.
18760 * math/w_asin.c: Likewise.
18761 * math/w_asinf.c: Likewise.
18762 * math/w_asinl.c: Likewise.
18763 * math/w_atanh.c: Likewise.
18764 * math/w_atanhf.c: Likewise.
18765 * math/w_atanhl.c: Likewise.
18766 * math/w_exp2.c: Likewise.
18767 * math/w_exp2f.c: Likewise.
18768 * math/w_exp2l.c: Likewise.
18769 * math/w_j0.c: Likewise.
18770 * math/w_j0f.c: Likewise.
18771 * math/w_j0l.c: Likewise.
18772 * math/w_j1.c: Likewise.
18773 * math/w_j1f.c: Likewise.
18774 * math/w_j1l.c: Likewise.
18775 * math/w_jn.c: Likewise.
18776 * math/w_jnf.c: Likewise.
18777 * math/w_log.c: Likewise.
18778 * math/w_log10.c: Likewise.
18779 * math/w_log10f.c: Likewise.
18780 * math/w_log10l.c: Likewise.
18781 * math/w_log2.c: Likewise.
18782 * math/w_log2f.c: Likewise.
18783 * math/w_log2l.c: Likewise.
18784 * math/w_logf.c: Likewise.
18785 * math/w_logl.c: Likewise.
18786 * math/w_sqrt.c: Likewise.
18787 * math/w_sqrtf.c: Likewise.
18788 * math/w_sqrtl.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18791 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18792 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18793 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18794
ebaf36eb
JM
187952012-02-19 Joseph Myers <joseph@codesourcery.com>
18796
18797 [BZ #9739]
18798 * manual/string.texi (strnlen): Use correct parameter name in
18799 equivalent expression.
18800
71c254a6
JM
188012012-02-19 Joseph Myers <joseph@codesourcery.com>
18802
18803 [BZ #11174]
18804 * manual/users.texi (seteuid): Consistently use neweuid for
18805 argument name.
18806
16d2c631
JM
188072012-02-19 Joseph Myers <joseph@codesourcery.com>
18808
18809 [BZ #13704]
18810 * manual/nss.texi (Services in the NSS configuration): Correct
18811 list of services in example configuration file.
18812
cd837b09
NB
188132012-02-19 Nick Bowler <nbowler@draconx.ca>
18814
18815 [BZ #11322]
18816 * manual/arith.texi: Remove statements about negative zero
18817 behaving identically to zero.
18818
02c4bbad
JM
188192012-02-18 Joseph Myers <joseph@codesourcery.com>
18820
18821 [BZ #5993]
18822 * manual/install.texi: Do not document upgrading from libc5.
18823
366842e7
JM
188242012-02-18 Joseph Myers <joseph@codesourcery.com>
18825
18826 [BZ #4596]
18827 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18828
dd54084d
DM
188292012-02-18 David S. Miller <davem@davemloft.net>
18830
18831 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18832 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18833 %o7 across the call.
18834 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18835 instead.
18836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18837 SETUP_PIC_REG_LEAF.
18838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18839 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18840 * sysdeps/sparc/crtn.S: Likewise.
18841
2bcc53a3
UD
188422012-02-17 Ulrich Drepper <drepper@gmail.com>
18843
18844 * aout/Makefile: Remove.
18845
09c093b5
RK
188462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18847
18848 [BZ #13058]
18849 * manual/examples/argp-ex1.c (main): Format definition in GNU
18850 style.
18851 * manual/examples/argp-ex2.c (main): Likewise.
18852 * manual/examples/argp-ex3.c (main): Likewise.
18853 * manual/examples/argp-ex4.c (main): Likewise.
18854 * manual/examples/longopt.c (main): Use new-style prototype
18855 definition.
18856 * manual/examples/strncat.c (main): Specify return type and use
18857 (void) for arguments.
18858 * manual/examples/subopt.c (main): Use char **argv argument.
18859
2ee633a2
JM
188602012-02-17 Joseph Myers <joseph@codesourcery.com>
18861
18862 [BZ #5077]
18863 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18864 rounding modes.
18865
0520adde
FB
188662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18867
18868 [BZ #6907]
18869 * manual/string.texi (strchr): Change when strchrnul is
18870 recommended.
18871
3f4081cd
DGM
188722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18873
18874 [BZ #174]
18875 * manual/locale.texi (setlocale): Document LOCPATH.
18876
d1b10e78
JM
188772012-02-17 Joseph Myers <joseph@codesourcery.com>
18878
18879 [BZ #10210]
18880 * manual/process.texi (execle): Move @dots{} before last argument.
18881
79c6869c
PB
188822012-02-17 Paul Bolle <pebolle@tiscali.nl>
18883
18884 [BZ #12047]
18885 * manual/charset.texi (Generic Charset Conversion): Fix typo
18886 (LC_TYPE -> LC_CTYPE).
18887
cc6e48bc
NB
188882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18889
18890 [BZ #5805]
18891 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18892 (scalbnf): Likewise.
18893 (scalbnl): Likewise.
18894 (scalbln): Likewise.
18895 (scalblnf): Likewise.
18896 (scalblnl): Likewise.
18897 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18898 (vwarnx): Likewise.
18899 (verr): Likewise.
18900 (verrx): Likewise.
18901 * manual/filesys.texi (telldir): Use braces around return type.
18902 * manual/llio.texi (mmap): Add space after comma.
18903 (mmap64): Likewise.
18904 * manual/math.texi (jn): Use @var{} on parameter names.
18905 (jnf): Likewise.
18906 (jnl): Likewise.
18907 (yn): Likewise.
18908 (ynf): Likewise.
18909 (ynl): Likewise.
18910 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18911 line.
18912 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18913 "...".
18914 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18915 (sched_get_priority_max): Likewise.
18916 * manual/signal.texi (sigvec): Add space after comma.
18917 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18918 names.
18919 (if_indextoname): Likewise.
18920 (if_freenameindex): Likewise.
18921 (sendto): Use ',' instead of '.' in prototype.
18922 * manual/startup.texi (syscall): Use @dots{} instead of literal
18923 "...".
18924 * manual/stdio.texi (__fpending): Separate initial words of
18925 paragraph from @deftypefun line.
18926 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18927 "...".
18928 (vsyslog): Use @var{} on parameter names.
18929 * manual/terminal.texi (stty): Use @var{} on parameter names.
18930 * manual/users.texi (getutmp): Use @var{} on parameter names.
18931 (getutmpx): Likewise.
18932
5b23062f
JM
189332012-02-17 Joseph Myers <joseph@codesourcery.com>
18934
18935 [BZ #6884]
18936 * manual/stdio.texi (fopen): Fix typos in description of
18937 ",ccs=STRING".
18938
8dee4833
AJ
189392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18940
18941 [BZ #4026]
18942 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18943 get clock_id definition.
18944
9078ce93
TS
189452012-02-17 Thomas Schwinge <thomas@schwinge.name>
18946
18947 [BZ #4822]
18948 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18949 (madvise): Cast every argument to void on its own.
18950
3835c55f
JM
189512012-02-17 Joseph Myers <joseph@codesourcery.com>
18952
18953 [BZ #9902]
18954 * manual/startup.texi (Exit Status): Fix typo.
18955
35c47e37
JM
189562012-02-17 Joseph Myers <joseph@codesourcery.com>
18957
18958 [BZ #10140]
18959 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18960 * manual/examples/argp-ex2.c: Likewise.
18961 * manual/examples/argp-ex3.c: Likewise.
18962
e3b69ca7
RH
189632012-02-16 Richard Henderson <rth@redhat.com>
18964
18965 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18966 * sysdeps/s390/s390-32/initfini.c: Remove.
18967 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18968 * sysdeps/s390/s390-64/initfini.c: Remove.
18969
df83af67
KK
189702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18971
18972 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18973 compiler output for sysdeps/generic/initfini.c.
18974 * sysdeps/sh/elf/initfini.c: Remove file.
18975
f63f3380
DM
189762012-02-16 David S. Miller <davem@davemloft.net>
18977
fb59b3a4
DM
18978 [BZ #11494]
18979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18980
f63f3380
DM
18981 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18982 * sysdeps/sparc/crti.S: New file.
18983 * sysdeps/sparc/crtn.S: New file.
18984 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18985 * sysdeps/sparc/sparc64/Makefile: Likewise.
18986
df6a4a4a
MF
189872012-02-15 Mike Frysinger <vapier@gentoo.org>
18988
6dd8f3dc 18989 [BZ #3335]
df6a4a4a
MF
18990 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18991
1cac7236
RM
189922012-02-15 Roland McGrath <roland@hack.frob.com>
18993
d2c736f8
RM
18994 [BZ #4822]
18995 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18996
1cac7236
RM
18997 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18998 (write, read, close): Likewise.
18999 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19000
8e475601
JM
190012012-02-15 Joseph Myers <joseph@codesourcery.com>
19002
19003 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19004 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19005 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19006 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19007 <bits/signalfd.h>.
19008 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19010 bits/signalfd.h.
19011
ed656b40
MP
190122012-02-14 Marek Polacek <polacek@redhat.com>
19013
19014 * sysdeps/x86_64/crti.S: New file.
19015 * sysdeps/x86_64/crtn.S: New file.
19016 * sysdeps/x86_64/elf/initfini.c: Remove file.
19017
2a979d3a
JM
190182012-02-13 Joseph Myers <joseph@codesourcery.com>
19019
19020 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19021 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19022 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19023 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19024 <bits/inotify.h>.
19025 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19027 bits/inotify.h.
19028
2a418ac3
JM
190292012-02-13 Joseph Myers <joseph@codesourcery.com>
19030
19031 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19032 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19033 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19034 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19035 <bits/eventfd.h>.
19036 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19038 bits/eventfd.h.
19039
fb779be7
TS
190402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19041
e19e83c5
RM
19042 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19043 __feraiseexcept instead of feraiseexcept.
7c35ffed 19044
fb779be7
TS
19045 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19046 nanosleep invocations.
19047 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19048 strings, and add error checking for a nanosleep invocations.
19049
59ba27a6
PE
190502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19051
19052 Replace FSF snail mail address with URLs, as per GNU coding standards.
19053 Most of the snail mail addresses were wrong anyway, and omitting
19054 them makes the source code easier to maintain. Almost all of the
19055 changes are to license notices and to locale LC_IDENTIFICATION
19056 addresses, except for this one:
19057 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19058 not its snail mail address.
19059
57b957eb
RH
190602012-02-09 Richard Henderson <rth@twiddle.net>
19061
af850b1c
RH
19062 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19063 of kernel-features.h.
19064
57b957eb
RH
19065 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19066
6b73181a
MP
190672012-02-08 Marek Polacek <polacek@redhat.com>
19068
19069 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19070 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19071 * sysdeps/gnu/_G_config.h: Likewise.
19072 * sysdeps/generic/_G_config.h: Likewise.
19073
26ecc33a
AS
190742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19075
6c6dbc63
AS
19076 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19077 tests.
19078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19079
e216c012
AS
19080 * sysdeps/powerpc/powerpc32/crti.S: New file.
19081 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19082 * sysdeps/powerpc/powerpc64/crti.S: New file.
19083 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19084
26ecc33a
AS
19085 * Makeconfig (have-initfini): Don't set.
19086 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19087 * configure.in (nopic_initfini): Don't substitute.
19088 * config.h.in (HAVE_INITFINI): Don't #undef.
19089 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19090 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19091
3add8e13
JM
190922012-02-08 Joseph Myers <joseph@codesourcery.com>
19093
19094 Support crti.S and crtn.S provided directly by architectures.
19095 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19096 [crti.S in sysdirs] (omit-deps): Likewise.
19097 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19098 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19099 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19100 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19101 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19102 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19103 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19104 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19105 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19106 compiler output for sysdeps/generic/initfini.c.
19107 * sysdeps/i386/elf/Makefile: Remove file.
19108 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19109
a22f12b4
MP
191102012-02-07 Marek Polacek <polacek@redhat.com>
19111
19112 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19113 * sysdeps/gnu/_G_config.h: Likewise.
19114 * sysdeps/mach/hurd/_G_config.h: Likewise.
19115
148cf100
MP
191162012-02-07 Marek Polacek <polacek@redhat.com>
19117
19118 * math/Makefile (tests): Add tst-CMPLX2.
19119 * math/tst-CMPLX2.c: New file.
19120
cfdc0dd7
AS
191212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19122
84ba42c4
AS
19123 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19124
cfdc0dd7
AS
19125 * math/libm-test.inc (jn_test): Add missing L suffix.
19126
622c86f4
MP
191272012-02-06 Marek Polacek <polacek@redhat.com>
19128
19129 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19130 * sysdeps/i386/fpu/e_powf.S: Likewise.
19131 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19132 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19133 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19134 * sysdeps/i386/fpu/e_pow.S: Likewise.
19135 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19136 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19137 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19138 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19139 * sysdeps/i386/fpu/e_log2.S: Likewise.
19140 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19141 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19142 * sysdeps/i386/fpu/e_powl.S: Likewise.
19143 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19144 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19145 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19146 * sysdeps/i386/fpu/e_logl.S: Likewise.
19147 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19148 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19149 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19150 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19151 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19152 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19153 * sysdeps/i386/fpu/e_log.S: Likewise.
19154 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19155 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19156 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19157 * sysdeps/i386/fpu/e_logf.S: Likewise.
19158 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19159 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19160 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19161 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19162 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19163 * sysdeps/i386/fpu/e_log10.S: Likewise.
19164 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19165 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19166 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19167 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19168 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19169 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19170 * sysdeps/i386/asm-syntax.h: Likewise.
19171 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19172 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19173 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19174 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19175 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19176 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19177 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19178 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19179 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19180 * sysdeps/powerpc/sysdep.h: Likewise.
19181 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19182 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19183
d4a54ac6
JM
191842012-02-06 Joseph Myers <joseph@codesourcery.com>
19185
19186 [BZ #411]
19187 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19188
314054ea
JM
191892012-02-06 Joseph Myers <joseph@codesourcery.com>
19190
19191 * sysdeps/i386/sysdep.h: Include <features.h>.
19192 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19193 version.
19194
d8e0ca50
JM
191952012-02-05 Joseph Myers <joseph@codesourcery.com>
19196
19197 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19198 Define.
19199 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19200 LOAD_PIC_REG_STR.
19201
b1da7dd9
JM
192022012-02-03 Joseph Myers <joseph@codesourcery.com>
19203
19204 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19205 (SETUP_PIC_REG): Use GET_PC_THUNK.
19206 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19207 macro.
19208
9a1d9254
JM
192092012-02-03 Joseph Myers <joseph@codesourcery.com>
19210
19211 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19212 for non-PIC compilation.
19213 (SETUP_PIC_REG): Add .p2align directive.
19214 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19215 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19216 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19217 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19218 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19219 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19220 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19221 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19222 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19223 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19224 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19225 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19226 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19227 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19228 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19229 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19230 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19231 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19232 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19233 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19234 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19235 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19236 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19237 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19238 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19240 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19241 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19242 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19243 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19244 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19246 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19247 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19248 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19249 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19250 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19251 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19252 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19253 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19254 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19255
65dc3b75
JM
192562012-02-03 Joseph Myers <joseph@codesourcery.com>
19257
19258 * math/tst-CMPLX.c: Include <stdio.h>.
19259
d55bf177
JM
192602012-01-31 Joseph Myers <joseph@codesourcery.com>
19261
19262 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19263 float.
19264 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19265 * sysdeps/sparc/bits/mathdef.h: Likewise.
19266
69db4f8f
MP
192672012-01-31 Marek Polacek <polacek@redhat.com>
19268
19269 * libio/libio.h: Don't define _PARAMS.
19270 * locale/programs/config.h: Don't define PARAMS.
19271 * stdlib/strtol_l.c: Likewise.
19272 (__strtol_l): Remove PARAMS from the prototype.
19273
41b81892
UD
192742012-01-31 Ulrich Drepper <drepper@gmail.com>
19275
3b49edc0
UD
19276 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19277 names. Just use the correct names. Remove unnecessary wrapper
19278 functions.
19279 * malloc/arena.c: Likewise.
19280 * malloc/hooks.c: Likewise.
19281
41b81892
UD
19282 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19283 ARENA_TEST says not to. Simplify test for creation of a new arena.
19284 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19285
27a25b6e
UD
192862012-01-30 Ulrich Drepper <drepper@gmail.com>
19287
19288 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19289 into tail calls.
19290 (update_get_addr): New function.
19291 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19292 GET_ADDR_MODULE parameter.
19293
c8a89e7d
JM
192942012-01-30 Joseph Myers <joseph@codesourcery.com>
19295
19296 * crypt/cert.c: Remove __STDC__ conditionals.
19297 * crypt/crypt-entry.c: Likewise.
19298 * crypt/crypt_util.c: Likewise.
19299 * libio/filedoalloc.c: Likewise.
19300 * libio/fileops.c: Likewise.
19301 * libio/genops.c: Likewise.
19302 * libio/iofclose.c: Likewise.
19303 * libio/iofdopen.c: Likewise.
19304 * libio/iofopen.c: Likewise.
19305 * libio/iofopen64.c: Likewise.
19306 * libio/iogetdelim.c: Likewise.
19307 * libio/iopopen.c: Likewise.
19308 * libio/obprintf.c: Likewise.
19309 * libio/oldfileops.c: Likewise.
19310 * libio/oldiofclose.c: Likewise.
19311 * libio/oldiofdopen.c: Likewise.
19312 * libio/oldiofopen.c: Likewise.
19313 * libio/oldiopopen.c: Likewise.
19314 * libio/wfiledoalloc.c: Likewise.
19315 * libio/wgenops.c: Likewise.
19316 * locale/programs/xmalloc.c: Likewise.
19317 * misc/syslog.c: Likewise.
19318 * stdio-common/xbug.c: Likewise.
19319 * string/memchr.c: Likewise.
19320 * string/memcmp.c: Likewise.
19321 * string/memrchr.c: Likewise.
19322 * string/rawmemchr.c: Likewise.
19323 * sysdeps/posix/getcwd.c: Likewise.
19324 * time/strftime_l.c: Likewise.
19325
3b100462
JM
193262012-01-30 Joseph Myers <joseph@codesourcery.com>
19327
19328 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19329 * config.make.in (config-cflags-sse2avx): Define.
19330 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19331 Fix typo.
19332
607998af
CM
193332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19334
19335 * scripts/config.guess: Update from upstream config git repository.
19336 * scripts/config.sub: Likewise.
19337
3601428f
CM
193382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19339
3ac8b282
CM
19340 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19341 (EM_NUM): Update.
19342 (R_TILEPRO_*, R_TILEGX_*): New macros.
19343
e034841e
CM
19344 * scripts/firstversions.awk: Fix bug in version range handling.
19345
540d7568
CM
19346 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19347
3601428f
CM
19348 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19349
463de862
CM
19350 * include/sys/epoll.h: New file.
19351 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19352 libc_hidden_def.
19353
73139a76
UD
193542012-01-28 Ulrich Drepper <drepper@gmail.com>
19355
96bc5b45
UD
19356 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19357 Avoid unnecessary __WORDSIZE == 64 test.
19358 (fmaxf): Use VEX format if possible.
19359 (fmax): Likewise.
19360 (fminf): Likewise.
19361 (fmin): Likewise.
19362
56f6f6a2
UD
19363 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19364 * math/math_private.h: Remove libc_fegetround* and
19365 libc_fesetround*.
19366 * sysdeps/i386/configure.in: Check for -msse2avx.
19367 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19368 also if SSE2AVX is defined.
19369 Remove libc_fegetround* and libc_fesetround*.
19370 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19371 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19372 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19373 of HAS_YMM_USABLE.
19374 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19375 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19376 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19377 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19378 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19379
73139a76
UD
19380 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19381
d73f93a4
AZ
193822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19383
19384 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19385 size is not set.
19386 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19387
6ee65ed6
UD
193882012-01-27 Ulrich Drepper <drepper@gmail.com>
19389
19390 [BZ #13618]
19391 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19392 relocation.
19393 * Makeconfig (libm): Define.
19394 * elf/Makefile: Add rules to build and run tst-relsort1.
19395 * elf/tst-relsort1.c: New file.
19396 * elf/tst-relsort1mod1.c: New file.
19397 * elf/tst-relsort1mod2.c: New file.
19398
8db21882
JM
193992012-01-27 Joseph Myers <joseph@codesourcery.com>
19400
19401 * math/s_ldexp.c: Remove __STDC__ conditionals.
19402 * math/s_ldexpf.c: Likewise.
19403 * math/s_ldexpl.c: Likewise.
19404 * math/s_nextafter.c: Likewise.
19405 * math/s_nexttowardf.c: Likewise.
19406 * math/s_significand.c: Likewise.
19407 * math/s_significandf.c: Likewise.
19408 * math/s_significandl.c: Likewise.
19409 * math/w_jnl.c: Likewise.
19410 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19411 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19412 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19413 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19414 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19429 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19430 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19431 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19432 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19433 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19434 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19435 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19436 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19437 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19438 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19439 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19440 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19441 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19442 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19443 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19444 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19445 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19446 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19447 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19448 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19449 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19450 * sysdeps/ieee754/k_standard.c: Likewise.
19451 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19452 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19453 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19454 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19455 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19456 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19457 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19458 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19460 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19477 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19481 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19482 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19483 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19484 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19485 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19486 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19487 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19488 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19491 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19512 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19517 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19522 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19525 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19526 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19530 * sysdeps/ieee754/s_matherr.c: Likewise.
19531 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19532 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19535
965a54a4
JM
195362012-01-26 Joseph Myers <joseph@codesourcery.com>
19537
19538 * crypt/md5.h: Remove __STDC__ conditionals.
19539 * libio/libioP.h: Likewise.
19540 * locale/programs/config.h: Likewise.
19541 * sysdeps/generic/sysdep.h: Likewise.
19542 * sysdeps/i386/asm-syntax.h: Likewise.
19543 * sysdeps/s390/asm-syntax.h: Likewise.
19544 * sysdeps/unix/sysdep.h: Likewise.
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19547
7071ad79
JM
195482012-01-26 Joseph Myers <joseph@codesourcery.com>
19549
19550 * libio/libio.h: Remove __STDC__ conditionals.
19551 * malloc/obstack.h: Likewise.
19552 * math/complex.h: Likewise.
19553 * math/math.h: Likewise.
19554 * sysdeps/generic/_G_config.h: Likewise.
19555 * sysdeps/gnu/_G_config.h: Likewise.
19556 * sysdeps/mach/hurd/_G_config.h: Likewise.
19557 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19558 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19559 * sysdeps/sparc/bits/mathdef.h: Likewise.
19560
afc5ed09
UD
195612012-01-26 Ulrich Drepper <drepper@gmail.com>
19562
19563 [BZ #13583]
19564 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19565 Clean up HAS_* macros.
afc5ed09 19566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19567 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19568 possible.
19569 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19570 HAS_AVX.
19571 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19572 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19573 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19574 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19575 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19576
bdb6de1d
JM
195772012-01-25 Joseph Myers <joseph@codesourcery.com>
19578
19579 * elf/tst-unique3.cc (gets): Remove declaration.
19580 * elf/tst-unique3lib.cc (gets): Likewise.
19581 * elf/tst-unique3lib2.cc (gets): Likewise.
19582 * elf/tst-unique4.cc (gets): Likewise.
19583
b15549e6
UD
195842012-01-24 Ulrich Drepper <drepper@gmail.com>
19585
19586 * include/stdio.h: Add C++ protection. Add gets declarations and
19587 definitions.
19588 * debug/tst-chk1.c: Don't declare gets here.
19589 * stdio-common/tst-gets.c: Likewise.
19590
a037381f
JM
195912012-01-24 Joseph Myers <joseph@codesourcery.com>
19592
19593 * posix/glob: Remove directory.
19594
f1d4aa75
JM
195952012-01-24 Joseph Myers <joseph@codesourcery.com>
19596
19597 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19598
81c0c964
PT
195992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19600
19601 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19602 of the non-standard EPFNOSUPPORT.
19603
0ea698ae
ST
196042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19605
19606 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19607 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19608 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19609
d220b117
UD
196102012-01-21 Ulrich Drepper <drepper@gmail.com>
19611
19612 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19613
3e1aa84e
UD
196142012-01-20 Ulrich Drepper <drepper@gmail.com>
19615
19616 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19617 transient errors.
19618 * nscd/grpcache.c (cache_addgr): Likewise.
19619 * nscd/hstcache.c (cache_addhst): Likewise.
19620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19621 * nscd/pwdcache.c (cache_addpw): Likewise.
19622 * nscd/servicescache.c (cache_addserv): Likewise.
19623
400aa020
UD
196242012-01-16 Ulrich Drepper <drepper@gmail.com>
19625
d77e7869
UD
19626 * malloc/malloc.c: Various cleanups.
19627 * malloc/hooks.c: Likewise.
19628
400aa020
UD
19629 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19630 * stdlib/bug-fmtmsg1.c: New file.
19631
19632 * stdlib/fmtmsg.c (init): Add missing unlock.
19633 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19634
e0a309cf
MP
196352012-01-12 Marek Polacek <polacek@redhat.com>
19636
19637 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19638 and _GNU_SOURCE.
19639
929d11c7
WS
196402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19641
19642 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19643 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19644 macro to ensure uniqueness of label name.
19645 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19646 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19647
41d0e869
UD
196482012-01-11 Ulrich Drepper <drepper@gmail.com>
19649
0cc5ed3b
UD
19650 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19651
41d0e869
UD
19652 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19654 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19655 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19656
a47a831a
UD
196572012-01-10 Ulrich Drepper <drepper@gmail.com>
19658
daa891c0
UD
19659 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19660
19661 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19662 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19663 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19664
e58ef0f2
UD
19665 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19666
a47a831a 19667 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19668 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19669 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19670 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19671
19672 * math/bits/math-finite.h: Add ldexp support.
19673
a0bfc9c7
MP
196742012-01-10 Marek Polacek <polacek@redhat.com>
19675
19676 * locale/programs/localedef.h (show_archive_content): Add noreturn
19677 attribute.
19678
d6e97a1d
UD
196792012-01-09 Ulrich Drepper <drepper@gmail.com>
19680
19681 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19682
d5835c26
UD
196832012-01-08 Ulrich Drepper <drepper@gmail.com>
19684
e5f484c6
UD
19685 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19686
d5835c26
UD
19687 * io/Makefile (headers): Add bits/poll2.h.
19688
d1f741e9
WS
196892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19690
19691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19692 typo #include statement.
19693
ec09c1c4
UD
196942012-01-08 Ulrich Drepper <drepper@gmail.com>
19695
19696 * include/sys/cdefs.h: Define __attribute_alloc_size.
19697 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19698 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19699 * elf/pldd.c: Likewise.
19700 * iconv/iconv_charmap.c: Likewise.
19701 * iconv/iconvconfig.c: Likewise.
19702 * iconv/strtab.c: Likewise.
19703 * locale/programs/locale.c: Likewise.
19704 * locale/programs/localedef.h: Likewise.
19705 * locale/programs/simple-hash.c: Likewise.
19706 * nscd/nscd.h: Likewise.
19707 * nss/makedb.c: Likewise.
19708 * sysdeps/generic/ldconfig.h: Likewise.
19709 * locale/programs/localedef.c: Remove xmalloc prototype.
19710 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19711
20b38e03
PP
197122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19713
19714 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19715 appropriate.
19716
a0da5fe1
UD
197172012-01-08 Ulrich Drepper <drepper@gmail.com>
19718
1d5a644a 19719 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19720 * math/tst-CMPLX.c: New file.
1d5a644a 19721
8784a6db
UD
19722 * math/complex.h (CMPLXL): Fix typo.
19723
d9a216c0
UD
19724 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19725 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19726 GLIBC_2.16.
19727 * debug/tst-chk1.c: Add poll and ppoll tests.
19728 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19729 * include/sys/poll.h: Add hidden proto for ppoll.
19730 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19731 * sysdeps/mach/hurd/ppoll.c: Likewise.
19732 * io/ppoll.c: Likewise.
19733 * debug/poll_chk.c: New file.
19734 * debug/ppoll_chk.c: New file.
19735 * include/bits/poll2.h: New file.
19736 * io/bits/poll2.h: New file.
19737
ac097f5c
UD
19738 [BZ #1350]
19739 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19740
2119dcfa
UD
19741 * configure.in: static is always set to yes. Remove.
19742 * config.make.in: Don't set build-static.
19743 * Makeconfig: Remove use of build-static.
19744 * dlfcn/Makefile: Likewise.
19745 * elf/Makefile: Likewise.
19746 * math/Makefile: Likewise.
19747 * misc/Makefile: Likewise.
19748 * nptl/Makefile: Likewise.
19749 * sysdeps/mach/hurd/Makefile: Likewise.
19750
121766a9
UD
19751 * configure.in: PWD_P is not used anymore.
19752 * config.make.in: Remove PWD_P entry.
19753
51a1d39c 19754 * configure.in: Remove last remnants of RANLIB.
8720d066 19755 No need to check for signed size_t anymore.
215f4bdc
UD
19756 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19757 and IA-64.
3857022a 19758 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19759 * aclocal.m4: Likewise.
19760
d3ed7225
UD
19761 * wcsmbs/mbrtoc16.c: Implement using towc function.
19762 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19763 * wcsmbs/wcsmbsload.c: Likewise.
19764 * iconv/gconv_simple.c: Likewise.
19765 * iconv/gconv_int.h: Likewise.
19766 * iconv/gconv_builtin.h: Likewise.
19767 * iconv/iconv_prog.c: Remove CHAR16 handling.
19768
19769 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19770
19771 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19772
a0da5fe1
UD
19773 * configure.in: Remove --with-elf and --enable-bounded options.
19774 Dont set base_machine for ia64. More non-ELF conditions removed.
19775 Remove testing and setting of leading underscore information.
19776 * config.make.in (build-bounded): Set to no.
19777 * config.h.in: Remove NO_UNDERSCORES entry.
19778 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19779 them.
19780 * csu/start.c: Remove !NO_UNDERSCORE code.
19781 * locale/localeinfo.h: Likewise.
19782 * sysdeps/generic/machine-gmon.h: Likewise.
19783 * sysdeps/generic/sysdep.h: Likewise.
19784 * sysdeps/i386/sysdep.h: Likewise.
19785 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19786 * sysdeps/mach/sysdep.h: Likewise.
19787 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19789 * sysdeps/sh/sysdep.h: Likewise.
19790 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19791 * sysdeps/unix/i386/sysdep.S: Likewise.
19792 * sysdeps/unix/sparc/start.c: Likewise.
19793 * sysdeps/unix/sparc/sysdep.S: Likewise.
19794 * sysdeps/unix/sparc/sysdep.h: Likewise.
19795 * sysdeps/unix/start.c: Likewise.
19796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19797 * sysdeps/x86_64/sysdep.h: Likewise.
19798
df78418a
UD
197992012-01-07 Ulrich Drepper <drepper@gmail.com>
19800
a784e502
UD
19801 [BZ #13553]
19802 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19803 for non-gcc.
19804 * argp/argp-fmtstream.h: Use const instead __const.
19805 * argp/argp.h: Likewise.
19806 * assert/assert.h: Likewise.
19807 * bits/fenv.h: Likewise.
19808 * bits/sched.h: Likewise.
19809 * bits/sigset.h: Likewise.
19810 * bits/sigthread.h: Likewise.
19811 * catgets/nl_types.h: Likewise.
19812 * conform/data/pthread.h-data: Likewise.
19813 * crypt/crypt-private.h: Likewise.
19814 * crypt/crypt.h: Likewise.
19815 * crypt/crypt_util.c: Likewise.
19816 * ctype/ctype.h: Likewise.
19817 * debug/execinfo.h: Likewise.
19818 * debug/mbsnrtowcs_chk.c: Likewise.
19819 * debug/mbsrtowcs_chk.c: Likewise.
19820 * debug/wcsnrtombs_chk.c: Likewise.
19821 * debug/wcsrtombs_chk.c: Likewise.
19822 * debug/wcstombs_chk.c: Likewise.
19823 * dirent/dirent.h: Likewise.
19824 * dlfcn/dlfcn.h: Likewise.
19825 * elf/neededtest4.c: Likewise.
19826 * grp/grp.h: Likewise.
19827 * gshadow/gshadow.h: Likewise.
19828 * iconv/gconv.h: Likewise.
19829 * iconv/gconv_int.h: Likewise.
19830 * iconv/gconv_simple.c: Likewise.
19831 * iconv/iconv.h: Likewise.
19832 * iconv/loop.c: Likewise.
19833 * iconv/skeleton.c: Likewise.
19834 * include/aio.h: Likewise.
19835 * include/aliases.h: Likewise.
19836 * include/argz.h: Likewise.
19837 * include/arpa/inet.h: Likewise.
19838 * include/assert.h: Likewise.
19839 * include/dirent.h: Likewise.
19840 * include/dlfcn.h: Likewise.
19841 * include/execinfo.h: Likewise.
19842 * include/fcntl.h: Likewise.
19843 * include/fenv.h: Likewise.
19844 * include/glob.h: Likewise.
19845 * include/grp.h: Likewise.
19846 * include/libintl.h: Likewise.
19847 * include/mntent.h: Likewise.
19848 * include/netdb.h: Likewise.
19849 * include/pwd.h: Likewise.
19850 * include/rpc/netdb.h: Likewise.
19851 * include/sched.h: Likewise.
19852 * include/search.h: Likewise.
19853 * include/shadow.h: Likewise.
19854 * include/signal.h: Likewise.
19855 * include/stdio.h: Likewise.
19856 * include/stdlib.h: Likewise.
19857 * include/string.h: Likewise.
19858 * include/sys/socket.h: Likewise.
19859 * include/sys/stat.h: Likewise.
19860 * include/sys/statfs.h: Likewise.
19861 * include/sys/statvfs.h: Likewise.
19862 * include/sys/syslog.h: Likewise.
19863 * include/sys/time.h: Likewise.
19864 * include/sys/uio.h: Likewise.
19865 * include/time.h: Likewise.
19866 * include/unistd.h: Likewise.
19867 * include/utmp.h: Likewise.
19868 * include/wchar.h: Likewise.
19869 * include/wctype.h: Likewise.
19870 * inet/aliases.h: Likewise.
19871 * inet/arpa/inet.h: Likewise.
19872 * inet/netinet/ether.h: Likewise.
19873 * inet/netinet/in.h: Likewise.
19874 * intl/libintl.h: Likewise.
19875 * io/bits/fcntl2.h: Likewise.
19876 * io/fcntl.h: Likewise.
19877 * io/ftw.h: Likewise.
19878 * io/sys/poll.h: Likewise.
19879 * io/sys/stat.h: Likewise.
19880 * io/sys/statfs.h: Likewise.
19881 * io/sys/statvfs.h: Likewise.
19882 * io/utime.h: Likewise.
19883 * libio/bits/stdio.h: Likewise.
19884 * libio/bits/stdio2.h: Likewise.
19885 * libio/libio.h: Likewise.
19886 * libio/libioP.h: Likewise.
19887 * libio/stdio.h: Likewise.
19888 * locale/lc-ctype.c: Likewise.
19889 * locale/locale.h: Likewise.
19890 * login/utmp.h: Likewise.
19891 * malloc/arena.c: Likewise.
19892 * malloc/malloc.c: Likewise.
19893 * malloc/malloc.h: Likewise.
19894 * malloc/mcheck.c: Likewise.
19895 * malloc/mtrace.c: Likewise.
19896 * math/bits/mathcalls.h: Likewise.
19897 * math/fenv.h: Likewise.
19898 * math/math_private.h: Likewise.
19899 * misc/bits/error.h: Likewise.
19900 * misc/bits/syslog.h: Likewise.
19901 * misc/err.h: Likewise.
19902 * misc/error.h: Likewise.
19903 * misc/fstab.h: Likewise.
19904 * misc/mntent.h: Likewise.
19905 * misc/regexp.h: Likewise.
19906 * misc/search.h: Likewise.
19907 * misc/sgtty.h: Likewise.
19908 * misc/sys/mman.h: Likewise.
19909 * misc/sys/syslog.h: Likewise.
19910 * misc/sys/uio.h: Likewise.
19911 * misc/sys/xattr.h: Likewise.
19912 * misc/ttyent.h: Likewise.
19913 * nis/rpcsvc/ypclnt.h: Likewise.
19914 * nss/nss.h: Likewise.
19915 * posix/bits/unistd.h: Likewise.
19916 * posix/fnmatch.h: Likewise.
19917 * posix/glob.h: Likewise.
19918 * posix/sched.h: Likewise.
19919 * posix/spawn.h: Likewise.
19920 * posix/sys/wait.h: Likewise.
19921 * posix/unistd.h: Likewise.
19922 * posix/wordexp.h: Likewise.
19923 * pwd/pwd.h: Likewise.
19924 * resolv/netdb.h: Likewise.
19925 * resource/sys/resource.h: Likewise.
19926 * rt/aio.h: Likewise.
19927 * rt/bits/mqueue2.h: Likewise.
19928 * rt/mqueue.h: Likewise.
19929 * shadow/shadow.h: Likewise.
19930 * signal/signal.h: Likewise.
19931 * socket/send.c: Likewise.
19932 * socket/sendto.c: Likewise.
19933 * socket/sys/socket.h: Likewise.
19934 * stdio-common/printf.h: Likewise.
19935 * stdlib/bits/stdlib.h: Likewise.
19936 * stdlib/fmtmsg.h: Likewise.
19937 * stdlib/monetary.h: Likewise.
19938 * stdlib/stdlib.h: Likewise.
19939 * stdlib/ucontext.h: Likewise.
19940 * streams/stropts.h: Likewise.
19941 * string/argz.h: Likewise.
19942 * string/bits/string2.h: Likewise.
19943 * string/string.h: Likewise.
19944 * string/strings.h: Likewise.
19945 * sunrpc/rpc/auth.h: Likewise.
19946 * sunrpc/rpc/auth_des.h: Likewise.
19947 * sunrpc/rpc/clnt.h: Likewise.
19948 * sunrpc/rpc/netdb.h: Likewise.
19949 * sunrpc/rpc/pmap_clnt.h: Likewise.
19950 * sunrpc/rpc/xdr.h: Likewise.
19951 * sysdeps/generic/inttypes.h: Likewise.
19952 * sysdeps/generic/net/if.h: Likewise.
19953 * sysdeps/generic/sys/swap.h: Likewise.
19954 * sysdeps/gnu/net/if.h: Likewise.
19955 * sysdeps/gnu/utmpx.h: Likewise.
19956 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19957 * sysdeps/i386/i486/bits/string.h: Likewise.
19958 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19959 * sysdeps/s390/bits/string.h: Likewise.
19960 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19961 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19962 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19963 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19964 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19965 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19966 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19967 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19968 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19969 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19970 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19971 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19972 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19973 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19974 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19975 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19976 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19978 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19979 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19980 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19981 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19982 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19983 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19984 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19985 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19986 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19987 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19988 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19989 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19990 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19991 * sysvipc/sys/ipc.h: Likewise.
19992 * sysvipc/sys/msg.h: Likewise.
19993 * sysvipc/sys/sem.h: Likewise.
19994 * sysvipc/sys/shm.h: Likewise.
19995 * termios/termios.h: Likewise.
19996 * time/sys/time.h: Likewise.
19997 * time/time.h: Likewise.
19998 * wcsmbs/bits/wchar2.h: Likewise.
19999 * wcsmbs/uchar.h: Likewise.
20000 * wcsmbs/wchar.h: Likewise.
20001 * wctype/wctype.h: Likewise.
20002
0269750c
UD
20003 [BZ #13551]
20004 * Makeconfig: Remove all but ELF support including AIX support.
20005 * Makerules: Likewise.
20006 * config.h.in: Likewise.
20007 * config.make.in: Likewise.
20008 * configure: Likewise.
20009 * configure.in: Likewise.
20010 * csu/Makefile: Likewise.
20011 * csu/version.c: Likewise.
20012 * debug/Makefile: Likewise.
20013 * dlfcn/Makefile: Likewise.
20014 * elf/Makefile: Likewise.
20015 * extra-lib.mk: Likewise.
20016 * iconv/Makefile: Likewise.
20017 * include/libc-symbols.h: Likewise.
20018 * include/shlib-compat.h: Likewise.
20019 * resolv/Makefile: Likewise.
20020 * resolv/res_libc.c: Likewise.
20021 * rt/Makefile: Likewise.
20022 * sysdeps/i386/asm-syntax.h: Likewise.
20023 * sysdeps/i386/sysdep.h: Likewise.
20024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20025 * sysdeps/mach/sysdep.h: Likewise.
20026 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20027 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20028 * sysdeps/s390/asm-syntax.h: Likewise.
20029 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20031 * sysdeps/sh/sysdep.h: Likewise.
20032 * sysdeps/unix/sparc/sysdep.h: Likewise.
20033 * sysdeps/wordsize-32/divdi3.c: Likewise.
20034 * sysdeps/x86_64/sysdep.h: Likewise.
20035
00bbd29b
UD
20036 * argp/Versions: Remove _argp_unlock_xxx.
20037
20038 [BZ #13559]
20039 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20040 * abilist/libBrokenLocale.abilist: Likewise.
20041 * abilist/libanl.abilist: Likewise.
20042 * abilist/libc.abilist: Likewise.
20043 * abilist/libcrypt.abilist: Likewise.
20044 * abilist/libdl.abilist: Likewise.
20045 * abilist/libm.abilist: Likewise.
20046 * abilist/libnsl.abilist: Likewise.
20047 * abilist/libpthread.abilist: Likewise.
20048 * abilist/libresolv.abilist: Likewise.
20049 * abilist/librt.abilist: Likewise.
20050 * abilist/libthread_db.abilist: Likewise.
20051 * abilist/libutil.abilist: Likewise.
20052 * abilist/libnss_db.abilist: New file.
20053
20054 * scripts/abilist.awk: Add support for indirect functions.
20055
a2693a0e
UD
20056 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20057
3f05895f
UD
20058 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20059
ecb6fb48
UD
20060 * shlib-versions: Remove entries for ports architectures.
20061
664f8cb9
UD
20062 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20063 files in ports.
20064 * elf/stackguard-macros.h: Remove support for IA-64.
20065 * elf/tst-auditmod1.c: Likewise.
20066 * sysdeps/generic/ldsodefs.h: Likewise.
20067
7ae81d88
UD
20068 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20069 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20070 configure files.
20071
bdeba135
UD
20072 [BZ #13552]
20073 * configure.in: Remove --enable-omitfp support.
20074 * FAQ.in: Adjust.
20075 * config.make.in: Likewise.
20076 * Makeconfig: Likewise.
20077 * manual/install.texi: Likewise.
20078
d75a0a62
UD
20079 In case anyone cares, the IA-64 architecture could move to ports.
20080 * sysdeps/ia64/*: Removed.
20081 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20082 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20083
dcc9756b
UD
20084 [BZ #13555]
20085 * configure.in: Remove entries for unsupported architectures.
20086
d3761ebc 20087 [BZ #13533]
9954432e
UD
20088 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20089 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20090 routines.
20091 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20092 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20093 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20094 fall back to using wcrtomb.
20095 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20096 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20097 renaming.
20098 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20099 * wcsmbs/tst-c16c32-1.c: New file.
20100
20101 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20102 local variable.
20103
c3a87236
UD
20104 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20105
28926a1b
UD
20106 * elf/tst-unique3.cc: Add explicit declaration of gets.
20107 * elf/tst-unique3lib.cc: Likewise.
20108 * elf/tst-unique3lib2.cc: Likewise.
20109 * elf/tst-unique4.cc: Likewise.
20110
df78418a
UD
20111 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20112
8ecd6b2a
JM
201132012-01-06 Joseph Myers <joseph@codesourcery.com>
20114
20115 [BZ #13566]
20116 * assert/assert.h (static_assert): Don't define for C++.
20117 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20118 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20119
9f115170
UD
201202012-01-03 Ulrich Drepper <drepper@gmail.com>
20121
5e0d0300
UD
20122 * iconv/loop.c (single loop): Fix assertion in storing of
20123 remaining bytes.
20124
9f115170
UD
20125 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20126
81fb02b0
UD
201272012-01-01 Ulrich Drepper <drepper@gmail.com>
20128
20129 * posix/getconf.c: Update copyright year.
20130 * nss/getent.c: Likewise.
a316c1f6 20131 * nss/makedb.c: Likewise.
81fb02b0
UD
20132 * iconv/iconvconfig.c: Likewise.
20133 * iconv/iconv_prog.c: Likewise.
20134 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20135 * elf/pldd.c: Likewise.
20136 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20137 * catgets/gencat.c: Likewise.
20138 * csu/version.c: Likewise.
20139 * elf/ldd.bash.in: Likewise.
20140 * elf/sprof.c (print_version): Likewise.
20141 * locale/programs/locale.c: Likewise.
20142 * locale/programs/localedef.c: Likewise.
a316c1f6 20143 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20144 * nscd/nscd.c (print_version): Likewise.
20145 * debug/xtrace.sh: Likewise.
20146 * malloc/memusage.sh: Likewise.
20147 * malloc/mtrace.pl: Likewise.
20148 * debug/catchsegv.sh: Likewise.
20149
2ba92745
JJ
201502011-12-30 Jakub Jelinek <jakub@redhat.com>
20151
20152 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20153 pure attribute.
20154
dadebdae
UD
201552011-12-24 Ulrich Drepper <drepper@gmail.com>
20156
d3761ebc 20157 [BZ #13533]
db6af3eb
UD
20158 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20159 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20160 transformations.
20161 * iconv/gconv_int.h: Likewise.
20162 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20163 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20164 from libc for GLIBC_2.16.
20165 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20166 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20167 * wcsmbs/uchar.h: Really define mbstate_t.
20168 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20169 * wcsmbs/c16rtomb.c: New file.
20170 * wcsmbs/mbrtoc16.c: New file.
20171 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20172 for C/POSIX locale.
20173 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20174 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20175
dadebdae
UD
20176 * wcsmbs/wchar.h: Add missing __restrict.
20177
67371b56
UD
201782011-12-23 Ulrich Drepper <drepper@gmail.com>
20179
74033a25
UD
20180 [BZ #13532]
20181 * time/Makefile (routines): Add timespec_get.
20182 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20183 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20184 timespec for ISO C11.
20185 * time/timespec_get.c: New file.
20186 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20187 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20188
380d7e87
UD
20189 [BZ #13531]
20190 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20191 * stdlib/stdlib.h: Declare aligned_alloc.
20192 * Versions.def: Add GLIBC_2.16 for libc.
20193 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20194
4e9e7a35
UD
20195 [BZ 13527]
20196 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20197 ISO C11.
20198
380d7e87 20199 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20200 code.
20201
03a71829
UD
20202 [BZ #13528]
20203 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20204
839e283e
UD
20205 [BZ #13529]
20206 * assert/assert.h (static_assert): Define.
20207
ce5294e2 20208 * version.h: Update for 2.16 development version.
90fa7312 20209
8d44e150 20210 [BZ #13526]
d7809905
UD
20211 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20212 _ISOC11_SOURCE.
20213
c0da14cd
UD
20214 * version.h (RELEASE): Bump for 2.15 release.
20215 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20216
530a3249
MP
20217 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20218 Patch by Marek Polacek <mpolacek@redhat.com>.
20219
67371b56
UD
20220 * bits/byteswap.h: Protect long long constants with __extension__.
20221 * sysdeps/i386/bits/byteswap.h: Likewise.
20222 * sysdeps/ia64/bits/byteswap.h: Likewise.
20223 * sysdeps/s390/bits/byteswap.h: Likewise.
20224 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20225
15db4de1
LD
202262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20227
20228 [BZ #13540]
bbe315ea
LD
20229 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20230 destination buffer.
15db4de1
LD
20231 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20232
2b2596b1
MP
202332011-12-23 Marek Polacek <polacek@redhat.com>
20234
20235 * elf/dl-addr.c (determine_info): Add inline keyword.
20236 * elf/tst-auditmod4b.c (check_avx): Likewise.
20237 * elf/tst-auditmod6b.c (check_avx): Likewise.
20238 * elf/tst-auditmod6c.c (check_avx): Likewise.
20239 * elf/tst-auditmod7b.c (check_avx): Likewise.
20240
70c6c246
UD
202412011-12-23 Ulrich Drepper <drepper@gmail.com>
20242
20243 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20244 !__SSE_MATH__.
20245
c044cf14
LD
202462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20247
15db4de1 20248 [BZ #13540]
c044cf14
LD
20249 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20250 processing for last bytes.
20251
6b13d9d9
BH
202522011-08-06 Bruno Haible <bruno@clisp.org>
20253
d455f537
BH
20254 [BZ #13061]
20255 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20256 U+0385, not to U+1FEE.
20257
6b13d9d9
BH
20258 [BZ #13062]
20259 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20260 entry for U+00A5 U+0301.
20261
db910efd
UD
202622011-12-22 Ulrich Drepper <drepper@gmail.com>
20263
27deeafc
UD
20264 [BZ #13166]
20265 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20266 buffer for the output is too small.
20267
aed9d171
UD
20268 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20269 optimization.
20270
db910efd
UD
20271 [BZ #13185]
20272 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20273 SSE flags if possible.
20274
2bd779ae
LD
202752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20276
e7f9dac3 20277 [BZ #13540]
2bd779ae
LD
20278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20279 processing for last bytes.
20280
154bfc16
JM
202812011-12-22 Joseph Myers <joseph@codesourcery.com>
20282
20283 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20284 (syscall-list-default-options, syscall-list-default-condition)
20285 (syscall-list-includes): Define.
20286 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20287 list of ABIs and options and #if conditions for each ABI. Do not
20288 handle common syscalls between ABIs specially.
20289 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20290 Remove.
20291 (syscall-list-variants, syscall-list-32bit-options)
20292 (syscall-list-32bit-condition, syscall-list-64bit-options)
20293 (syscall-list-64bit-condition): Define.
20294 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20295 (syscall-list-variants, syscall-list-32bit-options)
20296 (syscall-list-32bit-condition, syscall-list-64bit-options)
20297 (syscall-list-64bit-condition): Define.
20298 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20299 Remove.
20300 (syscall-list-variants, syscall-list-32bit-options)
20301 (syscall-list-32bit-condition, syscall-list-64bit-options)
20302 (syscall-list-64bit-condition): Define.
20303 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20304 Remove.
20305 (syscall-list-variants, syscall-list-32bit-options)
20306 (syscall-list-32bit-condition, syscall-list-64bit-options)
20307 (syscall-list-64bit-condition): Define.
20308
21eaf3a5
UD
203092011-12-22 Ulrich Drepper <drepper@gmail.com>
20310
16c6f992
UD
20311 * locale/iso-639.def: Add brx entry.
20312
41043168
UD
20313 [BZ #13328]
20314 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20315 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20316
21eaf3a5
UD
20317 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20318 __feraiseexcept_renamed.
20319
e3a851a2
UD
203202011-12-21 Ulrich Drepper <drepper@gmail.com>
20321
4920765e
UD
20322 [BZ #13538]
20323 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20324 EPOLLET with unsigned values.
20325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20326 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20327
e3a851a2
UD
20328 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20329 to large cancellation.
20330 * math/s_cacoshf.c: Likewise.
20331 * math/s_cacoshl.c: Likewise.
20332
b27e24b8
RK
203332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20334
20335 [BZ #13305]
aebefeee 20336 [BZ #12786]
b27e24b8
RK
20337 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20338 * math/s_cacoshf.c: Likewise.
20339 * math/s_cacoshl.c: Likewise.
20340
ee190f67
UD
203412011-12-21 Ulrich Drepper <drepper@gmail.com>
20342
20343 [BZ #13439]
20344 * iconv/gconv.h: Define __GCONV_SWAP.
20345 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20346 * iconvdata/utf-16.c: Likewise.
20347 * iconvdata/utf-32.c: Likewise.
20348
707f25df
AS
203492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20350
20351 [BZ #13524]
20352 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20353 numerator after shifting it by one limb.
20354
d2daaa1e
RÁE
203552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20356
20357 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20358 under [__USE_EXTERN_INLINES].
20359
a4647e72
UD
203602011-12-17 Ulrich Drepper <drepper@gmail.com>
20361
20362 [BZ #13446]
20363 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20364
f0b264f1
AZ
203652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20366
20367 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20368 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20369 optimized code.
20370 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20371 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20372 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20373 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20374 for strncasecmp/strncasecmp_l compilation.
20375 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20376 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20377
8ef4f244
MP
203782011-12-08 Marek Polacek <mpolacek@redhat.com>
20379
20380 [BZ #13484]
20381 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20382 of __asm__.
20383
97ac2654
UD
203842011-12-17 Ulrich Drepper <drepper@gmail.com>
20385
20386 [BZ #13506]
20387 * time/tzfile.c (__tzfile_read): Check values from file header.
20388
91d2a845
WS
203892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20390
20391 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20392 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20393 * powerpc/powerpc32/dl-start.S: Likewise.
20394 * powerpc/powerpc32/elf/start.S: Likewise.
20395 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20396 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20397 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20398 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20399 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20400 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20401 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20402 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20403 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20404 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20405 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20406 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20407 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20408 * powerpc/powerpc32/memset.S: Likewise.
20409 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20410 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20411 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20412 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20413 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20414 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20415 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20416 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20417 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20418 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20419 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20420 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20421 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20422
a1267ba1
AZ
204232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20424
20425 * math/libm-test.inc: Added more nearbyint tests.
20426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20427 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20429 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20430
ad8ac1bd
RL
204312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20432
20433 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20434 FD_CLOEXEC.
20435
1d3e4b61
UD
204362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20437
20438 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20439 Add wcscpy-ssse3 wcscpy-c.
20440 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20441 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20442 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20443 * sysdeps/x86_64/wcschr.S: New file.
20444 * sysdeps/x86_64/wcsrchr.S: New file.
20445 * string/test-strcmp.c: Remove checking of wcscmp function for
20446 wrong alignments.
20447 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20448 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20449 wcsrchr-sse2 wcsrchr-c.
20450 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20451 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20452 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20453 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20454 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20455 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20456 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20457 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20458 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20459 * wcsmbc/wcschr.c (WCSCHR): New macro.
20460
5b330a2d
UD
204612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20462
20463 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20464 * wcsmbs/test-wcsrchr.c: New file.
20465 * string/test-strrchr.c: Add wcsrchr support.
20466 (WIDE): New macro.
20467 * wcsmbs/test-wcscpy.c: New file.
20468 * string/test-strcpy.c: Add wcscpy support.
20469 (WIDE): New macro.
26428b7c 20470
f039c043
UD
204712011-12-10 Ulrich Drepper <drepper@gmail.com>
20472
20473 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20474 the inner loop.
20475
850fb039
AS
204762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20477
20478 [BZ #13472]
20479 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20480
4efbd5cb
UD
204812011-12-04 Ulrich Drepper <drepper@gmail.com>
20482
52ff5dd0 20483 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20484 Minor optimizations.
52ff5dd0 20485
4efbd5cb
UD
20486 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20487 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20488 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20489
8a426e12
UD
204902011-12-03 Ulrich Drepper <drepper@gmail.com>
20491
aff2453d
UD
20492 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20493 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20494 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20495 for gcc to avoid warnings.
20496 * inet/Makefile (tests): Add tst-checks.
20497 * inet/tst-checks.c: New file.
20498
20499 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20500 warning.
20501
20502 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20503 __wmemcmp_sse2.
20504
20505 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20506 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20507
8a426e12
UD
20508 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20509
9bea3473
UD
205102011-12-02 Ulrich Drepper <drepper@gmail.com>
20511
3a965496
UD
20512 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20513 problem.
20514
9bea3473
UD
20515 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20516
f101631b
UD
205172011-11-29 Joseph Myers <joseph@codesourcery.com>
20518
20519 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20520 conditional on GCC version.
20521 (__arch_compare_and_exchange_val_8_acq)
20522 (__arch_compare_and_exchange_val_16_acq)
20523 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20524 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20525 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20526
a98275aa
UD
205272011-12-02 Joseph Myers <joseph@codesourcery.com>
20528
20529 * sysdeps/sh/backtrace.c: New file.
20530
d4cc29a2
AS
205312011-12-02 Andreas Schwab <schwab@redhat.com>
20532
20533 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20534 parenthesis.
20535
6257af2d
AS
205362011-12-01 Andreas Schwab <schwab@redhat.com>
20537
20538 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20539 falling back to utime.
20540
b5f44c1a
AS
205412011-11-30 Andreas Schwab <schwab@redhat.com>
20542
20543 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20544 expectations for float.
20545
f3a6cc0a
AS
205462011-11-29 Andreas Schwab <schwab@redhat.com>
20547
20548 * locale/weight.h (findidx): Add parameter len.
20549 * locale/weightwc.h (findidx): Likewise.
20550 * posix/fnmatch_loop.c (FCT): Adjust caller.
20551 * posix/regcomp.c (build_equiv_class): Likewise.
20552 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20553 * posix/regexec.c (check_node_accept_bytes): Likewise.
20554 * string/strcoll_l.c (STRCOLL): Likewise.
20555 * string/strxfrm_l.c (STRXFRM): Likewise.
20556
9d65ea3a
UD
205572011-11-17 Ulrich Drepper <drepper@gmail.com>
20558
20559 * Makefile.in: Remove CVSOPT handling.
20560 * configure.in: Remove use of AC_REVISION.
20561 * iconvdata/Makefile (distribute): No need to filter out CVS.
20562 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20563 handling.
20564
5583a086
AS
205652011-11-16 Andreas Schwab <schwab@redhat.com>
20566
20567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20568 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20569 [USE_AS_STRNCASECMP_L]: Likewise.
20570 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20571 NO_TLS_DIRECT_SEG_REFS.
20572 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20573 Fix argument offsets for non-PIC.
20574 [USE_AS_STRNCASECMP_L]: Likewise.
20575 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20576 NO_TLS_DIRECT_SEG_REFS.
20577
d62a8200
UD
205782011-11-15 Ulrich Drepper <drepper@gmail.com>
20579
9d65ea3a 20580 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20581 O_CLOEXEC.
20582 * locale/loadlocale.c (_nl_load_locale): Likewise.
20583
09f93bd3
AS
205842011-11-15 Andreas Schwab <schwab@redhat.com>
20585
446514f9
AS
20586 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20587 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20588 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20589 (SYSCALL_GETTIME): Set errno on error.
20590
09f93bd3
AS
20591 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20592 count references to noai6ai_cached.
20593
312be3f9
UD
205942011-11-15 Ulrich Drepper <drepper@gmail.com>
20595
20596 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20597
20598 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20599 FD_CLOEXEC for /proc/self/maps.
20600
20601 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20602 FD_CLOEXEC for /proc/meminfo.
20603
20604 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20605 gai.conf.
20606
20607 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20608 FD_CLOEXEC for given file.
20609
20610 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20611
20612 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20613 FD_CLOEXEC for /etc/hosts.
20614 (_gethtent): Likewise.
20615
20616 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20617
20618 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20619 cancellation and set FD_CLOEXEC for /etc/netgroup.
20620
20621 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20622 reading /etc/publickey.
20623
20624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20625 allow cancellation when reading /etc/group.
20626
20627 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20628 cancellation.
20629 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20630
20631 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20632 when using data file.
20633
20634 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20635
20636 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20637 (write_nis_obj): Use "c" and "e" in fopen.
20638
20639 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20640
20641 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20642
20643 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20644
20645 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20646
20647 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20648 locale.alias.
20649
20650 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20651
20652 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20653
20654 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20655
20656 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20657 file parsing and set FD_CLOEXEC.
20658
82af0fa8
UD
206592011-11-14 Ulrich Drepper <drepper@gmail.com>
20660
20661 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20662
a5fb313c
AS
206632011-11-14 Andreas Schwab <schwab@redhat.com>
20664
20665 * malloc/arena.c (arena_get2): Don't call reused_arena when
20666 _int_new_arena failed.
20667
6abf3465
UD
206682011-11-14 Ulrich Drepper <drepper@gmail.com>
20669
20670 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20671 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20672 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20673 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20674 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20675 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20676 to compile strcasecmp and strncasecmp.
20677 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20678 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20679
20680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20681
76e3966e
UD
206822011-11-13 Ulrich Drepper <drepper@gmail.com>
20683
20684 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20685 locale-defines.sym to gen-as-const-headers.
20686 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20687 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20689 to compile strcasecmp and strncasecmp.
20690 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20691 strcasecmp_l and strncasecmp_l.
20692 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20693 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20694 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20695 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20696 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20697 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20698 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20699 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20700 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20701 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20702 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20703
ab26144e
UD
207042011-11-12 Ulrich Drepper <drepper@gmail.com>
20705
7edb22ef
UD
20706 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20707 result of SYSDEP_GETTIME_CPU to retval.
20708 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20709 parameter list to macro. Remove trailing semicolon. Adjust users.
20710
9694fc44
UD
20711 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20712 variable.
20713
8ad89ef8
UD
20714 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20715 mantissa words.
20716 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20717
0c822ef9
UD
20718 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20719 from unused variable.
20720
874e0564
UD
20721 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20722 DWARF definitions.
20723 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20724 for assembling.
20725
3a2edc79
UD
20726 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20727 over namespaces.
20728
f3c2577f
UD
20729 * sunrpc/rpc_prot.c (rejected): Fix case value.
20730
294ce126
UD
20731 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20732 unsigned long long int to avoid warnings in shift.
20733
5e2b63c6
UD
20734 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20735 of use of trans.
20736 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20737 variable tmp.
20738
e7f4b08e
UD
20739 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20740 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20741 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20742
ab26144e
UD
20743 * nis/nis_table.c (nis_list): Use variable of correct type for
20744 result of __follow_path call.
20745
8a6d5255
AZ
207462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20747
20748 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20749 of math functions ceil, trunc, floor, round, and sqrt, when
20750 avaliable on the platform.
20751 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20752 name clash.
20753 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20754 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20755 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20756
aaddc98c
MP
207572011-10-30 Marek Polacek <mpolacek@redhat.com>
20758
20759 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20760 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20761
95b7042b
RM
207622011-11-11 Roland McGrath <roland@hack.frob.com>
20763
20764 * include/unistd.h: Fix __readlink return type.
20765 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20766
57769839
UD
207672011-11-11 Ulrich Drepper <drepper@gmail.com>
20768
20769 * stdlib/ucontext.h: Undo last change for makecontext.
20770
edc5984d
AS
207712011-11-11 Andreas Schwab <schwab@redhat.com>
20772
98591e58
AS
20773 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20774
edc5984d
AS
20775 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20776 * setjmp/setjmp.h: Mark functions as non-leaf.
20777 * setjmp/bits/setjmp2.h: Likewise.
20778 * stdlib/ucontext.h: Likewise.
20779
77cdc054
AS
207802011-11-10 Andreas Schwab <schwab@redhat.com>
20781
20782 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20783 (reused_arena): Don't check arena limit.
20784 (arena_get2): Atomically check arena limit.
20785
fe72eebd
UD
207862011-11-08 Ulrich Drepper <drepper@gmail.com>
20787
5f078c32
UD
20788 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20789 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20790
fe72eebd
UD
20791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20792 instructions.
20793
ae1bc2fa
AS
207942011-11-07 Andreas Schwab <schwab@redhat.com>
20795
7583a88d
AS
20796 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20797 handler when locking.
20798
ae1bc2fa
AS
20799 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20800 Fix size of allocated buffer.
20801
10fb0bfa
AS
208022011-11-04 Andreas Schwab <schwab@redhat.com>
20803
998832a4
AS
20804 [BZ #10103]
20805 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20806 declarations for long double functions.
20807 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20808
10fb0bfa
AS
20809 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20810
3d7ba52b
AS
208112011-11-03 Andreas Schwab <schwab@redhat.com>
20812
a9ae54a1
AS
20813 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20814 installed.
20815
3d7ba52b
AS
20816 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20817 is disabled.
20818
bc8db248
ST
208192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20820
20821 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20822
45b96dd6
AS
208232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20824
647776f6
AS
20825 * include/alloca.h (stackinfo_alloca_round): Define.
20826 (extend_alloca): Use it.
20827 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20828 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20829 here.
20830
d91a8b93
AS
20831 * scripts/check-local-headers.sh: Ignore libaudit.h.
20832
45b96dd6
AS
20833 * nscd/Makefile (extra-objs): Make recursively expanded.
20834
432d41ce
UD
208352011-11-01 Ulrich Drepper <drepper@gmail.com>
20836
34372fc6
UD
20837 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20838 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20839
fadb59f8
UD
20840 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20841 * posix/tst-rfc3484-2.c: Likewise.
20842 * posix/tst-rfc3484-3.c: Likewise.
20843
78239589
UD
20844 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20845 process_vm_writev.
20846 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20847 process_vm_writev.
20848 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20849 process_vm_writev from libc using GLIBC_2.15 version.
20850
432d41ce
UD
20851 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20852
02f9c6cf
PP
208532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20854
20855 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20856 stack usage.
20857
3a2c0242
UD
208582011-10-31 Ulrich Drepper <drepper@gmail.com>
20859
f4ec4833
UD
20860 [BZ #13367]
20861 * nss/getent.c (initgroups_keys): Show error message in case no group
20862 names are given.
20863
3a2c0242
UD
20864 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20865 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20866 __bump_nl_timestamp.
20867 * nscd/connections (nscd_init): When host database is served open
20868 netlink socket and request notification about configuration changes.
20869 (main_loop_poll): Track netlink file descriptor and bump timestamp
20870 in case data becomes available.
20871 (main_loop_epoll): Likewise.
20872 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20873 (database_pers_head): Add extra_data fileds.
20874 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20875 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20876 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20877 Adjust caller.
20878 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20879 in6ai data, call __free_in6ai.
20880 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20881 Add -DHAVE_NETLINK.
20882 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20883 interface information. Reuse previous data if netlink timestamp
20884 is not changed.
20885 (__bump_nl_timestamp): New function.
20886 (__free_in6ai): New function.
20887
636064eb
UD
208882011-10-30 Ulrich Drepper <drepper@gmail.com>
20889
20890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20891 close_not_cancel_no_status here.
20892 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20893
9beb2334
UD
208942011-10-29 Ulrich Drepper <drepper@gmail.com>
20895
6ef76f3b
UD
20896 [BZ #13276]
20897 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20898 return value.
20899
0ffc4f3e 20900 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20901 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20902 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20903
cb95113e
UD
209042011-07-03 Andreas Jaeger <aj@suse.de>
20905
20906 [BZ #10709]
20907 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20908 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20909 * math/libm-test.inc (sin_test): Add test case.
20910
a1b560ff
UD
209112011-10-29 Ulrich Drepper <drepper@gmail.com>
20912
c9aaface
UD
20913 [BZ #13337]
20914 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20915 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20916
d272e7f1
UD
20917 * elf/chroot_canon.c (chroot_canon): Cleanups.
20918
1bc33071
UD
20919 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20920
1760874d
TJ
20921 [BZ #13335]
20922 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20923 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20924
51d91b18
UD
20925 * string/test-strchr.c: Make usable for strchrnul testing.
20926 * string/test-strchrnul.c: New file.
20927 * string/Makefile (strop-tests): Add strchrnul.
20928
a1b560ff 20929 * po/it.po: Update from translation team.
b611fb81 20930 * po/es.po: Likewise.
a1b560ff 20931
a5b81e1f
UD
209322011-10-28 Ulrich Drepper <drepper@gmail.com>
20933
fd52bc6d
UD
20934 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20935 the three constants needed as parameters. Drop the others.
20936 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20937 __m128i_strloadu_tolower.
52e4b9eb
UD
20938 Create and initialize variable zero and use it in all the places
20939 where _mm_setzero_si128 was used.
fd52bc6d 20940
a5b81e1f
UD
20941 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20942 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20943 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20944 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20945 anymore.
20946 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20947 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20948 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20949 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20950 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20951 __mpranred, __mptan.
20952 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20953 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20954 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20955 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20956 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20957 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20958 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20959 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20960 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20961
b4343346
AS
209622011-10-28 Andreas Schwab <schwab@redhat.com>
20963
0c92d8a8
AS
20964 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20965 redefine if SHARED.
20966 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20967
b4343346
AS
20968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20969 wide char related routines to wcsmbs subdir.
20970
3871f58f
AS
209712011-10-27 Andreas Schwab <schwab@redhat.com>
20972
20973 [BZ #13344]
20974 * misc/sys/cdefs.h (__THROWNL): Define.
20975 * posix/unistd.h: Use __THREADNL instead of __THREAD
20976 for memory synchronization functions.
20977
94d44d9f
RM
209782011-10-26 Roland McGrath <roland@hack.frob.com>
20979
21b64b15 20980 [BZ #13349]
94d44d9f
RM
20981 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20982 doesn't exist.
20983 * manual/stdio.texi (Obstack Streams): Node removed.
20984
f6ce9294
AS
209852011-10-26 Andreas Schwab <schwab@redhat.com>
20986
80479147
AS
20987 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20988 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20989 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20990
f6ce9294
AS
20991 * math/math_private.h (math_force_eval): Allow non-addressable
20992 arguments.
20993 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20994
618280a1
UD
209952011-10-25 Ulrich Drepper <drepper@gmail.com>
20996
e0016b11
UD
20997 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20998 file is not needed.
20999
21000 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21001 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21002 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21003 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21004 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21005 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21006 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21007 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21008 Add AVX variants.
21009 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21010 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21011 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21012 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21013 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21014 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21015 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21016 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21017 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21018 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21019 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21020 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21021 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21022 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21023 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21024 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21025 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21026 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21027 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21028
21029 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21030 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21031
618280a1
UD
21032 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21033 place. Use VEX encoding when compiling for AVX.
21034
37822576
AS
210352011-10-25 Andreas Schwab <schwab@redhat.com>
21036
1f1e1947
AS
21037 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21038 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21039
37822576
AS
21040 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21041
31ea014d
UD
210422011-10-25 Ulrich Drepper <drepper@gmail.com>
21043
d7826aa1 21044 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21045 useless if() expression.
d7826aa1
UD
21046 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21047 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21048 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21049 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21050 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21055 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21056 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21057 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21058 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21059 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21060 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21061 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21065
31ea014d
UD
21066 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21067
16437fec
AS
210682011-10-25 Andreas Schwab <schwab@redhat.com>
21069
21070 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21071 condition.
21072 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21073
31d3cc00
UD
210742011-10-25 Ulrich Drepper <drepper@gmail.com>
21075
21076 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21077 .text section. Avoid duplicate constants.
21078 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21079 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21080 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21086 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21087 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21088 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21090 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21093 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21095 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21100 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21101 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21102 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21103 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21104 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21105 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21106 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21107 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21108 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21109 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21110 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21111 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21112 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21113 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21114 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21115 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21116 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21117 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21118 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21119 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21120 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21121 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21122 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21123
58985aa9
UD
211242011-10-24 Ulrich Drepper <drepper@gmail.com>
21125
202c9deb
UD
21126 * sysdeps/x86_64/dla.h: Move to ...
21127 * sysdeps/x86_64/fpu/dla.h: ...here.
21128 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21129 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21130
af968f62
UD
21131 * config.make.in: Add have-mfma4 entry.
21132 * configure.in: Substitute libc_cv_cc_fma4.
21133 * math/Makefile (dbl-only-routines): Add sincostab.
21134 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21135 Use __sincostab not sincos.
21136 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21137 name is a macro.
21138 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21142 using __copysign.
21143 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21144 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21145 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21146 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21147 and __inv.
21148 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21149 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21150 __copysign.
21151 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21152 define aliases when function name is a macro.
21153 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21154 sysdeps/ieee754/dbl-64/sincos.tbl.
21155 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21156 fma4-enabled routines.
21157 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21158 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21159 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21160 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21161 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21162 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21163 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21166 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21167 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21168 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21169 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21170 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21171 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21172 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21173 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21174 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21175 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21176 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21177 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21178 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21179 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21180 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21181 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21182 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21184 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21185 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21186 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21187
58985aa9
UD
21188 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21189 rename.
21190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21198
a201fbcf
AS
211992011-10-24 Andreas Schwab <schwab@redhat.com>
21200
21201 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21202
fc2ee42a
LD
212032011-10-23 Ulrich Drepper <drepper@gmail.com>
21204
bb3129bd
UD
21205 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21206
0275fff8
UD
21207 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21208 prediction.
21209 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21210
2fa2ae85
UD
21211 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21212 Remove unused variable magic_bits.
21213 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21214
fc2ee42a
LD
21215 * string/strnlen.c: Define and use STRNLEN macro.
21216 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21217 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21218 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21219 * wcsmbs/wcslen.c: Define and use WCSLEN.
21220 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21221 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21222 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21223 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21224 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21225 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21226 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21227
ce7dd29f
LD
212282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21229
21230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21231 strnlen-sse2-no-bsf.
21232 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21233 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21234 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21235 Add strnlen support.
21236 (USE_AS_STRNLEN): New macro.
21237 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21238 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21239 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21240 * sysdeps/x86_64/wcslen.S: New file.
21241
979c70a3
MZ
212422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21243
21244 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21245 XMM-moves are used for copying on small sizes.
21246
2d09f82f
LD
212472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21248
21249 * wcsmbs/Makefile (strop-tests): Add wcschr.
21250 * wcsmbs/test-wcschr.c: New file.
21251 * string/test-strchr.c: Update.
21252 Add wcschr support.
21253 (WIDE): New macro.
21254
619fccca
LD
212552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21256
2d09f82f 21257 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21258 * wcsmbs/test-wcslen.c: New file.
21259 * string/test-strlen.c: Update.
21260 Add wcslen support.
21261 (WIDE): New macro.
21262
09f699ea
UD
212632011-10-23 Ulrich Drepper <drepper@gmail.com>
21264
21265 * po/it.po: Update from translation team.
21266
95584d3b
LD
212672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21268
21269 * sysdeps/x86_64/wcscmp.S: Update.
21270 Fix wrong comparison semantics.
21271 wcscmp shall use signed comparison not unsigned.
21272 Don't use substraction to avoid overflow bug.
21273 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21274 * wcsmbc/wcscmp.c: Likewise.
21275 * string/test-strcmp.c: Likewise.
21276 Add new tests to check cases with negative values.
21277
c8b3296b
UD
212782011-10-23 Ulrich Drepper <drepper@gmail.com>
21279
21280 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21281 * sysdeps/x86_64/dla.h: ...here. New file.
21282 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21287 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21289 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21291
246ad57a
AS
212922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21293
21294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21295 __ynl_finite aliases.
21296
a1a87169
UD
212972011-10-22 Ulrich Drepper <drepper@gmail.com>
21298
0d355eb7
UD
21299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21300
a1a87169
UD
21301 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21302 define DLA_FMA.
21303 [DLA_FMA] (EMULV): Use DLA_FMA.
21304 [DLA_FMA] (MUL12): Use EMULV.
21305 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21306 that are not needed.
21307 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21308 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21311 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21312 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21313 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21314
ee2aafe0
AS
213152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21316
21317 * math/s_nan.c: Undef __nan.
21318 * math/s_nanf.c: Undef __nanf.
21319 * math/s_nanl.c: Undef __nanl.
21320 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21321 "math_private.h".
21322
bc62c2fb
UD
213232011-10-22 Ulrich Drepper <drepper@gmail.com>
21324
77425c63
UD
21325 * math/s_catan.c: Add branch predictions.
21326 * math/s_catanf.c: Likewise.
21327 * math/s_catanh.c: Likewise.
21328 * math/s_catanhf.c: Likewise.
21329 * math/s_catanhl.c: Likewise.
21330 * math/s_catanl.c: Likewise.
21331 * math/s_cexp.c: Likewise.
21332 * math/s_cexpf.c: Likewise.
21333 * math/s_cexpl.c: Likewise.
21334 * math/s_clog.c: Likewise.
21335 * math/s_clog10.c: Likewise.
21336 * math/s_clog10f.c: Likewise.
21337 * math/s_clog10l.c: Likewise.
21338 * math/s_clogf.c: Likewise.
21339 * math/s_clogl.c: Likewise.
21340 * math/s_csqrt.c: Likewise.
21341 * math/s_csqrtf.c: Likewise.
21342 * math/s_csqrtl.c: Likewise.
21343 * math/s_ctanf.c: Likewise.
21344 * math/s_ctanh.c: Likewise.
21345 * math/s_ctanhf.c: Likewise.
21346 * math/s_ctanhl.c: Likewise.
21347 * math/s_ctanl.c: Likewise.
21348
bc62c2fb
UD
21349 * math/math_private.h: Define __nan, __nanf, __nanl.
21350 * math/s_cacosh.c: Include <math_private.h>.
21351 * math/s_cacoshl.c: Likewise.
21352 * math/s_casinh.c: Likewise.
21353 * math/s_casinhf.c: Likewise.
21354 * math/s_casinhl.c: Likewise.
21355 * math/s_ccos.c: Rely entire on ccosh.
21356 * math/s_ccosf.c: Rely entire on ccoshf.
21357 * math/s_ccosl.c: Rely entirely on ccoshl.
21358 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21359 Remove tests for FE_INVALID.
21360 * math/s_ccoshf.c: Likewise.
21361 * math/s_ccoshl.c: Likewise.
21362 * math/s_csin.c: Likewise.
21363 * math/s_csinf.c: Likewise.
21364 * math/s_csinh.c Likewise.
21365 * math/s_csinhf.c: Likewise.
21366 * math/s_csinhl.c: Likewise.
21367 * math/s_csinl.c: Likewise.
21368 * math/s_ctan.c: Likewise.
21369 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21370 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21371 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21372
8ec250a4
UD
213732011-10-21 Ulrich Drepper <drepper@gmail.com>
21374
c196fed8
UD
21375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21376 compilation problems.
21377
8ec250a4
UD
21378 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21379 __builtin_expect.
21380
8d4f46c6
UD
213812011-10-20 Ulrich Drepper <drepper@gmail.com>
21382
ed72b654
UD
21383 * sysdeps/i386/configure.in: Test for -mfma4 option.
21384 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21385 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21386 COMMON_CPUID_INDEX_80000001.
21387 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21388 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21389 use it if FMA3 is not supported.
21390 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21391
8d4f46c6
UD
21392 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21393 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21394
d45c60c2
AS
213952011-10-20 Andreas Schwab <schwab@redhat.com>
21396
21397 [BZ #12892]
21398 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21399 it would create a cycle with a link time dependency.
21400
d9a4d2ab
UD
214012011-10-19 Ulrich Drepper <drepper@gmail.com>
21402
855d1560
UD
21403 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21404 instruction.
21405 * string/Makefile (strop-tests): Add rawmemchr.
21406 * string/test-rawmemchr.c: New file.
21407
d9a4d2ab
UD
21408 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21410 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21411 when compiling str{,n}casecmp and when AVX is available. Hook up
21412 new optimized code in initializers.
21413
8f3b1ffe
AS
214142011-10-19 Andreas Schwab <schwab@redhat.com>
21415
21416 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21417 __feraiseexcept instead of feraiseexcept.
21418
d38f1dba
UD
214192011-10-18 Ulrich Drepper <drepper@gmail.com>
21420
d9a8d0ab
UD
21421 * math/math_private.h: Define defaults for libc_fetestexcept and
21422 libc_feupdateenv.
21423 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21424 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21425 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21426 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21427 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21428 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21429 libc_fetestexcept and libc_feupdateenv.
21430
4855e3dd
UD
21431 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21432 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21433 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21434 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21435 libc_feholdexcept_setround.
21436
581d30e3
UD
21437 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21438 Add s_nearbyint-c and s_nearbyintf-c.
21439 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21440 nearbyintf inlines.
21441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21442 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21443 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21444 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21445
d38f1dba
UD
21446 * math/math_private.h: Define defaults for libc_fegetround,
21447 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21448 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21449 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21450 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21451 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21452 standard functions.
21453 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21454 Remove comments and hacks for old compiler versions.
21455 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21456 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21457 libc_feholdexceptl.
21458
caa6c9d8
AS
214592011-10-18 Andreas Schwab <schwab@redhat.com>
21460
21461 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21462 (__feraiseexcept_renamed): Add __NTH.
21463 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21464 namespace violations.
21465
97c066e6
UD
214662011-10-17 Ulrich Drepper <drepper@gmail.com>
21467
99ce7b04
UD
21468 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21469
1004d182
UD
21470 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21471
228a984d
UD
21472 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21473 recently added interfaces.
21474 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21475
c8553a6a
UD
21476 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21477 about macro parameter expansion.
21478
ed22dcf6
UD
21479 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21480 __NO_MATH_INLINES is defined. Cleanups.
21481
21482 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21483 and __floorf is target has SSE4.1.
21484 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21485 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21486 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21487 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21488
b171c137
UD
21489 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21490 name.
21491 (floorf): Likewise.
21492
97c066e6
UD
21493 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21494
629f62ef
AS
214952011-10-17 Andreas Schwab <schwab@redhat.com>
21496
49a43d80
AS
21497 * misc/sys/cdefs.h: Fix last change.
21498
629f62ef
AS
21499 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21500 database lookup.
21501
e453f6cd
UD
215022011-10-16 Ulrich Drepper <drepper@gmail.com>
21503
aa78043a
UD
21504 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21505
ad0f5cad
UD
21506 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21507 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21508 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21509 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21510 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21511 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21512 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21513 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21514 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21515 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21516 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21517 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21518 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21519 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21520 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21521 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21522 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21523 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21524 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21525 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21526 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21527 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21528
21529 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21530 ceil, ceilf, floor, floorf.
21531
21532 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21533 Perform IRELATIVE relocations last.
21534
e453f6cd
UD
21535 * elf/do-rel.h: Add another parameter nrelative, replacing the
21536 local variable with the same name. Change name of the function
21537 to end in Rel or Rela (uppercase).
21538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21539 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21540 elf_dynamic_do_##reloc function.
21541
fd5bdc09
UD
215422011-10-15 Ulrich Drepper <drepper@gmail.com>
21543
79b195b5
UD
21544 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21545 is sufficient, at least on modern CPUs.
21546
d4a28569
UD
21547 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21548
b61099b5
UD
21549 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21550 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21551
bcf01e6d
UD
21552 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21553 __expl_finite.
21554 * math/bits/math-finite.h: Add entries for exp.
21555 * math/e_expl.c: Add __*_finite alias.
21556 * sysdeps/i386/fpu/e_exp.S: Likewise.
21557 * sysdeps/i386/fpu/e_expf.S: Likewise.
21558 * sysdeps/i386/fpu/e_expl.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21560 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21561 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21564 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21565 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21566
ba1a0d59
UD
21567 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21568 is sufficient, at least on modern CPUs.
21569
fd5bdc09
UD
21570 * ctype/ctype-info.c (__ctype_init): Define.
21571 * include/ctype.h (__ctype_init): Declare.
21572 (__ctype_b_loc): The variable is always initialized.
21573 (__ctype_toupper_loc): Likewise.
21574 (__ctype_tolower_loc): Likewise.
21575 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21576 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21577
7872cfb0
AS
215782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21579
b468825a
AS
21580 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21581
7872cfb0
AS
21582 * configure.in: Also look in $cxxmachine/include for C++ system
21583 headers.
21584
be13f7bf
LD
215852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21586
21587 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21588 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21589 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21590 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21591 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21592 (USE_AS_WMEMCMP): New macro.
21593 Fixing indents.
21594 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21595 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21596 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21597 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21599 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21600 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21601 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21602 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21603 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21604 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21605 (USE_AS_WMEMCMP): New macro.
21606 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21607 * sysdeps/string/test-memcmp.c: Update.
21608 Fix simple_wmemcmp.
21609 Add new tests.
21610 * wcsmbs/wmemcmp.c: Update.
21611 (WMEMCMP): New macro.
21612 Fix overflow bug.
21613
556a2007
AJ
216142011-10-12 Andreas Jaeger <aj@suse.de>
21615
21616 [BZ #13268]
21617 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21618
538faaa7
UD
216192011-10-15 Ulrich Drepper <drepper@gmail.com>
21620
ab6737ff
UD
21621 * libio/iofwide.c (do_length): Avoid warning.
21622
538faaa7
UD
21623 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21624
396a21b1
UD
216252011-10-14 Ulrich Drepper <drepper@gmail.com>
21626
cdf2901f
UD
21627 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21628
38ad40ce
UD
21629 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21630 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21631 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21632 * sysdeps/i386/i686/fpu/e_log.S: New file.
21633 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21634 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21635
396a21b1
UD
21636 * ctype/ctype.h: Add support for inlined isXXX functions when
21637 compiling C++ code.
21638
6b1f68c9
AS
216392011-10-14 Andreas Schwab <schwab@redhat.com>
21640
349290c0
AS
21641 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21642
6b1f68c9
AS
21643 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21644
f2282d42
RM
216452011-10-13 Roland McGrath <roland@hack.frob.com>
21646
21647 [BZ #13291]
21648 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21649
5298ffa8
AS
216502011-10-13 Andreas Schwab <schwab@redhat.com>
21651
714fad23
AS
21652 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21653 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21654 feraiseexcept.
21655
81dcc7fb
AS
21656 * sysdeps/x86_64/memrchr.S: Check for zero size.
21657
5298ffa8
AS
21658 * string/stratcliff.c: Add memrchr tests.
21659
951fbcec
LD
216602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21661
21662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21663 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21664 rawmemchr-sse2 rawmemchr-sse2-bsf.
21665 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21666 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21667 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21668 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21669 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21670 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21671 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21672 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21673 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21674 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21675 * string/memrchr.c (MEMRCHR): New macro.
21676
0ac5ae23
UD
216772011-10-12 Ulrich Drepper <drepper@gmail.com>
21678
21679 Add integration with gcc's -ffinite-math-only and optimize wrapper
21680 functions in libm.
21681 * Versions.def: Define GLIBC_2.15 version for libm.
21682 * math/Makefile (headers): Add bits/math-finite.h.
21683 * math/bits/math-finite.h: New file.
21684 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21685 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21686 * math/e_acoshl.c: Add __*_finite alias.
21687 * math/e_acosl.c: Likewise.
21688 * math/e_asinl.c: Likewise.
21689 * math/e_atan2l.c: Likewise.
21690 * math/e_atanhl.c: Likewise.
21691 * math/e_coshl.c: Likewise.
21692 * math/e_exp10.c: Likewise.
21693 * math/e_exp10f.c: Likewise.
21694 * math/e_exp10l.c: Likewise.
21695 * math/e_exp2l.c: Likewise.
21696 * math/e_fmodl.c: Likewise.
21697 * math/e_gammal_r.c: Likewise.
21698 * math/e_hypotl.c: Likewise.
21699 * math/e_j0l.c: Likewise.
21700 * math/e_j1l.c: Likewise.
21701 * math/e_jnl.c: Likewise.
21702 * math/e_lgammal_r.c: Likewise.
21703 * math/e_log10l.c: Likewise.
21704 * math/e_log2l.c: Likewise.
21705 * math/e_logl.c: Likewise.
21706 * math/e_powl.c: Likewise.
21707 * math/e_sinhl.c: Likewise.
21708 * math/e_sqrtl.c: Likewise.
21709 * math/e_scalb.c: Completely rewritten and optimized.
21710 * math/e_scalbf.c: Likewise.
21711 * math/e_scalbl.c: Likewise.
21712 * math/w_acos.c: Likewise.
21713 * math/w_acosf.c: Likewise.
21714 * math/w_acosl.c: Likewise.
21715 * math/w_acosh.c: Likewise.
21716 * math/w_acoshf.c: Likewise.
21717 * math/w_acoshl.c: Likewise.
21718 * math/w_asin.c: Likewise.
21719 * math/w_asinf.c: Likewise.
21720 * math/w_asinl.c: Likewise.
21721 * math/w_atan2.c: Likewise.
21722 * math/w_atan2f.c: Likewise.
21723 * math/w_atan2l.c: Likewise.
21724 * math/w_atanh.c: Likewise.
21725 * math/w_atanhf.c: Likewise.
21726 * math/w_atanhl.c: Likewise.
21727 * math/w_exp10.c: Likewise.
21728 * math/w_exp10f.c: Likewise.
21729 * math/w_exp10l.c: Likewise.
21730 * math/w_fmod.c: Likewise.
21731 * math/w_fmodf.c: Likewise.
21732 * math/w_fmodl.c: Likewise.
21733 * math/w_j0.c: Likewise.
21734 * math/w_j0f.c: Likewise.
21735 * math/w_j0l.c: Likewise.
21736 * math/w_j1.c: Likewise.
21737 * math/w_j1f.c: Likewise.
21738 * math/w_j1l.c: Likewise.
21739 * math/w_jn.c: Likewise.
21740 * math/w_jnf.c: Likewise.
21741 * math/w_log.c: Likewise.
21742 * math/w_logf.c: Likewise.
21743 * math/w_logl.c: Likewise.
21744 * math/w_log10.c: Likewise.
21745 * math/w_log10f.c: Likewise.
21746 * math/w_log10l.c: Likewise.
21747 * math/w_log2.c: Likewise.
21748 * math/w_log2f.c: Likewise.
21749 * math/w_log2l.c: Likewise.
21750 * math/w_pow.c: Likewise.
21751 * math/w_powf.c: Likewise.
21752 * math/w_powl.c: Likewise.
21753 * math/w_remainder.c: Likewise.
21754 * math/w_remainderf.c: Likewise.
21755 * math/w_remainderl.c: Likewise.
21756 * math/w_scalb.c: Likewise.
21757 * math/w_scalbf.c: Likewise.
21758 * math/w_scalbl.c: Likewise.
21759 * math/w_sqrt.c: Likewise.
21760 * math/w_sqrtf.c: Likewise.
21761 * math/w_sqrtl.c: Likewise.
21762 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21763 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21764 used.
21765 * math/math_private.h: Declare __kernel_standard_f.
21766 * math/w_cosh.c: Remove cruft and optimize a bit.
21767 * math/w_coshf.c: Likewise.
21768 * math/w_coshl.c: Likewise.
21769 * math/w_exp2.c: Likewise.
21770 * math/w_exp2f.c: Likewise.
21771 * math/w_exp2l.c: Likewise.
21772 * math/w_hypot.c: Likewise.
21773 * math/w_hypotf.c: Likewise.
21774 * math/w_hypotl.c: Likewise.
21775 * math/w_lgamma.c: Likewise.
21776 * math/w_lgamma_r.c: Likewise.
21777 * math/w_lgammaf.c: Likewise.
21778 * math/w_lgammaf_r.c: Likewise.
21779 * math/w_lgammal.c: Likewise.
21780 * math/w_lgammal_r.c: Likewise.
21781 * math/w_sinh.c: Likewise.
21782 * math/w_sinhf.c: Likewise.
21783 * math/w_sinhl.c: Likewise.
21784 * math/w_tgamma.c: Likewise.
21785 * math/w_tgammaf.c: Likewise.
21786 * math/w_tgammal.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21788 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21789 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21790 Minor optimizations. Pretty printing. Remove cruft.
21791 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21792 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21793 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21794 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21795 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21796 * sysdeps/i386/fpu/e_asin.S: Likewise.
21797 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21798 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21799 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21800 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21801 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21802 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21803 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21804 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21805 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21806 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21807 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21808 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21809 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21810 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21811 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21812 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21813 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21814 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21815 * sysdeps/i386/fpu/e_log.S: Likewise.
21816 * sysdeps/i386/fpu/e_log10.S: Likewise.
21817 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21818 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21819 * sysdeps/i386/fpu/e_log2.S: Likewise.
21820 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21821 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21822 * sysdeps/i386/fpu/e_logf.S: Likewise.
21823 * sysdeps/i386/fpu/e_logl.S: Likewise.
21824 * sysdeps/i386/fpu/e_pow.S: Likewise.
21825 * sysdeps/i386/fpu/e_powf.S: Likewise.
21826 * sysdeps/i386/fpu/e_powl.S: Likewise.
21827 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21828 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21829 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21830 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21831 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21832 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21833 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21834 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21835 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21836 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21837 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21840 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21842 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21843 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21844 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21845 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21846 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21847 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21849 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21850 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21856 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21857 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21858 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21859 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21860 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21861 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21862 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21863 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21864 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21865 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21866 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21867 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21868 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21869 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21870 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21871 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21872 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21873 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21874 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21875 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21876 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21877 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21878 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21879 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21880 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21881 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21882 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21883 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21884 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21885 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21886 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21887 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21888 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21889 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21890 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21891 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21892 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21893 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21894 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21895 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21896 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21897 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21901 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21902 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21904 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21905 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21906 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21907 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21908 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21910 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21912 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21913 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21914 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21915 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21916 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21917 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21918 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21919 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21920 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21921 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21922 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21923 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21924 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21925 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21926 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21927 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21928 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21929 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21930 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21931 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21932 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21933 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21934 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21935 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21936 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21937 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21938 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21939 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21940 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21941 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21942 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21943 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21944 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21945 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21946 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21947 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21948 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21949 (__isnanf): Likewise.
21950 (__isinf_ns): Likewise.
21951 (__isinf_nsf): Likewise.
21952 (__finite): Likewise.
21953 (__finitef): Likewise.
21954 (__ieee754_sqrt): Define as macro.
21955 (__ieee754_sqrtf): Define as macro.
21956 (__ieee754_sqrtl): Define as macro.
21957 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21958 inlined copy.
21959 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21960 __FINITE_MATH_ONLY__ consistent.
21961 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21962
12cc2fcd
AS
219632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21964
a843a204
AS
21965 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21966 of rawmemchr.
21967
12cc2fcd
AS
21968 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21969
c853acd5
UD
219702011-10-09 Ulrich Drepper <drepper@gmail.com>
21971
21972 * po/ja.po: Update from translation team.
21973
c658d255
RM
219742011-10-08 Roland McGrath <roland@hack.frob.com>
21975
110946e4
RM
21976 * locale/programs/locarchive.c (prepare_address_space): New function.
21977 (create_archive, enlarge_archive, open_archive): Use it.
21978
50604220
RM
21979 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21980 inside [SHARED], where it is used.
21981
c658d255
RM
21982 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21983
21984 * nss/getent.c (netgroup_keys): Remove unused variable.
21985 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21986
6a621eb7
UD
219872011-10-08 Ulrich Drepper <drepper@gmail.com>
21988
7edb55ce
UD
21989 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21990 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21992 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21993 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21994 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21995 * math/Makefile (libm-calls): Add s_isinf_ns.
21996 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21997 * math/multc3.c: Likewise.
21998 * math/s_casin.c: Likewise.
21999 * math/s_casinf.c: Likewise.
22000 * math/s_casinl.c: Likewise.
22001 * math/s_ccos.c: Likewise.
22002 * math/s_ccosf.c: Likewise.
22003 * math/s_ccosl.c: Likewise.
22004 * math/s_ctan.c: Likewise.
22005 * math/s_ctanf.c: Likewise.
22006 * math/s_ctanh.c: Likewise.
22007 * math/s_ctanhf.c: Likewise.
22008 * math/s_ctanhl.c: Likewise.
22009 * math/s_ctanl.c: Likewise.
22010 * math/w_fmod.c: Likewise.
22011 * math/w_fmodf.c: Likewise.
22012 * math/w_fmodl.c: Likewise.
22013 * math/w_remainder.c: Likewise.
22014 * math/w_remainderf.c: Likewise.
22015 * math/w_remainderl.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22017 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22018 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22020 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22021 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22022 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22023 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22024
187da0ae
UD
22025 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22026 of the number.
22027 * stdio-common/printf_fphex.c: Likewise.
22028 * stdio-common/printf_size.c: Likewise.
22029
9277c064
UD
22030 * math/e_exp10.c: Include math_private.h using <...> not "...".
22031 * math/e_exp10f.c: Likewise.
22032 * math/e_exp10l.c: Likewise.
22033 * math/e_exp2l.c: Likewise.
22034 * math/e_j0l.c: Likewise.
22035 * math/e_j1l.c: Likewise.
22036 * math/e_jnl.c: Likewise.
22037 * math/e_lgammal_r.c: Likewise.
22038 * math/e_rem_pio2l.c: Likewise.
22039 * math/e_scalb.c: Likewise.
22040 * math/e_scalbf.c: Likewise.
22041 * math/e_scalbl.c: Likewise.
22042 * math/k_cosl.c: Likewise.
22043 * math/k_sinl.c: Likewise.
22044 * math/k_tanl.c: Likewise.
22045 * math/s_cacoshf.c: Likewise.
22046 * math/s_catan.c: Likewise.
22047 * math/s_catanf.c: Likewise.
22048 * math/s_catanh.c: Likewise.
22049 * math/s_catanhf.c: Likewise.
22050 * math/s_catanhl.c: Likewise.
22051 * math/s_catanl.c: Likewise.
22052 * math/s_ccosh.c: Likewise.
22053 * math/s_ccoshf.c: Likewise.
22054 * math/s_ccoshl.c: Likewise.
22055 * math/s_cexp.c: Likewise.
22056 * math/s_cexpf.c: Likewise.
22057 * math/s_cexpl.c: Likewise.
22058 * math/s_clog.c: Likewise.
22059 * math/s_clog10.c: Likewise.
22060 * math/s_clog10f.c: Likewise.
22061 * math/s_clog10l.c: Likewise.
22062 * math/s_clogf.c: Likewise.
22063 * math/s_clogl.c: Likewise.
22064 * math/s_csin.c: Likewise.
22065 * math/s_csinf.c: Likewise.
22066 * math/s_csinh.c: Likewise.
22067 * math/s_csinhf.c: Likewise.
22068 * math/s_csinhl.c: Likewise.
22069 * math/s_csinl.c: Likewise.
22070 * math/s_csqrt.c: Likewise.
22071 * math/s_csqrtf.c: Likewise.
22072 * math/s_csqrtl.c: Likewise.
22073 * math/s_ctan.c: Likewise.
22074 * math/s_ctanf.c: Likewise.
22075 * math/s_ctanh.c: Likewise.
22076 * math/s_ctanhf.c: Likewise.
22077 * math/s_ctanhl.c: Likewise.
22078 * math/s_ctanl.c: Likewise.
22079 * math/s_ldexp.c: Likewise.
22080 * math/s_ldexpf.c: Likewise.
22081 * math/s_ldexpl.c: Likewise.
22082 * math/s_significand.c: Likewise.
22083 * math/s_significandf.c: Likewise.
22084 * math/s_significandl.c: Likewise.
22085 * math/w_acos.c: Likewise.
22086 * math/w_acosf.c: Likewise.
22087 * math/w_acosh.c: Likewise.
22088 * math/w_acoshf.c: Likewise.
22089 * math/w_acoshl.c: Likewise.
22090 * math/w_acosl.c: Likewise.
22091 * math/w_asin.c: Likewise.
22092 * math/w_asinf.c: Likewise.
22093 * math/w_asinl.c: Likewise.
22094 * math/w_atan2.c: Likewise.
22095 * math/w_atan2f.c: Likewise.
22096 * math/w_atan2l.c: Likewise.
22097 * math/w_atanh.c: Likewise.
22098 * math/w_atanhf.c: Likewise.
22099 * math/w_atanhl.c: Likewise.
22100 * math/w_cosh.c: Likewise.
22101 * math/w_coshf.c: Likewise.
22102 * math/w_coshl.c: Likewise.
22103 * math/w_dremf.c: Likewise.
22104 * math/w_exp10.c: Likewise.
22105 * math/w_exp10f.c: Likewise.
22106 * math/w_exp10l.c: Likewise.
22107 * math/w_exp2.c: Likewise.
22108 * math/w_exp2f.c: Likewise.
22109 * math/w_fmod.c: Likewise.
22110 * math/w_fmodf.c: Likewise.
22111 * math/w_fmodl.c: Likewise.
22112 * math/w_hypot.c: Likewise.
22113 * math/w_hypotf.c: Likewise.
22114 * math/w_hypotl.c: Likewise.
22115 * math/w_j0.c: Likewise.
22116 * math/w_j0f.c: Likewise.
22117 * math/w_j0l.c: Likewise.
22118 * math/w_j1.c: Likewise.
22119 * math/w_j1f.c: Likewise.
22120 * math/w_j1l.c: Likewise.
22121 * math/w_jn.c: Likewise.
22122 * math/w_jnf.c: Likewise.
22123 * math/w_jnl.c: Likewise.
22124 * math/w_lgamma.c: Likewise.
22125 * math/w_lgamma_r.c: Likewise.
22126 * math/w_lgammaf.c: Likewise.
22127 * math/w_lgammaf_r.c: Likewise.
22128 * math/w_lgammal.c: Likewise.
22129 * math/w_lgammal_r.c: Likewise.
22130 * math/w_log.c: Likewise.
22131 * math/w_log10.c: Likewise.
22132 * math/w_log10f.c: Likewise.
22133 * math/w_log10l.c: Likewise.
22134 * math/w_log2.c: Likewise.
22135 * math/w_log2f.c: Likewise.
22136 * math/w_log2l.c: Likewise.
22137 * math/w_logf.c: Likewise.
22138 * math/w_logl.c: Likewise.
22139 * math/w_pow.c: Likewise.
22140 * math/w_powf.c: Likewise.
22141 * math/w_powl.c: Likewise.
22142 * math/w_remainder.c: Likewise.
22143 * math/w_remainderf.c: Likewise.
22144 * math/w_remainderl.c: Likewise.
22145 * math/w_scalb.c: Likewise.
22146 * math/w_scalbf.c: Likewise.
22147 * math/w_scalbl.c: Likewise.
22148 * math/w_sinh.c: Likewise.
22149 * math/w_sinhf.c: Likewise.
22150 * math/w_sinhl.c: Likewise.
22151 * math/w_sqrt.c: Likewise.
22152 * math/w_sqrtf.c: Likewise.
22153 * math/w_sqrtl.c: Likewise.
22154 * math/w_tgamma.c: Likewise.
22155 * math/w_tgammaf.c: Likewise.
22156 * math/w_tgammal.c: Likewise.
22157
6a621eb7
UD
22158 * po/ja.po: Update from translation team.
22159
bf582445
AJ
221602011-09-29 Andreas Jaeger <aj@suse.de>
22161
f9efbf3a
AJ
22162 [BZ #13179]
22163 * sunrpc/netname.c (netname2host): Fix logic.
22164
bf582445
AJ
22165 [BZ #6779]
22166 [BZ #6783]
22167 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22168 correctly.
22169 * math/w_remainder.c (__remainder): Likewise.
22170 * math/w_remainderf.c (__remainderf): Likewise.
22171 * math/libm-test.inc (remainder_test): Add test cases.
22172
48693bea
AK
221732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22174
22175 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22176 sdiv_qrnnd.
22177
42622229
LD
221782011-10-07 Ulrich Drepper <drepper@gmail.com>
22179
22180 * string/test-memcmp.c: Avoid unncessary #defines.
22181 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22182
093ecf92
LD
221832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22184
22185 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22186 Use new sse2 version for core i3 - i7 as it's faster
22187 than sse42 version.
22188 (bit_Prefer_PMINUB_for_stringop): New.
22189 * sysdeps/x86_64/rawmemchr.S: Update.
22190 Replace with faster SSE2 version.
22191 * sysdeps/x86_64/memrchr.S: New file.
22192 * sysdeps/x86_64/memchr.S: Update.
22193 Replace with faster SSE2 version.
22194
fde56e5c
MP
221952011-09-12 Marek Polacek <mpolacek@redhat.com>
22196
22197 * elf/dl-load.c (lose): Add cast to avoid warning.
22198
21fd49a9
UD
221992011-10-07 Ulrich Drepper <drepper@gmail.com>
22200
5a06e643
UD
22201 * po/ca.po: Update from translation team.
22202
684ae515
UD
22203 * inet/getnetgrent_r.c: Hook up nscd.
22204 * nscd/Makefile (routines): Add nscd_netgroup.
22205 (nscd-modules): Add netgroupcache.
22206 (CFLAGS-netgroupcache.c): Define.
22207 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22208 (cache_search): Add const to second parameter.
22209 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22210 INNETGR.
22211 (dbs): Add netgrdb entry.
22212 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22213 (verify_persistent_db): Handle netgrdb.
22214 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22215 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22216 GETFDNETGR.
22217 (netgroup_response_header): Define.
22218 (innetgroup_response_header): Define.
22219 (datahead): Add netgroup_response_header and innetgroup_response_header
22220 elements.
22221 * nscd/nscd.conf: Add entries for netgroup cache.
22222 * nscd/nscd.h (dbtype): Add netgrdb.
22223 (_PATH_NSCD_NETGROUP_DB): Define.
22224 (netgroup_iov_disabled): Declare.
22225 (xmalloc, xcalloc, xrealloc): Move declarations here.
22226 (cache_search): Adjust prototype.
22227 Add netgroup-related prototypes.
22228 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22229 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22230 (__nscd_innetgr): Declare.
22231 * nscd/selinux.c (perms): Use access_vector_t as element type and
22232 add netgroup-related initializers.
22233 * nscd/netgroupcache.c: New file.
22234 * nscd/nscd_netgroup.c: New file.
22235 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22236 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22237 For four parameters use innetgr.
22238 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22239 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22240 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22241 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22242
21fd49a9
UD
22243 * nscd/connections.c (register_traced_file): Don't register file
22244 for disabled databases.
22245
054c0457
UD
222462011-10-06 Ulrich Drepper <drepper@gmail.com>
22247
32b63198
UD
22248 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22249
054c0457
UD
22250 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22251 from tree and freeing node.
22252
64031225
JO
222532011-09-25 Jiri Olsa <jolsa@redhat.com>
22254
22255 * nss/nsswitch.c (__nss_database_lookup): Handle
22256 nss_parse_service_list out of memory case.
22257
0490345c
JO
222582011-09-15 Jiri Olsa <jolsa@redhat.com>
22259
22260 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22261 out of memory case.
22262
3a62d00d
AS
222632011-10-04 Andreas Schwab <schwab@redhat.com>
22264
22265 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22266 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22267 pass it down.
22268 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22269 elf_machine_rela, elf_machine_lazy_rel.
22270 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22271 (ELF_DYNAMIC_DO_REL): Likewise.
22272 (ELF_DYNAMIC_DO_RELA): Likewise.
22273 (ELF_DYNAMIC_RELOCATE): Likewise.
22274 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22275 to ELF_DYNAMIC_DO_REL.
22276 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22277 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22278 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22279 elf_machine_rela.
22280 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22281 skip_ifunc, don't call ifunc function if non-zero.
22282 (elf_machine_rela): Likewise.
22283 (elf_machine_lazy_rel): Likewise.
22284 (elf_machine_lazy_rela): Likewise.
22285 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22286 (elf_machine_lazy_rel): Likewise.
22287 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22288 Likewise.
22289 (elf_machine_lazy_rel): Likewise.
22290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22291 Likewise.
22292 (elf_machine_lazy_rel): Likewise.
22293 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22294 (elf_machine_lazy_rel): Likewise.
22295 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22296 (elf_machine_lazy_rel): Likewise.
22297 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22298 (elf_machine_lazy_rel): Likewise.
22299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22300 (elf_machine_lazy_rel): Likewise.
22301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22302 (elf_machine_lazy_rel): Likewise.
22303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22304 (elf_machine_lazy_rel): Likewise.
22305
68577918
UD
223062011-09-28 Ulrich Drepper <drepper@gmail.com>
22307
22308 * nss/nss_files/files-init.c (_nss_files_init): Use static
22309 initialization for all the *_traced_file variables.
22310
68822d74
AS
223112011-09-28 Andreas Schwab <schwab@redhat.com>
22312
22313 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22314
2056100b
RM
223152011-09-27 Roland McGrath <roland@hack.frob.com>
22316
22317 [BZ #13226]
22318 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22319
32c76b63
AS
223202011-09-27 Andreas Schwab <schwab@redhat.com>
22321
22322 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22323 Reread the line before reparsing it.
22324
bf972c9d
AS
223252011-09-26 Andreas Schwab <schwab@redhat.com>
22326
22327 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22328
e057a1b5
JM
223292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22330 Maxim Kuvyrkov <maxim@codesourcery.com>
22331 Joseph Myers <joseph@codesourcery.com>
22332
22333 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22334 if needed for __stack_chk_guard.
22335
bc7e1c36
RM
223362011-09-19 Roland McGrath <roland@hack.frob.com>
22337
ecb1482f
RM
22338 * sysdeps/posix/spawni.c (script_execute): Always define it.
22339 It will be optimized away if unused.
22340 (maybe_script_execute): New function.
22341 (__spawni): Call it.
22342
bc7e1c36
RM
22343 * Makerules: Don't include tls.make.
22344 (config-tls): Always set to thread.
22345 * tls.make.c: File removed.
22346
1c3b002b
MF
223472011-09-19 Mike Frysinger <vapier@gentoo.org>
22348
22349 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22350 * config.make.in (CPPFLAGS-config): New substituted variable.
22351
2840865d
UD
223522011-09-15 Ulrich Drepper <drepper@gmail.com>
22353
88738eb6
UD
22354 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22355
cbf645a6 22356 [BZ #13192]
2840865d
UD
22357 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22358 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22359
b402e91a
RM
223602011-09-15 Roland McGrath <roland@hack.frob.com>
22361
22362 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22363 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22365 (CALL_FAIL): Likewise.
22366 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22367 (CALL_FAIL): Macro removed.
22368 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22369
4c1a1f71
UD
223702011-09-15 Ulrich Drepper <drepper@gmail.com>
22371
22372 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22373 for __FINITE_MATH_ONLY__ == 1.
22374
edc121be
AS
223752011-09-15 Andreas Schwab <schwab@redhat.com>
22376
22377 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22378 __ieee754_sqrt instead of sqrt.
22379 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22380 __ieee754_sqrtf instead of sqrtf.
22381 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22382 __floorf instead of floorf.
22383 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22384 __floorf, __truncf instead of floorf, truncf.
22385
cd205654
UD
223862011-09-14 Ulrich Drepper <drepper@gmail.com>
22387
ee4d0315
UD
22388 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22389
cd205654
UD
22390 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22391 __extern_always_inline.
22392 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22393 32-bit.
22394
48b67d71
AS
223952011-09-14 Andreas Schwab <schwab@redhat.com>
22396
22397 * elf/rtld.c (dl_main): Also relocate in dependency order when
22398 doing symbol dependency testing.
22399
1ae12c75
AS
224002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22401
22402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22403 Always define `refsym'.
22404
995a80df
AS
224052011-09-13 Andreas Schwab <schwab@redhat.com>
22406
e529793b
AS
22407 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22408 (__FD_ELT): Renamed from __FDELT.
22409 * misc/bits/select2.h (__FD_ELT): Likewise.
22410 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22411 __FD_MASK instead of __FDELT, __FDMASK.
22412 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22413 Likewise.
22414 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22415 Likewise.
22416
52d4fef8
AS
22417 * elf/Makefile (gen-ldd): Fix pattern.
22418
995a80df
AS
22419 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22420 (init_tls): Likewise.
22421
8682f8b0
UD
224222011-09-12 Ulrich Drepper <drepper@gmail.com>
22423
22424 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22425
de82006d
AS
224262011-09-12 Andreas Schwab <schwab@redhat.com>
22427
a7c8e6a1
AS
22428 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22429 `struct cmsghdr *' instead of `void *'.
22430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22431 Likewise.
22432
0f31fe77
AS
224332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22434
22435 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22436 if non-absolute.
22437 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22438 ldd_rewrite_script.
0f31fe77 22439
32b4c839
UD
224402011-09-11 Ulrich Drepper <drepper@gmail.com>
22441
83cd1420
UD
22442 * configure.in: Remove --with-tls option.
22443 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22444 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22445 out in case it is missing.
22446 * sysdeps/ia64/elf/configure.in: Likewise.
22447 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22448 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22449 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22450 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22451 * sysdeps/sh/elf/configure.in: Likewise.
22452 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22453 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22454 * sysdeps/x86_64/elf/configure.in: Likewise.
22455 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22456 * sysdeps/mach/hurd/tls.h: Likewise.
22457
633f745d
UD
22458 [BZ #13067]
22459 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22460
f318beb8
UD
22461 [BZ #13090]
22462 * configure.in: Fix use of AC_INIT.
22463
32b4c839
UD
22464 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22465
3ce1f295
UD
224662011-09-10 Ulrich Drepper <drepper@gmail.com>
22467
bb016596
UD
22468 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22469 __set_errno.
8e58439c
UD
22470 * malloc/hooks.c: Likewise.
22471
aebae053 22472 [BZ #11929]
02d46fc4
UD
22473 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22474 variables statically.
22475 (narenas): Initialize.
22476 (list_lock): Initialize.
bb016596
UD
22477 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22478 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22479 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22480 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22481 Add initializers to main_arena and mp_.
22482 (malloc_state): Remove pagesize member. Change all users to use
22483 GLRO(dl_pagesize).
22484
22485 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22486 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22487 is always initialized.
22488
22a89187
UD
22489 * malloc/malloc.c: Removed unused configurations and dead code.
22490 * malloc/arena.c: Likewise.
22491 * malloc/hooks.c: Likewise.
02d46fc4 22492 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22493
d063d164
UD
22494 * include/tls.h: Removed. USE___THREAD must always be defined.
22495 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22496 * elf/dl-libc.c: Likewise.
22497 * elf/dl-tsd.c: Likewise.
22498 * include/errno.h: Likewise.
22499 * include/netdb.h: Likewise.
22500 * include/resolv.h: Likewise.
22501 * inet/herrno-loc.c: Likewise.
22502 * inet/herrno.c: Likewise.
22503 * malloc/arena.c: Likewise.
22504 * malloc/hooks.c: Likewise.
22505 * malloc/malloc.c: Likewise.
22506 * resolv/res-state.c: Likewise.
22507 * resolv/res_libc.c: Likewise.
22508 * sysdeps/i386/dl-machine.h: Likewise.
22509 * sysdeps/ia64/dl-machine.h: Likewise.
22510 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22511 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22512 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22513 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22514 * sysdeps/sh/dl-machine.h: Likewise.
22515 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22516 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22517 * sysdeps/unix/i386/sysdep.S: Likewise.
22518 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22519 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22521 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22522 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22524 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22525 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22528 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22529 * sysdeps/x86_64/dl-machine.h: Likewise.
22530 * tls.make.c: Likewise.
22531
3ce1f295
UD
22532 * configure.in: Remove --with-__thread option. Make tests for
22533 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22534 tls_model attribute fail if no support is available. Remove
22535 USE_IN_LIBIO.
22536 * Makeconfig: Adjust for dropped configure option. All features are
22537 now mandatory.
22538 * Makerules: Likewise.
22539 * Versions.def: Likewise.
22540 * argp/argp-fmtstream.c: Likewise.
22541 * argp/argp-fmtstream.h: Likewise.
22542 * argp/argp-help.c: Likewise.
22543 * assert/assert.c: Likewise.
22544 * config.h.in: Likewise.
22545 * config.make.in: Likewise.
22546 * configure: Likewise.
22547 * configure.in: Likewise.
22548 * csu/Versions: Likewise.
22549 * csu/init.c: Likewise.
22550 * elf/tst-audit2.c: Likewise.
22551 * elf/tst-tls10.c: Likewise.
22552 * elf/tst-tls10.h: Likewise.
22553 * elf/tst-tls11.c: Likewise.
22554 * elf/tst-tls12.c: Likewise.
22555 * elf/tst-tls14.c: Likewise.
22556 * elf/tst-tlsmod11.c: Likewise.
22557 * elf/tst-tlsmod12.c: Likewise.
22558 * elf/tst-tlsmod13.c: Likewise.
22559 * elf/tst-tlsmod13a.c: Likewise.
22560 * elf/tst-tlsmod14a.c: Likewise.
22561 * elf/tst-tlsmod15b.c: Likewise.
22562 * elf/tst-tlsmod16a.c: Likewise.
22563 * elf/tst-tlsmod16b.c: Likewise.
22564 * elf/tst-tlsmod7.c: Likewise.
22565 * elf/tst-tlsmod8.c: Likewise.
22566 * elf/tst-tlsmod9.c: Likewise.
22567 * gmon/gmon.c: Likewise.
22568 * grp/fgetgrent_r.c: Likewise.
22569 * grp/putgrent.c: Likewise.
22570 * hurd/fopenport.c: Likewise.
22571 * include/libc-symbols.h: Likewise.
22572 * include/tls.h: Likewise.
22573 * intl/gettextP.h: Likewise.
22574 * intl/loadinfo.h: Likewise.
22575 * locale/global-locale.c: Likewise.
22576 * locale/localeinfo.h: Likewise.
22577 * mach/devstream.c: Likewise.
22578 * malloc/arena.c: Likewise.
22579 * malloc/set-freeres.c: Likewise.
22580 * misc/err.c: Likewise.
22581 * misc/getttyent.c: Likewise.
22582 * misc/mntent_r.c: Likewise.
22583 * posix/getopt.c: Likewise.
22584 * posix/wordexp.c: Likewise.
22585 * pwd/fgetpwent_r.c: Likewise.
22586 * resolv/Versions: Likewise.
22587 * resolv/res_hconf.c: Likewise.
22588 * shadow/fgetspent_r.c: Likewise.
22589 * shadow/putspent.c: Likewise.
22590 * stdio-common/printf_fphex.c: Likewise.
22591 * stdio-common/tmpfile.c: Likewise.
22592 * stdlib/abort.c: Likewise.
22593 * stdlib/fmtmsg.c: Likewise.
22594 * sunrpc/auth_unix.c: Likewise.
22595 * sunrpc/clnt_perr.c: Likewise.
22596 * sunrpc/clnt_tcp.c: Likewise.
22597 * sunrpc/clnt_udp.c: Likewise.
22598 * sunrpc/clnt_unix.c: Likewise.
22599 * sunrpc/openchild.c: Likewise.
22600 * sunrpc/svc_simple.c: Likewise.
22601 * sunrpc/svc_tcp.c: Likewise.
22602 * sunrpc/svc_udp.c: Likewise.
22603 * sunrpc/svc_unix.c: Likewise.
22604 * sunrpc/xdr.c: Likewise.
22605 * sunrpc/xdr_array.c: Likewise.
22606 * sunrpc/xdr_rec.c: Likewise.
22607 * sunrpc/xdr_ref.c: Likewise.
22608 * sunrpc/xdr_stdio.c: Likewise.
22609
1248c1c4
PB
226102011-09-09 Ulrich Drepper <drepper@gmail.com>
22611
22612 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22613
226142011-07-03 Andreas Jaeger <aj@suse.de>
22615
22616 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22617 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22618 regenerate with gen-libm-tests.pl.
22619
226202010-05-12 Petr Baudis <pasky@suse.cz>
22621
22622 [BZ #11589]
22623 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22624 around j0() zero points by switching to j1().
22625 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22629
f22e1074
UD
226302011-09-09 Ulrich Drepper <drepper@gmail.com>
22631
f19009c1
UD
22632 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22633 instead of 0.
22634 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 22635 instead of 0.
f19009c1
UD
22636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22637 Patch in part by Pavel Roskin <proski@gnu.org>.
22638
3f8cc204
UD
22639 [BZ #13138]
22640 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22641 realloc.
22642 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22643 Free memory block if necessary.
22644
f22e1074
UD
22645 [BZ #12847]
22646 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22647 be NULL. Don't lock in this case.
22648
0a2349f9
RM
226492011-09-09 Roland McGrath <roland@hack.frob.com>
22650
22651 * elf/elf.h (ELFOSABI_GNU): New macro.
22652 (ELFOSABI_LINUX): Define to that.
22653
f3cdd467
DZ
226542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22655
22656 * string/strncat.c (strncat): Undef the symbol in case it has been
22657 defined in bits/string.h.
22658
74718d13
UD
226592011-09-09 Ulrich Drepper <drepper@gmail.com>
22660
633e9e0f
UD
22661 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22662
0a2349f9 22663 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
22664 link map.
22665
f9924780
AJ
226662011-08-17 Andreas Jaeger <aj@suse.de>
22667
22668 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22669
7f5517aa
PP
226702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22671 Ian Lance Taylor <iant@google.com>
22672
22673 * math/libm-test.inc (lround_test): New testcase.
22674 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22675
762011fe
UD
226762011-09-08 Ulrich Drepper <drepper@gmail.com>
22677
92963737
UD
22678 * Makefile: Remove support for automatic cvs check-ins.
22679 * Makerules: Likewise.
22680 * config.make.in: Likewise.
22681 * configure.in: Likewise.
22682 * intl/Makefile: Likewise.
22683 * locale/Makefile: Likewise.
22684 * po/Makefile: Likewise.
22685 * posix/Makefile: Likewise.
22686 * sysdeps/gnu/Makefile: Likewise.
22687 * sysdeps/mach/hurd/Makefile: Likewise.
22688 * sysdeps/sparc/sparc32/Makefile: Likewise.
22689
b0727fd8
JS
22690 [BZ #13118]
22691 * posix/Makefile (bug-regex32-ENV): Define.
22692 Patch by John Stanley <jpsinthemix@verizon.net>.
22693
a0f33f99
UD
22694 * misc/Makefile (headers): Add bits/select2.h.
22695 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22696 * misc/bits/select2.h: New file.
22697 * include/bits/select2.h: New file.
22698 * debug/Makefile (routines): Add fdelt_chk.
22699 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22700 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22701 FD_ISSET.
22702 * debug/fdelt_chk.c: New file.
22703
762011fe
UD
22704 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22705 * wcsmbs/test-wmemcmp.c: Likewise.
22706 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22707 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22708
227092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22710
22711 * string/Makefile (strop-tests): Add memcmp.
22712 * string/test-wmemcmp.c: New file.
22713 * string/test-memcmp.c: Add wmemcmp support.
22714
7f513ec8
RM
227152011-09-08 Roland McGrath <roland@hack.frob.com>
22716
0442afb4
RM
22717 [BZ #13153]
22718 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22719 2011-07-19 change.
22720
7f513ec8
RM
22721 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22722 garbage value in a __mach_port_mod_refs call in the cases of the
22723 task-self and thread-self ports.
22724
a12b2239
ST
227252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22726
22727 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22728
610f9ab4
AS
227292011-09-08 Andreas Schwab <schwab@redhat.com>
22730
7f513ec8 22731 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22732
48882a1a
LD
227332011-09-07 Ulrich Drepper <drepper@gmail.com>
22734
b49865be
UD
22735 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22736
fdc86bc9
UD
22737 * elf/dl-libc.c (dlerror_run): Pass back error code from
22738 dl_catch_error.
22739
c966526a
UD
22740 [BZ #13123]
22741 * elf/dl-load.c (lose): Free l_origin if it is valid.
22742
48882a1a
LD
22743 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22744 names.
22745 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22746 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22747 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22748 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22749 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22750 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22751
77a2a8b4
AZ
227522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22753
22754 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22755 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22756 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22757 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22758 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22759 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22760 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22761 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22762 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22763 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22764
24f579d8
AM
227652011-08-15 Alan Modra <amodra@gmail.com>
22766
22767 [BZ #13092]
22768 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22769 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22770 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22771 ppc_mcount to static-only-routines.
22772 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22773 __mcount_internal.
22774 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22775 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22776
3d4837df
UD
227772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22778
22779 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22780 for finite and infinity parameters.
22781
22700377
WS
227822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22783
22784 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22785 and add nop instructions for throughput optimization.
22786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22787
5025581e
WS
227882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22789
22790 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22791 aligned copy for power7 with vector-scalar instructions.
22792 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22793
08a300c9
L
227942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22795
22796 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22797 AVX check.
22798
59178ef9
AS
227992011-09-07 Andreas Schwab <schwab@redhat.com>
22800
22801 [BZ #13144]
22802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22803 last change.
22804
e38ba7ab
UD
228052011-09-07 Ulrich Drepper <drepper@gmail.com>
22806
22807 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22808 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22809 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22810 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22811 clock_gettime.
22812
d53a73ac
UD
228132011-09-06 Ulrich Drepper <drepper@gmail.com>
22814
fc8bffcc
UD
22815 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22816 Forgot to demangle the pointer.
22817
ceaa0c5d
UD
22818 * sysdeps/i386/sysdep.h: Define atom_text_section.
22819 * sysdeps/x86_64/sysdep.h: Likewise.
22820 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22821 section with atom_text_section.
22822 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22823 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22824 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22825 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22826 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22827
a77d3c17
UD
22828 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22829 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22830 already be defined. Change to take two parameters and don't assign
22831 result to variable. Adjust all users.
22832 Define INTERNAL_GETTIME if not already defined.
22833 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22834 call.
22835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22836 HAVE_CLOCK_GETTIME_VSYSCALL.
22837 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22838
d53a73ac
UD
22839 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22840 gettimeofday vsyscall, just use time.
22841
a8f84144
AS
228422011-09-06 Andreas Schwab <schwab@redhat.com>
22843
22844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22845 <errno.h>.
22846
ef606249
UD
228472011-09-06 Ulrich Drepper <drepper@gmail.com>
22848
22849 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22850 syscall on x86-64.
22851 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22852 syscall.
22853 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22854 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22855 syscall if possible.
22856
6585cb60
UD
228572011-09-05 Ulrich Drepper <drepper@gmail.com>
22858
22859 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22860 e_ident. Don't pass to find_mapsXX.
22861 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22862
a5f524e4
LD
228632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22864
22865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22866 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22867 * sysdeps/x86_64/multiarch/strchr.S: Update.
22868 Check bit_slow_BSF bit.
22869 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22870 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22871 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22872
554881ef
UD
228732011-09-05 Ulrich Drepper <drepper@gmail.com>
22874
d96de963
UD
22875 [BZ #13134]
22876 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22877 before glibc 2.15.
22878 (tryshell): Define.
22879 (__spawni): Change last parameter to be flag. Test
22880 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22881 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22882 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22883 * posix/spawni.c: Likewise.
22884 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22885 * posix/spawnp.c: Likewise. Change normal version to use
22886 SPAWN_XFLAGS_USE_PATH.
22887 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22888 SPAWN_XFLAGS_TRY_SHELL.
22889
d48e5868
UD
22890 [BZ #13150]
22891 * posix/glob.h: Remove gcc 1.x support.
22892
554881ef
UD
22893 [BZ #13068]
22894 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22895
693fb948
LD
228962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22897
22898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22899 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22900 strrchr-sse2-bsf
22901 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22902 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22903 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22904 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22905 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22906 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22907
1b48c537
UD
229082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22909
49d42c37
UD
22910 * sysdeps/x86_64/wcscmp.S: New file.
22911
1b48c537
UD
22912 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22913 wcscmp-c wcscmp-sse2
22914 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22915 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22916 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22917 * wcsmbs/wcscmp.c: Allow renaming.
22918
15c95c5d
DM
229192011-09-05 David S. Miller <davem@davemloft.net>
22920
22921 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22922 stack slot, rather than the struct return pointer slot.
22923 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22924 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22926 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22927
2f0ad8f3
UD
229282011-09-05 Ulrich Drepper <drepper@gmail.com>
22929
d88ae418
UD
22930 * po/ja.po: Update from translation team.
22931
2f0ad8f3
UD
22932 [BZ #13144]
22933 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22934 kernel in 64-bit binaries.
22935
5f4318d1
DM
229362011-09-01 David S. Miller <davem@davemloft.net>
22937
22938 * elf/elf.h (HWCAP_SPARC_*): Move to..
22939 * sysdeps/sparc/sysdep.h: this new file and add new values.
22940 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22941 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22942 _DL_HWCAP_COUNT to 24.
22943 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22944 entries.
22945 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22946 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22947 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22949 instead of magic constants.
22950 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22951
3ba57516
DM
229522011-08-31 David S. Miller <davem@davemloft.net>
22953
22954 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22956 Reimplement to do errno handling inline.
22957 (SYSCALL_ERROR_HANDLER): New macro.
22958 (__SYSCALL_STRING): Do not do errno handling in asm.
22959 (__CLONE_SYSCALL_STRING): Delete.
22960 (__INTERNAL_SYSCALL_STRING): Delete.
22961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22962 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22963 (PSEUDO): Reimplement to do errno handling inline.
22964 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22965 (SYSCALL_ERROR_HANDLER): New macro.
22966 (__SYSCALL_STRING): Do not do errno handling in asm.
22967 (__CLONE_SYSCALL_STRING): Delete.
22968 (__INTERNAL_SYSCALL_STRING): Delete.
22969 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22970 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22971 i386.
22972 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22973 (inline_syscall*): Add 'err' argument.
22974 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22975 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22976 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22977 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22978
22979 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22980 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22981
2bc17433
AS
229822011-08-30 Andreas Schwab <schwab@redhat.com>
22983
22984 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22985
fbeb5f4d
JO
229862011-08-29 Jiri Olsa <jolsa@redhat.com>
22987
22988 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22989 directive.
22990
ad69cc26
DM
229912011-08-24 David S. Miller <davem@davemloft.net>
22992
22993 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22994
39dd69df
AS
229952011-08-24 Andreas Schwab <schwab@redhat.com>
22996
22997 * elf/Makefile: Add rules to build and run unload8 test.
22998 * elf/unload8.c: New file.
22999 * elf/unload8mod1.c: New file.
23000 * elf/unload8mod1x.c: New file.
23001 * elf/unload8mod2.c: New file.
23002 * elf/unload8mod3.c: New file.
23003
23004 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23005 it wasn't used.
23006
2c0b250a
DM
230072011-08-23 David S. Miller <davem@davemloft.net>
23008
23009 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23010 subtract stack bias.
23011 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23012 %sp not %fp in calculations.
23013 (_JMPBUF_UNWINDS_ADJ): Likewise.
23014
22044b48
DM
23015 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23016 (aio_suspend): Call it to force an exception region around the
23017 AIO_MISC_WAIT() invocation.
23018
2cae4995
AS
230192011-08-23 Andreas Schwab <schwab@redhat.com>
23020
23021 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23022 backslash.
23023
873a772e
AJ
230242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23025
23026 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23027 protection macro.
23028 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23029 and <dl-machine.h>.
23030 (Elf64_FuncDesc): Remove.
23031
25ad0df1
DM
230322011-08-22 David S. Miller <davem@davemloft.net>
23033
23034 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23035 sigaltstack check, add missing cfi directives.
23036 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23037 missing cfi directives, and sigaltstack handling.
23038
e888bcbe
AS
230392011-08-16 Andreas Schwab <schwab@redhat.com>
23040
23041 [BZ #11724]
23042 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23043 object is seen twice.
23044 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23045
23046 * elf/Makefile (distribute): Add tst-initorder2.c.
23047 (tests): Add tst-initorder2.
23048 (modules-names): Add tst-initorder2a tst-initorder2b
23049 tst-initorder2c tst-initorder2d. Add rules to build them.
23050 ($(objpfx)tst-initorder2.out): New rule.
23051 * elf/tst-initorder2.c: New file.
23052 * elf/tst-initorder2.exp: New file.
23053
87162f46
AS
230542011-08-22 Andreas Schwab <schwab@redhat.com>
23055
70538b7f
AS
23056 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23057
f55ffe58
AS
23058 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23059 dependencies back to end of function.
23060
87162f46
AS
23061 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23062 $(elfobjdir)/ld.so.
23063
91b392a4
UD
230642011-08-21 Ulrich Drepper <drepper@gmail.com>
23065
23066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23067 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23069 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23070 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23071 of __vdso_gettimeofday.
23072 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23073 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23074 attribute_hidden.
23075 (_libc_vdso_platform_setup): Remove initialization of
23076 __vdso_gettimeofday and __vdso_time.
23077
5c43483f
UD
230782011-08-20 Ulrich Drepper <drepper@gmail.com>
23079
775a77e7
UD
23080 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23081 and fgetc_unlocked.
23082 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23083 getc_unlocked.
89f447ed 23084
49c74ba9
UD
23085 * elf/dl-open.c (add_to_global): Report additions to the global scope
23086 for LD_DEBUG=scopes.
23087 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23088 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23089
5c43483f
UD
23090 [BZ #13114]
23091 * stdio-common/Makefile (tests): Add bug24.
23092 * stdio-common/bug24.c: New file.
23093
a101b025
AJ
230942011-08-19 Andreas Jaeger <aj@suse.de>
23095
23096 [BZ #13114]
23097 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23098 non-existant file when using close-on-exec mode.
23099
c88f1766
UD
231002011-08-20 Ulrich Drepper <drepper@gmail.com>
23101
0276a718
UD
23102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23103 the very first instruction.
23104
c88f1766
UD
23105 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23106 the CFI state in the end.
23107 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23108 inclusion of dl-trampoline.h.
23109 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23110
51ccffa0
AS
231112011-08-19 Andreas Schwab <schwab@redhat.com>
23112
94d7165f
AS
23113 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23114 expectations for long double.
23115
51ccffa0
AS
23116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23117 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23118
fd708658 231192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23120
23121 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23122 artificual limit depends upon the system page size.
23123
44f0a71e
UD
231242011-08-17 Ulrich Drepper <drepper@gmail.com>
23125
23126 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23127 * resolv/Makefile: Define CFLAGS-libresolv.
23128
8de79a24
AS
231292011-08-17 Andreas Schwab <schwab@redhat.com>
23130
23131 * nss/makedb.c (compute_tables): Make variables used in nested
23132 function static.
23133
27724598
UD
231342011-08-17 Ulrich Drepper <drepper@gmail.com>
23135
c5305d88
UD
23136 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23137 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23138 if buffer was too small.
23139
27724598
UD
23140 * elf/pldd.c (main): Attach to all threads in the process.
23141 Rewrite /proc handling to use *at functions.
23142
076fe015
UD
231432011-08-16 Ulrich Drepper <drepper@gmail.com>
23144
174baab3
UD
23145 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23146 specifies first scope to show.
23147 (dl_open_worker): Update callers. Move printing scope of new
23148 object to before the relocation.
44f0a71e 23149 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23150 * sysdeps/generic/ldsodefs.h: Update declaration.
23151
076fe015
UD
23152 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23153 string for the scope number.
23154
a60df2c3
UD
231552011-08-14 Ulrich Drepper <drepper@gmail.com>
23156
23157 * nscd/servicescache.c (cache_addserv): Make sure written is always
23158 initialized.
23159
5e4287d1
RM
231602011-08-14 Roland McGrath <roland@hack.frob.com>
23161
85ae0589
RM
23162 * sysdeps/i386/i486/bits/atomic.h
23163 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23164 statement expression, so as to suppress "set but not used" warning.
23165 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23166
69f63097
RM
23167 * string/strncat.c (STRNCAT): Use prototype definition.
23168
675456ef
RM
23169 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23170 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23171 -Iprograms here.
23172 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23173 (localedef-modules): Add localedef.
23174 (locale-modules): Add locale.
23175
5e4287d1
RM
23176 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23177 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23178 to avoid a warning.
23179
9c96ff23
DM
231802011-08-14 David S. Miller <davem@davemloft.net>
23181
23182 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23183 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23184
f9ddf089
UD
231852011-08-13 Ulrich Drepper <drepper@gmail.com>
23186
44f0a71e 23187 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23188 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23189 * elf/rtld.c (dl_main): Set l_name of vDSO.
23190 Call _dl_show_scope when DL_DEBUG_SCOPES.
23191 (process_dl_debug): Recognize scopes flag and also set it for all.
23192 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23193 Declare _dl_show_scope.
23194
1dc27704
UD
23195 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23196 (do_dlopen): Pass caller_dlopen to dl_open.
23197 (__libc_dlopen_mode): Initialize caller_dlopen.
23198
f9ddf089
UD
23199 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23200 of libc. Make tolower call locale-independent. Optimize a bit by
23201 using isdigit instead of isalnum.
23202 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23203
9ac533d3
UD
232042011-08-12 Ulrich Drepper <drepper@gmail.com>
23205
23206 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23207 was a dependency or dynamically loaded.
23208
89edf2e9
UD
232092011-08-11 Ulrich Drepper <drepper@gmail.com>
23210
8e999d29
UD
23211 * intl/l10nflist.c: Allow architecture-specific pop function.
23212 * sysdeps/x86_64/l10nflist.c: New file.
23213
89edf2e9
UD
23214 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23215 classification.
23216
14d96785
AS
232172011-08-10 Andreas Schwab <schwab@redhat.com>
23218
23219 * include/dirent.h: Add libc_hidden_proto for scandirat and
23220 scandirat64. Don't declare __scandirat64.
23221 * dirent/scandirat.c: Add libc_hidden_def.
23222 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23223 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23224
6761ac04
DM
232252011-08-10 David S. Miller <davem@davemloft.net>
23226
23227 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23228 enum.
23229 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23230 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23231 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23232
c55fbd1e
UD
232332011-08-09 Ulrich Drepper <drepper@gmail.com>
23234
23235 * Versions.def [libc]: Add GLIBC_2.15.
23236 * dirent/Makefile (routines): Add scandirat and scandirat64.
23237 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23238 GLIBC_2.15.
23239 * dirent/dirent.h: Declare scandirat and scandirat64.
23240 * dirent/scandirat.c: New file.
23241 * dirent/scandirat64.c: New file.
23242 * sysdeps/wordsize-64/scandirat.c: New file.
23243 * sysdeps/wordsize-64/scandirat64.c: New file.
23244 * dirent/opendir.c: Define opendirat.
23245 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23246 using scandirat.
23247 * dirent/scandir64.c: Adjust for scandir.c change.
23248 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23249 __scandirat64, and __scandir_cancel_handler.
23250 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23251 additional parameter and use openat instead of open (outside of ld.so).
23252 Add new __opendir as wrapper around __opendirat.
23253 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23254 here without requiring old scandirat implementation.
23255
879165f2
UD
232562011-08-08 Ulrich Drepper <drepper@gmail.com>
23257
23258 * dirent/scandir.c (cancel_handler): Renamed to
23259 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23260 defined. Adjust users.
23261 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23262 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23263
cb7e923b
UD
232642011-08-04 Ulrich Drepper <drepper@gmail.com>
23265
16292edd
UD
23266 * string/test-string.h (IMPL): Use __STRING to expand name and then
23267 stringify it.
23268
cb7e923b
UD
23269 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23270 of cleanups.
23271
cff82933
LD
232722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23273
23274 * string/Makefile: Update.
23275 (strop-tests): Append strncat.
23276 * string/test-wcscmp.c: New file.
23277 New comprehensive test for wcscmp.
23278 * string/test-strcmp.c: Update.
23279 (WIDE): New define.
23280
9be9bfcc
AS
232812011-07-22 Andreas Schwab <schwab@redhat.com>
23282
23283 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23284 line.
23285
2e96f1c7
AS
232862011-07-26 Andreas Schwab <schwab@redhat.com>
23287
23288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23289 encoding to ACE if AI_IDN.
23290
85188888
JJ
232912011-08-01 Jakub Jelinek <jakub@redhat.com>
23292
23293 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23294 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23295
5fa16e9b
LD
232962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23297
23298 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23299 Fix overflow bug in strncat.
23300 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23301
23302 * string/test-strncat.c: Update.
23303 Add new tests for checking overflow bugs.
23304
233052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23306
23307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23308 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23309 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23310 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23311 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23312 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23313 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23314 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23315 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23316
23317 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23318 (USE_AS_STRCAT): Define.
23319 Add strcat and strncat support.
23320 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23321
8c1a459f
AS
233222011-07-25 Andreas Schwab <schwab@redhat.com>
23323
23324 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23325 __n bigger than INT_MAX+1.
23326 (__strncmp_g): Likewise.
23327
bba33c28
UD
233282011-07-23 Ulrich Drepper <drepper@gmail.com>
23329
798be72d
UD
23330 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23331 * libio/stido.h: Likewise.
23332
8accd4dc
UD
23333 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23334 (AF_NFC): Define.
23335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23336 (AF_NFC): Define.
23337
cbff0d96
UD
23338 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23339 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23341 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23343
9191c04a
UD
23344 [BZ #13021]
23345 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23346 installed.
23347
bba33c28
UD
23348 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23349 typo.
23350 (_dl_x86_64_save_sse): Likewise.
23351
90f139dd
UD
233522011-07-22 Ulrich Drepper <drepper@gmail.com>
23353
1aae088a
UD
23354 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23355 OSXSAVE.
23356 (_dl_x86_64_save_sse): Likewise.
23357
8e2045f5
UD
23358 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23359
90f139dd
UD
23360 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23361
1d002f25
AS
233622011-07-21 Andreas Schwab <schwab@redhat.com>
23363
23364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23365 change.
23366 (_dl_x86_64_save_sse): Use correct AVX check.
23367
21137f89
UD
233682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23369
23370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23371 bug in strncpy/strncat.
23372 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23373
a65c0b7a
UD
233742011-07-21 Ulrich Drepper <drepper@gmail.com>
23375
23376 * string/tester.c (test_strcat): Add tests for different alignments
23377 of source and destination.
23378 (test_strncat): Likewise.
23379
6986b98a
UD
233802011-07-20 Ulrich Drepper <drepper@gmail.com>
23381
90bb2039
UD
23382 [BZ #12852]
23383 * posix/glob.c (glob): Check passed in values before using them in
23384 expressions to avoid some overflows.
23385 (glob_in_dir): Likewise.
23386
5644ef54
UD
23387 [BZ #13007]
23388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23389 check for AVX enablement so that we don't crash with old kernels and
23390 new hardware.
23391 * elf/tst-audit4.c: Add same checks here.
23392 * elf/tst-audit6.c: Likewise.
23393
23394 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23395
bfc9dc9b
AS
233962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23397
23398 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23399
702e64bb
UD
234002011-07-20 Ulrich Drepper <drepper@gmail.com>
23401
23402 * po/cs.po: Update from translation team.
23403 * po/bg.po: Likewise.
23404
295e904f
MP
234052011-07-12 Marek Polacek <mpolacek@redhat.com>
23406
23407 * misc/sys/cdefs.h: Add support for const attribute.
23408 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23409 to gnu_dev_{major,minor,makedev} functions.
23410
3ff94596
MP
234112011-07-20 Marek Polacek <mpolacek@redhat.com>
23412
23413 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23414
28b59fca
AS
234152011-07-20 Andreas Schwab <schwab@redhat.com>
23416
23417 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23418 strlen results.
23419
19df733e
AK
234202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23421
23422 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23423 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23424 register in order to avoid conflicts with the soft frame pointer
23425 being held in r11 when necessary.
23426 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23427 (INTERNAL_VSYSCALL_NCS): Likewise.
23428
c8835729
MP
234292011-07-14 Marek Polacek <mpolacek@redhat.com>
23430
23431 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23432 * elf/dl-fini.c (_dl_fini): Adjust caller.
23433 * elf/dl-close.c (_dl_close_worker): Likewise.
23434 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23435
b902330c
MP
234362011-07-15 Marek Polacek <mpolacek@redhat.com>
23437
8991e135
MP
23438 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23439 "aux_cache->nlibs < 0".
23440
b902330c
MP
23441 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23442 in the reload-count case.
23443
99710781
LD
234442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23445
23446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23447 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23448 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23449 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23450 * sysdeps/x86_64/multiarch/strcat.S: New file.
23451 * sysdeps/x86_64/multiarch/strncat.S: New file.
23452 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23453 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23454 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23455 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23456 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23457 (USE_AS_STRCAT): Define.
23458 Add strcat and strncat support.
23459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23460 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23461 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23462 * string/strncat.c: Update.
23463 (USE_AS_STRNCAT): Define.
23464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23465 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23466 and i7.
23467 * sysdeps/x86_64/multiarch/init-arch.h
23468 (bit_Prefer_PMINUB_for_stringop): New.
23469 (index_Prefer_PMINUB_for_stringop): Likewise.
23470 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23471 bit_Prefer_PMINUB_for_stringop.
23472
7dc6bd90
UD
234732011-07-19 Ulrich Drepper <drepper@gmail.com>
23474
23475 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23476 buffer64.
23477 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23478 of casting of buffer.
23479 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23480 buffer32 and buffer64.
23481 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23482 writes instead of casting of buffer.
23483 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23484 buffer32.
23485 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23486 casting of buffer.
23487
e0e72284
AS
234882011-07-19 Andreas Schwab <schwab@redhat.com>
23489
23490 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23491
feb1eb0b
UD
234922011-07-19 Ulrich Drepper <drepper@gmail.com>
23493
23494 * nscd/nscd.c (termination_handler): Don't do anything for a database
23495 if it has not yet been initialized.
23496
298711ff
UD
234972011-07-18 Ulrich Drepper <drepper@gmail.com>
23498
23499 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23500
235012011-07-15 Marek Polacek <mpolacek@redhat.com>
23502
23503 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23504
f9d68389
UD
235052011-07-18 Ulrich Drepper <drepper@gmail.com>
23506
23507 * po/nl.po: Update from translation team.
23508 * po/sv.po: Likewise.
23509
db290cf5
RM
235102011-07-16 Roland McGrath <roland@hack.frob.com>
23511
23512 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23513 now disallowed by GCC.
5c550700 23514
fd5e21c7
RM
23515 * configure.in (use-default-link): Default to yes if a test -shared
23516 link meets our qualifications.
23517 * configure: Regenerated.
23518
5c550700
RM
23519 * config.make.in (output-format): New variable.
23520 * configure.in: Check for ld --print-output-format support.
23521 * configure: Regenerated.
23522 * Makerules ($(common-objpfx)format.lds)
23523 [$(output-format) != unknown]: Just use $(output-format),
23524 instead of the linker-script munging.
23525
9fa2c032
RM
235262011-07-14 Roland McGrath <roland@hack.frob.com>
23527
a6928d51
RM
23528 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23529 of $(common-objpfx)shlib.lds.
23530 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23531
661607b3
RM
23532 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23533 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23534
9fa2c032
RM
23535 * configure.in (-z relro check): Adjust test code to add a large
23536 writable data section after it.
23537 * configure: Regenerated.
23538
defe9061
RM
235392011-07-11 Roland McGrath <roland@hack.frob.com>
23540
23541 * configure.in (-z relro check): Fix test code to make the variable
23542 truly const.
23543 * configure: Regenerated.
23544
319b9ad4
UD
235452011-07-11 Ulrich Drepper <drepper@gmail.com>
23546
23547 * nscd/nscd.h (struct traced_file): Define.
23548 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23549 elements. Add traced_files.
23550 (inotify_fd): Declare.
23551 (register_traced_file): Declare.
23552 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23553 (inotify_fd): Export.
23554 (resolv_conf_descr): Remove.
23555 (nscd_init): Move inotify descriptor creation to main.
23556 Don't register files for notification here.
23557 (register_traced_file): New function.
23558 (invalidate_cache): Don't use reset_res to determine whether to call
23559 res_init, go through the list of registered files.
23560 (main_loop_poll): The inotify descriptors are now stored in the
23561 structures for the traced files.
23562 (main_loop_epoll): Likewise
23563 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23564 to __nss_disable_nscd.
23565 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23566 for a database anymore. Check the records for all the registered
23567 files instead.
23568 * nss/Makefile (libnss_files-routines): Add files-init.
23569 (libnss_db-routines): Add db-init.
23570 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23571 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23572 * nss/nss_db/db-init.c: New file.
23573 * nss/nss_files/files-init.c: New file.
23574 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23575 __nss_lookup_function.
23576 (__nss_lookup_function): Call nss_load_library.
23577 (nss_load_all_libraries): New function.
23578 (__nss_disable_nscd): Take parameter with callback function for files
23579 to register. Set is_nscd. Load all the DSOs for the NSS modules
23580 used for the cached services.
23581 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23582 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23583 options for features to all the files in nscd.
23584
23585 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23586
23bee3e8
RM
235872011-07-10 Roland McGrath <roland@hack.frob.com>
23588
23589 * csu/elf-init.c (__libc_csu_init): Comment typo.
23590
46a5b7f0
UD
235912011-07-09 Ulrich Drepper <drepper@gmail.com>
23592
23593 * po/pl.po: Update from translation team.
23594 * po/ja.po: Likewise.
23595 * po/ru.po: Likewise.
23596 * po/ko.po: Likewise.
23597 * po/fr.po: Likewise.
23598
d30cf5bb
RM
235992011-07-09 Roland McGrath <roland@hack.frob.com>
23600
113ddea4
RM
23601 * configure.in (.ctors/.dtors header and trailer check):
23602 Use an empirical test on a built program.
23603 * configure: Regenerated.
23604
574920b4
RM
23605 * configure.in (-z relro check): Use an empirical test on a built DSO.
23606 Detect, but do not require, on ia64.
23607 * configure: Regenerated.
23608
d30cf5bb
RM
23609 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23610 Update tests that use readelf to use $READELF instead.
23611 * configure: Regenerated.
23612
8538fdb3
UD
236132011-07-08 Ulrich Drepper <drepper@gmail.com>
23614
23615 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23616 if the result is not used.
23617
04d08991
AJ
236182011-07-05 Andreas Jaeger <aj@suse.de>
23619
23620 [BZ#9696]
23621 * stdlib/tst-strtod.c: Add testcase.
23622
de283087
AD
236232011-07-07 Ulrich Drepper <drepper@gmail.com>
23624
4e5f31c8 23625 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 23626 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
23627 The latter has a higher limit. Take additional parameter to pass to
23628 the new function.
23629 (__pathconf): Pass file to __statfs_link_max.
23630 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23631 __statfs_link_max.
23632 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23633 __statfs_link_max.
23634
de283087
AD
23635 [BZ #12868]
23636 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23637 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23638 Handle Lustre.
23639 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23640 (__statfs_filesize_max): Likewise.
23641 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23642
c75fa153
AJ
236432011-07-05 Andreas Jaeger <aj@suse.de>
23644
23645 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23646
1a544854
UD
236472011-07-06 Marek Polacek <mpolacek@redhat.com>
23648
23649 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23650 `status' variable.
23651 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23652 Likewise.
23653
6f0eec67
UD
236542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23655
23656 * Makefile (strop-tests): Add strncat.
23657 * string/test-strncat.c: New file.
23658
aae30307
UD
236592011-06-30 Marek Polacek <mpolacek@redhat.com>
23660
23661 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23662
c0cfb5eb
UD
236632011-06-21 Andreas Jaeger <aj@suse.de>
23664
23665 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23666 Copy rule from iconvdata/Makefile.
23667
01636b21
UD
236682011-07-06 Ulrich Drepper <drepper@gmail.com>
23669
23670 [BZ #12922]
23671 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23672 but no long options are defined, just return 'W'.
23673
9895c8bc
UD
236742011-06-22 Marek Polacek <mpolacek@redhat.com>
23675
23676 [BZ #9696]
23677 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23678
5d4cf042
UD
236792011-07-06 Ulrich Drepper <drepper@gmail.com>
23680
23681 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23682 netgroups to read.
960e5535 23683 (innetgr): Likewise.
5d4cf042 23684
751eb97e
RM
236852011-07-05 Roland McGrath <roland@hack.frob.com>
23686
23687 * config.make.in (install_root): Default to $(DESTDIR).
23688
f15f1e45
UD
236892011-07-05 Ulrich Drepper <drepper@gmail.com>
23690
23691 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23692
4e34ac6a
RM
236932011-07-02 Roland McGrath <roland@hack.frob.com>
23694
5e9b6af4
RM
23695 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23696
84f9ea0f
RM
23697 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23698 containing directory rather than embedding absolute directory names.
23699
ea5ee9f7
RM
23700 * scripts/check-local-headers.sh: Rewritten using awk.
23701 Match by word, not by line. Print error messages for matches.
23702 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23703
1b74661a
RM
23704 * Makerules [shlib-lds-flags empty]:
23705 ($(common-objpfx)libc_pic.opts): New target.
23706 ($(common-objpfx)libc_pic.os.clean): New target.
23707 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23708
23709 * config.make.in (OBJCOPY): New variable.
23710 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23711 * configure: Regenerated.
23712
f781ef40
RM
23713 * config.make.in (use-default-link): New variable.
23714 * configure.in (use_default_link): Grok --with-default-link to set it.
23715 * configure: Regenerated.
23716 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23717 (shlib-lds, shlib-lds-flags): Define to empty.
23718
2d4fa81e
RM
23719 * Makerules (shlib-lds): New variable.
23720 (shlib-lds-flags): New variable.
23721 (build-shlib, build-moduile, build-module-asneeded): Use it.
23722 ($(common-objpfx)libc.so): Use $(shlib-lds).
23723 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23724 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23725
31fffa6b
RM
23726 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23727 DT_FLAGS/DT_FLAGS_1 with zero flags.
23728
4e34ac6a
RM
23729 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23730 linker script munging.
23731
fcfc776b
UD
237322011-07-02 Ulrich Drepper <drepper@gmail.com>
23733
23734 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23735 as 128-bit value.
23736 * crypt/sha512.c (sha512_process_block): Perform total addition using
23737 128-bit if possible.
23738 (__sha512_finish_ctx): Likewise.
23739 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23740 as 64-bit value.
23741 * crypt/sha256.c (SWAP64): Define.
23742 (sha256_process_block): Perform total addition using 64-bit if
23743 possible.
23744 (__sha256_finish_ctx): Likewise.
23745
99231d9a
UD
237462011-07-01 Ulrich Drepper <drepper@gmail.com>
23747
23748 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23749 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23750 * nscd/hstcache.c (cache_addhst): Likewise.
23751 * nscd/grpcache.c (cache_addgr): Likewise.
23752 * nscd/aicache.c (addhstaiX): Likewise
23753 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23754
445b4a53
TK
237552011-07-01 Thorsten Kukuk <kukuk@suse.de>
23756
23757 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23759 * nscd/hstcache.c (cache_addhst): Likewise.
23760 * nscd/grpcache.c (cache_addgr): Likewise.
23761 * nscd/aicache.c (addhstaiX): Likewise
23762
6d4d8e8e
AS
237632011-07-01 Andreas Schwab <schwab@redhat.com>
23764
23765 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23766 domain only when needed.
23767
89f654c5
AS
237682011-06-30 Andreas Schwab <schwab@redhat.com>
23769
23770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23771 is always restored.
23772
cf3b23ff
UD
237732011-06-29 Ulrich Drepper <drepper@gmail.com>
23774
23775 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23776 are re-adding the entry.
23777 * nscd/servicescache.c (cache_addserv): Likewise.
23778
751626f9
AJ
237792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23780
23781 * sysdeps/generic/dl-irel.h: fix protection against multiple
23782 inclusions.
23783 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23784
9113ea1f
UD
237852011-06-28 Ulrich Drepper <drepper@gmail.com>
23786
5c0b8d90
UD
23787 [BZ #12935]
23788 * malloc/memusage.sh: Fix quoting in message.
23789 * debug/xtrace.sh: Likewise.
23790
9113ea1f
UD
23791 * configure.in: Remove support for --experimental-malloc option, make
23792 it the default.
23793 * config.make.in: Likewise.
23794 * malloc/Makefile: Likewise.
23795
a4172181
AS
237962011-06-27 Andreas Schwab <schwab@redhat.com>
23797
23798 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23799 two-byte characters.
23800
78a7eee7
RM
238012011-06-27 Roland McGrath <roland@hack.frob.com>
23802
62bede13
RM
23803 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23804 AC_CACHE_CHECK invocation.
23805 * configure: Regenerated.
23806
78a7eee7
RM
23807 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23808
5ce33a62
UD
238092011-06-27 Ulrich Drepper <drepper@gmail.com>
23810
034807a9
UD
23811 [BZ #12350]
23812 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23813 bit from old_res_options.
23814
4902da17
UD
23815 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23816
5ce33a62
UD
23817 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23818 value type for setfct.
23819
c2344f56
L
238202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23821
23822 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23823 __gettimeofday instead of gettimeofday.
23824
68468076
UD
238252011-06-26 Ulrich Drepper <drepper@gmail.com>
23826
23827 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23828
acb0d739
L
238292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23830
23831 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23832
23833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23834 info.
23835
8912479f
L
238362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23837
23838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23839 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23840 strcpy-sse2-unaligned strncpy-sse2-unaligned
23841 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23842 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23843 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23844 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23845 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23846 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23847 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23848 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23849 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23850 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23851 (STRCPY): Support SSE2 and SSSE3 versions.
23852
d5495a11
UD
238532011-06-24 Ulrich Drepper <drepper@gmail.com>
23854
23855 [BZ #12874]
23856 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23857 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23858 kernels which artificially limit size of requests.
23859
0b1cbaae
L
238602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23861
23862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23863 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23864 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23865 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23866 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23867 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23868 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23869 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23870 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23872 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23873 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23874 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23875 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23876 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23878 Enable unaligned load optimization for Intel Core i3, i5 and i7
23879 processors.
23880 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23881 Define.
23882 (index_Fast_Unaligned_Load): Define.
23883 (HAS_FAST_UNALIGNED_LOAD): Define.
23884
07f494a0
MP
238852011-06-23 Marek Polacek <mpolacek@redhat.com>
23886
23887 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23888
fa3fc0fe
UD
238892011-06-22 Ulrich Drepper <drepper@gmail.com>
23890
23891 [BZ #12907]
23892 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23893 until it is clear that the information is realy needed.
23894 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23895
e12df166
AS
238962011-06-22 Andreas Schwab <schwab@redhat.com>
23897
23898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23899
852eb34d
UD
239002011-06-22 Ulrich Drepper <drepper@gmail.com>
23901
84e2a551
UD
23902 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23903 /sys/devices/system/cpu/online if it is usable.
23904
852eb34d
UD
23905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23906 reading the information from the /proc filesystem to once a second.
23907
6e502e19
UD
239082011-06-21 Andreas Jaeger <aj@suse.de>
23909
23910 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23911 NULL after inclusion of kernel headers.
23912
75d39ff2
UD
239132011-06-21 Ulrich Drepper <drepper@gmail.com>
23914
51f9aa6a
UD
23915 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23916 calls to internal_setent.
23917
c0244a9d
UD
23918 [BZ #12885]
23919 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23920 addresses using gethostbyname4_r ignore IPv4 addresses.
23921
c5e3c2ae
UD
23922 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23923 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23924
75d39ff2
UD
23925 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23926
42675c6f
DM
239272011-06-20 David S. Miller <davem@davemloft.net>
23928
23929 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23930 inclusions.
23931 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23932
23933 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23934 (elf_irel): Use it.
23935 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23936 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23937 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23938 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23939 * sysdeps/x86_64/dl-irel.h: Likewise.
23940
23941 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23942 * elf/dl-sym.c: Likewise.
23943
57912a71
UD
239442011-06-15 Ulrich Drepper <drepper@gmail.com>
23945
23946 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23947 need to dereference resplen2.
23948
ee22793d
AS
239492011-06-14 Andreas Schwab <schwab@redhat.com>
23950
23951 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23952
a9e836b0
UD
239532011-06-15 Ulrich Drepper <drepper@gmail.com>
23954
77fb9117
UD
23955 * Makeconfig: Define vardbdir and inst_vardbdir.
23956 * nss/Makefile: Add rules to install db-Makefile.
23957
40c1b22c
UD
23958 * nss/nss_db/db-XXX.c: Cleanup.
23959
9f2da732
UD
23960 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23961 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23962 GLIBC_PRIVATE.
23963 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23964 * nss/makedb.c: Implement -g option to specify that value strings
23965 are generated and should not be added to table iterated over for
23966 get*ent calls.
23967 * nss/nss_db/db-initgroups.c: New file.
23968
82e9a1f7
UD
23969 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23970 interface.
23971
c41af17e
UD
23972 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23973 (internal_getgrouplist): Adjust to name change.
23974 Update use_initgroups_entry if this is not the first call.
23975 * nss/databases.def: Add initgroups entry.
23976
a9e836b0
UD
23977 * nss/makedb.c (compute_tables): Check result of multiple hash table
23978 sizes to minimize maximum chain length.
23979
2666d441
UD
239802011-06-14 Ulrich Drepper <drepper@gmail.com>
23981
23982 * Versions.def: Add entry for libnss_db.
23983 * shlib-versions: Likewise.
23984 * nss/Makefile: Add rules to build libnss_db.
23985 * nss/Versions: Add libnss_db information. Organize libnss_files
23986 entries better.
23987 * nss/db-Makefile: Add gshadow support. Change rules for the new
23988 makedb progra. Some minor improvements to generate smaller files.
23989 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23990 here from...
23991 * nss/makedb.c: ...here.
23992 Improve database format to be smaller and require less memory at
23993 runtime.
23994 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23995 db anymore.
23996 * nss/nss_db/db-netgrp.c: Likewise.
23997 * nss/nss_db/db-open.c: Likewise.
23998 * nss/nss_files/flies-XXX.x: Adjust comments.
23999 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24000 * nss/nss_files/files-grp.c: Likewise.
24001 * nss/nss_files/files-hosts.c: Likewise.
24002 * nss/nss_files/files-network.c: Likewise.
24003 * nss/nss_files/files-proto.c: Likewise.
24004 * nss/nss_files/files-pwd.c: Likewise.
24005 * nss/nss_files/files-rpc.c: Likewise.
24006 * nss/nss_files/files-service.c: Likewise.
24007 * nss/nss_files/files-sgrp.c: Likewise.
24008 * nss/nss_files/files-spwd.c: Likewise.
24009 * nss/nss_db/db-alias.c: Removed.
24010 * nss/nss_db/dummy-db.h: Removed.
24011
9ee76b5a
UD
240122011-06-02 Ulrich Drepper <drepper@gmail.com>
24013
24014 * nss/makedb.c: Rewritten to not use database library.
24015 * nss/Makefile: Update to build new makedb program.
24016
c71ca1f8
AJ
240172011-06-14 Andreas Jaeger <aj@suse.de>
24018
24019 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24020 memset declaration.
24021
3154bfb8
UD
240222011-06-10 Andreas Schwab <schwab@redhat.com>
24023
24024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24025 tmpbuf.
24026
b350afab
RM
240272011-06-10 Roland McGrath <roland@hack.frob.com>
24028
decd4e50
RM
24029 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24030 * elf/Makefile ($(objpfx)ld.so): Likewise.
24031
5615eaf2
RM
24032 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24033 Don't list ld.so twice in dependencies.
24034
24035 * posix/bug-regex31.c: Include <stdlib.h>.
24036
24037 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24038
24039 * nis/nss_compat/compat-spwd.c
24040 (getspent_next_nss_netgr): Remove unused variable.
24041 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24042
24043 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24044 nonmembers" output to use the right array.
24045
24046 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24047
24048 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24049
24050 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24051 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24052 * catgets/gencat.c (read_input_file): Likewise.
24053 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24054
24055 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24056 variable definition inside #if's controlling its use.
24057
24058 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24059
24060 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24061
24062 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24063
24064 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24065 unreachable code.
24066
24067 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24068
b68e08db
RM
24069 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24070 * configure: Regenerated.
24071
b350afab
RM
24072 * Makerules: Revert last change.
24073 * elf/Makefile: Likewise.
24074
28368601
RM
240752011-06-09 Roland McGrath <roland@hack.frob.com>
24076
24077 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24078 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24079 (reloc-link): Likewise.
24080
11988f8f
UD
240812011-06-09 Ulrich Drepper <drepper@gmail.com>
24082
24083 * elf/Makefile: Add rules to build pldd.
24084 * elf/pldd.c: New file.
24085 * elf/pldd-xx.c: New file.
24086
e80fab37
UD
240872011-06-07 Ulrich Drepper <drepper@gmail.com>
24088
24089 * version.h: Update for 2.15 development version.
24090
9b849836
DM
240912011-06-07 David S. Miller <davem@davemloft.net>
24092
24093 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24094 ifuncs.
24095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24096 elf_machine_lazy_rel): Likewise.
24097 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24099 elf_machine_lazy_rel): Likewise.
24100 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24101 dl_hwcap via passed in argument.
24102 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24103 Likewise.
24104
5a31b283
AK
241052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24106
24107 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24108
069e52f8
RM
241092011-06-06 Roland McGrath <roland@hack.frob.com>
24110
24111 [BZ #12849]
24112 * manual/fdl-1.1.texi: New file, verbatim from:
24113 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24114 * manual/lgpl-2.1.texi: New file, verbatim from:
24115 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24116 * manual/Makefile (licenses): New variable, list those new file names.
24117 (texis): Use it.
24118 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24119
24120 * manual/fdl.texi: File removed.
24121 * manual/lesser.texi: File removed.
24122 * manual/libc.texinfo (Copying, Documentation License):
24123 Use new @include file names, put @appendix directive before @include.
24124
f16846a5
JJ
241252011-06-04 Jakub Jelinek <jakub@redhat.com>
24126
24127 [BZ #12841]
24128 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24129 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24130 (mq_open): Add __NTH.
24131
3d29045b
L
241322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24133
24134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24135 Assume Intel Core i3/i5/i7 processor if AVX is available.
24136
8c297311
UD
241372011-05-31 Ulrich Drepper <drepper@gmail.com>
24138
24139 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24140 typo.
24141
c8fc0c91
UD
241422011-05-31 Andreas Schwab <schwab@redhat.com>
24143
24144 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24145 memory. Use alloca_account. Fix memory leak when retrying.
24146
5b27a807
UD
241472011-05-31 Ulrich Drepper <drepper@gmail.com>
24148
356f8bc6
UD
24149 * version.h (RELEASE): Bump for 2.14 release.
24150 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24151
5b27a807
UD
24152 * config.make.in (RANLIB): Remove entry.
24153
01f16ab0
UD
241542011-05-30 Ulrich Drepper <drepper@gmail.com>
24155
41fce8bd
UD
24156 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24157 (libc.pot): Work around missing support for .ksh extension in xgettext.
24158
4769ae77
UD
24159 [BZ #12684]
24160 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24161 if both request failed.
24162 (send_dg): In case of server errors clear resplen or *resplen2.
24163
6b1e7d19
UD
24164 [BZ #12454]
24165 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24166 when there are multiple maps.
24167 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24168 (_dl_fini): Remove test here.
24169
01f16ab0
UD
24170 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24171
b1ebd700
UD
241722011-05-29 Ulrich Drepper <drepper@gmail.com>
24173
7ae22829
UD
24174 [BZ #12350]
24175 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24176 bit from old_res_options.
24177 (gaih_inet): Likewise.
24178
553149f6 24179 [BZ #11099]
18a84741 24180 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24181 as signed.
24182
652ffab1
UD
24183 * resolv/res_init.c (res_setoptions): Make the code more compact.
24184
16985fd0
UD
24185 [BZ #11558]
24186 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24187 set RES_USEVC.
24188
0464f746
UD
24189 [BZ #11634]
24190 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24191
7d17596c
UD
24192 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24193
cf6bbbd7
UD
24194 [BZ #11781]
24195 * malloc/malloc.h: Declare malloc hook variables as volatile.
24196
13f1ab36
UD
24197 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24198 in last patch.
24199
b1ebd700
UD
24200 [BZ #11799]
24201 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24202 raise in the comment.
80e2212d
UD
24203 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24204 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24205 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24206
ce67228d
UD
242072011-05-28 Ulrich Drepper <drepper@gmail.com>
24208
8887a920
UD
24209 [BZ #12811]
24210 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24211 grow the buffers more if it already has to be sufficient.
24212 (build_wcs_upper_buffer): Likewise.
24213 * posix/regexec.c (check_matching): Likewise.
24214 (clean_state_log_if_needed): Likewise.
24215 (extend_buffers): Don't enlarge buffers beyond size of the input
24216 buffer.
24217 Patches mostly by Emil Wojak <emil@wojak.eu>.
24218 * posix/bug-regex32.c: New file.
24219 * posix/Makefile (tests): Add bug-regex32.
24220
4f031072
UD
24221 * locale/findlocale.c (_nl_find_locale): Return right away if
24222 _nl_explode_name failed.
24223 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24224
d0478f0c
UD
24225 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24226
de81b246
UD
24227 * debug/xtrace.sh: Unify messages.
24228 * malloc/memusage.sh: Likewise.
24229
c738465a
UD
24230 [BZ #12813]
24231 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24232 time symbol from vDSO. Substitute with vsyscall if not available.
24233 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24234 __vdso_time.
24235
f1f929d7
UD
24236 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24237 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24238 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24239 Add sendmmsg and internal_sendmmsg.
24240 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24241 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24242 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24243
ce67228d
UD
24244 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24245 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24246 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24247
e57420c6
UD
242482011-05-27 Ulrich Drepper <drepper@gmail.com>
24249
a8509ca5
UD
24250 [BZ #12813]
24251 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24252 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24253 available.
24254 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24255 __vdso_getcpu.
24256
e57420c6
UD
24257 [BZ #12814]
24258 * iconvdata/Makefile (tests): Add bug-iconv9.
24259 * iconvdata/bug-iconv9.c: New file.
24260
4d07db15
AS
242612011-05-27 Andreas Schwab <schwab@redhat.com>
24262
24263 [BZ #12814]
24264 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24265
ea486f69
JJ
242662011-05-25 Jakub Jelinek <jakub@redhat.com>
24267
24268 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24269 (struct user_regs_struct): Change intcs field back to cs.
24270
6f038433
UD
242712011-05-25 Ulrich Drepper <drepper@gmail.com>
24272
24273 * po/ja.po: Update from translation team.
24274
67f86a25
UD
242752011-05-23 Ulrich Drepper <drepper@gmail.com>
24276
24277 [BZ #12795]
24278 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24279 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24280
def7fbd6
AS
242812011-05-20 Andreas Schwab <schwab@redhat.com>
24282
24283 * stdlib/longlong.h: Update from GCC.
24284
f50ef8f1
AS
242852011-05-23 Andreas Schwab <schwab@redhat.com>
24286
24287 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24288 parameter name.
24289 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24290 Add parameter name.
24291 (__sysconf): Pass it down.
24292
de7ce8f1
UD
242932011-05-22 Ulrich Drepper <drepper@gmail.com>
24294
f2962a71
UD
24295 [BZ #12671]
24296 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24297 some situations.
24298 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24299 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24300 add in in __libc_use_alloca calls. Adjust callers.
24301 (glob): Use malloc in some situations.
24302
de7ce8f1
UD
24303 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24304 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24305 pltexit.
24306
aec84f53
UD
243072011-05-21 Ulrich Drepper <drepper@gmail.com>
24308
05bb4a68
UD
24309 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24310 and CLOCK_BOOTTIME_ALARM.
24311
7ea72f99
UD
24312 [BZ #12782]
24313 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24314 is returned.
24315
7e4afad5
UD
24316 * string/_strerror.c (__strerror_r): Print negative errors as signed
24317 numbers.
24318
8e211fec
UD
24319 [BZ #12777]
24320 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24321 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24322 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24323
f7d82dc9
UD
24324 * configure.in: Fix typo in redirection and correct removal of test
24325 files in two cases.
24326
cc9e536d
UD
24327 [BZ #12788]
24328 * locale/setlocale.c (new_composite_name): Fix test to check for
24329 identical name of all categories.
24330
aec84f53
UD
24331 [BZ #12792]
24332 * libio/filedoalloc.c (local_isatty): New function.
24333 (_IO_file_doallocate): Use local_isatty.
24334 * stdio-common/perror.c (perror): In case a new stream is used
24335 forward the stream error.
24336 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24337 error flag.
24338
78e64fdc
RT
243392011-05-20 Ulrich Drepper <drepper@gmail.com>
24340
34a9094f
UD
24341 [BZ #11869]
24342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24343 alloca.
24344 * include/alloca.h (extend_alloca_account): Define.
24345
78e64fdc
RT
24346 [BZ #11857]
24347 * posix/regex.h: Fix comments with documentation of user-accessible
24348 fields after compilation and describe correct free'ing of pattern
24349 after re_compile_pattern.
24350 Patch by Reuben Thomas <rrt@sc3d.org>.
24351
457bddfc
RA
243522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24353
24354 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24355 and -mno-altivec to prevent the compiler from using Altivec and/or
24356 VSX instructions when the corresponding registers are not available.
24357
a4527b51
AS
243582011-05-19 Andreas Schwab <schwab@redhat.com>
24359
24360 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24361
ed690b2f
UD
243622011-05-19 Ulrich Drepper <drepper@gmail.com>
24363
24364 * libio/freopen.c (freopen): Use __dup2, not dup2.
24365 * libio/freopen64.c (freopen64): Likewise.
24366
8db73634
L
243672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24368
24369 [BZ #12775]
24370 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24371 * math/Makefile (tests): Add test-powl.
24372 (CFLAGS-test-powl.c): Define.
24373 * math/test-powl.c: New file.
24374
0a197a9d
L
243752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24376
24377 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24378
ee30c380
UD
243792011-05-17 Ulrich Drepper <drepper@gmail.com>
24380
24381 [BZ #11837]
24382 * iconvdata/gb18030.c: Update to GB18020-2005.
24383
6ce75379
UD
243842011-05-16 Ulrich Drepper <drepper@gmail.com>
24385
a4b89fd8
AR
24386 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24387 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24388 Patch by Aharon Robbins <arnold@skeeve.com>.
24389
ea389b12
UD
24390 [BZ #11892]
24391 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24392 on the stack.
24393
68a3f91f
UD
24394 [BZ #11895]
24395 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24396 through underflows.
24397
15cc7dd1
UD
24398 [BZ #12766]
24399 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24400 point to strings before performing equality test for error_one_per_line
24401 mode.
24402
f3799213
UD
24403 [BZ #11697]
24404 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24405
d79a9c94
UD
24406 [BZ #11820]
24407 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24408 (struct user_fpregs_struct): Avoid __uint*_t types.
24409
56e5eb46
UD
24410 [BZ #6420]
24411 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24412 symbol info. Use it instead of calling _dl_addr locally.
24413 (lock_and_info): New function.
24414 (tr_freehook): Call lock_and_info and pass symbol info as additional
24415 parameter to tr_where.
24416 (tr_mallochook): Likewise.
24417 (tr_reallochook): Likewise.
24418 (tr_memalignhook): Likewise.
24419
6ce75379
UD
24420 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24421 used and couldn't be at all thread-safe.
24422
f8a3b5bf
UD
244232011-05-15 Ulrich Drepper <drepper@gmail.com>
24424
94b7cc37
UD
24425 * libio/freopen.c (freopen): Don't close old file descriptor
24426 before the new one is opened. Instead dup the new file descriptor
24427 to the old one after the new stream is created.
24428 * libio/freopen64.c (freopen64): Likewise.
24429 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24430 * libio/fileops.c (_IO_new_file_close_it): Handle new
24431 _IO_FLAGS2_NOCLOSE flag.
24432 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24433 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24434 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24435 _IO_FLAGS2_NOCLOSE flag.
24436 * include/unistd.h: Add hidden_proto for dup3.
24437 Define __have_dup3.
24438 * io/dup3.c: Define hidden symbol.
24439 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24440
bd25564e
UD
24441 [BZ #7101]
24442 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24443 when an incomplete long option is used.
24444 * posix/tst-getopt_long1.c: New file.
24445 * posix/Makefile (tests): Add tst-getopt_long1.
24446
c84cfef4
UD
24447 [BZ #10138]
24448 * scripts/config.guess: Update from autoconf-2.68.
24449 * scripts/config.sub: Likewise.
24450
3b85df27
UD
24451 [BZ #10157]
24452 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24453 tests into ...
24454 (has_cpuclock): ...this. New function.
24455 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24456 macro here based on has_cpuclock code.
24457
15a856b1
UD
24458 [BZ #10149]
24459 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24460 First byte (not low byte) is now always NUL.
24461 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24462
05f399e6
UD
24463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24464 Use non-cancelable interfaces.
24465
10a52685 24466 [BZ #9809]
94ecc67d
UD
24467 * locale/iso-639.def: Add entry for Sorani.
24468
f8a3b5bf
UD
24469 [BZ #11901]
24470 * include/stdlib.h: Move include protection to the right place.
24471 Define abort_msg_s. Declare __abort_msg with it.
24472 * stdlib/abort.c (__abort_msg): Adjust type.
24473 * assert/assert.c (__assert_fail_base): New function. Majority
24474 of code from __assert_fail. Allocate memory for __abort_msg with
24475 mmap.
24476 (__assert_fail): Now call __assert_fail_base.
24477 * assert/assert-perr.c: Remove bulk of implementation. Use
24478 __assert_fail_base.
24479 * include/assert.hL Declare __assert_fail_base.
24480 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24481 mmap.
24482 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24483
1af4e298
UD
244842011-05-14 Ulrich Drepper <drepper@gmail.com>
24485
f8a3b5bf 24486 [BZ #11952]
d26dfc60
MG
24487 [BZ #12453]
24488 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24489 until all modules are registered in the DTV.
24490 * elf/Makefile: Add rules to build and run tst-tls19.
24491 * elf/tst-tls19.c: New file.
24492 * elf/tst-tls19mod1.c: New file.
24493 * elf/tst-tls19mod2.c: New file.
24494 * elf/tst-tls19mod3.c: New file.
24495 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24496
2fc54d6f
UD
24497 [BZ #12083]
24498 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24499 correctly.
24500
98d76b46
UD
24501 [BZ #12601]
24502 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24503 two-byte sequence errors.
24504 * iconvdata/Makefile (tests): Add bug-iconv8.
24505 * iconvdata/bug-iconv8.c: New file.
24506
da3c19ef
UD
24507 [BZ #12626]
24508 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24509 buf2 definition.
24510
ca408c15
UD
24511 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24512
d6f67f7d
UD
24513 [BZ #12432]
24514 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24515 (dummy_getcfa): New function.
24516 (init): Get _Unwind_GetCFA address, use dummy if not found.
24517 (backtrace_helper): In recursion check, also check whether CFA changes.
24518 (__backtrace): Completely initialize arg.
24519
1af4e298 24520 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24521 storing incomplete byte sequence in state object. Avoid testing for
24522 guaranteed too small input if we know there is enough data available.
1af4e298 24523
da62f81b
AS
245242011-05-11 Andreas Schwab <schwab@redhat.com>
24525
24526 * Makeconfig (+link-pie): Indent.
24527 * Rules (binaries-pie): Define if $(have-fpie) and
24528 $(build-shared).
24529 (binaries-shared): Also filter out $(binaries-pie).
24530 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24531 * nscd/Makefile (others-pie): Add nscd.
24532 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24533 ($(objpfx)nscd): Remove command override.
24534 * login/Makefile (others-pie): Add pt_chown.
24535 ($(objpfx)pt_chown): Remove command override.
24536 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24537 remove command overrides.
24538
fcabc0f8
UD
245392011-05-13 Ulrich Drepper <drepper@gmail.com>
24540
20030ae6
UD
24541 * libio/tst_putwc.c: Fix error messages.
24542
fcabc0f8
UD
24543 [BZ #12724]
24544 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24545 currently writing and seek to current position when not.
24546 * libio/Makefile (tests): Add bug-fclose1.
24547 * libio/bug-fclose1.c: New file.
24548
320a5dc0
PB
245492011-05-12 Ulrich Drepper <drepper@gmail.com>
24550
24551 [BZ #12511]
24552 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24553 don't set DF_1_NODELETE here.
24554 (do_lookup_x): When entering new entry test for copy relocation
24555 and if necessary set DF_1_NODELETE flag.
24556 * elf/tst-unique4.cc: New file.
24557 * elf/tst-unique4.h: New file.
24558 * elf/tst-unique4lib.cc: New file.
24559 * elf/Makefile: Add rules to build and run tst-unique4.
24560 Patch by Piotr Bury <pbury@goahead.com>.
24561
22836f52
UD
245622011-05-11 Ulrich Drepper <drepper@gmail.com>
24563
f574184a
UD
24564 [BZ #12052]
24565 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24566
e1fb097f
UD
24567 [BZ #12625]
24568 * misc/mntent_r.c (addmntent): Flush the stream after the output
24569
22836f52
UD
24570 [BZ #12393]
24571 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24572 (is_trusted_path_normalize): Skip initial colon. Append slash
24573 to empty buffer. Duplicate is_trusted_path code but allow
24574 constructed patch to be prefix.
24575 (is_dst): Allow $ORIGIN followed by /.
24576 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24577 Correct testing of result of is_trusted_path_normalize
24578 (decompose_rpath): Fix warning.
24579
7b3b0b2a
UD
245802011-05-10 Ulrich Drepper <drepper@gmail.com>
24581
24582 [BZ #11257]
24583 * grp/initgroups.c (internal_getgrouplist): When we found the service
24584 list through the initgroups entry in nsswitch.conf do not always
24585 continue on a successful lookup. Don't always use the
eac80ce2 24586 __nss_group_database value if it is set.
7b3b0b2a
UD
24587 * nss/nsswitch.conf (initgroups): Change action for successful db
24588 lookup to continue for compatibility.
24589
2a81eaa5
UD
245902011-05-09 Ulrich Drepper <drepper@gmail.com>
24591
be97a69e
UD
24592 [BZ #11532]
24593 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24594 and CP774 modules.
24595 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24596 and CP774 modules.
24597 * iconvdata/tst-tables.sh: Likewise.
24598 * iconvdata/cp770.c: New file.
24599 * iconvdata/cp771.c: New file.
24600 * iconvdata/cp772.c: New file.
24601 * iconvdata/cp773.c: New file.
24602 * iconvdata/cp774.c: New file.
24603 * iconvdata/testdata/CP770: New file.
24604 * iconvdata/testdata/CP770..UTF8: New file.
24605 * iconvdata/testdata/CP771: New file.
24606 * iconvdata/testdata/CP771..UTF8: New file.
24607 * iconvdata/testdata/CP772: New file.
24608 * iconvdata/testdata/CP772..UTF8: New file.
24609 * iconvdata/testdata/CP773: New file.
24610 * iconvdata/testdata/CP773..UTF8: New file.
24611 * iconvdata/testdata/CP774: New file.
24612 * iconvdata/testdata/CP774..UTF8: New file.
24613
24614 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24615 END CHARMAP line.
24616 * iconvdata/gen-8bit-gap.sh: Likewise.
24617 * iconvdata/gen-8bit.sh: Likewise.
24618
c1e9e399
UD
24619 * locale/iso-639.def: Add ary entry.
24620
24c55fb3 24621 [BZ #11258]
96b4b1b0
UD
24622 * locale/C-translit.h.in: Add U20A1 transliteration.
24623
bdc2f971
KB
24624 [BZ #12178]
24625 * locale/iso-639.def: Add wae entry.
24626 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24627
2952b117
UD
24628 [BZ #12545]
24629 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24630 for n.
24631
2a81eaa5
UD
24632 [BZ #12711]
24633 * locale/C-translit.h.in: Add entry for U20B9.
24634 Patch by pravin.d.s@gmail.com.
24635
28377d1b
UD
246362011-05-08 Ulrich Drepper <drepper@gmail.com>
24637
7fb90fb8
UD
24638 [BZ #12713]
24639 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24640 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
24641 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24642 in rtld. Use *stat64.
7fb90fb8 24643 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 24644 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 24645 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
24646 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24647 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24648 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24649 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24650 __fstatat64 macros.
7fb90fb8
UD
24651 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24652 * dirent/rewinddir.c: Add libc_hidden_def.
24653 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 24654 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 24655
28377d1b
UD
24656 * include/dirent.h (__alloc_dir): Add flags parameter.
24657 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24658 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24659 __alloc_dir.
24660 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24661 from fdopendir if O_CLOEXEC is already set.
24662
66bdbaa4
AM
246632011-03-15 Alan Modra <amodra@gmail.com>
24664
24665 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24666 l_tls_firstbyte_offset non-zero. Save padding offset in
24667 l_tls_firstbyte_offset for later use.
24668 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24669 freeing static tls block.
24670
95721191
JN
246712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24672
24673 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24674 where #ifdef was intended. The intent is to prevent ARG_MAX from
24675 being defined by the kernel headers.
24676
f87dfb1f
UD
246772011-05-07 Ulrich Drepper <drepper@gmail.com>
24678
24679 [BZ #12734]
24680 * resolv/resolv.h: Define RES_NOTLDQUERY.
24681 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24682 no-tld-query and set RES_NOTLDQUERY.
24683 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24684 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24685 modern BIND to search name as TLD unless forbidden.
24686
47c3cd7a
UD
246872011-05-07 Petr Baudis <pasky@suse.cz>
24688 Ulrich Drepper <drepper@gmail.com>
24689
24690 [BZ #12393]
24691 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24692 (is_trusted_path): ...to here.
c1e9ea35 24693 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24694 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24695 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24696
8a35c912
PP
246972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24698
24699 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24700 __BEGIN/__END_DECLS.
24701
acd41f47
UD
247022011-05-06 Ulrich Drepper <drepper@gmail.com>
24703
24704 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24705 NSS_STATUS_NOTFOUND if no record was found.
24706
597df647
AS
247072011-05-05 Andreas Schwab <schwab@redhat.com>
24708
24709 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24710 (headers-not-in-tirpc): Remove rpc/netdb.h
24711 * resolv/netdb.h: Revert last change.
24712
b9af1301
PP
247132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24714
24715 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24716 circular dependency between libgcc.a and libc.a.
24717
4e34d5f5
AS
247182011-05-05 Andreas Schwab <schwab@redhat.com>
24719
24720 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24721 * nis/Makefile: Don't install rpcsvc/*.
24722 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24723 instead of <rpc/types.h>.
24724 (MAXHOSTNAMELEN): Define.
24725
00ee369c
AS
247262011-05-03 Andreas Schwab <schwab@redhat.com>
24727
24728 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24729
0b592a30
MB
247302011-04-28 Maciej Babinski <mbabinski@google.com>
24731
24732 [BZ #12714]
24733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24734 gethostbyname4_r when IPv6 results are possible.
24735
6e04cbbe
UD
247362011-05-02 Ulrich Drepper <drepper@gmail.com>
24737
24738 [BZ #12723]
24739 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24740 _PC_PIPE_BUF handling.
24741
e4ecafe0
BH
247422011-04-30 Bruno Haible <bruno@clisp.org>
24743
24744 [BZ #12717]
24745 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24746 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24747 to 'int'.
24748 * inet/getnameinfo.c (getnameinfo): Likewise.
24749
125ee683
UD
247502011-04-29 Ulrich Drepper <drepper@gmail.com>
24751
24752 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24753 to groups setting in database lookup.
24754 * nss/nsswitch.conf: Add initgroups entry.
24755
b722481a
EB
247562011-04-22 Ulrich Drepper <drepper@gmail.com>
24757
24758 [BZ #12685]
24759 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24760 mode string.
24761 Patch by Eric Blake <eblake@redhat.com>.
24762
4df46dbd
L
247632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24764
24765 * sunrpc/Makefile (need-export-routines): Add svc_run.
24766 (routines): Remove svc_run.
24767 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24768 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24769 * sunrpc/svc_run.c (svc_run): Likewise.
24770 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24771
e84142d2
UD
247722011-04-21 Ulrich Drepper <drepper@gmail.com>
24773
24774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24775 problem in reallocation in last patch.
24776
877175d8
UD
247772011-04-20 Ulrich Drepper <drepper@gmail.com>
24778
24779 * sunrpc/Makefile: Move inclusion of Rules.
24780
ab8eed78
UD
247812011-04-19 Ulrich Drepper <drepper@gmail.com>
24782
24783 * nss/nss_files/files-initgroups.c: New file.
24784 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24785 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24786 _nss_files_initgroups_dyn.
24787
e3d8f584
RS
247882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24789
24790 * elf/elf.h (R_ARM_IRELATIVE): Define.
24791
af190f45
UD
247922011-04-19 Ulrich Drepper <drepper@gmail.com>
24793
24794 * po/ru.po: Update from translation team.
24795
53cf59ef
UD
247962011-04-17 Ulrich Drepper <drepper@gmail.com>
24797
24798 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24799 dependencies.
24800
4c559bcd
MF
248012011-02-06 Mike Frysinger <vapier@gentoo.org>
24802
24803 [BZ #12653]
24804 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24805 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24806 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24807 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24808 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24809
4420675c
AS
248102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24811
24812 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24813 differing bytes.
24814 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24817
75ea32ab
UD
248182011-04-17 Ulrich Drepper <drepper@gmail.com>
24819
24820 [BZ #12420]
24821 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24822 storing it.
24823 * stdlib/bug-getcontext.c: New file.
24824 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24825
27390476
AK
248262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24827
24828 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24829 instructions into .machine "z9-109".
24830 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24831 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24832
10442705
AK
248332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24834
24835 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24836 between environment variables and auxiliary vector.
24837
7b57bfe5
UD
248382011-04-16 Ulrich Drepper <drepper@gmail.com>
24839
24840 * Makefile: Add rules to build linkobj/libc.so.
24841 * include/libc-symbols.h: Define libc_hidden_nolink.
24842 * include/rpc/auth.h: Mark functions which are to be hidden.
24843 * include/rpc/auth_des.h: Likewise.
24844 * include/rpc/auth_unix.h: Likewise.
24845 * include/rpc/clnt.h: Likewise.
24846 * include/rpc/des_crypt.h: Likewise.
24847 * include/rpc/key_prot.h: Likewise.
24848 * include/rpc/pmap_clnt.h: Likewise.
24849 * include/rpc/pmap_prot.h: Likewise.
24850 * include/rpc/pmap_rmt.h: Likewise.
24851 * include/rpc/rpc_msg.h: Likewise.
24852 * include/rpc/svc.h: Likewise.
24853 * include/rpc/svc_auth.h: Likewise.
24854 * include/rpc/xdr.h: Likewise.
24855 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24856 * nss/Makefile: Likewise.
24857 * sunrpc/Makefile: Don't install headers. Build library with normal
24858 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24859 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24860 for the compat linking library. Remove use of INTDEF/INTUSE.
24861 * sunrpc/auth_none.c: Likewise.
24862 * sunrpc/auth_unix.c: Likewise.
24863 * sunrpc/authdes_prot.c: Likewise.
24864 * sunrpc/authuxprot.c: Likewise.
24865 * sunrpc/clnt_gen.c: Likewise.
24866 * sunrpc/clnt_perr.c: Likewise.
24867 * sunrpc/clnt_raw.c: Likewise.
24868 * sunrpc/clnt_simp.c: Likewise.
24869 * sunrpc/clnt_tcp.c: Likewise.
24870 * sunrpc/clnt_udp.c: Likewise.
24871 * sunrpc/clnt_unix.c: Likewise.
24872 * sunrpc/des_crypt.c: Likewise.
24873 * sunrpc/des_soft.c: Likewise.
24874 * sunrpc/get_myaddr.c: Likewise.
24875 * sunrpc/key_call.c: Likewise.
24876 * sunrpc/key_prot.c: Likewise.
24877 * sunrpc/netname.c: Likewise.
24878 * sunrpc/pm_getmaps.c: Likewise.
24879 * sunrpc/pm_getport.c: Likewise.
24880 * sunrpc/pmap_clnt.c: Likewise.
24881 * sunrpc/pmap_prot.c: Likewise.
24882 * sunrpc/pmap_prot2.c: Likewise.
24883 * sunrpc/pmap_rmt.c: Likewise.
24884 * sunrpc/publickey.c: Likewise.
24885 * sunrpc/rpc_cmsg.c: Likewise.
24886 * sunrpc/rpc_common.c: Likewise.
24887 * sunrpc/rpc_dtable.c: Likewise.
24888 * sunrpc/rpc_prot.c: Likewise.
24889 * sunrpc/rpc_thread.c: Likewise.
24890 * sunrpc/rtime.c: Likewise.
24891 * sunrpc/svc.c: Likewise.
24892 * sunrpc/svc_auth.c: Likewise.
24893 * sunrpc/svc_authux.c: Likewise.
24894 * sunrpc/svc_raw.c: Likewise.
24895 * sunrpc/svc_run.c: Likewise.
24896 * sunrpc/svc_simple.c: Likewise.
24897 * sunrpc/svc_tcp.c: Likewise.
24898 * sunrpc/svc_udp.c: Likewise.
24899 * sunrpc/svc_unix.c: Likewise.
24900 * sunrpc/svcauth_des.c: Likewise.
24901 * sunrpc/xcrypt.c: Likewise.
24902 * sunrpc/xdr.c: Likewise.
24903 * sunrpc/xdr_array.c: Likewise.
24904 * sunrpc/xdr_float.c: Likewise.
24905 * sunrpc/xdr_intXX_t.c: Likewise.
24906 * sunrpc/xdr_mem.c: Likewise.
24907 * sunrpc/xdr_rec.c: Likewise.
24908 * sunrpc/xdr_ref.c: Likewise.
24909 * sunrpc/xdr_sizeof.c: Likewise.
24910 * sunrpc/xdr_stdio.c: Likewise.
24911
e6c61494
UD
249122011-04-10 Ulrich Drepper <drepper@gmail.com>
24913
24914 [BZ #12650]
24915 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24916 * sysdeps/ia64/dl-tls.h: Likewise.
24917 * sysdeps/powerpc/dl-tls.h: Likewise.
24918 * sysdeps/s390/dl-tls.h: Likewise.
24919 * sysdeps/sh/dl-tls.h: Likewise.
24920 * sysdeps/sparc/dl-tls.h: Likewise.
24921 * sysdeps/x86_64/dl-tls.h: Likewise.
24922 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24923
34fe483e
AS
249242011-03-14 Andreas Schwab <schwab@redhat.com>
24925
24926 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24927 rpath element also skip the following colon.
24928 (expand_dynamic_string_token): Add is_path parameter and pass
24929 down to DL_DST_REQUIRED and _dl_dst_substitute.
24930 (decompose_rpath): Call expand_dynamic_string_token with
24931 non-zero is_path. Ignore empty rpaths.
24932 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24933 with zero is_path.
24934
f12a32e6
AS
249352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24936
24937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24938 Make cancelable.
24939
38a7d692
UD
249402011-04-09 Ulrich Drepper <drepper@gmail.com>
24941
24942 [BZ #12655]
24943 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24944 Patch by Filipe David Manana <fdmanana@apache.org>.
24945
e451d22b
AS
249462011-04-07 Andreas Schwab <schwab@redhat.com>
24947
24948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24949 Maintain aligned stack.
24950 (CHECK_RSP): Remove unused macro.
24951
dedc7c7b
UD
249522011-04-03 Ulrich Drepper <drepper@gmail.com>
24953
24954 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24955 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24956
94521213
UD
249572011-04-02 Ulrich Drepper <drepper@gmail.com>
24958
24959 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24960
8cb700c0 24961 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24962
0354e355
L
249632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24964
24965 [BZ #12518]
24966 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24967 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24968 * sysdeps/x86_64/memmove.c: New file.
24969 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24970 (memcpy): Renamed to ...
24971 (__new_memcpy): This.
24972 (memcpy): Provide GLIBC_2_14 memcpy.
24973 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24974 (memcpy): Provide GLIBC_2_2_5 memcpy.
24975
8593482f
UD
249762011-04-01 Ulrich Drepper <drepper@gmail.com>
24977
24978 [BZ #12631]
24979 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24980
81a5726b
AS
249812011-03-30 Andreas Schwab <schwab@redhat.com>
24982
24983 * misc/syncfs.c: New file.
24984 * misc/Makefile (routines): Add syncfs.
24985 * posix/unistd.h: Declare syncfs.
24986 * sysdeps/unix/syscalls.list: Add syncfs.
24987
00e5419f
AS
249882011-04-01 Andreas Schwab <schwab@redhat.com>
24989
24990 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24991 open_by_handle_at.
24992 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24993 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24997 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24998 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24999
748876bf
UD
250002011-04-01 Ulrich Drepper <drepper@gmail.com>
25001
658e451d
UD
25002 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25003 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25004 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25006 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25009
748876bf
UD
25010 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25011 sync_file_range.c with -fexceptions.
25012 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25013 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25014 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25015 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25016 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25017 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25019 sync_file_range as cancellation point
25020 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25021 now a wrapper around __call_sync_file_range with cancellation handling.
25022 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25023 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25024 function name to __call_sync_file_range.
25025 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25026 Add call_sync_file_range.
748876bf 25027
6e63d5e1
AS
250282011-04-01 Andreas Schwab <schwab@redhat.com>
25029
25030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25031 bits/timex.h.
6e63d5e1 25032
46998f74
UD
250332011-04-01 Ulrich Drepper <drepper@gmail.com>
25034
4c1423ed
UD
25035 * iconv/iconv.h: Fix typo in comment.
25036 * io/fcntl.h: Likewise.
25037 * libio/stdio.h: Likewise.
25038 * posix/spawn.h: Likewise.
25039 * posix/unistd.h: Likewise.
25040 * stdlib/stdlib.h: Likewise.
25041 * time/time.h: Likewise.
25042 * wcsmbs/wchar.h: Likewise.
25043
158648c0
UD
25044 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25045 open_by_handle): Add.
25046 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25047 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25048 Augment a few comments.
25049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25050 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25054 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25055 open_by_handle.
25056
46998f74
UD
25057 * io/fcntl.h (AT_EMPTY_PATH): Define.
25058
83fe108b
UD
250592011-03-30 Ulrich Drepper <drepper@gmail.com>
25060
25061 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25062 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25063 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25064 to...
25065 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25066 * Versions.def: Add GLIBC_2.14.
25067 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25068 Export.
83fe108b 25069
bb242059
UD
250702011-03-22 Ulrich Drepper <drepper@gmail.com>
25071
25072 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25073 round counter.
25074 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25075
c97a1282
L
250762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25077
25078 [BZ #12597]
25079 * string/test-strncmp.c (do_page_test): New function.
25080 (check2): Likewise.
25081 (test_main): Call check2.
25082 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25083
2a115601
UD
250842011-03-20 Ulrich Drepper <drepper@gmail.com>
25085
25086 [BZ #12587]
25087 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25088 Handle cache information in CPU leaf 4.
25089 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25090
8126d904
UD
250912011-03-18 Ulrich Drepper <drepper@gmail.com>
25092
042c49c6 25093 [BZ #12583]
8126d904
UD
25094 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25095 character representation.
25096 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25097
ccfe366e
RA
250982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25099
25100 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25101 END(__isnan) to END(__isnanf) to match function entry point/label
25102 EALIGN(__isnanf,...).
25103
c6e13027
JJ
251042011-03-10 Jakub Jelinek <jakub@redhat.com>
25105
25106 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25107
33f85a3f
UD
251082011-03-10 Ulrich Drepper <drepper@gmail.com>
25109
028478fa
UD
25110 [BZ #12510]
25111 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25112 copy from the symbol referenced in the relocation to initialize the
25113 used variable.
25114 Patch by Piotr Bury <pbury@goahead.com>.
25115 * elf/Makefile: Add rules to build and tst-unique3.
25116 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25117 * elf/tst-unique3.cc: New file.
25118 * elf/tst-unique3.h: New file.
25119 * elf/tst-unique3lib.cc: New file.
25120 * elf/tst-unique3lib2.cc: New file.
25121
33f85a3f
UD
25122 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25123
03592fc7
MF
251242011-03-10 Mike Frysinger <vapier@gentoo.org>
25125
25126 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25127 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25128 to _start.
03592fc7 25129
6a5ee102
UD
251302011-03-06 Ulrich Drepper <drepper@gmail.com>
25131
25132 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25133 to-be-loaded object along a path to loader is ld.so.
25134
7e4ba49c
HJ
251352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25136 Ulrich Drepper <drepper@gmail.com>
25137
25138 * sysdeps/x86_64/memset.S: After aligning destination, code
25139 branches to different locations depending on the value of
25140 misalignment, when multiarch is enabled. Fix this.
25141
251422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25143
25144 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25145 Set _x86_64_preferred_memory_instruction for AMD processsors.
25146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25147 Set bit_Prefer_SSE_for_memop for AMD processors.
25148
13a804de
UD
251492011-03-04 Ulrich Drepper <drepper@gmail.com>
25150
25151 * libio/fmemopen.c (fmemopen): Optimize a bit.
25152
9d25c392
AS
251532011-03-03 Andreas Schwab <schwab@redhat.com>
25154
25155 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25156
a5543c6a
RM
251572011-03-03 Roland McGrath <roland@redhat.com>
25158
25159 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25160
012d35f7
DM
251612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25162
7e4ba49c 25163 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25164 __bzero_ultra1 instead of __memset_ultra1.
25165
4bff6e01
AS
251662011-02-23 Andreas Schwab <schwab@redhat.com>
25167 Ulrich Drepper <drepper@gmail.com>
25168
25169 [BZ #12509]
25170 * include/link.h (struct link_map): Add l_orig_initfini.
25171 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25172 returning unsuccessfully.
25173 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25174 close of a file loaded at startup, restore the original l_initfini
25175 list.
25176 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25177 list, store the pointer.
25178 * elf/Makefile ($(objpfx)noload-mem): New rule.
25179 (noload-ENV): Define.
25180 (tests): Add $(objpfx)noload-mem.
25181 * elf/noload.c: Include <memcheck.h>.
25182 (main): Call mtrace. Close all opened handles.
25183
f2092faf
AS
251842011-02-17 Andreas Schwab <schwab@redhat.com>
25185
25186 [BZ #12454]
25187 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25188 dependencies are missing.
25189
6c8a2e88
ST
251902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25191
f2092faf 25192 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25193 Hurd needs munmap.
25194 * sysdeps/mach/hurd/ifreq.h: New file.
25195
84a42118
PB
251962011-01-27 Petr Baudis <pasky@suse.cz>
25197 Ulrich Drepper <drepper@gmail.com>
25198
071f805e 25199 [BZ 12445]#
84a42118
PB
25200 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25201 to extend_alloca().
25202 * stdio-common/bug23.c: New file.
25203 * stdio-common/Makefile (tests): Add bug23.
25204
e23fe25b
AS
252052010-09-28 Andreas Schwab <schwab@redhat.com>
25206 Ulrich Drepper <drepper@gmail.com>
25207
25208 [BZ #12489]
25209 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25210 before performing relro protection. At old place add assertion
25211 to make sure nothing changed.
25212
d3f02e10
NS
252132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25214 Glauber de Oliveira Costa <glommer@gmail.com>
25215
25216 * elf/elf.h: Add new ARM TLS relocs.
25217
d55fd7a5
RA
252182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25219
25220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25221 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25222 cast from r3.
25223 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25224 'tests' variable.
25225 * sysdeps/wordsize-64/tst-writev.c: New file.
25226
2206397e
RA
252272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25228
25229 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25230 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25231 insns in _dl_start to prevent a TOC reference before relocs are
25232 resolved.
25233
e9433893
UD
252342011-02-15 Ulrich Drepper <drepper@gmail.com>
25235
25236 [BZ #12469]
25237 * Makeconfig: Remove RANLIB definition.
25238 * Makerules: Don't use RANLIB.
25239 * aclocal.m4: Remove ranlib test.
25240 * configure.in: No need to check for ranlib.
25241 * elf/rtld-Rules: Don't use RANLIB.
25242
f75286c6
ST
252432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25244
8e31c82d
ST
25245 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25246 protection macro.
25247 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25248 inclusion protection macro.
25249
f75286c6
ST
25250 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25251 SIGRTMIN and SIGRTMAX and print information in that case only when
25252 SIGRTMIN is defined.
25253
c1d0e639
JJ
252542011-02-11 Jakub Jelinek <jakub@redhat.com>
25255
25256 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25257 arginfo fn returning -1.
25258
25259 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25260 and thousands string is zero terminated.
25261
edf9294e
AS
252622011-02-03 Andreas Schwab <schwab@redhat.com>
25263
25264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25265 sysdeps/unix/sysv/linux/bits/socket.h.
25266
2b7e92df
ST
252672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25268
edf9294e
AS
25269 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25270 (__CPU_COUNT): Remove old macros.
25271 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25272 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25273 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25274 (__sched_cpualloc, __sched_cpufree): Add declarations.
25275
a4c7ea7b
UD
252762011-02-05 Ulrich Drepper <drepper@gmail.com>
25277
25278 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25279 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25280 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25281 (readdhstai): Return value of addhstaiX call.
25282 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25283 (addgrbyX): Return value returned by cache_addgr.
25284 (readdgrbyname): Return value returned by addgrbyX.
25285 (readdgrbygid): Likewise.
25286 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25287 (addpwbyX): Return value returned by cache_addpw.
25288 (readdpwbyname): Return value returned by addhstbyX.
25289 (readdpwbyuid): Likewise.
25290 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25291 (addservbyX): Return value returned by cache_addserv.
25292 (readdservbyname): Return value returned by addservbyX:
25293 (readdservbyport): Likewise.
25294 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25295 (addhstbyX): Return value returned by cache_addhst.
25296 (readdhstbyname): Return value returned by addhstbyX.
25297 (readdhstbyaddr): Likewise.
25298 (readdhstbynamev6): Likewise.
25299 (readdhstbyaddrv6): Likewise.
25300 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25301 (readdinitgroups): Return value returned by addinitgroupsX.
25302 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25303 (prune_cache): Keep track of timeout value of re-added entries.
25304 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25305 * nscd/nscd.h: Adjust prototypes of readd* functions.
25306
a0bf67cc
RM
253072011-02-04 Roland McGrath <roland@redhat.com>
25308
25309 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25310 (nis_stats): Likewise.
25311 * nis/nis_modify.c (nis_modify): Likewise.
25312 * nis/nis_remove.c (nis_remove): Likewise.
25313 * nis/nis_add.c (nis_add): Likewise.
25314
25315 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25316
25317 * posix/fnmatch_loop.c: Add some consts.
25318
25319 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25320
435b95eb
L
253212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25322
25323 [BZ #12460]
25324 * config.make.in (config-cflags-novzeroupper): Define.
25325 * configure.in: Substitute libc_cv_cc_novzeroupper.
25326 * elf/Makefile (AVX-CFLAGS): Define.
25327 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25328 (CFLAGS-tst-auditmod4a.c): Likewise.
25329 (CFLAGS-tst-auditmod4b.c): Likewise.
25330 (CFLAGS-tst-auditmod6b.c): Likewise.
25331 (CFLAGS-tst-auditmod6c.c): Likewise.
25332 (CFLAGS-tst-auditmod7b.c): Likewise.
25333 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25334
8517b15e
UD
253352011-02-02 Ulrich Drepper <drepper@gmail.com>
25336
25337 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25338 function to the callback.
25339 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25340
10a656fe
AS
253412011-02-02 Andreas Schwab <schwab@redhat.com>
25342
25343 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25344 of errno.
25345
968dad0a
UD
253462011-01-19 Ulrich Drepper <drepper@gmail.com>
25347
9f94d2ea 25348 [BZ #11724]
968dad0a
UD
25349 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25350 of constructors.
25351 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25352 of destructors.
25353 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25354
25355 [BZ #11724]
25356 * elf/Makefile: Add rules to build and run new test.
25357 * elf/tst-initorder.c: New file.
25358 * elf/tst-initorder.exp: New file.
25359 * elf/tst-initordera1.c: New file.
25360 * elf/tst-initordera2.c: New file.
25361 * elf/tst-initordera3.c: New file.
25362 * elf/tst-initordera4.c: New file.
25363 * elf/tst-initorderb1.c: New file.
25364 * elf/tst-initorderb2.c: New file.
25365 * elf/tst-order-a1.c: New file.
25366 * elf/tst-order-a2.c: New file.
25367 * elf/tst-order-a3.c: New file.
25368 * elf/tst-order-a4.c: New file.
25369 * elf/tst-order-b1.c: New file.
25370 * elf/tst-order-b2.c: New file.
25371 * elf/tst-order-main.c: New file.
25372 New test case by George Gensure <werkt0@gmail.com>.
25373
86e92359
UD
253742010-10-01 Andreas Schwab <schwab@redhat.com>
25375
25376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25377 decoding ACE if AI_CANONIDN.
25378
5d5732b0
UD
253792011-01-18 Ulrich Drepper <drepper@gmail.com>
25380
25381 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25382
a77e8cbc
UD
253832011-01-17 Ulrich Drepper <drepper@gmail.com>
25384
6392473f
UD
25385 * version.h (RELEASE): Bump for 2.13 release.
25386 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25387
620a0529
UD
25388 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25389
18ba70a5
UD
25390 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25391 MADV_NOHUGEPAGE.
32465c3e
UD
25392 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25393 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25394 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25395 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25396 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25397 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25398
c0dafcf1
UD
25399 * posix/getconf.c: Update copyright year.
25400 * catgets/gencat.c: Likewise.
25401 * csu/version.c: Likewise.
25402 * debug/catchsegv.sh: Likewise.
25403 * debug/xtrace.sh: Likewise.
25404 * elf/ldconfig.c: Likewise.
25405 * elf/ldd.bash.in: Likewise.
25406 * elf/sprof.c (print_version): Likewise.
25407 * iconv/iconv_prog.c: Likewise.
25408 * iconv/iconvconfig.c: Likewise.
25409 * locale/programs/locale.c: Likewise.
25410 * locale/programs/localedef.c: Likewise.
25411 * malloc/memusage.sh: Likewise.
25412 * malloc/mtrace.pl: Likewise.
25413 * nscd/nscd.c (print_version): Likewise.
25414 * nss/getent.c: Likewise.
25415
a77e8cbc
UD
25416 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25417 PF_CAIF, and PF_ALG.
25418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25419
77e8bddf
AS
254202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25421
1f20b93a
AS
25422 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25423 (modules-names): Use them.
25424 (ifunc-test-modules, ifunc-pie-tests): Define.
25425 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25426 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25427 (test-extras): Likewise.
25428 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25429 $(compile-command.c).
25430 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25431 (all-built-dso): Define.
25432 (check-textrel.out, check-execstack.out): Depend on it.
25433
77e8bddf
AS
25434 * configure.in: Don't override --enable-multi-arch.
25435
bc425b33
UD
254362011-01-15 Ulrich Drepper <drepper@gmail.com>
25437
25438 [BZ #6812]
25439 * nscd/hstcache.c (tryagain): Define.
25440 (cache_addhst): Return tryagain not notfound for temporary errors.
25441 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25442 failed.
25443
794c3ad3
UD
254442011-01-14 Ulrich Drepper <drepper@gmail.com>
25445
70181fdd
UD
25446 [BZ #10563]
25447 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25448 to make the syscall.
25449 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25450
794c3ad3
UD
25451 [BZ #12378]
25452 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25453 and fall back to matching as normal character if the string ends before
25454 the matching ']' is found. This is what POSIX requires.
25455 * posix/testfnm.c: Adjust test result.
25456 * posix/globtest.sh: Adjust test result. Add new test.
25457 * posix/tst-fnmatch.input: Likewise.
25458 * posix/tst-fnmatch2.c: Add new test.
25459
68dc9497
AS
254602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25461
25462 * elf/Makefile (check-execstack): Revert last change. Depend on
25463 check-execstack.h.
25464 (check-execstack.h): New target.
25465 (generated): Add check-execstack.h.
25466 * elf/check-execstack.c: Include "check-execstack.h".
25467 (main): Revert last change.
25468 (handle_file): Return zero if GNU_STACK is absent and
25469 DEFAULT_STACK_PERMS doesn't include PF_X.
25470
451f001b
UD
254712011-01-13 Ulrich Drepper <drepper@gmail.com>
25472
cfa28e56
UD
25473 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25474 in child fails because the descriptor is already closed.
8cf8ce17
UD
25475 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25476 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25477 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25478
1086d70d
UD
25479 [BZ #12397]
25480 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25481 syscall.
25482
451f001b
UD
25483 [BZ #10484]
25484 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25485 temporary buffer used to handle multi lookups locally.
a85b5cb4 25486 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25487
08769175
UD
254882011-01-12 Ulrich Drepper <drepper@gmail.com>
25489
25490 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25491 loader is ld.so.
25492
5e49c52e
UD
254932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25494
25495 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25496 alignment for SSE2.
25497
60522a5f
UD
254982011-01-12 Ulrich Drepper <drepper@gmail.com>
25499
25500 [BZ #12394]
25501 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25502 characters. When rounding increased number of integer digits recompute
25503 number of groups.
25504 * stdio-common/tst-grouping.c: New file.
25505 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25506
f257bbd7
UD
255072011-01-09 Ulrich Drepper <drepper@gmail.com>
25508
25509 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25510 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25511
25512 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25513 void.
25514 * bits/select.h: Likewise.
25515
fa9c15cb
UD
255162011-01-08 Ulrich Drepper <drepper@gmail.com>
25517
25518 * po/ja.po: Update from translation team.
25519
16c2895f
DM
255202011-01-04 David S. Miller <davem@sunset.davemloft.net>
25521
25522 [BZ #11155]
25523 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25524 implementation just like for lxstat, fxstatat, et al.
25525
2543fef2
JM
255262010-12-27 Jim Meyering <meyering@redhat.com>
25527
25528 [BZ #12348]
25529 * posix/regexec.c (build_trtable): Return failure indication upon
25530 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25531
98727dbe
UD
255322010-12-25 Ulrich Drepper <drepper@gmail.com>
25533
5bd6dc5c
UD
25534 [BZ #12201]
25535 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25536 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25537 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25538 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25539
97983464
UD
25540 [BZ #12207]
25541 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25542
98727dbe
UD
25543 [BZ #12204]
25544 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25545 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25546
4a531bb0
L
255472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25548
25549 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25550 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25551 script has SORT_BY_INIT_PRIORITY.
25552 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25553 NO_CTORS_DTORS_SECTIONS is defined.
25554 * elf/soinit.c: Likewise.
25555 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25556 NO_CTORS_DTORS_SECTIONS is defined.
25557 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25558 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25559 * sysdeps/sh/init-first.c: Likewise.
25560 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25561
07eb4b71
UD
255622010-12-24 Ulrich Drepper <drepper@gmail.com>
25563
25564 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25565 always use the slow path.
25566
30950a5f
RA
255672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25568
25569 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25570 similar rule which adds the sysdep directories to the header search in
25571 order to pick up the correct platform stackinfo.h.
25572 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25573 perform test if it is, otherwise return successfully without testing.
25574 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25575 DEFAULT_STACK_PERMS define in stackinfo.h.
25576 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25577 defined in stackinfo.h.
25578 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25579 DEFAULT_STACK_PERMS defined in stackinfo.h.
25580 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25581 * sysdeps/ia64/stackinfo.h: Likewise.
25582 * sysdeps/s390/stackinfo.h: Likewise.
25583 * sysdeps/sh/stackinfo.h: Likewise.
25584 * sysdeps/sparc/stackinfo.h: Likewise.
25585 * sysdeps/x86_64/stackinfo.h: Likewise.
25586 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25587 PF_X for powerpc64. Retain PF_X for powerpc32.
25588
db753e2c
UD
255892010-12-19 Ulrich Drepper <drepper@gmail.com>
25590
14b697f7
UD
25591 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25592 accurately.
db753e2c
UD
25593 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25594 GETDENTS_64BIT_ALIGNED.
25595
28300719
UD
255962010-12-14 Ulrich Drepper <dreper@gmail.com>
25597
14b697f7 25598 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25599
4f197237
AS
256002010-12-10 Andreas Schwab <schwab@redhat.com>
25601
dbb0472f
AS
25602 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25603 _GNU_SOURCE.
25604
4f197237
AS
25605 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25606 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25607 Remove __restrict.
25608 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25609 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25610
fb88ac72
UD
256112010-12-09 Ulrich Drepper <drepper@gmail.com>
25612
25613 [BZ #11655]
25614 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25615 are initialized.
25616
42acbb92
JJ
256172010-12-09 Jakub Jelinek <jakub@redhat.com>
25618
25619 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25620
c038d98d
UD
256212010-12-03 Ulrich Drepper <drepper@gmail.com>
25622
25623 * po/it.po: Update from translation team.
25624
3a4a2499
L
256252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25626
25627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25628 unused codes.
25629
1e24cf6e
UD
256302010-11-30 Ulrich Drepper <drepper@gmail.com>
25631
25632 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25633
a7690819
AS
256342010-11-24 Andreas Schwab <schwab@redhat.com>
25635
25636 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25637 specially.
25638 (gaih_getanswer_slice): Likewise.
25639
3bf8d1b1
JJ
256402010-10-20 Jakub Jelinek <jakub@redhat.com>
25641
25642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25643
6db52fbb
PB
256442010-05-31 Petr Baudis <pasky@suse.cz>
25645
25646 [BZ #11149]
25647 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25648 silently even in the chroot mode.
25649
eaca7569
UD
256502010-11-22 Ulrich Drepper <drepper@gmail.com>
25651
25652 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25653 last patch a bit. Pretty printing
25654
3056dcdb
UD
256552010-05-31 Petr Baudis <pasky@suse.cz>
25656
25657 [BZ #10085]
25658 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25659 initialization of skip_initgroups_dyn.
25660
cf7c9078
UD
256612010-11-19 Ulrich Drepper <drepper@gmail.com>
25662
25663 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25664 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25665
a1fb5e3e
UD
256662010-11-16 Ulrich Drepper <drepper@gmail.com>
25667
25668 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25669
3540d66b
AS
256702010-11-11 Andreas Schwab <schwab@redhat.com>
25671
25672 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25673 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25674 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25675 ($(objpfx)tst-fnmatch-mem): New rule.
25676 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25677 * posix/tst-fnmatch.c (main): Call mtrace.
25678
13b69574
L
256792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25680
25681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25682 Support Intel processor model 6 and model 0x2c.
25683
da93d214
LM
256842010-11-10 Luis Machado <luisgpm@br.ibm.com>
25685
25686 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25687 signed comparison.
25688
8ca52c6e
L
256892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25690
25691 [BZ #12205]
25692 * string/test-strncasecmp.c (check_result): New function.
25693 (do_one_test): Use it.
25694 (check1): New function.
25695 (test_main): Use it.
25696 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25697 Support strcasecmp and strncasecmp.
25698
69da074d
UD
256992010-11-08 Ulrich Drepper <drepper@gmail.com>
25700
25701 [BZ #12194]
25702 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25703 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25704
ff02d528
L
257052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25708 IFUNC support.
25709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25710 memset-x86-64.
25711 * sysdeps/x86_64/multiarch/bzero.S: New file.
25712 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25713 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25714 * sysdeps/x86_64/multiarch/memset.S: New file.
25715 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25717 Set bit_Prefer_SSE_for_memop for Intel processors.
25718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25719 Define.
25720 (index_Prefer_SSE_for_memop): Define.
25721 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25722
344d0b54
LM
257232010-11-04 Luis Machado <luisgpm@br.ibm.com>
25724
25725 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25726 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25727
c0dde15b
UD
257282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25729
25730 [BZ #12191]
25731 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25732 (__x86_64_raw_data_cache_size_half): Likewise.
25733 (__x86_64_raw_shared_cache_size): Likewise.
25734 (__x86_64_raw_shared_cache_size_half): Likewise.
25735
25736 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25737 (__x86_64_raw_data_cache_size_half): Likewise.
25738 (__x86_64_raw_shared_cache_size): Likewise.
25739 (__x86_64_raw_shared_cache_size_half): Likewise.
25740 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25741 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25742 and __x86_64_raw_shared_cache_size_half. Round
25743 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25744 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25745 to multiple of 256 bytes.
25746
0e516e0e
MS
257472010-11-03 Ulrich Drepper <drepper@gmail.com>
25748
25749 [BZ #12167]
25750 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25751 of inacessible symlinks. Verify result of symlink before returning it.
25752 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25753 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25754
0e012e87
ER
257552010-10-28 Erich Ritz <erichritz@gmail.com>
25756
25757 * math/math.h (isinf): Fix typo in comment.
25758
de0ff7bc
UD
257592010-11-01 Ulrich Drepper <drepper@gmail.com>
25760
25761 * po/da.po: Update from translation team.
25762
fa41c84d
UD
257632010-10-26 Ulrich Drepper <drepper@gmail.com>
25764
25765 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25766 is added to the list.
25767
f0967738
AK
257682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25769 Ulrich Drepper <drepper@gmail.com>
25770
25771 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25772 the global list here. Move code to...
25773 (_dl_add_to_namespace_list): ...here. New function.
25774 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25775 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25776 * elf/dl-load.c (lose): Don't remove the element from the list.
25777 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25778 (_dl_map_object): Likewise.
25779
257802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25781
25782 [BZ #12159]
25783 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25784 into all bytes of SSE register.
25785 Patch by Richard Li <richardpku@gmail.com>.
25786
f0967738 257872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25788
25789 [BZ #12140]
25790 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25791 perturbing.
25792
d0b9e94f
MB
257932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25794
25795 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25796 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25797 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25798 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25800 submachine.
25801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25802
8e9f92e9
AS
258032010-10-22 Andreas Schwab <schwab@redhat.com>
25804
25805 * include/dlfcn.h (__RTLD_SECURE): Define.
25806 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25807 mode & __RTLD_SECURE instead.
25808 (open_path): Rename preloaded parameter to secure.
25809 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25810 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25811 * elf/dl-deps.c (openaux): Likewise.
25812 * elf/rtld.c (struct map_args): Remove is_preloaded.
25813 (map_doit): Don't use it.
25814 (dl_main): Likewise.
25815 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25816 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25817
bc96fbda
AS
258182010-09-09 Andreas Schwab <schwab@redhat.com>
25819
25820 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25821 (sysd-rules-targets): Remove duplicates.
25822 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25823 rtld-%.$o dependency.
25824
22cd1c9b
AS
258252010-10-18 Andreas Schwab <schwab@redhat.com>
25826
25827 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25828 _dl_map_object do it.
25829
18edac48
UD
258302010-10-19 Ulrich Drepper <drepper@gmail.com>
25831
25832 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25833 fast fma builtins, define the macros in the C99 standard.
25834 (FP_FAST_FMAF): Likewise.
25835 (FP_FAST_FMAL): Likewise.
25836 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25837
25838 * bits/mathdef.h: Update copyright year.
25839 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25840
d2050124
MM
258412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25842
25843 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25844 builtins, define the macros in the C99 standard.
25845 (FP_FAST_FMAF): Likewise.
25846 (FP_FAST_FMAL): Likewise.
25847 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25848 multiply/add.
25849 (FP_FAST_FMAF): Likewise.
25850
475facd1
JJ
258512010-10-15 Jakub Jelinek <jakub@redhat.com>
25852
25853 [BZ #3268]
25854 * math/libm-test.inc (fma_test): Some new testcases.
25855 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25856 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25857 y and infinite z. Do multiplication by C already in long double.
25858 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25860 y and infinite z. Do bitwise or of inexact bit into u.d.
25861 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25862 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25863 * sysdeps/i386/fpu/s_fma.S: Removed.
25864 * sysdeps/i386/fpu/s_fmal.S: Removed.
25865
7c08a05c
JJ
258662010-10-16 Jakub Jelinek <jakub@redhat.com>
25867
25868 [BZ #3268]
25869 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25871 computation is not scheduled after fetestexcept. Fix value
25872 of minimum denormal long double.
25873
f3f7372d
JJ
258742010-10-14 Jakub Jelinek <jakub@redhat.com>
25875
25876 [BZ #3268]
25877 * math/libm-test.inc (fma_test): Add some more tests.
25878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25879 correctly.
25880
14d43591
AS
258812010-10-15 Andreas Schwab <schwab@redhat.com>
25882
25883 * scripts/data/localplt-s390-linux-gnu.data: New file.
25884 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25885
5e908464
JJ
258862010-10-13 Jakub Jelinek <jakub@redhat.com>
25887
25888 [BZ #3268]
25889 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25890 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25891 instead of dbl-64.
25892 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25893 inlines.
25894 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25896 if one of x and y is very large and the other is subnormal.
25897 * sysdeps/s390/fpu/s_fmaf.c: New file.
25898 * sysdeps/s390/fpu/s_fma.c: New file.
25899 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25900 * sysdeps/powerpc/fpu/s_fma.S: New file.
25901 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25902 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25903 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25904
259052010-10-12 Jakub Jelinek <jakub@redhat.com>
25906
25907 [BZ #3268]
25908 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25909 fma tests.
25910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25911 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25912 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25913 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25914 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25915 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25917
b833d51f
UD
259182010-10-12 Ulrich Drepper <drepper@redhat.com>
25919
25920 [BZ #12078]
25921 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25922 * posix/bug-regex31.input: Add test case.
25923
1751705d
UD
259242010-10-11 Ulrich Drepper <drepper@gmail.com>
25925
e9b9cbf5
UD
25926 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25927 * posix/bug-regex31.input: New file.
25928
25929 [BZ #12078]
25930 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25931 (parse_sub_exp): Fix last change, use postorder.
25932
ef06edbe
UD
25933 * posix/bug-regex31.c: New file.
25934 * posix/Makefile: Add rules to build and run bug-regex31.
25935
a129c80d
UD
25936 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25937
25938 [BZ #12078]
25939 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25940
b76b818e
UD
25941 [BZ #12108]
25942 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25943 to have entries in sys_siglist.
25944
1751705d
UD
25945 [BZ #12093]
25946 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25947 be NULL.
25948
9ff8d36f
JJ
259492010-10-07 Jakub Jelinek <jakub@redhat.com>
25950
25951 [BZ #3268]
25952 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25953 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25954 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25955 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25956 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25957 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25958 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25959 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25960 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25961 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25962 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25963 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25964 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25965 * math/ftestexcept.c (fetestexcept): Likewise.
25966 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25967 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25968 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25969 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25970 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25971 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25972 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25973
af325969
UD
259742010-10-11 Ulrich Drepper <drepper@gmail.com>
25975
c579b202 25976 [BZ #12107]
af325969
UD
25977 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25978 newline.
25979
67a67b95
UD
259802010-10-06 Ulrich Drepper <drepper@gmail.com>
25981
25982 * string/bug-strstr1.c: New file.
25983 * string/Makefile: Add rules to build and run bug-strstr1.
25984
5fb308bc
EB
259852010-10-05 Eric Blake <eblake@redhat.com>
25986
25987 [BZ #12092]
25988 * string/str-two-way.h (two_way_long_needle): Always clear memory
25989 when skipping input due to the shift table.
25990
45db99c7
UD
259912010-10-03 Ulrich Drepper <drepper@gmail.com>
25992
3b111893
UD
25993 [BZ #12005]
25994 * malloc/mcheck.c: Handle large requests.
25995
45db99c7
UD
25996 [BZ #12077]
25997 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25998 for strncmp and strncasecmp.
25999 * string/stratcliff.c: Add tests for strcmp and strncmp.
26000 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26001
cf7a1eb8
NI
260022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26003
26004 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26005 __set_fpscr.
26006
6484ba5e
AJ
260072010-09-30 Andreas Jaeger <aj@suse.de>
26008
26009 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26010 (CGROUP_SUPER_MAGIC): Define.
26011 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26012 Handle btrfs and cgroup file systems.
26013 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26014 Likewise.
26015
91c42559
LM
260162010-09-27 Luis Machado <luisgpm@br.ibm.com>
26017
26018 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26019 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26020
87a97932
AK
260212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26022
26023 [BZ #12067]
26024 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26025 trying to locate the ELF header.
26026
c21cc9bc
AS
260272010-09-27 Andreas Schwab <schwab@redhat.com>
26028
26029 [BZ #11611]
26030 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26031 Mask out sign-bit copies when constructing f_fsid.
26032
315970f6
PB
260332010-09-24 Petr Baudis <pasky@suse.cz>
26034
26035 * debug/stack_chk_fail_local.c: Add missing licence exception.
26036 * debug/warning-nop.c: Likewise.
26037
1ac7a2c7
JM
260382010-09-15 Joseph Myers <joseph@codesourcery.com>
26039
26040 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26041 implementing getdents64 using getdents syscall, set d_type if
26042 __ASSUME_GETDENTS32_D_TYPE.
26043
56801c50
AS
260442010-09-16 Andreas Schwab <schwab@redhat.com>
26045
26046 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26047 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26048
dda51327
UD
260492010-09-21 Ulrich Drepper <drepper@redhat.com>
26050
26051 [BZ #12037]
26052 * posix/unistd.h: Undo change of feature selection for ftruncate from
26053 2010-01-11.
26054
8ffcee4a
UD
260552010-09-20 Ulrich Drepper <drepper@redhat.com>
26056
a545ecd9 26057 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26058 detection.
26059
e24f0a8b
AS
260602010-09-20 Andreas Schwab <schwab@redhat.com>
26061
26062 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26063 fanotify_mark.
26064 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26065
7291c56f
AS
260662010-09-14 Andreas Schwab <schwab@redhat.com>
26067
26068 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26069 variables after CHECK_SP call.
26070 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26071
bc5fb037
AS
260722010-09-13 Andreas Schwab <schwab@redhat.com>
26073 Ulrich Drepper <drepper@redhat.com>
26074
26075 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26076 re-relocationg ld.so.
26077 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26078 _dl_init_paths call.
26079 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26080 here anymore.
26081
e66e7419
UD
260822010-09-14 Ulrich Drepper <drepper@redhat.com>
26083
26084 * resolv/res_init.c (__res_vinit): Count the default server we added.
26085
c044aa75
CLT
260862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26087 Ulrich Drepper <drepper@redhat.com>
26088
26089 [BZ #11968]
26090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26091 (____longjmp_chk): Use %ebx for saving value across system call.
26092 Add unwind info.
26093
32cf4069
AS
260942010-09-06 Andreas Schwab <schwab@redhat.com>
26095
26096 * manual/Makefile: Don't mix pattern rules with normal rules.
26097
817328ee
AS
260982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26099
26100 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26101 operation.
26102 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26103 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26104 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26105 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26106 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26107 Likewise.
26108
29fddf61
UD
261092010-09-04 Ulrich Drepper <drepper@redhat.com>
26110
26111 [BZ #11979]
26112 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26113 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26114
0959ffc9
UD
261152010-09-02 Ulrich Drepper <drepper@redhat.com>
26116
26117 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26118 * sysdeps/x86_64/addmul_1.S: Likewise.
26119 * sysdeps/x86_64/lshift.S: Likewise.
26120 * sysdeps/x86_64/mul_1.S: Likewise.
26121 * sysdeps/x86_64/rshift.S: Likewise.
26122 * sysdeps/x86_64/sub_n.S: Likewise.
26123 * sysdeps/x86_64/submul_1.S: Likewise.
26124
ece29840
ST
261252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26126
0959ffc9
UD
26127 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26128 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26129 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26130 * bits/sched.h [__need_schedparam]
ece29840 26131 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26132 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26133 (__defined_schedparam): Define to 1.
ece29840
ST
26134 (__sched_param): New structure, identical to sched_param.
26135 (__need_schedparam): Undefine.
26136
e53a31fe
MF
261372010-08-31 Mike Frysinger <vapier@gentoo.org>
26138
fdc0c10d
MF
26139 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26140 (epoll_create1): Declare.
26141
e53a31fe
MF
26142 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26143
a726d796
AS
261442010-08-31 Andreas Schwab <schwab@redhat.com>
26145
26146 [BZ #7066]
26147 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26148 shifting retval into place.
26149
2f3e3dc7
UD
261502010-09-01 Ulrich Drepper <drepper@redhat.com>
26151
f2933da9
UD
26152 * nis/rpcsvc/nis.h: Update copyright notice.
26153 * nis/rpcsvc/nis.x: Likewise.
26154 * nis/rpcsvc/nis_callback.h: Likewise.
26155 * nis/rpcsvc/nis_callback.x: Likewise.
26156 * nis/rpcsvc/nis_object.x: Likewise.
26157 * nis/rpcsvc/nis_tags.h: Likewise.
26158 * nis/rpcsvc/yp.h: Likewise.
26159 * nis/rpcsvc/yp.x: Likewise.
26160 * nis/rpcsvc/ypupd.h: Likewise.
26161 * nis/yp_xdr.c: Likewise.
26162 * nis/ypupdate_xdr.c: Likewise.
26163
2f3e3dc7
UD
26164 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26165 mainly the body of pmap_getport. Add parameters to specify timeouts.
26166 (pmap_getport): Use __libc_rpc_getport.
26167 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26168 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26169 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26170
f3dcc2f9
AS
261712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26172
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26174 fanotify_mark.
26175
6d34eb5b
RM
261762010-08-27 Roland McGrath <roland@redhat.com>
26177
26178 * sysdeps/i386/i686/multiarch/Makefile
26179 (CFLAGS-varshift.c): New variable.
26180
9ea3de11
UD
261812010-08-27 Ulrich Drepper <drepper@redhat.com>
26182
c96d23fc
UD
26183 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26184 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26185
9ea3de11
UD
26186 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26187
26188 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26189
623aac7f
L
261902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26191
26192 * sysdeps/x86_64/strlen.S: Unroll the loop.
26193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26194 strlen-sse2 strlen-sse2-bsf.
26195 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26196 __strlen_no_bsf if bit_Slow_BSF is set.
26197 (__strlen_sse42): Removed.
26198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26199 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26200
8b2b7715
RM
262012010-08-25 Roland McGrath <roland@redhat.com>
26202
26203 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26204 * sysdeps/x86_64/multiarch/varshift.c: New file.
26205 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26206 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26207 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26208 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26209
e73015f2
L
262102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26211
26212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26213 strlen-sse2 strlen-sse2-bsf.
26214 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26215 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26216 (__strlen_sse2): Removed.
26217 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26218 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26220 bit_Slow_BSF for Atom.
26221 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26222 (index_Slow_BSF): Define.
26223 (HAS_SLOW_BSF): Define.
26224
df24a73e
UD
262252010-08-25 Ulrich Drepper <drepper@redhat.com>
26226
26227 [BZ #10851]
26228 * resolv/res_init.c (__res_vinit): When no server address at all
26229 is given default to loopback.
26230
f2ac4868
RM
262312010-08-24 Roland McGrath <roland@redhat.com>
26232
09055553
RM
26233 * configure.in: Remove config-name.h generation.
26234 * configure: Regenerated.
26235 * config-name.in: File removed.
26236 * scripts/config-uname.sh: New file.
26237 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26238 ($(objdir)config-name.h): New target.
26239
f2ac4868
RM
26240 * sunrpc/rpc_parse.h: Avoid nested comment.
26241
73f27d5e
RH
262422010-08-24 Richard Henderson <rth@redhat.com>
26243 Ulrich Drepper <drepper@redhat.com>
26244 H.J. Lu <hongjiu.lu@intel.com>
26245
26246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26248 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26249 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26250 _mm_alignr_epi8 with _mm_loadu_si128.
26251 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26252 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26253 (__m128i_shift_right): Removed.
26254 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26255 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26256 * sysdeps/x86_64/multiarch/varshift.h: New file.
26257 * sysdeps/x86_64/multiarch/varshift.S: New file.
26258
84b9230c
MF
262592010-08-21 Mike Frysinger <vapier@gentoo.org>
26260
26261 * configure.in: Move assembler checks to before sysdep dir checking.
26262
9bbd0ddc
PB
262632010-08-20 Petr Baudis <pasky@suse.cz>
26264
26265 * LICENSES: Sync the sunrpc license.
26266
9da4bb31
UD
262672010-08-19 Ulrich Drepper <drepper@redhat.com>
26268
a7ab6ec8
UD
26269 * sunrpc/auth_des.c: Update copyright notice once again.
26270 * sunrpc/auth_none.c: Likewise.
26271 * sunrpc/auth_unix.c: Likewise.
26272 * sunrpc/authdes_prot.c: Likewise.
26273 * sunrpc/authuxprot.c: Likewise.
26274 * sunrpc/bindrsvprt.c: Likewise.
26275 * sunrpc/clnt_gen.c: Likewise.
26276 * sunrpc/clnt_perr.c: Likewise.
26277 * sunrpc/clnt_raw.c: Likewise.
26278 * sunrpc/clnt_simp.c: Likewise.
26279 * sunrpc/clnt_tcp.c: Likewise.
26280 * sunrpc/clnt_udp.c: Likewise.
26281 * sunrpc/clnt_unix.c: Likewise.
26282 * sunrpc/des_crypt.c: Likewise.
26283 * sunrpc/des_soft.c: Likewise.
26284 * sunrpc/get_myaddr.c: Likewise.
26285 * sunrpc/getrpcport.c: Likewise.
26286 * sunrpc/key_call.c: Likewise.
26287 * sunrpc/key_prot.c: Likewise.
26288 * sunrpc/openchild.c: Likewise.
26289 * sunrpc/pm_getmaps.c: Likewise.
26290 * sunrpc/pm_getport.c: Likewise.
26291 * sunrpc/pmap_clnt.c: Likewise.
26292 * sunrpc/pmap_prot.c: Likewise.
26293 * sunrpc/pmap_prot2.c: Likewise.
26294 * sunrpc/pmap_rmt.c: Likewise.
26295 * sunrpc/rpc/auth.h: Likewise.
26296 * sunrpc/rpc/auth_unix.h: Likewise.
26297 * sunrpc/rpc/clnt.h: Likewise.
26298 * sunrpc/rpc/des_crypt.h: Likewise.
26299 * sunrpc/rpc/key_prot.h: Likewise.
26300 * sunrpc/rpc/netdb.h: Likewise.
26301 * sunrpc/rpc/pmap_clnt.h: Likewise.
26302 * sunrpc/rpc/pmap_prot.h: Likewise.
26303 * sunrpc/rpc/pmap_rmt.h: Likewise.
26304 * sunrpc/rpc/rpc.h: Likewise.
26305 * sunrpc/rpc/rpc_des.h: Likewise.
26306 * sunrpc/rpc/rpc_msg.h: Likewise.
26307 * sunrpc/rpc/svc.h: Likewise.
26308 * sunrpc/rpc/svc_auth.h: Likewise.
26309 * sunrpc/rpc/types.h: Likewise.
26310 * sunrpc/rpc/xdr.h: Likewise.
26311 * sunrpc/rpc_clntout.c: Likewise.
26312 * sunrpc/rpc_cmsg.c: Likewise.
26313 * sunrpc/rpc_common.c: Likewise.
26314 * sunrpc/rpc_cout.c: Likewise.
26315 * sunrpc/rpc_dtable.c: Likewise.
26316 * sunrpc/rpc_hout.c: Likewise.
26317 * sunrpc/rpc_main.c: Likewise.
26318 * sunrpc/rpc_parse.c: Likewise.
26319 * sunrpc/rpc_parse.h: Likewise.
26320 * sunrpc/rpc_prot.c: Likewise.
26321 * sunrpc/rpc_sample.c: Likewise.
26322 * sunrpc/rpc_scan.c: Likewise.
26323 * sunrpc/rpc_scan.h: Likewise.
26324 * sunrpc/rpc_svcout.c: Likewise.
26325 * sunrpc/rpc_tblout.c: Likewise.
26326 * sunrpc/rpc_util.c: Likewise.
26327 * sunrpc/rpc_util.h: Likewise.
26328 * sunrpc/rpcinfo.c: Likewise.
26329 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26330 * sunrpc/rpcsvc/key_prot.x: Likewise.
26331 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26332 * sunrpc/rpcsvc/mount.x: Likewise.
26333 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26334 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26335 * sunrpc/rpcsvc/rex.x: Likewise.
26336 * sunrpc/rpcsvc/rstat.x: Likewise.
26337 * sunrpc/rpcsvc/rusers.x: Likewise.
26338 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26339 * sunrpc/rpcsvc/spray.x: Likewise.
26340 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26341 * sunrpc/rtime.c: Likewise.
26342 * sunrpc/svc.c: Likewise.
26343 * sunrpc/svc_auth.c: Likewise.
26344 * sunrpc/svc_authux.c: Likewise.
26345 * sunrpc/svc_raw.c: Likewise.
26346 * sunrpc/svc_run.c: Likewise.
26347 * sunrpc/svc_simple.c: Likewise.
26348 * sunrpc/svc_tcp.c: Likewise.
26349 * sunrpc/svc_udp.c: Likewise.
26350 * sunrpc/svc_unix.c: Likewise.
26351 * sunrpc/svcauth_des.c: Likewise.
26352 * sunrpc/xcrypt.c: Likewise.
26353 * sunrpc/xdr.c: Likewise.
26354 * sunrpc/xdr_array.c: Likewise.
26355 * sunrpc/xdr_float.c: Likewise.
26356 * sunrpc/xdr_mem.c: Likewise.
26357 * sunrpc/xdr_rec.c: Likewise.
26358 * sunrpc/xdr_ref.c: Likewise.
26359 * sunrpc/xdr_sizeof.c: Likewise.
26360 * sunrpc/xdr_stdio.c: Likewise.
26361
9da4bb31
UD
26362 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26363 handling.
26364
bdaa77bc
AS
263652010-08-19 Andreas Schwab <schwab@redhat.com>
26366
26367 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26368
fe2f79db
LM
263692010-08-19 Luis Machado <luisgpm@br.ibm.com>
26370
26371 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26372 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26373 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26374 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26375 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26376 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26377 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26378 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26379 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26380 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26381 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26382 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26383 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26384 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26385
b9b42ee0
AB
263862010-07-26 Anton Blanchard <anton@samba.org>
26387
26388 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26389 * malloc/arena.c (heap_trim): Likewise.
26390
1c06ba31
UD
263912010-08-16 Ulrich Drepper <drepper@redhat.com>
26392
26393 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26394 here. Not...
26395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26396 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26397
f8392f40
L
263982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26399
26400 * sysdeps/i386/elf/Makefile: New file.
26401
3162f12e
AS
264022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26403
26404 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26405 from fanotify_init.
26406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26407 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26408
28c90b2c
UD
264092010-08-15 Ulrich Drepper <drepper@redhat.com>
26410
26411 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26412 of strncasecmp_l.
1feccb6c 26413 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26414
ca6bb004
UD
264152010-08-14 Ulrich Drepper <drepper@redhat.com>
26416
e9f82e0d
UD
26417 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26418 strncase_l-nonascii.
26419 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26420 Add strncase_l-ssse3.
26421 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26422 * sysdeps/x86_64/strcmp.S: Likewise.
26423 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26424 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26425 * sysdeps/x86_64/strncase.S: New file.
26426 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26427 * sysdeps/x86_64/strncase_l.S: New file.
26428 * string/Makefile (strop-tests): Add strncasecmp.
26429 * string/test-strncasecmp.c: New file.
26430
26431 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26432 warning.
26433
ca6bb004
UD
26434 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26435 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26436
052fa7b3
AS
264372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26438
26439 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26440
962dba78
UD
264412010-08-12 Ulrich Drepper <drepper@redhat.com>
26442
26443 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26444 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26445 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26446
bebff237
AM
264472010-05-01 Alan Modra <amodra@gmail.com>
26448
26449 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26450 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26451 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26452 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26453 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26454 tidying. Don't tail-call __sigjmp_save for static lib.
26455 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26456 save location.
26457 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26458 (CALL_MCOUNT): Add eh info, and nop after bl.
26459 (TAIL_CALL_SYSCALL_ERROR): New macro.
26460 (PSEUDO_RET): Use it.
26461 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26462 Correct save location of integer regs and cr.
26463 (_dl_profile_resolve): Correct cr save location. Delete nops
26464 after bl when SHARED. Reduce cfi size a little by better
26465 placement of cfi directives.
26466 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26467 make a stack frame. Instead use parm save area as a temp.
26468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26469 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26471 Don't make a stack frame for parent, use parm save area.
26472 Increase child stack frame to 112 bytes. Don't save unused reg,
26473 and adjust reg usage. Set up cfi on error recovery and
26474 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26476 (__makecontext): Add dummy nop after jump to exit.
26477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26478 Use correct parm save area and cr save, reduce stack frame.
26479 Correct cfi for possible PSEUDO_RET frame setup.
26480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26481 Branch to local label emitted by PSEUDO_RET rather than
26482 __syscall_error.
26483
02637374
AS
264842010-08-12 Andreas Schwab <schwab@redhat.com>
26485
26486 [BZ #11904]
26487 * locale/programs/locale.c (print_assignment): New function.
26488 (show_locale_vars): Use it.
26489
c3e2f19b
UD
264902010-08-11 Ulrich Drepper <drepper@redhat.com>
26491
3cdaa6ad
UD
26492 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26493 field.
26494 (struct statfs64): Likewise.
26495 (_STATFS_F_FLAGS): Define.
26496 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26497 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26498 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26499 (ST_VALID): Define locally.
26500 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26501 __statvfs_getflags, use the provided value.
26502 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26503 __ASSUME_STATFS_F_FLAGS.
26504
754f7da3
UD
26505 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26506
10b3bedc
UD
26507 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26508 Add sys/fanotify.h.
26509 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26510 fanotify_mask for GLIBC_2.13.
26511 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26512 fanotify_init and fanotify_mark.
26513 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26514 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26515
c08fb0d7
UD
26516 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26517 Add prlimit.
26518 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26519 prlimit64 for GLIBC_2.13.
26520 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26521 prlimit64.
26522 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26523 syscall.
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26525 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26526 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26527 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26528 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26529 add prlimit alias.
26530 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26531
15bac72b
UD
26532 [BZ #11903]
26533 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26534 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26535
c3e2f19b
UD
26536 * nss/Makefile: Add rules to build and run tst-nss-test1.
26537 * shlib-versions: Add entry for libnss_test1.
26538 * nss/nss_test1.c: New file.
26539 * nss/tst-nss-test1.c: New file.
26540
26541 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26542 (__nss_configure_lookup): Set appropriate entry in
26543 __nss_configure_lookup to true.
26544 * nss/nsswitch.h: Define enum with indeces of databases in
26545 databases and __nss_database_custom arrays. Declare
26546 __nss_database_custom.
26547 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26548 to avoid using nscd when custom rules are installed.
26549 * nss/getXXbyYY_r.c: Likewise.
26550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26551
26552 * nss/nss_files/files-parse.c: Whitespace fixes.
26553
f15ce4d8
UD
265542010-08-09 Ulrich Drepper <drepper@redhat.com>
26555
26556 [BZ #11883]
26557 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26558 * posix/fnmatch_loop.c: Likewise.
26559
d22e4cc9
AK
265602010-07-17 Andi Kleen <ak@linux.intel.com>
26561
26562 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26563 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26564 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26565 * Versions.def [GLIBC_2.13]: Add.
26566
805bc17d
UD
265672010-08-06 Ulrich Drepper <drepper@redhat.com>
26568
26569 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26570 Also fail if tpwd after pwuid call is NULL.
26571
5a42321d
ST
265722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26573
26574 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26575 when converting to ms.
26576
fd3ebeda
ST
265772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26578
26579 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26580 EOPNOTSUPP errors with ENOTTY.
26581 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26582 EOPNOTSUPP errors with ENOTTY.
26583
73507d3a
UD
265842010-07-31 Ulrich Drepper <drepper@redhat.com>
26585
26586 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26587 Add strcasecmp_l-ssse3.
26588 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26589 strcasecmp.
26590 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26591 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26592 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26593
fe36dd02
UD
265942010-07-30 Ulrich Drepper <drepper@redhat.com>
26595
66f6765a
UD
26596 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26597
42e08a54
UD
26598 * string/Makefile (strop-tests): Add strcasecmp.
26599 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26600 strcasecmp_l-nonascii.
26601 (gen-as-const-headers): Add locale-defines.sym.
26602 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26603 * sysdeps/x86_64/strcasecmp.S: New file.
26604 * sysdeps/x86_64/strcasecmp_l.S: New file.
26605 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26606 * sysdeps/x86_64/locale-defines.sym: New file.
26607 * string/test-strcasecmp.c: New file.
26608
fe36dd02
UD
26609 * string/test-strcasestr.c: Test both ends of the range of characters.
26610 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26611
48cbc0d6
RM
266122010-07-29 Roland McGrath <roland@redhat.com>
26613
76e6d6bc 26614 [BZ #11856]
48cbc0d6
RM
26615 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26616
880113d9
UD
266172010-07-27 Ulrich Drepper <drepper@redhat.com>
26618
26619 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26620 for ld.so.
26621
deb9cabb
AS
266222010-07-27 Andreas Schwab <schwab@redhat.com>
26623
26624 * manual/memory.texi (Malloc Tunable Parameters): Document
26625 M_PERTURB.
26626
1c7570ff
RM
266272010-07-26 Roland McGrath <roland@redhat.com>
26628
26629 [BZ #11840]
26630 * configure.in (-fgnu89-inline check): Set and substitute
26631 gnu89_inline, not libc_cv_gnu89_inline.
26632 * configure: Regenerated.
26633 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26634
24fb0f88
UD
266352010-07-26 Ulrich Drepper <drepper@redhat.com>
26636
26637 * string/test-strnlen.c: New file.
26638 * string/Makefile (strop-tests): Add strnlen.
26639 * string/tester.c (test_strnlen): Add a few more test cases.
26640 * string/tst-strlen.c: Better error reporting.
26641
26642 * sysdeps/x86_64/strnlen.S: New file.
26643
8e96b93a
UD
266442010-07-24 Ulrich Drepper <drepper@redhat.com>
26645
26646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26647 lower-latency instructions.
26648
dbc676d4
UD
266492010-07-23 Ulrich Drepper <drepper@redhat.com>
26650
26651 * string/test-strcasestr.c: New file.
26652 * string/test-strstr.c: New file.
26653 * string/Makefile (strop-tests): Add strstr and strcasestr.
26654 * string/str-two-way.h: Don't undefine MAX.
26655 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26656
f6a31e0e
AS
266572010-07-21 Andreas Schwab <schwab@redhat.com>
26658
26659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26660 strcasestr-nonascii.
26661 (CFLAGS-strcasestr-nonascii.c): Define.
26662 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26663 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26664 Remove unused attribute.
26665
5dbc3b6c
RM
266662010-07-20 Roland McGrath <roland@redhat.com>
26667
26668 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26669 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26670 ld.so.cache was broken. With it, there is no way to disable dsocaps
26671 like LD_HWCAP_MASK can disable hwcaps.
26672
23d101d8
EPM
266732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26674
26675 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26676
cc9f2e47
UD
266772010-07-16 Ulrich Drepper <drepper@redhat.com>
26678
26679 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26680 call in strcasestr.
26681 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26682 __strcasestr_sse42_nonascii.
26683 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26684 strcasestr-nonascii.c.
26685 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26686
77c1b069
LM
266872010-06-15 Luis Machado <luisgpm@br.ibm.com>
26688
26689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26690 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26691 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26692 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26693
440566c3
UD
266942010-07-09 Ulrich Drepper <drepper@redhat.com>
26695
26696 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26697 fcntl.
26698
5be9d05d
AS
266992010-07-06 Andreas Schwab <schwab@redhat.com>
26700
c30b7ee2 26701 [BZ #11577]
5be9d05d
AS
26702 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26703 dl_signal_cerror.
26704
8a492a67
UD
267052010-07-06 Ulrich Drepper <drepper@redhat.com>
26706
26707 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26708 _PC_PIPE_BUF using F_GETPIPE_SZ.
26709
713df3d5
RM
267102010-07-05 Roland McGrath <roland@redhat.com>
26711
26712 * manual/arith.texi (Rounding Functions): Fix rint description
26713 implicit in round description.
26714
702e8f14
UD
267152010-07-02 Ulrich Drepper <drepper@redhat.com>
26716
26717 * elf/Makefile: Fix linking for a few tests to make recent linker
26718 happy.
26719
52ed8be9
AS
267202010-06-30 Andreas Schwab <schwab@redhat.com>
26721
26722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26723 $(common-objpfx)libc_nonshared.a.
26724
f47c9a11
LM
267252010-06-21 Luis Machado <luisgpm@br.ibm.com>
26726
26727 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26728 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26729 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26730 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26731 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26732 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26733 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26734 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26749 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26750 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26751 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26752 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26753 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26754 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26755 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26756 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26757 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26758 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26759 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26760 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26775
6fb8cbcb
L
267762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26777
26778 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26779 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26780 * string/memmove.c (memmove): Renamed to ...
26781 (MEMMOVE): ...this. Default to memmove.
26782 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26783 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26784 (END_CHK): Define.
26785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26786 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26787 mempcpy-ssse3-back memmove-ssse3-back.
26788 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26789 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26790 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26791 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26792 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26793 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26794 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26795 * sysdeps/x86_64/multiarch/memmove.c: New file.
26796 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26797 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26798 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26799 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26800 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26801 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26802 Define.
26803 (index_Fast_Copy_Backward): Define.
26804 (HAS_ARCH_FEATURE): Define.
26805 (HAS_FAST_REP_STRING): Define.
26806 (HAS_FAST_COPY_BACKWARD): Define.
26807
4e733bac 268082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26809
26810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26811 Restore proper fallback handling.
26812
63c4ed22
UD
268132010-06-19 Ulrich Drepper <drepper@redhat.com>
26814
ac2b484c
UD
26815 [BZ #11701]
26816 * posix/group_member.c (__group_member): Correct checking loop.
26817
63c4ed22
UD
26818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26819 OOM in getpwuid_r correctly. Return error number when the caller
26820 should return, otherwise -1.
26821 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26822 call returning > 0 value.
26823 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26824
765ade4b
AS
268252010-06-07 Andreas Schwab <schwab@redhat.com>
26826
26827 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26828 libc_nonshared.a from targets in modules-names.
26829
80da2e09
KS
268302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26831
26832 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26833 requires it.
26834
158db122
LM
268352010-06-10 Luis Machado <luisgpm@br.ibm.com>
26836
26837 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26838 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26839 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26840 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26841
caa78cf8
AS
268422010-06-02 Andreas Schwab <schwab@redhat.com>
26843
26844 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26845
b2ef2c01
UD
268462010-06-14 Ulrich Drepper <drepper@redhat.com>
26847
26848 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26849 and F_GETPIPE_SZ.
26850 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26851 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26856
fbd643b6
RM
268572010-06-14 Roland McGrath <roland@redhat.com>
26858
26859 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26860
f32f2869
JJ
268612010-06-07 Jakub Jelinek <jakub@redhat.com>
26862
26863 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26864 __REDIRECT followed by __THROW.
26865 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26866 * posix/getopt.h (getopt): Likewise.
26867
2a50c078
EPM
268682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26869
26870 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26871 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26872 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26873 in AT_FLAGS.
26874 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26875 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26876
eb5ad2eb
LM
268772010-05-28 Luis Machado <luisgpm@br.ibm.com>
26878
26879 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26880
3c88fe1e
L
268812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26882
26883 [BZ #11640]
26884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26885 Properly check family and model.
26886
d2f73151
TY
268872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26888
26889 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26890
ebd2e13d
LM
268912010-05-24 Luis Machado <luisgpm@br.ibm.com>
26892
26893 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26894
b32b8b45
UD
268952010-05-21 Ulrich Drepper <drepper@redhat.com>
26896
26897 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26898 symbol reference.
26899
9acbe24d
AS
269002010-05-19 Andreas Schwab <schwab@redhat.com>
26901
26902 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26903 symbol reference.
26904
f0ccf6ea
AS
269052010-05-21 Andreas Schwab <schwab@redhat.com>
26906
3d04ff3a
AS
26907 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26908 and internal_recvmmsg.
26909 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26910 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26911 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26912 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26913
f0ccf6ea
AS
26914 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26915 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26916 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26917
5b08ac57
AS
269182010-05-20 Andreas Schwab <schwab@redhat.com>
26919
26920 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26921
4828935d
LM
269222010-05-17 Luis Machado <luisgpm@br.ibm.com>
26923
26924 POWER7 optimizations.
26925 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26926 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26927
373d545e
UD
269282010-05-19 Ulrich Drepper <drepper@redhat.com>
26929
26930 * version.h: Update for 2.13 development version.
26931
21a2b1ae
AS
269322010-05-12 Andrew Stubbs <ams@codesourcery.com>
26933
26934 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26935 exceptions. Return 0.
26936
3f7dcb2b
RM
269372010-05-07 Roland McGrath <roland@redhat.com>
26938
26939 * elf/ldconfig.c (main): Add a const.
26940
5f24d53a 269412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26942
a160f8d8
UD
26943 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26944 (args_options): Add no-idn option.
26945 (ahosts_keys_int): Add idn_flags to ai_flags.
26946 (parse_option): Handle 'i' option to clear idn_flags.
26947
5f24d53a
UD
26948 * malloc/malloc.c (_int_free): Possible race in the most recently
26949 added check. Only act on the data if no current modification
26950 happened.
265bb1ce
UD
26951
26952See ChangeLog.17 for earlier changes.
This page took 3.572548 seconds and 5 git commands to generate.